@everymatrix/player-account-controller-nd 1.60.2 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountControllerNd-CaswjZ0r.cjs → PlayerAccountControllerNd-Czla4Qp2.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DhNJgj7L.js → PlayerAccountControllerNd-DaxeqxDh.js} +14 -14
- package/components/{PlayerAccountControllerNd-BVvSOxDP.js → PlayerAccountControllerNd-SYp7qsx_.js} +14 -14
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bx_23ENa.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bmd_NwHD.js} +556 -550
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bm7JmMjW.js → PlayerAccountGamingLimitsPage2Gm16Nd-Ca3ZUJWk.js} +990 -984
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B7Hww3zx.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-WCAZ928m.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CqEgF4Ti.cjs → PlayerAccountGamingLimitsWrapper2Nd-BfCJoSe1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Ca1mafrx.js → PlayerAccountGamingLimitsWrapper2Nd-TjdAXRVo.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-keOLkA8W.js → PlayerAccountGamingLimitsWrapper2Nd-_gwT4o4X.js} +1 -1
- package/components/{PlayerAccountMenuNd-DXAiV-ss.cjs → PlayerAccountMenuNd-BKRgThbJ.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Bd85x4uA.js → PlayerAccountMenuNd-BO16ASNz.js} +1 -1
- package/components/{PlayerAccountMenuNd-CNcp3PHI.js → PlayerAccountMenuNd-Br6a9Tej.js} +1 -1
- package/components/PlayerAccountNotifications-MHx2DPBT.js +372 -0
- package/components/PlayerAccountNotifications-Vaz7mdXW.cjs +1 -0
- package/components/{PlayerAccountNotifications-ClOeCnPf.js → PlayerAccountNotifications-hkB_puur.js} +62 -61
- package/components/{PlayerAccountSelfExclusionNd-BQrtl9gQ.js → PlayerAccountSelfExclusionNd-C9IcT0p4.js} +2 -2
- package/components/{PlayerAccountSelfExclusionNd-L3TqggPW.cjs → PlayerAccountSelfExclusionNd-DI4bHTYL.cjs} +2 -2
- package/components/{PlayerAccountSelfExclusionNd-CHldQADi.js → PlayerAccountSelfExclusionNd-DIwIYVeN.js} +2 -2
- package/components/{PlayerAccountTimeout-CvPqgtCT.js → PlayerAccountTimeout-1HHDRhRW.js} +2 -2
- package/components/{PlayerAccountTimeout-t5voNIc-.js → PlayerAccountTimeout-DMUbvpSF.js} +2 -2
- package/components/{PlayerAccountTimeout-CzQHi6qZ.cjs → PlayerAccountTimeout-DvhQQjVR.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CBNXsPFC.js → PlayerActiveBonuses-CoNv5ScH.js} +1 -1
- package/components/{PlayerActiveBonuses-dQ63hUq3.js → PlayerActiveBonuses-bqJeaH4L.js} +1 -1
- package/components/{PlayerActiveBonuses-B3sDjZPu.cjs → PlayerActiveBonuses-s0MmTfKm.cjs} +1 -1
- package/components/{PlayerBonusCard-DXAV2V1U.js → PlayerBonusCard-DP8c89Ho.js} +144 -143
- package/components/{PlayerBonusCard-bSjh6zBM.js → PlayerBonusCard-DsRkWJss.js} +144 -143
- package/components/PlayerBonusCard-htL7HEnz.cjs +1 -0
- package/components/{PlayerBonusHistory-h8ppzMVZ.js → PlayerBonusHistory-C8Jw6te-.js} +2 -2
- package/components/{PlayerBonusHistory-l0rQmZvF.cjs → PlayerBonusHistory-CFXdMeY4.cjs} +1 -1
- package/components/{PlayerBonusHistory-CnMK7ejq.js → PlayerBonusHistory-DDkhmw4r.js} +2 -2
- package/components/{PlayerGamingHistory-BlKEP1D9.js → PlayerGamingHistory-CNe8DQFa.js} +1 -1
- package/components/{PlayerGamingHistory-BzH_1Vrz.js → PlayerGamingHistory-D8kvtD06.js} +1 -1
- package/components/{PlayerGamingHistory-BQIBl2C1.cjs → PlayerGamingHistory-DrmDZElc.cjs} +1 -1
- package/components/{PlayerProfileInfo-C5pt67nk.js → PlayerProfileInfo-4_ji2YMX.js} +1 -1
- package/components/{PlayerProfileInfo-4pEf39os.cjs → PlayerProfileInfo-C2_IlzNH.cjs} +1 -1
- package/components/{PlayerProfileInfo-DdNpSWPf.js → PlayerProfileInfo-C34ph_VD.js} +1 -1
- package/components/{PlayerRealityCheck-DiJJz_Fj.cjs → PlayerRealityCheck-BYgd7N7D.cjs} +1 -1
- package/components/{PlayerRealityCheck-b9pmvz-O.js → PlayerRealityCheck-CI3A9NNr.js} +1 -1
- package/components/{PlayerRealityCheck-DKW4vOQ-.js → PlayerRealityCheck-QN7JG4FF.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BE38v2MW.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-Dab_DTBV.js} +5 -3
- package/stencil/{checkbox-group-input_9-DEGGgpku.js → checkbox-group-input_9-BRv_piPJ.js} +102 -99
- package/stencil/{checkbox-group-input_9-DDKGgkML.cjs → checkbox-group-input_9-DCA5sbPo.cjs} +2 -2
- package/stencil/{checkbox-group-input_9-Cge1uYJD.js → checkbox-group-input_9-bIi7h3_V.js} +102 -99
- package/stencil/{general-input-D6ZzAION.js → general-input-CQs-v3_Y.js} +2 -2
- package/stencil/{general-input-CbzyUMpM.cjs → general-input-DgKQ0KIf.cjs} +2 -2
- package/stencil/{general-input-DGX9cnfM.js → general-input-OUKrtuTp.js} +2 -2
- package/stencil/{index-1ef3a64c-Cb8qLHe4.js → index-1ef3a64c-Bo9AYUJy.js} +1 -1
- package/stencil/{index-1ef3a64c-CzlpRJE7.cjs → index-1ef3a64c-CiZxO5I8.cjs} +1 -1
- package/stencil/{index-1ef3a64c-C4-h3nXC.js → index-1ef3a64c-ElvobcAf.js} +1 -1
- package/stencil/{index-7c5e707a-B9tD4t-g.js → index-21ba09dd-C-HsjTUn.js} +4 -4
- package/stencil/{index-7c5e707a-40SRy2Ab.js → index-21ba09dd-DNkmY6MF.js} +4 -4
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +1 -0
- package/stencil/index-34008883-B7S8keyz.js +577 -0
- package/stencil/index-34008883-CX1Vpol5.cjs +1 -0
- package/stencil/{index-9c0f6c58-DeLVbTUg.js → index-34008883-DRJSKOUl.js} +228 -200
- package/stencil/{index-9cd44522-DNHOiqex.js → index-9cd44522-C566YWys.js} +4 -4
- package/stencil/{index-9cd44522-bcseM6Tc.js → index-9cd44522-Crt8CtBe.js} +4 -4
- package/stencil/{index-9cd44522-BZa-k0xO.cjs → index-9cd44522-jv76DI6J.cjs} +1 -1
- package/stencil/{index-b2193545-C2qi7zn0.js → index-b2193545-Ba3S1_hg.js} +1 -1
- package/stencil/{index-b2193545-lh5NrH1l.cjs → index-b2193545-CjNH95c8.cjs} +1 -1
- package/stencil/{index-b2193545-DRVj_AmB.js → index-b2193545-nCQBn10B.js} +1 -1
- package/stencil/index-b7bbd57e-BXQNNKF-.cjs +1 -0
- package/stencil/index-b7bbd57e-C1rNwXcA.js +534 -0
- package/stencil/index-b7bbd57e-KR8HyCXS.js +550 -0
- package/stencil/{password-input_2-DfibVL8H.js → password-input_2-C84wWI7v.js} +2 -2
- package/stencil/{password-input_2-ChFdsN2L.cjs → password-input_2-Cb1ahifk.cjs} +1 -1
- package/stencil/{password-input_2-IaELIWPu.js → password-input_2-DQO_Gwqq.js} +2 -2
- package/stencil/{player-change-password-gm2-039e300e-h73P3BnO.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-DQu1Qy42.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-Cbvlv_Cc.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-o8J_07IZ.js → player-change-password-gm2-BJLdk2sF.js} +3 -3
- package/stencil/{player-change-password-gm2-CZ4CLVdX.js → player-change-password-gm2-C46hgH3O.js} +3 -3
- package/stencil/{player-change-password-gm2-Ddu97gwX.cjs → player-change-password-gm2-SzYQySXI.cjs} +1 -1
- package/stencil/player-kyc-verification-6TGi8B9v.js +25 -0
- package/stencil/player-kyc-verification-BH7srnLo.cjs +1 -0
- package/stencil/player-kyc-verification-DRh9MXmC.js +7 -0
- package/stencil/{player-kyc-verification-dmJNIHni.js → player-kyc-verification_2-EJZCFPKM.js} +67 -39
- package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +180 -0
- package/stencil/{player-kyc-verification-z8R7nMzo.js → player-kyc-verification_2-w8_XwPSF.js} +58 -28
- package/stencil/{toggle-checkbox-input-BJReK7u2.js → toggle-checkbox-input-Bh9dCfaE.js} +1 -1
- package/stencil/{toggle-checkbox-input-DPSvf8jJ.cjs → toggle-checkbox-input-CDg0DAAQ.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-CphJPGIs.js → toggle-checkbox-input-CFvMg26A.js} +1 -1
- package/stencil/ui-image-38c3c15f-CEfeqAk8.js +39 -0
- package/stencil/ui-image-38c3c15f-Ck6BC-zf.js +39 -0
- package/stencil/ui-image-38c3c15f-Cq2W4LRm.cjs +1 -0
- package/stencil/ui-image-CBPosHQA.js +11 -0
- package/stencil/ui-image-CIXt7mi5.cjs +1 -0
- package/stencil/ui-image-SmL79gLQ.js +29 -0
- package/stencil/{user-transaction-history-BO92Qvk4.js → ui-image_2-CYG1_Yew.js} +111 -81
- package/stencil/ui-image_2-Cyb78tZB.cjs +1 -0
- package/stencil/{user-transaction-history-Bg6onQ-I.js → ui-image_2-nVKXie9g.js} +121 -93
- package/stencil/{ui-skeleton-ea659b95-BrjFstai.js → ui-skeleton-6d1c12ae-BteqiJ3N.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-79vEjTsx.js → ui-skeleton-6d1c12ae-CpRMWvUl.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-DuSAPIG5.cjs → ui-skeleton-6d1c12ae-DIXcfDMF.cjs} +2 -2
- package/stencil/{ui-skeleton-BCpuJt-t.js → ui-skeleton-B5HKWUZZ.js} +5 -5
- package/stencil/{ui-skeleton-BAxmxOly.cjs → ui-skeleton-BmY9tNCz.cjs} +1 -1
- package/stencil/{ui-skeleton-BnjJK_-z.js → ui-skeleton-cMJY5_hV.js} +3 -3
- package/stencil/{user-deposit-withdrawal-CBWlU3d2.cjs → user-deposit-withdrawal-AuM1tZmx.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CE9oDw4W.js → user-deposit-withdrawal-BMJx_R6F.js} +2 -2
- package/stencil/{user-deposit-withdrawal-Dnqg2IvK.js → user-deposit-withdrawal-Dgcj5_4h.js} +2 -2
- package/stencil/user-transaction-history-BPAsxrSz.js +7 -0
- package/stencil/user-transaction-history-CATn02Hg.js +25 -0
- package/stencil/user-transaction-history-DSzCjzMR.cjs +1 -0
- package/components/PlayerAccountNotifications-BgE2Nu5e.cjs +0 -1
- package/components/PlayerAccountNotifications-DWItYFsA.js +0 -371
- package/components/PlayerBonusCard-4A6XzJO6.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
- package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
- package/stencil/index-9c0f6c58-D5txcAjr.js +0 -549
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +0 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +0 -180
- package/stencil/user-transaction-history-COJbthDt.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as z, c as H, h as l, g as Te } from "./index-9cd44522-
|
|
2
|
-
import { t as
|
|
1
|
+
import { r as z, c as H, h as l, g as Te } from "./index-9cd44522-Crt8CtBe.js";
|
|
2
|
+
import { t as x } from "./locale-ioQf6ZrW.js";
|
|
3
3
|
import { t as G } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
4
4
|
const at = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));box-shadow:none}', nt = at, ot = class {
|
|
5
5
|
constructor(t) {
|
|
@@ -40,7 +40,7 @@ const at = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin
|
|
|
40
40
|
}
|
|
41
41
|
setErrorMessage() {
|
|
42
42
|
if (this.inputReference.validity.valueMissing)
|
|
43
|
-
return
|
|
43
|
+
return x("requiredError", this.language);
|
|
44
44
|
}
|
|
45
45
|
renderTooltip() {
|
|
46
46
|
return this.showTooltip ? l("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -108,7 +108,7 @@ const st = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
|
|
|
108
108
|
}
|
|
109
109
|
setErrorMessage() {
|
|
110
110
|
if (this.inputReference.validity.valueMissing)
|
|
111
|
-
return
|
|
111
|
+
return x("requiredError", this.language);
|
|
112
112
|
}
|
|
113
113
|
renderLabel() {
|
|
114
114
|
return l("label", { class: "checkbox__label", htmlFor: `${this.name}__input` }, l("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
|
|
@@ -1023,11 +1023,11 @@ var Mt = {
|
|
|
1023
1023
|
one: "almost 1 year",
|
|
1024
1024
|
other: "almost {{count}} years"
|
|
1025
1025
|
}
|
|
1026
|
-
},
|
|
1026
|
+
}, Pt = function(i, r, a) {
|
|
1027
1027
|
var e, o = Mt[i];
|
|
1028
1028
|
return typeof o == "string" ? e = o : r === 1 ? e = o.one : e = o.other.replace("{{count}}", r.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
1029
1029
|
};
|
|
1030
|
-
const
|
|
1030
|
+
const Dt = Pt;
|
|
1031
1031
|
function we(t) {
|
|
1032
1032
|
return function() {
|
|
1033
1033
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = i.width ? String(i.width) : t.defaultWidth, a = t.formats[r] || t.formats[t.defaultWidth];
|
|
@@ -1340,7 +1340,7 @@ var Xt = /^(\d+)(th|st|nd|rd)?/i, Kt = /\d+/i, Zt = {
|
|
|
1340
1340
|
const ui = li;
|
|
1341
1341
|
var di = {
|
|
1342
1342
|
code: "en-US",
|
|
1343
|
-
formatDistance:
|
|
1343
|
+
formatDistance: Dt,
|
|
1344
1344
|
formatLong: It,
|
|
1345
1345
|
formatRelative: Ut,
|
|
1346
1346
|
localize: Bt,
|
|
@@ -1673,7 +1673,7 @@ var Ti = 10, Ze = /* @__PURE__ */ function() {
|
|
|
1673
1673
|
return o.era = n, e.setUTCFullYear(n, 0, 1), e.setUTCHours(0, 0, 0, 0), e;
|
|
1674
1674
|
}
|
|
1675
1675
|
}]), r;
|
|
1676
|
-
}(b), Mi = 6e4,
|
|
1676
|
+
}(b), Mi = 6e4, Pi = 36e5, Di = 1e3, P = {
|
|
1677
1677
|
month: /^(1[0-2]|0?\d)/,
|
|
1678
1678
|
// 0 to 12
|
|
1679
1679
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -1718,7 +1718,7 @@ var Ti = 10, Ze = /* @__PURE__ */ function() {
|
|
|
1718
1718
|
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
1719
1719
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
1720
1720
|
};
|
|
1721
|
-
function
|
|
1721
|
+
function D(t, i) {
|
|
1722
1722
|
return t && {
|
|
1723
1723
|
value: i(t.value),
|
|
1724
1724
|
rest: t.rest
|
|
@@ -1742,23 +1742,23 @@ function N(t, i) {
|
|
|
1742
1742
|
};
|
|
1743
1743
|
var a = r[1] === "+" ? 1 : -1, e = r[2] ? parseInt(r[2], 10) : 0, o = r[3] ? parseInt(r[3], 10) : 0, n = r[5] ? parseInt(r[5], 10) : 0;
|
|
1744
1744
|
return {
|
|
1745
|
-
value: a * (e *
|
|
1745
|
+
value: a * (e * Pi + o * Mi + n * Di),
|
|
1746
1746
|
rest: i.slice(r[0].length)
|
|
1747
1747
|
};
|
|
1748
1748
|
}
|
|
1749
1749
|
function Je(t) {
|
|
1750
|
-
return k(
|
|
1750
|
+
return k(P.anyDigitsSigned, t);
|
|
1751
1751
|
}
|
|
1752
1752
|
function V(t, i) {
|
|
1753
1753
|
switch (t) {
|
|
1754
1754
|
case 1:
|
|
1755
|
-
return k(
|
|
1755
|
+
return k(P.singleDigit, i);
|
|
1756
1756
|
case 2:
|
|
1757
|
-
return k(
|
|
1757
|
+
return k(P.twoDigits, i);
|
|
1758
1758
|
case 3:
|
|
1759
|
-
return k(
|
|
1759
|
+
return k(P.threeDigits, i);
|
|
1760
1760
|
case 4:
|
|
1761
|
-
return k(
|
|
1761
|
+
return k(P.fourDigits, i);
|
|
1762
1762
|
default:
|
|
1763
1763
|
return k(new RegExp("^\\d{1," + t + "}"), i);
|
|
1764
1764
|
}
|
|
@@ -1766,13 +1766,13 @@ function V(t, i) {
|
|
|
1766
1766
|
function me(t, i) {
|
|
1767
1767
|
switch (t) {
|
|
1768
1768
|
case 1:
|
|
1769
|
-
return k(
|
|
1769
|
+
return k(P.singleDigitSigned, i);
|
|
1770
1770
|
case 2:
|
|
1771
|
-
return k(
|
|
1771
|
+
return k(P.twoDigitsSigned, i);
|
|
1772
1772
|
case 3:
|
|
1773
|
-
return k(
|
|
1773
|
+
return k(P.threeDigitsSigned, i);
|
|
1774
1774
|
case 4:
|
|
1775
|
-
return k(
|
|
1775
|
+
return k(P.fourDigitsSigned, i);
|
|
1776
1776
|
default:
|
|
1777
1777
|
return k(new RegExp("^-?\\d{1," + t + "}"), i);
|
|
1778
1778
|
}
|
|
@@ -1828,13 +1828,13 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
1828
1828
|
};
|
|
1829
1829
|
switch (o) {
|
|
1830
1830
|
case "y":
|
|
1831
|
-
return
|
|
1831
|
+
return D(V(4, e), s);
|
|
1832
1832
|
case "yo":
|
|
1833
|
-
return
|
|
1833
|
+
return D(n.ordinalNumber(e, {
|
|
1834
1834
|
unit: "year"
|
|
1835
1835
|
}), s);
|
|
1836
1836
|
default:
|
|
1837
|
-
return
|
|
1837
|
+
return D(V(o.length, e), s);
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
}, {
|
|
@@ -1875,13 +1875,13 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
1875
1875
|
};
|
|
1876
1876
|
switch (o) {
|
|
1877
1877
|
case "Y":
|
|
1878
|
-
return
|
|
1878
|
+
return D(V(4, e), s);
|
|
1879
1879
|
case "Yo":
|
|
1880
|
-
return
|
|
1880
|
+
return D(n.ordinalNumber(e, {
|
|
1881
1881
|
unit: "year"
|
|
1882
1882
|
}), s);
|
|
1883
1883
|
default:
|
|
1884
|
-
return
|
|
1884
|
+
return D(V(o.length, e), s);
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
1887
|
}, {
|
|
@@ -2080,11 +2080,11 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
2080
2080
|
};
|
|
2081
2081
|
switch (o) {
|
|
2082
2082
|
case "M":
|
|
2083
|
-
return
|
|
2083
|
+
return D(k(P.month, e), s);
|
|
2084
2084
|
case "MM":
|
|
2085
|
-
return
|
|
2085
|
+
return D(V(2, e), s);
|
|
2086
2086
|
case "Mo":
|
|
2087
|
-
return
|
|
2087
|
+
return D(n.ordinalNumber(e, {
|
|
2088
2088
|
unit: "month"
|
|
2089
2089
|
}), s);
|
|
2090
2090
|
case "MMM":
|
|
@@ -2143,11 +2143,11 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
2143
2143
|
};
|
|
2144
2144
|
switch (o) {
|
|
2145
2145
|
case "L":
|
|
2146
|
-
return
|
|
2146
|
+
return D(k(P.month, e), s);
|
|
2147
2147
|
case "LL":
|
|
2148
|
-
return
|
|
2148
|
+
return D(V(2, e), s);
|
|
2149
2149
|
case "Lo":
|
|
2150
|
-
return
|
|
2150
|
+
return D(n.ordinalNumber(e, {
|
|
2151
2151
|
unit: "month"
|
|
2152
2152
|
}), s);
|
|
2153
2153
|
case "LLL":
|
|
@@ -2209,7 +2209,7 @@ var $i = /* @__PURE__ */ function(t) {
|
|
|
2209
2209
|
value: function(e, o, n) {
|
|
2210
2210
|
switch (o) {
|
|
2211
2211
|
case "w":
|
|
2212
|
-
return k(
|
|
2212
|
+
return k(P.week, e);
|
|
2213
2213
|
case "wo":
|
|
2214
2214
|
return n.ordinalNumber(e, {
|
|
2215
2215
|
unit: "week"
|
|
@@ -2250,7 +2250,7 @@ var qi = /* @__PURE__ */ function(t) {
|
|
|
2250
2250
|
value: function(e, o, n) {
|
|
2251
2251
|
switch (o) {
|
|
2252
2252
|
case "I":
|
|
2253
|
-
return k(
|
|
2253
|
+
return k(P.week, e);
|
|
2254
2254
|
case "Io":
|
|
2255
2255
|
return n.ordinalNumber(e, {
|
|
2256
2256
|
unit: "week"
|
|
@@ -2285,7 +2285,7 @@ var qi = /* @__PURE__ */ function(t) {
|
|
|
2285
2285
|
value: function(e, o, n) {
|
|
2286
2286
|
switch (o) {
|
|
2287
2287
|
case "d":
|
|
2288
|
-
return k(
|
|
2288
|
+
return k(P.date, e);
|
|
2289
2289
|
case "do":
|
|
2290
2290
|
return n.ordinalNumber(e, {
|
|
2291
2291
|
unit: "date"
|
|
@@ -2322,7 +2322,7 @@ var qi = /* @__PURE__ */ function(t) {
|
|
|
2322
2322
|
switch (o) {
|
|
2323
2323
|
case "D":
|
|
2324
2324
|
case "DD":
|
|
2325
|
-
return k(
|
|
2325
|
+
return k(P.dayOfYear, e);
|
|
2326
2326
|
case "Do":
|
|
2327
2327
|
return n.ordinalNumber(e, {
|
|
2328
2328
|
unit: "date"
|
|
@@ -2441,9 +2441,9 @@ var Bi = /* @__PURE__ */ function(t) {
|
|
|
2441
2441
|
switch (o) {
|
|
2442
2442
|
case "e":
|
|
2443
2443
|
case "ee":
|
|
2444
|
-
return
|
|
2444
|
+
return D(V(o.length, e), c);
|
|
2445
2445
|
case "eo":
|
|
2446
|
-
return
|
|
2446
|
+
return D(n.ordinalNumber(e, {
|
|
2447
2447
|
unit: "day"
|
|
2448
2448
|
}), c);
|
|
2449
2449
|
case "eee":
|
|
@@ -2518,9 +2518,9 @@ var Bi = /* @__PURE__ */ function(t) {
|
|
|
2518
2518
|
switch (o) {
|
|
2519
2519
|
case "c":
|
|
2520
2520
|
case "cc":
|
|
2521
|
-
return
|
|
2521
|
+
return D(V(o.length, e), c);
|
|
2522
2522
|
case "co":
|
|
2523
|
-
return
|
|
2523
|
+
return D(n.ordinalNumber(e, {
|
|
2524
2524
|
unit: "day"
|
|
2525
2525
|
}), c);
|
|
2526
2526
|
case "ccc":
|
|
@@ -2608,7 +2608,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2608
2608
|
unit: "day"
|
|
2609
2609
|
});
|
|
2610
2610
|
case "iii":
|
|
2611
|
-
return
|
|
2611
|
+
return D(n.day(e, {
|
|
2612
2612
|
width: "abbreviated",
|
|
2613
2613
|
context: "formatting"
|
|
2614
2614
|
}) || n.day(e, {
|
|
@@ -2619,12 +2619,12 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2619
2619
|
context: "formatting"
|
|
2620
2620
|
}), s);
|
|
2621
2621
|
case "iiiii":
|
|
2622
|
-
return
|
|
2622
|
+
return D(n.day(e, {
|
|
2623
2623
|
width: "narrow",
|
|
2624
2624
|
context: "formatting"
|
|
2625
2625
|
}), s);
|
|
2626
2626
|
case "iiiiii":
|
|
2627
|
-
return
|
|
2627
|
+
return D(n.day(e, {
|
|
2628
2628
|
width: "short",
|
|
2629
2629
|
context: "formatting"
|
|
2630
2630
|
}) || n.day(e, {
|
|
@@ -2633,7 +2633,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2633
2633
|
}), s);
|
|
2634
2634
|
case "iiii":
|
|
2635
2635
|
default:
|
|
2636
|
-
return
|
|
2636
|
+
return D(n.day(e, {
|
|
2637
2637
|
width: "wide",
|
|
2638
2638
|
context: "formatting"
|
|
2639
2639
|
}) || n.day(e, {
|
|
@@ -2821,7 +2821,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2821
2821
|
value: function(e, o, n) {
|
|
2822
2822
|
switch (o) {
|
|
2823
2823
|
case "h":
|
|
2824
|
-
return k(
|
|
2824
|
+
return k(P.hour12h, e);
|
|
2825
2825
|
case "ho":
|
|
2826
2826
|
return n.ordinalNumber(e, {
|
|
2827
2827
|
unit: "hour"
|
|
@@ -2857,7 +2857,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2857
2857
|
value: function(e, o, n) {
|
|
2858
2858
|
switch (o) {
|
|
2859
2859
|
case "H":
|
|
2860
|
-
return k(
|
|
2860
|
+
return k(P.hour23h, e);
|
|
2861
2861
|
case "Ho":
|
|
2862
2862
|
return n.ordinalNumber(e, {
|
|
2863
2863
|
unit: "hour"
|
|
@@ -2892,7 +2892,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2892
2892
|
value: function(e, o, n) {
|
|
2893
2893
|
switch (o) {
|
|
2894
2894
|
case "K":
|
|
2895
|
-
return k(
|
|
2895
|
+
return k(P.hour11h, e);
|
|
2896
2896
|
case "Ko":
|
|
2897
2897
|
return n.ordinalNumber(e, {
|
|
2898
2898
|
unit: "hour"
|
|
@@ -2928,7 +2928,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2928
2928
|
value: function(e, o, n) {
|
|
2929
2929
|
switch (o) {
|
|
2930
2930
|
case "k":
|
|
2931
|
-
return k(
|
|
2931
|
+
return k(P.hour24h, e);
|
|
2932
2932
|
case "ko":
|
|
2933
2933
|
return n.ordinalNumber(e, {
|
|
2934
2934
|
unit: "hour"
|
|
@@ -2964,7 +2964,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2964
2964
|
value: function(e, o, n) {
|
|
2965
2965
|
switch (o) {
|
|
2966
2966
|
case "m":
|
|
2967
|
-
return k(
|
|
2967
|
+
return k(P.minute, e);
|
|
2968
2968
|
case "mo":
|
|
2969
2969
|
return n.ordinalNumber(e, {
|
|
2970
2970
|
unit: "minute"
|
|
@@ -2999,7 +2999,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2999
2999
|
value: function(e, o, n) {
|
|
3000
3000
|
switch (o) {
|
|
3001
3001
|
case "s":
|
|
3002
|
-
return k(
|
|
3002
|
+
return k(P.second, e);
|
|
3003
3003
|
case "so":
|
|
3004
3004
|
return n.ordinalNumber(e, {
|
|
3005
3005
|
unit: "second"
|
|
@@ -3035,7 +3035,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
3035
3035
|
var n = function(c) {
|
|
3036
3036
|
return Math.floor(c * Math.pow(10, -o.length + 3));
|
|
3037
3037
|
};
|
|
3038
|
-
return
|
|
3038
|
+
return D(V(o.length, e), n);
|
|
3039
3039
|
}
|
|
3040
3040
|
}, {
|
|
3041
3041
|
key: "set",
|
|
@@ -3207,18 +3207,18 @@ function fe(t, i, r, a) {
|
|
|
3207
3207
|
weekStartsOn: ae,
|
|
3208
3208
|
locale: j
|
|
3209
3209
|
}, oe = [new Ci()], ge = q.match(fr).map(function(S) {
|
|
3210
|
-
var
|
|
3211
|
-
if (
|
|
3212
|
-
var $ = _e[
|
|
3210
|
+
var _ = S[0];
|
|
3211
|
+
if (_ in _e) {
|
|
3212
|
+
var $ = _e[_];
|
|
3213
3213
|
return $(S, j.formatLong);
|
|
3214
3214
|
}
|
|
3215
3215
|
return S;
|
|
3216
3216
|
}).join("").match(hr), I = [], L = Le(ge), Z;
|
|
3217
3217
|
try {
|
|
3218
3218
|
var it = function() {
|
|
3219
|
-
var
|
|
3220
|
-
!(a != null && a.useAdditionalWeekYearTokens) && Ge(
|
|
3221
|
-
var $ =
|
|
3219
|
+
var _ = Z.value;
|
|
3220
|
+
!(a != null && a.useAdditionalWeekYearTokens) && Ge(_) && pe(_, q, t), !(a != null && a.useAdditionalDayOfYearTokens) && ze(_) && pe(_, q, t);
|
|
3221
|
+
var $ = _[0], he = cr[$];
|
|
3222
3222
|
if (he) {
|
|
3223
3223
|
var Oe = he.incompatibleTokens;
|
|
3224
3224
|
if (Array.isArray(Oe)) {
|
|
@@ -3226,14 +3226,14 @@ function fe(t, i, r, a) {
|
|
|
3226
3226
|
return Oe.includes(He.token) || He.token === $;
|
|
3227
3227
|
});
|
|
3228
3228
|
if (Se)
|
|
3229
|
-
throw new RangeError("The format string mustn't contain `".concat(Se.fullToken, "` and `").concat(
|
|
3229
|
+
throw new RangeError("The format string mustn't contain `".concat(Se.fullToken, "` and `").concat(_, "` at the same time"));
|
|
3230
3230
|
} else if (he.incompatibleTokens === "*" && I.length > 0)
|
|
3231
|
-
throw new RangeError("The format string mustn't contain `".concat(
|
|
3231
|
+
throw new RangeError("The format string mustn't contain `".concat(_, "` and any other token at the same time"));
|
|
3232
3232
|
I.push({
|
|
3233
3233
|
token: $,
|
|
3234
|
-
fullToken:
|
|
3234
|
+
fullToken: _
|
|
3235
3235
|
});
|
|
3236
|
-
var be = he.run(F,
|
|
3236
|
+
var be = he.run(F, _, j.match, ne);
|
|
3237
3237
|
if (!be)
|
|
3238
3238
|
return {
|
|
3239
3239
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -3242,8 +3242,8 @@ function fe(t, i, r, a) {
|
|
|
3242
3242
|
} else {
|
|
3243
3243
|
if ($.match(gr))
|
|
3244
3244
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + $ + "`");
|
|
3245
|
-
if (
|
|
3246
|
-
F = F.slice(
|
|
3245
|
+
if (_ === "''" ? _ = "'" : $ === "'" && (_ = yr(_)), F.indexOf(_) === 0)
|
|
3246
|
+
F = F.slice(_.length);
|
|
3247
3247
|
else
|
|
3248
3248
|
return {
|
|
3249
3249
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -3264,29 +3264,29 @@ function fe(t, i, r, a) {
|
|
|
3264
3264
|
return /* @__PURE__ */ new Date(NaN);
|
|
3265
3265
|
var rt = oe.map(function(S) {
|
|
3266
3266
|
return S.priority;
|
|
3267
|
-
}).sort(function(S,
|
|
3268
|
-
return
|
|
3269
|
-
}).filter(function(S,
|
|
3270
|
-
return $.indexOf(S) ===
|
|
3267
|
+
}).sort(function(S, _) {
|
|
3268
|
+
return _ - S;
|
|
3269
|
+
}).filter(function(S, _, $) {
|
|
3270
|
+
return $.indexOf(S) === _;
|
|
3271
3271
|
}).map(function(S) {
|
|
3272
|
-
return oe.filter(function(
|
|
3273
|
-
return
|
|
3274
|
-
}).sort(function(
|
|
3275
|
-
return $.subPriority -
|
|
3272
|
+
return oe.filter(function(_) {
|
|
3273
|
+
return _.priority === S;
|
|
3274
|
+
}).sort(function(_, $) {
|
|
3275
|
+
return $.subPriority - _.subPriority;
|
|
3276
3276
|
});
|
|
3277
3277
|
}).map(function(S) {
|
|
3278
3278
|
return S[0];
|
|
3279
3279
|
}), ye = E(r);
|
|
3280
3280
|
if (isNaN(ye.getTime()))
|
|
3281
3281
|
return /* @__PURE__ */ new Date(NaN);
|
|
3282
|
-
var se = qe(ye, Be(ye)),
|
|
3282
|
+
var se = qe(ye, Be(ye)), Pe = {}, de = Le(rt), De;
|
|
3283
3283
|
try {
|
|
3284
|
-
for (de.s(); !(
|
|
3285
|
-
var Ee =
|
|
3284
|
+
for (de.s(); !(De = de.n()).done; ) {
|
|
3285
|
+
var Ee = De.value;
|
|
3286
3286
|
if (!Ee.validate(se, ne))
|
|
3287
3287
|
return /* @__PURE__ */ new Date(NaN);
|
|
3288
|
-
var ce = Ee.set(se,
|
|
3289
|
-
Array.isArray(ce) ? (se = ce[0], bi(
|
|
3288
|
+
var ce = Ee.set(se, Pe, ne);
|
|
3289
|
+
Array.isArray(ce) ? (se = ce[0], bi(Pe, ce[1])) : se = ce;
|
|
3290
3290
|
}
|
|
3291
3291
|
} catch (S) {
|
|
3292
3292
|
de.e(S);
|
|
@@ -3366,11 +3366,11 @@ const br = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3366
3366
|
}
|
|
3367
3367
|
setErrorMessage() {
|
|
3368
3368
|
if (Ye(this.valueAsDate, this.minDate) || $e(this.valueAsDate, this.maxDate))
|
|
3369
|
-
return
|
|
3369
|
+
return x("dateError2", this.language);
|
|
3370
3370
|
if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow)
|
|
3371
|
-
return
|
|
3371
|
+
return x("dateError", this.language, { values: { min: this.validation.min, max: this.validation.max } });
|
|
3372
3372
|
if (this.inputReference.validity.valueMissing)
|
|
3373
|
-
return
|
|
3373
|
+
return x("requiredError", this.language);
|
|
3374
3374
|
}
|
|
3375
3375
|
renderTooltip() {
|
|
3376
3376
|
return this.showTooltip ? l("div", { class: `date__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3446,15 +3446,15 @@ const xr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3446
3446
|
var t, i, r, a;
|
|
3447
3447
|
if (this.inputReference.validity.patternMismatch) {
|
|
3448
3448
|
const e = (t = this.validation.custom.find((n) => n.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, o = (i = this.validation.custom.find((n) => n.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3449
|
-
return
|
|
3449
|
+
return x(`${e}`, this.language) ? x(`${e}`, this.language) : o;
|
|
3450
3450
|
}
|
|
3451
3451
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
3452
|
-
return
|
|
3452
|
+
return x("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
3453
3453
|
if (this.inputReference.validity.valueMissing)
|
|
3454
|
-
return
|
|
3454
|
+
return x("requiredError", this.language);
|
|
3455
3455
|
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
3456
3456
|
const e = (r = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || r === void 0 ? void 0 : r.errorKey, o = (a = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || a === void 0 ? void 0 : a.errorMessage;
|
|
3457
|
-
return
|
|
3457
|
+
return x(`${e}`, this.language) ? x(`${e}`, this.language) : o;
|
|
3458
3458
|
}
|
|
3459
3459
|
}
|
|
3460
3460
|
renderTooltip() {
|
|
@@ -3525,12 +3525,12 @@ const Cr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
3525
3525
|
var t, i;
|
|
3526
3526
|
if (this.inputReference.validity.patternMismatch) {
|
|
3527
3527
|
const r = (t = this.validation.custom.find((e) => e.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, a = (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3528
|
-
return
|
|
3528
|
+
return x(`${r}`, this.language) ? x(`${r}`, this.language) : a;
|
|
3529
3529
|
}
|
|
3530
3530
|
if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow)
|
|
3531
|
-
return
|
|
3531
|
+
return x("numberLengthError", this.language, { values: { min: this.validation.min, max: this.validation.max } });
|
|
3532
3532
|
if (this.inputReference.validity.valueMissing)
|
|
3533
|
-
return
|
|
3533
|
+
return x("requiredError", this.language);
|
|
3534
3534
|
}
|
|
3535
3535
|
renderTooltip() {
|
|
3536
3536
|
return this.showTooltip ? l("div", { class: `number__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3548,7 +3548,7 @@ const Cr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
3548
3548
|
}
|
|
3549
3549
|
};
|
|
3550
3550
|
Mr.style = Vr;
|
|
3551
|
-
const
|
|
3551
|
+
const Pr = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}", Dr = Pr, Er = class {
|
|
3552
3552
|
constructor(t) {
|
|
3553
3553
|
z(this, t), this.sendInputValue = H(this, "sendInputValue"), this.sendValidityState = H(this, "sendValidityState"), this.setClientStyling = () => {
|
|
3554
3554
|
let i = document.createElement("style");
|
|
@@ -3584,7 +3584,7 @@ const Dr = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
3584
3584
|
}
|
|
3585
3585
|
setErrorMessage() {
|
|
3586
3586
|
if (this.inputReference.validity.valueMissing)
|
|
3587
|
-
return
|
|
3587
|
+
return x("requiredError", this.language);
|
|
3588
3588
|
}
|
|
3589
3589
|
renderTooltip() {
|
|
3590
3590
|
return this.showTooltip ? l("div", { class: `radio__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3600,7 +3600,7 @@ const Dr = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
3600
3600
|
};
|
|
3601
3601
|
}
|
|
3602
3602
|
};
|
|
3603
|
-
Er.style =
|
|
3603
|
+
Er.style = Dr;
|
|
3604
3604
|
const Or = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}', Sr = Or, Hr = class {
|
|
3605
3605
|
constructor(t) {
|
|
3606
3606
|
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.touched = !1, this.handleChange = (i) => {
|
|
@@ -3668,7 +3668,7 @@ const Or = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
|
|
|
3668
3668
|
}
|
|
3669
3669
|
setErrorMessage() {
|
|
3670
3670
|
if (this.inputReference.validity.valueMissing)
|
|
3671
|
-
return
|
|
3671
|
+
return x("requiredError", this.language);
|
|
3672
3672
|
}
|
|
3673
3673
|
renderTooltip() {
|
|
3674
3674
|
return this.showTooltip ? l("div", { class: `select__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3762,12 +3762,12 @@ const Ir = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
3762
3762
|
var t, i;
|
|
3763
3763
|
if (this.inputReference.validity.patternMismatch) {
|
|
3764
3764
|
const r = (t = this.validation.custom.find((e) => e.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, a = (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3765
|
-
return
|
|
3765
|
+
return x(`${r}`, this.language) ? x(`${r}`, this.language) : a;
|
|
3766
3766
|
}
|
|
3767
3767
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
3768
|
-
return
|
|
3768
|
+
return x("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
3769
3769
|
if (this.inputReference.validity.valueMissing)
|
|
3770
|
-
return
|
|
3770
|
+
return x("requiredError", this.language);
|
|
3771
3771
|
}
|
|
3772
3772
|
renderTooltip() {
|
|
3773
3773
|
return this.showTooltip ? l("div", { class: `tel__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3819,6 +3819,9 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3819
3819
|
valueChangedHandler(t) {
|
|
3820
3820
|
this.isDuplicateInput && this.name === t.detail.name + "Duplicate" && (this.duplicateInputValue = t.detail.value, this.touched && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage())), this.name === t.detail.name + "Duplicate" && this.name.replace("Duplicate", "") === t.detail.name && this.touched === !0 && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage());
|
|
3821
3821
|
}
|
|
3822
|
+
handleValidationChange(t) {
|
|
3823
|
+
t.detail.field === this.name && (this.validation = t.detail.validation, this.validationPattern = this.setPattern(), this.touched && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage()));
|
|
3824
|
+
}
|
|
3822
3825
|
connectedCallback() {
|
|
3823
3826
|
this.validationPattern = this.setPattern();
|
|
3824
3827
|
}
|
|
@@ -3830,7 +3833,7 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3830
3833
|
}
|
|
3831
3834
|
setValidity() {
|
|
3832
3835
|
var t;
|
|
3833
|
-
return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : (t = this.inputReference) === null || t === void 0 ? void 0 : t.validity.valid;
|
|
3836
|
+
return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : ((t = this.inputReference) === null || t === void 0 ? void 0 : t.validity.valid) && this.inputReference.value.match(this.validationPattern) != null;
|
|
3834
3837
|
}
|
|
3835
3838
|
setPattern() {
|
|
3836
3839
|
var t, i;
|
|
@@ -3839,17 +3842,17 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3839
3842
|
}
|
|
3840
3843
|
setErrorMessage() {
|
|
3841
3844
|
var t, i, r, a;
|
|
3842
|
-
if (this.inputReference.
|
|
3845
|
+
if (this.inputReference.value.match(this.validationPattern) == null) {
|
|
3843
3846
|
const e = (t = this.validation.custom.find((n) => n.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, o = (i = this.validation.custom.find((n) => n.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3844
|
-
return
|
|
3847
|
+
return x(`${e}`, this.language) || o;
|
|
3845
3848
|
}
|
|
3846
3849
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
3847
|
-
return
|
|
3850
|
+
return x("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
3848
3851
|
if (this.inputReference.validity.valueMissing)
|
|
3849
|
-
return
|
|
3852
|
+
return x("requiredError", this.language);
|
|
3850
3853
|
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
3851
3854
|
const e = (r = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || r === void 0 ? void 0 : r.errorKey, o = (a = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || a === void 0 ? void 0 : a.errorMessage;
|
|
3852
|
-
return
|
|
3855
|
+
return x(`${e}`, this.language) ? x(`${e}`, this.language) : o;
|
|
3853
3856
|
}
|
|
3854
3857
|
}
|
|
3855
3858
|
renderTooltip() {
|
|
@@ -3857,7 +3860,7 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3857
3860
|
}
|
|
3858
3861
|
render() {
|
|
3859
3862
|
let t = "";
|
|
3860
|
-
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), l("div", { key: "
|
|
3863
|
+
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), l("div", { key: "3050f7be1581f0cd5b5e1ce708a789b5e7a54b03", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (i) => this.stylingContainer = i }, l("div", { key: "9dcc93fb8c091c599269454ab21c03c2380ffef7", class: "text__wrapper--flex" }, l("label", { key: "0054347b1a4de17ea60b898783de0ef6b42233ee", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), l("div", { key: "b4655608e397f8d2a8179c01521756bf87746ace", class: "text__wrapper--relative" }, this.tooltip && l("img", { key: "c71c1ca1175d11ec352eca5cff216bb244aa7895", class: "text__tooltip-icon", src: G, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), l("input", { key: "2df3c181c5ca725e121c0878a10ca257da7cdd34", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${t}`, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), l("small", { key: "5785eb51774c9159e474fbdbd5be0c1ab2a57899", class: "text__error-message" }, this.errorMessage));
|
|
3861
3864
|
}
|
|
3862
3865
|
static get watchers() {
|
|
3863
3866
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as pr, h as D, H as _r } from "./index-9cd44522-
|
|
1
|
+
import { r as pr, h as D, H as _r } from "./index-9cd44522-C566YWys.js";
|
|
2
2
|
import { g as mr } from "./locale-ioQf6ZrW.js";
|
|
3
3
|
var fr = Object.defineProperty, vr = Object.defineProperties, gr = Object.getOwnPropertyDescriptors, Mi = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, St = (i, e, t) => e in i ? fr(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ke = (i, e) => {
|
|
4
4
|
for (var t in e || (e = {}))
|
|
@@ -28,7 +28,7 @@ var fr = Object.defineProperty, vr = Object.defineProperties, gr = Object.getOwn
|
|
|
28
28
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
29
29
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30
30
|
*/
|
|
31
|
-
function y(i, e = "24.5.
|
|
31
|
+
function y(i, e = "24.5.12") {
|
|
32
32
|
Object.defineProperty(i, "version", { get() {
|
|
33
33
|
return e;
|
|
34
34
|
} });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-9cd44522-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-9cd44522-jv76DI6J.cjs"),_r=require("./locale-BB2iZ4t0.cjs");var mr=Object.defineProperty,fr=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,Mi=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,St=(i,e,t)=>e in i?mr(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,Ke=(i,e)=>{for(var t in e||(e={}))gr.call(e,t)&&St(i,t,e[t]);if(Mi)for(var t of Mi(e))br.call(e,t)&&St(i,t,e[t]);return i},No=(i,e)=>fr(i,vr(e)),A=(i,e,t)=>(St(i,typeof e!="symbol"?e+"":e,t),t),Tt=(i,e,t)=>new Promise((o,s)=>{var r=l=>{try{n(t.next(l))}catch(d){s(d)}},a=l=>{try{n(t.throw(l))}catch(d){s(d)}},n=l=>l.done?o(l.value):Promise.resolve(l.value).then(r,a);n((t=t.apply(i,e)).next())});/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/function y(i,e="24.5.
|
|
5
|
+
*/function y(i,e="24.5.12"){Object.defineProperty(i,"version",{get(){return e}});const t=customElements.get(i.is);if(!t)customElements.define(i.is,i);else{const o=t.version;o&&i.version&&o===i.version?console.warn(`The component ${i.is} has been loaded twice`):console.error(`Tried to define ${i.is} version ${i.version} when version ${t.version} is already in use. Something will probably break.`)}}/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8
8
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as pr, h as D, H as _r } from "./index-9cd44522-
|
|
1
|
+
import { r as pr, h as D, H as _r } from "./index-9cd44522-Crt8CtBe.js";
|
|
2
2
|
import { g as mr } from "./locale-ioQf6ZrW.js";
|
|
3
3
|
var fr = Object.defineProperty, vr = Object.defineProperties, gr = Object.getOwnPropertyDescriptors, Mi = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, St = (i, e, t) => e in i ? fr(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ke = (i, e) => {
|
|
4
4
|
for (var t in e || (e = {}))
|
|
@@ -28,7 +28,7 @@ var fr = Object.defineProperty, vr = Object.defineProperties, gr = Object.getOwn
|
|
|
28
28
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
29
29
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30
30
|
*/
|
|
31
|
-
function y(i, e = "24.5.
|
|
31
|
+
function y(i, e = "24.5.12") {
|
|
32
32
|
Object.defineProperty(i, "version", { get() {
|
|
33
33
|
return e;
|
|
34
34
|
} });
|