@everymatrix/player-account-controller 1.72.1 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BHj50gej.js} +8 -8
- package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-INWUDrak.js} +8 -8
- package/components/PlayerAccountBettingHistory-6bdMRw7b.js +311 -0
- package/components/PlayerAccountBettingHistory-BG5_gjSl.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DVj3QpKW.js +310 -0
- package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-C5pUACUE.js} +1 -1
- package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DkxwtpuF.js} +1 -1
- package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-D2ApiUXV.js} +1 -1
- package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-vPc-BArB.js} +1 -1
- package/components/{PlayerAccountController-CqAFUuWU.js → PlayerAccountController-2uMVXSSQ.js} +25 -25
- package/components/{PlayerAccountController-DOrj81a0.js → PlayerAccountController-COFCcEvV.js} +25 -25
- package/components/{PlayerAccountController-BoNq7g_6.cjs → PlayerAccountController-SUrzo8aT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-BfrumTwY.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-DlA29Y4p.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-B8TPjC1F.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-BlVtbm__.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-DPu9x2H3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-cJf0myiC.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-BksqLS7V.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-eHfDDGZk.js} +1 -1
- package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-CE6Ej_rV.js} +2 -2
- package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Cp7Edaq0.js} +2 -2
- package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-CrjAmgmN.js} +31 -31
- package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-DYSDyLvm.js} +31 -31
- package/components/PlayerAccountNotifications-Cyle3r2h.cjs +1 -0
- package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-OyZ1fIUi.js} +21 -21
- package/components/PlayerAccountNotifications-qIJQNyMm.js +363 -0
- package/components/{PlayerAccountProductRestriction-Vl7EIMfJ.js → PlayerAccountProductRestriction-BZ2Y4yzU.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DvqI77xo.js → PlayerAccountProductRestriction-L-vR790T.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Dq7G7DeK.js → PlayerAccountSelfExclusion-7psd7i6U.js} +229 -230
- package/components/{PlayerAccountSelfExclusion-BUoFSg8L.js → PlayerAccountSelfExclusion-Bd8SgB7m.js} +256 -256
- package/components/{PlayerAccountSelfExclusion-CC2VhBEv.cjs → PlayerAccountSelfExclusion-Dq1gDgcx.cjs} +8 -8
- package/components/{PlayerAccountTimeout-BuNhODT0.cjs → PlayerAccountTimeout-CMLyedNs.cjs} +1 -1
- package/components/{PlayerAccountTimeout-o11NOFXb.js → PlayerAccountTimeout-Dby2FPrP.js} +3 -3
- package/components/{PlayerAccountTimeout-Brl7HCpJ.js → PlayerAccountTimeout-uyeQ1--8.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Dm5dcrFj.js → PlayerAccountTransactionsHistory-B5-KRVvB.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DMr6unVm.js → PlayerAccountTransactionsHistory-BWsoBgd6.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BBn9XxCH.cjs → PlayerAccountTransactionsHistory-Bn5gyj5f.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-C9i5xuOt.js} +2 -2
- package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-Cz3aqMcu.js} +2 -2
- package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-DatoS2En.js} +2 -2
- package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-lMeM3LSx.js} +2 -2
- package/components/{PlayerBonusHistory-CNQrPTXb.js → PlayerBonusHistory-BUUBhu5n.js} +4 -4
- package/components/{PlayerBonusHistory-IbQagu8m.js → PlayerBonusHistory-BVbwQ0Zf.js} +4 -4
- package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-BUYrlClk.js} +1 -1
- package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-CGqqlwlb.js} +1 -1
- package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-CTxatYEW.js} +1 -1
- package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-DQObc_n_.js} +1 -1
- package/components/{PlayerGamingHistory-DI45HNlI.js → PlayerGamingHistory-BAeIZw2u.js} +4 -4
- package/components/{PlayerGamingHistory-BBZLzVSS.js → PlayerGamingHistory-xZ8szCQB.js} +4 -4
- package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-CuGt7dq1.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-Dek0JuV2.js} +1 -1
- package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-BI4jNmXN.js} +1 -1
- package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-C4dNo9s-.js} +1 -1
- package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-8KkrG0sn.js} +1 -1
- package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CS9oAjTQ.js} +1 -1
- package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-Cw0GAF5l.js} +1 -1
- package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-D7aVTCre.js} +1 -1
- package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BPfYoISW.js} +1 -1
- package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-C7mFHGlW.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-OwR3eXhS.js → checkbox-group-input_15-BXx2eI5U.js} +453 -453
- package/stencil/{checkbox-group-input_15-Vwz1wSzH.js → checkbox-group-input_15-C6LpSObs.js} +452 -452
- package/stencil/{checkbox-group-input_15-rrNwAy0j.cjs → checkbox-group-input_15-DadoyfRo.cjs} +4 -4
- package/stencil/{index-13661b98-CmRNR-rV.js → index-13661b98-6KjWiAei.js} +1 -1
- package/stencil/{index-13661b98-DhWvmFjk.js → index-13661b98-DMsw1Rqj.js} +1 -1
- package/stencil/{index-13661b98-D5aIg_pY.cjs → index-13661b98-e0g0ZJ4Q.cjs} +1 -1
- package/stencil/{index-1ef3a64c-uiTzpR-U.cjs → index-1ef3a64c-B7_EyQDJ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-B5I86vac.js → index-1ef3a64c-BMK3b66v.js} +1 -1
- package/stencil/{index-1ef3a64c-DqUPq8OL.js → index-1ef3a64c-Cs1oM3tK.js} +1 -1
- package/stencil/{index-9c0f6c58-DmOKHEVq.cjs → index-9c0f6c58-CtHWkW4O.cjs} +1 -1
- package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-DxzXe6Kn.js} +1 -1
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-Hy2JqCeP.js} +1 -1
- package/stencil/{pam-change-password-dEbTDKG0.js → pam-change-password-CIhfcFNO.js} +1 -1
- package/stencil/{pam-change-password-CV0uMtXO.cjs → pam-change-password-CQIieVFW.cjs} +1 -1
- package/stencil/{pam-change-password-B4zuIndQ.js → pam-change-password-L1xQARTQ.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DAXvLl_6.cjs → pam-change-password-f4a1e7e7-B5NzEtGA.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CNFdEoO5.js → pam-change-password-f4a1e7e7-Br0FC_GU.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BdbrsvWx.js → pam-change-password-f4a1e7e7-bArCapa-.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BVPPMf62.cjs} +3 -2
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BX-zXzBh.js} +2 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-CvOTQFbs.js} +2 -1
- package/stencil/user-deposit-withdrawal-B5PikBDs.cjs +72 -0
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-BftWiELv.js} +14 -8
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-mAQqyXGF.js} +14 -8
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
- package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountNotifications-B0Nsdovh.js +0 -363
- package/components/PlayerAccountNotifications-aQgcZXcD.cjs +0 -1
- package/stencil/user-deposit-withdrawal-Du59X_-y.cjs +0 -68
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as te, c as F, h as
|
|
2
|
-
import { P as Eb } from "./pam-change-password-f4a1e7e7-
|
|
1
|
+
import { r as te, c as F, h as u, g as lo, H as Rs } from "./index-13661b98-DMsw1Rqj.js";
|
|
2
|
+
import { P as Eb } from "./pam-change-password-f4a1e7e7-bArCapa-.js";
|
|
3
3
|
const hd = "en", Bs = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -166,14 +166,14 @@ const hd = "en", Bs = {
|
|
|
166
166
|
o = o.replace(n, s);
|
|
167
167
|
}
|
|
168
168
|
return o;
|
|
169
|
-
},
|
|
169
|
+
}, cd = (i) => new Promise((e) => {
|
|
170
170
|
fetch(i).then((t) => t.json()).then((t) => {
|
|
171
171
|
Object.keys(t).forEach((r) => {
|
|
172
172
|
for (let o in t[r])
|
|
173
173
|
Bs[r][o] = t[r][o];
|
|
174
174
|
}), e(!0);
|
|
175
175
|
});
|
|
176
|
-
}), he = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==",
|
|
176
|
+
}), he = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==", ud = '*,*::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}', pd = ud, md = class {
|
|
177
177
|
constructor(i) {
|
|
178
178
|
te(this, i), this.sendValidityState = F(this, "sendValidityState"), this.sendInputValue = F(this, "sendInputValue"), this.value = null, this.setClientStyling = () => {
|
|
179
179
|
let e = document.createElement("style");
|
|
@@ -215,19 +215,19 @@ const hd = "en", Bs = {
|
|
|
215
215
|
return y("requiredError", this.language);
|
|
216
216
|
}
|
|
217
217
|
renderTooltip() {
|
|
218
|
-
return this.showTooltip ?
|
|
218
|
+
return this.showTooltip ? u("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
219
219
|
}
|
|
220
220
|
handleParentCheckbox(i) {
|
|
221
221
|
const e = i.target.checked;
|
|
222
222
|
this.showCheckboxes = e, this.selectedValues = e ? this.options.map((t) => t.name) : [];
|
|
223
223
|
}
|
|
224
224
|
renderLabel() {
|
|
225
|
-
return
|
|
225
|
+
return u("label", { class: "checkbox__label", htmlFor: `${this.name}__input`, slot: "label" }, u("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
|
|
226
226
|
}
|
|
227
227
|
render() {
|
|
228
|
-
return
|
|
228
|
+
return u("div", { key: "2eab716c27576d42a67d791b546022d58e89e21d", class: `checkboxgroup__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "9e246685583dd06a156d6b11308b2cb355d37d01", class: "checkboxgroup__wrapper--flex" }, u("vaadin-checkbox", { key: "ba6a64bdd1d1141407ed65213684d3b4d643effc", 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: "2c23ca2dfe4213d9287958b5e6f09f76e9e3b031", class: "checkboxgroup__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), u("small", { key: "3180a35a47e4b57d8634da2f516d0c5c71ee0e9f", class: "checkboxgroup__error-message" }, this.errorMessage), this.showCheckboxes && u("vaadin-checkbox-group", { key: "b28fee432aa7bffe6aedf708f1ce9603a52833de", theme: "vertical", value: this.selectedValues, "on-value-changed": (i) => {
|
|
229
229
|
this.selectedValues = i.detail.value;
|
|
230
|
-
} }, this.options.map((i) =>
|
|
230
|
+
} }, this.options.map((i) => u("vaadin-checkbox", { class: "checkbox__input", name: i.name, value: i.name, label: i.displayName }))));
|
|
231
231
|
}
|
|
232
232
|
get element() {
|
|
233
233
|
return lo(this);
|
|
@@ -242,7 +242,7 @@ const hd = "en", Bs = {
|
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
md.style = pd;
|
|
245
|
-
const _d = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input
|
|
245
|
+
const _d = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal;font-size:15px}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input[indeterminate]::part(checkbox)::after,.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding:0px;vertical-align:baseline}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}.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::part(required-indicator)::after{content:"*"}.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}', fd = _d, vd = class {
|
|
246
246
|
constructor(i) {
|
|
247
247
|
te(this, i), this.sendValidityState = F(this, "sendValidityState"), this.sendInputValue = F(this, "sendInputValue"), this.value = "", this.setClientStyling = () => {
|
|
248
248
|
let e = document.createElement("style");
|
|
@@ -271,10 +271,10 @@ const _d = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
|
|
|
271
271
|
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
|
|
272
272
|
}
|
|
273
273
|
componentDidLoad() {
|
|
274
|
-
this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value }));
|
|
274
|
+
this.inputReference = this.vaadinCheckbox.querySelector("input"), this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value }));
|
|
275
275
|
}
|
|
276
|
-
|
|
277
|
-
this.value =
|
|
276
|
+
handleCheckbox(i) {
|
|
277
|
+
this.value = i.target.checked.toString(), this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
278
278
|
}
|
|
279
279
|
setValidity() {
|
|
280
280
|
return this.inputReference.validity.valid;
|
|
@@ -284,13 +284,13 @@ const _d = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
|
|
|
284
284
|
return y("requiredError", this.language);
|
|
285
285
|
}
|
|
286
286
|
renderLabel() {
|
|
287
|
-
return
|
|
287
|
+
return u("label", { class: "checkbox__label", htmlFor: `${this.name}__input`, slot: "label" }, u("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
|
|
288
288
|
}
|
|
289
289
|
renderTooltip() {
|
|
290
|
-
return this.showTooltip ?
|
|
290
|
+
return this.showTooltip ? u("div", { class: `checkbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
291
291
|
}
|
|
292
292
|
render() {
|
|
293
|
-
return
|
|
293
|
+
return u("div", { key: "e9dfb4e2a6b99d740eaa7d94d1ff3aea9587bcc9", class: `checkbox__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("vaadin-checkbox", { key: "cc2a8d1c131bd04febf221538f01d7334169d92a", 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: "a94be7eefe15593f0cfa90d89bed1f536bd51103", class: "checkboxgroup__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
294
294
|
}
|
|
295
295
|
static get watchers() {
|
|
296
296
|
return {
|
|
@@ -385,30 +385,30 @@ function nt() {
|
|
|
385
385
|
function Be(i, e) {
|
|
386
386
|
var t, r, o, a, s, n, l, d;
|
|
387
387
|
H(1, arguments);
|
|
388
|
-
var h = nt(),
|
|
389
|
-
if (!(
|
|
388
|
+
var h = nt(), c = ee((t = (r = (o = (a = e == null ? void 0 : e.weekStartsOn) !== null && a !== void 0 ? a : e == null || (s = e.locale) === null || s === void 0 || (n = s.options) === null || n === void 0 ? void 0 : n.weekStartsOn) !== null && o !== void 0 ? o : 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);
|
|
389
|
+
if (!(c >= 0 && c <= 6))
|
|
390
390
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
391
|
-
var p = G(i), m = p.getUTCDay(), g = (m <
|
|
391
|
+
var p = G(i), m = p.getUTCDay(), g = (m < c ? 7 : 0) + m - c;
|
|
392
392
|
return p.setUTCDate(p.getUTCDate() - g), p.setUTCHours(0, 0, 0, 0), p;
|
|
393
393
|
}
|
|
394
394
|
function ho(i, e) {
|
|
395
395
|
var t, r, o, a, s, n, l, d;
|
|
396
396
|
H(1, arguments);
|
|
397
|
-
var h = G(i),
|
|
397
|
+
var h = G(i), c = h.getUTCFullYear(), p = nt(), m = ee((t = (r = (o = (a = e == null ? void 0 : e.firstWeekContainsDate) !== null && a !== void 0 ? a : e == null || (s = e.locale) === null || s === void 0 || (n = s.options) === null || n === void 0 ? void 0 : n.firstWeekContainsDate) !== null && o !== void 0 ? o : p.firstWeekContainsDate) !== null && r !== void 0 ? r : (l = p.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
398
398
|
if (!(m >= 1 && m <= 7))
|
|
399
399
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
400
400
|
var g = /* @__PURE__ */ new Date(0);
|
|
401
|
-
g.setUTCFullYear(
|
|
401
|
+
g.setUTCFullYear(c + 1, 0, m), g.setUTCHours(0, 0, 0, 0);
|
|
402
402
|
var E = Be(g, e), w = /* @__PURE__ */ new Date(0);
|
|
403
|
-
w.setUTCFullYear(
|
|
403
|
+
w.setUTCFullYear(c, 0, m), w.setUTCHours(0, 0, 0, 0);
|
|
404
404
|
var x = Be(w, e);
|
|
405
|
-
return h.getTime() >= E.getTime() ?
|
|
405
|
+
return h.getTime() >= E.getTime() ? c + 1 : h.getTime() >= x.getTime() ? c : c - 1;
|
|
406
406
|
}
|
|
407
407
|
function Id(i, e) {
|
|
408
408
|
var t, r, o, a, s, n, l, d;
|
|
409
409
|
H(1, arguments);
|
|
410
|
-
var h = nt(),
|
|
411
|
-
m.setUTCFullYear(p, 0,
|
|
410
|
+
var h = nt(), c = ee((t = (r = (o = (a = e == null ? void 0 : e.firstWeekContainsDate) !== null && a !== void 0 ? a : e == null || (s = e.locale) === null || s === void 0 || (n = s.options) === null || n === void 0 ? void 0 : n.firstWeekContainsDate) !== null && o !== void 0 ? o : 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 = ho(i, e), m = /* @__PURE__ */ new Date(0);
|
|
411
|
+
m.setUTCFullYear(p, 0, c), m.setUTCHours(0, 0, 0, 0);
|
|
412
412
|
var g = Be(m, e);
|
|
413
413
|
return g;
|
|
414
414
|
}
|
|
@@ -1124,7 +1124,7 @@ function Gs(i) {
|
|
|
1124
1124
|
function Ks(i) {
|
|
1125
1125
|
return Vd.indexOf(i) !== -1;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function ci(i, e, t) {
|
|
1128
1128
|
if (i === "YYYY")
|
|
1129
1129
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
1130
1130
|
if (i === "YY")
|
|
@@ -1387,10 +1387,10 @@ function gt(i) {
|
|
|
1387
1387
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.width, o = r && i.matchPatterns[r] || i.matchPatterns[i.defaultMatchWidth], a = e.match(o);
|
|
1388
1388
|
if (!a)
|
|
1389
1389
|
return null;
|
|
1390
|
-
var s = a[0], n = r && i.parsePatterns[r] || i.parsePatterns[i.defaultParseWidth], l = Array.isArray(n) ? th(n, function(
|
|
1391
|
-
return
|
|
1392
|
-
}) : eh(n, function(
|
|
1393
|
-
return
|
|
1390
|
+
var s = a[0], n = r && i.parsePatterns[r] || i.parsePatterns[i.defaultParseWidth], l = Array.isArray(n) ? th(n, function(c) {
|
|
1391
|
+
return c.test(s);
|
|
1392
|
+
}) : eh(n, function(c) {
|
|
1393
|
+
return c.test(s);
|
|
1394
1394
|
}), d;
|
|
1395
1395
|
d = i.valueCallback ? i.valueCallback(l) : l, d = t.valueCallback ? t.valueCallback(d) : d;
|
|
1396
1396
|
var h = e.slice(s.length);
|
|
@@ -1446,12 +1446,12 @@ var rh = /^(\d+)(th|st|nd|rd)?/i, oh = /\d+/i, ah = {
|
|
|
1446
1446
|
}, hh = {
|
|
1447
1447
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
1448
1448
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
1449
|
-
},
|
|
1449
|
+
}, ch = {
|
|
1450
1450
|
narrow: /^[smtwf]/i,
|
|
1451
1451
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
1452
1452
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
1453
1453
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
1454
|
-
},
|
|
1454
|
+
}, uh = {
|
|
1455
1455
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
1456
1456
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
1457
1457
|
}, ph = {
|
|
@@ -1498,9 +1498,9 @@ var rh = /^(\d+)(th|st|nd|rd)?/i, oh = /\d+/i, ah = {
|
|
|
1498
1498
|
defaultParseWidth: "any"
|
|
1499
1499
|
}),
|
|
1500
1500
|
day: gt({
|
|
1501
|
-
matchPatterns:
|
|
1501
|
+
matchPatterns: ch,
|
|
1502
1502
|
defaultMatchWidth: "wide",
|
|
1503
|
-
parsePatterns:
|
|
1503
|
+
parsePatterns: uh,
|
|
1504
1504
|
defaultParseWidth: "any"
|
|
1505
1505
|
}),
|
|
1506
1506
|
dayPeriod: gt({
|
|
@@ -1526,12 +1526,12 @@ var vh = {
|
|
|
1526
1526
|
const Xs = vh;
|
|
1527
1527
|
var gh = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, bh = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, yh = /^'([^]*?)'?$/, wh = /''/g, xh = /[a-zA-Z]/;
|
|
1528
1528
|
function Ia(i, e, t) {
|
|
1529
|
-
var r, o, a, s, n, l, d, h,
|
|
1529
|
+
var r, o, a, s, n, l, d, h, c, p, m, g, E, w;
|
|
1530
1530
|
H(2, arguments);
|
|
1531
1531
|
var x = String(e), I = nt(), U = (r = (o = void 0) !== null && o !== void 0 ? o : I.locale) !== null && r !== void 0 ? r : Xs, R = ee((a = (s = (n = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && n !== void 0 ? n : I.firstWeekContainsDate) !== null && s !== void 0 ? s : (d = I.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1532
1532
|
if (!(R >= 1 && R <= 7))
|
|
1533
1533
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1534
|
-
var ne = ee((
|
|
1534
|
+
var ne = ee((c = (p = (m = (g = void 0) !== null && g !== void 0 ? g : void 0) !== null && m !== void 0 ? m : I.weekStartsOn) !== null && p !== void 0 ? p : (E = I.locale) === null || E === void 0 || (w = E.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && c !== void 0 ? c : 0);
|
|
1535
1535
|
if (!(ne >= 0 && ne <= 6))
|
|
1536
1536
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1537
1537
|
if (!U.localize)
|
|
@@ -1561,7 +1561,7 @@ function Ia(i, e, t) {
|
|
|
1561
1561
|
return Ch(Q);
|
|
1562
1562
|
var ze = Td[ie];
|
|
1563
1563
|
if (ze)
|
|
1564
|
-
return Ks(Q) &&
|
|
1564
|
+
return Ks(Q) && ci(Q, e, String(i)), Gs(Q) && ci(Q, e, String(i)), ze(mt, Q, U.localize, _t);
|
|
1565
1565
|
if (ie.match(xh))
|
|
1566
1566
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + ie + "`");
|
|
1567
1567
|
return Q;
|
|
@@ -1664,10 +1664,10 @@ function A(i, e) {
|
|
|
1664
1664
|
writable: !1
|
|
1665
1665
|
}), e && kr(i, e);
|
|
1666
1666
|
}
|
|
1667
|
-
function
|
|
1668
|
-
return
|
|
1667
|
+
function ui(i) {
|
|
1668
|
+
return ui = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
1669
1669
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
1670
|
-
},
|
|
1670
|
+
}, ui(i);
|
|
1671
1671
|
}
|
|
1672
1672
|
function Qs() {
|
|
1673
1673
|
try {
|
|
@@ -1689,9 +1689,9 @@ function Eh(i, e) {
|
|
|
1689
1689
|
function S(i) {
|
|
1690
1690
|
var e = Qs();
|
|
1691
1691
|
return function() {
|
|
1692
|
-
var t, r =
|
|
1692
|
+
var t, r = ui(i);
|
|
1693
1693
|
if (e) {
|
|
1694
|
-
var o =
|
|
1694
|
+
var o = ui(this).constructor;
|
|
1695
1695
|
t = Reflect.construct(r, arguments, o);
|
|
1696
1696
|
} else
|
|
1697
1697
|
t = r.apply(this, arguments);
|
|
@@ -1884,7 +1884,7 @@ var Th = 10, Zs = /* @__PURE__ */ function() {
|
|
|
1884
1884
|
// 0 to 999, -0 to -999
|
|
1885
1885
|
fourDigitsSigned: /^-?\d{1,4}/
|
|
1886
1886
|
// 0 to 9999, -0 to -9999
|
|
1887
|
-
},
|
|
1887
|
+
}, ue = {
|
|
1888
1888
|
basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
|
|
1889
1889
|
basic: /^([+-])(\d{2})(\d{2})|Z/,
|
|
1890
1890
|
basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
|
|
@@ -1950,7 +1950,7 @@ function pi(i, e) {
|
|
|
1950
1950
|
return B(new RegExp("^-?\\d{1," + i + "}"), e);
|
|
1951
1951
|
}
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1953
|
+
function co(i) {
|
|
1954
1954
|
switch (i) {
|
|
1955
1955
|
case "morning":
|
|
1956
1956
|
return 4;
|
|
@@ -2517,10 +2517,10 @@ var Yh = /* @__PURE__ */ function(i) {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
}]), t;
|
|
2519
2519
|
}(O);
|
|
2520
|
-
function
|
|
2520
|
+
function uo(i, e, t) {
|
|
2521
2521
|
var r, o, a, s, n, l, d, h;
|
|
2522
2522
|
H(2, arguments);
|
|
2523
|
-
var
|
|
2523
|
+
var c = nt(), p = ee((r = (o = (a = (s = t == null ? void 0 : t.weekStartsOn) !== null && s !== void 0 ? s : t == null || (n = t.locale) === null || n === void 0 || (l = n.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : c.weekStartsOn) !== null && o !== void 0 ? o : (d = c.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && r !== void 0 ? r : 0);
|
|
2524
2524
|
if (!(p >= 0 && p <= 6))
|
|
2525
2525
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2526
2526
|
var m = G(i), g = ee(e), E = m.getUTCDay(), w = g % 7, x = (w + 7) % 7, I = (x < p ? 7 : 0) + g - E;
|
|
@@ -2591,7 +2591,7 @@ var Jh = /* @__PURE__ */ function(i) {
|
|
|
2591
2591
|
}, {
|
|
2592
2592
|
key: "set",
|
|
2593
2593
|
value: function(o, a, s, n) {
|
|
2594
|
-
return o =
|
|
2594
|
+
return o = uo(o, s, n), o.setUTCHours(0, 0, 0, 0), o;
|
|
2595
2595
|
}
|
|
2596
2596
|
}]), t;
|
|
2597
2597
|
}(O), Zh = /* @__PURE__ */ function(i) {
|
|
@@ -2608,8 +2608,8 @@ var Jh = /* @__PURE__ */ function(i) {
|
|
|
2608
2608
|
key: "parse",
|
|
2609
2609
|
value: function(o, a, s, n) {
|
|
2610
2610
|
var l = function(h) {
|
|
2611
|
-
var
|
|
2612
|
-
return (h + n.weekStartsOn + 6) % 7 +
|
|
2611
|
+
var c = Math.floor((h - 1) / 7) * 7;
|
|
2612
|
+
return (h + n.weekStartsOn + 6) % 7 + c;
|
|
2613
2613
|
};
|
|
2614
2614
|
switch (a) {
|
|
2615
2615
|
case "e":
|
|
@@ -2668,10 +2668,10 @@ var Jh = /* @__PURE__ */ function(i) {
|
|
|
2668
2668
|
}, {
|
|
2669
2669
|
key: "set",
|
|
2670
2670
|
value: function(o, a, s, n) {
|
|
2671
|
-
return o =
|
|
2671
|
+
return o = uo(o, s, n), o.setUTCHours(0, 0, 0, 0), o;
|
|
2672
2672
|
}
|
|
2673
2673
|
}]), t;
|
|
2674
|
-
}(O),
|
|
2674
|
+
}(O), ec = /* @__PURE__ */ function(i) {
|
|
2675
2675
|
A(t, i);
|
|
2676
2676
|
var e = S(t);
|
|
2677
2677
|
function t() {
|
|
@@ -2685,8 +2685,8 @@ var Jh = /* @__PURE__ */ function(i) {
|
|
|
2685
2685
|
key: "parse",
|
|
2686
2686
|
value: function(o, a, s, n) {
|
|
2687
2687
|
var l = function(h) {
|
|
2688
|
-
var
|
|
2689
|
-
return (h + n.weekStartsOn + 6) % 7 +
|
|
2688
|
+
var c = Math.floor((h - 1) / 7) * 7;
|
|
2689
|
+
return (h + n.weekStartsOn + 6) % 7 + c;
|
|
2690
2690
|
};
|
|
2691
2691
|
switch (a) {
|
|
2692
2692
|
case "c":
|
|
@@ -2745,18 +2745,18 @@ var Jh = /* @__PURE__ */ function(i) {
|
|
|
2745
2745
|
}, {
|
|
2746
2746
|
key: "set",
|
|
2747
2747
|
value: function(o, a, s, n) {
|
|
2748
|
-
return o =
|
|
2748
|
+
return o = uo(o, s, n), o.setUTCHours(0, 0, 0, 0), o;
|
|
2749
2749
|
}
|
|
2750
2750
|
}]), t;
|
|
2751
2751
|
}(O);
|
|
2752
|
-
function
|
|
2752
|
+
function tc(i, e) {
|
|
2753
2753
|
H(2, arguments);
|
|
2754
2754
|
var t = ee(e);
|
|
2755
2755
|
t % 7 === 0 && (t = t - 7);
|
|
2756
2756
|
var r = 1, o = G(i), a = o.getUTCDay(), s = t % 7, n = (s + 7) % 7, l = (n < r ? 7 : 0) + t - a;
|
|
2757
2757
|
return o.setUTCDate(o.getUTCDate() + l), o;
|
|
2758
2758
|
}
|
|
2759
|
-
var
|
|
2759
|
+
var ic = /* @__PURE__ */ function(i) {
|
|
2760
2760
|
A(t, i);
|
|
2761
2761
|
var e = S(t);
|
|
2762
2762
|
function t() {
|
|
@@ -2829,10 +2829,10 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
2829
2829
|
}, {
|
|
2830
2830
|
key: "set",
|
|
2831
2831
|
value: function(o, a, s) {
|
|
2832
|
-
return o =
|
|
2832
|
+
return o = tc(o, s), o.setUTCHours(0, 0, 0, 0), o;
|
|
2833
2833
|
}
|
|
2834
2834
|
}]), t;
|
|
2835
|
-
}(O),
|
|
2835
|
+
}(O), rc = /* @__PURE__ */ function(i) {
|
|
2836
2836
|
A(t, i);
|
|
2837
2837
|
var e = S(t);
|
|
2838
2838
|
function t() {
|
|
@@ -2878,10 +2878,10 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
2878
2878
|
}, {
|
|
2879
2879
|
key: "set",
|
|
2880
2880
|
value: function(o, a, s) {
|
|
2881
|
-
return o.setUTCHours(
|
|
2881
|
+
return o.setUTCHours(co(s), 0, 0, 0), o;
|
|
2882
2882
|
}
|
|
2883
2883
|
}]), t;
|
|
2884
|
-
}(O),
|
|
2884
|
+
}(O), oc = /* @__PURE__ */ function(i) {
|
|
2885
2885
|
A(t, i);
|
|
2886
2886
|
var e = S(t);
|
|
2887
2887
|
function t() {
|
|
@@ -2927,10 +2927,10 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
2927
2927
|
}, {
|
|
2928
2928
|
key: "set",
|
|
2929
2929
|
value: function(o, a, s) {
|
|
2930
|
-
return o.setUTCHours(
|
|
2930
|
+
return o.setUTCHours(co(s), 0, 0, 0), o;
|
|
2931
2931
|
}
|
|
2932
2932
|
}]), t;
|
|
2933
|
-
}(O),
|
|
2933
|
+
}(O), ac = /* @__PURE__ */ function(i) {
|
|
2934
2934
|
A(t, i);
|
|
2935
2935
|
var e = S(t);
|
|
2936
2936
|
function t() {
|
|
@@ -2976,10 +2976,10 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
2976
2976
|
}, {
|
|
2977
2977
|
key: "set",
|
|
2978
2978
|
value: function(o, a, s) {
|
|
2979
|
-
return o.setUTCHours(
|
|
2979
|
+
return o.setUTCHours(co(s), 0, 0, 0), o;
|
|
2980
2980
|
}
|
|
2981
2981
|
}]), t;
|
|
2982
|
-
}(O),
|
|
2982
|
+
}(O), sc = /* @__PURE__ */ function(i) {
|
|
2983
2983
|
A(t, i);
|
|
2984
2984
|
var e = S(t);
|
|
2985
2985
|
function t() {
|
|
@@ -3015,7 +3015,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3015
3015
|
return n && s < 12 ? o.setUTCHours(s + 12, 0, 0, 0) : !n && s === 12 ? o.setUTCHours(0, 0, 0, 0) : o.setUTCHours(s, 0, 0, 0), o;
|
|
3016
3016
|
}
|
|
3017
3017
|
}]), t;
|
|
3018
|
-
}(O),
|
|
3018
|
+
}(O), nc = /* @__PURE__ */ function(i) {
|
|
3019
3019
|
A(t, i);
|
|
3020
3020
|
var e = S(t);
|
|
3021
3021
|
function t() {
|
|
@@ -3050,7 +3050,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3050
3050
|
return o.setUTCHours(s, 0, 0, 0), o;
|
|
3051
3051
|
}
|
|
3052
3052
|
}]), t;
|
|
3053
|
-
}(O),
|
|
3053
|
+
}(O), lc = /* @__PURE__ */ function(i) {
|
|
3054
3054
|
A(t, i);
|
|
3055
3055
|
var e = S(t);
|
|
3056
3056
|
function t() {
|
|
@@ -3086,7 +3086,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3086
3086
|
return n && s < 12 ? o.setUTCHours(s + 12, 0, 0, 0) : o.setUTCHours(s, 0, 0, 0), o;
|
|
3087
3087
|
}
|
|
3088
3088
|
}]), t;
|
|
3089
|
-
}(O),
|
|
3089
|
+
}(O), dc = /* @__PURE__ */ function(i) {
|
|
3090
3090
|
A(t, i);
|
|
3091
3091
|
var e = S(t);
|
|
3092
3092
|
function t() {
|
|
@@ -3122,7 +3122,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3122
3122
|
return o.setUTCHours(n, 0, 0, 0), o;
|
|
3123
3123
|
}
|
|
3124
3124
|
}]), t;
|
|
3125
|
-
}(O),
|
|
3125
|
+
}(O), hc = /* @__PURE__ */ function(i) {
|
|
3126
3126
|
A(t, i);
|
|
3127
3127
|
var e = S(t);
|
|
3128
3128
|
function t() {
|
|
@@ -3157,7 +3157,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3157
3157
|
return o.setUTCMinutes(s, 0, 0), o;
|
|
3158
3158
|
}
|
|
3159
3159
|
}]), t;
|
|
3160
|
-
}(O),
|
|
3160
|
+
}(O), cc = /* @__PURE__ */ function(i) {
|
|
3161
3161
|
A(t, i);
|
|
3162
3162
|
var e = S(t);
|
|
3163
3163
|
function t() {
|
|
@@ -3192,7 +3192,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3192
3192
|
return o.setUTCSeconds(s, 0), o;
|
|
3193
3193
|
}
|
|
3194
3194
|
}]), t;
|
|
3195
|
-
}(O),
|
|
3195
|
+
}(O), uc = /* @__PURE__ */ function(i) {
|
|
3196
3196
|
A(t, i);
|
|
3197
3197
|
var e = S(t);
|
|
3198
3198
|
function t() {
|
|
@@ -3216,7 +3216,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3216
3216
|
return o.setUTCMilliseconds(s), o;
|
|
3217
3217
|
}
|
|
3218
3218
|
}]), t;
|
|
3219
|
-
}(O),
|
|
3219
|
+
}(O), pc = /* @__PURE__ */ function(i) {
|
|
3220
3220
|
A(t, i);
|
|
3221
3221
|
var e = S(t);
|
|
3222
3222
|
function t() {
|
|
@@ -3231,16 +3231,16 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3231
3231
|
value: function(o, a) {
|
|
3232
3232
|
switch (a) {
|
|
3233
3233
|
case "X":
|
|
3234
|
-
return pe(
|
|
3234
|
+
return pe(ue.basicOptionalMinutes, o);
|
|
3235
3235
|
case "XX":
|
|
3236
|
-
return pe(
|
|
3236
|
+
return pe(ue.basic, o);
|
|
3237
3237
|
case "XXXX":
|
|
3238
|
-
return pe(
|
|
3238
|
+
return pe(ue.basicOptionalSeconds, o);
|
|
3239
3239
|
case "XXXXX":
|
|
3240
|
-
return pe(
|
|
3240
|
+
return pe(ue.extendedOptionalSeconds, o);
|
|
3241
3241
|
case "XXX":
|
|
3242
3242
|
default:
|
|
3243
|
-
return pe(
|
|
3243
|
+
return pe(ue.extended, o);
|
|
3244
3244
|
}
|
|
3245
3245
|
}
|
|
3246
3246
|
}, {
|
|
@@ -3249,7 +3249,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3249
3249
|
return a.timestampIsSet ? o : new Date(o.getTime() - s);
|
|
3250
3250
|
}
|
|
3251
3251
|
}]), t;
|
|
3252
|
-
}(O),
|
|
3252
|
+
}(O), mc = /* @__PURE__ */ function(i) {
|
|
3253
3253
|
A(t, i);
|
|
3254
3254
|
var e = S(t);
|
|
3255
3255
|
function t() {
|
|
@@ -3264,16 +3264,16 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3264
3264
|
value: function(o, a) {
|
|
3265
3265
|
switch (a) {
|
|
3266
3266
|
case "x":
|
|
3267
|
-
return pe(
|
|
3267
|
+
return pe(ue.basicOptionalMinutes, o);
|
|
3268
3268
|
case "xx":
|
|
3269
|
-
return pe(
|
|
3269
|
+
return pe(ue.basic, o);
|
|
3270
3270
|
case "xxxx":
|
|
3271
|
-
return pe(
|
|
3271
|
+
return pe(ue.basicOptionalSeconds, o);
|
|
3272
3272
|
case "xxxxx":
|
|
3273
|
-
return pe(
|
|
3273
|
+
return pe(ue.extendedOptionalSeconds, o);
|
|
3274
3274
|
case "xxx":
|
|
3275
3275
|
default:
|
|
3276
|
-
return pe(
|
|
3276
|
+
return pe(ue.extended, o);
|
|
3277
3277
|
}
|
|
3278
3278
|
}
|
|
3279
3279
|
}, {
|
|
@@ -3282,7 +3282,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3282
3282
|
return a.timestampIsSet ? o : new Date(o.getTime() - s);
|
|
3283
3283
|
}
|
|
3284
3284
|
}]), t;
|
|
3285
|
-
}(O),
|
|
3285
|
+
}(O), _c = /* @__PURE__ */ function(i) {
|
|
3286
3286
|
A(t, i);
|
|
3287
3287
|
var e = S(t);
|
|
3288
3288
|
function t() {
|
|
@@ -3305,7 +3305,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3305
3305
|
}];
|
|
3306
3306
|
}
|
|
3307
3307
|
}]), t;
|
|
3308
|
-
}(O),
|
|
3308
|
+
}(O), fc = /* @__PURE__ */ function(i) {
|
|
3309
3309
|
A(t, i);
|
|
3310
3310
|
var e = S(t);
|
|
3311
3311
|
function t() {
|
|
@@ -3328,7 +3328,7 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3328
3328
|
}];
|
|
3329
3329
|
}
|
|
3330
3330
|
}]), t;
|
|
3331
|
-
}(O),
|
|
3331
|
+
}(O), vc = {
|
|
3332
3332
|
G: new Oh(),
|
|
3333
3333
|
y: new Nh(),
|
|
3334
3334
|
Y: new Lh(),
|
|
@@ -3344,30 +3344,30 @@ var iu = /* @__PURE__ */ function(i) {
|
|
|
3344
3344
|
D: new Qh(),
|
|
3345
3345
|
E: new Jh(),
|
|
3346
3346
|
e: new Zh(),
|
|
3347
|
-
c: new
|
|
3348
|
-
i: new
|
|
3349
|
-
a: new
|
|
3350
|
-
b: new
|
|
3351
|
-
B: new
|
|
3352
|
-
h: new
|
|
3353
|
-
H: new
|
|
3354
|
-
K: new
|
|
3355
|
-
k: new
|
|
3356
|
-
m: new
|
|
3357
|
-
s: new
|
|
3358
|
-
S: new
|
|
3359
|
-
X: new
|
|
3360
|
-
x: new
|
|
3361
|
-
t: new
|
|
3362
|
-
T: new
|
|
3363
|
-
},
|
|
3347
|
+
c: new ec(),
|
|
3348
|
+
i: new ic(),
|
|
3349
|
+
a: new rc(),
|
|
3350
|
+
b: new oc(),
|
|
3351
|
+
B: new ac(),
|
|
3352
|
+
h: new sc(),
|
|
3353
|
+
H: new nc(),
|
|
3354
|
+
K: new lc(),
|
|
3355
|
+
k: new dc(),
|
|
3356
|
+
m: new hc(),
|
|
3357
|
+
s: new cc(),
|
|
3358
|
+
S: new uc(),
|
|
3359
|
+
X: new pc(),
|
|
3360
|
+
x: new mc(),
|
|
3361
|
+
t: new _c(),
|
|
3362
|
+
T: new fc()
|
|
3363
|
+
}, gc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, bc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, yc = /^'([^]*?)'?$/, wc = /''/g, xc = /\S/, Cc = /[a-zA-Z]/;
|
|
3364
3364
|
function Ke(i, e, t, r) {
|
|
3365
|
-
var o, a, s, n, l, d, h,
|
|
3365
|
+
var o, a, s, n, l, d, h, c, p, m, g, E, w, x;
|
|
3366
3366
|
H(3, arguments);
|
|
3367
3367
|
var I = String(i), U = String(e), R = nt(), ne = (o = (a = void 0) !== null && a !== void 0 ? a : R.locale) !== null && o !== void 0 ? o : Xs;
|
|
3368
3368
|
if (!ne.match)
|
|
3369
3369
|
throw new RangeError("locale must contain match property");
|
|
3370
|
-
var Ie = ee((s = (n = (l = (d = void 0) !== null && d !== void 0 ? d : void 0) !== null && l !== void 0 ? l : R.firstWeekContainsDate) !== null && n !== void 0 ? n : (h = R.locale) === null || h === void 0 || (
|
|
3370
|
+
var Ie = ee((s = (n = (l = (d = void 0) !== null && d !== void 0 ? d : void 0) !== null && l !== void 0 ? l : R.firstWeekContainsDate) !== null && n !== void 0 ? n : (h = R.locale) === null || h === void 0 || (c = h.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
|
|
3371
3371
|
if (!(Ie >= 1 && Ie <= 7))
|
|
3372
3372
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
3373
3373
|
var pt = ee((p = (m = (g = (E = void 0) !== null && E !== void 0 ? E : void 0) !== null && g !== void 0 ? g : R.weekStartsOn) !== null && m !== void 0 ? m : (w = R.locale) === null || w === void 0 || (x = w.options) === null || x === void 0 ? void 0 : x.weekStartsOn) !== null && p !== void 0 ? p : 0);
|
|
@@ -3379,19 +3379,19 @@ function Ke(i, e, t, r) {
|
|
|
3379
3379
|
firstWeekContainsDate: Ie,
|
|
3380
3380
|
weekStartsOn: pt,
|
|
3381
3381
|
locale: ne
|
|
3382
|
-
}, _t = [new Dh()], Gi = U.match(
|
|
3382
|
+
}, _t = [new Dh()], Gi = U.match(bc).map(function(K) {
|
|
3383
3383
|
var L = K[0];
|
|
3384
3384
|
if (L in Cr) {
|
|
3385
3385
|
var ae = Cr[L];
|
|
3386
3386
|
return ae(K, ne.formatLong);
|
|
3387
3387
|
}
|
|
3388
3388
|
return K;
|
|
3389
|
-
}).join("").match(
|
|
3389
|
+
}).join("").match(gc), Q = [], ie = Aa(Gi), ze;
|
|
3390
3390
|
try {
|
|
3391
3391
|
var ld = function() {
|
|
3392
3392
|
var L = ze.value;
|
|
3393
|
-
!(r != null && r.useAdditionalWeekYearTokens) && Ks(L) &&
|
|
3394
|
-
var ae = L[0], Gt =
|
|
3393
|
+
!(r != null && r.useAdditionalWeekYearTokens) && Ks(L) && ci(L, U, i), !(r != null && r.useAdditionalDayOfYearTokens) && Gs(L) && ci(L, U, i);
|
|
3394
|
+
var ae = L[0], Gt = vc[ae];
|
|
3395
3395
|
if (Gt) {
|
|
3396
3396
|
var ba = Gt.incompatibleTokens;
|
|
3397
3397
|
if (Array.isArray(ba)) {
|
|
@@ -3413,9 +3413,9 @@ function Ke(i, e, t, r) {
|
|
|
3413
3413
|
};
|
|
3414
3414
|
_t.push(Xi.setter), I = Xi.rest;
|
|
3415
3415
|
} else {
|
|
3416
|
-
if (ae.match(
|
|
3416
|
+
if (ae.match(Cc))
|
|
3417
3417
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + ae + "`");
|
|
3418
|
-
if (L === "''" ? L = "'" : ae === "'" && (L =
|
|
3418
|
+
if (L === "''" ? L = "'" : ae === "'" && (L = kc(L)), I.indexOf(L) === 0)
|
|
3419
3419
|
I = I.slice(L.length);
|
|
3420
3420
|
else
|
|
3421
3421
|
return {
|
|
@@ -3433,7 +3433,7 @@ function Ke(i, e, t, r) {
|
|
|
3433
3433
|
} finally {
|
|
3434
3434
|
ie.f();
|
|
3435
3435
|
}
|
|
3436
|
-
if (I.length > 0 &&
|
|
3436
|
+
if (I.length > 0 && xc.test(I))
|
|
3437
3437
|
return /* @__PURE__ */ new Date(NaN);
|
|
3438
3438
|
var dd = _t.map(function(K) {
|
|
3439
3439
|
return K.priority;
|
|
@@ -3468,8 +3468,8 @@ function Ke(i, e, t, r) {
|
|
|
3468
3468
|
}
|
|
3469
3469
|
return ft;
|
|
3470
3470
|
}
|
|
3471
|
-
function
|
|
3472
|
-
return i.match(
|
|
3471
|
+
function kc(i) {
|
|
3472
|
+
return i.match(yc)[1].replace(wc, "'");
|
|
3473
3473
|
}
|
|
3474
3474
|
function Sa(i, e) {
|
|
3475
3475
|
H(2, arguments);
|
|
@@ -3484,7 +3484,7 @@ function Ta(i, e) {
|
|
|
3484
3484
|
function Pa(i, e, t) {
|
|
3485
3485
|
return H(2, arguments), Hs(Ke(i, e, /* @__PURE__ */ new Date(), t));
|
|
3486
3486
|
}
|
|
3487
|
-
const
|
|
3487
|
+
const Ic = '*,*::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__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}', Ec = Ic, Ac = class {
|
|
3488
3488
|
constructor(i) {
|
|
3489
3489
|
te(this, i), this.sendValidityState = F(this, "sendValidityState"), this.sendInputValue = F(this, "sendInputValue"), this.touched = !1, this.formatDate = (e) => {
|
|
3490
3490
|
const { year: t, month: r, day: o } = e, a = new Date(t, r, o);
|
|
@@ -3557,11 +3557,11 @@ const Iu = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3557
3557
|
return y("dateFormatError", this.language);
|
|
3558
3558
|
}
|
|
3559
3559
|
renderTooltip() {
|
|
3560
|
-
return this.showTooltip ?
|
|
3560
|
+
return this.showTooltip ? u("div", { class: `date__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
3561
3561
|
}
|
|
3562
3562
|
render() {
|
|
3563
3563
|
let i = "";
|
|
3564
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
3564
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "2598dc4b54afe7b871bbff237dacc02a04f109a1", class: `date__wrapper ${this.autofilled ? "date__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("label", { key: "e8e08599b7d713df237041a5c2a95ae78d7a955d", class: `date__label ${this.validation.mandatory ? "date__label--required" : ""}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? "*" : ""), u("vaadin-date-picker", { key: "42ae32529da3f7d2bb63b9d92167a0062464f0f5", id: `${this.name}__input`, type: "date", class: `date__input ${i}`, 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) }), u("small", { key: "6b6a7b2f369fc06001b22a4cff9835e0741ce33d", class: "date__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "930e536f3fd7dae8959c3caea374706bc2dcd805", class: "date__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
3565
3565
|
}
|
|
3566
3566
|
get element() {
|
|
3567
3567
|
return lo(this);
|
|
@@ -3574,8 +3574,8 @@ const Iu = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3574
3574
|
};
|
|
3575
3575
|
}
|
|
3576
3576
|
};
|
|
3577
|
-
|
|
3578
|
-
const
|
|
3577
|
+
Ac.style = Ec;
|
|
3578
|
+
const Sc = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}', Tc = Sc, Pc = class {
|
|
3579
3579
|
constructor(i) {
|
|
3580
3580
|
te(this, i), this.sendValidityState = F(this, "sendValidityState"), this.sendInputValue = F(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (e) => {
|
|
3581
3581
|
this.value = e.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
@@ -3642,11 +3642,11 @@ const Su = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3642
3642
|
}
|
|
3643
3643
|
}
|
|
3644
3644
|
renderTooltip() {
|
|
3645
|
-
return this.showTooltip ?
|
|
3645
|
+
return this.showTooltip ? u("div", { class: `email__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
3646
3646
|
}
|
|
3647
3647
|
render() {
|
|
3648
3648
|
let i = "";
|
|
3649
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
3649
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "532d12855e6014b6c5a81cd11f4c7d83596361c3", class: `email__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "80f2e930c6360e1e4e27f29b1de3d3c49a3bb47f", class: "email__wrapper--flex" }, u("label", { key: "68189c133403e6dada30c376bd84b60b35ca56e4", class: `email__label ${this.validation.mandatory ? "email__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "b62dd9a877825d51f6735e9b3ca6b3bb3fc21c28", class: "email__wrapper--relative" }, this.tooltip && u("img", { key: "ff76c31db244e06af60db2855b907c90ecde2fe2", class: "email__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "137af683d11c63b2bd881fa3110dd1522ead8774", 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: "573a357c4e8464f20d9e60a5fd3a2d0c4ae69e3c", class: "email__error-message" }, this.errorMessage));
|
|
3650
3650
|
}
|
|
3651
3651
|
static get watchers() {
|
|
3652
3652
|
return {
|
|
@@ -3656,15 +3656,15 @@ const Su = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3656
3656
|
};
|
|
3657
3657
|
}
|
|
3658
3658
|
};
|
|
3659
|
-
|
|
3660
|
-
var
|
|
3659
|
+
Pc.style = Tc;
|
|
3660
|
+
var Dc = Object.defineProperty, Oc = Object.defineProperties, Vc = Object.getOwnPropertyDescriptors, Da = Object.getOwnPropertySymbols, zc = Object.prototype.hasOwnProperty, Mc = Object.prototype.propertyIsEnumerable, Ir = (i, e, t) => e in i ? Dc(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, De = (i, e) => {
|
|
3661
3661
|
for (var t in e || (e = {}))
|
|
3662
|
-
|
|
3662
|
+
zc.call(e, t) && Ir(i, t, e[t]);
|
|
3663
3663
|
if (Da)
|
|
3664
3664
|
for (var t of Da(e))
|
|
3665
|
-
|
|
3665
|
+
Mc.call(e, t) && Ir(i, t, e[t]);
|
|
3666
3666
|
return i;
|
|
3667
|
-
}, Si = (i, e) =>
|
|
3667
|
+
}, Si = (i, e) => Oc(i, Vc(e)), P = (i, e, t) => (Ir(i, typeof e != "symbol" ? e + "" : e, t), t), mi = (i, e, t) => new Promise((r, o) => {
|
|
3668
3668
|
var a = (l) => {
|
|
3669
3669
|
try {
|
|
3670
3670
|
n(t.next(l));
|
|
@@ -3702,12 +3702,12 @@ function N(i, e = "24.5.12") {
|
|
|
3702
3702
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3703
3703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3704
3704
|
*/
|
|
3705
|
-
let
|
|
3705
|
+
let Nc = class extends HTMLElement {
|
|
3706
3706
|
static get is() {
|
|
3707
3707
|
return "vaadin-lumo-styles";
|
|
3708
3708
|
}
|
|
3709
3709
|
};
|
|
3710
|
-
N(
|
|
3710
|
+
N(Nc);
|
|
3711
3711
|
/**
|
|
3712
3712
|
* @license
|
|
3713
3713
|
* Copyright 2019 Google LLC
|
|
@@ -3733,7 +3733,7 @@ let Ti = class {
|
|
|
3733
3733
|
return this.cssText;
|
|
3734
3734
|
}
|
|
3735
3735
|
};
|
|
3736
|
-
const
|
|
3736
|
+
const Lc = (i) => new Ti(typeof i == "string" ? i : i + "", void 0, mo), _ = (i, ...e) => {
|
|
3737
3737
|
const t = i.length === 1 ? i[0] : e.reduce((r, o, a) => r + ((s) => {
|
|
3738
3738
|
if (s._$cssResult$ === !0)
|
|
3739
3739
|
return s.cssText;
|
|
@@ -3754,17 +3754,17 @@ const Lu = (i) => new Ti(typeof i == "string" ? i : i + "", void 0, mo), _ = (i,
|
|
|
3754
3754
|
let t = "";
|
|
3755
3755
|
for (const r of e.cssRules)
|
|
3756
3756
|
t += r.cssText;
|
|
3757
|
-
return
|
|
3757
|
+
return Lc(t);
|
|
3758
3758
|
})(i) : i;
|
|
3759
3759
|
/**
|
|
3760
3760
|
* @license
|
|
3761
3761
|
* Copyright 2017 Google LLC
|
|
3762
3762
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3763
3763
|
*/
|
|
3764
|
-
const { is:
|
|
3764
|
+
const { is: Fc, defineProperty: Rc, getOwnPropertyDescriptor: Bc, getOwnPropertyNames: Hc, getOwnPropertySymbols: $c, getPrototypeOf: qc } = Object, it = globalThis, za = it.trustedTypes, Uc = za ? za.emptyScript : "", Ma = it.reactiveElementPolyfillSupport, St = (i, e) => i, Er = { toAttribute(i, e) {
|
|
3765
3765
|
switch (e) {
|
|
3766
3766
|
case Boolean:
|
|
3767
|
-
i = i ?
|
|
3767
|
+
i = i ? Uc : null;
|
|
3768
3768
|
break;
|
|
3769
3769
|
case Object:
|
|
3770
3770
|
case Array:
|
|
@@ -3789,7 +3789,7 @@ const { is: Fu, defineProperty: Ru, getOwnPropertyDescriptor: Bu, getOwnProperty
|
|
|
3789
3789
|
}
|
|
3790
3790
|
}
|
|
3791
3791
|
return t;
|
|
3792
|
-
} }, on = (i, e) => !
|
|
3792
|
+
} }, on = (i, e) => !Fc(i, e), Na = { attribute: !0, type: String, converter: Er, reflect: !1, useDefault: !1, hasChanged: on };
|
|
3793
3793
|
Symbol.metadata != null || (Symbol.metadata = Symbol("metadata")), it.litPropertyMetadata != null || (it.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
3794
3794
|
class Xe extends HTMLElement {
|
|
3795
3795
|
static addInitializer(e) {
|
|
@@ -3802,12 +3802,12 @@ class Xe extends HTMLElement {
|
|
|
3802
3802
|
static createProperty(e, t = Na) {
|
|
3803
3803
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
3804
3804
|
const r = Symbol(), o = this.getPropertyDescriptor(e, r, t);
|
|
3805
|
-
o !== void 0 &&
|
|
3805
|
+
o !== void 0 && Rc(this.prototype, e, o);
|
|
3806
3806
|
}
|
|
3807
3807
|
}
|
|
3808
3808
|
static getPropertyDescriptor(e, t, r) {
|
|
3809
3809
|
var o;
|
|
3810
|
-
const { get: a, set: s } = (o =
|
|
3810
|
+
const { get: a, set: s } = (o = Bc(this.prototype, e)) != null ? o : { get() {
|
|
3811
3811
|
return this[t];
|
|
3812
3812
|
}, set(n) {
|
|
3813
3813
|
this[t] = n;
|
|
@@ -3824,14 +3824,14 @@ class Xe extends HTMLElement {
|
|
|
3824
3824
|
static _$Ei() {
|
|
3825
3825
|
if (this.hasOwnProperty(St("elementProperties")))
|
|
3826
3826
|
return;
|
|
3827
|
-
const e =
|
|
3827
|
+
const e = qc(this);
|
|
3828
3828
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
3829
3829
|
}
|
|
3830
3830
|
static finalize() {
|
|
3831
3831
|
if (this.hasOwnProperty(St("finalized")))
|
|
3832
3832
|
return;
|
|
3833
3833
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(St("properties"))) {
|
|
3834
|
-
const t = this.properties, r = [...
|
|
3834
|
+
const t = this.properties, r = [...Hc(t), ...$c(t)];
|
|
3835
3835
|
for (const o of r)
|
|
3836
3836
|
this.createProperty(o, t[o]);
|
|
3837
3837
|
}
|
|
@@ -4018,7 +4018,7 @@ Xe.elementStyles = [], Xe.shadowRootOptions = { mode: "open" }, Xe[St("elementPr
|
|
|
4018
4018
|
* Copyright 2017 Google LLC
|
|
4019
4019
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4020
4020
|
*/
|
|
4021
|
-
const _i = globalThis, fi = _i.trustedTypes, Fa = fi ? fi.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, an = "$lit$", Ae = `lit$${Math.random().toFixed(9).slice(2)}$`, sn = "?" + Ae,
|
|
4021
|
+
const _i = globalThis, fi = _i.trustedTypes, Fa = fi ? fi.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, an = "$lit$", Ae = `lit$${Math.random().toFixed(9).slice(2)}$`, sn = "?" + Ae, Wc = `<${sn}>`, He = document, Pt = () => He.createComment(""), Dt = (i) => i === null || typeof i != "object" && typeof i != "function", fo = Array.isArray, jc = (i) => fo(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Ji = `[
|
|
4022
4022
|
\f\r]`, bt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ra = /-->/g, Ba = />/g, Me = RegExp(`>|${Ji}(?:([^\\s"'>=/]+)(${Ji}*=${Ji}*(?:[^
|
|
4023
4023
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ha = /'/g, $a = /"/g, nn = /^(?:script|style|textarea|title)$/i, rt = Symbol.for("lit-noChange"), X = Symbol.for("lit-nothing"), qa = /* @__PURE__ */ new WeakMap(), Le = He.createTreeWalker(He, 129);
|
|
4024
4024
|
function ln(i, e) {
|
|
@@ -4026,16 +4026,16 @@ function ln(i, e) {
|
|
|
4026
4026
|
throw Error("invalid template strings array");
|
|
4027
4027
|
return Fa !== void 0 ? Fa.createHTML(e) : e;
|
|
4028
4028
|
}
|
|
4029
|
-
const
|
|
4029
|
+
const Yc = (i, e) => {
|
|
4030
4030
|
const t = i.length - 1, r = [];
|
|
4031
4031
|
let o, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", s = bt;
|
|
4032
4032
|
for (let n = 0; n < t; n++) {
|
|
4033
4033
|
const l = i[n];
|
|
4034
|
-
let d, h,
|
|
4034
|
+
let d, h, c = -1, p = 0;
|
|
4035
4035
|
for (; p < l.length && (s.lastIndex = p, h = s.exec(l), h !== null); )
|
|
4036
|
-
p = s.lastIndex, s === bt ? h[1] === "!--" ? s = Ra : h[1] !== void 0 ? s = Ba : h[2] !== void 0 ? (nn.test(h[2]) && (o = RegExp("</" + h[2], "g")), s = Me) : h[3] !== void 0 && (s = Me) : s === Me ? h[0] === ">" ? (s = o != null ? o : bt,
|
|
4036
|
+
p = s.lastIndex, s === bt ? h[1] === "!--" ? s = Ra : h[1] !== void 0 ? s = Ba : h[2] !== void 0 ? (nn.test(h[2]) && (o = RegExp("</" + h[2], "g")), s = Me) : h[3] !== void 0 && (s = Me) : s === Me ? h[0] === ">" ? (s = o != null ? o : bt, c = -1) : h[1] === void 0 ? c = -2 : (c = s.lastIndex - h[2].length, d = h[1], s = h[3] === void 0 ? Me : h[3] === '"' ? $a : Ha) : s === $a || s === Ha ? s = Me : s === Ra || s === Ba ? s = bt : (s = Me, o = void 0);
|
|
4037
4037
|
const m = s === Me && i[n + 1].startsWith("/>") ? " " : "";
|
|
4038
|
-
a += s === bt ? l +
|
|
4038
|
+
a += s === bt ? l + Wc : c >= 0 ? (r.push(d), l.slice(0, c) + an + l.slice(c) + Ae + m) : l + Ae + (c === -2 ? n : m);
|
|
4039
4039
|
}
|
|
4040
4040
|
return [ln(i, a + (i[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
|
|
4041
4041
|
};
|
|
@@ -4044,36 +4044,36 @@ class Ot {
|
|
|
4044
4044
|
let o;
|
|
4045
4045
|
this.parts = [];
|
|
4046
4046
|
let a = 0, s = 0;
|
|
4047
|
-
const n = e.length - 1, l = this.parts, [d, h] =
|
|
4047
|
+
const n = e.length - 1, l = this.parts, [d, h] = Yc(e, t);
|
|
4048
4048
|
if (this.el = Ot.createElement(d, r), Le.currentNode = this.el.content, t === 2 || t === 3) {
|
|
4049
|
-
const
|
|
4050
|
-
|
|
4049
|
+
const c = this.el.content.firstChild;
|
|
4050
|
+
c.replaceWith(...c.childNodes);
|
|
4051
4051
|
}
|
|
4052
4052
|
for (; (o = Le.nextNode()) !== null && l.length < n; ) {
|
|
4053
4053
|
if (o.nodeType === 1) {
|
|
4054
4054
|
if (o.hasAttributes())
|
|
4055
|
-
for (const
|
|
4056
|
-
if (
|
|
4057
|
-
const p = h[s++], m = o.getAttribute(
|
|
4058
|
-
l.push({ type: 1, index: a, name: g[2], strings: m, ctor: g[1] === "." ?
|
|
4055
|
+
for (const c of o.getAttributeNames())
|
|
4056
|
+
if (c.endsWith(an)) {
|
|
4057
|
+
const p = h[s++], m = o.getAttribute(c).split(Ae), g = /([.?@])?(.*)/.exec(p);
|
|
4058
|
+
l.push({ type: 1, index: a, name: g[2], strings: m, ctor: g[1] === "." ? Kc : g[1] === "?" ? Xc : g[1] === "@" ? Qc : Pi }), o.removeAttribute(c);
|
|
4059
4059
|
} else
|
|
4060
|
-
|
|
4060
|
+
c.startsWith(Ae) && (l.push({ type: 6, index: a }), o.removeAttribute(c));
|
|
4061
4061
|
if (nn.test(o.tagName)) {
|
|
4062
|
-
const
|
|
4062
|
+
const c = o.textContent.split(Ae), p = c.length - 1;
|
|
4063
4063
|
if (p > 0) {
|
|
4064
4064
|
o.textContent = fi ? fi.emptyScript : "";
|
|
4065
4065
|
for (let m = 0; m < p; m++)
|
|
4066
|
-
o.append(
|
|
4067
|
-
o.append(
|
|
4066
|
+
o.append(c[m], Pt()), Le.nextNode(), l.push({ type: 2, index: ++a });
|
|
4067
|
+
o.append(c[p], Pt());
|
|
4068
4068
|
}
|
|
4069
4069
|
}
|
|
4070
4070
|
} else if (o.nodeType === 8)
|
|
4071
4071
|
if (o.data === sn)
|
|
4072
4072
|
l.push({ type: 2, index: a });
|
|
4073
4073
|
else {
|
|
4074
|
-
let
|
|
4075
|
-
for (; (
|
|
4076
|
-
l.push({ type: 7, index: a }),
|
|
4074
|
+
let c = -1;
|
|
4075
|
+
for (; (c = o.data.indexOf(Ae, c + 1)) !== -1; )
|
|
4076
|
+
l.push({ type: 7, index: a }), c += Ae.length - 1;
|
|
4077
4077
|
}
|
|
4078
4078
|
a++;
|
|
4079
4079
|
}
|
|
@@ -4091,7 +4091,7 @@ function ot(i, e, t = i, r) {
|
|
|
4091
4091
|
const l = Dt(e) ? void 0 : e._$litDirective$;
|
|
4092
4092
|
return (n == null ? void 0 : n.constructor) !== l && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), l === void 0 ? n = void 0 : (n = new l(i), n._$AT(i, t, r)), r !== void 0 ? ((s = t._$Co) != null ? s : t._$Co = [])[r] = n : t._$Cl = n), n !== void 0 && (e = ot(i, n._$AS(i, e.values), n, r)), e;
|
|
4093
4093
|
}
|
|
4094
|
-
class
|
|
4094
|
+
class Gc {
|
|
4095
4095
|
constructor(e, t) {
|
|
4096
4096
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
4097
4097
|
}
|
|
@@ -4109,7 +4109,7 @@ class Gu {
|
|
|
4109
4109
|
for (; d !== void 0; ) {
|
|
4110
4110
|
if (n === d.index) {
|
|
4111
4111
|
let h;
|
|
4112
|
-
d.type === 2 ? h = new Ut(s, s.nextSibling, this, e) : d.type === 1 ? h = new d.ctor(s, d.name, d.strings, this, e) : d.type === 6 && (h = new
|
|
4112
|
+
d.type === 2 ? h = new Ut(s, s.nextSibling, this, e) : d.type === 1 ? h = new d.ctor(s, d.name, d.strings, this, e) : d.type === 6 && (h = new Jc(s, this, e)), this._$AV.push(h), d = o[++l];
|
|
4113
4113
|
}
|
|
4114
4114
|
n !== (d == null ? void 0 : d.index) && (s = Le.nextNode(), n++);
|
|
4115
4115
|
}
|
|
@@ -4142,7 +4142,7 @@ class Ut {
|
|
|
4142
4142
|
return this._$AB;
|
|
4143
4143
|
}
|
|
4144
4144
|
_$AI(e, t = this) {
|
|
4145
|
-
e = ot(this, e, t), Dt(e) ? e === X || e == null || e === "" ? (this._$AH !== X && this._$AR(), this._$AH = X) : e !== this._$AH && e !== rt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
|
4145
|
+
e = ot(this, e, t), Dt(e) ? e === X || e == null || e === "" ? (this._$AH !== X && this._$AR(), this._$AH = X) : e !== this._$AH && e !== rt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : jc(e) ? this.k(e) : this._(e);
|
|
4146
4146
|
}
|
|
4147
4147
|
O(e) {
|
|
4148
4148
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -4159,7 +4159,7 @@ class Ut {
|
|
|
4159
4159
|
if (((t = this._$AH) == null ? void 0 : t._$AD) === a)
|
|
4160
4160
|
this._$AH.p(r);
|
|
4161
4161
|
else {
|
|
4162
|
-
const s = new
|
|
4162
|
+
const s = new Gc(a, this), n = s.u(this.options);
|
|
4163
4163
|
s.p(r), this.T(n), this._$AH = s;
|
|
4164
4164
|
}
|
|
4165
4165
|
}
|
|
@@ -4214,7 +4214,7 @@ class Pi {
|
|
|
4214
4214
|
e === X ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
|
|
4215
4215
|
}
|
|
4216
4216
|
}
|
|
4217
|
-
class
|
|
4217
|
+
class Kc extends Pi {
|
|
4218
4218
|
constructor() {
|
|
4219
4219
|
super(...arguments), this.type = 3;
|
|
4220
4220
|
}
|
|
@@ -4222,7 +4222,7 @@ class Ku extends Pi {
|
|
|
4222
4222
|
this.element[this.name] = e === X ? void 0 : e;
|
|
4223
4223
|
}
|
|
4224
4224
|
}
|
|
4225
|
-
class
|
|
4225
|
+
class Xc extends Pi {
|
|
4226
4226
|
constructor() {
|
|
4227
4227
|
super(...arguments), this.type = 4;
|
|
4228
4228
|
}
|
|
@@ -4230,7 +4230,7 @@ class Xu extends Pi {
|
|
|
4230
4230
|
this.element.toggleAttribute(this.name, !!e && e !== X);
|
|
4231
4231
|
}
|
|
4232
4232
|
}
|
|
4233
|
-
class
|
|
4233
|
+
class Qc extends Pi {
|
|
4234
4234
|
constructor(e, t, r, o, a) {
|
|
4235
4235
|
super(e, t, r, o, a), this.type = 5;
|
|
4236
4236
|
}
|
|
@@ -4246,7 +4246,7 @@ class Qu extends Pi {
|
|
|
4246
4246
|
typeof this._$AH == "function" ? this._$AH.call((r = (t = this.options) == null ? void 0 : t.host) != null ? r : this.element, e) : this._$AH.handleEvent(e);
|
|
4247
4247
|
}
|
|
4248
4248
|
}
|
|
4249
|
-
class
|
|
4249
|
+
class Jc {
|
|
4250
4250
|
constructor(e, t, r) {
|
|
4251
4251
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = r;
|
|
4252
4252
|
}
|
|
@@ -4328,14 +4328,14 @@ const hn = (i) => class extends i {
|
|
|
4328
4328
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4329
4329
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4330
4330
|
*/
|
|
4331
|
-
const
|
|
4332
|
-
function
|
|
4331
|
+
const cn = [], Ar = /* @__PURE__ */ new Set(), vo = /* @__PURE__ */ new Set();
|
|
4332
|
+
function un(i) {
|
|
4333
4333
|
return i && Object.prototype.hasOwnProperty.call(i, "__themes");
|
|
4334
4334
|
}
|
|
4335
|
-
function
|
|
4336
|
-
return
|
|
4335
|
+
function Zc(i) {
|
|
4336
|
+
return un(customElements.get(i));
|
|
4337
4337
|
}
|
|
4338
|
-
function
|
|
4338
|
+
function eu(i = []) {
|
|
4339
4339
|
return [i].flat(1 / 0).filter((e) => e instanceof Ti ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
4340
4340
|
}
|
|
4341
4341
|
function pn(i, e) {
|
|
@@ -4346,11 +4346,11 @@ function mn(i) {
|
|
|
4346
4346
|
`);
|
|
4347
4347
|
}
|
|
4348
4348
|
const vi = "vaadin-themable-mixin-style";
|
|
4349
|
-
function
|
|
4349
|
+
function tu(i, e) {
|
|
4350
4350
|
const t = document.createElement("style");
|
|
4351
4351
|
t.id = vi, t.textContent = mn(i), e.content.appendChild(t);
|
|
4352
4352
|
}
|
|
4353
|
-
function
|
|
4353
|
+
function iu(i) {
|
|
4354
4354
|
if (!i.shadowRoot)
|
|
4355
4355
|
return;
|
|
4356
4356
|
const e = i.constructor;
|
|
@@ -4361,10 +4361,10 @@ function ic(i) {
|
|
|
4361
4361
|
t.textContent = r.content.getElementById(vi).textContent;
|
|
4362
4362
|
}
|
|
4363
4363
|
}
|
|
4364
|
-
function
|
|
4364
|
+
function ru(i) {
|
|
4365
4365
|
Ar.forEach((e) => {
|
|
4366
4366
|
const t = e.deref();
|
|
4367
|
-
t instanceof i ?
|
|
4367
|
+
t instanceof i ? iu(t) : t || Ar.delete(e);
|
|
4368
4368
|
});
|
|
4369
4369
|
}
|
|
4370
4370
|
function _n(i) {
|
|
@@ -4379,22 +4379,22 @@ function _n(i) {
|
|
|
4379
4379
|
t !== i && t.prototype instanceof i && _n(t);
|
|
4380
4380
|
});
|
|
4381
4381
|
}
|
|
4382
|
-
function
|
|
4382
|
+
function ou(i, e) {
|
|
4383
4383
|
const t = i.__themes;
|
|
4384
4384
|
return !t || !e ? !1 : t.some((r) => r.styles.some((o) => e.some((a) => a.cssText === o.cssText)));
|
|
4385
4385
|
}
|
|
4386
4386
|
function b(i, e, t = {}) {
|
|
4387
|
-
e =
|
|
4388
|
-
if (pn(i, r) &&
|
|
4387
|
+
e = eu(e), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, e, t) : cn.push({ themeFor: i, styles: e, include: t.include, moduleId: t.moduleId }), i && vo.forEach((r) => {
|
|
4388
|
+
if (pn(i, r) && Zc(r)) {
|
|
4389
4389
|
const o = customElements.get(r);
|
|
4390
|
-
|
|
4390
|
+
ou(o, 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".`), _n(o), ru(o);
|
|
4391
4391
|
}
|
|
4392
4392
|
});
|
|
4393
4393
|
}
|
|
4394
4394
|
function Sr() {
|
|
4395
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
4395
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : cn;
|
|
4396
4396
|
}
|
|
4397
|
-
function
|
|
4397
|
+
function au(i = "") {
|
|
4398
4398
|
let e = 0;
|
|
4399
4399
|
return i.startsWith("lumo-") || i.startsWith("material-") ? e = 1 : i.startsWith("vaadin-") && (e = 2), e;
|
|
4400
4400
|
}
|
|
@@ -4405,8 +4405,8 @@ function fn(i) {
|
|
|
4405
4405
|
r ? e.push(...fn(r), ...r.styles) : console.warn(`Included moduleId ${t} not found in style registry`);
|
|
4406
4406
|
}, i.styles), e;
|
|
4407
4407
|
}
|
|
4408
|
-
function
|
|
4409
|
-
const e = `${i}-default-theme`, t = Sr().filter((r) => r.moduleId !== e && pn(r.themeFor, i)).map((r) => Si(De({}, r), { styles: [...fn(r), ...r.styles], includePriority:
|
|
4408
|
+
function su(i) {
|
|
4409
|
+
const e = `${i}-default-theme`, t = Sr().filter((r) => r.moduleId !== e && pn(r.themeFor, i)).map((r) => Si(De({}, r), { styles: [...fn(r), ...r.styles], includePriority: au(r.moduleId) })).sort((r, o) => o.includePriority - r.includePriority);
|
|
4410
4410
|
return t.length > 0 ? t : Sr().filter((r) => r.moduleId === e);
|
|
4411
4411
|
}
|
|
4412
4412
|
const Y = (i) => class extends hn(i) {
|
|
@@ -4417,7 +4417,7 @@ const Y = (i) => class extends hn(i) {
|
|
|
4417
4417
|
if (super.finalize(), this.is && vo.add(this.is), this.elementStyles)
|
|
4418
4418
|
return;
|
|
4419
4419
|
const e = this.prototype._template;
|
|
4420
|
-
!e ||
|
|
4420
|
+
!e || un(this) || tu(this.getStylesForThis(), e);
|
|
4421
4421
|
}
|
|
4422
4422
|
static finalizeStyles(e) {
|
|
4423
4423
|
const t = this.getStylesForThis();
|
|
@@ -4425,7 +4425,7 @@ const Y = (i) => class extends hn(i) {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
static getStylesForThis() {
|
|
4427
4427
|
const e = i.__themes || [], t = Object.getPrototypeOf(this.prototype), r = (t ? t.constructor.__themes : []) || [];
|
|
4428
|
-
this.__themes = [...e, ...r, ...
|
|
4428
|
+
this.__themes = [...e, ...r, ...su(this.is)];
|
|
4429
4429
|
const o = this.__themes.flatMap((a) => a.styles);
|
|
4430
4430
|
return o.filter((a, s) => s === o.lastIndexOf(a));
|
|
4431
4431
|
}
|
|
@@ -4435,19 +4435,19 @@ const Y = (i) => class extends hn(i) {
|
|
|
4435
4435
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4436
4436
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4437
4437
|
*/
|
|
4438
|
-
const
|
|
4438
|
+
const nu = (i, ...e) => {
|
|
4439
4439
|
const t = document.createElement("style");
|
|
4440
4440
|
t.id = i, t.textContent = e.map((r) => r.toString()).join(`
|
|
4441
4441
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", t);
|
|
4442
4442
|
}, lt = (i, ...e) => {
|
|
4443
|
-
|
|
4443
|
+
nu(`lumo-${i}`, e);
|
|
4444
4444
|
};
|
|
4445
4445
|
/**
|
|
4446
4446
|
* @license
|
|
4447
4447
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4448
4448
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4449
4449
|
*/
|
|
4450
|
-
const
|
|
4450
|
+
const lu = _`
|
|
4451
4451
|
:host {
|
|
4452
4452
|
/* Base (background) */
|
|
4453
4453
|
--lumo-base-color: #fff;
|
|
@@ -4533,8 +4533,8 @@ const lc = _`
|
|
|
4533
4533
|
}
|
|
4534
4534
|
}
|
|
4535
4535
|
`;
|
|
4536
|
-
lt("color-props",
|
|
4537
|
-
const
|
|
4536
|
+
lt("color-props", lu);
|
|
4537
|
+
const du = _`
|
|
4538
4538
|
[theme~='dark'] {
|
|
4539
4539
|
/* Base (background) */
|
|
4540
4540
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -4653,13 +4653,13 @@ const dc = _`
|
|
|
4653
4653
|
background: transparent;
|
|
4654
4654
|
}
|
|
4655
4655
|
`;
|
|
4656
|
-
b("",
|
|
4656
|
+
b("", du, { moduleId: "lumo-color" });
|
|
4657
4657
|
/**
|
|
4658
4658
|
* @license
|
|
4659
4659
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4660
4660
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4661
4661
|
*/
|
|
4662
|
-
const
|
|
4662
|
+
const hu = _`
|
|
4663
4663
|
@font-face {
|
|
4664
4664
|
font-family: 'lumo-icons';
|
|
4665
4665
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -4713,13 +4713,13 @@ const hc = _`
|
|
|
4713
4713
|
--lumo-icons-user: '\\ea2a';
|
|
4714
4714
|
}
|
|
4715
4715
|
`;
|
|
4716
|
-
lt("font-icons",
|
|
4716
|
+
lt("font-icons", hu);
|
|
4717
4717
|
/**
|
|
4718
4718
|
* @license
|
|
4719
4719
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4720
4720
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4721
4721
|
*/
|
|
4722
|
-
const
|
|
4722
|
+
const cu = _`
|
|
4723
4723
|
:host {
|
|
4724
4724
|
--lumo-size-xs: 1.625rem;
|
|
4725
4725
|
--lumo-size-s: 1.875rem;
|
|
@@ -4735,13 +4735,13 @@ const uc = _`
|
|
|
4735
4735
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
4736
4736
|
}
|
|
4737
4737
|
`;
|
|
4738
|
-
lt("sizing-props",
|
|
4738
|
+
lt("sizing-props", cu);
|
|
4739
4739
|
/**
|
|
4740
4740
|
* @license
|
|
4741
4741
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4742
4742
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4743
4743
|
*/
|
|
4744
|
-
const
|
|
4744
|
+
const uu = _`
|
|
4745
4745
|
:host {
|
|
4746
4746
|
/* Square */
|
|
4747
4747
|
--lumo-space-xs: 0.25rem;
|
|
@@ -4765,13 +4765,13 @@ const cc = _`
|
|
|
4765
4765
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
4766
4766
|
}
|
|
4767
4767
|
`;
|
|
4768
|
-
lt("spacing-props",
|
|
4768
|
+
lt("spacing-props", uu);
|
|
4769
4769
|
/**
|
|
4770
4770
|
* @license
|
|
4771
4771
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4772
4772
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4773
4773
|
*/
|
|
4774
|
-
const
|
|
4774
|
+
const pu = _`
|
|
4775
4775
|
:host {
|
|
4776
4776
|
/* Border radius */
|
|
4777
4777
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -4873,13 +4873,13 @@ _`
|
|
|
4873
4873
|
--vaadin-input-field-value-font-weight: 500;
|
|
4874
4874
|
}
|
|
4875
4875
|
`;
|
|
4876
|
-
lt("style-props",
|
|
4876
|
+
lt("style-props", pu);
|
|
4877
4877
|
/**
|
|
4878
4878
|
* @license
|
|
4879
4879
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4880
4880
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4881
4881
|
*/
|
|
4882
|
-
const
|
|
4882
|
+
const mu = _`
|
|
4883
4883
|
:host {
|
|
4884
4884
|
/* prettier-ignore */
|
|
4885
4885
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -4899,7 +4899,7 @@ const mc = _`
|
|
|
4899
4899
|
--lumo-line-height-s: 1.375;
|
|
4900
4900
|
--lumo-line-height-m: 1.625;
|
|
4901
4901
|
}
|
|
4902
|
-
`,
|
|
4902
|
+
`, _u = _`
|
|
4903
4903
|
body,
|
|
4904
4904
|
:host {
|
|
4905
4905
|
font-family: var(--lumo-font-family);
|
|
@@ -4992,8 +4992,8 @@ const mc = _`
|
|
|
4992
4992
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
4993
4993
|
}
|
|
4994
4994
|
`;
|
|
4995
|
-
b("",
|
|
4996
|
-
lt("typography-props",
|
|
4995
|
+
b("", _u, { moduleId: "lumo-typography" });
|
|
4996
|
+
lt("typography-props", mu);
|
|
4997
4997
|
b("vaadin-checkbox", _`
|
|
4998
4998
|
:host {
|
|
4999
4999
|
color: var(--vaadin-checkbox-label-color, var(--lumo-body-text-color));
|
|
@@ -5320,9 +5320,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5320
5320
|
Code distributed by Google as part of the polymer project is also
|
|
5321
5321
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5322
5322
|
*/
|
|
5323
|
-
let
|
|
5323
|
+
let fu = /(url\()([^)]*)(\))/g, vu = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Kt, re;
|
|
5324
5324
|
function Tt(i, e) {
|
|
5325
|
-
if (i &&
|
|
5325
|
+
if (i && vu.test(i) || i === "//")
|
|
5326
5326
|
return i;
|
|
5327
5327
|
if (Kt === void 0) {
|
|
5328
5328
|
Kt = !1;
|
|
@@ -5341,7 +5341,7 @@ function Tt(i, e) {
|
|
|
5341
5341
|
return re || (re = document.implementation.createHTMLDocument("temp"), re.base = re.createElement("base"), re.head.appendChild(re.base), re.anchor = re.createElement("a"), re.body.appendChild(re.anchor)), re.base.href = e, re.anchor.href = i, re.anchor.href || i;
|
|
5342
5342
|
}
|
|
5343
5343
|
function go(i, e) {
|
|
5344
|
-
return i.replace(
|
|
5344
|
+
return i.replace(fu, function(t, r, o, a) {
|
|
5345
5345
|
return r + "'" + Tt(o.replace(/["']/g, ""), e) + "'" + a;
|
|
5346
5346
|
});
|
|
5347
5347
|
}
|
|
@@ -5357,7 +5357,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5357
5357
|
Code distributed by Google as part of the polymer project is also
|
|
5358
5358
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5359
5359
|
*/
|
|
5360
|
-
const vn = !window.ShadyDOM || !window.ShadyDOM.inUse,
|
|
5360
|
+
const vn = !window.ShadyDOM || !window.ShadyDOM.inUse, gu = vn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && (() => {
|
|
5361
5361
|
try {
|
|
5362
5362
|
const i = new CSSStyleSheet();
|
|
5363
5363
|
i.replaceSync("");
|
|
@@ -5367,7 +5367,7 @@ const vn = !window.ShadyDOM || !window.ShadyDOM.inUse, gc = vn && "adoptedStyleS
|
|
|
5367
5367
|
return !1;
|
|
5368
5368
|
}
|
|
5369
5369
|
})();
|
|
5370
|
-
let
|
|
5370
|
+
let bu = window.Polymer && window.Polymer.rootPath || bo(document.baseURI || window.location.href), gi = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, bi = window.Polymer && window.Polymer.strictTemplatePolicy || !1, yu = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, gn = window.Polymer && window.Polymer.legacyOptimizations || !1, bn = window.Polymer && window.Polymer.legacyWarnings || !1, wu = window.Polymer && window.Polymer.syncInitialRender || !1, Tr = window.Polymer && window.Polymer.legacyUndefined || !1, xu = window.Polymer && window.Polymer.orderedComputed || !1, Ka = window.Polymer && window.Polymer.removeNestedTemplates || !1, Cu = window.Polymer && window.Polymer.fastDomIf || !1, Xa = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, ku = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
5371
5371
|
/**
|
|
5372
5372
|
@license
|
|
5373
5373
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -5377,11 +5377,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5377
5377
|
Code distributed by Google as part of the polymer project is also
|
|
5378
5378
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5379
5379
|
*/
|
|
5380
|
-
let
|
|
5380
|
+
let Iu = 0;
|
|
5381
5381
|
const D = function(i) {
|
|
5382
5382
|
let e = i.__mixinApplications;
|
|
5383
5383
|
e || (e = /* @__PURE__ */ new WeakMap(), i.__mixinApplications = e);
|
|
5384
|
-
let t =
|
|
5384
|
+
let t = Iu++;
|
|
5385
5385
|
function r(o) {
|
|
5386
5386
|
let a = o.__mixinSet;
|
|
5387
5387
|
if (a && a[t])
|
|
@@ -5412,7 +5412,7 @@ function Qa(i, e) {
|
|
|
5412
5412
|
function Ja(i) {
|
|
5413
5413
|
return yo[i] || yn[i.toLowerCase()];
|
|
5414
5414
|
}
|
|
5415
|
-
function
|
|
5415
|
+
function Eu(i) {
|
|
5416
5416
|
i.querySelector("style") && console.warn("dom-module %s has style outside template", i.id);
|
|
5417
5417
|
}
|
|
5418
5418
|
class zt extends HTMLElement {
|
|
@@ -5440,7 +5440,7 @@ class zt extends HTMLElement {
|
|
|
5440
5440
|
if (e = e || this.id, e) {
|
|
5441
5441
|
if (bi && Ja(e) !== void 0)
|
|
5442
5442
|
throw Qa(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5443
|
-
this.id = e, Qa(e, this),
|
|
5443
|
+
this.id = e, Qa(e, this), Eu(this);
|
|
5444
5444
|
}
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
@@ -5455,7 +5455,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5455
5455
|
Code distributed by Google as part of the polymer project is also
|
|
5456
5456
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5457
5457
|
*/
|
|
5458
|
-
const
|
|
5458
|
+
const Au = "link[rel=import][type~=css]", Su = "include", Za = "shady-unscoped";
|
|
5459
5459
|
function wn(i) {
|
|
5460
5460
|
return zt.import(i);
|
|
5461
5461
|
}
|
|
@@ -5464,13 +5464,13 @@ function es(i) {
|
|
|
5464
5464
|
const t = go(e.textContent, i.baseURI), r = document.createElement("style");
|
|
5465
5465
|
return r.textContent = t, r;
|
|
5466
5466
|
}
|
|
5467
|
-
function
|
|
5467
|
+
function Tu(i) {
|
|
5468
5468
|
const e = i.trim().split(/\s+/), t = [];
|
|
5469
5469
|
for (let r = 0; r < e.length; r++)
|
|
5470
|
-
t.push(...
|
|
5470
|
+
t.push(...Pu(e[r]));
|
|
5471
5471
|
return t;
|
|
5472
5472
|
}
|
|
5473
|
-
function
|
|
5473
|
+
function Pu(i) {
|
|
5474
5474
|
const e = wn(i);
|
|
5475
5475
|
if (!e)
|
|
5476
5476
|
return console.warn("Could not find style data in module named", i), [];
|
|
@@ -5486,8 +5486,8 @@ function xn(i, e) {
|
|
|
5486
5486
|
if (!i._styles) {
|
|
5487
5487
|
const t = [], r = i.content.querySelectorAll("style");
|
|
5488
5488
|
for (let o = 0; o < r.length; o++) {
|
|
5489
|
-
let a = r[o], s = a.getAttribute(
|
|
5490
|
-
s && t.push(...
|
|
5489
|
+
let a = r[o], s = a.getAttribute(Su);
|
|
5490
|
+
s && t.push(...Tu(s).filter(function(n, l, d) {
|
|
5491
5491
|
return d.indexOf(n) === l;
|
|
5492
5492
|
})), e && (a.textContent = go(a.textContent, e)), t.push(a);
|
|
5493
5493
|
}
|
|
@@ -5495,12 +5495,12 @@ function xn(i, e) {
|
|
|
5495
5495
|
}
|
|
5496
5496
|
return i._styles;
|
|
5497
5497
|
}
|
|
5498
|
-
function
|
|
5498
|
+
function Du(i) {
|
|
5499
5499
|
let e = wn(i);
|
|
5500
5500
|
return e ? Cn(e) : [];
|
|
5501
5501
|
}
|
|
5502
5502
|
function Cn(i) {
|
|
5503
|
-
const e = [], t = i.querySelectorAll(
|
|
5503
|
+
const e = [], t = i.querySelectorAll(Au);
|
|
5504
5504
|
for (let r = 0; r < t.length; r++) {
|
|
5505
5505
|
let o = t[r];
|
|
5506
5506
|
if (o.import) {
|
|
@@ -5550,7 +5550,7 @@ function Mt(i, e) {
|
|
|
5550
5550
|
function Nt(i, e, t) {
|
|
5551
5551
|
return e + t.slice(i.length);
|
|
5552
5552
|
}
|
|
5553
|
-
function
|
|
5553
|
+
function Ou(i, e) {
|
|
5554
5554
|
return i === e || kn(i, e) || Mt(i, e);
|
|
5555
5555
|
}
|
|
5556
5556
|
function kt(i) {
|
|
@@ -5600,12 +5600,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5600
5600
|
Code distributed by Google as part of the polymer project is also
|
|
5601
5601
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5602
5602
|
*/
|
|
5603
|
-
const yi = {},
|
|
5603
|
+
const yi = {}, Vu = /-[a-z]/g, zu = /([A-Z])/g;
|
|
5604
5604
|
function En(i) {
|
|
5605
|
-
return yi[i] || (yi[i] = i.indexOf("-") < 0 ? i : i.replace(
|
|
5605
|
+
return yi[i] || (yi[i] = i.indexOf("-") < 0 ? i : i.replace(Vu, (e) => e[1].toUpperCase()));
|
|
5606
5606
|
}
|
|
5607
5607
|
function Di(i) {
|
|
5608
|
-
return yi[i] || (yi[i] = i.replace(
|
|
5608
|
+
return yi[i] || (yi[i] = i.replace(zu, "-$1").toLowerCase());
|
|
5609
5609
|
}
|
|
5610
5610
|
/**
|
|
5611
5611
|
@license
|
|
@@ -5616,9 +5616,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5616
5616
|
Code distributed by Google as part of the polymer project is also
|
|
5617
5617
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5618
5618
|
*/
|
|
5619
|
-
let
|
|
5620
|
-
new window.MutationObserver(
|
|
5621
|
-
function
|
|
5619
|
+
let Mu = 0, An = 0, Qe = [], Nu = 0, Dr = !1, Sn = document.createTextNode("");
|
|
5620
|
+
new window.MutationObserver(Lu).observe(Sn, { characterData: !0 });
|
|
5621
|
+
function Lu() {
|
|
5622
5622
|
Dr = !1;
|
|
5623
5623
|
const i = Qe.length;
|
|
5624
5624
|
for (let e = 0; e < i; e++) {
|
|
@@ -5634,7 +5634,7 @@ function Lc() {
|
|
|
5634
5634
|
}
|
|
5635
5635
|
Qe.splice(0, i), An += i;
|
|
5636
5636
|
}
|
|
5637
|
-
const
|
|
5637
|
+
const Fu = { after(i) {
|
|
5638
5638
|
return { run(e) {
|
|
5639
5639
|
return window.setTimeout(e, i);
|
|
5640
5640
|
}, cancel(e) {
|
|
@@ -5645,7 +5645,7 @@ const Fc = { after(i) {
|
|
|
5645
5645
|
}, cancel(i) {
|
|
5646
5646
|
window.clearTimeout(i);
|
|
5647
5647
|
} }, Tn = { run(i) {
|
|
5648
|
-
return Dr || (Dr = !0, Sn.textContent =
|
|
5648
|
+
return Dr || (Dr = !0, Sn.textContent = Nu++), Qe.push(i), Mu++;
|
|
5649
5649
|
}, cancel(i) {
|
|
5650
5650
|
const e = i - An;
|
|
5651
5651
|
if (e >= 0) {
|
|
@@ -5663,7 +5663,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5663
5663
|
Code distributed by Google as part of the polymer project is also
|
|
5664
5664
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5665
5665
|
*/
|
|
5666
|
-
const
|
|
5666
|
+
const Ru = Tn, Pn = D((i) => {
|
|
5667
5667
|
class e extends i {
|
|
5668
5668
|
static createProperties(r) {
|
|
5669
5669
|
const o = this.prototype;
|
|
@@ -5718,7 +5718,7 @@ const Rc = Tn, Pn = D((i) => {
|
|
|
5718
5718
|
return !!(this.__dataPending && this.__dataPending.hasOwnProperty(r));
|
|
5719
5719
|
}
|
|
5720
5720
|
_invalidateProperties() {
|
|
5721
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
5721
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Ru.run(() => {
|
|
5722
5722
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
5723
5723
|
}));
|
|
5724
5724
|
}
|
|
@@ -5792,14 +5792,14 @@ for (; Xt; ) {
|
|
|
5792
5792
|
Dn[i[e]] = !0;
|
|
5793
5793
|
Xt = Object.getPrototypeOf(Xt);
|
|
5794
5794
|
}
|
|
5795
|
-
const
|
|
5796
|
-
function
|
|
5795
|
+
const Bu = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
5796
|
+
function Hu(i, e) {
|
|
5797
5797
|
if (!Dn[e]) {
|
|
5798
5798
|
let t = i[e];
|
|
5799
5799
|
t !== void 0 && (i.__data ? i._setPendingProperty(e, t) : (i.__dataProto ? i.hasOwnProperty(JSCompiler_renameProperty("__dataProto", i)) || (i.__dataProto = Object.create(i.__dataProto)) : i.__dataProto = {}, i.__dataProto[e] = t));
|
|
5800
5800
|
}
|
|
5801
5801
|
}
|
|
5802
|
-
const $
|
|
5802
|
+
const $u = D((i) => {
|
|
5803
5803
|
const e = Pn(i);
|
|
5804
5804
|
class t extends e {
|
|
5805
5805
|
static createPropertiesForAttributes() {
|
|
@@ -5827,7 +5827,7 @@ const $c = D((i) => {
|
|
|
5827
5827
|
if (o instanceof Date)
|
|
5828
5828
|
return o.toString();
|
|
5829
5829
|
if (o) {
|
|
5830
|
-
if (
|
|
5830
|
+
if (Bu(o))
|
|
5831
5831
|
return o;
|
|
5832
5832
|
try {
|
|
5833
5833
|
return JSON.stringify(o);
|
|
@@ -5866,7 +5866,7 @@ const $c = D((i) => {
|
|
|
5866
5866
|
return s;
|
|
5867
5867
|
}
|
|
5868
5868
|
_definePropertyAccessor(o, a) {
|
|
5869
|
-
|
|
5869
|
+
Hu(this, o), super._definePropertyAccessor(o, a);
|
|
5870
5870
|
}
|
|
5871
5871
|
_hasAccessor(o) {
|
|
5872
5872
|
return this.__dataHasAccessor && this.__dataHasAccessor[o];
|
|
@@ -5886,9 +5886,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5886
5886
|
Code distributed by Google as part of the polymer project is also
|
|
5887
5887
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5888
5888
|
*/
|
|
5889
|
-
const
|
|
5889
|
+
const qu = { "dom-if": !0, "dom-repeat": !0 };
|
|
5890
5890
|
let is = !1, rs = !1;
|
|
5891
|
-
function
|
|
5891
|
+
function Uu() {
|
|
5892
5892
|
if (!is) {
|
|
5893
5893
|
is = !0;
|
|
5894
5894
|
const i = document.createElement("textarea");
|
|
@@ -5896,10 +5896,10 @@ function Uc() {
|
|
|
5896
5896
|
}
|
|
5897
5897
|
return rs;
|
|
5898
5898
|
}
|
|
5899
|
-
function
|
|
5900
|
-
|
|
5899
|
+
function Wu(i) {
|
|
5900
|
+
Uu() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
|
|
5901
5901
|
}
|
|
5902
|
-
const
|
|
5902
|
+
const ju = (() => {
|
|
5903
5903
|
const i = window.trustedTypes && window.trustedTypes.createPolicy("polymer-template-event-attribute-policy", { createScript: (e) => e });
|
|
5904
5904
|
return (e, t, r) => {
|
|
5905
5905
|
const o = t.getAttribute(r);
|
|
@@ -5910,13 +5910,13 @@ const jc = (() => {
|
|
|
5910
5910
|
e.setAttribute(r, o);
|
|
5911
5911
|
};
|
|
5912
5912
|
})();
|
|
5913
|
-
function
|
|
5913
|
+
function Yu(i) {
|
|
5914
5914
|
let e = i.getAttribute("is");
|
|
5915
|
-
if (e &&
|
|
5915
|
+
if (e && qu[e]) {
|
|
5916
5916
|
let t = i;
|
|
5917
5917
|
for (t.removeAttribute("is"), i = t.ownerDocument.createElement(e), t.parentNode.replaceChild(i, t), i.appendChild(t); t.attributes.length; ) {
|
|
5918
5918
|
const { name: r } = t.attributes[0];
|
|
5919
|
-
|
|
5919
|
+
ju(i, t, r), t.removeAttribute(r);
|
|
5920
5920
|
}
|
|
5921
5921
|
}
|
|
5922
5922
|
return i;
|
|
@@ -5930,23 +5930,23 @@ function On(i, e) {
|
|
|
5930
5930
|
} else
|
|
5931
5931
|
return i;
|
|
5932
5932
|
}
|
|
5933
|
-
function
|
|
5933
|
+
function Gu(i, e, t, r) {
|
|
5934
5934
|
r.id && (e[r.id] = t);
|
|
5935
5935
|
}
|
|
5936
|
-
function
|
|
5936
|
+
function Ku(i, e, t) {
|
|
5937
5937
|
if (t.events && t.events.length)
|
|
5938
5938
|
for (let r = 0, o = t.events, a; r < o.length && (a = o[r]); r++)
|
|
5939
5939
|
i._addMethodEventListenerToNode(e, a.name, a.value, i);
|
|
5940
5940
|
}
|
|
5941
|
-
function
|
|
5941
|
+
function Xu(i, e, t, r) {
|
|
5942
5942
|
t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = r);
|
|
5943
5943
|
}
|
|
5944
|
-
function
|
|
5944
|
+
function Qu(i, e, t) {
|
|
5945
5945
|
return i = i._methodHost || i, function(r) {
|
|
5946
5946
|
i[t] ? i[t](r, r.detail) : console.warn("listener method `" + t + "` not defined");
|
|
5947
5947
|
};
|
|
5948
5948
|
}
|
|
5949
|
-
const
|
|
5949
|
+
const Ju = D((i) => {
|
|
5950
5950
|
class e extends i {
|
|
5951
5951
|
static _parseTemplate(r, o) {
|
|
5952
5952
|
if (!r._templateInfo) {
|
|
@@ -5960,12 +5960,12 @@ const Jc = D((i) => {
|
|
|
5960
5960
|
}
|
|
5961
5961
|
static _parseTemplateNode(r, o, a) {
|
|
5962
5962
|
let s = !1, n = r;
|
|
5963
|
-
return n.localName == "template" && !n.hasAttribute("preserve-content") ? s = this._parseTemplateNestedTemplate(n, o, a) || s : n.localName === "slot" && (o.hasInsertionPoint = !0),
|
|
5963
|
+
return n.localName == "template" && !n.hasAttribute("preserve-content") ? s = this._parseTemplateNestedTemplate(n, o, a) || s : n.localName === "slot" && (o.hasInsertionPoint = !0), Wu(n), n.firstChild && this._parseTemplateChildNodes(n, o, a), n.hasAttributes && n.hasAttributes() && (s = this._parseTemplateNodeAttributes(n, o, a) || s), s || a.noted;
|
|
5964
5964
|
}
|
|
5965
5965
|
static _parseTemplateChildNodes(r, o, a) {
|
|
5966
5966
|
if (!(r.localName === "script" || r.localName === "style"))
|
|
5967
5967
|
for (let s = r.firstChild, n = 0, l; s; s = l) {
|
|
5968
|
-
if (s.localName == "template" && (s =
|
|
5968
|
+
if (s.localName == "template" && (s = Yu(s)), l = s.nextSibling, s.nodeType === Node.TEXT_NODE) {
|
|
5969
5969
|
let h = l;
|
|
5970
5970
|
for (; h && h.nodeType === Node.TEXT_NODE; )
|
|
5971
5971
|
s.textContent += h.textContent, l = h.nextSibling, r.removeChild(h), h = l;
|
|
@@ -6001,15 +6001,15 @@ const Jc = D((i) => {
|
|
|
6001
6001
|
n.__noInsertionPoint = !o.hasInsertionPoint;
|
|
6002
6002
|
let l = n.nodeList = new Array(a.length);
|
|
6003
6003
|
n.$ = {};
|
|
6004
|
-
for (let d = 0, h = a.length,
|
|
6005
|
-
let p = l[d] = On(n,
|
|
6006
|
-
|
|
6004
|
+
for (let d = 0, h = a.length, c; d < h && (c = a[d]); d++) {
|
|
6005
|
+
let p = l[d] = On(n, c);
|
|
6006
|
+
Gu(this, n.$, p, c), Xu(this, p, c, o), Ku(this, p, c);
|
|
6007
6007
|
}
|
|
6008
6008
|
return n = n, n;
|
|
6009
6009
|
}
|
|
6010
6010
|
_addMethodEventListenerToNode(r, o, a, s) {
|
|
6011
6011
|
s = s || r;
|
|
6012
|
-
let n =
|
|
6012
|
+
let n = Qu(s, o, a);
|
|
6013
6013
|
return this._addEventListenerToNode(r, o, n), n;
|
|
6014
6014
|
}
|
|
6015
6015
|
_addEventListenerToNode(r, o, a) {
|
|
@@ -6033,7 +6033,7 @@ const Jc = D((i) => {
|
|
|
6033
6033
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6034
6034
|
*/
|
|
6035
6035
|
let Lt = 0;
|
|
6036
|
-
const Ft = [], T = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, Vn = "__computeInfo",
|
|
6036
|
+
const Ft = [], T = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, Vn = "__computeInfo", Zu = /[A-Z]/;
|
|
6037
6037
|
function Zi(i, e, t) {
|
|
6038
6038
|
let r = i[e];
|
|
6039
6039
|
if (!r)
|
|
@@ -6053,7 +6053,7 @@ function It(i, e, t, r, o, a) {
|
|
|
6053
6053
|
for (let l in t) {
|
|
6054
6054
|
let d = o ? $e(l) : l, h = e[d];
|
|
6055
6055
|
if (h)
|
|
6056
|
-
for (let
|
|
6056
|
+
for (let c = 0, p = h.length, m; c < p && (m = h[c]); c++)
|
|
6057
6057
|
(!m.info || m.info.lastRun !== n) && (!o || wo(l, m.trigger)) && (m.info && (m.info.lastRun = n), m.fn(i, l, t, r, m.info, o, a), s = !0);
|
|
6058
6058
|
}
|
|
6059
6059
|
return s;
|
|
@@ -6063,7 +6063,7 @@ function It(i, e, t, r, o, a) {
|
|
|
6063
6063
|
function ep(i, e, t, r, o, a, s, n) {
|
|
6064
6064
|
let l = !1, d = s ? $e(r) : r, h = e[d];
|
|
6065
6065
|
if (h)
|
|
6066
|
-
for (let
|
|
6066
|
+
for (let c = 0, p = h.length, m; c < p && (m = h[c]); c++)
|
|
6067
6067
|
(!m.info || m.info.lastRun !== t) && (!s || wo(r, m.trigger)) && (m.info && (m.info.lastRun = t), m.fn(i, r, o, a, m.info, s, n), l = !0);
|
|
6068
6068
|
return l;
|
|
6069
6069
|
}
|
|
@@ -6112,7 +6112,7 @@ function ap(i, e, t, r, o) {
|
|
|
6112
6112
|
function sp(i, e, t, r) {
|
|
6113
6113
|
let o = i[T.COMPUTE];
|
|
6114
6114
|
if (o)
|
|
6115
|
-
if (
|
|
6115
|
+
if (xu) {
|
|
6116
6116
|
Lt++;
|
|
6117
6117
|
const a = lp(i), s = [];
|
|
6118
6118
|
for (let l in e)
|
|
@@ -6205,10 +6205,10 @@ function er(i, e, t, r, o, a, s) {
|
|
|
6205
6205
|
let l = e.nodeInfoList.length;
|
|
6206
6206
|
for (let d = 0; d < n.parts.length; d++) {
|
|
6207
6207
|
let h = n.parts[d];
|
|
6208
|
-
h.compoundIndex = d,
|
|
6208
|
+
h.compoundIndex = d, cp(i, e, n, h, l);
|
|
6209
6209
|
}
|
|
6210
6210
|
}
|
|
6211
|
-
function
|
|
6211
|
+
function cp(i, e, t, r, o) {
|
|
6212
6212
|
if (!r.literal)
|
|
6213
6213
|
if (t.kind === "attribute" && t.target[0] === "-")
|
|
6214
6214
|
console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -6216,11 +6216,11 @@ function up(i, e, t, r, o) {
|
|
|
6216
6216
|
let a = r.dependencies, s = { index: o, binding: t, part: r, evaluator: i };
|
|
6217
6217
|
for (let n = 0; n < a.length; n++) {
|
|
6218
6218
|
let l = a[n];
|
|
6219
|
-
typeof l == "string" && (l = Ln(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn:
|
|
6219
|
+
typeof l == "string" && (l = Ln(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: up, info: s, trigger: l });
|
|
6220
6220
|
}
|
|
6221
6221
|
}
|
|
6222
6222
|
}
|
|
6223
|
-
function
|
|
6223
|
+
function up(i, e, t, r, o, a, s) {
|
|
6224
6224
|
let n = s[o.index], l = o.binding, d = o.part;
|
|
6225
6225
|
if (a && d.source && e.length > d.source.length && l.kind == "property" && !l.isCompound && n.__isPropertyEffectsClient && n.__dataHasAccessor && n.__dataHasAccessor[l.target]) {
|
|
6226
6226
|
let h = t[e];
|
|
@@ -6348,7 +6348,7 @@ function Op(i) {
|
|
|
6348
6348
|
return i[0].toUpperCase() + i.substring(1);
|
|
6349
6349
|
}
|
|
6350
6350
|
const xo = D((i) => {
|
|
6351
|
-
const e =
|
|
6351
|
+
const e = Ju($u(i));
|
|
6352
6352
|
class t extends e {
|
|
6353
6353
|
constructor() {
|
|
6354
6354
|
super(), this.__isPropertyEffectsClient = !0;
|
|
@@ -6466,8 +6466,8 @@ const xo = D((i) => {
|
|
|
6466
6466
|
_runEffectsForTemplate(o, a, s, n) {
|
|
6467
6467
|
const l = (d, h) => {
|
|
6468
6468
|
It(this, o.propertyEffects, d, s, h, o.nodeList);
|
|
6469
|
-
for (let
|
|
6470
|
-
this._runEffectsForTemplate(
|
|
6469
|
+
for (let c = o.firstChild; c; c = c.nextSibling)
|
|
6470
|
+
this._runEffectsForTemplate(c, d, s, h);
|
|
6471
6471
|
};
|
|
6472
6472
|
o.runEffects ? o.runEffects(l, a, n) : l(a, n);
|
|
6473
6473
|
}
|
|
@@ -6550,13 +6550,13 @@ const xo = D((i) => {
|
|
|
6550
6550
|
_marshalArgs(o, a, s) {
|
|
6551
6551
|
const n = this.__data, l = [];
|
|
6552
6552
|
for (let d = 0, h = o.length; d < h; d++) {
|
|
6553
|
-
let { name:
|
|
6553
|
+
let { name: c, structured: p, wildcard: m, value: g, literal: E } = o[d];
|
|
6554
6554
|
if (!E)
|
|
6555
6555
|
if (m) {
|
|
6556
|
-
const w = Mt(
|
|
6557
|
-
g = { path: w ? a :
|
|
6556
|
+
const w = Mt(c, a), x = hs(n, s, w ? a : c);
|
|
6557
|
+
g = { path: w ? a : c, value: x, base: w ? Z(n, c) : x };
|
|
6558
6558
|
} else
|
|
6559
|
-
g = p ? hs(n, s,
|
|
6559
|
+
g = p ? hs(n, s, c) : n[c];
|
|
6560
6560
|
if (Tr && !this._overrideLegacyUndefined && g === void 0 && o.length > 1)
|
|
6561
6561
|
return Ft;
|
|
6562
6562
|
l[d] = g;
|
|
@@ -6624,8 +6624,8 @@ const xo = D((i) => {
|
|
|
6624
6624
|
s ? s.nextSibling = n : l && (l.firstChild = n), n ? n.previousSibling = s : l && (l.lastChild = s), a.nextSibling = a.previousSibling = null;
|
|
6625
6625
|
let d = a.childNodes;
|
|
6626
6626
|
for (let h = 0; h < d.length; h++) {
|
|
6627
|
-
let
|
|
6628
|
-
J(J(
|
|
6627
|
+
let c = d[h];
|
|
6628
|
+
J(J(c).parentNode).removeChild(c);
|
|
6629
6629
|
}
|
|
6630
6630
|
}
|
|
6631
6631
|
static _parseTemplateNode(o, a, s) {
|
|
@@ -6639,19 +6639,19 @@ const xo = D((i) => {
|
|
|
6639
6639
|
static _parseTemplateNodeAttribute(o, a, s, n, l) {
|
|
6640
6640
|
let d = this._parseBindings(l, a);
|
|
6641
6641
|
if (d) {
|
|
6642
|
-
let h = n,
|
|
6643
|
-
|
|
6642
|
+
let h = n, c = "property";
|
|
6643
|
+
Zu.test(n) ? c = "attribute" : n[n.length - 1] == "$" && (n = n.slice(0, -1), c = "attribute");
|
|
6644
6644
|
let p = ds(d);
|
|
6645
|
-
return p &&
|
|
6645
|
+
return p && c == "attribute" && (n == "class" && o.hasAttribute("class") && (p += " " + o.getAttribute(n)), o.setAttribute(n, p)), c == "attribute" && h == "disable-upgrade$" && o.setAttribute(n, ""), o.localName === "input" && h === "value" && o.setAttribute(h, ""), o.removeAttribute(h), c === "property" && (n = En(n)), er(this, a, s, c, n, d, p), !0;
|
|
6646
6646
|
} else
|
|
6647
6647
|
return e._parseTemplateNodeAttribute.call(this, o, a, s, n, l);
|
|
6648
6648
|
}
|
|
6649
6649
|
static _parseTemplateNestedTemplate(o, a, s) {
|
|
6650
6650
|
let n = e._parseTemplateNestedTemplate.call(this, o, a, s);
|
|
6651
|
-
const l = o.parentNode, d = s.templateInfo, h = l.localName === "dom-if",
|
|
6652
|
-
Ka && (h ||
|
|
6651
|
+
const l = o.parentNode, d = s.templateInfo, h = l.localName === "dom-if", c = l.localName === "dom-repeat";
|
|
6652
|
+
Ka && (h || c) && (l.removeChild(o), s = s.parentInfo, s.templateInfo = d, s.noted = !0, n = !1);
|
|
6653
6653
|
let p = d.hostProps;
|
|
6654
|
-
if (
|
|
6654
|
+
if (Cu && h)
|
|
6655
6655
|
p && (a.hostProps = Object.assign(a.hostProps || {}, p), Ka || (s.parentInfo.noted = !0));
|
|
6656
6656
|
else {
|
|
6657
6657
|
let m = "{";
|
|
@@ -6666,9 +6666,9 @@ const xo = D((i) => {
|
|
|
6666
6666
|
let s = [], n = 0, l;
|
|
6667
6667
|
for (; (l = ls.exec(o)) !== null; ) {
|
|
6668
6668
|
l.index > n && s.push({ literal: o.slice(n, l.index) });
|
|
6669
|
-
let d = l[1][0], h = !!l[2],
|
|
6670
|
-
d == "{" && (g =
|
|
6671
|
-
let E = tr(
|
|
6669
|
+
let d = l[1][0], h = !!l[2], c = l[3].trim(), p = !1, m = "", g = -1;
|
|
6670
|
+
d == "{" && (g = c.indexOf("::")) > 0 && (m = c.substring(g + 2), c = c.substring(0, g), p = !0);
|
|
6671
|
+
let E = tr(c), w = [];
|
|
6672
6672
|
if (E) {
|
|
6673
6673
|
let { args: x, methodName: I } = E;
|
|
6674
6674
|
for (let R = 0; R < x.length; R++) {
|
|
@@ -6678,8 +6678,8 @@ const xo = D((i) => {
|
|
|
6678
6678
|
let U = a.dynamicFns;
|
|
6679
6679
|
(U && U[I] || E.static) && (w.push(I), E.dynamicFn = !0);
|
|
6680
6680
|
} else
|
|
6681
|
-
w.push(
|
|
6682
|
-
s.push({ source:
|
|
6681
|
+
w.push(c);
|
|
6682
|
+
s.push({ source: c, mode: d, negate: h, customEvent: p, signature: E, dependencies: w, event: m }), n = ls.lastIndex;
|
|
6683
6683
|
}
|
|
6684
6684
|
if (n && n < o.length) {
|
|
6685
6685
|
let d = o.substring(n);
|
|
@@ -6789,15 +6789,15 @@ const zp = D((i) => {
|
|
|
6789
6789
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6790
6790
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6791
6791
|
*/
|
|
6792
|
-
const Mp = "3.5.2",
|
|
6792
|
+
const Mp = "3.5.2", cs = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i) => {
|
|
6793
6793
|
const e = zp(xo(i));
|
|
6794
6794
|
function t(l) {
|
|
6795
6795
|
if (!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults", l))) {
|
|
6796
6796
|
l.__propertyDefaults = null;
|
|
6797
6797
|
let d = l._properties;
|
|
6798
6798
|
for (let h in d) {
|
|
6799
|
-
let
|
|
6800
|
-
"value" in
|
|
6799
|
+
let c = d[h];
|
|
6800
|
+
"value" in c && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[h] = c);
|
|
6801
6801
|
}
|
|
6802
6802
|
}
|
|
6803
6803
|
return l.__propertyDefaults;
|
|
@@ -6805,23 +6805,23 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6805
6805
|
function r(l) {
|
|
6806
6806
|
return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers", l)) || (l.__ownObservers = l.hasOwnProperty(JSCompiler_renameProperty("observers", l)) ? l.observers : null), l.__ownObservers;
|
|
6807
6807
|
}
|
|
6808
|
-
function o(l, d, h,
|
|
6809
|
-
h.computed && (h.readOnly = !0), h.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, h.computed,
|
|
6808
|
+
function o(l, d, h, c) {
|
|
6809
|
+
h.computed && (h.readOnly = !0), h.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, h.computed, c)), h.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !h.computed) : h.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), h.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : h.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), h.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : h.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), h.observer && l._createPropertyObserver(d, h.observer, c[h.observer]), l._addPropertyToAttributeMap(d);
|
|
6810
6810
|
}
|
|
6811
|
-
function a(l, d, h,
|
|
6812
|
-
if (!
|
|
6813
|
-
const p = d.content.querySelectorAll("style"), m = xn(d), g =
|
|
6811
|
+
function a(l, d, h, c) {
|
|
6812
|
+
if (!cs) {
|
|
6813
|
+
const p = d.content.querySelectorAll("style"), m = xn(d), g = Du(h), E = d.content.firstElementChild;
|
|
6814
6814
|
for (let x = 0; x < g.length; x++) {
|
|
6815
6815
|
let I = g[x];
|
|
6816
|
-
I.textContent = l._processStyleText(I.textContent,
|
|
6816
|
+
I.textContent = l._processStyleText(I.textContent, c), d.content.insertBefore(I, E);
|
|
6817
6817
|
}
|
|
6818
6818
|
let w = 0;
|
|
6819
6819
|
for (let x = 0; x < m.length; x++) {
|
|
6820
6820
|
let I = m[x], U = p[w];
|
|
6821
|
-
U !== I ? (I = I.cloneNode(!0), U.parentNode.insertBefore(I, U)) : w++, I.textContent = l._processStyleText(I.textContent,
|
|
6821
|
+
U !== I ? (I = I.cloneNode(!0), U.parentNode.insertBefore(I, U)) : w++, I.textContent = l._processStyleText(I.textContent, c);
|
|
6822
6822
|
}
|
|
6823
6823
|
}
|
|
6824
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, h),
|
|
6824
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, h), ku && cs && gu) {
|
|
6825
6825
|
const p = d.content.querySelectorAll("style");
|
|
6826
6826
|
if (p) {
|
|
6827
6827
|
let m = "";
|
|
@@ -6833,7 +6833,7 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6833
6833
|
}
|
|
6834
6834
|
function s(l) {
|
|
6835
6835
|
let d = null;
|
|
6836
|
-
if (l && (!bi ||
|
|
6836
|
+
if (l && (!bi || yu) && (d = zt.import(l, "template"), bi && !d))
|
|
6837
6837
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6838
6838
|
return d;
|
|
6839
6839
|
}
|
|
@@ -6855,9 +6855,9 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6855
6855
|
o(this.prototype, h, d[h], d);
|
|
6856
6856
|
}
|
|
6857
6857
|
static createObservers(d, h) {
|
|
6858
|
-
const
|
|
6858
|
+
const c = this.prototype;
|
|
6859
6859
|
for (let p = 0; p < d.length; p++)
|
|
6860
|
-
|
|
6860
|
+
c._createMethodObserver(d[p], h);
|
|
6861
6861
|
}
|
|
6862
6862
|
static get template() {
|
|
6863
6863
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
|
|
@@ -6885,13 +6885,13 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6885
6885
|
super();
|
|
6886
6886
|
}
|
|
6887
6887
|
_initializeProperties() {
|
|
6888
|
-
this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath =
|
|
6888
|
+
this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = bu, this.importPath = this.constructor.importPath;
|
|
6889
6889
|
let d = t(this.constructor);
|
|
6890
6890
|
if (d)
|
|
6891
6891
|
for (let h in d) {
|
|
6892
|
-
let
|
|
6892
|
+
let c = d[h];
|
|
6893
6893
|
if (this._canApplyPropertyDefault(h)) {
|
|
6894
|
-
let p = typeof
|
|
6894
|
+
let p = typeof c.value == "function" ? c.value.call(this) : c.value;
|
|
6895
6895
|
this._hasAccessor(h) ? this._setPendingProperty(h, p, !0) : this[h] = p;
|
|
6896
6896
|
}
|
|
6897
6897
|
}
|
|
@@ -6906,7 +6906,7 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6906
6906
|
const h = this.prototype._template;
|
|
6907
6907
|
if (h && !h.__polymerFinalized) {
|
|
6908
6908
|
h.__polymerFinalized = !0;
|
|
6909
|
-
const
|
|
6909
|
+
const c = this.importPath, p = c ? Tt(c) : "";
|
|
6910
6910
|
a(this, h, d, p), this.prototype._bindTemplate(h);
|
|
6911
6911
|
}
|
|
6912
6912
|
}
|
|
@@ -6922,7 +6922,7 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6922
6922
|
_attachDom(d) {
|
|
6923
6923
|
const h = J(this);
|
|
6924
6924
|
if (h.attachShadow)
|
|
6925
|
-
return d ? (h.shadowRoot || (h.attachShadow({ mode: "open", shadyUpgradeFragment: d }), h.shadowRoot.appendChild(d), this.constructor._styleSheet && (h.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6925
|
+
return d ? (h.shadowRoot || (h.attachShadow({ mode: "open", shadyUpgradeFragment: d }), h.shadowRoot.appendChild(d), this.constructor._styleSheet && (h.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), wu && window.ShadyDOM && window.ShadyDOM.flushInitial(h.shadowRoot), h.shadowRoot) : null;
|
|
6926
6926
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6927
6927
|
}
|
|
6928
6928
|
updateStyles(d) {
|
|
@@ -6931,11 +6931,11 @@ const Mp = "3.5.2", us = window.ShadyCSS && window.ShadyCSS.cssBuild, Np = D((i)
|
|
|
6931
6931
|
resolveUrl(d, h) {
|
|
6932
6932
|
return !h && this.importPath && (h = Tt(this.importPath)), Tt(d, h);
|
|
6933
6933
|
}
|
|
6934
|
-
static _parseTemplateContent(d, h,
|
|
6935
|
-
return h.dynamicFns = h.dynamicFns || this._properties, e._parseTemplateContent.call(this, d, h,
|
|
6934
|
+
static _parseTemplateContent(d, h, c) {
|
|
6935
|
+
return h.dynamicFns = h.dynamicFns || this._properties, e._parseTemplateContent.call(this, d, h, c);
|
|
6936
6936
|
}
|
|
6937
|
-
static _addTemplatePropertyEffect(d, h,
|
|
6938
|
-
return bn && !(h in this._properties) && !(
|
|
6937
|
+
static _addTemplatePropertyEffect(d, h, c) {
|
|
6938
|
+
return bn && !(h in this._properties) && !(c.info.part.signature && c.info.part.signature.static) && !c.info.part.hostProp && !d.nestedTemplate && console.warn(`Property '${h}' used in template but not declared in 'properties'; attribute will not be observed.`), e._addTemplatePropertyEffect.call(this, d, h, c);
|
|
6939
6939
|
}
|
|
6940
6940
|
}
|
|
6941
6941
|
return n;
|
|
@@ -6949,7 +6949,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6949
6949
|
Code distributed by Google as part of the polymer project is also
|
|
6950
6950
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6951
6951
|
*/
|
|
6952
|
-
const
|
|
6952
|
+
const us = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
|
|
6953
6953
|
class Rn {
|
|
6954
6954
|
constructor(e, t) {
|
|
6955
6955
|
Hn(e, t);
|
|
@@ -6976,7 +6976,7 @@ const V = function(i, ...e) {
|
|
|
6976
6976
|
Hn(i, e);
|
|
6977
6977
|
const t = document.createElement("template");
|
|
6978
6978
|
let r = e.reduce((o, a, s) => o + Lp(a) + i[s + 1], i[0]);
|
|
6979
|
-
return
|
|
6979
|
+
return us && (r = us.createHTML(r)), t.innerHTML = r, t;
|
|
6980
6980
|
}, Hn = (i, e) => {
|
|
6981
6981
|
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
|
|
6982
6982
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -8037,10 +8037,10 @@ function hm(i) {
|
|
|
8037
8037
|
i.cancelable && (r === "none" ? o = !0 : r === "pan-x" ? o = s > a : r === "pan-y" && (o = a > s)), o ? i.preventDefault() : xi("track");
|
|
8038
8038
|
}
|
|
8039
8039
|
}
|
|
8040
|
-
function
|
|
8041
|
-
return Io[e] ? (
|
|
8040
|
+
function ce(i, e, t) {
|
|
8041
|
+
return Io[e] ? (cm(i, e, t), !0) : !1;
|
|
8042
8042
|
}
|
|
8043
|
-
function
|
|
8043
|
+
function cm(i, e, t) {
|
|
8044
8044
|
const r = Io[e], o = r.deps, a = r.name;
|
|
8045
8045
|
let s = i[Lr];
|
|
8046
8046
|
s || (i[Lr] = s = {});
|
|
@@ -8053,7 +8053,7 @@ function Eo(i) {
|
|
|
8053
8053
|
Io[e] = i;
|
|
8054
8054
|
});
|
|
8055
8055
|
}
|
|
8056
|
-
function
|
|
8056
|
+
function um(i) {
|
|
8057
8057
|
for (let e = 0, t; e < Fe.length; e++) {
|
|
8058
8058
|
t = Fe[e];
|
|
8059
8059
|
for (let r = 0, o; r < t.emits.length; r++)
|
|
@@ -8075,7 +8075,7 @@ function Ao(i, e, t) {
|
|
|
8075
8075
|
}
|
|
8076
8076
|
}
|
|
8077
8077
|
function xi(i) {
|
|
8078
|
-
const e =
|
|
8078
|
+
const e = um(i);
|
|
8079
8079
|
e.info && (e.info.prevent = !0);
|
|
8080
8080
|
}
|
|
8081
8081
|
Eo({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
|
|
@@ -8215,9 +8215,9 @@ const So = (i) => class extends dt(Ue(i)) {
|
|
|
8215
8215
|
return [" "];
|
|
8216
8216
|
}
|
|
8217
8217
|
ready() {
|
|
8218
|
-
super.ready(),
|
|
8218
|
+
super.ready(), ce(this, "down", (e) => {
|
|
8219
8219
|
this._shouldSetActive(e) && this._setActive(!0);
|
|
8220
|
-
}),
|
|
8220
|
+
}), ce(this, "up", () => {
|
|
8221
8221
|
this._setActive(!1);
|
|
8222
8222
|
});
|
|
8223
8223
|
}
|
|
@@ -10971,19 +10971,19 @@ const ys = (i) => i && i.nodeType === Node.ELEMENT_NODE, nr = (...i) => {
|
|
|
10971
10971
|
}).filter((t) => !!t) : (nr(i, "is not a valid element"), []), Gm = (i, e, t, r) => {
|
|
10972
10972
|
const o = Ym(e, Array.isArray(i) ? i : [i]);
|
|
10973
10973
|
Zt[t] || (Zt[t] = /* @__PURE__ */ new WeakMap());
|
|
10974
|
-
const a = Zt[t], s = [], n = /* @__PURE__ */ new Set(), l = new Set(o), d = (
|
|
10975
|
-
if (!
|
|
10974
|
+
const a = Zt[t], s = [], n = /* @__PURE__ */ new Set(), l = new Set(o), d = (c) => {
|
|
10975
|
+
if (!c || n.has(c))
|
|
10976
10976
|
return;
|
|
10977
|
-
n.add(
|
|
10978
|
-
const p =
|
|
10979
|
-
p && d(p), d(
|
|
10977
|
+
n.add(c);
|
|
10978
|
+
const p = c.assignedSlot;
|
|
10979
|
+
p && d(p), d(c.parentNode || c.host);
|
|
10980
10980
|
};
|
|
10981
10981
|
o.forEach(d);
|
|
10982
|
-
const h = (
|
|
10983
|
-
if (!
|
|
10982
|
+
const h = (c) => {
|
|
10983
|
+
if (!c || l.has(c))
|
|
10984
10984
|
return;
|
|
10985
|
-
const p =
|
|
10986
|
-
(p ? [...
|
|
10985
|
+
const p = c.shadowRoot;
|
|
10986
|
+
(p ? [...c.children, ...p.children] : [...c.children]).forEach((m) => {
|
|
10987
10987
|
if (!["template", "script", "style"].includes(m.localName))
|
|
10988
10988
|
if (n.has(m))
|
|
10989
10989
|
h(m);
|
|
@@ -10994,12 +10994,12 @@ const ys = (i) => i && i.nodeType === Node.ELEMENT_NODE, nr = (...i) => {
|
|
|
10994
10994
|
});
|
|
10995
10995
|
};
|
|
10996
10996
|
return h(e), n.clear(), sr += 1, () => {
|
|
10997
|
-
s.forEach((
|
|
10998
|
-
const p = Ye.get(
|
|
10999
|
-
Ye.set(
|
|
10997
|
+
s.forEach((c) => {
|
|
10998
|
+
const p = Ye.get(c) - 1, m = a.get(c) - 1;
|
|
10999
|
+
Ye.set(c, p), a.set(c, m), p || (Jt.has(c) ? Jt.delete(c) : c.removeAttribute(r)), m || c.removeAttribute(t);
|
|
11000
11000
|
}), sr -= 1, sr || (Ye = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Zt = {});
|
|
11001
11001
|
};
|
|
11002
|
-
},
|
|
11002
|
+
}, cl = (i, e = document.body, t = "data-aria-hidden") => {
|
|
11003
11003
|
const r = Array.from(Array.isArray(i) ? i : [i]);
|
|
11004
11004
|
return e && r.push(...Array.from(e.querySelectorAll("[aria-live]"))), Gm(r, e, t, "aria-hidden");
|
|
11005
11005
|
};
|
|
@@ -11014,7 +11014,7 @@ let Km = class {
|
|
|
11014
11014
|
}
|
|
11015
11015
|
showModal() {
|
|
11016
11016
|
const i = this.callback();
|
|
11017
|
-
this.__showOthers =
|
|
11017
|
+
this.__showOthers = cl(i);
|
|
11018
11018
|
}
|
|
11019
11019
|
close() {
|
|
11020
11020
|
this.__showOthers && (this.__showOthers(), this.__showOthers = null);
|
|
@@ -11126,7 +11126,7 @@ const Jm = (i) => class extends Ve(i) {
|
|
|
11126
11126
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11127
11127
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11128
11128
|
*/
|
|
11129
|
-
const
|
|
11129
|
+
const ul = () => Array.from(document.body.children).filter((i) => i instanceof HTMLElement && i._hasOverlayStackMixin && !i.hasAttribute("closing")).sort((i, e) => i.__zIndex - e.__zIndex || 0), Wr = () => ul().filter((i) => i.$.overlay), Zm = (i) => i === Wr().pop(), pl = (i) => class extends i {
|
|
11130
11130
|
constructor() {
|
|
11131
11131
|
super(), this._hasOverlayStackMixin = !0;
|
|
11132
11132
|
}
|
|
@@ -11135,7 +11135,7 @@ const cl = () => Array.from(document.body.children).filter((i) => i instanceof H
|
|
|
11135
11135
|
}
|
|
11136
11136
|
bringToFront() {
|
|
11137
11137
|
let e = "";
|
|
11138
|
-
const t =
|
|
11138
|
+
const t = ul().filter((r) => r !== this).pop();
|
|
11139
11139
|
t && (e = t.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
11140
11140
|
}
|
|
11141
11141
|
_enterModalState() {
|
|
@@ -11294,10 +11294,10 @@ function e_(i, e) {
|
|
|
11294
11294
|
}
|
|
11295
11295
|
function a(s = !1, n = 1) {
|
|
11296
11296
|
o();
|
|
11297
|
-
const { left: l, top: d, width: h, height:
|
|
11298
|
-
if (s || e(), !h || !
|
|
11297
|
+
const { left: l, top: d, width: h, height: c } = i.getBoundingClientRect();
|
|
11298
|
+
if (s || e(), !h || !c)
|
|
11299
11299
|
return;
|
|
11300
|
-
const p = Math.floor(d), m = Math.floor(r.clientWidth - (l + h)), g = Math.floor(r.clientHeight - (d +
|
|
11300
|
+
const p = Math.floor(d), m = Math.floor(r.clientWidth - (l + h)), g = Math.floor(r.clientHeight - (d + c)), E = Math.floor(l), w = { rootMargin: `${-p}px ${-m}px ${-g}px ${-E}px`, threshold: Math.max(0, Math.min(1, n)) || 1 };
|
|
11301
11301
|
let x = !0;
|
|
11302
11302
|
function I(U) {
|
|
11303
11303
|
let R = U[0].intersectionRatio;
|
|
@@ -11393,8 +11393,8 @@ const dr = { start: "top", end: "bottom" }, hr = { start: "left", end: "right" }
|
|
|
11393
11393
|
return this.__shouldAlignStart(e, t, r, this.__margins, o, this.noVerticalOverlap, dr);
|
|
11394
11394
|
}
|
|
11395
11395
|
__shouldAlignStart(e, t, r, o, a, s, n) {
|
|
11396
|
-
const l = r - e[s ? n.end : n.start] - o[n.end], d = e[s ? n.start : n.end] - o[n.start], h = a ? l : d,
|
|
11397
|
-
return a ===
|
|
11396
|
+
const l = r - e[s ? n.end : n.start] - o[n.end], d = e[s ? n.start : n.end] - o[n.start], h = a ? l : d, c = h > (a ? d : l) || h > t;
|
|
11397
|
+
return a === c;
|
|
11398
11398
|
}
|
|
11399
11399
|
__adjustBottomProperty(e, t, r) {
|
|
11400
11400
|
let o;
|
|
@@ -11419,7 +11419,7 @@ const dr = { start: "top", end: "bottom" }, hr = { start: "left", end: "right" }
|
|
|
11419
11419
|
return o;
|
|
11420
11420
|
}
|
|
11421
11421
|
__calculatePositionInOneDimension(e, t, r, o, a, s) {
|
|
11422
|
-
const n = s ? o.start : o.end, l = s ? o.end : o.start, d = parseFloat(a.style[n] || getComputedStyle(a)[n]), h = this.__adjustBottomProperty(n, o, d),
|
|
11422
|
+
const n = s ? o.start : o.end, l = s ? o.end : o.start, d = parseFloat(a.style[n] || getComputedStyle(a)[n]), h = this.__adjustBottomProperty(n, o, d), c = t[s ? o.start : o.end] - e[r === s ? o.end : o.start], p = h ? `${h}px` : `${d + c * (s ? -1 : 1)}px`;
|
|
11423
11423
|
return { [n]: p, [l]: "" };
|
|
11424
11424
|
}
|
|
11425
11425
|
};
|
|
@@ -11699,9 +11699,9 @@ let h_ = class Yr {
|
|
|
11699
11699
|
return e instanceof Yr ? e._cancelAsync() : e = new Yr(), e.setConfig(t, r), e;
|
|
11700
11700
|
}
|
|
11701
11701
|
}, Ht = /* @__PURE__ */ new Set();
|
|
11702
|
-
const
|
|
11702
|
+
const c_ = function(i) {
|
|
11703
11703
|
Ht.add(i);
|
|
11704
|
-
},
|
|
11704
|
+
}, u_ = function() {
|
|
11705
11705
|
const i = !!Ht.size;
|
|
11706
11706
|
return Ht.forEach((e) => {
|
|
11707
11707
|
try {
|
|
@@ -11725,7 +11725,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
11725
11725
|
const Yo = function() {
|
|
11726
11726
|
let i, e;
|
|
11727
11727
|
do
|
|
11728
|
-
i = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), e =
|
|
11728
|
+
i = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), e = u_();
|
|
11729
11729
|
while (i || e);
|
|
11730
11730
|
};
|
|
11731
11731
|
/**
|
|
@@ -12350,7 +12350,7 @@ class ks extends O_ {
|
|
|
12350
12350
|
for (let n = 0, l; n < s.length && (l = s[n]); n++)
|
|
12351
12351
|
l.forwardHostProp(o, a);
|
|
12352
12352
|
}, notifyInstanceProp: function(o, a, s) {
|
|
12353
|
-
if (
|
|
12353
|
+
if (Ou(this.as, a)) {
|
|
12354
12354
|
let n = o[this.itemsIndexAs];
|
|
12355
12355
|
a == this.as && (this.items[n] = s);
|
|
12356
12356
|
let l = Nt(this.as, `${JSCompiler_renameProperty("items", this)}.${n}`, a);
|
|
@@ -12399,7 +12399,7 @@ class ks extends O_ {
|
|
|
12399
12399
|
this.items && !Array.isArray(this.items) && console.warn("dom-repeat expected array for `items`, found", this.items), this.__handleItemPath(e.path, e.value) || (e.path === "items" && (this.__itemsArrayChanged = !0), this.__debounceRender(this.__render));
|
|
12400
12400
|
}
|
|
12401
12401
|
__debounceRender(e, t = 0) {
|
|
12402
|
-
this.__renderDebouncer = h_.debounce(this.__renderDebouncer, t > 0 ?
|
|
12402
|
+
this.__renderDebouncer = h_.debounce(this.__renderDebouncer, t > 0 ? Fu.after(t) : Tn, e.bind(this)), c_(this.__renderDebouncer);
|
|
12403
12403
|
}
|
|
12404
12404
|
render() {
|
|
12405
12405
|
this.__debounceRender(this.__render), Yo();
|
|
@@ -12516,7 +12516,7 @@ const V_ = (i) => class extends We(i) {
|
|
|
12516
12516
|
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => we(e.date, this.focusedDate));
|
|
12517
12517
|
}
|
|
12518
12518
|
ready() {
|
|
12519
|
-
super.ready(),
|
|
12519
|
+
super.ready(), ce(this.$.monthGrid, "tap", this._handleTap.bind(this));
|
|
12520
12520
|
}
|
|
12521
12521
|
_isDisabled(e, t, r) {
|
|
12522
12522
|
const o = new Date(0, 0);
|
|
@@ -12785,15 +12785,15 @@ const N_ = (i) => class extends i {
|
|
|
12785
12785
|
return this.calendars.map((e) => e.focusableDateElement).find(Boolean);
|
|
12786
12786
|
}
|
|
12787
12787
|
_addListeners() {
|
|
12788
|
-
Zn(this.$.scrollers, "pan-y"),
|
|
12788
|
+
Zn(this.$.scrollers, "pan-y"), ce(this.$.scrollers, "track", this._track.bind(this)), ce(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ce(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ce(this.shadowRoot.querySelector('[part="years-toggle-button"]'), "tap", this._toggleYearScroller.bind(this));
|
|
12789
12789
|
}
|
|
12790
12790
|
_initControllers() {
|
|
12791
12791
|
this.addController(new Qo(this._desktopMediaQuery, (e) => {
|
|
12792
12792
|
this._desktopMode = e;
|
|
12793
12793
|
})), this.addController(new ye(this, "today-button", "vaadin-button", { observe: !1, initializer: (e) => {
|
|
12794
|
-
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onTodayButtonKeyDown(t)),
|
|
12794
|
+
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onTodayButtonKeyDown(t)), ce(e, "tap", this._onTodayTap.bind(this)), this._todayButton = e;
|
|
12795
12795
|
} })), this.addController(new ye(this, "cancel-button", "vaadin-button", { observe: !1, initializer: (e) => {
|
|
12796
|
-
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onCancelButtonKeyDown(t)),
|
|
12796
|
+
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onCancelButtonKeyDown(t)), ce(e, "tap", this._cancel.bind(this)), this._cancelButton = e;
|
|
12797
12797
|
} })), this.__initMonthScroller(), this.__initYearScroller();
|
|
12798
12798
|
}
|
|
12799
12799
|
reset() {
|
|
@@ -12826,7 +12826,7 @@ const N_ = (i) => class extends i {
|
|
|
12826
12826
|
}
|
|
12827
12827
|
__initYearScroller() {
|
|
12828
12828
|
this.addController(new ye(this, "years", "vaadin-date-picker-year-scroller", { observe: !1, initializer: (e) => {
|
|
12829
|
-
e.setAttribute("aria-hidden", "true"),
|
|
12829
|
+
e.setAttribute("aria-hidden", "true"), ce(e, "tap", (t) => {
|
|
12830
12830
|
this._onYearTap(t);
|
|
12831
12831
|
}), e.addEventListener("custom-scroll", () => {
|
|
12832
12832
|
this._onYearScroll();
|
|
@@ -12844,8 +12844,8 @@ const N_ = (i) => class extends i {
|
|
|
12844
12844
|
e && (e.textContent = t && t.today, e.disabled = !this._isTodayAllowed(r, o, a));
|
|
12845
12845
|
}
|
|
12846
12846
|
__updateCalendars(e, t, r, o, a, s, n, l, d, h) {
|
|
12847
|
-
e && e.length && e.forEach((
|
|
12848
|
-
|
|
12847
|
+
e && e.length && e.forEach((c) => {
|
|
12848
|
+
c.i18n = t, c.minDate = r, c.maxDate = o, c.isDateDisabled = h, c.focusedDate = s, c.selectedDate = a, c.showWeekNumbers = n, c.ignoreTaps = l, d ? c.setAttribute("theme", d) : c.removeAttribute("theme");
|
|
12849
12849
|
});
|
|
12850
12850
|
}
|
|
12851
12851
|
__updateYears(e, t, r) {
|
|
@@ -12941,7 +12941,7 @@ const N_ = (i) => class extends i {
|
|
|
12941
12941
|
this._revealPromise = new Promise((l) => {
|
|
12942
12942
|
r = l;
|
|
12943
12943
|
});
|
|
12944
|
-
const o = (l, d, h,
|
|
12944
|
+
const o = (l, d, h, c) => (l /= c / 2, l < 1 ? h / 2 * l * l + d : (l -= 1, -h / 2 * (l * (l - 2) - 1) + d));
|
|
12945
12945
|
let a = 0;
|
|
12946
12946
|
const s = this._monthScroller.position, n = (l) => {
|
|
12947
12947
|
a || (a = l);
|
|
@@ -13242,9 +13242,9 @@ N(F_);
|
|
|
13242
13242
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13243
13243
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13244
13244
|
*/
|
|
13245
|
-
const
|
|
13245
|
+
const cr = /* @__PURE__ */ new WeakMap();
|
|
13246
13246
|
function R_(i) {
|
|
13247
|
-
return
|
|
13247
|
+
return cr.has(i) || cr.set(i, /* @__PURE__ */ new Set()), cr.get(i);
|
|
13248
13248
|
}
|
|
13249
13249
|
function B_(i, e) {
|
|
13250
13250
|
const t = document.createElement("style");
|
|
@@ -13694,7 +13694,7 @@ const q_ = (i) => class extends Bi(Ve(Mi(Jo(Ue(i))))) {
|
|
|
13694
13694
|
const o = this._nativeInput;
|
|
13695
13695
|
this._noInput && o && (o.blur(), this._overlayContent.focusDateElement());
|
|
13696
13696
|
const a = this._noInput ? e : [o, e];
|
|
13697
|
-
this.__showOthers =
|
|
13697
|
+
this.__showOthers = cl(a);
|
|
13698
13698
|
}
|
|
13699
13699
|
_getInitialPosition() {
|
|
13700
13700
|
const e = Ct(this.initialPosition), t = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
@@ -14481,7 +14481,7 @@ function Ci(i, e) {
|
|
|
14481
14481
|
* Code distributed by Google as part of the polymer project is also
|
|
14482
14482
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
14483
14483
|
*/
|
|
14484
|
-
const Is = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),
|
|
14484
|
+
const Is = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), cf = Is && Is[1] >= 8, Es = 3, uf = { _ratio: 0.5, _scrollerPaddingTop: 0, _scrollPosition: 0, _physicalSize: 0, _physicalAverage: 0, _physicalAverageCount: 0, _physicalTop: 0, _virtualCount: 0, _estScrollHeight: 0, _scrollHeight: 0, _viewportHeight: 0, _viewportWidth: 0, _physicalItems: null, _physicalSizes: null, _firstVisibleIndexVal: null, _lastVisibleIndexVal: null, _maxPages: 2, _templateCost: 0, get _physicalBottom() {
|
|
14485
14485
|
return this._physicalTop + this._physicalSize;
|
|
14486
14486
|
}, get _scrollBottom() {
|
|
14487
14487
|
return this._scrollPosition + this._viewportHeight;
|
|
@@ -14549,10 +14549,10 @@ const Is = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), uf
|
|
|
14549
14549
|
let e, t, r;
|
|
14550
14550
|
const o = [], a = this._hiddenContentSize * this._ratio, s = this._virtualStart, n = this._virtualEnd, l = this._physicalCount;
|
|
14551
14551
|
let d = this._physicalTop + this._scrollOffset;
|
|
14552
|
-
const h = this._physicalBottom + this._scrollOffset,
|
|
14553
|
-
for (i ? (e = this._physicalStart, t =
|
|
14552
|
+
const h = this._physicalBottom + this._scrollOffset, c = this._scrollPosition, p = this._scrollBottom;
|
|
14553
|
+
for (i ? (e = this._physicalStart, t = c - d) : (e = this._physicalEnd, t = h - p); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= a); )
|
|
14554
14554
|
if (i) {
|
|
14555
|
-
if (n + o.length + 1 >= this._virtualCount || d + r >=
|
|
14555
|
+
if (n + o.length + 1 >= this._virtualCount || d + r >= c - this._scrollOffset)
|
|
14556
14556
|
break;
|
|
14557
14557
|
o.push(e), d += r, e = (e + 1) % l;
|
|
14558
14558
|
} else {
|
|
@@ -14623,7 +14623,7 @@ const Is = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), uf
|
|
|
14623
14623
|
if (i !== 0) {
|
|
14624
14624
|
this._physicalTop -= i;
|
|
14625
14625
|
const e = this._scrollPosition;
|
|
14626
|
-
!
|
|
14626
|
+
!cf && e > 0 && this._resetScrollPosition(e - i);
|
|
14627
14627
|
}
|
|
14628
14628
|
}, _resetScrollPosition(i) {
|
|
14629
14629
|
this.scrollTarget && i >= 0 && (this._scrollTop = i, this._scrollPosition = this._scrollTop);
|
|
@@ -14659,7 +14659,7 @@ const Is = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), uf
|
|
|
14659
14659
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14660
14660
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14661
14661
|
*/
|
|
14662
|
-
const pf = 1e5,
|
|
14662
|
+
const pf = 1e5, ur = 1e3;
|
|
14663
14663
|
let Al = class {
|
|
14664
14664
|
constructor({ createElements: i, updateElement: e, scrollTarget: t, scrollContainer: r, elementsContainer: o, reorderElements: a }) {
|
|
14665
14665
|
this.isAttached = !0, this._vidxOffset = 0, this.createElements = i, this.updateElement = e, this.scrollTarget = t, this.scrollContainer = r, this.elementsContainer = o || r, this.reorderElements = a, this._maxPages = 1.3, this.__placeholderHeight = 200, this.__elementHeightQueue = Array(10), this.timeouts = { SCROLL_REORDER: 500, IGNORE_WHEEL: 500, FIX_INVALID_ITEM_POSITIONING: 100 }, this.__resizeObserver = new ResizeObserver(() => this._resizeHandler()), getComputedStyle(this.scrollTarget).overflow === "visible" && (this.scrollTarget.style.overflow = "auto"), getComputedStyle(this.scrollContainer).position === "static" && (this.scrollContainer.style.position = "relative"), this.__resizeObserver.observe(this.scrollTarget), this.scrollTarget.addEventListener("scroll", () => this._scrollHandler()), new ResizeObserver(([{ contentRect: s }]) => {
|
|
@@ -14694,7 +14694,7 @@ let Al = class {
|
|
|
14694
14694
|
delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), i = this._clamp(i, 0, this.size - 1);
|
|
14695
14695
|
const e = this.__getVisibleElements().length;
|
|
14696
14696
|
let t = Math.floor(i / this.size * this._virtualCount);
|
|
14697
|
-
this._virtualCount - t < e ? (t = this._virtualCount - (this.size - i), this._vidxOffset = this._maxVirtualIndexOffset) : t < e ? i <
|
|
14697
|
+
this._virtualCount - t < e ? (t = this._virtualCount - (this.size - i), this._vidxOffset = this._maxVirtualIndexOffset) : t < e ? i < ur ? (t = i, this._vidxOffset = 0) : (t = ur, this._vidxOffset = i - t) : this._vidxOffset = i - t, this.__skipNextVirtualIndexAdjust = !0, super.scrollToIndex(t), this.adjustedFirstVisibleIndex !== i && this._scrollTop < this._maxScrollTop && !this.grid && (this._scrollTop -= this.__getIndexScrollOffset(i) || 0), this._scrollHandler(), this.__hasPlaceholders() && (this.__pendingScrollToIndex = i);
|
|
14698
14698
|
}
|
|
14699
14699
|
flush() {
|
|
14700
14700
|
this.scrollTarget.offsetHeight !== 0 && (this._resizeHandler(), Et(), this._scrollHandler(), this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.flush(), this.__scrollReorderDebouncer && this.__scrollReorderDebouncer.flush(), this.__debouncerWheelAnimationFrame && this.__debouncerWheelAnimationFrame.flush());
|
|
@@ -14924,12 +14924,12 @@ let Al = class {
|
|
|
14924
14924
|
const t = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
14925
14925
|
this._vidxOffset = Math.round(t * e);
|
|
14926
14926
|
} else {
|
|
14927
|
-
const t = this._vidxOffset, r =
|
|
14927
|
+
const t = this._vidxOffset, r = ur, o = 100;
|
|
14928
14928
|
this._scrollTop === 0 ? (this._vidxOffset = 0, t !== this._vidxOffset && super.scrollToIndex(0)) : this.firstVisibleIndex < r && this._vidxOffset > 0 && (this._vidxOffset -= Math.min(this._vidxOffset, o), super.scrollToIndex(this.firstVisibleIndex + (t - this._vidxOffset))), this._scrollTop >= this._maxScrollTop && this._maxScrollTop > 0 ? (this._vidxOffset = e, t !== this._vidxOffset && super.scrollToIndex(this._virtualCount - 1)) : this.firstVisibleIndex > this._virtualCount - r && this._vidxOffset < e && (this._vidxOffset += Math.min(e - this._vidxOffset, o), super.scrollToIndex(this.firstVisibleIndex - (this._vidxOffset - t)));
|
|
14929
14929
|
}
|
|
14930
14930
|
}
|
|
14931
14931
|
};
|
|
14932
|
-
Object.setPrototypeOf(Al.prototype,
|
|
14932
|
+
Object.setPrototypeOf(Al.prototype, uf);
|
|
14933
14933
|
let mf = class {
|
|
14934
14934
|
constructor(i) {
|
|
14935
14935
|
this.__adapter = new Al(i);
|
|
@@ -15489,7 +15489,7 @@ const wf = (i) => class extends Bi(Ve(Mo(We(Ue(Wt(dt(i))))))) {
|
|
|
15489
15489
|
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: a, itemIdPath: s, focusedIndex: n, renderer: l, theme: d, itemClassNameGenerator: h }), e.performUpdate && !e.hasUpdated))
|
|
15490
15490
|
try {
|
|
15491
15491
|
e.performUpdate();
|
|
15492
|
-
} catch (
|
|
15492
|
+
} catch (c) {
|
|
15493
15493
|
}
|
|
15494
15494
|
}
|
|
15495
15495
|
_openedOrItemsChanged(e, t, r, o) {
|
|
@@ -15965,7 +15965,7 @@ function Vf(i) {
|
|
|
15965
15965
|
const e = `${i}-default-theme`, t = Jr().filter((r) => r.moduleId !== e && Vl(r.themeFor, i)).map((r) => Si(De({}, r), { styles: [...Nl(r), ...r.styles], includePriority: Of(r.moduleId) })).sort((r, o) => o.includePriority - r.includePriority);
|
|
15966
15966
|
return t.length > 0 ? t : Jr().filter((r) => r.moduleId === e);
|
|
15967
15967
|
}
|
|
15968
|
-
const
|
|
15968
|
+
const ct = (i) => class extends If(i) {
|
|
15969
15969
|
constructor() {
|
|
15970
15970
|
super(), Qr.add(new WeakRef(this));
|
|
15971
15971
|
}
|
|
@@ -15995,7 +15995,7 @@ const zf = (i, ...e) => {
|
|
|
15995
15995
|
const t = document.createElement("style");
|
|
15996
15996
|
t.id = i, t.textContent = e.map((r) => r.toString()).join(`
|
|
15997
15997
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", t);
|
|
15998
|
-
},
|
|
15998
|
+
}, ut = (i, ...e) => {
|
|
15999
15999
|
zf(`lumo-${i}`, e);
|
|
16000
16000
|
};
|
|
16001
16001
|
/**
|
|
@@ -16089,7 +16089,7 @@ const Mf = _`
|
|
|
16089
16089
|
}
|
|
16090
16090
|
}
|
|
16091
16091
|
`;
|
|
16092
|
-
|
|
16092
|
+
ut("color-props", Mf);
|
|
16093
16093
|
const Nf = _`
|
|
16094
16094
|
[theme~='dark'] {
|
|
16095
16095
|
/* Base (background) */
|
|
@@ -16271,7 +16271,7 @@ const Lf = _`
|
|
|
16271
16271
|
--lumo-icons-user: '\\ea2c';
|
|
16272
16272
|
}
|
|
16273
16273
|
`;
|
|
16274
|
-
|
|
16274
|
+
ut("font-icons", Lf);
|
|
16275
16275
|
/**
|
|
16276
16276
|
* @license
|
|
16277
16277
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
@@ -16301,7 +16301,7 @@ const Ff = _`
|
|
|
16301
16301
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
16302
16302
|
}
|
|
16303
16303
|
`;
|
|
16304
|
-
|
|
16304
|
+
ut("spacing-props", Ff);
|
|
16305
16305
|
/**
|
|
16306
16306
|
* @license
|
|
16307
16307
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
@@ -16409,7 +16409,7 @@ _`
|
|
|
16409
16409
|
--vaadin-input-field-value-font-weight: 500;
|
|
16410
16410
|
}
|
|
16411
16411
|
`;
|
|
16412
|
-
|
|
16412
|
+
ut("style-props", Rf);
|
|
16413
16413
|
/**
|
|
16414
16414
|
* @license
|
|
16415
16415
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
@@ -16529,7 +16529,7 @@ const Bf = _`
|
|
|
16529
16529
|
}
|
|
16530
16530
|
`;
|
|
16531
16531
|
q("", Hf, { moduleId: "lumo-typography" });
|
|
16532
|
-
|
|
16532
|
+
ut("typography-props", Bf);
|
|
16533
16533
|
/**
|
|
16534
16534
|
* @license
|
|
16535
16535
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
@@ -16551,7 +16551,7 @@ const $f = _`
|
|
|
16551
16551
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
16552
16552
|
}
|
|
16553
16553
|
`;
|
|
16554
|
-
|
|
16554
|
+
ut("sizing-props", $f);
|
|
16555
16555
|
/**
|
|
16556
16556
|
* @license
|
|
16557
16557
|
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
@@ -17710,7 +17710,7 @@ const Xf = _`
|
|
|
17710
17710
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17711
17711
|
*/
|
|
17712
17712
|
q("vaadin-multi-select-combo-box-chip", Qf, { moduleId: "vaadin-multi-select-combo-box-chip" });
|
|
17713
|
-
class Jf extends
|
|
17713
|
+
class Jf extends ct(z) {
|
|
17714
17714
|
static get is() {
|
|
17715
17715
|
return "vaadin-multi-select-combo-box-chip";
|
|
17716
17716
|
}
|
|
@@ -17875,7 +17875,7 @@ const iv = _`
|
|
|
17875
17875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17876
17876
|
*/
|
|
17877
17877
|
q("vaadin-input-container", iv, { moduleId: "vaadin-input-container-styles" });
|
|
17878
|
-
class ql extends tv(
|
|
17878
|
+
class ql extends tv(ct(qi(z))) {
|
|
17879
17879
|
static get is() {
|
|
17880
17880
|
return "vaadin-input-container";
|
|
17881
17881
|
}
|
|
@@ -17963,7 +17963,7 @@ const ov = (i) => class extends i {
|
|
|
17963
17963
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
17964
17964
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17965
17965
|
*/
|
|
17966
|
-
class av extends ov(
|
|
17966
|
+
class av extends ov(ct(qi(z))) {
|
|
17967
17967
|
static get is() {
|
|
17968
17968
|
return "vaadin-multi-select-combo-box-item";
|
|
17969
17969
|
}
|
|
@@ -18063,7 +18063,7 @@ function hv(i) {
|
|
|
18063
18063
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
18064
18064
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18065
18065
|
*/
|
|
18066
|
-
function
|
|
18066
|
+
function cv(i) {
|
|
18067
18067
|
const e = [];
|
|
18068
18068
|
for (; i; ) {
|
|
18069
18069
|
if (i.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -18092,7 +18092,7 @@ function Yl(i, e, t) {
|
|
|
18092
18092
|
const r = la(i.getAttribute(e));
|
|
18093
18093
|
r.add(t), i.setAttribute(e, Ui(r));
|
|
18094
18094
|
}
|
|
18095
|
-
function
|
|
18095
|
+
function uv(i, e, t) {
|
|
18096
18096
|
const r = la(i.getAttribute(e));
|
|
18097
18097
|
if (r.delete(t), r.size === 0) {
|
|
18098
18098
|
i.removeAttribute(e);
|
|
@@ -18116,10 +18116,10 @@ function mv(i, e) {
|
|
|
18116
18116
|
}
|
|
18117
18117
|
function a(s = !1, n = 1) {
|
|
18118
18118
|
o();
|
|
18119
|
-
const { left: l, top: d, width: h, height:
|
|
18120
|
-
if (s || e(), !h || !
|
|
18119
|
+
const { left: l, top: d, width: h, height: c } = i.getBoundingClientRect();
|
|
18120
|
+
if (s || e(), !h || !c)
|
|
18121
18121
|
return;
|
|
18122
|
-
const p = Math.floor(d), m = Math.floor(r.clientWidth - (l + h)), g = Math.floor(r.clientHeight - (d +
|
|
18122
|
+
const p = Math.floor(d), m = Math.floor(r.clientWidth - (l + h)), g = Math.floor(r.clientHeight - (d + c)), E = Math.floor(l), w = { rootMargin: `${-p}px ${-m}px ${-g}px ${-E}px`, threshold: Math.max(0, Math.min(1, n)) || 1 };
|
|
18123
18123
|
let x = !0;
|
|
18124
18124
|
function I(U) {
|
|
18125
18125
|
let R = U[0].intersectionRatio;
|
|
@@ -18162,7 +18162,7 @@ const pr = { start: "top", end: "bottom" }, mr = { start: "left", end: "right" }
|
|
|
18162
18162
|
super.disconnectedCallback(), this.__removeUpdatePositionEventListeners();
|
|
18163
18163
|
}
|
|
18164
18164
|
__addUpdatePositionEventListeners() {
|
|
18165
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
18165
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = cv(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
18166
18166
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
18167
18167
|
}), this.positionTarget && (this.__observePositionTargetMove = mv(this.positionTarget, () => {
|
|
18168
18168
|
this._updatePosition();
|
|
@@ -18215,8 +18215,8 @@ const pr = { start: "top", end: "bottom" }, mr = { start: "left", end: "right" }
|
|
|
18215
18215
|
return this.__shouldAlignStart(e, t, r, this.__margins, o, this.noVerticalOverlap, pr);
|
|
18216
18216
|
}
|
|
18217
18217
|
__shouldAlignStart(e, t, r, o, a, s, n) {
|
|
18218
|
-
const l = r - e[s ? n.end : n.start] - o[n.end], d = e[s ? n.start : n.end] - o[n.start], h = a ? l : d,
|
|
18219
|
-
return a ===
|
|
18218
|
+
const l = r - e[s ? n.end : n.start] - o[n.end], d = e[s ? n.start : n.end] - o[n.start], h = a ? l : d, c = h > (a ? d : l) || h > t;
|
|
18219
|
+
return a === c;
|
|
18220
18220
|
}
|
|
18221
18221
|
__adjustBottomProperty(e, t, r) {
|
|
18222
18222
|
let o;
|
|
@@ -18241,7 +18241,7 @@ const pr = { start: "top", end: "bottom" }, mr = { start: "left", end: "right" }
|
|
|
18241
18241
|
return o;
|
|
18242
18242
|
}
|
|
18243
18243
|
__calculatePositionInOneDimension(e, t, r, o, a, s) {
|
|
18244
|
-
const n = s ? o.start : o.end, l = s ? o.end : o.start, d = parseFloat(a.style[n] || getComputedStyle(a)[n]), h = this.__adjustBottomProperty(n, o, d),
|
|
18244
|
+
const n = s ? o.start : o.end, l = s ? o.end : o.start, d = parseFloat(a.style[n] || getComputedStyle(a)[n]), h = this.__adjustBottomProperty(n, o, d), c = t[s ? o.start : o.end] - e[r === s ? o.end : o.start], p = h ? `${h}px` : `${d + c * (s ? -1 : 1)}px`;
|
|
18245
18245
|
return { [n]: p, [l]: "" };
|
|
18246
18246
|
}
|
|
18247
18247
|
};
|
|
@@ -18316,19 +18316,19 @@ const Ds = (i) => i && i.nodeType === Node.ELEMENT_NODE, fr = (...i) => {
|
|
|
18316
18316
|
}).filter((t) => !!t) : (fr(i, "is not a valid element"), []), Cv = (i, e, t, r) => {
|
|
18317
18317
|
const o = xv(e, Array.isArray(i) ? i : [i]);
|
|
18318
18318
|
ri[t] || (ri[t] = /* @__PURE__ */ new WeakMap());
|
|
18319
|
-
const a = ri[t], s = [], n = /* @__PURE__ */ new Set(), l = new Set(o), d = (
|
|
18320
|
-
if (!
|
|
18319
|
+
const a = ri[t], s = [], n = /* @__PURE__ */ new Set(), l = new Set(o), d = (c) => {
|
|
18320
|
+
if (!c || n.has(c))
|
|
18321
18321
|
return;
|
|
18322
|
-
n.add(
|
|
18323
|
-
const p =
|
|
18324
|
-
p && d(p), d(
|
|
18322
|
+
n.add(c);
|
|
18323
|
+
const p = c.assignedSlot;
|
|
18324
|
+
p && d(p), d(c.parentNode || c.host);
|
|
18325
18325
|
};
|
|
18326
18326
|
o.forEach(d);
|
|
18327
|
-
const h = (
|
|
18328
|
-
if (!
|
|
18327
|
+
const h = (c) => {
|
|
18328
|
+
if (!c || l.has(c))
|
|
18329
18329
|
return;
|
|
18330
|
-
const p =
|
|
18331
|
-
(p ? [...
|
|
18330
|
+
const p = c.shadowRoot;
|
|
18331
|
+
(p ? [...c.children, ...p.children] : [...c.children]).forEach((m) => {
|
|
18332
18332
|
if (!["template", "script", "style"].includes(m.localName))
|
|
18333
18333
|
if (n.has(m))
|
|
18334
18334
|
h(m);
|
|
@@ -18339,9 +18339,9 @@ const Ds = (i) => i && i.nodeType === Node.ELEMENT_NODE, fr = (...i) => {
|
|
|
18339
18339
|
});
|
|
18340
18340
|
};
|
|
18341
18341
|
return h(e), n.clear(), _r += 1, () => {
|
|
18342
|
-
s.forEach((
|
|
18343
|
-
const p = Ge.get(
|
|
18344
|
-
Ge.set(
|
|
18342
|
+
s.forEach((c) => {
|
|
18343
|
+
const p = Ge.get(c) - 1, m = a.get(c) - 1;
|
|
18344
|
+
Ge.set(c, p), a.set(c, m), p || (ii.has(c) ? ii.delete(c) : c.removeAttribute(r)), m || c.removeAttribute(t);
|
|
18345
18345
|
}), _r -= 1, _r || (Ge = /* @__PURE__ */ new WeakMap(), Ge = /* @__PURE__ */ new WeakMap(), ii = /* @__PURE__ */ new WeakMap(), ri = {});
|
|
18346
18346
|
};
|
|
18347
18347
|
}, kv = (i, e = document.body, t = "data-aria-hidden") => {
|
|
@@ -18740,7 +18740,7 @@ const Vv = _`
|
|
|
18740
18740
|
}
|
|
18741
18741
|
`;
|
|
18742
18742
|
q("vaadin-multi-select-combo-box-overlay", [Ov, Vv], { moduleId: "vaadin-multi-select-combo-box-overlay-styles" });
|
|
18743
|
-
class zv extends fv(Dv(qi(
|
|
18743
|
+
class zv extends fv(Dv(qi(ct(z)))) {
|
|
18744
18744
|
static get is() {
|
|
18745
18745
|
return "vaadin-multi-select-combo-box-overlay";
|
|
18746
18746
|
}
|
|
@@ -18973,10 +18973,10 @@ const zs = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Fv
|
|
|
18973
18973
|
let e, t, r;
|
|
18974
18974
|
const o = [], a = this._hiddenContentSize * this._ratio, s = this._virtualStart, n = this._virtualEnd, l = this._physicalCount;
|
|
18975
18975
|
let d = this._physicalTop + this._scrollOffset;
|
|
18976
|
-
const h = this._physicalBottom + this._scrollOffset,
|
|
18977
|
-
for (i ? (e = this._physicalStart, t =
|
|
18976
|
+
const h = this._physicalBottom + this._scrollOffset, c = this._scrollPosition, p = this._scrollBottom;
|
|
18977
|
+
for (i ? (e = this._physicalStart, t = c - d) : (e = this._physicalEnd, t = h - p); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= a); )
|
|
18978
18978
|
if (i) {
|
|
18979
|
-
if (n + o.length + 1 >= this._virtualCount || d + r >=
|
|
18979
|
+
if (n + o.length + 1 >= this._virtualCount || d + r >= c - this._scrollOffset)
|
|
18980
18980
|
break;
|
|
18981
18981
|
o.push(e), d += r, e = (e + 1) % l;
|
|
18982
18982
|
} else {
|
|
@@ -19930,7 +19930,7 @@ function od(i) {
|
|
|
19930
19930
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
19931
19931
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19932
19932
|
*/
|
|
19933
|
-
const
|
|
19933
|
+
const ca = D((i) => class extends i {
|
|
19934
19934
|
static get properties() {
|
|
19935
19935
|
return { inputElement: { type: Object, readOnly: !0, observer: "_inputElementChanged", sync: !0 }, type: { type: String, readOnly: !0 }, value: { type: String, value: "", observer: "_valueChanged", notify: !0, sync: !0 } };
|
|
19936
19936
|
}
|
|
@@ -19982,7 +19982,7 @@ const ua = D((i) => class extends i {
|
|
|
19982
19982
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
19983
19983
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19984
19984
|
*/
|
|
19985
|
-
const
|
|
19985
|
+
const ua = D((i) => class extends i {
|
|
19986
19986
|
static get properties() {
|
|
19987
19987
|
return { invalid: { type: Boolean, reflectToAttribute: !0, notify: !0, value: !1, sync: !0 }, manualValidation: { type: Boolean, value: !1 }, required: { type: Boolean, reflectToAttribute: !0, sync: !0 } };
|
|
19988
19988
|
}
|
|
@@ -20029,7 +20029,7 @@ function Ns(i) {
|
|
|
20029
20029
|
function Ls(i, e) {
|
|
20030
20030
|
return i.findIndex((t) => t instanceof Oe ? !1 : e(t));
|
|
20031
20031
|
}
|
|
20032
|
-
const Gv = (i) => class extends jv(ji(
|
|
20032
|
+
const Gv = (i) => class extends jv(ji(ua(rd(ha(ca(id(i))))))) {
|
|
20033
20033
|
static get properties() {
|
|
20034
20034
|
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 } };
|
|
20035
20035
|
}
|
|
@@ -20460,7 +20460,7 @@ const Kv = (i) => class extends Wv(Gv(i)) {
|
|
|
20460
20460
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
20461
20461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
20462
20462
|
*/
|
|
20463
|
-
class Xv extends Kv(
|
|
20463
|
+
class Xv extends Kv(ct(z)) {
|
|
20464
20464
|
static get is() {
|
|
20465
20465
|
return "vaadin-multi-select-combo-box-internal";
|
|
20466
20466
|
}
|
|
@@ -20909,7 +20909,7 @@ const dg = D((i) => class extends i {
|
|
|
20909
20909
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
20910
20910
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
20911
20911
|
*/
|
|
20912
|
-
const hg = (i) => class extends
|
|
20912
|
+
const hg = (i) => class extends ca(ha(i)) {
|
|
20913
20913
|
static get properties() {
|
|
20914
20914
|
return { clearButtonVisible: { type: Boolean, reflectToAttribute: !0, value: !1 } };
|
|
20915
20915
|
}
|
|
@@ -20953,7 +20953,7 @@ function sd(i, e) {
|
|
|
20953
20953
|
const r = la(i.getAttribute(e));
|
|
20954
20954
|
t.set(i, new Set(r));
|
|
20955
20955
|
}
|
|
20956
|
-
function
|
|
20956
|
+
function cg(i, e) {
|
|
20957
20957
|
if (!i || !e)
|
|
20958
20958
|
return;
|
|
20959
20959
|
const t = pa(e), r = t.get(i);
|
|
@@ -20967,11 +20967,11 @@ function xr(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
20967
20967
|
o && n.delete(o), r && n.add(r);
|
|
20968
20968
|
return;
|
|
20969
20969
|
}
|
|
20970
|
-
a && (n ? r || s.delete(i) : sd(i, e), ad(i, e)),
|
|
20970
|
+
a && (n ? r || s.delete(i) : sd(i, e), ad(i, e)), uv(i, e, o);
|
|
20971
20971
|
const l = r || Ui(n);
|
|
20972
20972
|
l && Yl(i, e, l);
|
|
20973
20973
|
}
|
|
20974
|
-
function
|
|
20974
|
+
function ug(i, e) {
|
|
20975
20975
|
sd(i, e), ad(i, e);
|
|
20976
20976
|
}
|
|
20977
20977
|
/**
|
|
@@ -21003,7 +21003,7 @@ class pg {
|
|
|
21003
21003
|
this.__setHelperIdToAriaAttribute(e, this.__helperId), this.__helperId = e;
|
|
21004
21004
|
}
|
|
21005
21005
|
__setAriaLabelToAttribute(e) {
|
|
21006
|
-
this.__target && (e ? (
|
|
21006
|
+
this.__target && (e ? (ug(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", e)) : this.__label && (cg(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
21007
21007
|
}
|
|
21008
21008
|
__setLabelIdToAriaAttribute(e, t, r) {
|
|
21009
21009
|
xr(this.__target, "aria-labelledby", { newId: e, oldId: t, fromUser: r });
|
|
@@ -21180,7 +21180,7 @@ const vg = D((i) => class extends ji(i) {
|
|
|
21180
21180
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
21181
21181
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
21182
21182
|
*/
|
|
21183
|
-
const gg = (i) => class extends
|
|
21183
|
+
const gg = (i) => class extends ua(vg(ji(i))) {
|
|
21184
21184
|
static get properties() {
|
|
21185
21185
|
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" } };
|
|
21186
21186
|
}
|
|
@@ -21300,7 +21300,7 @@ const bg = D((i) => class extends i {
|
|
|
21300
21300
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
21301
21301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
21302
21302
|
*/
|
|
21303
|
-
const yg = D((i) => class extends bg(ca(
|
|
21303
|
+
const yg = D((i) => class extends bg(ua(ca(i))) {
|
|
21304
21304
|
static get constraints() {
|
|
21305
21305
|
return ["required"];
|
|
21306
21306
|
}
|
|
@@ -21618,8 +21618,8 @@ const kg = (i) => class extends wg(ig(i)) {
|
|
|
21618
21618
|
if (this.autoExpandHorizontally) {
|
|
21619
21619
|
const s = [];
|
|
21620
21620
|
for (let d = e.length - 1, h = null; d >= 0; d--) {
|
|
21621
|
-
const
|
|
21622
|
-
this.insertBefore(
|
|
21621
|
+
const c = this.__createChip(e[d]);
|
|
21622
|
+
this.insertBefore(c, h), h = c, s.unshift(c);
|
|
21623
21623
|
}
|
|
21624
21624
|
const n = [], l = this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth;
|
|
21625
21625
|
if (!this.autoExpandVertically && l < r) {
|
|
@@ -21740,7 +21740,7 @@ const kg = (i) => class extends wg(ig(i)) {
|
|
|
21740
21740
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
21741
21741
|
*/
|
|
21742
21742
|
q("vaadin-multi-select-combo-box", [tg, Xf], { moduleId: "vaadin-multi-select-combo-box-styles" });
|
|
21743
|
-
class Ig extends kg(
|
|
21743
|
+
class Ig extends kg(ct(Qv(z))) {
|
|
21744
21744
|
static get is() {
|
|
21745
21745
|
return "vaadin-multi-select-combo-box";
|
|
21746
21746
|
}
|
|
@@ -23118,41 +23118,41 @@ const Yg = ":host{display:block;height:100%}", Gg = Yg, Kg = class {
|
|
|
23118
23118
|
}, this.type = "text", this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.action = void 0, this.validation = void 0, this.options = void 0, this.language = void 0, this.autofilled = void 0, this.tooltip = void 0, this.defaultValue = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.hidePasswordComplexity = !1, this.clientStyling = "", this.dateFormat = void 0, this.translationUrl = "", this.emitOnClick = !1, this.twofaDestination = void 0, this.twofaResendIntervalSeconds = 60;
|
|
23119
23119
|
}
|
|
23120
23120
|
connectedCallback() {
|
|
23121
|
-
this.translationUrl &&
|
|
23121
|
+
this.translationUrl && cd(this.translationUrl);
|
|
23122
23122
|
}
|
|
23123
23123
|
renderInput() {
|
|
23124
23124
|
var i;
|
|
23125
23125
|
switch ((i = this.type) === null || i === void 0 ? void 0 : i.toLowerCase()) {
|
|
23126
23126
|
case "text":
|
|
23127
|
-
return
|
|
23127
|
+
return u("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
23128
23128
|
case "email":
|
|
23129
|
-
return
|
|
23129
|
+
return u("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
23130
23130
|
case "number":
|
|
23131
|
-
return
|
|
23131
|
+
return u("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
23132
23132
|
case "checkbox":
|
|
23133
|
-
return
|
|
23133
|
+
return u("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip });
|
|
23134
23134
|
case "checkboxgroup":
|
|
23135
|
-
return
|
|
23135
|
+
return u("checkbox-group-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
|
|
23136
23136
|
case "togglecheckbox":
|
|
23137
|
-
return
|
|
23137
|
+
return u("toggle-checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options, "emit-on-click": this.emitOnClick });
|
|
23138
23138
|
case "datetime":
|
|
23139
|
-
return
|
|
23139
|
+
return u("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, dateFormat: this.dateFormat, "emit-on-click": this.emitOnClick });
|
|
23140
23140
|
case "password":
|
|
23141
|
-
return
|
|
23141
|
+
return u("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, hidePasswordComplexity: this.hidePasswordComplexity, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
23142
23142
|
case "radio":
|
|
23143
|
-
return
|
|
23143
|
+
return u("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
|
|
23144
23144
|
case "tel":
|
|
23145
|
-
return
|
|
23145
|
+
return u("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
23146
23146
|
case "dropdown":
|
|
23147
|
-
return
|
|
23147
|
+
return u("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
23148
23148
|
case "twofa":
|
|
23149
|
-
return
|
|
23149
|
+
return u("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds });
|
|
23150
23150
|
default:
|
|
23151
|
-
return
|
|
23151
|
+
return u("p", null, "The ", this.type, " input type is not valid");
|
|
23152
23152
|
}
|
|
23153
23153
|
}
|
|
23154
23154
|
render() {
|
|
23155
|
-
return
|
|
23155
|
+
return u(Rs, { key: "575526a74f8739d530e0094238357e2a744cc463", class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput());
|
|
23156
23156
|
}
|
|
23157
23157
|
};
|
|
23158
23158
|
Kg.style = Gg;
|
|
@@ -23216,11 +23216,11 @@ const Xg = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
23216
23216
|
}
|
|
23217
23217
|
}
|
|
23218
23218
|
renderTooltip() {
|
|
23219
|
-
return this.showTooltip ?
|
|
23219
|
+
return this.showTooltip ? u("div", { class: `number__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23220
23220
|
}
|
|
23221
23221
|
render() {
|
|
23222
23222
|
let i = "";
|
|
23223
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
23223
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "a6e6a37c0b82e75bc66e26b104f343178deb8b81", class: `number__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "41d8e03f598ccab9d175dacc27ede808ec017717", class: "number__wrapper--flex" }, u("label", { key: "e2eb89c31bdc2c7e7e80546ea5844bb13d34c759", class: `number__label ${this.validation.mandatory ? "number__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "91de685f2da7b9ba3ddaf48a978f5e95a40594be", class: "number__wrapper--relative" }, this.tooltip && u("img", { key: "737d9ad4e1c74a03b140d48988e688a1898f9e57", class: "number__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "58d140746eaaf09aca69c5c4d698983c853e5b5f", 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: "74bda2b23c57d2ca88613c00e4d6ed63ea86daad", class: "number__error-message" }, this.errorMessage));
|
|
23224
23224
|
}
|
|
23225
23225
|
static get watchers() {
|
|
23226
23226
|
return {
|
|
@@ -23513,15 +23513,15 @@ const Zg = `*,
|
|
|
23513
23513
|
return y("invalidPassword", this.language);
|
|
23514
23514
|
}
|
|
23515
23515
|
renderTooltip() {
|
|
23516
|
-
return this.showTooltip ?
|
|
23516
|
+
return this.showTooltip ? u("div", { class: `password__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23517
23517
|
}
|
|
23518
23518
|
renderComplexityPopup() {
|
|
23519
23519
|
const i = this.passwordComplexity.length, t = this.passwordComplexity.filter((o) => o.passed).length / i, r = this.passwordComplexity.every((o) => o.passed);
|
|
23520
|
-
return
|
|
23520
|
+
return u("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, u("div", { class: "password__complexity--strength" }, u("p", { class: "password__complexity--text" }, y("passwordStrength", this.language), " ", u("span", { class: "password__complexity--text-bold" }, y(`${r ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), u("meter", { value: t, min: "0", max: "1" })), u("div", null, this.passwordComplexity.map((o, a) => u("div", { key: a }, u("input", { class: "password__complexity--checkbox", type: "checkbox", checked: o.passed, disabled: !0 }), u("span", null, y(`${o.ruleKey}`, this.language) ? y(`${o.ruleKey}`, this.language) : o.rule)))));
|
|
23521
23521
|
}
|
|
23522
23522
|
render() {
|
|
23523
23523
|
let i = "";
|
|
23524
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
23524
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "c6a672c226569d500598f34c6155279e75fdc79c", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "44b8bee769b7b6ce86797f0f62b6af033bf2d0cd", class: "password__wrapper--flex" }, u("label", { key: "b6d573c6a70f26471cea2e576c8286719f58b47f", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "76698abedf907fa52940bc8e278fff4aeda1912f", class: "password__wrapper--relative" }, this.tooltip && u("img", { key: "7116b9ed6eb06b6b03c336b6d216d40571b54f55", class: "password__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("vaadin-password-field", { key: "b85d0ba5396b3ab6fcf21d1053dba22fdb94c7f9", 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 }), u("small", { key: "c30bbcb8e49fcdb1dd8cb41bafd56d64b609be86", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
|
|
23525
23525
|
}
|
|
23526
23526
|
get element() {
|
|
23527
23527
|
return lo(this);
|
|
@@ -23575,10 +23575,10 @@ const ib = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
23575
23575
|
return y("requiredError", this.language);
|
|
23576
23576
|
}
|
|
23577
23577
|
renderTooltip() {
|
|
23578
|
-
return this.showTooltip ?
|
|
23578
|
+
return this.showTooltip ? u("div", { class: `radio__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23579
23579
|
}
|
|
23580
23580
|
render() {
|
|
23581
|
-
return
|
|
23581
|
+
return u("fieldset", { key: "7dd3f10103c696ef18202154d5ede9cc10b32d0c", class: `radio__fieldset ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("legend", { key: "304af4ecd36e8831c1fc76abfaae1767a1005ae5", 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: "55bb2cc7060fda4774d337c8a570c78d90912da7", class: "radio__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "b3b7093e2c4b5d6f727f5346562ed3fe274bd431", class: "radio__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
23582
23582
|
}
|
|
23583
23583
|
static get watchers() {
|
|
23584
23584
|
return {
|
|
@@ -23677,12 +23677,12 @@ const ab = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
|
|
|
23677
23677
|
return y("requiredError", this.language);
|
|
23678
23678
|
}
|
|
23679
23679
|
renderTooltip() {
|
|
23680
|
-
return this.showTooltip ?
|
|
23680
|
+
return this.showTooltip ? u("div", { class: `select__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23681
23681
|
}
|
|
23682
23682
|
render() {
|
|
23683
23683
|
var i, e;
|
|
23684
23684
|
let t = "";
|
|
23685
|
-
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
23685
|
+
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "7e90e23b53a72cda885485ccf4110631cede2b8f", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (r) => this.stylingContainer = r }, u("div", { key: "9a841ccebeb828fc75ed1f708a4a43d4fc7a193f", class: "select__wrapper--flex" }, u("label", { key: "92c70fa56518d6d015d756b693306dab80ab0f57", class: "select__label", htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? "*" : ""}`), u("div", { key: "cfbeb4b4969adc1f9944eb60291d8f586dcc29db", class: "select__wrapper--relative" }, this.tooltip && u("img", { key: "13a340313095bc653a1741115bae128d538dcf30", 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: "6ffb5459f648208106c6bfc8a78f5cf379f7f11b", class: "select__error-message" }, this.errorMessage));
|
|
23686
23686
|
}
|
|
23687
23687
|
static get watchers() {
|
|
23688
23688
|
return {
|
|
@@ -23774,11 +23774,11 @@ const lb = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
23774
23774
|
return y("requiredError", this.language);
|
|
23775
23775
|
}
|
|
23776
23776
|
renderTooltip() {
|
|
23777
|
-
return this.showTooltip ?
|
|
23777
|
+
return this.showTooltip ? u("div", { class: `tel__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23778
23778
|
}
|
|
23779
23779
|
render() {
|
|
23780
23780
|
let i = "";
|
|
23781
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
23781
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "07279e9146394ad96ca0ce1b3e059f09fce2937a", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "c4eedb1dba6a3fabd4dcc95e767813f95b83346a", class: "tel__wrapper--flex-label" }, u("label", { key: "093a445bc6a9144673386abf92263faa2f33a62a", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "76abd68488a0f78e3fbd46328fa338d8c05b9601", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "8238860af5dbc417c2cd853b55fd79f67f51649d", class: "tel__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "235b2146fc4c70107d5c077071e1fa52ac1c56d3", class: `tel__wrapper--flex ${i}` }, u("vaadin-combo-box", { key: "73e51576aad82c2bc6895a62b0c19351a1eb917b", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), u("input", { key: "d714d757cd08e3d700cec86f9d6ce4ff680dd2e9", type: "tel", ref: (e) => this.inputReference = e, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: this.phoneValue, 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: "f6ced1b252990cd3ecc18c9c5ad3546654006dcc", class: "tel__error-message" }, this.errorMessage));
|
|
23782
23782
|
}
|
|
23783
23783
|
static get watchers() {
|
|
23784
23784
|
return {
|
|
@@ -23789,7 +23789,7 @@ const lb = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
23789
23789
|
}
|
|
23790
23790
|
};
|
|
23791
23791
|
hb.style = db;
|
|
23792
|
-
const
|
|
23792
|
+
const cb = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}', ub = cb, pb = class {
|
|
23793
23793
|
constructor(i) {
|
|
23794
23794
|
te(this, i), this.sendValidityState = F(this, "sendValidityState"), this.sendInputValue = F(this, "sendInputValue"), this.value = "", this.validationPattern = "", this.duplicateInputValue = null, this.touched = !1, this.handleInput = (e) => {
|
|
23795
23795
|
this.value = e.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
@@ -23862,11 +23862,11 @@ const ub = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
23862
23862
|
}
|
|
23863
23863
|
}
|
|
23864
23864
|
renderTooltip() {
|
|
23865
|
-
return this.showTooltip ?
|
|
23865
|
+
return this.showTooltip ? u("div", { class: `text__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23866
23866
|
}
|
|
23867
23867
|
render() {
|
|
23868
23868
|
let i = "";
|
|
23869
|
-
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"),
|
|
23869
|
+
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "37c7509b46ab92149c3c11365cf5061bb1bbb01a", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (e) => this.stylingContainer = e }, u("div", { key: "737873a059749dc050a8efa6ffb09a1b2ee9f95c", class: "text__wrapper--flex" }, u("label", { key: "1d921faece6c293c7e3c95d34bedd0d399c7be9e", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "e1e59c85912cf7c3dbd1e61bba829ae2b0192a18", class: "text__wrapper--relative" }, this.tooltip && u("img", { key: "73513026eebcc809edef481d5cd7b885e5f20f03", class: "text__tooltip-icon", src: he, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "a73e2c2430e6fbc778e1fd6b5fcfb298cf01b5c5", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${i}`, placeholder: `${this.placeholder}`, ref: (e) => this.inputReference = e, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "11cb376081cb05651c60c3e1ac8a41f9751ca16c", class: "text__error-message" }, this.errorMessage));
|
|
23870
23870
|
}
|
|
23871
23871
|
static get watchers() {
|
|
23872
23872
|
return {
|
|
@@ -23876,7 +23876,7 @@ const ub = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
23876
23876
|
};
|
|
23877
23877
|
}
|
|
23878
23878
|
};
|
|
23879
|
-
pb.style =
|
|
23879
|
+
pb.style = ub;
|
|
23880
23880
|
const mb = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', _b = mb, fb = class {
|
|
23881
23881
|
constructor(i) {
|
|
23882
23882
|
te(this, i), this.sendValidityState = F(this, "sendValidityState"), this.sendInputValue = F(this, "sendInputValue"), this.callBackObject = {}, this.subFieldsObject = {}, this.value = "", this.handleRevealField = (e, t) => {
|
|
@@ -23924,13 +23924,13 @@ const mb = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
23924
23924
|
});
|
|
23925
23925
|
}
|
|
23926
23926
|
renderLabel() {
|
|
23927
|
-
return
|
|
23927
|
+
return u("label", { class: "togglecheckbox__label", htmlFor: `${this.name}__input` }, u("div", { class: "togglecheckbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
|
|
23928
23928
|
}
|
|
23929
23929
|
renderTooltip() {
|
|
23930
|
-
return this.showTooltip ?
|
|
23930
|
+
return this.showTooltip ? u("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
23931
23931
|
}
|
|
23932
23932
|
render() {
|
|
23933
|
-
return
|
|
23933
|
+
return u("div", { key: "6315588766319c4ac7a88646b01bc577858ad718", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "20d6999aaf0499b8b840a28dab89242953b4610d", class: "togglecheckbox__wrapper--flex" }, u("input", { key: "73b699abf4904e4f2133e30d8dea250c9fe13ac3", 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: "4d10247f1dae300d0f5133accdd544a90fa4d5a7", class: "togglecheckbox__error-message" }, this.errorMessage), u("div", { key: "9c95cef35e58875b96710d3b64b9af1be27204c5", class: "togglecheckbox__wrapper--relative" }, this.tooltip && u("img", { key: "9774edae6bad4715fd20798a7be25eb71c3c4cf0", class: "togglecheckbox__tooltip-icon", src: he, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), u("div", { key: "70ad3ec894a32439e2dcea617e2a5b773c5456b1", 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 }))));
|
|
23934
23934
|
}
|
|
23935
23935
|
static get watchers() {
|
|
23936
23936
|
return {
|
|
@@ -24034,10 +24034,10 @@ const vb = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.twofa
|
|
|
24034
24034
|
}
|
|
24035
24035
|
}
|
|
24036
24036
|
renderTooltip() {
|
|
24037
|
-
return this.showTooltip ?
|
|
24037
|
+
return this.showTooltip ? u("div", { class: `text__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
24038
24038
|
}
|
|
24039
24039
|
render() {
|
|
24040
|
-
return
|
|
24040
|
+
return u("div", { key: "97c1955fececc6f3998375f4c8176ceaed66856a", class: "twofa" }, u("div", { key: "ee2243931d8e5c6a5aadf1e78d1851449806d2b2", class: "twofa__error-message" }, u("p", { key: "20a8ccad2e6501c73e3672f6ae325f8539e2d21a" }, this.errorMessage)), u("div", { key: "bb33610a8be04b86378026c02099620749b81a4b", class: "twofa__description", innerHTML: y("twofaDescription", this.language, { values: { destination: this.destination } }) }), u("div", { key: "af3ea38ed6468eb2de66aed810ba50a850bf21a9", class: "twofa__input-wrapper", ref: this.setContainerRef }, this.code.map((i, e) => u("input", { key: e, ref: (t) => this.setInputRef(t, e), id: `otp-input-${e}`, type: "text", maxLength: 2, value: i, onInput: (t) => this.handleInput(t, e), onKeyDown: (t) => this.handleKeyDown(t, e), onPaste: (t) => this.handlePaste(t) }))), u("div", { key: "f385bd6dc93896d918a5cc1365b59bedd47d5bb0", class: "twofa__button-wrapper" }, u("p", { key: "3623f0391e0e5923cd6b3bfd74d203905486209f", class: "twofa__resend-message" }, y("twofaResendMessage", this.language)), u("button", { key: "497660604f87dbf4ce1ce51ecd041e82ab5dd33a", class: "twofa__resend-button", onClick: this.resendCodeHandler, disabled: !this.isResendButtonAvailable }, this.isResendButtonAvailable ? y("twofaResendButton", this.language) : this.formatTime())));
|
|
24041
24041
|
}
|
|
24042
24042
|
static get watchers() {
|
|
24043
24043
|
return {
|
|
@@ -24095,22 +24095,22 @@ const yb = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear i
|
|
|
24095
24095
|
}
|
|
24096
24096
|
}
|
|
24097
24097
|
renderLogo() {
|
|
24098
|
-
return
|
|
24098
|
+
return u("div", { class: "SkeletonContainer" }, u("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
24099
24099
|
}
|
|
24100
24100
|
renderImage() {
|
|
24101
|
-
return
|
|
24101
|
+
return u("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
24102
24102
|
}
|
|
24103
24103
|
renderTitle() {
|
|
24104
|
-
return
|
|
24104
|
+
return u("div", { class: "SkeletonContainer" }, u("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
24105
24105
|
}
|
|
24106
24106
|
renderText() {
|
|
24107
|
-
return
|
|
24107
|
+
return u("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((i, e) => u("div", { key: e, class: "Text " + (this.animation ? "Skeleton" : "") })));
|
|
24108
24108
|
}
|
|
24109
24109
|
renderRectangle() {
|
|
24110
|
-
return
|
|
24110
|
+
return u("div", { class: "SkeletonContainer" }, u("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
24111
24111
|
}
|
|
24112
24112
|
renderCircle() {
|
|
24113
|
-
return
|
|
24113
|
+
return u("div", { class: "SkeletonContainer" }, u("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
24114
24114
|
}
|
|
24115
24115
|
render() {
|
|
24116
24116
|
let i = "";
|
|
@@ -24190,7 +24190,7 @@ const yb = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear i
|
|
|
24190
24190
|
default:
|
|
24191
24191
|
i = "";
|
|
24192
24192
|
}
|
|
24193
|
-
return
|
|
24193
|
+
return u(Rs, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, u("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, i), this.handleStructure(this.structure));
|
|
24194
24194
|
}
|
|
24195
24195
|
static get watchers() {
|
|
24196
24196
|
return {
|
|
@@ -24202,8 +24202,8 @@ xb.style = wb;
|
|
|
24202
24202
|
export {
|
|
24203
24203
|
md as checkbox_group_input,
|
|
24204
24204
|
vd as checkbox_input,
|
|
24205
|
-
|
|
24206
|
-
|
|
24205
|
+
Ac as date_input,
|
|
24206
|
+
Pc as email_input,
|
|
24207
24207
|
Kg as general_input,
|
|
24208
24208
|
Jg as number_input,
|
|
24209
24209
|
Eb as pam_change_password,
|