@everymatrix/player-account-controller-nd 1.88.14 → 1.88.16
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-Dmub0AHz.cjs → GeneralLogout-BDauWWtT.cjs} +1 -1
- package/components/{GeneralLogout-bJ6wauB-.js → GeneralLogout-CQoomkfp.js} +1 -1
- package/components/{GeneralLogout-Cs0bz0S-.js → GeneralLogout-CgPtYhk1.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DNeD1CNr.js → PlayerAccountBettingHistory-BC5t3jes.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CS7o49MT.js → PlayerAccountBettingHistory-BefBvVsr.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CrFyQF_x.cjs → PlayerAccountBettingHistory-CIra3ibo.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BluErBfd.cjs → PlayerAccountBiometrics-C-tDjiFk.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CEdfE5-6.js → PlayerAccountBiometrics-DobS_xqR.js} +2 -2
- package/components/{PlayerAccountBiometrics--0dzpYmu.js → PlayerAccountBiometrics-j5VjH2Ix.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-C4UcjKI0.cjs → PlayerAccountBiometricsAction-CZUrqPI9.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-C3_Gdx_p.js → PlayerAccountBiometricsAction-DIq7ji2I.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-CmPISEgP.js → PlayerAccountBiometricsAction-Dhjs0ERw.js} +1 -1
- package/components/{PlayerAccountClosureNd-mS2xQN7_.js → PlayerAccountClosureNd-BeJ_QN5K.js} +1 -1
- package/components/{PlayerAccountClosureNd-DSRZWZeK.js → PlayerAccountClosureNd-CmfLvdeH.js} +1 -1
- package/components/{PlayerAccountClosureNd-CjZA4pwH.cjs → PlayerAccountClosureNd-DugApWj-.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-CdXQ_Pr6.js → PlayerAccountControllerNd-CTHG51fv.js} +24 -24
- package/components/{PlayerAccountControllerNd-Cy1OxB4n.js → PlayerAccountControllerNd-CnnmZRvl.js} +24 -24
- package/components/{PlayerAccountControllerNd-B6OnyYZO.cjs → PlayerAccountControllerNd-xENFfh-Q.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DcEtaP6r.cjs → PlayerAccountGamingLimits-Bfc6N4Na.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-D3msR4KX.js → PlayerAccountGamingLimits-CdsdNJD5.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DRFgKZ-m.js → PlayerAccountGamingLimits-DZgZ_RqQ.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DrF8J8Hw.js → PlayerAccountGamingLimitsConfirmationModal-BsI96Jjt.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BeDzH4gc.cjs → PlayerAccountGamingLimitsConfirmationModal-c-W65F-Y.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DbNdoMKJ.js → PlayerAccountGamingLimitsConfirmationModal-fA0-gdf8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CAncDkhM.js → PlayerAccountGamingLimitsGroupEdit-DPIheSyJ.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-DnoCJEoZ.cjs → PlayerAccountGamingLimitsGroupEdit-fczJmDjM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-cgZ7Saol.js → PlayerAccountGamingLimitsGroupEdit-s_-SXMEX.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BdbWrkfT.js → PlayerAccountGamingLimitsHistory2Nd-BUkAazn-.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-FCss6zU4.js → PlayerAccountGamingLimitsHistory2Nd-BwpEWPuP.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DBYACsPw.cjs → PlayerAccountGamingLimitsHistory2Nd-CgH73JiY.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CHHNd1hp.js → PlayerAccountGamingLimitsInfoCard-BLmhJP2B.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-CeTs5RX9.js → PlayerAccountGamingLimitsInfoCard-BbFq2531.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DY-RgIzm.cjs → PlayerAccountGamingLimitsInfoCard-Ct5-Goxt.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-MEJW7gtE.js → PlayerAccountGamingLimitsPage2Gm16Nd-DDoD_T0m.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dq1hhTrB.js → PlayerAccountGamingLimitsPage2Gm16Nd-D_KJSKe5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CPSGU889.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-j0Gcryys.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BRyk2YI6.js → PlayerAccountGamingLimitsPopup-BBdnOAOu.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-q9BtT-zT.cjs → PlayerAccountGamingLimitsPopup-COVCAR4i.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-C9F5rvTD.js → PlayerAccountGamingLimitsPopup-b9sElWO-.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-A2wCPDbe.js → PlayerAccountGamingLimitsWrapper2Nd-CFa4CQCU.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-d0Iv5MsA.js → PlayerAccountGamingLimitsWrapper2Nd-CoYSxGw5.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BjH-bU3I.cjs → PlayerAccountGamingLimitsWrapper2Nd-fjRlNfKl.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Bwha_a1K.js → PlayerAccountGeneralConfirmationModal-Ck8vKAfU.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DsfEtZtW.cjs → PlayerAccountGeneralConfirmationModal-DH9cXhWg.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DHNMkSGb.js → PlayerAccountGeneralConfirmationModal-DcyqpVGe.js} +1 -1
- package/components/{PlayerAccountMenuNd-Dge23GUZ.cjs → PlayerAccountMenuNd-Bq_xOIWo.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DqOJkTlo.js → PlayerAccountMenuNd-BwbaKvv3.js} +2 -2
- package/components/{PlayerAccountMenuNd-IUNboP2h.js → PlayerAccountMenuNd-C81vZQhp.js} +2 -2
- package/components/{PlayerAccountModal-AiH3sYGA.js → PlayerAccountModal-C-PaNtYi.js} +1 -1
- package/components/{PlayerAccountModal-BWDT6XjU.js → PlayerAccountModal-CNFUYJhj.js} +1 -1
- package/components/{PlayerAccountModal-C3zceFyA.cjs → PlayerAccountModal-hMdJ-YBV.cjs} +1 -1
- package/components/{PlayerAccountNotifications-FKuBZqLj.js → PlayerAccountNotifications-CL48pg2J.js} +1 -1
- package/components/{PlayerAccountNotifications-CaGFmEGM.js → PlayerAccountNotifications-D-8D1gbO.js} +1 -1
- package/components/{PlayerAccountNotifications-BSZPyRr1.cjs → PlayerAccountNotifications-DCkKLu1D.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-8o-c37Uv.js → PlayerAccountProductRestriction--DK7JnUq.js} +5 -5
- package/components/{PlayerAccountProductRestriction-BIM20fIy.cjs → PlayerAccountProductRestriction-BQ33i1ah.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-BpJpA1mi.js → PlayerAccountProductRestriction-DB7TvaUx.js} +5 -5
- package/components/{PlayerAccountReviewFrequency-DsSrRQtF.js → PlayerAccountReviewFrequency-B9fNgC1H.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-gmsZ45gy.js → PlayerAccountReviewFrequency-CrOHpN0D.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-CN_IoBaT.cjs → PlayerAccountReviewFrequency-Dz4qstXW.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-C5fxu7SA.js → PlayerAccountSelfExclusionNd-BABCR4iy.js} +4 -4
- package/components/{PlayerAccountSelfExclusionNd-DxFgM2Oy.cjs → PlayerAccountSelfExclusionNd-CcXVuIVa.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-B_pkVOPj.js → PlayerAccountSelfExclusionNd-w6tmTNlx.js} +4 -4
- package/components/{PlayerAccountTimeout-CrjtCEUH.js → PlayerAccountTimeout-CbgvCTZB.js} +3 -3
- package/components/{PlayerAccountTimeout-hiGRV4Ml.js → PlayerAccountTimeout-Ctm-Usua.js} +3 -3
- package/components/{PlayerAccountTimeout-COksWPww.cjs → PlayerAccountTimeout-eEoUcixW.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-BUBfdNDO.js → PlayerAccountTransactionsHistory-BrJxhjLF.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-B6Ky7R-w.js → PlayerAccountTransactionsHistory-C0xjB1WH.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CndX9U9G.cjs → PlayerAccountTransactionsHistory-D_0vWoLR.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Bj4S6wNi.cjs → PlayerActiveBonuses-C_33-8qy.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DajizSdD.js → PlayerActiveBonuses-DTbTiXjT.js} +2 -2
- package/components/{PlayerActiveBonuses-PHPnKKLm.js → PlayerActiveBonuses-kZ5gksBh.js} +2 -2
- package/components/{PlayerBonusCard-CIM2dlhP.js → PlayerBonusCard-DRuwBOpS.js} +2 -2
- package/components/{PlayerBonusCard-C0iz-Za0.cjs → PlayerBonusCard-QJ8ueq10.cjs} +1 -1
- package/components/{PlayerBonusCard-Ds7oEcEj.js → PlayerBonusCard-maIgSUC3.js} +2 -2
- package/components/{PlayerBonusHistory-DNZnGs1T.cjs → PlayerBonusHistory-BZoJtgc2.cjs} +1 -1
- package/components/{PlayerBonusHistory-CARXBGhM.js → PlayerBonusHistory-CMh8Ub26.js} +2 -2
- package/components/{PlayerBonusHistory-CfXVeVFX.js → PlayerBonusHistory-Dh1RCd5n.js} +2 -2
- package/components/{PlayerChangePasswordNd-D2oAL9wF.js → PlayerChangePasswordNd-A1avHQgb.js} +1 -1
- package/components/{PlayerChangePasswordNd-CX7qTlFN.js → PlayerChangePasswordNd-D7MRtnuR.js} +1 -1
- package/components/{PlayerChangePasswordNd-r1D0J2gk.cjs → PlayerChangePasswordNd-DxP7-Yyv.cjs} +1 -1
- package/components/{PlayerDeposit-BuUP7JXv.js → PlayerDeposit-Cv-FUyl9.js} +1 -1
- package/components/{PlayerDeposit-uN4BJIQo.js → PlayerDeposit-VvCPeb69.js} +1 -1
- package/components/{PlayerDeposit-BPy4Ak5u.cjs → PlayerDeposit-lBPXCrMM.cjs} +1 -1
- package/components/{PlayerGamingHistory-IBHTEpop.js → PlayerGamingHistory-CdL52fUg.js} +3 -3
- package/components/{PlayerGamingHistory-DszgMJ8Q.js → PlayerGamingHistory-N-lZAU0n.js} +3 -3
- package/components/{PlayerGamingHistory-Db97_ada.cjs → PlayerGamingHistory-lO0ZLxyh.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-ZgZXavMi.cjs → PlayerPendingWithdrawals-CB_bkyAE.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DxedLjtn.js → PlayerPendingWithdrawals-GljxcniF.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CD4J4RIl.js → PlayerPendingWithdrawals-nTlhXPI8.js} +1 -1
- package/components/{PlayerProfileInfo-_GbX5Tsi.js → PlayerProfileInfo-BBzD9H_B.js} +2 -2
- package/components/{PlayerProfileInfo-xdcXTCJf.cjs → PlayerProfileInfo-CXLnkoHy.cjs} +2 -2
- package/components/{PlayerProfileInfo-DL2hb6XT.js → PlayerProfileInfo-Pr_Unepb.js} +2 -2
- package/components/{PlayerRealityCheck-U6Iz0Zu-.cjs → PlayerRealityCheck-C78qnnyZ.cjs} +1 -1
- package/components/{PlayerRealityCheck-BUbHSSSC.js → PlayerRealityCheck-Ce1jSAbo.js} +1 -1
- package/components/{PlayerRealityCheck-JM-tX2Y6.js → PlayerRealityCheck-Mo6glLGj.js} +1 -1
- package/components/{PlayerTransactionHistory-DpFDSrDG.js → PlayerTransactionHistory-BRvwYO5X.js} +1 -1
- package/components/{PlayerTransactionHistory-y3pcQnHC.js → PlayerTransactionHistory-CB8ilh8x.js} +1 -1
- package/components/{PlayerTransactionHistory-DmIszQC0.cjs → PlayerTransactionHistory-CBIWl86U.cjs} +1 -1
- package/components/{PlayerWithdrawal-BwCGXwDp.cjs → PlayerWithdrawal-BJDH8lnL.cjs} +1 -1
- package/components/{PlayerWithdrawal-B5dBFE5b.js → PlayerWithdrawal-BRT3l2Vv.js} +1 -1
- package/components/{PlayerWithdrawal-Cp-JA7D2.js → PlayerWithdrawal-C1COOf73.js} +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/lazy/{general-logout-BRVE8Tot.cjs → general-logout-B3n2-A0A.cjs} +1 -1
- package/lazy/{general-logout-DWjEs0tR.js → general-logout-B61yxVbK.js} +1 -1
- package/lazy/{general-logout-ChjqK14x.js → general-logout-D8_N26t9.js} +1 -1
- package/lazy/{pam-change-password-YjZijC-H.js → pam-change-password-CSN1WkWM.js} +1 -1
- package/lazy/{pam-change-password-DLHRAzyE.cjs → pam-change-password-CZ776C0s.cjs} +1 -1
- package/lazy/{pam-change-password-Ceh6h0GY.js → pam-change-password-H-CAyGsa.js} +1 -1
- package/lazy/{player-account-betting-history-BWjX_QC8.js → player-account-betting-history-BLQpTetB.js} +1 -1
- package/lazy/{player-account-betting-history-HK_Ya0jc.js → player-account-betting-history-BYUPrqXK.js} +1 -1
- package/lazy/{player-account-betting-history-DIwQh8TY.cjs → player-account-betting-history-DerhdFit.cjs} +1 -1
- package/lazy/{player-account-biometrics-BThgQAm7.cjs → player-account-biometrics-BYSackKT.cjs} +1 -1
- package/lazy/{player-account-biometrics-D7utVmwA.js → player-account-biometrics-Cs4FXErR.js} +1 -1
- package/lazy/{player-account-biometrics-BVtb4rW1.js → player-account-biometrics-DWaH8v8O.js} +1 -1
- package/lazy/{player-account-biometrics-action-BHdDPZrL.js → player-account-biometrics-action-C10wy0Tf.js} +1 -1
- package/lazy/{player-account-biometrics-action-Dwi8k_FL.js → player-account-biometrics-action-D0hQPNkt.js} +1 -1
- package/lazy/{player-account-biometrics-action-C9gE-2QE.cjs → player-account-biometrics-action-RQt7O1pR.cjs} +1 -1
- package/lazy/{player-account-closure-nd-T_nNmuBA.js → player-account-closure-nd-B61Dmo8a.js} +1 -1
- package/lazy/{player-account-closure-nd-BFF5fYck.cjs → player-account-closure-nd-CimnXBTf.cjs} +1 -1
- package/lazy/{player-account-closure-nd-DoF2R1_u.js → player-account-closure-nd-nFbjc_f_.js} +1 -1
- package/lazy/{player-account-gaming-limits-BJj9kZOb.cjs → player-account-gaming-limits-4ujG3Q4u.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-CNh28hNa.js → player-account-gaming-limits-C4eRnfeB.js} +1 -1
- package/lazy/{player-account-gaming-limits-CQqLGoMN.js → player-account-gaming-limits-TssVZelz.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-CxQEDNmL.js → player-account-gaming-limits-confirmation-modal-D-8hkGzk.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BnPybuKq.js → player-account-gaming-limits-confirmation-modal-jte_lwzk.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-DHl50mS1.cjs → player-account-gaming-limits-confirmation-modal-kQcca-KE.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-BPC2vGV1.js → player-account-gaming-limits-group-edit-CqbvRIEr.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-_dGxc7_S.cjs → player-account-gaming-limits-group-edit-DbwsMAhq.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-BRc1ZmHR.js → player-account-gaming-limits-group-edit-Ok3lzwSB.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-B_cLxGSc.js → player-account-gaming-limits-history-2-nd-B7JZop9H.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-D_EAlFkX.js → player-account-gaming-limits-history-2-nd-BkM-J9bz.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DDCBsjl8.cjs → player-account-gaming-limits-history-2-nd-DVM7j3Un.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-Ce1E73ra.js → player-account-gaming-limits-info-card-CkitZcym.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-Df1j8kLP.js → player-account-gaming-limits-info-card-CztctXYh.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-o31CxuKe.cjs → player-account-gaming-limits-info-card-Dfo38r2w.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DqgaQxVi.js → player-account-gaming-limits-page-2-gm16-nd-DuTw9r8k.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DS7w4Gou.cjs → player-account-gaming-limits-page-2-gm16-nd-DwvjGh2k.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CSu0xBQE.js → player-account-gaming-limits-page-2-gm16-nd-TgakfScS.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-CQOWSOix.cjs → player-account-gaming-limits-popup-A4-YRhPk.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BfThgoxI.js → player-account-gaming-limits-popup-CRKKd8gC.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-0fyQN1Ep.js → player-account-gaming-limits-popup-Cqt3XWEg.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-0_jzGmao.js → player-account-gaming-limits-wrapper-2-nd-B6fDxg52.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-EVzIyCV3.js → player-account-gaming-limits-wrapper-2-nd-BavSxnE8.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-DMZH6Zpn.cjs → player-account-gaming-limits-wrapper-2-nd-BcIL-FJ9.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-BodXskTa.js → player-account-general-confirmation-modal-3q9kfYkR.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-xv511_kX.js → player-account-general-confirmation-modal-Bu8wXSxb.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-B0xb_4er.cjs → player-account-general-confirmation-modal-CNVKzn-C.cjs} +1 -1
- package/lazy/{player-account-menu-nd-G1N1_H6Q.cjs → player-account-menu-nd-B5i2JMfK.cjs} +1 -1
- package/lazy/{player-account-menu-nd-O5FgFC3E.js → player-account-menu-nd-BWqaiA2Y.js} +1 -1
- package/lazy/{player-account-menu-nd-1XljeEKo.js → player-account-menu-nd-C-JygXWK.js} +1 -1
- package/lazy/{player-account-modal-CsObXFcW.js → player-account-modal-CY8pg1KE.js} +1 -1
- package/lazy/{player-account-modal-CYatkSQK.cjs → player-account-modal-CdzDVxZf.cjs} +1 -1
- package/lazy/{player-account-modal-CevFRNaV.js → player-account-modal-tZkj6uSq.js} +1 -1
- package/lazy/{player-account-notifications-rpnsF80m.cjs → player-account-notifications-BFaEEtwN.cjs} +1 -1
- package/lazy/{player-account-notifications-DO710htp.js → player-account-notifications-BfwGpLvJ.js} +1 -1
- package/lazy/{player-account-notifications-BP4GMwcC.js → player-account-notifications-CLm8FSyA.js} +1 -1
- package/lazy/{player-account-product-restriction-Di5u-RfA.cjs → player-account-product-restriction-BInXUaga.cjs} +1 -1
- package/lazy/{player-account-product-restriction-DhKRf-6h.js → player-account-product-restriction-CbW-TWIK.js} +1 -1
- package/lazy/{player-account-product-restriction-Cy4ZTJqf.js → player-account-product-restriction-ZHJusbMM.js} +1 -1
- package/lazy/{player-account-review-frequency-Chip1N5A.js → player-account-review-frequency-Bx46vN_a.js} +1 -1
- package/lazy/{player-account-review-frequency-CHTtLByc.js → player-account-review-frequency-DPUa4LL4.js} +1 -1
- package/lazy/{player-account-review-frequency-Cse-hSh4.cjs → player-account-review-frequency-iixPW8qa.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-DNIrRx7p.cjs → player-account-self-exclusion-nd-CgSTnORJ.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-C36FfzER.js → player-account-self-exclusion-nd-q74R0s6a.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-m8lid50E.js → player-account-self-exclusion-nd-rgP9-GVJ.js} +1 -1
- package/lazy/{player-account-timeout-BiNrPTsU.cjs → player-account-timeout-BbnTaGVh.cjs} +1 -1
- package/lazy/{player-account-timeout-CbeokWzC.js → player-account-timeout-DDNQrroO.js} +1 -1
- package/lazy/{player-account-timeout-CeAQSjt_.js → player-account-timeout-jJ-HhXNb.js} +1 -1
- package/lazy/{player-account-transactions-history-CkKnn2dS.cjs → player-account-transactions-history-DmZzRFQN.cjs} +1 -1
- package/lazy/{player-account-transactions-history-OsiCDJnM.js → player-account-transactions-history-DpcsqNzg.js} +1 -1
- package/lazy/{player-account-transactions-history-DyvqY9-P.js → player-account-transactions-history-MVNqhzhF.js} +1 -1
- package/lazy/{player-active-bonuses-C1NcneIf.js → player-active-bonuses-BE_nb9jo.js} +1 -1
- package/lazy/{player-active-bonuses-DbYf0ahb.cjs → player-active-bonuses-CAnSK4fH.cjs} +1 -1
- package/lazy/{player-active-bonuses-CYT-XOor.js → player-active-bonuses-DKiPhr2x.js} +1 -1
- package/lazy/{player-bonus-card-CGzn0Beh.js → player-bonus-card-BBREHRQg.js} +1 -1
- package/lazy/{player-bonus-card-BI-RBHJv.cjs → player-bonus-card-CLqdpMcw.cjs} +1 -1
- package/lazy/{player-bonus-card-AX-aa0Kj.js → player-bonus-card-Cs7xhOoB.js} +1 -1
- package/lazy/{player-bonus-history-BF-EbR5o.js → player-bonus-history-6SYsA_Un.js} +1 -1
- package/lazy/{player-bonus-history-DVecDxGV.js → player-bonus-history-Cxz7J1r1.js} +1 -1
- package/lazy/{player-bonus-history-BtMMdjo7.cjs → player-bonus-history-DI_kctur.cjs} +1 -1
- package/lazy/{player-change-password-nd-BC8pmcI6.js → player-change-password-nd-BWYUCEMB.js} +1 -1
- package/lazy/{player-change-password-nd-BVKHHkjq.cjs → player-change-password-nd-D576mNxB.cjs} +1 -1
- package/lazy/{player-change-password-nd-Bi701HVB.js → player-change-password-nd-D7ShEqlt.js} +1 -1
- package/lazy/{player-deposit-BwS9iA7y.js → player-deposit-BpLRJb9g.js} +1 -1
- package/lazy/{player-deposit-DPRLIgf-.js → player-deposit-PMDVNt1A.js} +1 -1
- package/lazy/{player-deposit-DEjkyvxi.cjs → player-deposit-eeYjvTYE.cjs} +1 -1
- package/lazy/{player-gaming-history-4ZYDOz5N.cjs → player-gaming-history-D2fwRzeK.cjs} +1 -1
- package/lazy/{player-gaming-history-BlJzbVaD.js → player-gaming-history-D8bXVDrV.js} +1 -1
- package/lazy/{player-gaming-history-ClOULfRv.js → player-gaming-history-SBRLfAiq.js} +1 -1
- package/lazy/{player-kyc-verification-obj8WBFG.js → player-kyc-verification-C4yUuYYC.js} +1 -1
- package/lazy/{player-kyc-verification-D2iFMb97.js → player-kyc-verification-CC7nQExj.js} +1 -1
- package/lazy/{player-kyc-verification-DAiFulnS.cjs → player-kyc-verification-CDrDIRQ-.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-CpiM8-pO.cjs → player-pending-withdrawals-4UnSoOSL.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-Czam7QqG.js → player-pending-withdrawals-Bf4efw7J.js} +1 -1
- package/lazy/{player-pending-withdrawals-BanVeSMR.js → player-pending-withdrawals-D712BUR_.js} +1 -1
- package/lazy/{player-profile-info-CBRVifnG.js → player-profile-info-BB2GFUSB.js} +1 -1
- package/lazy/{player-profile-info-DeCjwWG4.js → player-profile-info-DmNJq4NI.js} +1 -1
- package/lazy/{player-profile-info-hirJOKTi.cjs → player-profile-info-DnyCUPYZ.cjs} +1 -1
- package/lazy/{player-reality-check-CTg3ByYs.js → player-reality-check-BlVOaMV1.js} +1 -1
- package/lazy/{player-reality-check-DjgIiy0V.cjs → player-reality-check-CbvgwFrf.cjs} +1 -1
- package/lazy/{player-reality-check-DLZtsRsL.js → player-reality-check-DhIkjFla.js} +1 -1
- package/lazy/{player-transaction-history-Ff_PBhZp.cjs → player-transaction-history-B0CFAGzT.cjs} +1 -1
- package/lazy/{player-transaction-history-BImY5Dn4.js → player-transaction-history-BeRqm7a6.js} +1 -1
- package/lazy/{player-transaction-history-DUrLSSUh.js → player-transaction-history-BoOabdA7.js} +1 -1
- package/lazy/{player-withdrawal-D6ocC56D.js → player-withdrawal-DFDiyBMs.js} +1 -1
- package/lazy/{player-withdrawal-joKVX5ZK.cjs → player-withdrawal-DNU4bJoC.cjs} +1 -1
- package/lazy/{player-withdrawal-Vd2qiEwi.js → player-withdrawal-zQXstUtE.js} +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-C5kP4Yw9.js → checkbox-group-input_16-BMcEE4AZ.js} +445 -417
- package/stencil/{checkbox-group-input_16-B39xl4FD.js → checkbox-group-input_16-_sIIn1dO.js} +445 -417
- package/stencil/{checkbox-group-input_16-DsX4Hw-b.cjs → checkbox-group-input_16-eSYwhXXi.cjs} +65 -65
- package/stencil/{pam-change-password-121f4e26-B_eDep_J.js → pam-change-password-121f4e26-3nnnnkpB.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-DcKNndHz.js → pam-change-password-121f4e26-C1IyKHxz.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-By--ZO4h.cjs → pam-change-password-121f4e26-D6vgihYT.cjs} +1 -1
- package/stencil/{pam-change-password-D8kNSZBj.cjs → pam-change-password-COZsGmaP.cjs} +1 -1
- package/stencil/{pam-change-password-SPFxyOXp.js → pam-change-password-avp-3Dt4.js} +2 -2
- package/stencil/{pam-change-password-LaI394e0.js → pam-change-password-vaBQO7z_.js} +2 -2
- package/stencil/{player-kyc-verification-CS97NbHq.js → player-kyc-verification-BwXu983g.js} +93 -29
- package/stencil/{player-kyc-verification-BgEFK-vD.js → player-kyc-verification-vSidudt8.js} +104 -40
- package/stencil/{player-kyc-verification-DnVqZvHQ.cjs → player-kyc-verification-y6EpEvK4.cjs} +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as ee, c as P, h as u, g as Mt, H as Ao } from "../lazy/pam-change-password-
|
|
2
|
-
import { P as dv } from "./pam-change-password-121f4e26-
|
|
3
|
-
const Ns = "en",
|
|
1
|
+
import { r as ee, c as P, h as u, g as Mt, H as Ao } from "../lazy/pam-change-password-H-CAyGsa.js";
|
|
2
|
+
import { P as dv } from "./pam-change-password-121f4e26-3nnnnkpB.js";
|
|
3
|
+
const Ns = "en", Ee = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
6
6
|
dateError2: "The selected date is not within the accepted range",
|
|
@@ -35,7 +35,9 @@ const Ns = "en", ke = {
|
|
|
35
35
|
SAIdInvalidError: "Invalid SA ID",
|
|
36
36
|
PassportLengthError: "Passport number must be 8 or 9 digits.",
|
|
37
37
|
PasswordMustContain: "Password must contain:",
|
|
38
|
-
AlphanumericalOnly: "Only alphanumerical characters are allowed"
|
|
38
|
+
AlphanumericalOnly: "Only alphanumerical characters are allowed",
|
|
39
|
+
InvalidFirstName: "Only alphabetic characters are allowed.",
|
|
40
|
+
InvalidLastName: "Only alphabetic characters are allowed."
|
|
39
41
|
},
|
|
40
42
|
hu: {
|
|
41
43
|
dateError: "A választott dátumnak {min} és {max} között kell lennie",
|
|
@@ -68,7 +70,9 @@ const Ns = "en", ke = {
|
|
|
68
70
|
SAIdLengthError: "A dél-afrikai személyi számnak 13 számjegyűnek kell lennie",
|
|
69
71
|
SAIdInvalidError: "Érvénytelen dél-afrikai személyi szám",
|
|
70
72
|
PasswordMustContain: "A jelszónak tartalmaznia kell:",
|
|
71
|
-
AlphanumericalOnly: "Csak alfanumerikus karakterek engedélyezettek"
|
|
73
|
+
AlphanumericalOnly: "Csak alfanumerikus karakterek engedélyezettek",
|
|
74
|
+
InvalidFirstName: "Csak betűk engedélyezettek.",
|
|
75
|
+
InvalidLastName: "Csak betűk engedélyezettek."
|
|
72
76
|
},
|
|
73
77
|
hr: {
|
|
74
78
|
dateError: "Odabrani datum treba biti između {min} i {max}",
|
|
@@ -101,7 +105,9 @@ const Ns = "en", ke = {
|
|
|
101
105
|
SAIdLengthError: "Južnoafrički osobni broj mora imati 13 znamenki",
|
|
102
106
|
SAIdInvalidError: "Nevažeći južnoafrički osobni broj",
|
|
103
107
|
PasswordMustContain: "Lozinka mora sadržavati:",
|
|
104
|
-
AlphanumericalOnly: "Dopušteni su samo alfanumerički znakovi"
|
|
108
|
+
AlphanumericalOnly: "Dopušteni su samo alfanumerički znakovi",
|
|
109
|
+
InvalidFirstName: "Dozvoljena su samo slova.",
|
|
110
|
+
InvalidLastName: "Dozvoljena su samo slova."
|
|
105
111
|
},
|
|
106
112
|
tr: {
|
|
107
113
|
dateError: "Seçilen tarih {min} ve {max} arasında olmalıdır",
|
|
@@ -134,7 +140,9 @@ const Ns = "en", ke = {
|
|
|
134
140
|
SAIdLengthError: "Güney Afrika kimlik numarası 13 haneli olmalıdır",
|
|
135
141
|
SAIdInvalidError: "Geçersiz Güney Afrika kimlik numarası",
|
|
136
142
|
PasswordMustContain: "Şifre şunları içermelidir:",
|
|
137
|
-
AlphanumericalOnly: "Yalnızca alfanümerik karakterlere izin verilir"
|
|
143
|
+
AlphanumericalOnly: "Yalnızca alfanümerik karakterlere izin verilir",
|
|
144
|
+
InvalidFirstName: "Yalnızca alfabetik karakterlere izin verilir.",
|
|
145
|
+
InvalidLastName: "Yalnızca alfabetik karakterlere izin verilir."
|
|
138
146
|
},
|
|
139
147
|
"pt-br": {
|
|
140
148
|
dateError: "A data selecionada deve estar entre {min} e {max}",
|
|
@@ -167,7 +175,9 @@ const Ns = "en", ke = {
|
|
|
167
175
|
SAIdLengthError: "O número de identificação da África do Sul deve ter 13 dígitos",
|
|
168
176
|
SAIdInvalidError: "Número de identificação da África do Sul inválido",
|
|
169
177
|
PasswordMustContain: "A senha deve conter:",
|
|
170
|
-
AlphanumericalOnly: "Apenas caracteres alfanuméricos são permitidos"
|
|
178
|
+
AlphanumericalOnly: "Apenas caracteres alfanuméricos são permitidos",
|
|
179
|
+
InvalidFirstName: "Apenas caracteres alfabéticos são permitidos.",
|
|
180
|
+
InvalidLastName: "Apenas caracteres alfabéticos são permitidos."
|
|
171
181
|
},
|
|
172
182
|
pt: {
|
|
173
183
|
dateError: "A data selecionada deve estar entre {min} e {max}",
|
|
@@ -175,6 +185,7 @@ const Ns = "en", ke = {
|
|
|
175
185
|
dateFormatError: "A data selecionada tem um formato diferente do exigido.",
|
|
176
186
|
numberLengthError: "O número deve estar entre {min} e {max}",
|
|
177
187
|
lengthError: "O comprimento deve estar entre {minLength} e {maxLength}",
|
|
188
|
+
fixedLengthError: "O comprimento deve ser de {length} caracteres",
|
|
178
189
|
requiredError: "Este campo é obrigatório.",
|
|
179
190
|
invalidOriginalPasswordError: "O campo da palavra-passe inicial não cumpre todos os critérios.",
|
|
180
191
|
invalidPassword: "A palavra-passe não cumpre todos os critérios",
|
|
@@ -202,7 +213,9 @@ const Ns = "en", ke = {
|
|
|
202
213
|
SAIdInvalidError: "ID da África do Sul inválido",
|
|
203
214
|
PassportLengthError: "O número de passaporte deve ter 8 ou 9 dígitos.",
|
|
204
215
|
PasswordMustContain: "A palavra-passe deve conter:",
|
|
205
|
-
AlphanumericalOnly: "Apenas caracteres alfanuméricos são permitidos"
|
|
216
|
+
AlphanumericalOnly: "Apenas caracteres alfanuméricos são permitidos",
|
|
217
|
+
InvalidFirstName: "Apenas caracteres alfabéticos são permitidos.",
|
|
218
|
+
InvalidLastName: "Apenas caracteres alfabéticos são permitidos."
|
|
206
219
|
},
|
|
207
220
|
"es-mx": {
|
|
208
221
|
dateError: "La fecha seleccionada debe ser entre {min} y {max}",
|
|
@@ -235,7 +248,9 @@ const Ns = "en", ke = {
|
|
|
235
248
|
SAIdLengthError: "El número de identificación de Sudáfrica debe tener 13 dígitos",
|
|
236
249
|
SAIdInvalidError: "Número de identificación de Sudáfrica inválido",
|
|
237
250
|
PasswordMustContain: "La contraseña debe contener:",
|
|
238
|
-
AlphanumericalOnly: "Solo se permiten caracteres alfanuméricos"
|
|
251
|
+
AlphanumericalOnly: "Solo se permiten caracteres alfanuméricos",
|
|
252
|
+
InvalidFirstName: "Solo se permiten caracteres alfabéticos.",
|
|
253
|
+
InvalidLastName: "Solo se permiten caracteres alfabéticos."
|
|
239
254
|
},
|
|
240
255
|
fr: {
|
|
241
256
|
dateError: "La date sélectionnée doit être comprise entre {min} et {max}",
|
|
@@ -271,7 +286,9 @@ const Ns = "en", ke = {
|
|
|
271
286
|
SAIdInvalidError: "Identifiant sud-africain invalide",
|
|
272
287
|
PassportLengthError: "Le numéro de passeport doit comporter 8 ou 9 chiffres.",
|
|
273
288
|
PasswordMustContain: "Le mot de passe doit contenir :",
|
|
274
|
-
AlphanumericalOnly: "Seuls les caractères alphanumériques sont autorisés"
|
|
289
|
+
AlphanumericalOnly: "Seuls les caractères alphanumériques sont autorisés",
|
|
290
|
+
InvalidFirstName: "Seuls les caractères alphabétiques sont autorisés.",
|
|
291
|
+
InvalidLastName: "Seuls les caractères alphabétiques sont autorisés."
|
|
275
292
|
}
|
|
276
293
|
}, Q = {
|
|
277
294
|
DOCUMENT_NUMBER: "DocumentNumber",
|
|
@@ -287,7 +304,7 @@ const Ns = "en", ke = {
|
|
|
287
304
|
DATE_FORMAT: "yyyy-MM-dd",
|
|
288
305
|
PASSWORD_COMPLEXITY_PASSED: "passed",
|
|
289
306
|
PASSWORD_COMPLEXITY_FAILED: "failed"
|
|
290
|
-
},
|
|
307
|
+
}, de = {
|
|
291
308
|
PASSPORT_INVALID: "PassportLengthError",
|
|
292
309
|
SA_ID_LENGTH: "SAIdLengthError",
|
|
293
310
|
SA_ID_INVALID: "SAIdInvalidError",
|
|
@@ -299,7 +316,7 @@ const Ns = "en", ke = {
|
|
|
299
316
|
FAILED: "✕"
|
|
300
317
|
}, b = (i, e, t) => {
|
|
301
318
|
const r = e;
|
|
302
|
-
let a =
|
|
319
|
+
let a = Ee[r] ? Ee[r][i] : Ee[Ns][i];
|
|
303
320
|
if (t !== void 0)
|
|
304
321
|
for (const [o, n] of Object.entries(t.values)) {
|
|
305
322
|
const s = new RegExp(`{${o}}`, "g");
|
|
@@ -309,9 +326,9 @@ const Ns = "en", ke = {
|
|
|
309
326
|
}, Ls = (i) => new Promise((e) => {
|
|
310
327
|
fetch(i).then((t) => t.json()).then((t) => {
|
|
311
328
|
Object.keys(t).forEach((r) => {
|
|
312
|
-
|
|
329
|
+
Ee[r] = Ee[r] || {};
|
|
313
330
|
for (let a in t[r])
|
|
314
|
-
typeof t[r][a] == "string" && (
|
|
331
|
+
typeof t[r][a] == "string" && (Ee[r] = Ee[r] || {}, Ee[r][a] = t[r][a]);
|
|
315
332
|
}), e(!0);
|
|
316
333
|
});
|
|
317
334
|
}), zs = (i) => {
|
|
@@ -326,7 +343,7 @@ const Ns = "en", ke = {
|
|
|
326
343
|
r += e[l];
|
|
327
344
|
const o = (parseInt(r, 10) * 2).toString().split("").reduce((l, d) => l + parseInt(d, 10), 0);
|
|
328
345
|
return (10 - (t + o) % 10) % 10 === e[12];
|
|
329
|
-
},
|
|
346
|
+
}, he = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==", Rs = '*,*::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, #22B04E))}.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, #22B04E))}.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, #22B04E));box-shadow:none}', Fs = Rs, $s = class {
|
|
330
347
|
constructor(i) {
|
|
331
348
|
ee(this, i), this.sendValidityState = P(this, "sendValidityState"), this.sendInputValue = P(this, "sendInputValue"), this.value = null, this.setClientStyling = () => {
|
|
332
349
|
let e = document.createElement("style");
|
|
@@ -379,7 +396,7 @@ const Ns = "en", ke = {
|
|
|
379
396
|
return u("label", { class: "checkbox__label", htmlFor: `${this.name}__input`, slot: "label" }, u("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
|
|
380
397
|
}
|
|
381
398
|
render() {
|
|
382
|
-
return u("div", { key: "9985f4050655bc2233090f63abb0e22f2fe0b556", class: `checkboxgroup__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "9922e45ae7ee74b137ffc8552b3d714b7e3b1f59", class: "checkboxgroup__wrapper--flex" }, u("vaadin-checkbox", { key: "f18bae7c3ee6df76edcde75924eb1ad51a227443", class: "checkbox__input", checked: this.selectedValues.length === this.options.length || this.defaultValue === "true", indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (i) => this.handleParentCheckbox(i) }, this.renderLabel()), this.tooltip && u("img", { key: "3dc2ce07e4d5f8de7ed4707b5e140fb4752ca86b", class: "checkboxgroup__tooltip-icon", src:
|
|
399
|
+
return u("div", { key: "9985f4050655bc2233090f63abb0e22f2fe0b556", class: `checkboxgroup__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "9922e45ae7ee74b137ffc8552b3d714b7e3b1f59", class: "checkboxgroup__wrapper--flex" }, u("vaadin-checkbox", { key: "f18bae7c3ee6df76edcde75924eb1ad51a227443", class: "checkbox__input", checked: this.selectedValues.length === this.options.length || this.defaultValue === "true", indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (i) => this.handleParentCheckbox(i) }, this.renderLabel()), this.tooltip && u("img", { key: "3dc2ce07e4d5f8de7ed4707b5e140fb4752ca86b", class: "checkboxgroup__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), u("small", { key: "d55f25f75aa20007ff58cf45b6632517f49b6c00", class: "checkboxgroup__error-message" }, this.errorMessage), this.showCheckboxes && u("vaadin-checkbox-group", { key: "210c3cc2868a07a403494e04336c4f3091eea0e4", theme: "vertical", value: this.selectedValues, "on-value-changed": (i) => {
|
|
383
400
|
this.selectedValues = i.detail.value;
|
|
384
401
|
} }, this.options.map((i) => u("vaadin-checkbox", { class: "checkbox__input", name: i.name, value: i.name, label: i.displayName }))));
|
|
385
402
|
}
|
|
@@ -449,7 +466,7 @@ const Hs = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
|
|
|
449
466
|
return this.showTooltip ? u("div", { class: `checkbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
450
467
|
}
|
|
451
468
|
render() {
|
|
452
|
-
return u("div", { key: "80ed581cec5bb009ea5ea009f11c6453fe24ef7b", class: `checkbox__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("vaadin-checkbox", { key: "42d793f607af77435f629218f9bdac7736522bc3", class: "checkbox__input", required: this.validation.mandatory, checked: this.defaultValue === "true", onChange: (i) => this.handleCheckbox(i), "error-message": !this.isValid && this.errorMessage, ref: (i) => this.vaadinCheckbox = i }, this.renderLabel()), this.tooltip && u("img", { key: "ce3870810ede8f3905fd8c07c0892ab0d909bab5", class: "checkboxgroup__tooltip-icon", src:
|
|
469
|
+
return u("div", { key: "80ed581cec5bb009ea5ea009f11c6453fe24ef7b", class: `checkbox__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("vaadin-checkbox", { key: "42d793f607af77435f629218f9bdac7736522bc3", class: "checkbox__input", required: this.validation.mandatory, checked: this.defaultValue === "true", onChange: (i) => this.handleCheckbox(i), "error-message": !this.isValid && this.errorMessage, ref: (i) => this.vaadinCheckbox = i }, this.renderLabel()), this.tooltip && u("img", { key: "ce3870810ede8f3905fd8c07c0892ab0d909bab5", class: "checkboxgroup__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
453
470
|
}
|
|
454
471
|
static get watchers() {
|
|
455
472
|
return {
|
|
@@ -460,25 +477,25 @@ const Hs = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
|
|
|
460
477
|
}
|
|
461
478
|
};
|
|
462
479
|
Us.style = Bs;
|
|
463
|
-
function
|
|
480
|
+
function we(i) {
|
|
464
481
|
"@babel/helpers - typeof";
|
|
465
|
-
return
|
|
482
|
+
return we = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
466
483
|
return typeof e;
|
|
467
484
|
} : function(e) {
|
|
468
485
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
469
|
-
},
|
|
486
|
+
}, we(i);
|
|
470
487
|
}
|
|
471
488
|
function F(i, e) {
|
|
472
489
|
if (e.length < i)
|
|
473
490
|
throw new TypeError(i + " argument" + (i > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
474
491
|
}
|
|
475
492
|
function qs(i) {
|
|
476
|
-
return F(1, arguments), i instanceof Date ||
|
|
493
|
+
return F(1, arguments), i instanceof Date || we(i) === "object" && Object.prototype.toString.call(i) === "[object Date]";
|
|
477
494
|
}
|
|
478
495
|
function q(i) {
|
|
479
496
|
F(1, arguments);
|
|
480
497
|
var e = Object.prototype.toString.call(i);
|
|
481
|
-
return i instanceof Date ||
|
|
498
|
+
return i instanceof Date || we(i) === "object" && e === "[object Date]" ? new Date(i.getTime()) : typeof i == "number" || e === "[object Number]" ? new Date(i) : ((typeof i == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
482
499
|
}
|
|
483
500
|
function To(i) {
|
|
484
501
|
if (F(1, arguments), !qs(i) && typeof i != "number")
|
|
@@ -541,7 +558,7 @@ var Xs = {};
|
|
|
541
558
|
function it() {
|
|
542
559
|
return Xs;
|
|
543
560
|
}
|
|
544
|
-
function
|
|
561
|
+
function ze(i, e) {
|
|
545
562
|
var t, r, a, o, n, s, l, d;
|
|
546
563
|
F(1, arguments);
|
|
547
564
|
var h = it(), c = ie((t = (r = (a = (o = e?.weekStartsOn) !== null && o !== void 0 ? o : e == null || (n = e.locale) === null || n === void 0 || (s = n.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && a !== void 0 ? a : h.weekStartsOn) !== null && r !== void 0 ? r : (l = h.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
@@ -558,9 +575,9 @@ function kr(i, e) {
|
|
|
558
575
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
559
576
|
var y = /* @__PURE__ */ new Date(0);
|
|
560
577
|
y.setUTCFullYear(c + 1, 0, m), y.setUTCHours(0, 0, 0, 0);
|
|
561
|
-
var L =
|
|
578
|
+
var L = ze(y, e), O = /* @__PURE__ */ new Date(0);
|
|
562
579
|
O.setUTCFullYear(c, 0, m), O.setUTCHours(0, 0, 0, 0);
|
|
563
|
-
var V =
|
|
580
|
+
var V = ze(O, e);
|
|
564
581
|
return h.getTime() >= L.getTime() ? c + 1 : h.getTime() >= V.getTime() ? c : c - 1;
|
|
565
582
|
}
|
|
566
583
|
function Qs(i, e) {
|
|
@@ -568,13 +585,13 @@ function Qs(i, e) {
|
|
|
568
585
|
F(1, arguments);
|
|
569
586
|
var h = it(), c = ie((t = (r = (a = (o = e?.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (n = e.locale) === null || n === void 0 || (s = n.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && a !== void 0 ? a : h.firstWeekContainsDate) !== null && r !== void 0 ? r : (l = h.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = kr(i, e), m = /* @__PURE__ */ new Date(0);
|
|
570
587
|
m.setUTCFullYear(p, 0, c), m.setUTCHours(0, 0, 0, 0);
|
|
571
|
-
var y =
|
|
588
|
+
var y = ze(m, e);
|
|
572
589
|
return y;
|
|
573
590
|
}
|
|
574
591
|
var Js = 6048e5;
|
|
575
592
|
function Vo(i, e) {
|
|
576
593
|
F(1, arguments);
|
|
577
|
-
var t = q(i), r =
|
|
594
|
+
var t = q(i), r = ze(t, e).getTime() - Qs(t, e).getTime();
|
|
578
595
|
return Math.round(r / Js) + 1;
|
|
579
596
|
}
|
|
580
597
|
function M(i, e) {
|
|
@@ -635,7 +652,7 @@ var Zs = {
|
|
|
635
652
|
return M(o, t.length);
|
|
636
653
|
}
|
|
637
654
|
};
|
|
638
|
-
const
|
|
655
|
+
const ke = Zs;
|
|
639
656
|
var Ue = {
|
|
640
657
|
midnight: "midnight",
|
|
641
658
|
noon: "noon",
|
|
@@ -673,7 +690,7 @@ var Ue = {
|
|
|
673
690
|
unit: "year"
|
|
674
691
|
});
|
|
675
692
|
}
|
|
676
|
-
return
|
|
693
|
+
return ke.y(e, t);
|
|
677
694
|
},
|
|
678
695
|
// Local week-numbering year
|
|
679
696
|
Y: function(e, t, r, a) {
|
|
@@ -770,7 +787,7 @@ var Ue = {
|
|
|
770
787
|
switch (t) {
|
|
771
788
|
case "M":
|
|
772
789
|
case "MM":
|
|
773
|
-
return
|
|
790
|
+
return ke.M(e, t);
|
|
774
791
|
case "Mo":
|
|
775
792
|
return r.ordinalNumber(a + 1, {
|
|
776
793
|
unit: "month"
|
|
@@ -841,7 +858,7 @@ var Ue = {
|
|
|
841
858
|
d: function(e, t, r) {
|
|
842
859
|
return t === "do" ? r.ordinalNumber(e.getUTCDate(), {
|
|
843
860
|
unit: "date"
|
|
844
|
-
}) :
|
|
861
|
+
}) : ke.d(e, t);
|
|
845
862
|
},
|
|
846
863
|
// Day of year
|
|
847
864
|
D: function(e, t, r) {
|
|
@@ -1072,13 +1089,13 @@ var Ue = {
|
|
|
1072
1089
|
unit: "hour"
|
|
1073
1090
|
});
|
|
1074
1091
|
}
|
|
1075
|
-
return
|
|
1092
|
+
return ke.h(e, t);
|
|
1076
1093
|
},
|
|
1077
1094
|
// Hour [0-23]
|
|
1078
1095
|
H: function(e, t, r) {
|
|
1079
1096
|
return t === "Ho" ? r.ordinalNumber(e.getUTCHours(), {
|
|
1080
1097
|
unit: "hour"
|
|
1081
|
-
}) :
|
|
1098
|
+
}) : ke.H(e, t);
|
|
1082
1099
|
},
|
|
1083
1100
|
// Hour [0-11]
|
|
1084
1101
|
K: function(e, t, r) {
|
|
@@ -1098,17 +1115,17 @@ var Ue = {
|
|
|
1098
1115
|
m: function(e, t, r) {
|
|
1099
1116
|
return t === "mo" ? r.ordinalNumber(e.getUTCMinutes(), {
|
|
1100
1117
|
unit: "minute"
|
|
1101
|
-
}) :
|
|
1118
|
+
}) : ke.m(e, t);
|
|
1102
1119
|
},
|
|
1103
1120
|
// Second
|
|
1104
1121
|
s: function(e, t, r) {
|
|
1105
1122
|
return t === "so" ? r.ordinalNumber(e.getUTCSeconds(), {
|
|
1106
1123
|
unit: "second"
|
|
1107
|
-
}) :
|
|
1124
|
+
}) : ke.s(e, t);
|
|
1108
1125
|
},
|
|
1109
1126
|
// Fraction of second
|
|
1110
1127
|
S: function(e, t) {
|
|
1111
|
-
return
|
|
1128
|
+
return ke.S(e, t);
|
|
1112
1129
|
},
|
|
1113
1130
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1114
1131
|
X: function(e, t, r, a) {
|
|
@@ -1120,11 +1137,11 @@ var Ue = {
|
|
|
1120
1137
|
return ya(n);
|
|
1121
1138
|
case "XXXX":
|
|
1122
1139
|
case "XX":
|
|
1123
|
-
return
|
|
1140
|
+
return Oe(n);
|
|
1124
1141
|
case "XXXXX":
|
|
1125
1142
|
case "XXX":
|
|
1126
1143
|
default:
|
|
1127
|
-
return
|
|
1144
|
+
return Oe(n, ":");
|
|
1128
1145
|
}
|
|
1129
1146
|
},
|
|
1130
1147
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -1135,11 +1152,11 @@ var Ue = {
|
|
|
1135
1152
|
return ya(n);
|
|
1136
1153
|
case "xxxx":
|
|
1137
1154
|
case "xx":
|
|
1138
|
-
return
|
|
1155
|
+
return Oe(n);
|
|
1139
1156
|
case "xxxxx":
|
|
1140
1157
|
case "xxx":
|
|
1141
1158
|
default:
|
|
1142
|
-
return
|
|
1159
|
+
return Oe(n, ":");
|
|
1143
1160
|
}
|
|
1144
1161
|
},
|
|
1145
1162
|
// Timezone (GMT)
|
|
@@ -1152,7 +1169,7 @@ var Ue = {
|
|
|
1152
1169
|
return "GMT" + ba(n, ":");
|
|
1153
1170
|
case "OOOO":
|
|
1154
1171
|
default:
|
|
1155
|
-
return "GMT" +
|
|
1172
|
+
return "GMT" + Oe(n, ":");
|
|
1156
1173
|
}
|
|
1157
1174
|
},
|
|
1158
1175
|
// Timezone (specific non-location)
|
|
@@ -1165,7 +1182,7 @@ var Ue = {
|
|
|
1165
1182
|
return "GMT" + ba(n, ":");
|
|
1166
1183
|
case "zzzz":
|
|
1167
1184
|
default:
|
|
1168
|
-
return "GMT" +
|
|
1185
|
+
return "GMT" + Oe(n, ":");
|
|
1169
1186
|
}
|
|
1170
1187
|
},
|
|
1171
1188
|
// Seconds timestamp
|
|
@@ -1191,9 +1208,9 @@ function ya(i, e) {
|
|
|
1191
1208
|
var t = i > 0 ? "-" : "+";
|
|
1192
1209
|
return t + M(Math.abs(i) / 60, 2);
|
|
1193
1210
|
}
|
|
1194
|
-
return
|
|
1211
|
+
return Oe(i, e);
|
|
1195
1212
|
}
|
|
1196
|
-
function
|
|
1213
|
+
function Oe(i, e) {
|
|
1197
1214
|
var t = e || "", r = i > 0 ? "-" : "+", a = Math.abs(i), o = M(Math.floor(a / 60), 2), n = M(a % 60, 2);
|
|
1198
1215
|
return r + o + t + n;
|
|
1199
1216
|
}
|
|
@@ -1546,9 +1563,9 @@ function ct(i) {
|
|
|
1546
1563
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.width, a = r && i.matchPatterns[r] || i.matchPatterns[i.defaultMatchWidth], o = e.match(a);
|
|
1547
1564
|
if (!o)
|
|
1548
1565
|
return null;
|
|
1549
|
-
var n = o[0], s = r && i.parsePatterns[r] || i.parsePatterns[i.defaultParseWidth], l = Array.isArray(s) ?
|
|
1566
|
+
var n = o[0], s = r && i.parsePatterns[r] || i.parsePatterns[i.defaultParseWidth], l = Array.isArray(s) ? Sl(s, function(c) {
|
|
1550
1567
|
return c.test(n);
|
|
1551
|
-
}) :
|
|
1568
|
+
}) : Il(s, function(c) {
|
|
1552
1569
|
return c.test(n);
|
|
1553
1570
|
}), d;
|
|
1554
1571
|
d = i.valueCallback ? i.valueCallback(l) : l, d = t.valueCallback ? t.valueCallback(d) : d;
|
|
@@ -1559,12 +1576,12 @@ function ct(i) {
|
|
|
1559
1576
|
};
|
|
1560
1577
|
};
|
|
1561
1578
|
}
|
|
1562
|
-
function
|
|
1579
|
+
function Il(i, e) {
|
|
1563
1580
|
for (var t in i)
|
|
1564
1581
|
if (i.hasOwnProperty(t) && e(i[t]))
|
|
1565
1582
|
return t;
|
|
1566
1583
|
}
|
|
1567
|
-
function
|
|
1584
|
+
function Sl(i, e) {
|
|
1568
1585
|
for (var t = 0; t < i.length; t++)
|
|
1569
1586
|
if (e(i[t]))
|
|
1570
1587
|
return t;
|
|
@@ -1690,26 +1707,26 @@ function xa(i, e, t) {
|
|
|
1690
1707
|
var V = String(e), A = it(), j = (r = (a = void 0) !== null && a !== void 0 ? a : A.locale) !== null && r !== void 0 ? r : Ro, W = ie((o = (n = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : A.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = A.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
1691
1708
|
if (!(W >= 1 && W <= 7))
|
|
1692
1709
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1693
|
-
var
|
|
1694
|
-
if (!(
|
|
1710
|
+
var ce = ie((c = (p = (m = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && m !== void 0 ? m : A.weekStartsOn) !== null && p !== void 0 ? p : (L = A.locale) === null || L === void 0 || (O = L.options) === null || O === void 0 ? void 0 : O.weekStartsOn) !== null && c !== void 0 ? c : 0);
|
|
1711
|
+
if (!(ce >= 0 && ce <= 6))
|
|
1695
1712
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1696
1713
|
if (!j.localize)
|
|
1697
1714
|
throw new RangeError("locale must contain localize property");
|
|
1698
1715
|
if (!j.formatLong)
|
|
1699
1716
|
throw new RangeError("locale must contain formatLong property");
|
|
1700
|
-
var
|
|
1701
|
-
if (!To(
|
|
1717
|
+
var Ce = q(i);
|
|
1718
|
+
if (!To(Ce))
|
|
1702
1719
|
throw new RangeError("Invalid time value");
|
|
1703
|
-
var nt = No(
|
|
1720
|
+
var nt = No(Ce), st = Po(Ce, nt), lt = {
|
|
1704
1721
|
firstWeekContainsDate: W,
|
|
1705
|
-
weekStartsOn:
|
|
1722
|
+
weekStartsOn: ce,
|
|
1706
1723
|
locale: j,
|
|
1707
|
-
_originalDate:
|
|
1724
|
+
_originalDate: Ce
|
|
1708
1725
|
}, Oi = V.match(jl).map(function(K) {
|
|
1709
1726
|
var re = K[0];
|
|
1710
1727
|
if (re === "p" || re === "P") {
|
|
1711
|
-
var
|
|
1712
|
-
return
|
|
1728
|
+
var Pe = Qi[re];
|
|
1729
|
+
return Pe(K, j.formatLong);
|
|
1713
1730
|
}
|
|
1714
1731
|
return K;
|
|
1715
1732
|
}).join("").match(ql).map(function(K) {
|
|
@@ -1718,9 +1735,9 @@ function xa(i, e, t) {
|
|
|
1718
1735
|
var re = K[0];
|
|
1719
1736
|
if (re === "'")
|
|
1720
1737
|
return Kl(K);
|
|
1721
|
-
var
|
|
1722
|
-
if (
|
|
1723
|
-
return zo(K) && ri(K, e, String(i)), Lo(K) && ri(K, e, String(i)),
|
|
1738
|
+
var Pe = tl[re];
|
|
1739
|
+
if (Pe)
|
|
1740
|
+
return zo(K) && ri(K, e, String(i)), Lo(K) && ri(K, e, String(i)), Pe(st, K, j.localize, lt);
|
|
1724
1741
|
if (re.match(Gl))
|
|
1725
1742
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
1726
1743
|
return K;
|
|
@@ -1810,7 +1827,7 @@ function Ji(i, e) {
|
|
|
1810
1827
|
return t.__proto__ = r, t;
|
|
1811
1828
|
}, Ji(i, e);
|
|
1812
1829
|
}
|
|
1813
|
-
function
|
|
1830
|
+
function I(i, e) {
|
|
1814
1831
|
if (typeof e != "function" && e !== null)
|
|
1815
1832
|
throw new TypeError("Super expression must either be null or a function");
|
|
1816
1833
|
i.prototype = Object.create(e && e.prototype, {
|
|
@@ -1839,13 +1856,13 @@ function Fo() {
|
|
|
1839
1856
|
})();
|
|
1840
1857
|
}
|
|
1841
1858
|
function Jl(i, e) {
|
|
1842
|
-
if (e && (
|
|
1859
|
+
if (e && (we(e) == "object" || typeof e == "function"))
|
|
1843
1860
|
return e;
|
|
1844
1861
|
if (e !== void 0)
|
|
1845
1862
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1846
1863
|
return _(i);
|
|
1847
1864
|
}
|
|
1848
|
-
function
|
|
1865
|
+
function S(i) {
|
|
1849
1866
|
var e = Fo();
|
|
1850
1867
|
return function() {
|
|
1851
1868
|
var t, r = ai(i);
|
|
@@ -1862,12 +1879,12 @@ function x(i, e) {
|
|
|
1862
1879
|
throw new TypeError("Cannot call a class as a function");
|
|
1863
1880
|
}
|
|
1864
1881
|
function Zl(i, e) {
|
|
1865
|
-
if (
|
|
1882
|
+
if (we(i) != "object" || !i)
|
|
1866
1883
|
return i;
|
|
1867
1884
|
var t = i[Symbol.toPrimitive];
|
|
1868
1885
|
if (t !== void 0) {
|
|
1869
1886
|
var r = t.call(i, e);
|
|
1870
|
-
if (
|
|
1887
|
+
if (we(r) != "object")
|
|
1871
1888
|
return r;
|
|
1872
1889
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1873
1890
|
}
|
|
@@ -1875,7 +1892,7 @@ function Zl(i, e) {
|
|
|
1875
1892
|
}
|
|
1876
1893
|
function $o(i) {
|
|
1877
1894
|
var e = Zl(i, "string");
|
|
1878
|
-
return
|
|
1895
|
+
return we(e) == "symbol" ? e : e + "";
|
|
1879
1896
|
}
|
|
1880
1897
|
function ed(i, e) {
|
|
1881
1898
|
for (var t = 0; t < e.length; t++) {
|
|
@@ -1907,8 +1924,8 @@ var td = 10, Ho = /* @__PURE__ */ function() {
|
|
|
1907
1924
|
}
|
|
1908
1925
|
}]), i;
|
|
1909
1926
|
}(), id = /* @__PURE__ */ function(i) {
|
|
1910
|
-
|
|
1911
|
-
var e =
|
|
1927
|
+
I(t, i);
|
|
1928
|
+
var e = S(t);
|
|
1912
1929
|
function t(r, a, o, n, s) {
|
|
1913
1930
|
var l;
|
|
1914
1931
|
return x(this, t), l = e.call(this), l.value = r, l.validateValue = a, l.setValue = o, l.priority = n, s && (l.subPriority = s), l;
|
|
@@ -1925,8 +1942,8 @@ var td = 10, Ho = /* @__PURE__ */ function() {
|
|
|
1925
1942
|
}
|
|
1926
1943
|
}]), t;
|
|
1927
1944
|
}(Ho), rd = /* @__PURE__ */ function(i) {
|
|
1928
|
-
|
|
1929
|
-
var e =
|
|
1945
|
+
I(t, i);
|
|
1946
|
+
var e = S(t);
|
|
1930
1947
|
function t() {
|
|
1931
1948
|
var r;
|
|
1932
1949
|
x(this, t);
|
|
@@ -1963,8 +1980,8 @@ var td = 10, Ho = /* @__PURE__ */ function() {
|
|
|
1963
1980
|
}
|
|
1964
1981
|
}]), i;
|
|
1965
1982
|
}(), ad = /* @__PURE__ */ function(i) {
|
|
1966
|
-
|
|
1967
|
-
var e =
|
|
1983
|
+
I(t, i);
|
|
1984
|
+
var e = S(t);
|
|
1968
1985
|
function t() {
|
|
1969
1986
|
var r;
|
|
1970
1987
|
x(this, t);
|
|
@@ -2043,7 +2060,7 @@ var td = 10, Ho = /* @__PURE__ */ function() {
|
|
|
2043
2060
|
// 0 to 999, -0 to -999
|
|
2044
2061
|
fourDigitsSigned: /^-?\d{1,4}/
|
|
2045
2062
|
// 0 to 9999, -0 to -9999
|
|
2046
|
-
},
|
|
2063
|
+
}, me = {
|
|
2047
2064
|
basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
|
|
2048
2065
|
basic: /^([+-])(\d{2})(\d{2})|Z/,
|
|
2049
2066
|
basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
|
|
@@ -2063,7 +2080,7 @@ function R(i, e) {
|
|
|
2063
2080
|
rest: e.slice(t[0].length)
|
|
2064
2081
|
} : null;
|
|
2065
2082
|
}
|
|
2066
|
-
function
|
|
2083
|
+
function fe(i, e) {
|
|
2067
2084
|
var t = e.match(i);
|
|
2068
2085
|
if (!t)
|
|
2069
2086
|
return null;
|
|
@@ -2140,8 +2157,8 @@ function qo(i) {
|
|
|
2140
2157
|
return i % 400 === 0 || i % 4 === 0 && i % 100 !== 0;
|
|
2141
2158
|
}
|
|
2142
2159
|
var ld = /* @__PURE__ */ function(i) {
|
|
2143
|
-
|
|
2144
|
-
var e =
|
|
2160
|
+
I(t, i);
|
|
2161
|
+
var e = S(t);
|
|
2145
2162
|
function t() {
|
|
2146
2163
|
var r;
|
|
2147
2164
|
x(this, t);
|
|
@@ -2187,8 +2204,8 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2187
2204
|
}
|
|
2188
2205
|
}]), t;
|
|
2189
2206
|
}(D), dd = /* @__PURE__ */ function(i) {
|
|
2190
|
-
|
|
2191
|
-
var e =
|
|
2207
|
+
I(t, i);
|
|
2208
|
+
var e = S(t);
|
|
2192
2209
|
function t() {
|
|
2193
2210
|
var r;
|
|
2194
2211
|
x(this, t);
|
|
@@ -2227,15 +2244,15 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2227
2244
|
var l = kr(a, s);
|
|
2228
2245
|
if (n.isTwoDigitYear) {
|
|
2229
2246
|
var d = Uo(n.year, l);
|
|
2230
|
-
return a.setUTCFullYear(d, 0, s.firstWeekContainsDate), a.setUTCHours(0, 0, 0, 0),
|
|
2247
|
+
return a.setUTCFullYear(d, 0, s.firstWeekContainsDate), a.setUTCHours(0, 0, 0, 0), ze(a, s);
|
|
2231
2248
|
}
|
|
2232
2249
|
var h = !("era" in o) || o.era === 1 ? n.year : 1 - n.year;
|
|
2233
|
-
return a.setUTCFullYear(h, 0, s.firstWeekContainsDate), a.setUTCHours(0, 0, 0, 0),
|
|
2250
|
+
return a.setUTCFullYear(h, 0, s.firstWeekContainsDate), a.setUTCHours(0, 0, 0, 0), ze(a, s);
|
|
2234
2251
|
}
|
|
2235
2252
|
}]), t;
|
|
2236
2253
|
}(D), hd = /* @__PURE__ */ function(i) {
|
|
2237
|
-
|
|
2238
|
-
var e =
|
|
2254
|
+
I(t, i);
|
|
2255
|
+
var e = S(t);
|
|
2239
2256
|
function t() {
|
|
2240
2257
|
var r;
|
|
2241
2258
|
x(this, t);
|
|
@@ -2256,8 +2273,8 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2256
2273
|
}
|
|
2257
2274
|
}]), t;
|
|
2258
2275
|
}(D), cd = /* @__PURE__ */ function(i) {
|
|
2259
|
-
|
|
2260
|
-
var e =
|
|
2276
|
+
I(t, i);
|
|
2277
|
+
var e = S(t);
|
|
2261
2278
|
function t() {
|
|
2262
2279
|
var r;
|
|
2263
2280
|
x(this, t);
|
|
@@ -2277,8 +2294,8 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2277
2294
|
}
|
|
2278
2295
|
}]), t;
|
|
2279
2296
|
}(D), ud = /* @__PURE__ */ function(i) {
|
|
2280
|
-
|
|
2281
|
-
var e =
|
|
2297
|
+
I(t, i);
|
|
2298
|
+
var e = S(t);
|
|
2282
2299
|
function t() {
|
|
2283
2300
|
var r;
|
|
2284
2301
|
x(this, t);
|
|
@@ -2336,8 +2353,8 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2336
2353
|
}
|
|
2337
2354
|
}]), t;
|
|
2338
2355
|
}(D), pd = /* @__PURE__ */ function(i) {
|
|
2339
|
-
|
|
2340
|
-
var e =
|
|
2356
|
+
I(t, i);
|
|
2357
|
+
var e = S(t);
|
|
2341
2358
|
function t() {
|
|
2342
2359
|
var r;
|
|
2343
2360
|
x(this, t);
|
|
@@ -2395,8 +2412,8 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2395
2412
|
}
|
|
2396
2413
|
}]), t;
|
|
2397
2414
|
}(D), md = /* @__PURE__ */ function(i) {
|
|
2398
|
-
|
|
2399
|
-
var e =
|
|
2415
|
+
I(t, i);
|
|
2416
|
+
var e = S(t);
|
|
2400
2417
|
function t() {
|
|
2401
2418
|
var r;
|
|
2402
2419
|
x(this, t);
|
|
@@ -2458,8 +2475,8 @@ var ld = /* @__PURE__ */ function(i) {
|
|
|
2458
2475
|
}
|
|
2459
2476
|
}]), t;
|
|
2460
2477
|
}(D), fd = /* @__PURE__ */ function(i) {
|
|
2461
|
-
|
|
2462
|
-
var e =
|
|
2478
|
+
I(t, i);
|
|
2479
|
+
var e = S(t);
|
|
2463
2480
|
function t() {
|
|
2464
2481
|
var r;
|
|
2465
2482
|
x(this, t);
|
|
@@ -2527,8 +2544,8 @@ function vd(i, e, t) {
|
|
|
2527
2544
|
return r.setUTCDate(r.getUTCDate() - o * 7), r;
|
|
2528
2545
|
}
|
|
2529
2546
|
var _d = /* @__PURE__ */ function(i) {
|
|
2530
|
-
|
|
2531
|
-
var e =
|
|
2547
|
+
I(t, i);
|
|
2548
|
+
var e = S(t);
|
|
2532
2549
|
function t() {
|
|
2533
2550
|
var r;
|
|
2534
2551
|
x(this, t);
|
|
@@ -2558,7 +2575,7 @@ var _d = /* @__PURE__ */ function(i) {
|
|
|
2558
2575
|
}, {
|
|
2559
2576
|
key: "set",
|
|
2560
2577
|
value: function(a, o, n, s) {
|
|
2561
|
-
return
|
|
2578
|
+
return ze(vd(a, n, s), s);
|
|
2562
2579
|
}
|
|
2563
2580
|
}]), t;
|
|
2564
2581
|
}(D);
|
|
@@ -2568,8 +2585,8 @@ function gd(i, e) {
|
|
|
2568
2585
|
return t.setUTCDate(t.getUTCDate() - a * 7), t;
|
|
2569
2586
|
}
|
|
2570
2587
|
var bd = /* @__PURE__ */ function(i) {
|
|
2571
|
-
|
|
2572
|
-
var e =
|
|
2588
|
+
I(t, i);
|
|
2589
|
+
var e = S(t);
|
|
2573
2590
|
function t() {
|
|
2574
2591
|
var r;
|
|
2575
2592
|
x(this, t);
|
|
@@ -2603,8 +2620,8 @@ var bd = /* @__PURE__ */ function(i) {
|
|
|
2603
2620
|
}
|
|
2604
2621
|
}]), t;
|
|
2605
2622
|
}(D), yd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], wd = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], xd = /* @__PURE__ */ function(i) {
|
|
2606
|
-
|
|
2607
|
-
var e =
|
|
2623
|
+
I(t, i);
|
|
2624
|
+
var e = S(t);
|
|
2608
2625
|
function t() {
|
|
2609
2626
|
var r;
|
|
2610
2627
|
x(this, t);
|
|
@@ -2639,8 +2656,8 @@ var bd = /* @__PURE__ */ function(i) {
|
|
|
2639
2656
|
}
|
|
2640
2657
|
}]), t;
|
|
2641
2658
|
}(D), Cd = /* @__PURE__ */ function(i) {
|
|
2642
|
-
|
|
2643
|
-
var e =
|
|
2659
|
+
I(t, i);
|
|
2660
|
+
var e = S(t);
|
|
2644
2661
|
function t() {
|
|
2645
2662
|
var r;
|
|
2646
2663
|
x(this, t);
|
|
@@ -2676,7 +2693,7 @@ var bd = /* @__PURE__ */ function(i) {
|
|
|
2676
2693
|
}
|
|
2677
2694
|
}]), t;
|
|
2678
2695
|
}(D);
|
|
2679
|
-
function
|
|
2696
|
+
function Ir(i, e, t) {
|
|
2680
2697
|
var r, a, o, n, s, l, d, h;
|
|
2681
2698
|
F(2, arguments);
|
|
2682
2699
|
var c = it(), p = ie((r = (a = (o = (n = t?.weekStartsOn) !== null && n !== void 0 ? n : t == null || (s = t.locale) === null || s === void 0 || (l = s.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && o !== void 0 ? o : c.weekStartsOn) !== null && a !== void 0 ? a : (d = c.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && r !== void 0 ? r : 0);
|
|
@@ -2686,8 +2703,8 @@ function Sr(i, e, t) {
|
|
|
2686
2703
|
return m.setUTCDate(m.getUTCDate() + A), m;
|
|
2687
2704
|
}
|
|
2688
2705
|
var kd = /* @__PURE__ */ function(i) {
|
|
2689
|
-
|
|
2690
|
-
var e =
|
|
2706
|
+
I(t, i);
|
|
2707
|
+
var e = S(t);
|
|
2691
2708
|
function t() {
|
|
2692
2709
|
var r;
|
|
2693
2710
|
x(this, t);
|
|
@@ -2750,12 +2767,12 @@ var kd = /* @__PURE__ */ function(i) {
|
|
|
2750
2767
|
}, {
|
|
2751
2768
|
key: "set",
|
|
2752
2769
|
value: function(a, o, n, s) {
|
|
2753
|
-
return a =
|
|
2770
|
+
return a = Ir(a, n, s), a.setUTCHours(0, 0, 0, 0), a;
|
|
2754
2771
|
}
|
|
2755
2772
|
}]), t;
|
|
2756
2773
|
}(D), Ed = /* @__PURE__ */ function(i) {
|
|
2757
|
-
|
|
2758
|
-
var e =
|
|
2774
|
+
I(t, i);
|
|
2775
|
+
var e = S(t);
|
|
2759
2776
|
function t() {
|
|
2760
2777
|
var r;
|
|
2761
2778
|
x(this, t);
|
|
@@ -2827,12 +2844,12 @@ var kd = /* @__PURE__ */ function(i) {
|
|
|
2827
2844
|
}, {
|
|
2828
2845
|
key: "set",
|
|
2829
2846
|
value: function(a, o, n, s) {
|
|
2830
|
-
return a =
|
|
2847
|
+
return a = Ir(a, n, s), a.setUTCHours(0, 0, 0, 0), a;
|
|
2831
2848
|
}
|
|
2832
2849
|
}]), t;
|
|
2833
|
-
}(D),
|
|
2834
|
-
|
|
2835
|
-
var e =
|
|
2850
|
+
}(D), Id = /* @__PURE__ */ function(i) {
|
|
2851
|
+
I(t, i);
|
|
2852
|
+
var e = S(t);
|
|
2836
2853
|
function t() {
|
|
2837
2854
|
var r;
|
|
2838
2855
|
x(this, t);
|
|
@@ -2904,11 +2921,11 @@ var kd = /* @__PURE__ */ function(i) {
|
|
|
2904
2921
|
}, {
|
|
2905
2922
|
key: "set",
|
|
2906
2923
|
value: function(a, o, n, s) {
|
|
2907
|
-
return a =
|
|
2924
|
+
return a = Ir(a, n, s), a.setUTCHours(0, 0, 0, 0), a;
|
|
2908
2925
|
}
|
|
2909
2926
|
}]), t;
|
|
2910
2927
|
}(D);
|
|
2911
|
-
function
|
|
2928
|
+
function Sd(i, e) {
|
|
2912
2929
|
F(2, arguments);
|
|
2913
2930
|
var t = ie(e);
|
|
2914
2931
|
t % 7 === 0 && (t = t - 7);
|
|
@@ -2916,8 +2933,8 @@ function Id(i, e) {
|
|
|
2916
2933
|
return a.setUTCDate(a.getUTCDate() + l), a;
|
|
2917
2934
|
}
|
|
2918
2935
|
var Ad = /* @__PURE__ */ function(i) {
|
|
2919
|
-
|
|
2920
|
-
var e =
|
|
2936
|
+
I(t, i);
|
|
2937
|
+
var e = S(t);
|
|
2921
2938
|
function t() {
|
|
2922
2939
|
var r;
|
|
2923
2940
|
x(this, t);
|
|
@@ -2988,12 +3005,12 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
2988
3005
|
}, {
|
|
2989
3006
|
key: "set",
|
|
2990
3007
|
value: function(a, o, n) {
|
|
2991
|
-
return a =
|
|
3008
|
+
return a = Sd(a, n), a.setUTCHours(0, 0, 0, 0), a;
|
|
2992
3009
|
}
|
|
2993
3010
|
}]), t;
|
|
2994
3011
|
}(D), Td = /* @__PURE__ */ function(i) {
|
|
2995
|
-
|
|
2996
|
-
var e =
|
|
3012
|
+
I(t, i);
|
|
3013
|
+
var e = S(t);
|
|
2997
3014
|
function t() {
|
|
2998
3015
|
var r;
|
|
2999
3016
|
x(this, t);
|
|
@@ -3041,8 +3058,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3041
3058
|
}
|
|
3042
3059
|
}]), t;
|
|
3043
3060
|
}(D), Pd = /* @__PURE__ */ function(i) {
|
|
3044
|
-
|
|
3045
|
-
var e =
|
|
3061
|
+
I(t, i);
|
|
3062
|
+
var e = S(t);
|
|
3046
3063
|
function t() {
|
|
3047
3064
|
var r;
|
|
3048
3065
|
x(this, t);
|
|
@@ -3090,8 +3107,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3090
3107
|
}
|
|
3091
3108
|
}]), t;
|
|
3092
3109
|
}(D), Dd = /* @__PURE__ */ function(i) {
|
|
3093
|
-
|
|
3094
|
-
var e =
|
|
3110
|
+
I(t, i);
|
|
3111
|
+
var e = S(t);
|
|
3095
3112
|
function t() {
|
|
3096
3113
|
var r;
|
|
3097
3114
|
x(this, t);
|
|
@@ -3139,8 +3156,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3139
3156
|
}
|
|
3140
3157
|
}]), t;
|
|
3141
3158
|
}(D), Od = /* @__PURE__ */ function(i) {
|
|
3142
|
-
|
|
3143
|
-
var e =
|
|
3159
|
+
I(t, i);
|
|
3160
|
+
var e = S(t);
|
|
3144
3161
|
function t() {
|
|
3145
3162
|
var r;
|
|
3146
3163
|
x(this, t);
|
|
@@ -3175,8 +3192,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3175
3192
|
}
|
|
3176
3193
|
}]), t;
|
|
3177
3194
|
}(D), Vd = /* @__PURE__ */ function(i) {
|
|
3178
|
-
|
|
3179
|
-
var e =
|
|
3195
|
+
I(t, i);
|
|
3196
|
+
var e = S(t);
|
|
3180
3197
|
function t() {
|
|
3181
3198
|
var r;
|
|
3182
3199
|
x(this, t);
|
|
@@ -3210,8 +3227,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3210
3227
|
}
|
|
3211
3228
|
}]), t;
|
|
3212
3229
|
}(D), Md = /* @__PURE__ */ function(i) {
|
|
3213
|
-
|
|
3214
|
-
var e =
|
|
3230
|
+
I(t, i);
|
|
3231
|
+
var e = S(t);
|
|
3215
3232
|
function t() {
|
|
3216
3233
|
var r;
|
|
3217
3234
|
x(this, t);
|
|
@@ -3246,8 +3263,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3246
3263
|
}
|
|
3247
3264
|
}]), t;
|
|
3248
3265
|
}(D), Nd = /* @__PURE__ */ function(i) {
|
|
3249
|
-
|
|
3250
|
-
var e =
|
|
3266
|
+
I(t, i);
|
|
3267
|
+
var e = S(t);
|
|
3251
3268
|
function t() {
|
|
3252
3269
|
var r;
|
|
3253
3270
|
x(this, t);
|
|
@@ -3282,8 +3299,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3282
3299
|
}
|
|
3283
3300
|
}]), t;
|
|
3284
3301
|
}(D), Ld = /* @__PURE__ */ function(i) {
|
|
3285
|
-
|
|
3286
|
-
var e =
|
|
3302
|
+
I(t, i);
|
|
3303
|
+
var e = S(t);
|
|
3287
3304
|
function t() {
|
|
3288
3305
|
var r;
|
|
3289
3306
|
x(this, t);
|
|
@@ -3317,8 +3334,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3317
3334
|
}
|
|
3318
3335
|
}]), t;
|
|
3319
3336
|
}(D), zd = /* @__PURE__ */ function(i) {
|
|
3320
|
-
|
|
3321
|
-
var e =
|
|
3337
|
+
I(t, i);
|
|
3338
|
+
var e = S(t);
|
|
3322
3339
|
function t() {
|
|
3323
3340
|
var r;
|
|
3324
3341
|
x(this, t);
|
|
@@ -3352,8 +3369,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3352
3369
|
}
|
|
3353
3370
|
}]), t;
|
|
3354
3371
|
}(D), Rd = /* @__PURE__ */ function(i) {
|
|
3355
|
-
|
|
3356
|
-
var e =
|
|
3372
|
+
I(t, i);
|
|
3373
|
+
var e = S(t);
|
|
3357
3374
|
function t() {
|
|
3358
3375
|
var r;
|
|
3359
3376
|
x(this, t);
|
|
@@ -3376,8 +3393,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3376
3393
|
}
|
|
3377
3394
|
}]), t;
|
|
3378
3395
|
}(D), Fd = /* @__PURE__ */ function(i) {
|
|
3379
|
-
|
|
3380
|
-
var e =
|
|
3396
|
+
I(t, i);
|
|
3397
|
+
var e = S(t);
|
|
3381
3398
|
function t() {
|
|
3382
3399
|
var r;
|
|
3383
3400
|
x(this, t);
|
|
@@ -3390,16 +3407,16 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3390
3407
|
value: function(a, o) {
|
|
3391
3408
|
switch (o) {
|
|
3392
3409
|
case "X":
|
|
3393
|
-
return me
|
|
3410
|
+
return fe(me.basicOptionalMinutes, a);
|
|
3394
3411
|
case "XX":
|
|
3395
|
-
return me
|
|
3412
|
+
return fe(me.basic, a);
|
|
3396
3413
|
case "XXXX":
|
|
3397
|
-
return me
|
|
3414
|
+
return fe(me.basicOptionalSeconds, a);
|
|
3398
3415
|
case "XXXXX":
|
|
3399
|
-
return me
|
|
3416
|
+
return fe(me.extendedOptionalSeconds, a);
|
|
3400
3417
|
case "XXX":
|
|
3401
3418
|
default:
|
|
3402
|
-
return me
|
|
3419
|
+
return fe(me.extended, a);
|
|
3403
3420
|
}
|
|
3404
3421
|
}
|
|
3405
3422
|
}, {
|
|
@@ -3409,8 +3426,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3409
3426
|
}
|
|
3410
3427
|
}]), t;
|
|
3411
3428
|
}(D), $d = /* @__PURE__ */ function(i) {
|
|
3412
|
-
|
|
3413
|
-
var e =
|
|
3429
|
+
I(t, i);
|
|
3430
|
+
var e = S(t);
|
|
3414
3431
|
function t() {
|
|
3415
3432
|
var r;
|
|
3416
3433
|
x(this, t);
|
|
@@ -3423,16 +3440,16 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3423
3440
|
value: function(a, o) {
|
|
3424
3441
|
switch (o) {
|
|
3425
3442
|
case "x":
|
|
3426
|
-
return me
|
|
3443
|
+
return fe(me.basicOptionalMinutes, a);
|
|
3427
3444
|
case "xx":
|
|
3428
|
-
return me
|
|
3445
|
+
return fe(me.basic, a);
|
|
3429
3446
|
case "xxxx":
|
|
3430
|
-
return me
|
|
3447
|
+
return fe(me.basicOptionalSeconds, a);
|
|
3431
3448
|
case "xxxxx":
|
|
3432
|
-
return me
|
|
3449
|
+
return fe(me.extendedOptionalSeconds, a);
|
|
3433
3450
|
case "xxx":
|
|
3434
3451
|
default:
|
|
3435
|
-
return me
|
|
3452
|
+
return fe(me.extended, a);
|
|
3436
3453
|
}
|
|
3437
3454
|
}
|
|
3438
3455
|
}, {
|
|
@@ -3442,8 +3459,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3442
3459
|
}
|
|
3443
3460
|
}]), t;
|
|
3444
3461
|
}(D), Hd = /* @__PURE__ */ function(i) {
|
|
3445
|
-
|
|
3446
|
-
var e =
|
|
3462
|
+
I(t, i);
|
|
3463
|
+
var e = S(t);
|
|
3447
3464
|
function t() {
|
|
3448
3465
|
var r;
|
|
3449
3466
|
x(this, t);
|
|
@@ -3465,8 +3482,8 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3465
3482
|
}
|
|
3466
3483
|
}]), t;
|
|
3467
3484
|
}(D), Bd = /* @__PURE__ */ function(i) {
|
|
3468
|
-
|
|
3469
|
-
var e =
|
|
3485
|
+
I(t, i);
|
|
3486
|
+
var e = S(t);
|
|
3470
3487
|
function t() {
|
|
3471
3488
|
var r;
|
|
3472
3489
|
x(this, t);
|
|
@@ -3503,7 +3520,7 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3503
3520
|
D: new Cd(),
|
|
3504
3521
|
E: new kd(),
|
|
3505
3522
|
e: new Ed(),
|
|
3506
|
-
c: new
|
|
3523
|
+
c: new Id(),
|
|
3507
3524
|
i: new Ad(),
|
|
3508
3525
|
a: new Td(),
|
|
3509
3526
|
b: new Pd(),
|
|
@@ -3520,14 +3537,14 @@ var Ad = /* @__PURE__ */ function(i) {
|
|
|
3520
3537
|
t: new Hd(),
|
|
3521
3538
|
T: new Bd()
|
|
3522
3539
|
}, qd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, jd = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Wd = /^'([^]*?)'?$/, Yd = /''/g, Gd = /\S/, Kd = /[a-zA-Z]/;
|
|
3523
|
-
function
|
|
3540
|
+
function Ve(i, e, t, r) {
|
|
3524
3541
|
var a, o, n, s, l, d, h, c, p, m, y, L, O, V;
|
|
3525
3542
|
F(3, arguments);
|
|
3526
|
-
var A = String(i), j = String(e), W = it(),
|
|
3527
|
-
if (!
|
|
3543
|
+
var A = String(i), j = String(e), W = it(), ce = (a = (o = void 0) !== null && o !== void 0 ? o : W.locale) !== null && a !== void 0 ? a : Ro;
|
|
3544
|
+
if (!ce.match)
|
|
3528
3545
|
throw new RangeError("locale must contain match property");
|
|
3529
|
-
var
|
|
3530
|
-
if (!(
|
|
3546
|
+
var Ce = ie((n = (s = (l = (d = void 0) !== null && d !== void 0 ? d : void 0) !== null && l !== void 0 ? l : W.firstWeekContainsDate) !== null && s !== void 0 ? s : (h = W.locale) === null || h === void 0 || (c = h.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
|
|
3547
|
+
if (!(Ce >= 1 && Ce <= 7))
|
|
3531
3548
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
3532
3549
|
var nt = ie((p = (m = (y = (L = void 0) !== null && L !== void 0 ? L : void 0) !== null && y !== void 0 ? y : W.weekStartsOn) !== null && m !== void 0 ? m : (O = W.locale) === null || O === void 0 || (V = O.options) === null || V === void 0 ? void 0 : V.weekStartsOn) !== null && p !== void 0 ? p : 0);
|
|
3533
3550
|
if (!(nt >= 0 && nt <= 6))
|
|
@@ -3535,20 +3552,20 @@ function Oe(i, e, t, r) {
|
|
|
3535
3552
|
if (j === "")
|
|
3536
3553
|
return A === "" ? q(t) : /* @__PURE__ */ new Date(NaN);
|
|
3537
3554
|
var st = {
|
|
3538
|
-
firstWeekContainsDate:
|
|
3555
|
+
firstWeekContainsDate: Ce,
|
|
3539
3556
|
weekStartsOn: nt,
|
|
3540
|
-
locale:
|
|
3557
|
+
locale: ce
|
|
3541
3558
|
}, lt = [new rd()], Oi = j.match(jd).map(function(Y) {
|
|
3542
3559
|
var z = Y[0];
|
|
3543
3560
|
if (z in Qi) {
|
|
3544
3561
|
var le = Qi[z];
|
|
3545
|
-
return le(Y,
|
|
3562
|
+
return le(Y, ce.formatLong);
|
|
3546
3563
|
}
|
|
3547
3564
|
return Y;
|
|
3548
|
-
}).join("").match(qd), K = [], re = ka(Oi),
|
|
3565
|
+
}).join("").match(qd), K = [], re = ka(Oi), Pe;
|
|
3549
3566
|
try {
|
|
3550
3567
|
var Vs = function() {
|
|
3551
|
-
var z =
|
|
3568
|
+
var z = Pe.value;
|
|
3552
3569
|
!(r != null && r.useAdditionalWeekYearTokens) && zo(z) && ri(z, j, i), !(r != null && r.useAdditionalDayOfYearTokens) && Lo(z) && ri(z, j, i);
|
|
3553
3570
|
var le = z[0], jt = Ud[le];
|
|
3554
3571
|
if (jt) {
|
|
@@ -3565,7 +3582,7 @@ function Oe(i, e, t, r) {
|
|
|
3565
3582
|
token: le,
|
|
3566
3583
|
fullToken: z
|
|
3567
3584
|
});
|
|
3568
|
-
var Mi = jt.run(A, z,
|
|
3585
|
+
var Mi = jt.run(A, z, ce.match, st);
|
|
3569
3586
|
if (!Mi)
|
|
3570
3587
|
return {
|
|
3571
3588
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -3582,9 +3599,9 @@ function Oe(i, e, t, r) {
|
|
|
3582
3599
|
};
|
|
3583
3600
|
}
|
|
3584
3601
|
};
|
|
3585
|
-
for (re.s(); !(
|
|
3602
|
+
for (re.s(); !(Pe = re.n()).done; ) {
|
|
3586
3603
|
var ca = Vs();
|
|
3587
|
-
if (
|
|
3604
|
+
if (we(ca) === "object")
|
|
3588
3605
|
return ca.v;
|
|
3589
3606
|
}
|
|
3590
3607
|
} catch (Y) {
|
|
@@ -3635,13 +3652,13 @@ function Ea(i, e) {
|
|
|
3635
3652
|
var t = q(i), r = q(e);
|
|
3636
3653
|
return t.getTime() > r.getTime();
|
|
3637
3654
|
}
|
|
3638
|
-
function
|
|
3655
|
+
function Ia(i, e) {
|
|
3639
3656
|
F(2, arguments);
|
|
3640
3657
|
var t = q(i), r = q(e);
|
|
3641
3658
|
return t.getTime() < r.getTime();
|
|
3642
3659
|
}
|
|
3643
|
-
function
|
|
3644
|
-
return F(2, arguments), To(
|
|
3660
|
+
function Sa(i, e, t) {
|
|
3661
|
+
return F(2, arguments), To(Ve(i, e, /* @__PURE__ */ new Date(), t));
|
|
3645
3662
|
}
|
|
3646
3663
|
const Qd = '*,*::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, #22B04E));margin-left:2px}.date__manual-mode::part(toggle-button){display:none}.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, #22B04E))}.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:var(--emw--color-error, var(--emw--color-red, #ed0909))}.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}', Jd = Qd, Zd = class {
|
|
3647
3664
|
constructor(i) {
|
|
@@ -3649,7 +3666,7 @@ const Qd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3649
3666
|
const { year: t, month: r, day: a } = e, o = new Date(t, r, a);
|
|
3650
3667
|
return xa(o, this.dateFormat);
|
|
3651
3668
|
}, this.parseDate = (e) => {
|
|
3652
|
-
const t =
|
|
3669
|
+
const t = Ve(e, this.dateFormat, /* @__PURE__ */ new Date());
|
|
3653
3670
|
return { year: t.getFullYear(), month: t.getMonth(), day: t.getDate() };
|
|
3654
3671
|
}, this.setClientStyling = () => {
|
|
3655
3672
|
let e = document.createElement("style");
|
|
@@ -3658,13 +3675,13 @@ const Qd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3658
3675
|
if (this.name !== Q.BIRTHDATE)
|
|
3659
3676
|
return;
|
|
3660
3677
|
const t = e.detail;
|
|
3661
|
-
this.value = t, this.valueAsDate =
|
|
3678
|
+
this.value = t, this.valueAsDate = Ve(this.value || "", Q.DATE_FORMAT, /* @__PURE__ */ new Date()), this.touched = !0, this.datePicker && (this.datePicker.value = this.value), this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.valueHandler({ name: this.name, value: this.value });
|
|
3662
3679
|
}, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.dateFormat = "yyyy-MM-dd", this.emitOnClick = !1, this.enableSouthAfricanMode = void 0, this.enableManualDateInput = !1, this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
|
|
3663
3680
|
}
|
|
3664
3681
|
get formattedValue() {
|
|
3665
3682
|
if (!this.value)
|
|
3666
3683
|
return "";
|
|
3667
|
-
const i =
|
|
3684
|
+
const i = Ve(this.value, "yyyy-MM-dd", /* @__PURE__ */ new Date());
|
|
3668
3685
|
return xa(i, this.dateFormat);
|
|
3669
3686
|
}
|
|
3670
3687
|
handleStylingChange(i, e) {
|
|
@@ -3691,7 +3708,7 @@ const Qd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3691
3708
|
}
|
|
3692
3709
|
connectedCallback() {
|
|
3693
3710
|
var i, e;
|
|
3694
|
-
this.minDate =
|
|
3711
|
+
this.minDate = Ve(((i = this.validation.min) === null || i === void 0 ? void 0 : i.toString()) || "", "yyyy-MM-dd", /* @__PURE__ */ new Date()), this.maxDate = Ve(((e = this.validation.max) === null || e === void 0 ? void 0 : e.toString()) || "", "yyyy-MM-dd", /* @__PURE__ */ new Date());
|
|
3695
3712
|
}
|
|
3696
3713
|
componentDidRender() {
|
|
3697
3714
|
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
|
|
@@ -3712,7 +3729,7 @@ const Qd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3712
3729
|
this.datePicker.opened && this.emitOnClick && window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
|
|
3713
3730
|
}
|
|
3714
3731
|
handleInput(i) {
|
|
3715
|
-
this.value = i.target.value, this.touched = !0, this.valueAsDate =
|
|
3732
|
+
this.value = i.target.value, this.touched = !0, this.valueAsDate = Ve(this.value || "", "yyyy-MM-dd", /* @__PURE__ */ new Date()), this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0), this.enableSouthAfricanMode && window.dispatchEvent(new CustomEvent("birthDateUpdated", {
|
|
3716
3733
|
detail: { birthDate: this.value }
|
|
3717
3734
|
}));
|
|
3718
3735
|
}
|
|
@@ -3720,16 +3737,16 @@ const Qd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3720
3737
|
this.touched = !0, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage();
|
|
3721
3738
|
}
|
|
3722
3739
|
setValidity() {
|
|
3723
|
-
return
|
|
3740
|
+
return Ia(this.valueAsDate, this.minDate) || Ea(this.valueAsDate, this.maxDate) || !Sa(this.formattedValue, this.dateFormat) ? !1 : this.inputReference.validity.valid;
|
|
3724
3741
|
}
|
|
3725
3742
|
setErrorMessage() {
|
|
3726
3743
|
if (this.inputReference.validity.valueMissing)
|
|
3727
3744
|
return b("requiredError", this.language);
|
|
3728
3745
|
if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow)
|
|
3729
3746
|
return b("dateError", this.language, { values: { min: this.validation.min, max: this.validation.max } });
|
|
3730
|
-
if (
|
|
3747
|
+
if (Ia(this.valueAsDate, this.minDate) || Ea(this.valueAsDate, this.maxDate))
|
|
3731
3748
|
return b("dateError2", this.language);
|
|
3732
|
-
if (!
|
|
3749
|
+
if (!Sa(this.formattedValue, this.dateFormat))
|
|
3733
3750
|
return b("dateFormatError", this.language);
|
|
3734
3751
|
}
|
|
3735
3752
|
renderTooltip() {
|
|
@@ -3737,7 +3754,7 @@ const Qd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3737
3754
|
}
|
|
3738
3755
|
render() {
|
|
3739
3756
|
let i = "";
|
|
3740
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "b8f91a203d028d6effe0cb976465756841453300", class: `date__wrapper ${this.autofilled ? "date__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("label", { key: "e5d9bda31742bec5c4e24e390941688fd4eeb239", class: `date__label ${this.validation.mandatory ? "date__label--required" : ""}}`, htmlFor: `${this.name}__input` }, this.displayName, u("span", { key: "8055cfcb8ed54eea9f7b4f7c3719267aa258fc78", class: this.validation.mandatory ? "date__label--required" : "" })), u("vaadin-date-picker", { key: "a2bd1e51e96308d02ee0462ff681a818d008399f", id: `${this.name}__input`, type: "date", class: `date__input ${i} ${this.enableManualDateInput && "date__manual-mode"}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onValidated: () => this.handleValidated(), autoOpenDisabled: this.enableManualDateInput }), u("small", { key: "6f7e5bead37a71932d678be3dc9ff36170871289", class: "date__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "c67702d9aa5ee40666c772bc9612007fdd69af80", class: "date__tooltip-icon", src:
|
|
3757
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "b8f91a203d028d6effe0cb976465756841453300", class: `date__wrapper ${this.autofilled ? "date__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("label", { key: "e5d9bda31742bec5c4e24e390941688fd4eeb239", class: `date__label ${this.validation.mandatory ? "date__label--required" : ""}}`, htmlFor: `${this.name}__input` }, this.displayName, u("span", { key: "8055cfcb8ed54eea9f7b4f7c3719267aa258fc78", class: this.validation.mandatory ? "date__label--required" : "" })), u("vaadin-date-picker", { key: "a2bd1e51e96308d02ee0462ff681a818d008399f", id: `${this.name}__input`, type: "date", class: `date__input ${i} ${this.enableManualDateInput && "date__manual-mode"}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onValidated: () => this.handleValidated(), autoOpenDisabled: this.enableManualDateInput }), u("small", { key: "6f7e5bead37a71932d678be3dc9ff36170871289", class: "date__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "c67702d9aa5ee40666c772bc9612007fdd69af80", class: "date__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
3741
3758
|
}
|
|
3742
3759
|
get element() {
|
|
3743
3760
|
return Mt(this);
|
|
@@ -3824,7 +3841,7 @@ const eh = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3824
3841
|
}
|
|
3825
3842
|
render() {
|
|
3826
3843
|
let i = "";
|
|
3827
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "723df8f3a6e8c57fe19082400971daf50f5c981d", class: `email__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "581d6e02b63d1c659ae44424518f64db450d5365", class: "email__wrapper--flex" }, u("label", { key: "11e6a848f6f04903989b3ab2075865f6e279c087", class: `email__label ${this.validation.mandatory ? "email__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "73e11520cffbddda1a2aeb4b560e7f4cf456e2fb", class: "email__wrapper--relative" }, this.tooltip && u("img", { key: "e8571ce14b9b98311daf1712ebde7d6da9b5a6a6", class: "email__tooltip-icon", src:
|
|
3844
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "723df8f3a6e8c57fe19082400971daf50f5c981d", class: `email__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "581d6e02b63d1c659ae44424518f64db450d5365", class: "email__wrapper--flex" }, u("label", { key: "11e6a848f6f04903989b3ab2075865f6e279c087", class: `email__label ${this.validation.mandatory ? "email__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "73e11520cffbddda1a2aeb4b560e7f4cf456e2fb", class: "email__wrapper--relative" }, this.tooltip && u("img", { key: "e8571ce14b9b98311daf1712ebde7d6da9b5a6a6", class: "email__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "dd05ef0b4d906598c6d5775a78ccbdc9ea81cb8c", id: `${this.name}__input`, type: "email", class: `email__input ${i}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (e) => this.inputReference = e, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "0d2d41207f8274d8c6f69143131265ef5b458689", class: "email__error-message" }, this.errorMessage));
|
|
3828
3845
|
}
|
|
3829
3846
|
static get watchers() {
|
|
3830
3847
|
return {
|
|
@@ -3891,7 +3908,7 @@ w(lh);
|
|
|
3891
3908
|
* Copyright 2019 Google LLC
|
|
3892
3909
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3893
3910
|
*/
|
|
3894
|
-
const ei = globalThis,
|
|
3911
|
+
const ei = globalThis, Sr = ei.ShadowRoot && (ei.ShadyCSS === void 0 || ei.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ar = Symbol(), Ta = /* @__PURE__ */ new WeakMap();
|
|
3895
3912
|
let Tr = class {
|
|
3896
3913
|
constructor(i, e, t) {
|
|
3897
3914
|
if (this._$cssResult$ = !0, t !== Ar)
|
|
@@ -3901,7 +3918,7 @@ let Tr = class {
|
|
|
3901
3918
|
get styleSheet() {
|
|
3902
3919
|
let i = this.o;
|
|
3903
3920
|
const e = this.t;
|
|
3904
|
-
if (
|
|
3921
|
+
if (Sr && i === void 0) {
|
|
3905
3922
|
const t = e !== void 0 && e.length === 1;
|
|
3906
3923
|
t && (i = Ta.get(e)), i === void 0 && ((this.o = i = new CSSStyleSheet()).replaceSync(this.cssText), t && Ta.set(e, i));
|
|
3907
3924
|
}
|
|
@@ -3921,14 +3938,14 @@ const dh = (i) => new Tr(typeof i == "string" ? i : i + "", void 0, Ar), f = (i,
|
|
|
3921
3938
|
})(a) + i[o + 1], i[0]);
|
|
3922
3939
|
return new Tr(t, i, Ar);
|
|
3923
3940
|
}, Wo = (i, e) => {
|
|
3924
|
-
if (
|
|
3941
|
+
if (Sr)
|
|
3925
3942
|
i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
3926
3943
|
else
|
|
3927
3944
|
for (const t of e) {
|
|
3928
3945
|
const r = document.createElement("style"), a = ei.litNonce;
|
|
3929
3946
|
a !== void 0 && r.setAttribute("nonce", a), r.textContent = t.cssText, i.appendChild(r);
|
|
3930
3947
|
}
|
|
3931
|
-
}, Pa =
|
|
3948
|
+
}, Pa = Sr ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
|
3932
3949
|
let t = "";
|
|
3933
3950
|
for (const r of e.cssRules)
|
|
3934
3951
|
t += r.cssText;
|
|
@@ -4198,9 +4215,9 @@ je.elementStyles = [], je.shadowRootOptions = { mode: "open" }, je[yt("elementPr
|
|
|
4198
4215
|
* Copyright 2017 Google LLC
|
|
4199
4216
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4200
4217
|
*/
|
|
4201
|
-
const li = globalThis, Na = (i) => i, di = li.trustedTypes, La = di ? di.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Go = "$lit$",
|
|
4202
|
-
\f\r]`, ut = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, za = /-->/g, Ra = />/g,
|
|
4203
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Fa = /'/g, $a = /"/g, Xo = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), G = Symbol.for("lit-nothing"), Ha = /* @__PURE__ */ new WeakMap(),
|
|
4218
|
+
const li = globalThis, Na = (i) => i, di = li.trustedTypes, La = di ? di.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Go = "$lit$", Ie = `lit$${Math.random().toFixed(9).slice(2)}$`, Ko = "?" + Ie, _h = `<${Ko}>`, Re = document, xt = () => Re.createComment(""), Ct = (i) => i === null || typeof i != "object" && typeof i != "function", Pr = Array.isArray, gh = (i) => Pr(i) || typeof i?.[Symbol.iterator] == "function", Li = `[
|
|
4219
|
+
\f\r]`, ut = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, za = /-->/g, Ra = />/g, De = RegExp(`>|${Li}(?:([^\\s"'>=/]+)(${Li}*=${Li}*(?:[^
|
|
4220
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Fa = /'/g, $a = /"/g, Xo = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), G = Symbol.for("lit-nothing"), Ha = /* @__PURE__ */ new WeakMap(), Me = Re.createTreeWalker(Re, 129);
|
|
4204
4221
|
function Qo(i, e) {
|
|
4205
4222
|
if (!Pr(i) || !i.hasOwnProperty("raw"))
|
|
4206
4223
|
throw Error("invalid template strings array");
|
|
@@ -4213,9 +4230,9 @@ const bh = (i, e) => {
|
|
|
4213
4230
|
const l = i[s];
|
|
4214
4231
|
let d, h, c = -1, p = 0;
|
|
4215
4232
|
for (; p < l.length && (n.lastIndex = p, h = n.exec(l), h !== null); )
|
|
4216
|
-
p = n.lastIndex, n === ut ? h[1] === "!--" ? n = za : h[1] !== void 0 ? n = Ra : h[2] !== void 0 ? (Xo.test(h[2]) && (a = RegExp("</" + h[2], "g")), n =
|
|
4217
|
-
const m = n ===
|
|
4218
|
-
o += n === ut ? l + _h : c >= 0 ? (r.push(d), l.slice(0, c) + Go + l.slice(c) +
|
|
4233
|
+
p = n.lastIndex, n === ut ? h[1] === "!--" ? n = za : h[1] !== void 0 ? n = Ra : h[2] !== void 0 ? (Xo.test(h[2]) && (a = RegExp("</" + h[2], "g")), n = De) : h[3] !== void 0 && (n = De) : n === De ? h[0] === ">" ? (n = a ?? ut, c = -1) : h[1] === void 0 ? c = -2 : (c = n.lastIndex - h[2].length, d = h[1], n = h[3] === void 0 ? De : h[3] === '"' ? $a : Fa) : n === $a || n === Fa ? n = De : n === za || n === Ra ? n = ut : (n = De, a = void 0);
|
|
4234
|
+
const m = n === De && i[s + 1].startsWith("/>") ? " " : "";
|
|
4235
|
+
o += n === ut ? l + _h : c >= 0 ? (r.push(d), l.slice(0, c) + Go + l.slice(c) + Ie + m) : l + Ie + (c === -2 ? s : m);
|
|
4219
4236
|
}
|
|
4220
4237
|
return [Qo(i, o + (i[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
|
|
4221
4238
|
};
|
|
@@ -4225,25 +4242,25 @@ class kt {
|
|
|
4225
4242
|
this.parts = [];
|
|
4226
4243
|
let o = 0, n = 0;
|
|
4227
4244
|
const s = e.length - 1, l = this.parts, [d, h] = bh(e, t);
|
|
4228
|
-
if (this.el = kt.createElement(d, r),
|
|
4245
|
+
if (this.el = kt.createElement(d, r), Me.currentNode = this.el.content, t === 2 || t === 3) {
|
|
4229
4246
|
const c = this.el.content.firstChild;
|
|
4230
4247
|
c.replaceWith(...c.childNodes);
|
|
4231
4248
|
}
|
|
4232
|
-
for (; (a =
|
|
4249
|
+
for (; (a = Me.nextNode()) !== null && l.length < s; ) {
|
|
4233
4250
|
if (a.nodeType === 1) {
|
|
4234
4251
|
if (a.hasAttributes())
|
|
4235
4252
|
for (const c of a.getAttributeNames())
|
|
4236
4253
|
if (c.endsWith(Go)) {
|
|
4237
|
-
const p = h[n++], m = a.getAttribute(c).split(
|
|
4254
|
+
const p = h[n++], m = a.getAttribute(c).split(Ie), y = /([.?@])?(.*)/.exec(p);
|
|
4238
4255
|
l.push({ type: 1, index: o, name: y[2], strings: m, ctor: y[1] === "." ? wh : y[1] === "?" ? xh : y[1] === "@" ? Ch : bi }), a.removeAttribute(c);
|
|
4239
4256
|
} else
|
|
4240
|
-
c.startsWith(
|
|
4257
|
+
c.startsWith(Ie) && (l.push({ type: 6, index: o }), a.removeAttribute(c));
|
|
4241
4258
|
if (Xo.test(a.tagName)) {
|
|
4242
|
-
const c = a.textContent.split(
|
|
4259
|
+
const c = a.textContent.split(Ie), p = c.length - 1;
|
|
4243
4260
|
if (p > 0) {
|
|
4244
4261
|
a.textContent = di ? di.emptyScript : "";
|
|
4245
4262
|
for (let m = 0; m < p; m++)
|
|
4246
|
-
a.append(c[m], xt()),
|
|
4263
|
+
a.append(c[m], xt()), Me.nextNode(), l.push({ type: 2, index: ++o });
|
|
4247
4264
|
a.append(c[p], xt());
|
|
4248
4265
|
}
|
|
4249
4266
|
}
|
|
@@ -4252,14 +4269,14 @@ class kt {
|
|
|
4252
4269
|
l.push({ type: 2, index: o });
|
|
4253
4270
|
else {
|
|
4254
4271
|
let c = -1;
|
|
4255
|
-
for (; (c = a.data.indexOf(
|
|
4256
|
-
l.push({ type: 7, index: o }), c +=
|
|
4272
|
+
for (; (c = a.data.indexOf(Ie, c + 1)) !== -1; )
|
|
4273
|
+
l.push({ type: 7, index: o }), c += Ie.length - 1;
|
|
4257
4274
|
}
|
|
4258
4275
|
o++;
|
|
4259
4276
|
}
|
|
4260
4277
|
}
|
|
4261
4278
|
static createElement(e, t) {
|
|
4262
|
-
const r =
|
|
4279
|
+
const r = Re.createElement("template");
|
|
4263
4280
|
return r.innerHTML = e, r;
|
|
4264
4281
|
}
|
|
4265
4282
|
}
|
|
@@ -4283,17 +4300,17 @@ class yh {
|
|
|
4283
4300
|
}
|
|
4284
4301
|
u(e) {
|
|
4285
4302
|
var t;
|
|
4286
|
-
const { el: { content: r }, parts: a } = this._$AD, o = ((t = e?.creationScope) != null ? t :
|
|
4287
|
-
|
|
4288
|
-
let n =
|
|
4303
|
+
const { el: { content: r }, parts: a } = this._$AD, o = ((t = e?.creationScope) != null ? t : Re).importNode(r, !0);
|
|
4304
|
+
Me.currentNode = o;
|
|
4305
|
+
let n = Me.nextNode(), s = 0, l = 0, d = a[0];
|
|
4289
4306
|
for (; d !== void 0; ) {
|
|
4290
4307
|
if (s === d.index) {
|
|
4291
4308
|
let h;
|
|
4292
4309
|
d.type === 2 ? h = new Nt(n, n.nextSibling, this, e) : d.type === 1 ? h = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (h = new kh(n, this, e)), this._$AV.push(h), d = a[++l];
|
|
4293
4310
|
}
|
|
4294
|
-
s !== d?.index && (n =
|
|
4311
|
+
s !== d?.index && (n = Me.nextNode(), s++);
|
|
4295
4312
|
}
|
|
4296
|
-
return
|
|
4313
|
+
return Me.currentNode = Re, o;
|
|
4297
4314
|
}
|
|
4298
4315
|
p(e) {
|
|
4299
4316
|
let t = 0;
|
|
@@ -4331,7 +4348,7 @@ class Nt {
|
|
|
4331
4348
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
4332
4349
|
}
|
|
4333
4350
|
_(e) {
|
|
4334
|
-
this._$AH !== G && Ct(this._$AH) ? this._$AA.nextSibling.data = e : this.T(
|
|
4351
|
+
this._$AH !== G && Ct(this._$AH) ? this._$AA.nextSibling.data = e : this.T(Re.createTextNode(e)), this._$AH = e;
|
|
4335
4352
|
}
|
|
4336
4353
|
$(e) {
|
|
4337
4354
|
var t;
|
|
@@ -4515,7 +4532,7 @@ function en(i) {
|
|
|
4515
4532
|
function Eh(i) {
|
|
4516
4533
|
return en(customElements.get(i));
|
|
4517
4534
|
}
|
|
4518
|
-
function
|
|
4535
|
+
function Ih(i = []) {
|
|
4519
4536
|
return [i].flat(1 / 0).filter((e) => e instanceof Tr ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
4520
4537
|
}
|
|
4521
4538
|
function tn(i, e) {
|
|
@@ -4526,7 +4543,7 @@ function rn(i) {
|
|
|
4526
4543
|
`);
|
|
4527
4544
|
}
|
|
4528
4545
|
const hi = "vaadin-themable-mixin-style";
|
|
4529
|
-
function
|
|
4546
|
+
function Sh(i, e) {
|
|
4530
4547
|
const t = document.createElement("style");
|
|
4531
4548
|
t.id = hi, t.textContent = rn(i), e.content.appendChild(t);
|
|
4532
4549
|
}
|
|
@@ -4564,7 +4581,7 @@ function Ph(i, e) {
|
|
|
4564
4581
|
return !t || !e ? !1 : t.some((r) => r.styles.some((a) => e.some((o) => o.cssText === a.cssText)));
|
|
4565
4582
|
}
|
|
4566
4583
|
function g(i, e, t = {}) {
|
|
4567
|
-
e =
|
|
4584
|
+
e = Ih(e), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, e, t) : Zo.push({ themeFor: i, styles: e, include: t.include, moduleId: t.moduleId }), i && Dr.forEach((r) => {
|
|
4568
4585
|
if (tn(i, r) && Eh(r)) {
|
|
4569
4586
|
const a = customElements.get(r);
|
|
4570
4587
|
Ph(a, e) ? console.warn(`Registering styles that already exist for ${r}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(`The custom element definition for "${r}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`), an(a), Th(a);
|
|
@@ -4597,7 +4614,7 @@ const N = (i) => class extends yi(i) {
|
|
|
4597
4614
|
if (super.finalize(), this.is && Dr.add(this.is), this.elementStyles)
|
|
4598
4615
|
return;
|
|
4599
4616
|
const e = this.prototype._template;
|
|
4600
|
-
!e || en(this) ||
|
|
4617
|
+
!e || en(this) || Sh(this.getStylesForThis(), e);
|
|
4601
4618
|
}
|
|
4602
4619
|
static finalizeStyles(e) {
|
|
4603
4620
|
const t = this.getStylesForThis();
|
|
@@ -5595,7 +5612,7 @@ function Xa(i) {
|
|
|
5595
5612
|
function Jh(i) {
|
|
5596
5613
|
i.querySelector("style") && console.warn("dom-module %s has style outside template", i.id);
|
|
5597
5614
|
}
|
|
5598
|
-
class
|
|
5615
|
+
class It extends HTMLElement {
|
|
5599
5616
|
static get observedAttributes() {
|
|
5600
5617
|
return ["id"];
|
|
5601
5618
|
}
|
|
@@ -5624,8 +5641,8 @@ class St extends HTMLElement {
|
|
|
5624
5641
|
}
|
|
5625
5642
|
}
|
|
5626
5643
|
}
|
|
5627
|
-
|
|
5628
|
-
customElements.define("dom-module",
|
|
5644
|
+
It.prototype.modules = Mr;
|
|
5645
|
+
customElements.define("dom-module", It);
|
|
5629
5646
|
/**
|
|
5630
5647
|
@license
|
|
5631
5648
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -5637,7 +5654,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
5637
5654
|
*/
|
|
5638
5655
|
const Zh = "link[rel=import][type~=css]", ec = "include", Qa = "shady-unscoped";
|
|
5639
5656
|
function hn(i) {
|
|
5640
|
-
return
|
|
5657
|
+
return It.import(i);
|
|
5641
5658
|
}
|
|
5642
5659
|
function Ja(i) {
|
|
5643
5660
|
let e = i.body ? i.body : i;
|
|
@@ -5717,21 +5734,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
5717
5734
|
function ar(i) {
|
|
5718
5735
|
return i.indexOf(".") >= 0;
|
|
5719
5736
|
}
|
|
5720
|
-
function
|
|
5737
|
+
function Fe(i) {
|
|
5721
5738
|
let e = i.indexOf(".");
|
|
5722
5739
|
return e === -1 ? i : i.slice(0, e);
|
|
5723
5740
|
}
|
|
5724
5741
|
function pn(i, e) {
|
|
5725
5742
|
return i.indexOf(e + ".") === 0;
|
|
5726
5743
|
}
|
|
5727
|
-
function
|
|
5744
|
+
function St(i, e) {
|
|
5728
5745
|
return e.indexOf(i + ".") === 0;
|
|
5729
5746
|
}
|
|
5730
5747
|
function At(i, e, t) {
|
|
5731
5748
|
return e + t.slice(i.length);
|
|
5732
5749
|
}
|
|
5733
5750
|
function ac(i, e) {
|
|
5734
|
-
return i === e || pn(i, e) ||
|
|
5751
|
+
return i === e || pn(i, e) || St(i, e);
|
|
5735
5752
|
}
|
|
5736
5753
|
function _t(i) {
|
|
5737
5754
|
if (Array.isArray(i)) {
|
|
@@ -6231,7 +6248,7 @@ function gt(i, e, t, r, a, o) {
|
|
|
6231
6248
|
let n = !1;
|
|
6232
6249
|
const s = Tt++;
|
|
6233
6250
|
for (let l in t) {
|
|
6234
|
-
let d = a ?
|
|
6251
|
+
let d = a ? Fe(l) : l, h = e[d];
|
|
6235
6252
|
if (h)
|
|
6236
6253
|
for (let c = 0, p = h.length, m; c < p && (m = h[c]); c++)
|
|
6237
6254
|
(!m.info || m.info.lastRun !== s) && (!a || Nr(l, m.trigger)) && (m.info && (m.info.lastRun = s), m.fn(i, l, t, r, m.info, a, o), n = !0);
|
|
@@ -6240,8 +6257,8 @@ function gt(i, e, t, r, a, o) {
|
|
|
6240
6257
|
}
|
|
6241
6258
|
return !1;
|
|
6242
6259
|
}
|
|
6243
|
-
function
|
|
6244
|
-
let l = !1, d = n ?
|
|
6260
|
+
function Ic(i, e, t, r, a, o, n, s) {
|
|
6261
|
+
let l = !1, d = n ? Fe(r) : r, h = e[d];
|
|
6245
6262
|
if (h)
|
|
6246
6263
|
for (let c = 0, p = h.length, m; c < p && (m = h[c]); c++)
|
|
6247
6264
|
(!m.info || m.info.lastRun !== t) && (!n || Nr(r, m.trigger)) && (m.info && (m.info.lastRun = t), m.fn(i, r, a, o, m.info, n, s), l = !0);
|
|
@@ -6250,7 +6267,7 @@ function Sc(i, e, t, r, a, o, n, s) {
|
|
|
6250
6267
|
function Nr(i, e) {
|
|
6251
6268
|
if (e) {
|
|
6252
6269
|
let t = e.name;
|
|
6253
|
-
return t == i || !!(e.structured && pn(t, i)) || !!(e.wildcard &&
|
|
6270
|
+
return t == i || !!(e.structured && pn(t, i)) || !!(e.wildcard && St(t, i));
|
|
6254
6271
|
} else
|
|
6255
6272
|
return !0;
|
|
6256
6273
|
}
|
|
@@ -6258,15 +6275,15 @@ function io(i, e, t, r, a) {
|
|
|
6258
6275
|
let o = typeof a.method == "string" ? i[a.method] : a.method, n = a.property;
|
|
6259
6276
|
o ? o.call(i, i.__data[n], r[n]) : a.dynamicFn || console.warn("observer method `" + a.method + "` not defined");
|
|
6260
6277
|
}
|
|
6261
|
-
function
|
|
6278
|
+
function Sc(i, e, t, r, a) {
|
|
6262
6279
|
let o = i[T.NOTIFY], n, s = Tt++;
|
|
6263
6280
|
for (let d in e)
|
|
6264
|
-
e[d] && (o &&
|
|
6281
|
+
e[d] && (o && Ic(i, o, s, d, t, r, a) || a && Ac(i, d, t)) && (n = !0);
|
|
6265
6282
|
let l;
|
|
6266
6283
|
n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
6267
6284
|
}
|
|
6268
6285
|
function Ac(i, e, t) {
|
|
6269
|
-
let r =
|
|
6286
|
+
let r = Fe(e);
|
|
6270
6287
|
if (r !== e) {
|
|
6271
6288
|
let a = wi(r) + "-changed";
|
|
6272
6289
|
return Cn(i, a, t[e], e), !0;
|
|
@@ -6278,7 +6295,7 @@ function Cn(i, e, t, r) {
|
|
|
6278
6295
|
r && (a.path = r), X(i).dispatchEvent(new CustomEvent(e, { detail: a }));
|
|
6279
6296
|
}
|
|
6280
6297
|
function Tc(i, e, t, r, a, o) {
|
|
6281
|
-
let n = (o ?
|
|
6298
|
+
let n = (o ? Fe(e) : e) != e ? e : null, s = n ? te(i, n) : i.__data[e];
|
|
6282
6299
|
n && s === void 0 && (s = t[e]), Cn(i, a.eventName, s, n);
|
|
6283
6300
|
}
|
|
6284
6301
|
function Pc(i, e, t, r, a) {
|
|
@@ -6322,7 +6339,7 @@ const Vc = (i, e, t) => {
|
|
|
6322
6339
|
}
|
|
6323
6340
|
o < 0 && (o = a + 1), e.splice(o, 0, i);
|
|
6324
6341
|
}, ro = (i, e, t, r, a) => {
|
|
6325
|
-
const o = a ?
|
|
6342
|
+
const o = a ? Fe(i) : i, n = e[o];
|
|
6326
6343
|
if (n)
|
|
6327
6344
|
for (let s = 0; s < n.length; s++) {
|
|
6328
6345
|
const l = n[s];
|
|
@@ -6371,7 +6388,7 @@ function Lc(i, e, t) {
|
|
|
6371
6388
|
let a;
|
|
6372
6389
|
for (let o in r) {
|
|
6373
6390
|
let n = r[o];
|
|
6374
|
-
|
|
6391
|
+
St(o, e) ? (a = At(o, n, e), i._setPendingPropertyOrPath(a, t, !0, !0)) : St(n, e) && (a = At(n, o, e), i._setPendingPropertyOrPath(a, t, !0, !0));
|
|
6375
6392
|
}
|
|
6376
6393
|
}
|
|
6377
6394
|
}
|
|
@@ -6396,7 +6413,7 @@ function zc(i, e, t, r, a) {
|
|
|
6396
6413
|
let o = r.dependencies, n = { index: a, binding: t, part: r, evaluator: i };
|
|
6397
6414
|
for (let s = 0; s < o.length; s++) {
|
|
6398
6415
|
let l = o[s];
|
|
6399
|
-
typeof l == "string" && (l =
|
|
6416
|
+
typeof l == "string" && (l = In(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: Rc, info: n, trigger: l });
|
|
6400
6417
|
}
|
|
6401
6418
|
}
|
|
6402
6419
|
}
|
|
@@ -6496,11 +6513,11 @@ function Fi(i) {
|
|
|
6496
6513
|
}
|
|
6497
6514
|
function ru(i, e) {
|
|
6498
6515
|
return e.args = i.map(function(t) {
|
|
6499
|
-
let r =
|
|
6516
|
+
let r = In(t);
|
|
6500
6517
|
return r.literal || (e.static = !1), r;
|
|
6501
6518
|
}, this), e;
|
|
6502
6519
|
}
|
|
6503
|
-
function
|
|
6520
|
+
function In(i) {
|
|
6504
6521
|
let e = i.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), t = { name: e, value: "", literal: !1 }, r = e[0];
|
|
6505
6522
|
switch (r === "-" && (r = e[1]), r >= "0" && r <= "9" && (r = "#"), r) {
|
|
6506
6523
|
case "'":
|
|
@@ -6511,18 +6528,18 @@ function Sn(i) {
|
|
|
6511
6528
|
t.value = Number(e), t.literal = !0;
|
|
6512
6529
|
break;
|
|
6513
6530
|
}
|
|
6514
|
-
return t.literal || (t.rootProperty =
|
|
6531
|
+
return t.literal || (t.rootProperty = Fe(e), t.structured = ar(e), t.structured && (t.wildcard = e.slice(-2) == ".*", t.wildcard && (t.name = e.slice(0, -2)))), t;
|
|
6515
6532
|
}
|
|
6516
6533
|
function lo(i, e, t) {
|
|
6517
6534
|
let r = te(i, t);
|
|
6518
6535
|
return r === void 0 && (r = e[t]), r;
|
|
6519
6536
|
}
|
|
6520
|
-
function
|
|
6537
|
+
function Sn(i, e, t, r) {
|
|
6521
6538
|
const a = { indexSplices: r };
|
|
6522
6539
|
rr && !i._overrideLegacyUndefined && (e.splices = a), i.notifyPath(t + ".splices", a), i.notifyPath(t + ".length", e.length), rr && !i._overrideLegacyUndefined && (a.indexSplices = []);
|
|
6523
6540
|
}
|
|
6524
6541
|
function pt(i, e, t, r, a, o) {
|
|
6525
|
-
|
|
6542
|
+
Sn(i, e, t, [{ index: r, addedCount: a, removed: o, object: e, type: "splice" }]);
|
|
6526
6543
|
}
|
|
6527
6544
|
function au(i) {
|
|
6528
6545
|
return i[0].toUpperCase() + i.substring(1);
|
|
@@ -6579,7 +6596,7 @@ const Lr = U((i) => {
|
|
|
6579
6596
|
return this._hasPropertyEffect(a, T.COMPUTE);
|
|
6580
6597
|
}
|
|
6581
6598
|
_setPendingPropertyOrPath(a, o, n, s) {
|
|
6582
|
-
if (s ||
|
|
6599
|
+
if (s || Fe(Array.isArray(a) ? a[0] : a) !== a) {
|
|
6583
6600
|
if (!s) {
|
|
6584
6601
|
let l = te(this, a);
|
|
6585
6602
|
if (a = Za(this, a, o), !a || !super._shouldPropertyChange(a, o, l))
|
|
@@ -6638,7 +6655,7 @@ const Lr = U((i) => {
|
|
|
6638
6655
|
let s = this.__dataHasPaths;
|
|
6639
6656
|
this.__dataHasPaths = !1;
|
|
6640
6657
|
let l;
|
|
6641
|
-
Oc(this, o, n, s), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(o, n, s), this._flushClients(), gt(this, this[T.REFLECT], o, n, s), gt(this, this[T.OBSERVE], o, n, s), l &&
|
|
6658
|
+
Oc(this, o, n, s), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(o, n, s), this._flushClients(), gt(this, this[T.REFLECT], o, n, s), gt(this, this[T.OBSERVE], o, n, s), l && Sc(this, l, o, n, s), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
6642
6659
|
}
|
|
6643
6660
|
_propagatePropertyChanges(a, o, n) {
|
|
6644
6661
|
this[T.PROPAGATE] && gt(this, this[T.PROPAGATE], a, o, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, a, o, n);
|
|
@@ -6659,7 +6676,7 @@ const Lr = U((i) => {
|
|
|
6659
6676
|
}
|
|
6660
6677
|
notifySplices(a, o) {
|
|
6661
6678
|
let n = { path: "" }, s = te(this, a, n);
|
|
6662
|
-
|
|
6679
|
+
Sn(this, s, n.path, o);
|
|
6663
6680
|
}
|
|
6664
6681
|
get(a, o) {
|
|
6665
6682
|
return te(o || this, a);
|
|
@@ -6733,7 +6750,7 @@ const Lr = U((i) => {
|
|
|
6733
6750
|
let { name: c, structured: p, wildcard: m, value: y, literal: L } = a[d];
|
|
6734
6751
|
if (!L)
|
|
6735
6752
|
if (m) {
|
|
6736
|
-
const O =
|
|
6753
|
+
const O = St(c, o), V = lo(s, n, O ? o : c);
|
|
6737
6754
|
y = { path: O ? o : c, value: V, base: O ? te(s, c) : V };
|
|
6738
6755
|
} else
|
|
6739
6756
|
y = p ? lo(s, n, c) : s[c];
|
|
@@ -6852,8 +6869,8 @@ const Lr = U((i) => {
|
|
|
6852
6869
|
if (L) {
|
|
6853
6870
|
let { args: V, methodName: A } = L;
|
|
6854
6871
|
for (let W = 0; W < V.length; W++) {
|
|
6855
|
-
let
|
|
6856
|
-
|
|
6872
|
+
let ce = V[W];
|
|
6873
|
+
ce.literal || O.push(ce);
|
|
6857
6874
|
}
|
|
6858
6875
|
let j = o.dynamicFns;
|
|
6859
6876
|
(j && j[A] || L.static) && (O.push(A), L.dynamicFn = !0);
|
|
@@ -7013,7 +7030,7 @@ const su = "3.5.2", ho = window.ShadyCSS && window.ShadyCSS.cssBuild, lu = U((i)
|
|
|
7013
7030
|
}
|
|
7014
7031
|
function n(l) {
|
|
7015
7032
|
let d = null;
|
|
7016
|
-
if (l && (!ui || Wh) && (d =
|
|
7033
|
+
if (l && (!ui || Wh) && (d = It.import(l, "template"), ui && !d))
|
|
7017
7034
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7018
7035
|
return d;
|
|
7019
7036
|
}
|
|
@@ -7055,7 +7072,7 @@ const su = "3.5.2", ho = window.ShadyCSS && window.ShadyCSS.cssBuild, lu = U((i)
|
|
|
7055
7072
|
if (d)
|
|
7056
7073
|
this._importPath = Vr(d.url);
|
|
7057
7074
|
else {
|
|
7058
|
-
const h =
|
|
7075
|
+
const h = It.import(this.is);
|
|
7059
7076
|
this._importPath = h && h.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
|
|
7060
7077
|
}
|
|
7061
7078
|
}
|
|
@@ -7815,7 +7832,7 @@ const bt = () => {
|
|
|
7815
7832
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7816
7833
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7817
7834
|
*/
|
|
7818
|
-
const
|
|
7835
|
+
const _e = [];
|
|
7819
7836
|
function dr(i, e, t = i.getAttribute("dir")) {
|
|
7820
7837
|
e ? i.setAttribute("dir", e) : t != null && i.removeAttribute("dir");
|
|
7821
7838
|
}
|
|
@@ -7824,7 +7841,7 @@ function hr() {
|
|
|
7824
7841
|
}
|
|
7825
7842
|
function yu() {
|
|
7826
7843
|
const i = hr();
|
|
7827
|
-
|
|
7844
|
+
_e.forEach((e) => {
|
|
7828
7845
|
dr(e, i);
|
|
7829
7846
|
});
|
|
7830
7847
|
}
|
|
@@ -7843,11 +7860,11 @@ const ne = (i) => class extends i {
|
|
|
7843
7860
|
attributeChangedCallback(e, t, r) {
|
|
7844
7861
|
if (super.attributeChangedCallback(e, t, r), e !== "dir")
|
|
7845
7862
|
return;
|
|
7846
|
-
const a = hr(), o = r === a &&
|
|
7863
|
+
const a = hr(), o = r === a && _e.indexOf(this) === -1, n = !r && t && _e.indexOf(this) === -1;
|
|
7847
7864
|
o || n ? (this.__subscribe(), dr(this, a, r)) : r !== a && t === a && this.__unsubscribe();
|
|
7848
7865
|
}
|
|
7849
7866
|
disconnectedCallback() {
|
|
7850
|
-
super.disconnectedCallback(), this.__restoreSubscription =
|
|
7867
|
+
super.disconnectedCallback(), this.__restoreSubscription = _e.includes(this), this.__unsubscribe();
|
|
7851
7868
|
}
|
|
7852
7869
|
_valueToNodeAttribute(e, t, r) {
|
|
7853
7870
|
r === "dir" && t === "" && !e.hasAttribute("dir") || super._valueToNodeAttribute(e, t, r);
|
|
@@ -7856,10 +7873,10 @@ const ne = (i) => class extends i {
|
|
|
7856
7873
|
e === "dir" && !t ? this.dir = "" : super._attributeToProperty(e, t, r);
|
|
7857
7874
|
}
|
|
7858
7875
|
__subscribe() {
|
|
7859
|
-
|
|
7876
|
+
_e.includes(this) || _e.push(this);
|
|
7860
7877
|
}
|
|
7861
7878
|
__unsubscribe() {
|
|
7862
|
-
|
|
7879
|
+
_e.includes(this) && _e.splice(_e.indexOf(this), 1);
|
|
7863
7880
|
}
|
|
7864
7881
|
};
|
|
7865
7882
|
/**
|
|
@@ -8051,7 +8068,7 @@ class Z extends EventTarget {
|
|
|
8051
8068
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
8052
8069
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8053
8070
|
*/
|
|
8054
|
-
class
|
|
8071
|
+
class xe extends Z {
|
|
8055
8072
|
constructor(e) {
|
|
8056
8073
|
super(e, "tooltip"), this.setTarget(e);
|
|
8057
8074
|
}
|
|
@@ -8109,7 +8126,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8109
8126
|
Code distributed by Google as part of the polymer project is also
|
|
8110
8127
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8111
8128
|
*/
|
|
8112
|
-
const
|
|
8129
|
+
const Iu = (i) => i, zn = typeof document.head.style.touchAction == "string", cr = "__polymerGestures", Hi = "__polymerGesturesHandled", ur = "__polymerGesturesTouchAction", fo = 25, vo = 5, Su = 2, Au = ["mousedown", "mousemove", "mouseup", "click"], Tu = [0, 1, 4, 2], Pu = function() {
|
|
8113
8130
|
try {
|
|
8114
8131
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
8115
8132
|
} catch {
|
|
@@ -8128,7 +8145,7 @@ function Rn(i) {
|
|
|
8128
8145
|
}
|
|
8129
8146
|
})();
|
|
8130
8147
|
const Du = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Ou = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
|
|
8131
|
-
function
|
|
8148
|
+
function Le(i) {
|
|
8132
8149
|
const e = i.type;
|
|
8133
8150
|
if (!Rn(e))
|
|
8134
8151
|
return !1;
|
|
@@ -8142,7 +8159,7 @@ function Vu(i) {
|
|
|
8142
8159
|
if (i.type === "click") {
|
|
8143
8160
|
if (i.detail === 0)
|
|
8144
8161
|
return !0;
|
|
8145
|
-
const e =
|
|
8162
|
+
const e = Ae(i);
|
|
8146
8163
|
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
|
|
8147
8164
|
return !0;
|
|
8148
8165
|
const t = e.getBoundingClientRect(), r = i.pageX, a = i.pageY;
|
|
@@ -8150,7 +8167,7 @@ function Vu(i) {
|
|
|
8150
8167
|
}
|
|
8151
8168
|
return !1;
|
|
8152
8169
|
}
|
|
8153
|
-
const
|
|
8170
|
+
const ge = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
|
|
8154
8171
|
function Mu(i) {
|
|
8155
8172
|
let e = "auto";
|
|
8156
8173
|
const t = $n(i);
|
|
@@ -8167,7 +8184,7 @@ function Fn(i, e, t) {
|
|
|
8167
8184
|
function Ke(i) {
|
|
8168
8185
|
document.removeEventListener("mousemove", i.movefn), document.removeEventListener("mouseup", i.upfn), i.movefn = null, i.upfn = null;
|
|
8169
8186
|
}
|
|
8170
|
-
const $n = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], Fr = {},
|
|
8187
|
+
const $n = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], Fr = {}, Ne = [];
|
|
8171
8188
|
function Nu(i, e) {
|
|
8172
8189
|
let t = document.elementFromPoint(i, e), r = t;
|
|
8173
8190
|
for (; r && r.shadowRoot && !window.ShadyDOM; ) {
|
|
@@ -8178,7 +8195,7 @@ function Nu(i, e) {
|
|
|
8178
8195
|
}
|
|
8179
8196
|
return t;
|
|
8180
8197
|
}
|
|
8181
|
-
function
|
|
8198
|
+
function Ae(i) {
|
|
8182
8199
|
const e = $n(i);
|
|
8183
8200
|
return e.length > 0 ? e[0] : i.target;
|
|
8184
8201
|
}
|
|
@@ -8191,33 +8208,33 @@ function Lu(i) {
|
|
|
8191
8208
|
return;
|
|
8192
8209
|
if (!i[Hi] && (i[Hi] = {}, e.startsWith("touch"))) {
|
|
8193
8210
|
const o = i.changedTouches[0];
|
|
8194
|
-
if (e === "touchstart" && i.touches.length === 1 && (
|
|
8211
|
+
if (e === "touchstart" && i.touches.length === 1 && (ge.touch.id = o.identifier), ge.touch.id !== o.identifier)
|
|
8195
8212
|
return;
|
|
8196
8213
|
zn || (e === "touchstart" || e === "touchmove") && zu(i);
|
|
8197
8214
|
}
|
|
8198
8215
|
const a = i[Hi];
|
|
8199
8216
|
if (!a.skip) {
|
|
8200
|
-
for (let o = 0, n; o <
|
|
8201
|
-
n =
|
|
8202
|
-
for (let o = 0, n; o <
|
|
8203
|
-
n =
|
|
8217
|
+
for (let o = 0, n; o < Ne.length; o++)
|
|
8218
|
+
n = Ne[o], r[n.name] && !a[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
|
|
8219
|
+
for (let o = 0, n; o < Ne.length; o++)
|
|
8220
|
+
n = Ne[o], r[n.name] && !a[n.name] && (a[n.name] = !0, n[e](i));
|
|
8204
8221
|
}
|
|
8205
8222
|
}
|
|
8206
8223
|
function zu(i) {
|
|
8207
8224
|
const e = i.changedTouches[0], t = i.type;
|
|
8208
8225
|
if (t === "touchstart")
|
|
8209
|
-
|
|
8226
|
+
ge.touch.x = e.clientX, ge.touch.y = e.clientY, ge.touch.scrollDecided = !1;
|
|
8210
8227
|
else if (t === "touchmove") {
|
|
8211
|
-
if (
|
|
8228
|
+
if (ge.touch.scrollDecided)
|
|
8212
8229
|
return;
|
|
8213
|
-
|
|
8230
|
+
ge.touch.scrollDecided = !0;
|
|
8214
8231
|
const r = Mu(i);
|
|
8215
8232
|
let a = !1;
|
|
8216
|
-
const o = Math.abs(
|
|
8233
|
+
const o = Math.abs(ge.touch.x - e.clientX), n = Math.abs(ge.touch.y - e.clientY);
|
|
8217
8234
|
i.cancelable && (r === "none" ? a = !0 : r === "pan-x" ? a = n > o : r === "pan-y" && (a = o > n)), a ? i.preventDefault() : fi("track");
|
|
8218
8235
|
}
|
|
8219
8236
|
}
|
|
8220
|
-
function
|
|
8237
|
+
function pe(i, e, t) {
|
|
8221
8238
|
return Fr[e] ? (Ru(i, e, t), !0) : !1;
|
|
8222
8239
|
}
|
|
8223
8240
|
function Ru(i, e, t) {
|
|
@@ -8229,13 +8246,13 @@ function Ru(i, e, t) {
|
|
|
8229
8246
|
i.addEventListener(e, t), r.touchAction && Hn(i, r.touchAction);
|
|
8230
8247
|
}
|
|
8231
8248
|
function $r(i) {
|
|
8232
|
-
|
|
8249
|
+
Ne.push(i), i.emits.forEach((e) => {
|
|
8233
8250
|
Fr[e] = i;
|
|
8234
8251
|
});
|
|
8235
8252
|
}
|
|
8236
8253
|
function Fu(i) {
|
|
8237
|
-
for (let e = 0, t; e <
|
|
8238
|
-
t =
|
|
8254
|
+
for (let e = 0, t; e < Ne.length; e++) {
|
|
8255
|
+
t = Ne[e];
|
|
8239
8256
|
for (let r = 0, a; r < t.emits.length; r++)
|
|
8240
8257
|
if (a = t.emits[r], a === i)
|
|
8241
8258
|
return t;
|
|
@@ -8249,7 +8266,7 @@ function Hn(i, e) {
|
|
|
8249
8266
|
}
|
|
8250
8267
|
function Hr(i, e, t) {
|
|
8251
8268
|
const r = new Event(e, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
8252
|
-
if (r.detail = t,
|
|
8269
|
+
if (r.detail = t, Iu(i).dispatchEvent(r), r.defaultPrevented) {
|
|
8253
8270
|
const a = t.preventer || t.sourceEvent;
|
|
8254
8271
|
a && a.preventDefault && a.preventDefault();
|
|
8255
8272
|
}
|
|
@@ -8261,18 +8278,18 @@ function fi(i) {
|
|
|
8261
8278
|
$r({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
|
|
8262
8279
|
Ke(this.info);
|
|
8263
8280
|
}, mousedown(i) {
|
|
8264
|
-
if (!
|
|
8281
|
+
if (!Le(i))
|
|
8265
8282
|
return;
|
|
8266
|
-
const e =
|
|
8267
|
-
|
|
8283
|
+
const e = Ae(i), t = this, r = (o) => {
|
|
8284
|
+
Le(o) || (ft("up", e, o), Ke(t.info));
|
|
8268
8285
|
}, a = (o) => {
|
|
8269
|
-
|
|
8286
|
+
Le(o) && ft("up", e, o), Ke(t.info);
|
|
8270
8287
|
};
|
|
8271
8288
|
Fn(this.info, r, a), ft("down", e, i);
|
|
8272
8289
|
}, touchstart(i) {
|
|
8273
|
-
ft("down",
|
|
8290
|
+
ft("down", Ae(i), i.changedTouches[0], i);
|
|
8274
8291
|
}, touchend(i) {
|
|
8275
|
-
ft("up",
|
|
8292
|
+
ft("up", Ae(i), i.changedTouches[0], i);
|
|
8276
8293
|
} });
|
|
8277
8294
|
function ft(i, e, t, r) {
|
|
8278
8295
|
e && Hr(e, i, { x: t.clientX, y: t.clientY, sourceEvent: t, preventer: r, prevent(a) {
|
|
@@ -8280,15 +8297,15 @@ function ft(i, e, t, r) {
|
|
|
8280
8297
|
} });
|
|
8281
8298
|
}
|
|
8282
8299
|
$r({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touchmove", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["track"], info: { x: 0, y: 0, state: "start", started: !1, moves: [], addMove(i) {
|
|
8283
|
-
this.moves.length >
|
|
8300
|
+
this.moves.length > Su && this.moves.shift(), this.moves.push(i);
|
|
8284
8301
|
}, movefn: null, upfn: null, prevent: !1 }, reset() {
|
|
8285
8302
|
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Ke(this.info);
|
|
8286
8303
|
}, mousedown(i) {
|
|
8287
|
-
if (!
|
|
8304
|
+
if (!Le(i))
|
|
8288
8305
|
return;
|
|
8289
|
-
const e =
|
|
8306
|
+
const e = Ae(i), t = this, r = (o) => {
|
|
8290
8307
|
const n = o.clientX, s = o.clientY;
|
|
8291
|
-
_o(t.info, n, s) && (t.info.state = t.info.started ? o.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && fi("tap"), t.info.addMove({ x: n, y: s }),
|
|
8308
|
+
_o(t.info, n, s) && (t.info.state = t.info.started ? o.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && fi("tap"), t.info.addMove({ x: n, y: s }), Le(o) || (t.info.state = "end", Ke(t.info)), e && Bi(t.info, e, o), t.info.started = !0);
|
|
8292
8309
|
}, a = (o) => {
|
|
8293
8310
|
t.info.started && r(o), Ke(t.info);
|
|
8294
8311
|
};
|
|
@@ -8297,10 +8314,10 @@ $r({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8297
8314
|
const e = i.changedTouches[0];
|
|
8298
8315
|
this.info.x = e.clientX, this.info.y = e.clientY;
|
|
8299
8316
|
}, touchmove(i) {
|
|
8300
|
-
const e =
|
|
8317
|
+
const e = Ae(i), t = i.changedTouches[0], r = t.clientX, a = t.clientY;
|
|
8301
8318
|
_o(this.info, r, a) && (this.info.state === "start" && fi("tap"), this.info.addMove({ x: r, y: a }), Bi(this.info, e, t), this.info.state = "track", this.info.started = !0);
|
|
8302
8319
|
}, touchend(i) {
|
|
8303
|
-
const e =
|
|
8320
|
+
const e = Ae(i), t = i.changedTouches[0];
|
|
8304
8321
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), Bi(this.info, e, t));
|
|
8305
8322
|
} });
|
|
8306
8323
|
function _o(i, e, t) {
|
|
@@ -8323,9 +8340,9 @@ function Bi(i, e, t) {
|
|
|
8323
8340
|
$r({ name: "tap", deps: ["mousedown", "click", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["click", "touchend"] }, emits: ["tap"], info: { x: NaN, y: NaN, prevent: !1 }, reset() {
|
|
8324
8341
|
this.info.x = NaN, this.info.y = NaN, this.info.prevent = !1;
|
|
8325
8342
|
}, mousedown(i) {
|
|
8326
|
-
|
|
8343
|
+
Le(i) && (this.info.x = i.clientX, this.info.y = i.clientY);
|
|
8327
8344
|
}, click(i) {
|
|
8328
|
-
|
|
8345
|
+
Le(i) && go(this.info, i);
|
|
8329
8346
|
}, touchstart(i) {
|
|
8330
8347
|
const e = i.changedTouches[0];
|
|
8331
8348
|
this.info.x = e.clientX, this.info.y = e.clientY;
|
|
@@ -8333,7 +8350,7 @@ $r({ name: "tap", deps: ["mousedown", "click", "touchstart", "touchend"], flow:
|
|
|
8333
8350
|
go(this.info, i.changedTouches[0], i);
|
|
8334
8351
|
} });
|
|
8335
8352
|
function go(i, e, t) {
|
|
8336
|
-
const r = Math.abs(e.clientX - i.x), a = Math.abs(e.clientY - i.y), o =
|
|
8353
|
+
const r = Math.abs(e.clientX - i.x), a = Math.abs(e.clientY - i.y), o = Ae(t || e);
|
|
8337
8354
|
!o || Ou[o.localName] && o.hasAttribute("disabled") || (isNaN(r) || isNaN(a) || r <= fo && a <= fo || Vu(e)) && (i.prevent || Hr(o, "tap", { x: e.clientX, y: e.clientY, sourceEvent: e, preventer: t }));
|
|
8338
8355
|
}
|
|
8339
8356
|
/**
|
|
@@ -8360,7 +8377,7 @@ const at = U((i) => class extends i {
|
|
|
8360
8377
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8361
8378
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8362
8379
|
*/
|
|
8363
|
-
const
|
|
8380
|
+
const $e = U((i) => class extends i {
|
|
8364
8381
|
ready() {
|
|
8365
8382
|
super.ready(), this.addEventListener("keydown", (e) => {
|
|
8366
8383
|
this._onKeyDown(e);
|
|
@@ -8390,14 +8407,14 @@ const Fe = U((i) => class extends i {
|
|
|
8390
8407
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8391
8408
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8392
8409
|
*/
|
|
8393
|
-
const Br = (i) => class extends at(
|
|
8410
|
+
const Br = (i) => class extends at($e(i)) {
|
|
8394
8411
|
get _activeKeys() {
|
|
8395
8412
|
return [" "];
|
|
8396
8413
|
}
|
|
8397
8414
|
ready() {
|
|
8398
|
-
super.ready(),
|
|
8415
|
+
super.ready(), pe(this, "down", (e) => {
|
|
8399
8416
|
this._shouldSetActive(e) && this._setActive(!0);
|
|
8400
|
-
}),
|
|
8417
|
+
}), pe(this, "up", () => {
|
|
8401
8418
|
this._setActive(!1);
|
|
8402
8419
|
});
|
|
8403
8420
|
}
|
|
@@ -8496,7 +8513,7 @@ function Uu(i) {
|
|
|
8496
8513
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8497
8514
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8498
8515
|
*/
|
|
8499
|
-
const
|
|
8516
|
+
const He = U((i) => class extends i {
|
|
8500
8517
|
get _keyboardActive() {
|
|
8501
8518
|
return Ci();
|
|
8502
8519
|
}
|
|
@@ -8541,7 +8558,7 @@ const qn = (i) => class extends at(i) {
|
|
|
8541
8558
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8542
8559
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8543
8560
|
*/
|
|
8544
|
-
const ki = U((i) => class extends
|
|
8561
|
+
const ki = U((i) => class extends He(qn(i)) {
|
|
8545
8562
|
static get properties() {
|
|
8546
8563
|
return { autofocus: { type: Boolean }, focusElement: { type: Object, readOnly: !0, observer: "_focusElementChanged" }, _lastTabIndex: { value: 0 } };
|
|
8547
8564
|
}
|
|
@@ -8820,7 +8837,7 @@ class Yu {
|
|
|
8820
8837
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8821
8838
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8822
8839
|
*/
|
|
8823
|
-
const
|
|
8840
|
+
const ve = U((i) => typeof i.prototype.addController == "function" ? i : class extends i {
|
|
8824
8841
|
constructor() {
|
|
8825
8842
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
8826
8843
|
}
|
|
@@ -8846,18 +8863,18 @@ const fe = U((i) => typeof i.prototype.addController == "function" ? i : class e
|
|
|
8846
8863
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
8847
8864
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8848
8865
|
*/
|
|
8849
|
-
const
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
document.body.appendChild(
|
|
8866
|
+
const ue = document.createElement("div");
|
|
8867
|
+
ue.style.position = "fixed";
|
|
8868
|
+
ue.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
8869
|
+
ue.setAttribute("aria-live", "polite");
|
|
8870
|
+
document.body.appendChild(ue);
|
|
8854
8871
|
let Gt;
|
|
8855
8872
|
function ii(i, e = {}) {
|
|
8856
8873
|
const t = e.mode || "polite", r = e.timeout === void 0 ? 150 : e.timeout;
|
|
8857
|
-
t === "alert" ? (
|
|
8858
|
-
|
|
8859
|
-
})) : (Gt && Gt.cancel(),
|
|
8860
|
-
|
|
8874
|
+
t === "alert" ? (ue.removeAttribute("aria-live"), ue.removeAttribute("role"), Gt = oe.debounce(Gt, Dt, () => {
|
|
8875
|
+
ue.setAttribute("role", "alert");
|
|
8876
|
+
})) : (Gt && Gt.cancel(), ue.removeAttribute("role"), ue.setAttribute("aria-live", t)), ue.textContent = "", setTimeout(() => {
|
|
8877
|
+
ue.textContent = i;
|
|
8861
8878
|
}, r);
|
|
8862
8879
|
}
|
|
8863
8880
|
/**
|
|
@@ -8994,7 +9011,7 @@ class Yn extends Gr {
|
|
|
8994
9011
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8995
9012
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8996
9013
|
*/
|
|
8997
|
-
const Xu = U((i) => class extends
|
|
9014
|
+
const Xu = U((i) => class extends ve(i) {
|
|
8998
9015
|
static get properties() {
|
|
8999
9016
|
return { label: { type: String, observer: "_labelChanged" } };
|
|
9000
9017
|
}
|
|
@@ -9045,7 +9062,7 @@ const Kr = U((i) => class extends i {
|
|
|
9045
9062
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9046
9063
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9047
9064
|
*/
|
|
9048
|
-
const Ei = (i) => class extends Kr(Xu(
|
|
9065
|
+
const Ei = (i) => class extends Kr(Xu(ve(i))) {
|
|
9049
9066
|
static get properties() {
|
|
9050
9067
|
return { ariaTarget: { type: Object, observer: "_ariaTargetChanged" }, errorMessage: { type: String, observer: "_errorMessageChanged" }, helperText: { type: String, observer: "_helperTextChanged" }, accessibleName: { type: String, observer: "_accessibleNameChanged" }, accessibleNameRef: { type: String, observer: "_accessibleNameRefChanged" } };
|
|
9051
9068
|
}
|
|
@@ -9324,7 +9341,7 @@ class Zu extends Qu(se(N(E))) {
|
|
|
9324
9341
|
`;
|
|
9325
9342
|
}
|
|
9326
9343
|
ready() {
|
|
9327
|
-
super.ready(), this._tooltipController = new
|
|
9344
|
+
super.ready(), this._tooltipController = new xe(this), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
|
|
9328
9345
|
}
|
|
9329
9346
|
}
|
|
9330
9347
|
w(Zu);
|
|
@@ -9559,12 +9576,12 @@ g("vaadin-checkbox-group", [Xr, Gn, ep], { moduleId: "lumo-checkbox-group" });
|
|
|
9559
9576
|
* Copyright (c) 2018 - 2024 Vaadin Ltd.
|
|
9560
9577
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9561
9578
|
*/
|
|
9562
|
-
const tp = (i) => class extends Ei(
|
|
9579
|
+
const tp = (i) => class extends Ei(He(at(i))) {
|
|
9563
9580
|
static get properties() {
|
|
9564
9581
|
return { value: { type: Array, value: () => [], notify: !0, sync: !0, observer: "__valueChanged" }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "__readonlyChanged" } };
|
|
9565
9582
|
}
|
|
9566
9583
|
constructor() {
|
|
9567
|
-
super(), this.__registerCheckbox = this.__registerCheckbox.bind(this), this.__unregisterCheckbox = this.__unregisterCheckbox.bind(this), this.__onCheckboxCheckedChanged = this.__onCheckboxCheckedChanged.bind(this), this._tooltipController = new
|
|
9584
|
+
super(), this.__registerCheckbox = this.__registerCheckbox.bind(this), this.__unregisterCheckbox = this.__unregisterCheckbox.bind(this), this.__onCheckboxCheckedChanged = this.__onCheckboxCheckedChanged.bind(this), this._tooltipController = new xe(this), this._tooltipController.addEventListener("tooltip-changed", (e) => {
|
|
9568
9585
|
const t = e.detail.node;
|
|
9569
9586
|
if (t && t.isConnected) {
|
|
9570
9587
|
const r = this.__checkboxes.map((a) => a.inputElement);
|
|
@@ -9784,7 +9801,7 @@ g("", ot, { moduleId: "lumo-overlay" });
|
|
|
9784
9801
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9785
9802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9786
9803
|
*/
|
|
9787
|
-
const
|
|
9804
|
+
const Ii = f`
|
|
9788
9805
|
:host([opening]),
|
|
9789
9806
|
:host([closing]) {
|
|
9790
9807
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -9815,7 +9832,7 @@ const Si = f`
|
|
|
9815
9832
|
}
|
|
9816
9833
|
}
|
|
9817
9834
|
`;
|
|
9818
|
-
g("",
|
|
9835
|
+
g("", Ii, { moduleId: "lumo-menu-overlay-core" });
|
|
9819
9836
|
const ap = f`
|
|
9820
9837
|
/* Small viewport (bottom sheet) styles */
|
|
9821
9838
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -9878,7 +9895,7 @@ const ap = f`
|
|
|
9878
9895
|
transform: translateY(150%);
|
|
9879
9896
|
}
|
|
9880
9897
|
}
|
|
9881
|
-
`, Qr = [ot,
|
|
9898
|
+
`, Qr = [ot, Ii, ap];
|
|
9882
9899
|
g("", Qr, { moduleId: "lumo-menu-overlay" });
|
|
9883
9900
|
const op = f`
|
|
9884
9901
|
[part='overlay'] {
|
|
@@ -10878,8 +10895,8 @@ const np = f`
|
|
|
10878
10895
|
[part='clear-button']::before {
|
|
10879
10896
|
content: var(--lumo-icons-cross);
|
|
10880
10897
|
}
|
|
10881
|
-
`,
|
|
10882
|
-
g("",
|
|
10898
|
+
`, Be = [Xr, Jr, Gn, np];
|
|
10899
|
+
g("", Be, { moduleId: "lumo-input-field-shared-styles" });
|
|
10883
10900
|
const sp = f`
|
|
10884
10901
|
[part='toggle-button']::before {
|
|
10885
10902
|
content: var(--lumo-icons-calendar);
|
|
@@ -10903,7 +10920,7 @@ const sp = f`
|
|
|
10903
10920
|
--_lumo-text-field-overflow-mask-image: none;
|
|
10904
10921
|
}
|
|
10905
10922
|
`;
|
|
10906
|
-
g("vaadin-date-picker", [
|
|
10923
|
+
g("vaadin-date-picker", [Be, sp], { moduleId: "lumo-date-picker" });
|
|
10907
10924
|
/**
|
|
10908
10925
|
* @license
|
|
10909
10926
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -11119,11 +11136,11 @@ function Zr(i, e, t) {
|
|
|
11119
11136
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11120
11137
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11121
11138
|
*/
|
|
11122
|
-
const
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
const fp = _r(/^iPad/u) || _r(/^Mac/u) && navigator.maxTouchPoints > 1, vp = _r(/^iPhone/u), ea = vp || fp, _p =
|
|
11139
|
+
const Si = (i) => i.test(navigator.userAgent), _r = (i) => i.test(navigator.platform), mp = (i) => i.test(navigator.vendor);
|
|
11140
|
+
Si(/Android/u);
|
|
11141
|
+
Si(/Chrome/u) && mp(/Google Inc/u);
|
|
11142
|
+
Si(/Firefox/u);
|
|
11143
|
+
const fp = _r(/^iPad/u) || _r(/^Mac/u) && navigator.maxTouchPoints > 1, vp = _r(/^iPhone/u), ea = vp || fp, _p = Si(/^((?!chrome|android).)*safari/iu), gr = (() => {
|
|
11127
11144
|
try {
|
|
11128
11145
|
return document.createEvent("TouchEvent"), !0;
|
|
11129
11146
|
} catch {
|
|
@@ -11265,7 +11282,7 @@ class xp {
|
|
|
11265
11282
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11266
11283
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11267
11284
|
*/
|
|
11268
|
-
const Cp = (i) => class extends
|
|
11285
|
+
const Cp = (i) => class extends ve(i) {
|
|
11269
11286
|
static get properties() {
|
|
11270
11287
|
return { focusTrap: { type: Boolean, value: !1 }, restoreFocusOnClose: { type: Boolean, value: !1 }, restoreFocusNode: { type: HTMLElement } };
|
|
11271
11288
|
}
|
|
@@ -11608,7 +11625,7 @@ const Yi = { start: "top", end: "bottom" }, Gi = { start: "left", end: "right" }
|
|
|
11608
11625
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
11609
11626
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11610
11627
|
*/
|
|
11611
|
-
const
|
|
11628
|
+
const Ip = (i) => class extends ta(Ht(i)) {
|
|
11612
11629
|
_shouldCloseOnOutsideClick(e) {
|
|
11613
11630
|
return !e.composedPath().includes(this.positionTarget);
|
|
11614
11631
|
}
|
|
@@ -11621,7 +11638,7 @@ const Sp = (i) => class extends ta(Ht(i)) {
|
|
|
11621
11638
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11622
11639
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11623
11640
|
*/
|
|
11624
|
-
const
|
|
11641
|
+
const Sp = f`
|
|
11625
11642
|
[part='overlay'] {
|
|
11626
11643
|
display: flex;
|
|
11627
11644
|
flex: auto;
|
|
@@ -11642,8 +11659,8 @@ const Ip = f`
|
|
|
11642
11659
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11643
11660
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11644
11661
|
*/
|
|
11645
|
-
g("vaadin-date-picker-overlay", [$t,
|
|
11646
|
-
class Ap extends
|
|
11662
|
+
g("vaadin-date-picker-overlay", [$t, Sp], { moduleId: "vaadin-date-picker-overlay-styles" });
|
|
11663
|
+
class Ap extends Ip(ne(N(E))) {
|
|
11647
11664
|
static get is() {
|
|
11648
11665
|
return "vaadin-date-picker-overlay";
|
|
11649
11666
|
}
|
|
@@ -11743,7 +11760,7 @@ const is = f`
|
|
|
11743
11760
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11744
11761
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11745
11762
|
*/
|
|
11746
|
-
const ia = (i) => class extends Br(qn(
|
|
11763
|
+
const ia = (i) => class extends Br(qn(He(i))) {
|
|
11747
11764
|
static get properties() {
|
|
11748
11765
|
return { tabindex: { type: Number, value: 0, reflectToAttribute: !0 } };
|
|
11749
11766
|
}
|
|
@@ -11763,7 +11780,7 @@ const ia = (i) => class extends Br(qn($e(i))) {
|
|
|
11763
11780
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11764
11781
|
*/
|
|
11765
11782
|
g("vaadin-button", is, { moduleId: "vaadin-button-styles" });
|
|
11766
|
-
class Pp extends ia(se(N(
|
|
11783
|
+
class Pp extends ia(se(N(ve(E)))) {
|
|
11767
11784
|
static get is() {
|
|
11768
11785
|
return "vaadin-button";
|
|
11769
11786
|
}
|
|
@@ -11771,7 +11788,7 @@ class Pp extends ia(se(N(fe(E)))) {
|
|
|
11771
11788
|
return Tp(k);
|
|
11772
11789
|
}
|
|
11773
11790
|
ready() {
|
|
11774
|
-
super.ready(), this._tooltipController = new
|
|
11791
|
+
super.ready(), this._tooltipController = new xe(this), this.addController(this._tooltipController);
|
|
11775
11792
|
}
|
|
11776
11793
|
}
|
|
11777
11794
|
w(Pp);
|
|
@@ -11792,7 +11809,7 @@ function yr(i) {
|
|
|
11792
11809
|
const e = new Date(i);
|
|
11793
11810
|
return e.setHours(0, 0, 0, 0), e;
|
|
11794
11811
|
}
|
|
11795
|
-
function
|
|
11812
|
+
function ye(i, e, t = yr) {
|
|
11796
11813
|
return i instanceof Date && e instanceof Date && t(i).getTime() === t(e).getTime();
|
|
11797
11814
|
}
|
|
11798
11815
|
function ra(i) {
|
|
@@ -12686,7 +12703,7 @@ customElements.define(Co.is, Co);
|
|
|
12686
12703
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12687
12704
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12688
12705
|
*/
|
|
12689
|
-
const rm = (i) => class extends
|
|
12706
|
+
const rm = (i) => class extends He(i) {
|
|
12690
12707
|
static get properties() {
|
|
12691
12708
|
return { month: { type: Object, value: /* @__PURE__ */ new Date(), sync: !0 }, selectedDate: { type: Object, notify: !0, sync: !0 }, focusedDate: { type: Object }, showWeekNumbers: { type: Boolean, value: !1 }, i18n: { type: Object }, ignoreTaps: { type: Boolean }, minDate: { type: Date, value: null, sync: !0 }, maxDate: { type: Date, value: null, sync: !0 }, isDateDisabled: { type: Function, value: () => !1 }, disabled: { type: Boolean, reflectToAttribute: !0 }, _days: { type: Array }, _weeks: { type: Array }, _notTapping: { type: Boolean } };
|
|
12692
12709
|
}
|
|
@@ -12694,10 +12711,10 @@ const rm = (i) => class extends $e(i) {
|
|
|
12694
12711
|
return ["__focusedDateChanged(focusedDate, _days)"];
|
|
12695
12712
|
}
|
|
12696
12713
|
get focusableDateElement() {
|
|
12697
|
-
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) =>
|
|
12714
|
+
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => ye(e.date, this.focusedDate));
|
|
12698
12715
|
}
|
|
12699
12716
|
ready() {
|
|
12700
|
-
super.ready(),
|
|
12717
|
+
super.ready(), pe(this.$.monthGrid, "tap", this._handleTap.bind(this));
|
|
12701
12718
|
}
|
|
12702
12719
|
_isDisabled(e, t, r) {
|
|
12703
12720
|
const a = new Date(0, 0);
|
|
@@ -12728,7 +12745,7 @@ const rm = (i) => class extends $e(i) {
|
|
|
12728
12745
|
return this._applyFirstDayOfWeek(r, o).map((s, l) => ({ weekDay: s, weekDayShort: n[l] })).slice(0, 7);
|
|
12729
12746
|
}
|
|
12730
12747
|
__focusedDateChanged(e, t) {
|
|
12731
|
-
Array.isArray(t) && t.some((r) =>
|
|
12748
|
+
Array.isArray(t) && t.some((r) => ye(r, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
|
|
12732
12749
|
}
|
|
12733
12750
|
_getDate(e) {
|
|
12734
12751
|
return e ? e.getDate() : "";
|
|
@@ -12737,7 +12754,7 @@ const rm = (i) => class extends $e(i) {
|
|
|
12737
12754
|
return e && t && t.firstDayOfWeek === 1;
|
|
12738
12755
|
}
|
|
12739
12756
|
_isToday(e) {
|
|
12740
|
-
return
|
|
12757
|
+
return ye(/* @__PURE__ */ new Date(), e);
|
|
12741
12758
|
}
|
|
12742
12759
|
_getDays(e, t) {
|
|
12743
12760
|
if (e === void 0 || t === void 0)
|
|
@@ -12901,10 +12918,10 @@ class om extends rm(N(E)) {
|
|
|
12901
12918
|
return this.__isDayDisabled(e, a, o, n) && s.push("disabled"), this.__isDayFocused(e, t) && s.push("focused"), this.__isDaySelected(e, r) && s.push("selected"), this._isToday(e) && s.push("today"), d && s.push("past"), l && s.push("future"), s.join(" ");
|
|
12902
12919
|
}
|
|
12903
12920
|
__isDayFocused(e, t) {
|
|
12904
|
-
return
|
|
12921
|
+
return ye(e, t);
|
|
12905
12922
|
}
|
|
12906
12923
|
__isDaySelected(e, t) {
|
|
12907
|
-
return
|
|
12924
|
+
return ye(e, t);
|
|
12908
12925
|
}
|
|
12909
12926
|
__getDayAriaSelected(e, t) {
|
|
12910
12927
|
if (this.__isDaySelected(e, t))
|
|
@@ -12966,15 +12983,15 @@ const nm = (i) => class extends i {
|
|
|
12966
12983
|
return this.calendars.map((e) => e.focusableDateElement).find(Boolean);
|
|
12967
12984
|
}
|
|
12968
12985
|
_addListeners() {
|
|
12969
|
-
Hn(this.$.scrollers, "pan-y"),
|
|
12986
|
+
Hn(this.$.scrollers, "pan-y"), pe(this.$.scrollers, "track", this._track.bind(this)), pe(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), pe(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), pe(this.shadowRoot.querySelector('[part="years-toggle-button"]'), "tap", this._toggleYearScroller.bind(this));
|
|
12970
12987
|
}
|
|
12971
12988
|
_initControllers() {
|
|
12972
12989
|
this.addController(new la(this._desktopMediaQuery, (e) => {
|
|
12973
12990
|
this._desktopMode = e;
|
|
12974
12991
|
})), this.addController(new Z(this, "today-button", "vaadin-button", { observe: !1, initializer: (e) => {
|
|
12975
|
-
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onTodayButtonKeyDown(t)),
|
|
12992
|
+
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onTodayButtonKeyDown(t)), pe(e, "tap", this._onTodayTap.bind(this)), this._todayButton = e;
|
|
12976
12993
|
} })), this.addController(new Z(this, "cancel-button", "vaadin-button", { observe: !1, initializer: (e) => {
|
|
12977
|
-
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onCancelButtonKeyDown(t)),
|
|
12994
|
+
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onCancelButtonKeyDown(t)), pe(e, "tap", this._cancel.bind(this)), this._cancelButton = e;
|
|
12978
12995
|
} })), this.__initMonthScroller(), this.__initYearScroller();
|
|
12979
12996
|
}
|
|
12980
12997
|
reset() {
|
|
@@ -13007,7 +13024,7 @@ const nm = (i) => class extends i {
|
|
|
13007
13024
|
}
|
|
13008
13025
|
__initYearScroller() {
|
|
13009
13026
|
this.addController(new Z(this, "years", "vaadin-date-picker-year-scroller", { observe: !1, initializer: (e) => {
|
|
13010
|
-
e.setAttribute("aria-hidden", "true"),
|
|
13027
|
+
e.setAttribute("aria-hidden", "true"), pe(e, "tap", (t) => {
|
|
13011
13028
|
this._onYearTap(t);
|
|
13012
13029
|
}), e.addEventListener("custom-scroll", () => {
|
|
13013
13030
|
this._onYearScroll();
|
|
@@ -13197,7 +13214,7 @@ const nm = (i) => class extends i {
|
|
|
13197
13214
|
e.preventDefault();
|
|
13198
13215
|
}
|
|
13199
13216
|
__toggleDate(e) {
|
|
13200
|
-
|
|
13217
|
+
ye(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
|
|
13201
13218
|
}
|
|
13202
13219
|
__onMonthCalendarKeyDown(e) {
|
|
13203
13220
|
let t = !1;
|
|
@@ -13263,7 +13280,7 @@ const nm = (i) => class extends i {
|
|
|
13263
13280
|
__tryFocusDate() {
|
|
13264
13281
|
if (this.__pendingDateFocus) {
|
|
13265
13282
|
const e = this.focusableDateElement;
|
|
13266
|
-
e &&
|
|
13283
|
+
e && ye(e.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, e.focus());
|
|
13267
13284
|
}
|
|
13268
13285
|
}
|
|
13269
13286
|
focusDate(e, t) {
|
|
@@ -13386,7 +13403,7 @@ const sm = f`
|
|
|
13386
13403
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13387
13404
|
*/
|
|
13388
13405
|
g("vaadin-date-picker-overlay-content", sm, { moduleId: "vaadin-date-picker-overlay-content-styles" });
|
|
13389
|
-
class lm extends nm(
|
|
13406
|
+
class lm extends nm(ve(N(ne(E)))) {
|
|
13390
13407
|
static get template() {
|
|
13391
13408
|
return k`
|
|
13392
13409
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
@@ -13450,7 +13467,7 @@ const hs = U((i) => class extends i {
|
|
|
13450
13467
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13451
13468
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13452
13469
|
*/
|
|
13453
|
-
const cm = (i) => class extends zt(
|
|
13470
|
+
const cm = (i) => class extends zt($e(i)) {
|
|
13454
13471
|
static get properties() {
|
|
13455
13472
|
return { clearButtonVisible: { type: Boolean, reflectToAttribute: !0, value: !1 } };
|
|
13456
13473
|
}
|
|
@@ -13515,7 +13532,7 @@ const da = U((i) => class extends Wr(Kr(zt(i))) {
|
|
|
13515
13532
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13516
13533
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13517
13534
|
*/
|
|
13518
|
-
const Ai = (i) => class extends hs(ki(da(Ei(cm(
|
|
13535
|
+
const Ai = (i) => class extends hs(ki(da(Ei(cm($e(i)))))) {
|
|
13519
13536
|
static get properties() {
|
|
13520
13537
|
return { allowedCharPattern: { type: String, observer: "_allowedCharPatternChanged" }, autoselect: { type: Boolean, value: !1 }, name: { type: String, reflectToAttribute: !0 }, placeholder: { type: String, reflectToAttribute: !0 }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, title: { type: String, reflectToAttribute: !0 } };
|
|
13521
13538
|
}
|
|
@@ -13703,7 +13720,7 @@ class ps {
|
|
|
13703
13720
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
13704
13721
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13705
13722
|
*/
|
|
13706
|
-
const pm = (i) => class extends Bt(
|
|
13723
|
+
const pm = (i) => class extends Bt(ve(ki(da($e(i))))) {
|
|
13707
13724
|
static get properties() {
|
|
13708
13725
|
return { _selectedDate: { type: Object, sync: !0 }, _focusedDate: { type: Object, sync: !0 }, value: { type: String, notify: !0, value: "", sync: !0 }, initialPosition: String, opened: { type: Boolean, reflectToAttribute: !0, notify: !0, observer: "_openedChanged", sync: !0 }, autoOpenDisabled: Boolean, showWeekNumbers: { type: Boolean, value: !1, sync: !0 }, _fullscreen: { type: Boolean, value: !1, sync: !0 }, _fullscreenMediaQuery: { value: "(max-width: 450px), (max-height: 450px)" }, i18n: { type: Object, sync: !0, value: () => ({ monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], firstDayOfWeek: 0, today: "Today", cancel: "Cancel", referenceDate: "", formatDate(e) {
|
|
13709
13726
|
const t = String(e.year).replace(/\d+/u, (r) => "0000".substr(r.length) + r);
|
|
@@ -13851,7 +13868,7 @@ const pm = (i) => class extends Bt(fe(ki(da(Fe(i))))) {
|
|
|
13851
13868
|
this.value = t;
|
|
13852
13869
|
return;
|
|
13853
13870
|
}
|
|
13854
|
-
e ?
|
|
13871
|
+
e ? ye(this._selectedDate, r) || (this._selectedDate = r, t !== void 0 && this.validate()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
|
|
13855
13872
|
}
|
|
13856
13873
|
__updateOverlayContent(e, t, r, a, o, n, s, l, d) {
|
|
13857
13874
|
e && (e.i18n = t, e.label = r, e.minDate = a, e.maxDate = o, e.focusedDate = n, e.selectedDate = s, e.showWeekNumbers = l, e.isDateDisabled = d);
|
|
@@ -13948,7 +13965,7 @@ const pm = (i) => class extends Bt(fe(ki(da(Fe(i))))) {
|
|
|
13948
13965
|
_onInput() {
|
|
13949
13966
|
if (!this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open(), this._inputElementValue) {
|
|
13950
13967
|
const e = this.__parseDate(this._inputElementValue);
|
|
13951
|
-
e && (this._ignoreFocusedDateChange = !0,
|
|
13968
|
+
e && (this._ignoreFocusedDateChange = !0, ye(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1);
|
|
13952
13969
|
}
|
|
13953
13970
|
}
|
|
13954
13971
|
__computeMinOrMaxDate(e) {
|
|
@@ -14035,7 +14052,7 @@ class fm extends pm(Ai(N(se(E)))) {
|
|
|
14035
14052
|
ready() {
|
|
14036
14053
|
super.ready(), this.addController(new Rt(this, (e) => {
|
|
14037
14054
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
14038
|
-
}, { uniqueIdPrefix: "search-input" })), this.addController(new Ft(this.inputElement, this._labelController)), this._tooltipController = new
|
|
14055
|
+
}, { uniqueIdPrefix: "search-input" })), this.addController(new Ft(this.inputElement, this._labelController)), this._tooltipController = new xe(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
14039
14056
|
}
|
|
14040
14057
|
_onVaadinOverlayClose(e) {
|
|
14041
14058
|
e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this) && e.preventDefault();
|
|
@@ -14053,7 +14070,7 @@ w(fm);
|
|
|
14053
14070
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
14054
14071
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14055
14072
|
*/
|
|
14056
|
-
g("vaadin-text-field",
|
|
14073
|
+
g("vaadin-text-field", Be, { moduleId: "lumo-text-field-styles" });
|
|
14057
14074
|
/**
|
|
14058
14075
|
* @license
|
|
14059
14076
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -14158,7 +14175,7 @@ class ms extends _m(N(se(E))) {
|
|
|
14158
14175
|
return { maxlength: { type: Number }, minlength: { type: Number } };
|
|
14159
14176
|
}
|
|
14160
14177
|
ready() {
|
|
14161
|
-
super.ready(), this._tooltipController = new
|
|
14178
|
+
super.ready(), this._tooltipController = new xe(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
|
|
14162
14179
|
}
|
|
14163
14180
|
}
|
|
14164
14181
|
w(ms);
|
|
@@ -14206,7 +14223,7 @@ const bm = f`
|
|
|
14206
14223
|
display: none !important;
|
|
14207
14224
|
}
|
|
14208
14225
|
`;
|
|
14209
|
-
g("vaadin-password-field", [
|
|
14226
|
+
g("vaadin-password-field", [Be, bm], { moduleId: "lumo-password-field" });
|
|
14210
14227
|
/**
|
|
14211
14228
|
* @license
|
|
14212
14229
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -14227,7 +14244,7 @@ w(ym);
|
|
|
14227
14244
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14228
14245
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14229
14246
|
*/
|
|
14230
|
-
const wm = (i) => class extends hs(at(
|
|
14247
|
+
const wm = (i) => class extends hs(at(He(zt(i)))) {
|
|
14231
14248
|
static get properties() {
|
|
14232
14249
|
return { revealButtonHidden: { type: Boolean, observer: "_revealButtonHiddenChanged", value: !1 }, passwordVisible: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "_passwordVisibleChanged", readOnly: !0 }, i18n: { type: Object, value: () => ({ reveal: "Show password" }) } };
|
|
14233
14250
|
}
|
|
@@ -14503,7 +14520,7 @@ const vs = f`
|
|
|
14503
14520
|
margin-inline: auto 0;
|
|
14504
14521
|
}
|
|
14505
14522
|
`;
|
|
14506
|
-
g("vaadin-combo-box-overlay", [ot,
|
|
14523
|
+
g("vaadin-combo-box-overlay", [ot, Ii, _s, vs, gs, f`
|
|
14507
14524
|
:host {
|
|
14508
14525
|
--_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
14509
14526
|
--_vaadin-combo-box-items-container-border-style: solid;
|
|
@@ -14514,7 +14531,7 @@ const km = f`
|
|
|
14514
14531
|
content: var(--lumo-icons-dropdown);
|
|
14515
14532
|
}
|
|
14516
14533
|
`;
|
|
14517
|
-
g("vaadin-combo-box", [
|
|
14534
|
+
g("vaadin-combo-box", [Be, km], { moduleId: "lumo-combo-box" });
|
|
14518
14535
|
/**
|
|
14519
14536
|
* @license
|
|
14520
14537
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
@@ -14618,7 +14635,7 @@ const ys = (i) => class extends ta(i) {
|
|
|
14618
14635
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
14619
14636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14620
14637
|
*/
|
|
14621
|
-
const
|
|
14638
|
+
const Im = f`
|
|
14622
14639
|
#overlay {
|
|
14623
14640
|
width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
|
|
14624
14641
|
}
|
|
@@ -14629,8 +14646,8 @@ const Sm = f`
|
|
|
14629
14646
|
height: 100%;
|
|
14630
14647
|
}
|
|
14631
14648
|
`;
|
|
14632
|
-
g("vaadin-combo-box-overlay", [$t,
|
|
14633
|
-
class
|
|
14649
|
+
g("vaadin-combo-box-overlay", [$t, Im], { moduleId: "vaadin-combo-box-overlay-styles" });
|
|
14650
|
+
class Sm extends ys(Ht(ne(N(E)))) {
|
|
14634
14651
|
static get is() {
|
|
14635
14652
|
return "vaadin-combo-box-overlay";
|
|
14636
14653
|
}
|
|
@@ -14644,7 +14661,7 @@ class Im extends ys(Ht(ne(N(E)))) {
|
|
|
14644
14661
|
`;
|
|
14645
14662
|
}
|
|
14646
14663
|
}
|
|
14647
|
-
w(
|
|
14664
|
+
w(Sm);
|
|
14648
14665
|
/**
|
|
14649
14666
|
* @license
|
|
14650
14667
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
@@ -15142,7 +15159,7 @@ class Dm {
|
|
|
15142
15159
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
15143
15160
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15144
15161
|
*/
|
|
15145
|
-
const
|
|
15162
|
+
const Te = class {
|
|
15146
15163
|
toString() {
|
|
15147
15164
|
return "";
|
|
15148
15165
|
}
|
|
@@ -15185,7 +15202,7 @@ const xs = (i) => class extends i {
|
|
|
15185
15202
|
s > 0 && (this.scrollTop += s);
|
|
15186
15203
|
}
|
|
15187
15204
|
_isItemSelected(e, t, r) {
|
|
15188
|
-
return e instanceof
|
|
15205
|
+
return e instanceof Te ? !1 : r && e !== void 0 && t !== void 0 ? _i(r, e) === _i(r, t) : e === t;
|
|
15189
15206
|
}
|
|
15190
15207
|
__initVirtualizer() {
|
|
15191
15208
|
this.__virtualizer = new Dm({ createElements: this.__createElements.bind(this), updateElement: this._updateElement.bind(this), elementsContainer: this, scrollTarget: this, scrollContainer: this.$.selector, reorderElements: !0 });
|
|
@@ -15219,7 +15236,7 @@ const xs = (i) => class extends i {
|
|
|
15219
15236
|
}
|
|
15220
15237
|
_updateElement(e, t) {
|
|
15221
15238
|
const r = this.items[t], a = this.focusedIndex, o = this._isItemSelected(r, this.selectedItem, this.itemIdPath);
|
|
15222
|
-
e.setProperties({ item: r, index: t, label: this.getItemLabel(r), selected: o, renderer: this.renderer, focused: !this.loading && a === t }), typeof this.itemClassNameGenerator == "function" ? e.className = this.itemClassNameGenerator(r) : e.className !== "" && (e.className = ""), e.performUpdate && !e.hasUpdated && e.performUpdate(), e.id = `${this.__hostTagName}-item-${t}`, e.setAttribute("role", t !== void 0 ? "option" : !1), e.setAttribute("aria-selected", o.toString()), e.setAttribute("aria-posinset", t + 1), e.setAttribute("aria-setsize", this.items.length), this.theme ? e.setAttribute("theme", this.theme) : e.removeAttribute("theme"), r instanceof
|
|
15239
|
+
e.setProperties({ item: r, index: t, label: this.getItemLabel(r), selected: o, renderer: this.renderer, focused: !this.loading && a === t }), typeof this.itemClassNameGenerator == "function" ? e.className = this.itemClassNameGenerator(r) : e.className !== "" && (e.className = ""), e.performUpdate && !e.hasUpdated && e.performUpdate(), e.id = `${this.__hostTagName}-item-${t}`, e.setAttribute("role", t !== void 0 ? "option" : !1), e.setAttribute("aria-selected", o.toString()), e.setAttribute("aria-posinset", t + 1), e.setAttribute("aria-setsize", this.items.length), this.theme ? e.setAttribute("theme", this.theme) : e.removeAttribute("theme"), r instanceof Te && this.__requestItemByIndex(t);
|
|
15223
15240
|
}
|
|
15224
15241
|
__onItemClick(e) {
|
|
15225
15242
|
this.dispatchEvent(new CustomEvent("selection-changed", { detail: { item: e.currentTarget.item } }));
|
|
@@ -15509,7 +15526,7 @@ const Es = (i) => class extends i {
|
|
|
15509
15526
|
return ["_dataProviderFilterChanged(filter)", "_warnDataProviderValue(dataProvider, value)", "_ensureFirstPage(opened)"];
|
|
15510
15527
|
}
|
|
15511
15528
|
constructor() {
|
|
15512
|
-
super(), this.__dataProviderController = new Mm(this, { placeholder: new
|
|
15529
|
+
super(), this.__dataProviderController = new Mm(this, { placeholder: new Te(), isPlaceholder: (e) => e instanceof Te, dataProviderParams: () => ({ filter: this.filter }) }), this.__dataProviderController.addEventListener("page-requested", this.__onDataProviderPageRequested.bind(this)), this.__dataProviderController.addEventListener("page-loaded", this.__onDataProviderPageLoaded.bind(this));
|
|
15513
15530
|
}
|
|
15514
15531
|
ready() {
|
|
15515
15532
|
super.ready(), this._scroller.addEventListener("index-requested", (e) => {
|
|
@@ -15596,13 +15613,13 @@ function Di(i) {
|
|
|
15596
15613
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
15597
15614
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15598
15615
|
*/
|
|
15599
|
-
function
|
|
15616
|
+
function Io(i) {
|
|
15600
15617
|
return i != null;
|
|
15601
15618
|
}
|
|
15602
|
-
function
|
|
15603
|
-
return i.findIndex((t) => t instanceof
|
|
15619
|
+
function So(i, e) {
|
|
15620
|
+
return i.findIndex((t) => t instanceof Te ? !1 : e(t));
|
|
15604
15621
|
}
|
|
15605
|
-
const
|
|
15622
|
+
const Is = (i) => class extends Bt(ve(Kr(He($e(zt(at(i))))))) {
|
|
15606
15623
|
static get properties() {
|
|
15607
15624
|
return { opened: { type: Boolean, notify: !0, value: !1, reflectToAttribute: !0, sync: !0, observer: "_openedChanged" }, autoOpenDisabled: { type: Boolean, sync: !0 }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, renderer: { type: Object, sync: !0 }, items: { type: Array, sync: !0, observer: "_itemsChanged" }, allowCustomValue: { type: Boolean, value: !1 }, filteredItems: { type: Array, observer: "_filteredItemsChanged", sync: !0 }, _lastCommittedValue: String, loading: { type: Boolean, value: !1, reflectToAttribute: !0, sync: !0 }, _focusedIndex: { type: Number, observer: "_focusedIndexChanged", value: -1, sync: !0 }, filter: { type: String, value: "", notify: !0, sync: !0 }, selectedItem: { type: Object, notify: !0, sync: !0 }, itemClassNameGenerator: { type: Object }, itemLabelPath: { type: String, value: "label", observer: "_itemLabelPathChanged", sync: !0 }, itemValuePath: { type: String, value: "value", sync: !0 }, itemIdPath: { type: String, sync: !0 }, _toggleElement: { type: Object, observer: "_toggleElementChanged" }, _dropdownItems: { type: Array, sync: !0 }, _closeOnBlurIsPrevented: Boolean, _scroller: { type: Object, sync: !0 }, _overlayOpened: { type: Boolean, sync: !0, observer: "_overlayOpenedChanged" }, __keepOverlayOpened: { type: Boolean, sync: !0 } };
|
|
15608
15625
|
}
|
|
@@ -15853,7 +15870,7 @@ const Ss = (i) => class extends Bt(fe(Kr($e(Fe(zt(at(i))))))) {
|
|
|
15853
15870
|
}
|
|
15854
15871
|
}
|
|
15855
15872
|
_valueChanged(e, t) {
|
|
15856
|
-
e === "" && t === void 0 || (
|
|
15873
|
+
e === "" && t === void 0 || (Io(e) ? (this._getItemValue(this.selectedItem) !== e && this._selectItemForValue(e), !this.selectedItem && this.allowCustomValue && (this._inputElementValue = e), this._toggleHasValue(this._hasValue)) : this.selectedItem = null, this._clearFilter(), this._lastCommittedValue = void 0);
|
|
15857
15874
|
}
|
|
15858
15875
|
_detectAndDispatchChange() {
|
|
15859
15876
|
document.hasFocus() && this.validate(), this.value !== this._lastCommittedValue && (this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })), this._lastCommittedValue = this.value);
|
|
@@ -15888,13 +15905,13 @@ const Ss = (i) => class extends Bt(fe(Kr($e(Fe(zt(at(i))))))) {
|
|
|
15888
15905
|
this._scroller && this._scroller.scrollIntoView(e);
|
|
15889
15906
|
}
|
|
15890
15907
|
__getItemIndexByValue(e, t) {
|
|
15891
|
-
return !e || !
|
|
15908
|
+
return !e || !Io(t) ? -1 : So(e, (r) => this._getItemValue(r) === t);
|
|
15892
15909
|
}
|
|
15893
15910
|
__getItemIndexByLabel(e, t) {
|
|
15894
|
-
return !e || !t ? -1 :
|
|
15911
|
+
return !e || !t ? -1 : So(e, (r) => this._getItemLabel(r).toString().toLowerCase() === t.toString().toLowerCase());
|
|
15895
15912
|
}
|
|
15896
15913
|
_overlaySelectedItemChanged(e) {
|
|
15897
|
-
e.stopPropagation(), !(e.detail.item instanceof
|
|
15914
|
+
e.stopPropagation(), !(e.detail.item instanceof Te) && this.opened && (this._focusedIndex = this.filteredItems.indexOf(e.detail.item), this.close());
|
|
15898
15915
|
}
|
|
15899
15916
|
_setFocused(e) {
|
|
15900
15917
|
if (super._setFocused(e), !e && !this.readonly && !this._closeOnBlurIsPrevented) {
|
|
@@ -15922,7 +15939,7 @@ const Ss = (i) => class extends Bt(fe(Kr($e(Fe(zt(at(i))))))) {
|
|
|
15922
15939
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15923
15940
|
*/
|
|
15924
15941
|
g("vaadin-combo-box", Ti, { moduleId: "vaadin-combo-box-styles" });
|
|
15925
|
-
class Nm extends Es(
|
|
15942
|
+
class Nm extends Es(Is(Vm(Ai(N(se(E)))))) {
|
|
15926
15943
|
static get is() {
|
|
15927
15944
|
return "vaadin-combo-box";
|
|
15928
15945
|
}
|
|
@@ -15983,7 +16000,7 @@ class Nm extends Es(Ss(Vm(Ai(N(se(E)))))) {
|
|
|
15983
16000
|
ready() {
|
|
15984
16001
|
super.ready(), this.addController(new Rt(this, (e) => {
|
|
15985
16002
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
15986
|
-
})), this.addController(new Ft(this.inputElement, this._labelController)), this._tooltipController = new
|
|
16003
|
+
})), this.addController(new Ft(this.inputElement, this._labelController)), this._tooltipController = new xe(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this._positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this._toggleElement = this.$.toggleButton;
|
|
15987
16004
|
}
|
|
15988
16005
|
_onClearButtonClick(e) {
|
|
15989
16006
|
e.stopPropagation(), super._onClearButtonClick(e);
|
|
@@ -16104,7 +16121,7 @@ const zm = f`
|
|
|
16104
16121
|
}
|
|
16105
16122
|
`;
|
|
16106
16123
|
g("vaadin-multi-select-combo-box-item", [Pi, fs, zm], { moduleId: "lumo-multi-select-combo-box-item" });
|
|
16107
|
-
g("vaadin-multi-select-combo-box-overlay", [ot,
|
|
16124
|
+
g("vaadin-multi-select-combo-box-overlay", [ot, Ii, _s, vs, gs, f`
|
|
16108
16125
|
:host {
|
|
16109
16126
|
--_vaadin-multi-select-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
16110
16127
|
--_vaadin-multi-select-combo-box-items-container-border-style: solid;
|
|
@@ -16169,7 +16186,7 @@ const Rm = f`
|
|
|
16169
16186
|
cursor: var(--lumo-clickable-cursor);
|
|
16170
16187
|
}
|
|
16171
16188
|
`;
|
|
16172
|
-
g("vaadin-multi-select-combo-box", [
|
|
16189
|
+
g("vaadin-multi-select-combo-box", [Be, Rm], { moduleId: "lumo-multi-select-combo-box" });
|
|
16173
16190
|
/**
|
|
16174
16191
|
* @license
|
|
16175
16192
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -16359,7 +16376,7 @@ class qm extends xs(E) {
|
|
|
16359
16376
|
super.ready(), this.setAttribute("aria-multiselectable", "true");
|
|
16360
16377
|
}
|
|
16361
16378
|
_isItemSelected(e, t, r) {
|
|
16362
|
-
return e instanceof
|
|
16379
|
+
return e instanceof Te || this.owner.readonly ? !1 : this.owner._findIndex(e, this.owner.selectedItems, r) > -1;
|
|
16363
16380
|
}
|
|
16364
16381
|
_updateElement(e, t) {
|
|
16365
16382
|
super._updateElement(e, t), e.toggleAttribute("readonly", this.owner.readonly);
|
|
@@ -16371,7 +16388,7 @@ w(qm);
|
|
|
16371
16388
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
16372
16389
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16373
16390
|
*/
|
|
16374
|
-
class jm extends Es(
|
|
16391
|
+
class jm extends Es(Is(N(E))) {
|
|
16375
16392
|
static get is() {
|
|
16376
16393
|
return "vaadin-multi-select-combo-box-internal";
|
|
16377
16394
|
}
|
|
@@ -16491,7 +16508,7 @@ class jm extends Es(Ss(N(E))) {
|
|
|
16491
16508
|
super._detectAndDispatchChange();
|
|
16492
16509
|
}
|
|
16493
16510
|
_overlaySelectedItemChanged(e) {
|
|
16494
|
-
e.stopPropagation(), !this.readonly && (e.detail.item instanceof
|
|
16511
|
+
e.stopPropagation(), !this.readonly && (e.detail.item instanceof Te || this.opened && (this.lastFilter = this.filter, this.dispatchEvent(new CustomEvent("combo-box-item-selected", { detail: { item: e.detail.item } }))));
|
|
16495
16512
|
}
|
|
16496
16513
|
_shouldFetchData() {
|
|
16497
16514
|
return this.readonly ? !1 : super._shouldFetchData();
|
|
@@ -16517,7 +16534,7 @@ const Zt = new ResizeObserver((i) => {
|
|
|
16517
16534
|
}) : e.target._onResize(e.contentRect);
|
|
16518
16535
|
});
|
|
16519
16536
|
});
|
|
16520
|
-
}),
|
|
16537
|
+
}), Ss = U((i) => class extends i {
|
|
16521
16538
|
get _observeParent() {
|
|
16522
16539
|
return !1;
|
|
16523
16540
|
}
|
|
@@ -16583,7 +16600,7 @@ const Wm = f`
|
|
|
16583
16600
|
}
|
|
16584
16601
|
`;
|
|
16585
16602
|
g("vaadin-multi-select-combo-box", [Ti, Wm], { moduleId: "vaadin-multi-select-combo-box-styles" });
|
|
16586
|
-
class Ym extends
|
|
16603
|
+
class Ym extends Ss(Ai(N(se(E)))) {
|
|
16587
16604
|
static get is() {
|
|
16588
16605
|
return "vaadin-multi-select-combo-box";
|
|
16589
16606
|
}
|
|
@@ -16688,7 +16705,7 @@ class Ym extends Is(Ai(N(se(E)))) {
|
|
|
16688
16705
|
ready() {
|
|
16689
16706
|
super.ready(), this.addController(new Rt(this, (e) => {
|
|
16690
16707
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
16691
|
-
})), this.addController(new Ft(this.inputElement, this._labelController)), this._tooltipController = new
|
|
16708
|
+
})), this.addController(new Ft(this.inputElement, this._labelController)), this._tooltipController = new xe(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this._inputField = this.shadowRoot.querySelector('[part="input-field"]'), this._overflowController = new Z(this, "overflow", "vaadin-multi-select-combo-box-chip", { initializer: (e) => {
|
|
16692
16709
|
e.addEventListener("mousedown", (t) => this._preventBlur(t)), this._overflow = e;
|
|
16693
16710
|
} }), this.addController(this._overflowController), this.__updateChips(), Di(this);
|
|
16694
16711
|
}
|
|
@@ -17302,7 +17319,7 @@ class Xm extends N(E) {
|
|
|
17302
17319
|
super.ready(), this.setAttribute("role", "alert"), this.setAttribute("aria-live", "polite");
|
|
17303
17320
|
}
|
|
17304
17321
|
}
|
|
17305
|
-
class
|
|
17322
|
+
class be extends Bt(yi(se(E))) {
|
|
17306
17323
|
static get template() {
|
|
17307
17324
|
return k`
|
|
17308
17325
|
<style>
|
|
@@ -17323,20 +17340,20 @@ class ge extends Bt(yi(se(E))) {
|
|
|
17323
17340
|
return ["_durationChanged(duration, opened)", "_rendererChanged(renderer, opened, _overlayElement)"];
|
|
17324
17341
|
}
|
|
17325
17342
|
static show(e, t) {
|
|
17326
|
-
return Gm(e) ?
|
|
17343
|
+
return Gm(e) ? be._createAndShowNotification((r) => {
|
|
17327
17344
|
Jo(e, r);
|
|
17328
|
-
}, t) :
|
|
17345
|
+
}, t) : be._createAndShowNotification((r) => {
|
|
17329
17346
|
r.innerText = e;
|
|
17330
17347
|
}, t);
|
|
17331
17348
|
}
|
|
17332
17349
|
static _createAndShowNotification(e, t) {
|
|
17333
|
-
const r = document.createElement(
|
|
17350
|
+
const r = document.createElement(be.is);
|
|
17334
17351
|
return t && Number.isFinite(t.duration) && (r.duration = t.duration), t && t.position && (r.position = t.position), t && t.theme && r.setAttribute("theme", t.theme), r.renderer = e, document.body.appendChild(r), r.opened = !0, r.addEventListener("opened-changed", (a) => {
|
|
17335
17352
|
a.detail.value || r.remove();
|
|
17336
17353
|
}), r;
|
|
17337
17354
|
}
|
|
17338
17355
|
get _container() {
|
|
17339
|
-
return
|
|
17356
|
+
return be._container || (be._container = document.createElement("vaadin-notification-container"), document.body.appendChild(be._container)), be._container;
|
|
17340
17357
|
}
|
|
17341
17358
|
get _card() {
|
|
17342
17359
|
return this._overlayElement;
|
|
@@ -17404,7 +17421,7 @@ class ge extends Bt(yi(se(E))) {
|
|
|
17404
17421
|
}
|
|
17405
17422
|
w(Km);
|
|
17406
17423
|
w(Xm);
|
|
17407
|
-
w(
|
|
17424
|
+
w(be);
|
|
17408
17425
|
const As = f`
|
|
17409
17426
|
:host {
|
|
17410
17427
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -17472,7 +17489,7 @@ const Qm = f`
|
|
|
17472
17489
|
--_lumo-selected-item-padding: 0;
|
|
17473
17490
|
}
|
|
17474
17491
|
`;
|
|
17475
|
-
g("vaadin-select", [
|
|
17492
|
+
g("vaadin-select", [Be, Qm], { moduleId: "lumo-select" });
|
|
17476
17493
|
g("vaadin-select-value-button", f`
|
|
17477
17494
|
:host {
|
|
17478
17495
|
font-family: var(--lumo-font-family);
|
|
@@ -17536,7 +17553,7 @@ g("vaadin-select-overlay", [Qr, Jm], { moduleId: "lumo-select-overlay" });
|
|
|
17536
17553
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
17537
17554
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17538
17555
|
*/
|
|
17539
|
-
const Ts = (i) => class extends Br(
|
|
17556
|
+
const Ts = (i) => class extends Br(He(i)) {
|
|
17540
17557
|
static get properties() {
|
|
17541
17558
|
return { _hasVaadinItemMixin: { value: !0 }, selected: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "_selectedChanged" }, _value: String };
|
|
17542
17559
|
}
|
|
@@ -17618,7 +17635,7 @@ function ef(i, e, t) {
|
|
|
17618
17635
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
17619
17636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17620
17637
|
*/
|
|
17621
|
-
const tf = (i) => class extends
|
|
17638
|
+
const tf = (i) => class extends $e(i) {
|
|
17622
17639
|
get focused() {
|
|
17623
17640
|
return (this._getItems() || []).find(jr);
|
|
17624
17641
|
}
|
|
@@ -17786,7 +17803,7 @@ const Ds = (i) => class extends tf(i) {
|
|
|
17786
17803
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
17787
17804
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17788
17805
|
*/
|
|
17789
|
-
class rf extends Ds(N(ne(
|
|
17806
|
+
class rf extends Ds(N(ne(ve(E)))) {
|
|
17790
17807
|
static get is() {
|
|
17791
17808
|
return "vaadin-select-list-box";
|
|
17792
17809
|
}
|
|
@@ -17999,7 +18016,7 @@ class hf extends Z {
|
|
|
17999
18016
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
18000
18017
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18001
18018
|
*/
|
|
18002
|
-
const cf = (i) => class extends Bt(ki(Wr(
|
|
18019
|
+
const cf = (i) => class extends Bt(ki(Wr($e(Ei(i))))) {
|
|
18003
18020
|
static get properties() {
|
|
18004
18021
|
return { items: { type: Array, observer: "__itemsChanged" }, opened: { type: Boolean, value: !1, notify: !0, reflectToAttribute: !0, sync: !0 }, renderer: { type: Object }, value: { type: String, value: "", notify: !0, observer: "_valueChanged" }, name: { type: String }, placeholder: { type: String }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, noVerticalOverlap: { type: Boolean, value: !1 }, _phone: Boolean, _phoneMediaQuery: { value: "(max-width: 450px), (max-height: 450px)" }, _inputContainer: Object, _items: Object };
|
|
18005
18022
|
}
|
|
@@ -18018,7 +18035,7 @@ const cf = (i) => class extends Bt(ki(Wr(Fe(Ei(i))))) {
|
|
|
18018
18035
|
ready() {
|
|
18019
18036
|
super.ready(), this._inputContainer = this.shadowRoot.querySelector('[part~="input-field"]'), this._valueButtonController = new hf(this), this.addController(this._valueButtonController), this.addController(this._srLabelController), this.addController(new la(this._phoneMediaQuery, (e) => {
|
|
18020
18037
|
this._phone = e;
|
|
18021
|
-
})), this._tooltipController = new
|
|
18038
|
+
})), this._tooltipController = new xe(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.focusElement), this.addController(this._tooltipController);
|
|
18022
18039
|
}
|
|
18023
18040
|
requestContentUpdate() {
|
|
18024
18041
|
this._overlayElement && (this._overlayElement.requestContentUpdate(), this._menuElement && this._menuElement.items && this._updateSelectedItem(this.value, this._menuElement.items));
|
|
@@ -18811,7 +18828,7 @@ const bf = (i) => class extends i {
|
|
|
18811
18828
|
* Copyright (c) 2018 - 2024 Vaadin Ltd.
|
|
18812
18829
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18813
18830
|
*/
|
|
18814
|
-
class yf extends bf(se(yi(
|
|
18831
|
+
class yf extends bf(se(yi(ve(E)))) {
|
|
18815
18832
|
static get template() {
|
|
18816
18833
|
return k`
|
|
18817
18834
|
<style>
|
|
@@ -19132,7 +19149,7 @@ const xf = f`
|
|
|
19132
19149
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19133
19150
|
*/
|
|
19134
19151
|
g("vaadin-tab", xf, { moduleId: "vaadin-tab-styles" });
|
|
19135
|
-
class Cf extends se(N(wf(
|
|
19152
|
+
class Cf extends se(N(wf(ve(E)))) {
|
|
19136
19153
|
static get template() {
|
|
19137
19154
|
return k`
|
|
19138
19155
|
<slot></slot>
|
|
@@ -19143,7 +19160,7 @@ class Cf extends se(N(wf(fe(E)))) {
|
|
|
19143
19160
|
return "vaadin-tab";
|
|
19144
19161
|
}
|
|
19145
19162
|
ready() {
|
|
19146
|
-
super.ready(), this._tooltipController = new
|
|
19163
|
+
super.ready(), this._tooltipController = new xe(this), this.addController(this._tooltipController);
|
|
19147
19164
|
}
|
|
19148
19165
|
}
|
|
19149
19166
|
w(Cf);
|
|
@@ -19391,7 +19408,7 @@ g("vaadin-tabs", f`
|
|
|
19391
19408
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
19392
19409
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19393
19410
|
*/
|
|
19394
|
-
const kf = (i) => class extends
|
|
19411
|
+
const kf = (i) => class extends Ss(Ds(i)) {
|
|
19395
19412
|
static get properties() {
|
|
19396
19413
|
return { orientation: { value: "horizontal", type: String, reflectToAttribute: !0, sync: !0 }, selected: { value: 0, type: Number } };
|
|
19397
19414
|
}
|
|
@@ -19553,7 +19570,7 @@ const Ef = f`
|
|
|
19553
19570
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19554
19571
|
*/
|
|
19555
19572
|
g("vaadin-tabs", Ef, { moduleId: "vaadin-tabs-styles" });
|
|
19556
|
-
class
|
|
19573
|
+
class If extends kf(se(N(E))) {
|
|
19557
19574
|
static get template() {
|
|
19558
19575
|
return k`
|
|
19559
19576
|
<div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
|
|
@@ -19569,8 +19586,8 @@ class Sf extends kf(se(N(E))) {
|
|
|
19569
19586
|
return "vaadin-tabs";
|
|
19570
19587
|
}
|
|
19571
19588
|
}
|
|
19572
|
-
w(
|
|
19573
|
-
const
|
|
19589
|
+
w(If);
|
|
19590
|
+
const Sf = ":host{display:block;height:100%}", Af = Sf, Tf = class {
|
|
19574
19591
|
constructor(i) {
|
|
19575
19592
|
ee(this, i), this.registrationWidgetLoaded = P(this, "registrationWidgetLoaded"), this.setClientStyling = () => {
|
|
19576
19593
|
let e = document.createElement("style");
|
|
@@ -19722,7 +19739,7 @@ const Pf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
19722
19739
|
}
|
|
19723
19740
|
render() {
|
|
19724
19741
|
let i = "";
|
|
19725
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "aea370172d0e55d32dc665a1c340c734334e1caf", class: `number__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "10e16d10b956c5a647bc68ecffbc2eb0b06fa92a", class: "number__wrapper--flex" }, u("label", { key: "0827d47c7278c6fdf8ebdd1dff03b91c39be6812", class: `number__label ${this.validation.mandatory ? "number__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "cb868d01e8555f5e3333240f54d86f0a56641d0f", class: "number__wrapper--relative" }, this.tooltip && u("img", { key: "1aa2b16b59f4bfd4b1dadf2641ec6cb4cfc251bf", class: "number__tooltip-icon", src:
|
|
19742
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "aea370172d0e55d32dc665a1c340c734334e1caf", class: `number__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "10e16d10b956c5a647bc68ecffbc2eb0b06fa92a", class: "number__wrapper--flex" }, u("label", { key: "0827d47c7278c6fdf8ebdd1dff03b91c39be6812", class: `number__label ${this.validation.mandatory ? "number__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "cb868d01e8555f5e3333240f54d86f0a56641d0f", class: "number__wrapper--relative" }, this.tooltip && u("img", { key: "1aa2b16b59f4bfd4b1dadf2641ec6cb4cfc251bf", class: "number__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "365b70a2eb333878d367d1d414ee0e296c91b3ec", ref: (e) => this.inputReference = e, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${i}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "a8639df7ef1e98807a7daffc9da4afd347b1c292", class: "number__error-message" }, this.errorMessage));
|
|
19726
19743
|
}
|
|
19727
19744
|
static get watchers() {
|
|
19728
19745
|
return {
|
|
@@ -20084,7 +20101,7 @@ const Vf = `*,
|
|
|
20084
20101
|
}
|
|
20085
20102
|
render() {
|
|
20086
20103
|
let i = "";
|
|
20087
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "fe895585dd908f75eee4ba797dc9c02b237bed7f", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "844bdb3dab98e62cc5d92a761b85adcdc44831d0", class: "password__wrapper--flex" }, u("label", { key: "28041267a6df666e7df3660a907f995eff092ae1", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "79c300643134802f04d8f909fe7bb3895911c88a", class: "password__wrapper--relative" }, this.tooltip && u("img", { key: "43ae58549e42ba59054162c25887ec36eb826aaa", class: "password__tooltip-icon", src:
|
|
20104
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "fe895585dd908f75eee4ba797dc9c02b237bed7f", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "844bdb3dab98e62cc5d92a761b85adcdc44831d0", class: "password__wrapper--flex" }, u("label", { key: "28041267a6df666e7df3660a907f995eff092ae1", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "79c300643134802f04d8f909fe7bb3895911c88a", class: "password__wrapper--relative" }, this.tooltip && u("img", { key: "43ae58549e42ba59054162c25887ec36eb826aaa", class: "password__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("vaadin-password-field", { key: "0edcfed0ea65666537240f531e5239bd5b11181e", type: "password", id: `${this.name}__input`, class: `password__input ${i}`, 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 }), !this.noValidation && u("small", { key: "c8aeba074e66b771d745194fec535aa0b82de6d8", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && (this.enableSouthAfricanMode ? this.renderCustomComplexityPopup() : this.renderComplexityPopup()));
|
|
20088
20105
|
}
|
|
20089
20106
|
get element() {
|
|
20090
20107
|
return Mt(this);
|
|
@@ -20222,9 +20239,15 @@ const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
20222
20239
|
if (!this.touched)
|
|
20223
20240
|
return "";
|
|
20224
20241
|
if (this.inputReference.validity.valueMissing)
|
|
20225
|
-
return b(
|
|
20226
|
-
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
20227
|
-
|
|
20242
|
+
return b(de.REQUIRED, this.language);
|
|
20243
|
+
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong) {
|
|
20244
|
+
const { minLength: t, maxLength: r } = this.validation;
|
|
20245
|
+
return t === r ? b(de.FIXED_LENGTH, this.language, {
|
|
20246
|
+
values: { length: t }
|
|
20247
|
+
}) : b(de.LENGTH, this.language, {
|
|
20248
|
+
values: { minLength: t, maxLength: r }
|
|
20249
|
+
});
|
|
20250
|
+
}
|
|
20228
20251
|
if (this.inputReference.value.match(this.validationPattern) == null) {
|
|
20229
20252
|
const t = (i = this.validation.custom.find((a) => a.rule === "regex")) === null || i === void 0 ? void 0 : i.errorKey, r = (e = this.validation.custom.find((a) => a.rule === "regex")) === null || e === void 0 ? void 0 : e.errorMessage;
|
|
20230
20253
|
return b(`${t}`, this.language) || r;
|
|
@@ -20245,7 +20268,7 @@ const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
20245
20268
|
let t = "";
|
|
20246
20269
|
this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid");
|
|
20247
20270
|
let r = this.selectedCountryCode === "UK" || this.selectedCountryCode === "GB" || this.ignoreCountry, a = ((i = this.addresses) === null || i === void 0 ? void 0 : i.length) > 0 && this.openAddressDropdown && r, o = this.showNoResultsMessage && this.currentPostalCode && this.currentPostalCode.length >= this.postalcodelength && ((e = this.addresses) === null || e === void 0 ? void 0 : e.length) === 0 && r, n = this.isFetchingAddresses && this.currentPostalCode.length >= this.postalcodelength;
|
|
20248
|
-
return u("div", { key: "
|
|
20271
|
+
return u("div", { key: "e358dddfc4b20b0847d03e3f12ff637922470105", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (s) => this.stylingContainer = s }, u("div", { key: "b806cac9ad62480a1be6bf802528c60c79804e94", class: "text__wrapper--flex" }, u("label", { key: "4fb327989e8b828559c01601eea47bdd58da4bd3", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "6c293495a8935db477cbcac2eb9102bffeb85ddb", class: "text__wrapper--relative" }, this.tooltip && u("img", { key: "848bb5b44d834c4f0e4a78cfebef0ecf1b88fd2e", class: "text__tooltip-icon", src: he, alt: "", ref: (s) => this.tooltipIconReference = s, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "7f6195e5cfc5bfabc9854ec6acc19c1e52e70f1b", class: "input__text-wrapper" }, u("input", { key: "4369b4a99016a7aebbb396bdda35c31d92e4d557", name: this.name, id: `${this.name}__input`, value: this.determineInputValue(), type: "text", class: `text__input ${t}`, placeholder: `${this.placeholder}`, ref: (s) => this.inputReference = s, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.maxPostalCodeLength, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !r && u("p", { key: "0e3c0fcb974d2f3dae76f9afdbf173fcc25d258f", class: "address__manual-input-msg", onClick: () => this.enterAddressManually() }, b("enterIEAddressManually", this.language)), a && u("div", { key: "1c644f87f2617180e6356c724d72b6d3fc8e472e", class: "input__addresses-container", ref: (s) => this.addressesDropdownRef = s }, u("div", { key: "f2a7b8133908441a3cf67eb48928a2d61d17e32f", class: "options" }, this.addresses.map((s, l) => u("div", { key: l, class: "option", onClick: (d) => this.handlePostalCode(d, s) }, s.number, " ", s.street, " ", s.city)))), n && u("div", { key: "c0cb29f7d174ca8981c8b9dfd2ee9b972b0fd1ea", class: "postalcode__loading-spinner" }, u("div", { key: "76f17cb0a440f7ed9cc8de3620b55136549586e6", class: "loading-spinner" }), u("span", { key: "e10c4177fb0f21f142fd3120177e450413687cf3" }, b("searchingForAddresses", this.language))), o && u("div", { key: "f729f6206cc900a2c94e3df0e8b08cc3dc5b751f", class: "postalcode__no-results-message" }, b("postalLookUpNoAddressFound", this.language))), u("small", { key: "c8a79e601f22444b34dc7d037c94f92875f51aad", class: "text__error-message" }, this.errorMessage));
|
|
20249
20272
|
}
|
|
20250
20273
|
static get watchers() {
|
|
20251
20274
|
return {
|
|
@@ -20300,7 +20323,7 @@ const Ff = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
20300
20323
|
return this.showTooltip ? u("div", { class: `radio__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
20301
20324
|
}
|
|
20302
20325
|
render() {
|
|
20303
|
-
return u("fieldset", { key: "33493de460303a32a37d253a0fd5f9da59676542", class: `radio__fieldset ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("legend", { key: "8aef7aa84a119742e05d72d976c936a560154b3f", class: "radio__legend" }, this.displayName, ":"), this.optionsGroup.map((i) => u("div", { class: "radio__wrapper" }, u("input", { type: "radio", class: "radio__input", id: `${i.label}__input`, ref: (e) => this.inputReference = e, value: i.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), u("label", { htmlFor: `${i.label}__input` }, i.label))), u("small", { key: "bec44ed4007e408ddeb0b0293b82e034c8e165f2", class: "radio__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "a3b0a041beabe3f14661c0af8cd970040d060435", class: "radio__tooltip-icon", src:
|
|
20326
|
+
return u("fieldset", { key: "33493de460303a32a37d253a0fd5f9da59676542", class: `radio__fieldset ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("legend", { key: "8aef7aa84a119742e05d72d976c936a560154b3f", class: "radio__legend" }, this.displayName, ":"), this.optionsGroup.map((i) => u("div", { class: "radio__wrapper" }, u("input", { type: "radio", class: "radio__input", id: `${i.label}__input`, ref: (e) => this.inputReference = e, value: i.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), u("label", { htmlFor: `${i.label}__input` }, i.label))), u("small", { key: "bec44ed4007e408ddeb0b0293b82e034c8e165f2", class: "radio__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "a3b0a041beabe3f14661c0af8cd970040d060435", class: "radio__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
20304
20327
|
}
|
|
20305
20328
|
static get watchers() {
|
|
20306
20329
|
return {
|
|
@@ -20401,7 +20424,7 @@ const Bf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
|
|
|
20401
20424
|
render() {
|
|
20402
20425
|
var i, e;
|
|
20403
20426
|
let t = "";
|
|
20404
|
-
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "b0ed504667761e5fd77e0ac13382b467448a1944", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (r) => this.stylingContainer = r }, u("div", { key: "b48d38dc4c2cb3442ff6773a1b1d13191ec4d0e6", class: "select__wrapper--flex" }, u("label", { key: "ad592c8c98ecbec1961d22cdfeb8cec910291ea8", class: "select__label", htmlFor: `${this.name}__input` }, this.displayName, u("span", { key: "b3c0f2fe9a2d26ade1626878ed9bc1f0b86a23ad", class: this.validation.mandatory ? "select__label--required" : "" })), u("div", { key: "29d0f504d0f51175818dffffb882ac4e6e9c3bde", class: "select__wrapper--relative" }, this.tooltip && u("img", { key: "66e524ffebc43f9418e90b3bd2d7ae62eba47da3", class: "select__tooltip-icon", src:
|
|
20427
|
+
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "b0ed504667761e5fd77e0ac13382b467448a1944", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (r) => this.stylingContainer = r }, u("div", { key: "b48d38dc4c2cb3442ff6773a1b1d13191ec4d0e6", class: "select__wrapper--flex" }, u("label", { key: "ad592c8c98ecbec1961d22cdfeb8cec910291ea8", class: "select__label", htmlFor: `${this.name}__input` }, this.displayName, u("span", { key: "b3c0f2fe9a2d26ade1626878ed9bc1f0b86a23ad", class: this.validation.mandatory ? "select__label--required" : "" })), u("div", { key: "29d0f504d0f51175818dffffb882ac4e6e9c3bde", class: "select__wrapper--relative" }, this.tooltip && u("img", { key: "66e524ffebc43f9418e90b3bd2d7ae62eba47da3", class: "select__tooltip-icon", src: he, alt: "", ref: (r) => this.tooltipIconReference = r, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), this.isComboBox ? u("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${t} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", ref: (r) => this.vaadinCombo = r, readOnly: this.autofilled, required: (i = this.validation) === null || i === void 0 ? void 0 : i.mandatory, value: this.value, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleComboChange, onBlur: this.handleBlur }) : u("vaadin-select", { name: this.name, popover: !1, id: `${this.name}__input`, class: `select__input ${t} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", ref: (r) => this.vaadinCombo = r, readOnly: this.autofilled, required: (e = this.validation) === null || e === void 0 ? void 0 : e.mandatory, value: this.value, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleSelectChange, "no-vertical-overlap": !0, noVerticalOverlap: !0 }), u("small", { key: "0143b538740c3a8e9bfcab6bbb44660355c40cf7", class: "select__error-message" }, this.errorMessage));
|
|
20405
20428
|
}
|
|
20406
20429
|
static get watchers() {
|
|
20407
20430
|
return {
|
|
@@ -20492,13 +20515,18 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
20492
20515
|
setErrorMessage() {
|
|
20493
20516
|
var i, e;
|
|
20494
20517
|
if (this.inputReference.validity.patternMismatch) {
|
|
20495
|
-
const
|
|
20496
|
-
return b(`${
|
|
20518
|
+
const a = (i = this.validation.custom.find((n) => n.rule === "regex")) === null || i === void 0 ? void 0 : i.errorKey, o = (e = this.validation.custom.find((n) => n.rule === "regex")) === null || e === void 0 ? void 0 : e.errorMessage;
|
|
20519
|
+
return b(`${a}`, this.language) ? b(`${a}`, this.language) : o;
|
|
20497
20520
|
}
|
|
20498
|
-
|
|
20499
|
-
|
|
20521
|
+
const { minLength: t, maxLength: r } = this.validation;
|
|
20522
|
+
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong || t && this.phoneValue && this.phoneValue.length < t || r && this.phoneValue && this.phoneValue.length > r)
|
|
20523
|
+
return t === r ? b(de.FIXED_LENGTH, this.language, {
|
|
20524
|
+
values: { length: t }
|
|
20525
|
+
}) : b(de.LENGTH, this.language, {
|
|
20526
|
+
values: { minLength: t, maxLength: r }
|
|
20527
|
+
});
|
|
20500
20528
|
if (this.inputReference.validity.valueMissing)
|
|
20501
|
-
return b(
|
|
20529
|
+
return b(de.REQUIRED, this.language);
|
|
20502
20530
|
}
|
|
20503
20531
|
renderTooltip() {
|
|
20504
20532
|
return this.showTooltip ? u("div", { class: `tel__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
@@ -20506,7 +20534,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
20506
20534
|
render() {
|
|
20507
20535
|
var i;
|
|
20508
20536
|
let e = "";
|
|
20509
|
-
return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "
|
|
20537
|
+
return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "bf824bf310bec50746fb6b82cd8f7decbcfc284b", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "0b6c42e7aca5686f310ffdcecb96cf909e83521f", class: "tel__wrapper--flex-label" }, u("label", { key: "ddf2fa885ac53e7f337525357a7dce52f911213d", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "e21a84509b32f379bb3ce92137255caf99a86dc5", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "9ff0a8c19aa067c1e7799227617405e373b344e4", class: "tel__tooltip-icon", src: he, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "5db13af7e421480b89253970a5f2470f999c922d", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "164fe2bd2940bd5a251fda48b28f1af1bc3e78be", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "90ae038a383645d6579fb68bc5adbe8a2b1d676c", type: "tel", ref: (t) => this.inputReference = t, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: (i = this.phoneValue) !== null && i !== void 0 ? i : "", placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), u("small", { key: "a68f95384965384a67d042b89264dbda03f25b7a", class: "tel__error-message" }, this.errorMessage));
|
|
20510
20538
|
}
|
|
20511
20539
|
static get watchers() {
|
|
20512
20540
|
return {
|
|
@@ -20590,7 +20618,7 @@ const Gf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
20590
20618
|
}
|
|
20591
20619
|
validateDocument(i, e) {
|
|
20592
20620
|
const t = i.trim();
|
|
20593
|
-
return e === Q.PASSPORT ? Q.PASSPORT_NUMERIC_REGEX.test(t) ? { valid: !0 } : { valid: !1, errorKey:
|
|
20621
|
+
return e === Q.PASSPORT ? Q.PASSPORT_NUMERIC_REGEX.test(t) ? { valid: !0 } : { valid: !1, errorKey: de.PASSPORT_INVALID } : e === Q.SOUTH_AFRICAN_ID ? t.length !== Q.SOUTH_AFRICAN_ID_LENGTH ? { valid: !1, errorKey: de.SA_ID_LENGTH } : zs(t) ? { valid: !0 } : { valid: !1, errorKey: de.SA_ID_INVALID } : { valid: !0 };
|
|
20594
20622
|
}
|
|
20595
20623
|
updateValidationState() {
|
|
20596
20624
|
const i = this.isValidValue();
|
|
@@ -20624,12 +20652,12 @@ const Gf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
20624
20652
|
if (a === "" && !this.validation.mandatory)
|
|
20625
20653
|
return "";
|
|
20626
20654
|
if (this.inputReference.validity.valueMissing)
|
|
20627
|
-
return b(
|
|
20655
|
+
return b(de.REQUIRED, this.language);
|
|
20628
20656
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong) {
|
|
20629
|
-
const
|
|
20630
|
-
return o === n ? b(
|
|
20657
|
+
const { minLength: o, maxLength: n } = this.validation;
|
|
20658
|
+
return o === n ? b(de.FIXED_LENGTH, this.language, {
|
|
20631
20659
|
values: { length: o }
|
|
20632
|
-
}) : b(
|
|
20660
|
+
}) : b(de.LENGTH, this.language, {
|
|
20633
20661
|
values: { minLength: o, maxLength: n }
|
|
20634
20662
|
});
|
|
20635
20663
|
}
|
|
@@ -20648,7 +20676,7 @@ const Gf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
20648
20676
|
}
|
|
20649
20677
|
render() {
|
|
20650
20678
|
let i = "";
|
|
20651
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "
|
|
20679
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "aacb35e1808720cfdb24708254c01cb5be0fe6b6", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (e) => this.stylingContainer = e }, u("div", { key: "14a292cc7661d663698384d989d57d21786210b9", class: "text__wrapper--flex" }, u("label", { key: "c04b29364c4b54e9aad3036264044177e4a2dc51", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "eb8aee30e47241b533c7ca8fcb354c782b4e2be1", class: "text__wrapper--relative" }, this.tooltip && u("img", { key: "23d4b70d93910f43ce0ea54c1bcffd81dfc54ebc", class: "text__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "3f901d85111256370811f4abe51bcd5b2971b60c", name: this.name, id: `${this.name}__input`, value: this.value, type: "text", class: `text__input ${i}`, placeholder: `${this.placeholder}`, ref: (e) => this.inputReference = e, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.enableSouthAfricanMode ? "" : this.validation.minLength, maxlength: this.enableSouthAfricanMode ? "" : this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "1661215687f1eecd622b2610c3e056f45944fee3", class: "text__error-message" }, this.errorMessage));
|
|
20652
20680
|
}
|
|
20653
20681
|
static get watchers() {
|
|
20654
20682
|
return {
|
|
@@ -20713,7 +20741,7 @@ const Qf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
20713
20741
|
return this.showTooltip ? u("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
20714
20742
|
}
|
|
20715
20743
|
render() {
|
|
20716
|
-
return u("div", { key: "828751327e59e9649afc04c6c9f7a02ef7dcae8d", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "d02a2a6ef595aaf7142cbc6e9681394ee4db8fee", class: "togglecheckbox__wrapper--flex" }, u("input", { key: "fca6401ef6eb178f53471362444d54ed69086429", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (i) => this.checkboxReference = i, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), u("small", { key: "3781a8fdfeb719422693bcd541a4a3fe708e705a", class: "togglecheckbox__error-message" }, this.errorMessage), u("div", { key: "27a4c6b047cd332407ee40c82cf7be1914ed34c9", class: "togglecheckbox__wrapper--relative" }, this.tooltip && u("img", { key: "f1367d7e061d20ad68c24dfbe3147e6b67df746f", class: "togglecheckbox__tooltip-icon", src:
|
|
20744
|
+
return u("div", { key: "828751327e59e9649afc04c6c9f7a02ef7dcae8d", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "d02a2a6ef595aaf7142cbc6e9681394ee4db8fee", class: "togglecheckbox__wrapper--flex" }, u("input", { key: "fca6401ef6eb178f53471362444d54ed69086429", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (i) => this.checkboxReference = i, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), u("small", { key: "3781a8fdfeb719422693bcd541a4a3fe708e705a", class: "togglecheckbox__error-message" }, this.errorMessage), u("div", { key: "27a4c6b047cd332407ee40c82cf7be1914ed34c9", class: "togglecheckbox__wrapper--relative" }, this.tooltip && u("img", { key: "f1367d7e061d20ad68c24dfbe3147e6b67df746f", class: "togglecheckbox__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), u("div", { key: "98d42103554de4d14a65eafd1722bf9d587a27f1", class: `togglecheckbox__fields-wrapper ${this.showFields ? "" : "hidden"}` }, this.options.map((i) => u("general-input", { type: i.inputType, name: i.name, displayName: i.displayName, validation: i.validate, action: i.action || null, defaultValue: i.defaultValue, autofilled: i.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: i.tooltip, placeholder: i.placeholder == null ? "" : i.placeholder, ref: (e) => this.subFieldsObject[i.name] = e }))));
|
|
20717
20745
|
}
|
|
20718
20746
|
static get watchers() {
|
|
20719
20747
|
return {
|