@everymatrix/player-account-controller 1.53.12 → 1.54.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-Ddt-oH9k.js → GeneralLogout-CsWa2j6i.js} +1131 -1094
- package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-D_8K8e-E.js} +35 -34
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-FWYyFKmB.js} +1 -1
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-BJP8eejl.js} +1 -1
- package/components/PlayerAccountClosure-DvHhtHhl.cjs +1 -0
- package/components/PlayerAccountController-DDLO4xVW.cjs +1 -0
- package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-DQGj69Re.js} +353 -336
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-Dt8hOZzW.js} +3 -3
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js} +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js} +16 -16
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-65MLJ2rD.js} +132 -121
- package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js} +768 -737
- package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-diUVGesC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BmDihzLr.js} +81 -75
- package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-CbXhpL1a.js} +67 -66
- package/components/PlayerAccountMenu-DHGBVm64.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-5TJbkUF8.js} +1 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-BVY-SXyT.js} +1 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +3828 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-BGfuEA4r.js} +1572 -1488
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-BDDMm0XX.js} +4 -4
- package/components/PlayerAccountTimeout-f4vPyQE-.cjs +1 -0
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-D0RUTvjl.js} +120 -119
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-CU67pLmG.js} +2 -2
- package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
- package/components/{PlayerBonusHistory-BxBiQwQf.js → PlayerBonusHistory-BLedlLHg.js} +53 -53
- package/components/PlayerBonusHistory-EXOvKzDr.cjs +1 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-8ZD6eOj-.js} +1 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-D5Xuk21T.js} +1 -1
- package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
- package/components/PlayerGamingHistory-OEU1L3Q2.cjs +1 -0
- package/components/{PlayerGamingHistory-BtQ73TId.js → PlayerGamingHistory-tb-rMGdz.js} +388 -375
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-DuN3Qn3P.js} +1 -1
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-DmKFg0dn.js} +549 -532
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BUW8tvj3.js} +191 -175
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-hGi2tOL2.js} +1 -1
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-CR3Xpytk.js} +1 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +33 -12
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +1519 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → active-mixin-59dfae2a-CJN1Jc-g.js} +776 -745
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-DQoOMgN8.js} +1942 -1873
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +4193 -0
- package/stencil/{general-input-DnFPstQP.js → general-input-bzWxIJkt.js} +1 -1
- package/stencil/general-input-fzGwoSoE.cjs +1 -0
- package/stencil/index-062e829b-CpXLBOEz.cjs +1 -0
- package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-DPj_pEuI.js} +236 -220
- package/stencil/index-33f005e1-BS5PFnj3.cjs +1 -0
- package/stencil/{index-33f005e1-fFxPaeNy.js → index-33f005e1-DGGQe5wK.js} +239 -223
- package/stencil/{index-9b3245b3-rzHgwqlB.js → index-9b3245b3-3zj7bxxu.js} +193 -166
- package/stencil/index-9b3245b3-ByXtSZIM.cjs +1 -0
- package/stencil/{index-fc58390d-BSwfXuUs.js → index-fc58390d-DeoeGpBS.js} +294 -267
- package/stencil/index-fc58390d-DgBOSsU7.cjs +1 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-DvDzz75b.cjs +1248 -0
- package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-Dx1lICIg.js} +154 -136
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-F9HM0T8d.js} +1 -1
- package/stencil/player-change-password-gm2-BEYcuzS-.cjs +1 -0
- package/stencil/player-change-password-gm2-NWnv4CCw.js +25 -0
- package/stencil/player-kyc-verification-_iT3bbO9.cjs +180 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-o-RUWyY4.js} +83 -61
- package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BCrxxTpc.js} +1 -1
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-DEMVRyvk.js} +197 -175
- package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-CevHOCcm.js} +107 -81
- package/stencil/user-transaction-history-U0c__t1q.cjs +1 -0
- package/esnext/player-account-controller.js +0 -14
- package/stencil/player-change-password-gm2-DR3e2gh5.js +0 -7
|
@@ -1,14 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
var te = (r, e, t) => new Promise((o, i) => {
|
|
2
|
+
var a = (l) => {
|
|
3
|
+
try {
|
|
4
|
+
d(t.next(l));
|
|
5
|
+
} catch (n) {
|
|
6
|
+
i(n);
|
|
7
|
+
}
|
|
8
|
+
}, s = (l) => {
|
|
9
|
+
try {
|
|
10
|
+
d(t.throw(l));
|
|
11
|
+
} catch (n) {
|
|
12
|
+
i(n);
|
|
13
|
+
}
|
|
14
|
+
}, d = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(a, s);
|
|
15
|
+
d((t = t.apply(r, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { r as Be, c as L, h as p, g as Te } from "./index-062e829b-DPj_pEuI.js";
|
|
2
18
|
import { t as g } from "./locale-BG_TzyDt.js";
|
|
3
|
-
import { d as M, i as f, r as v, h as H, T as
|
|
4
|
-
import { t as
|
|
5
|
-
import { P as
|
|
19
|
+
import { d as M, i as f, r as v, h as H, T as me, E as fe, c as ge, C as Me, P as ve, g as Pe, f as Re, L as Ie, J as Fe, A as Ne, n as Ue, b as Ve, I as He, z as De } from "./active-mixin-59dfae2a-CJN1Jc-g.js";
|
|
20
|
+
import { t as Le } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
21
|
+
import { P as Nt } from "./player-change-password-gm2-98dcb7bc-F9HM0T8d.js";
|
|
6
22
|
/**
|
|
7
23
|
* @license
|
|
8
24
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9
25
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10
26
|
*/
|
|
11
|
-
class
|
|
27
|
+
class Oe extends HTMLElement {
|
|
12
28
|
static get is() {
|
|
13
29
|
return "vaadin-lumo-styles";
|
|
14
30
|
}
|
|
@@ -16,16 +32,16 @@ class Le extends HTMLElement {
|
|
|
16
32
|
return "24.2.9";
|
|
17
33
|
}
|
|
18
34
|
}
|
|
19
|
-
M(
|
|
35
|
+
M(Oe);
|
|
20
36
|
const S = (r, ...e) => {
|
|
21
|
-
|
|
37
|
+
Pe(`lumo-${r}`, e);
|
|
22
38
|
};
|
|
23
39
|
/**
|
|
24
40
|
* @license
|
|
25
41
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
26
42
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
27
43
|
*/
|
|
28
|
-
const
|
|
44
|
+
const qe = f`
|
|
29
45
|
:host {
|
|
30
46
|
/* Base (background) */
|
|
31
47
|
--lumo-base-color: #fff;
|
|
@@ -111,8 +127,8 @@ const Oe = f`
|
|
|
111
127
|
}
|
|
112
128
|
}
|
|
113
129
|
`;
|
|
114
|
-
S("color-props",
|
|
115
|
-
const
|
|
130
|
+
S("color-props", qe);
|
|
131
|
+
const We = f`
|
|
116
132
|
[theme~='dark'] {
|
|
117
133
|
/* Base (background) */
|
|
118
134
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -228,13 +244,13 @@ const qe = f`
|
|
|
228
244
|
border-radius: var(--lumo-border-radius-m);
|
|
229
245
|
}
|
|
230
246
|
`;
|
|
231
|
-
v("",
|
|
247
|
+
v("", We, { moduleId: "lumo-color" });
|
|
232
248
|
/**
|
|
233
249
|
* @license
|
|
234
250
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
235
251
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
236
252
|
*/
|
|
237
|
-
const
|
|
253
|
+
const je = f`
|
|
238
254
|
@font-face {
|
|
239
255
|
font-family: 'lumo-icons';
|
|
240
256
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7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Wpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -288,13 +304,13 @@ const We = f`
|
|
|
288
304
|
--lumo-icons-user: '\\ea2a';
|
|
289
305
|
}
|
|
290
306
|
`;
|
|
291
|
-
S("font-icons",
|
|
307
|
+
S("font-icons", je);
|
|
292
308
|
/**
|
|
293
309
|
* @license
|
|
294
310
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
295
311
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
296
312
|
*/
|
|
297
|
-
const
|
|
313
|
+
const Ge = f`
|
|
298
314
|
:host {
|
|
299
315
|
--lumo-size-xs: 1.625rem;
|
|
300
316
|
--lumo-size-s: 1.875rem;
|
|
@@ -310,13 +326,13 @@ const je = f`
|
|
|
310
326
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
311
327
|
}
|
|
312
328
|
`;
|
|
313
|
-
S("sizing-props",
|
|
329
|
+
S("sizing-props", Ge);
|
|
314
330
|
/**
|
|
315
331
|
* @license
|
|
316
332
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
317
333
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
318
334
|
*/
|
|
319
|
-
const
|
|
335
|
+
const Ye = f`
|
|
320
336
|
:host {
|
|
321
337
|
/* Square */
|
|
322
338
|
--lumo-space-xs: 0.25rem;
|
|
@@ -340,13 +356,13 @@ const Ge = f`
|
|
|
340
356
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
341
357
|
}
|
|
342
358
|
`;
|
|
343
|
-
S("spacing-props",
|
|
359
|
+
S("spacing-props", Ye);
|
|
344
360
|
/**
|
|
345
361
|
* @license
|
|
346
362
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
347
363
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
348
364
|
*/
|
|
349
|
-
const
|
|
365
|
+
const Ke = f`
|
|
350
366
|
:host {
|
|
351
367
|
/* Border radius */
|
|
352
368
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -371,13 +387,13 @@ f`
|
|
|
371
387
|
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
372
388
|
}
|
|
373
389
|
`;
|
|
374
|
-
S("style-props",
|
|
390
|
+
S("style-props", Ke);
|
|
375
391
|
/**
|
|
376
392
|
* @license
|
|
377
393
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
378
394
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
379
395
|
*/
|
|
380
|
-
const
|
|
396
|
+
const Ze = f`
|
|
381
397
|
:host {
|
|
382
398
|
/* prettier-ignore */
|
|
383
399
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -397,7 +413,7 @@ const Ke = f`
|
|
|
397
413
|
--lumo-line-height-s: 1.375;
|
|
398
414
|
--lumo-line-height-m: 1.625;
|
|
399
415
|
}
|
|
400
|
-
`,
|
|
416
|
+
`, Je = f`
|
|
401
417
|
body,
|
|
402
418
|
:host {
|
|
403
419
|
font-family: var(--lumo-font-family);
|
|
@@ -490,14 +506,14 @@ const Ke = f`
|
|
|
490
506
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
491
507
|
}
|
|
492
508
|
`;
|
|
493
|
-
v("",
|
|
494
|
-
S("typography-props",
|
|
509
|
+
v("", Je, { moduleId: "lumo-typography" });
|
|
510
|
+
S("typography-props", Ze);
|
|
495
511
|
/**
|
|
496
512
|
* @license
|
|
497
513
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
498
514
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
499
515
|
*/
|
|
500
|
-
const
|
|
516
|
+
const be = f`
|
|
501
517
|
[part$='button'] {
|
|
502
518
|
flex: none;
|
|
503
519
|
width: 1em;
|
|
@@ -525,13 +541,13 @@ const ve = f`
|
|
|
525
541
|
display: block;
|
|
526
542
|
}
|
|
527
543
|
`;
|
|
528
|
-
v("",
|
|
544
|
+
v("", be, { moduleId: "lumo-field-button" });
|
|
529
545
|
/**
|
|
530
546
|
* @license
|
|
531
547
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
532
548
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
533
549
|
*/
|
|
534
|
-
const
|
|
550
|
+
const Qe = f`
|
|
535
551
|
:host([has-helper]) [part='helper-text']::before {
|
|
536
552
|
content: '';
|
|
537
553
|
display: block;
|
|
@@ -588,7 +604,7 @@ const Je = f`
|
|
|
588
604
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
589
605
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
590
606
|
*/
|
|
591
|
-
const
|
|
607
|
+
const ye = f`
|
|
592
608
|
[part='label'] {
|
|
593
609
|
align-self: flex-start;
|
|
594
610
|
color: var(--lumo-secondary-text-color);
|
|
@@ -685,13 +701,13 @@ const be = f`
|
|
|
685
701
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
686
702
|
}
|
|
687
703
|
`;
|
|
688
|
-
v("",
|
|
704
|
+
v("", ye, { moduleId: "lumo-required-field" });
|
|
689
705
|
/**
|
|
690
706
|
* @license
|
|
691
707
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
692
708
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
693
709
|
*/
|
|
694
|
-
const
|
|
710
|
+
const Xe = f`
|
|
695
711
|
:host {
|
|
696
712
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
697
713
|
color: var(--lumo-body-text-color);
|
|
@@ -825,7 +841,7 @@ const Qe = f`
|
|
|
825
841
|
[part='clear-button']::before {
|
|
826
842
|
content: var(--lumo-icons-cross);
|
|
827
843
|
}
|
|
828
|
-
`, Q = [
|
|
844
|
+
`, Q = [ye, be, Qe, Xe];
|
|
829
845
|
v("", Q, {
|
|
830
846
|
moduleId: "lumo-input-field-shared-styles"
|
|
831
847
|
});
|
|
@@ -842,7 +858,7 @@ v("vaadin-text-field", Q, {
|
|
|
842
858
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
843
859
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
844
860
|
*/
|
|
845
|
-
const
|
|
861
|
+
const et = (r) => class extends He(r) {
|
|
846
862
|
static get properties() {
|
|
847
863
|
return {
|
|
848
864
|
/**
|
|
@@ -933,7 +949,7 @@ const Xe = (r) => class extends Ve(r) {
|
|
|
933
949
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
934
950
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
935
951
|
*/
|
|
936
|
-
const
|
|
952
|
+
const tt = (r) => class extends et(r) {
|
|
937
953
|
static get properties() {
|
|
938
954
|
return {
|
|
939
955
|
/**
|
|
@@ -973,10 +989,10 @@ const et = (r) => class extends Xe(r) {
|
|
|
973
989
|
/** @protected */
|
|
974
990
|
ready() {
|
|
975
991
|
super.ready(), this.addController(
|
|
976
|
-
new
|
|
992
|
+
new Re(this, (t) => {
|
|
977
993
|
this._setInputElement(t), this._setFocusElement(t), this.stateTarget = t, this.ariaTarget = t;
|
|
978
994
|
})
|
|
979
|
-
), this.addController(new
|
|
995
|
+
), this.addController(new Ie(this.inputElement, this._labelController));
|
|
980
996
|
}
|
|
981
997
|
};
|
|
982
998
|
/**
|
|
@@ -984,8 +1000,8 @@ const et = (r) => class extends Xe(r) {
|
|
|
984
1000
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
985
1001
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
986
1002
|
*/
|
|
987
|
-
v("vaadin-text-field",
|
|
988
|
-
class
|
|
1003
|
+
v("vaadin-text-field", Fe, { moduleId: "vaadin-text-field-styles" });
|
|
1004
|
+
class xe extends tt(ge(fe(ve))) {
|
|
989
1005
|
static get is() {
|
|
990
1006
|
return "vaadin-text-field";
|
|
991
1007
|
}
|
|
@@ -1045,11 +1061,11 @@ class ye extends et(fe(me(ge))) {
|
|
|
1045
1061
|
}
|
|
1046
1062
|
/** @protected */
|
|
1047
1063
|
ready() {
|
|
1048
|
-
super.ready(), this._tooltipController = new
|
|
1064
|
+
super.ready(), this._tooltipController = new me(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
|
|
1049
1065
|
}
|
|
1050
1066
|
}
|
|
1051
|
-
M(
|
|
1052
|
-
const
|
|
1067
|
+
M(xe);
|
|
1068
|
+
const Ae = f`
|
|
1053
1069
|
:host {
|
|
1054
1070
|
/* Sizing */
|
|
1055
1071
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1299,13 +1315,13 @@ const xe = f`
|
|
|
1299
1315
|
margin-right: 0;
|
|
1300
1316
|
}
|
|
1301
1317
|
`;
|
|
1302
|
-
v("vaadin-button",
|
|
1318
|
+
v("vaadin-button", Ae, { moduleId: "lumo-button" });
|
|
1303
1319
|
/**
|
|
1304
1320
|
* @license
|
|
1305
1321
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
1306
1322
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1307
1323
|
*/
|
|
1308
|
-
const
|
|
1324
|
+
const ot = f`
|
|
1309
1325
|
:host {
|
|
1310
1326
|
position: absolute;
|
|
1311
1327
|
right: 0;
|
|
@@ -1319,7 +1335,7 @@ const tt = f`
|
|
|
1319
1335
|
outline: none;
|
|
1320
1336
|
}
|
|
1321
1337
|
`;
|
|
1322
|
-
v("vaadin-password-field-button", [
|
|
1338
|
+
v("vaadin-password-field-button", [Ae, ot], {
|
|
1323
1339
|
moduleId: "lumo-password-field-button"
|
|
1324
1340
|
});
|
|
1325
1341
|
/**
|
|
@@ -1327,7 +1343,7 @@ v("vaadin-password-field-button", [xe, tt], {
|
|
|
1327
1343
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
1328
1344
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1329
1345
|
*/
|
|
1330
|
-
const
|
|
1346
|
+
const rt = f`
|
|
1331
1347
|
[part='reveal-button']::before {
|
|
1332
1348
|
content: var(--lumo-icons-eye);
|
|
1333
1349
|
}
|
|
@@ -1346,14 +1362,14 @@ const ot = f`
|
|
|
1346
1362
|
display: none !important;
|
|
1347
1363
|
}
|
|
1348
1364
|
`;
|
|
1349
|
-
v("vaadin-password-field", [Q,
|
|
1365
|
+
v("vaadin-password-field", [Q, rt], { moduleId: "lumo-password-field" });
|
|
1350
1366
|
/**
|
|
1351
1367
|
* @license
|
|
1352
1368
|
* Copyright 2019 Google LLC
|
|
1353
1369
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1354
1370
|
*/
|
|
1355
|
-
const F = window, X = F.ShadowRoot && (F.ShadyCSS === void 0 || F.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ee = Symbol(),
|
|
1356
|
-
class
|
|
1371
|
+
const F = window, X = F.ShadowRoot && (F.ShadyCSS === void 0 || F.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ee = Symbol(), oe = /* @__PURE__ */ new WeakMap();
|
|
1372
|
+
class we {
|
|
1357
1373
|
constructor(e, t, o) {
|
|
1358
1374
|
if (this._$cssResult$ = !0, o !== ee) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1359
1375
|
this.cssText = e, this.t = t;
|
|
@@ -1363,7 +1379,7 @@ class Ae {
|
|
|
1363
1379
|
const t = this.t;
|
|
1364
1380
|
if (X && e === void 0) {
|
|
1365
1381
|
const o = t !== void 0 && t.length === 1;
|
|
1366
|
-
o && (e =
|
|
1382
|
+
o && (e = oe.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && oe.set(t, e));
|
|
1367
1383
|
}
|
|
1368
1384
|
return e;
|
|
1369
1385
|
}
|
|
@@ -1371,22 +1387,22 @@ class Ae {
|
|
|
1371
1387
|
return this.cssText;
|
|
1372
1388
|
}
|
|
1373
1389
|
}
|
|
1374
|
-
const
|
|
1390
|
+
const it = (r) => new we(typeof r == "string" ? r : r + "", void 0, ee), st = (r, ...e) => {
|
|
1375
1391
|
const t = r.length === 1 ? r[0] : e.reduce((o, i, a) => o + ((s) => {
|
|
1376
1392
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
1377
1393
|
if (typeof s == "number") return s;
|
|
1378
1394
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
1379
1395
|
})(i) + r[a + 1], r[0]);
|
|
1380
|
-
return new
|
|
1381
|
-
},
|
|
1396
|
+
return new we(t, r, ee);
|
|
1397
|
+
}, at = (r, e) => {
|
|
1382
1398
|
X ? r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
|
|
1383
1399
|
const o = document.createElement("style"), i = F.litNonce;
|
|
1384
1400
|
i !== void 0 && o.setAttribute("nonce", i), o.textContent = t.cssText, r.appendChild(o);
|
|
1385
1401
|
});
|
|
1386
|
-
},
|
|
1402
|
+
}, re = X ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
|
|
1387
1403
|
let t = "";
|
|
1388
1404
|
for (const o of e.cssRules) t += o.cssText;
|
|
1389
|
-
return
|
|
1405
|
+
return it(t);
|
|
1390
1406
|
})(r) : r;
|
|
1391
1407
|
/**
|
|
1392
1408
|
* @license
|
|
@@ -1394,10 +1410,10 @@ const rt = (r) => new Ae(typeof r == "string" ? r : r + "", void 0, ee), it = (r
|
|
|
1394
1410
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1395
1411
|
*/
|
|
1396
1412
|
var O;
|
|
1397
|
-
const U = window,
|
|
1413
|
+
const U = window, ie = U.trustedTypes, lt = ie ? ie.emptyScript : "", se = U.reactiveElementPolyfillSupport, K = { toAttribute(r, e) {
|
|
1398
1414
|
switch (e) {
|
|
1399
1415
|
case Boolean:
|
|
1400
|
-
r = r ?
|
|
1416
|
+
r = r ? lt : null;
|
|
1401
1417
|
break;
|
|
1402
1418
|
case Object:
|
|
1403
1419
|
case Array:
|
|
@@ -1417,12 +1433,12 @@ const U = window, re = U.trustedTypes, at = re ? re.emptyScript : "", ie = U.rea
|
|
|
1417
1433
|
case Array:
|
|
1418
1434
|
try {
|
|
1419
1435
|
t = JSON.parse(r);
|
|
1420
|
-
} catch {
|
|
1436
|
+
} catch (o) {
|
|
1421
1437
|
t = null;
|
|
1422
1438
|
}
|
|
1423
1439
|
}
|
|
1424
1440
|
return t;
|
|
1425
|
-
} },
|
|
1441
|
+
} }, _e = (r, e) => e !== r && (e == e || r == r), q = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _e }, Z = "finalized";
|
|
1426
1442
|
class _ extends HTMLElement {
|
|
1427
1443
|
constructor() {
|
|
1428
1444
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
|
@@ -1470,8 +1486,8 @@ class _ extends HTMLElement {
|
|
|
1470
1486
|
const t = [];
|
|
1471
1487
|
if (Array.isArray(e)) {
|
|
1472
1488
|
const o = new Set(e.flat(1 / 0).reverse());
|
|
1473
|
-
for (const i of o) t.unshift(
|
|
1474
|
-
} else e !== void 0 && t.push(
|
|
1489
|
+
for (const i of o) t.unshift(re(i));
|
|
1490
|
+
} else e !== void 0 && t.push(re(e));
|
|
1475
1491
|
return t;
|
|
1476
1492
|
}
|
|
1477
1493
|
static _$Ep(e, t) {
|
|
@@ -1498,7 +1514,7 @@ class _ extends HTMLElement {
|
|
|
1498
1514
|
createRenderRoot() {
|
|
1499
1515
|
var e;
|
|
1500
1516
|
const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
1501
|
-
return
|
|
1517
|
+
return at(t, this.constructor.elementStyles), t;
|
|
1502
1518
|
}
|
|
1503
1519
|
connectedCallback() {
|
|
1504
1520
|
var e;
|
|
@@ -1537,17 +1553,19 @@ class _ extends HTMLElement {
|
|
|
1537
1553
|
}
|
|
1538
1554
|
requestUpdate(e, t, o) {
|
|
1539
1555
|
let i = !0;
|
|
1540
|
-
e !== void 0 && (((o = o || this.constructor.getPropertyOptions(e)).hasChanged ||
|
|
1556
|
+
e !== void 0 && (((o = o || this.constructor.getPropertyOptions(e)).hasChanged || _e)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), o.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, o))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
|
|
1541
1557
|
}
|
|
1542
|
-
|
|
1543
|
-
this
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1558
|
+
_$Ej() {
|
|
1559
|
+
return te(this, null, function* () {
|
|
1560
|
+
this.isUpdatePending = !0;
|
|
1561
|
+
try {
|
|
1562
|
+
yield this._$E_;
|
|
1563
|
+
} catch (t) {
|
|
1564
|
+
Promise.reject(t);
|
|
1565
|
+
}
|
|
1566
|
+
const e = this.scheduleUpdate();
|
|
1567
|
+
return e != null && (yield e), !this.isUpdatePending;
|
|
1568
|
+
});
|
|
1551
1569
|
}
|
|
1552
1570
|
scheduleUpdate() {
|
|
1553
1571
|
return this.performUpdate();
|
|
@@ -1597,38 +1615,38 @@ class _ extends HTMLElement {
|
|
|
1597
1615
|
firstUpdated(e) {
|
|
1598
1616
|
}
|
|
1599
1617
|
}
|
|
1600
|
-
_[Z] = !0, _.elementProperties = /* @__PURE__ */ new Map(), _.elementStyles = [], _.shadowRootOptions = { mode: "open" },
|
|
1618
|
+
_[Z] = !0, _.elementProperties = /* @__PURE__ */ new Map(), _.elementStyles = [], _.shadowRootOptions = { mode: "open" }, se == null || se({ ReactiveElement: _ }), ((O = U.reactiveElementVersions) !== null && O !== void 0 ? O : U.reactiveElementVersions = []).push("1.6.3");
|
|
1601
1619
|
/**
|
|
1602
1620
|
* @license
|
|
1603
1621
|
* Copyright 2017 Google LLC
|
|
1604
1622
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1605
1623
|
*/
|
|
1606
1624
|
var W;
|
|
1607
|
-
const V = window, C = V.trustedTypes,
|
|
1608
|
-
\f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
1609
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1610
|
-
function
|
|
1625
|
+
const V = window, C = V.trustedTypes, ae = C ? C.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, J = "$lit$", y = `lit$${(Math.random() + "").slice(9)}$`, Ce = "?" + y, nt = `<${Ce}>`, w = document, z = () => w.createComment(""), B = (r) => r === null || typeof r != "object" && typeof r != "function", $e = Array.isArray, dt = (r) => $e(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", j = `[
|
|
1626
|
+
\f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, le = /-->/g, ne = />/g, x = RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^
|
|
1627
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), de = /'/g, ue = /"/g, ke = /^(?:script|style|textarea|title)$/i, $ = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), he = /* @__PURE__ */ new WeakMap(), A = w.createTreeWalker(w, 129, null, !1);
|
|
1628
|
+
function Se(r, e) {
|
|
1611
1629
|
if (!Array.isArray(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1612
|
-
return
|
|
1630
|
+
return ae !== void 0 ? ae.createHTML(e) : e;
|
|
1613
1631
|
}
|
|
1614
|
-
const
|
|
1632
|
+
const ut = (r, e) => {
|
|
1615
1633
|
const t = r.length - 1, o = [];
|
|
1616
1634
|
let i, a = e === 2 ? "<svg>" : "", s = E;
|
|
1617
1635
|
for (let d = 0; d < t; d++) {
|
|
1618
1636
|
const l = r[d];
|
|
1619
1637
|
let n, u, h = -1, m = 0;
|
|
1620
|
-
for (; m < l.length && (s.lastIndex = m, u = s.exec(l), u !== null); ) m = s.lastIndex, s === E ? u[1] === "!--" ? s =
|
|
1638
|
+
for (; m < l.length && (s.lastIndex = m, u = s.exec(l), u !== null); ) m = s.lastIndex, s === E ? u[1] === "!--" ? s = le : u[1] !== void 0 ? s = ne : u[2] !== void 0 ? (ke.test(u[2]) && (i = RegExp("</" + u[2], "g")), s = x) : u[3] !== void 0 && (s = x) : s === x ? u[0] === ">" ? (s = i != null ? i : E, h = -1) : u[1] === void 0 ? h = -2 : (h = s.lastIndex - u[2].length, n = u[1], s = u[3] === void 0 ? x : u[3] === '"' ? ue : de) : s === ue || s === de ? s = x : s === le || s === ne ? s = E : (s = x, i = void 0);
|
|
1621
1639
|
const b = s === x && r[d + 1].startsWith("/>") ? " " : "";
|
|
1622
|
-
a += s === E ? l +
|
|
1640
|
+
a += s === E ? l + nt : h >= 0 ? (o.push(n), l.slice(0, h) + J + l.slice(h) + y + b) : l + y + (h === -2 ? (o.push(void 0), d) : b);
|
|
1623
1641
|
}
|
|
1624
|
-
return [
|
|
1642
|
+
return [Se(r, a + (r[t] || "<?>") + (e === 2 ? "</svg>" : "")), o];
|
|
1625
1643
|
};
|
|
1626
1644
|
class T {
|
|
1627
1645
|
constructor({ strings: e, _$litType$: t }, o) {
|
|
1628
1646
|
let i;
|
|
1629
1647
|
this.parts = [];
|
|
1630
1648
|
let a = 0, s = 0;
|
|
1631
|
-
const d = e.length - 1, l = this.parts, [n, u] =
|
|
1649
|
+
const d = e.length - 1, l = this.parts, [n, u] = ut(e, t);
|
|
1632
1650
|
if (this.el = T.createElement(n, o), A.currentNode = this.el.content, t === 2) {
|
|
1633
1651
|
const h = this.el.content, m = h.firstChild;
|
|
1634
1652
|
m.remove(), h.append(...m.childNodes);
|
|
@@ -1640,13 +1658,13 @@ class T {
|
|
|
1640
1658
|
for (const m of i.getAttributeNames()) if (m.endsWith(J) || m.startsWith(y)) {
|
|
1641
1659
|
const b = u[s++];
|
|
1642
1660
|
if (h.push(m), b !== void 0) {
|
|
1643
|
-
const
|
|
1644
|
-
l.push({ type: 1, index: a, name: R[2], strings:
|
|
1661
|
+
const ze = i.getAttribute(b.toLowerCase() + J).split(y), R = /([.?@])?(.*)/.exec(b);
|
|
1662
|
+
l.push({ type: 1, index: a, name: R[2], strings: ze, ctor: R[1] === "." ? ct : R[1] === "?" ? mt : R[1] === "@" ? ft : D });
|
|
1645
1663
|
} else l.push({ type: 6, index: a });
|
|
1646
1664
|
}
|
|
1647
1665
|
for (const m of h) i.removeAttribute(m);
|
|
1648
1666
|
}
|
|
1649
|
-
if (
|
|
1667
|
+
if (ke.test(i.tagName)) {
|
|
1650
1668
|
const h = i.textContent.split(y), m = h.length - 1;
|
|
1651
1669
|
if (m > 0) {
|
|
1652
1670
|
i.textContent = C ? C.emptyScript : "";
|
|
@@ -1654,7 +1672,7 @@ class T {
|
|
|
1654
1672
|
i.append(h[m], z());
|
|
1655
1673
|
}
|
|
1656
1674
|
}
|
|
1657
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
1675
|
+
} else if (i.nodeType === 8) if (i.data === Ce) l.push({ type: 2, index: a });
|
|
1658
1676
|
else {
|
|
1659
1677
|
let h = -1;
|
|
1660
1678
|
for (; (h = i.data.indexOf(y, h + 1)) !== -1; ) l.push({ type: 7, index: a }), h += y.length - 1;
|
|
@@ -1672,9 +1690,9 @@ function k(r, e, t = r, o) {
|
|
|
1672
1690
|
if (e === $) return e;
|
|
1673
1691
|
let l = o !== void 0 ? (i = t._$Co) === null || i === void 0 ? void 0 : i[o] : t._$Cl;
|
|
1674
1692
|
const n = B(e) ? void 0 : e._$litDirective$;
|
|
1675
|
-
return l
|
|
1693
|
+
return (l == null ? void 0 : l.constructor) !== n && ((a = l == null ? void 0 : l._$AO) === null || a === void 0 || a.call(l, !1), n === void 0 ? l = void 0 : (l = new n(r), l._$AT(r, t, o)), o !== void 0 ? ((s = (d = t)._$Co) !== null && s !== void 0 ? s : d._$Co = [])[o] = l : t._$Cl = l), l !== void 0 && (e = k(r, l._$AS(r, e.values), l, o)), e;
|
|
1676
1694
|
}
|
|
1677
|
-
class
|
|
1695
|
+
class ht {
|
|
1678
1696
|
constructor(e, t) {
|
|
1679
1697
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
1680
1698
|
}
|
|
@@ -1686,15 +1704,15 @@ class ut {
|
|
|
1686
1704
|
}
|
|
1687
1705
|
u(e) {
|
|
1688
1706
|
var t;
|
|
1689
|
-
const { el: { content: o }, parts: i } = this._$AD, a = ((t = e
|
|
1707
|
+
const { el: { content: o }, parts: i } = this._$AD, a = ((t = e == null ? void 0 : e.creationScope) !== null && t !== void 0 ? t : w).importNode(o, !0);
|
|
1690
1708
|
A.currentNode = a;
|
|
1691
1709
|
let s = A.nextNode(), d = 0, l = 0, n = i[0];
|
|
1692
1710
|
for (; n !== void 0; ) {
|
|
1693
1711
|
if (d === n.index) {
|
|
1694
1712
|
let u;
|
|
1695
|
-
n.type === 2 ? u = new P(s, s.nextSibling, this, e) : n.type === 1 ? u = new n.ctor(s, n.name, n.strings, this, e) : n.type === 6 && (u = new
|
|
1713
|
+
n.type === 2 ? u = new P(s, s.nextSibling, this, e) : n.type === 1 ? u = new n.ctor(s, n.name, n.strings, this, e) : n.type === 6 && (u = new gt(s, this, e)), this._$AV.push(u), n = i[++l];
|
|
1696
1714
|
}
|
|
1697
|
-
d !== n
|
|
1715
|
+
d !== (n == null ? void 0 : n.index) && (s = A.nextNode(), d++);
|
|
1698
1716
|
}
|
|
1699
1717
|
return A.currentNode = w, a;
|
|
1700
1718
|
}
|
|
@@ -1706,7 +1724,7 @@ class ut {
|
|
|
1706
1724
|
class P {
|
|
1707
1725
|
constructor(e, t, o, i) {
|
|
1708
1726
|
var a;
|
|
1709
|
-
this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = o, this.options = i, this._$Cp = (a = i
|
|
1727
|
+
this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = o, this.options = i, this._$Cp = (a = i == null ? void 0 : i.isConnected) === null || a === void 0 || a;
|
|
1710
1728
|
}
|
|
1711
1729
|
get _$AU() {
|
|
1712
1730
|
var e, t;
|
|
@@ -1715,7 +1733,7 @@ class P {
|
|
|
1715
1733
|
get parentNode() {
|
|
1716
1734
|
let e = this._$AA.parentNode;
|
|
1717
1735
|
const t = this._$AM;
|
|
1718
|
-
return t !== void 0 && e
|
|
1736
|
+
return t !== void 0 && (e == null ? void 0 : e.nodeType) === 11 && (e = t.parentNode), e;
|
|
1719
1737
|
}
|
|
1720
1738
|
get startNode() {
|
|
1721
1739
|
return this._$AA;
|
|
@@ -1724,7 +1742,7 @@ class P {
|
|
|
1724
1742
|
return this._$AB;
|
|
1725
1743
|
}
|
|
1726
1744
|
_$AI(e, t = this) {
|
|
1727
|
-
e = k(this, e, t), B(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== $ && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) :
|
|
1745
|
+
e = k(this, e, t), B(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== $ && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : dt(e) ? this.T(e) : this._(e);
|
|
1728
1746
|
}
|
|
1729
1747
|
k(e) {
|
|
1730
1748
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -1737,19 +1755,19 @@ class P {
|
|
|
1737
1755
|
}
|
|
1738
1756
|
g(e) {
|
|
1739
1757
|
var t;
|
|
1740
|
-
const { values: o, _$litType$: i } = e, a = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = T.createElement(
|
|
1758
|
+
const { values: o, _$litType$: i } = e, a = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = T.createElement(Se(i.h, i.h[0]), this.options)), i);
|
|
1741
1759
|
if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === a) this._$AH.v(o);
|
|
1742
1760
|
else {
|
|
1743
|
-
const s = new
|
|
1761
|
+
const s = new ht(a, this), d = s.u(this.options);
|
|
1744
1762
|
s.v(o), this.$(d), this._$AH = s;
|
|
1745
1763
|
}
|
|
1746
1764
|
}
|
|
1747
1765
|
_$AC(e) {
|
|
1748
|
-
let t =
|
|
1749
|
-
return t === void 0 &&
|
|
1766
|
+
let t = he.get(e.strings);
|
|
1767
|
+
return t === void 0 && he.set(e.strings, t = new T(e)), t;
|
|
1750
1768
|
}
|
|
1751
1769
|
T(e) {
|
|
1752
|
-
|
|
1770
|
+
$e(this._$AH) || (this._$AH = [], this._$AR());
|
|
1753
1771
|
const t = this._$AH;
|
|
1754
1772
|
let o, i = 0;
|
|
1755
1773
|
for (const a of e) i === t.length ? t.push(o = new P(this.k(z()), this.k(z()), this, this.options)) : o = t[i], o._$AI(a), i++;
|
|
@@ -1784,15 +1802,15 @@ class D {
|
|
|
1784
1802
|
else {
|
|
1785
1803
|
const d = e;
|
|
1786
1804
|
let l, n;
|
|
1787
|
-
for (e = a[0], l = 0; l < a.length - 1; l++) n = k(this, d[o + l], t, l), n === $ && (n = this._$AH[l]), s || (s = !B(n) || n !== this._$AH[l]), n === c ? e = c : e !== c && (e += (n
|
|
1805
|
+
for (e = a[0], l = 0; l < a.length - 1; l++) n = k(this, d[o + l], t, l), n === $ && (n = this._$AH[l]), s || (s = !B(n) || n !== this._$AH[l]), n === c ? e = c : e !== c && (e += (n != null ? n : "") + a[l + 1]), this._$AH[l] = n;
|
|
1788
1806
|
}
|
|
1789
1807
|
s && !i && this.j(e);
|
|
1790
1808
|
}
|
|
1791
1809
|
j(e) {
|
|
1792
|
-
e === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e
|
|
1810
|
+
e === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
|
|
1793
1811
|
}
|
|
1794
1812
|
}
|
|
1795
|
-
class
|
|
1813
|
+
class ct extends D {
|
|
1796
1814
|
constructor() {
|
|
1797
1815
|
super(...arguments), this.type = 3;
|
|
1798
1816
|
}
|
|
@@ -1800,16 +1818,16 @@ class ht extends D {
|
|
|
1800
1818
|
this.element[this.name] = e === c ? void 0 : e;
|
|
1801
1819
|
}
|
|
1802
1820
|
}
|
|
1803
|
-
const
|
|
1804
|
-
class
|
|
1821
|
+
const pt = C ? C.emptyScript : "";
|
|
1822
|
+
class mt extends D {
|
|
1805
1823
|
constructor() {
|
|
1806
1824
|
super(...arguments), this.type = 4;
|
|
1807
1825
|
}
|
|
1808
1826
|
j(e) {
|
|
1809
|
-
e && e !== c ? this.element.setAttribute(this.name,
|
|
1827
|
+
e && e !== c ? this.element.setAttribute(this.name, pt) : this.element.removeAttribute(this.name);
|
|
1810
1828
|
}
|
|
1811
1829
|
}
|
|
1812
|
-
class
|
|
1830
|
+
class ft extends D {
|
|
1813
1831
|
constructor(e, t, o, i, a) {
|
|
1814
1832
|
super(e, t, o, i, a), this.type = 5;
|
|
1815
1833
|
}
|
|
@@ -1824,7 +1842,7 @@ class mt extends D {
|
|
|
1824
1842
|
typeof this._$AH == "function" ? this._$AH.call((o = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && o !== void 0 ? o : this.element, e) : this._$AH.handleEvent(e);
|
|
1825
1843
|
}
|
|
1826
1844
|
}
|
|
1827
|
-
class
|
|
1845
|
+
class gt {
|
|
1828
1846
|
constructor(e, t, o) {
|
|
1829
1847
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = o;
|
|
1830
1848
|
}
|
|
@@ -1835,15 +1853,15 @@ class ft {
|
|
|
1835
1853
|
k(this, e);
|
|
1836
1854
|
}
|
|
1837
1855
|
}
|
|
1838
|
-
const
|
|
1839
|
-
|
|
1840
|
-
const
|
|
1856
|
+
const ce = V.litHtmlPolyfillSupport;
|
|
1857
|
+
ce == null || ce(T, P), ((W = V.litHtmlVersions) !== null && W !== void 0 ? W : V.litHtmlVersions = []).push("2.8.0");
|
|
1858
|
+
const vt = (r, e, t) => {
|
|
1841
1859
|
var o, i;
|
|
1842
|
-
const a = (o = t
|
|
1860
|
+
const a = (o = t == null ? void 0 : t.renderBefore) !== null && o !== void 0 ? o : e;
|
|
1843
1861
|
let s = a._$litPart$;
|
|
1844
1862
|
if (s === void 0) {
|
|
1845
|
-
const d = (i = t
|
|
1846
|
-
a._$litPart$ = s = new P(e.insertBefore(z(), d), d, void 0, t
|
|
1863
|
+
const d = (i = t == null ? void 0 : t.renderBefore) !== null && i !== void 0 ? i : null;
|
|
1864
|
+
a._$litPart$ = s = new P(e.insertBefore(z(), d), d, void 0, t != null ? t : {});
|
|
1847
1865
|
}
|
|
1848
1866
|
return s._$AI(r), s;
|
|
1849
1867
|
};
|
|
@@ -1864,7 +1882,7 @@ class N extends _ {
|
|
|
1864
1882
|
}
|
|
1865
1883
|
update(e) {
|
|
1866
1884
|
const t = this.render();
|
|
1867
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
1885
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = vt(t, this.renderRoot, this.renderOptions);
|
|
1868
1886
|
}
|
|
1869
1887
|
connectedCallback() {
|
|
1870
1888
|
var e;
|
|
@@ -1879,15 +1897,15 @@ class N extends _ {
|
|
|
1879
1897
|
}
|
|
1880
1898
|
}
|
|
1881
1899
|
N.finalized = !0, N._$litElement$ = !0, (G = globalThis.litElementHydrateSupport) === null || G === void 0 || G.call(globalThis, { LitElement: N });
|
|
1882
|
-
const
|
|
1883
|
-
|
|
1900
|
+
const pe = globalThis.litElementPolyfillSupport;
|
|
1901
|
+
pe == null || pe({ LitElement: N });
|
|
1884
1902
|
((Y = globalThis.litElementVersions) !== null && Y !== void 0 ? Y : globalThis.litElementVersions = []).push("3.3.3");
|
|
1885
1903
|
/**
|
|
1886
1904
|
* @license
|
|
1887
1905
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
1888
1906
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1889
1907
|
*/
|
|
1890
|
-
const
|
|
1908
|
+
const bt = st`
|
|
1891
1909
|
:host {
|
|
1892
1910
|
display: inline-block;
|
|
1893
1911
|
position: relative;
|
|
@@ -1947,7 +1965,7 @@ const vt = it`
|
|
|
1947
1965
|
outline-color: GrayText;
|
|
1948
1966
|
}
|
|
1949
1967
|
}
|
|
1950
|
-
`,
|
|
1968
|
+
`, yt = (r) => r`
|
|
1951
1969
|
<div class="vaadin-button-container">
|
|
1952
1970
|
<span part="prefix" aria-hidden="true">
|
|
1953
1971
|
<slot name="prefix"></slot>
|
|
@@ -1966,7 +1984,7 @@ const vt = it`
|
|
|
1966
1984
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
1967
1985
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1968
1986
|
*/
|
|
1969
|
-
const
|
|
1987
|
+
const xt = (r) => class extends Ne(Ue(Ve(r))) {
|
|
1970
1988
|
static get properties() {
|
|
1971
1989
|
return {
|
|
1972
1990
|
/**
|
|
@@ -2021,26 +2039,26 @@ const yt = (r) => class extends Fe(Ne(Ue(r))) {
|
|
|
2021
2039
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
2022
2040
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2023
2041
|
*/
|
|
2024
|
-
v("vaadin-button",
|
|
2025
|
-
class
|
|
2042
|
+
v("vaadin-button", bt, { moduleId: "vaadin-button-styles" });
|
|
2043
|
+
class Ee extends xt(fe(ge(Me(ve)))) {
|
|
2026
2044
|
static get is() {
|
|
2027
2045
|
return "vaadin-button";
|
|
2028
2046
|
}
|
|
2029
2047
|
static get template() {
|
|
2030
|
-
return
|
|
2048
|
+
return yt(H);
|
|
2031
2049
|
}
|
|
2032
2050
|
/** @protected */
|
|
2033
2051
|
ready() {
|
|
2034
|
-
super.ready(), this._tooltipController = new
|
|
2052
|
+
super.ready(), this._tooltipController = new me(this), this.addController(this._tooltipController);
|
|
2035
2053
|
}
|
|
2036
2054
|
}
|
|
2037
|
-
M(
|
|
2055
|
+
M(Ee);
|
|
2038
2056
|
/**
|
|
2039
2057
|
* @license
|
|
2040
2058
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
2041
2059
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2042
2060
|
*/
|
|
2043
|
-
class
|
|
2061
|
+
class At extends Ee {
|
|
2044
2062
|
static get is() {
|
|
2045
2063
|
return "vaadin-password-field-button";
|
|
2046
2064
|
}
|
|
@@ -2059,26 +2077,26 @@ class xt extends Se {
|
|
|
2059
2077
|
`;
|
|
2060
2078
|
}
|
|
2061
2079
|
}
|
|
2062
|
-
M(
|
|
2080
|
+
M(At);
|
|
2063
2081
|
/**
|
|
2064
2082
|
* @license
|
|
2065
2083
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
2066
2084
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2067
2085
|
*/
|
|
2068
|
-
const
|
|
2086
|
+
const wt = H`
|
|
2069
2087
|
<div part="reveal-button" slot="suffix">
|
|
2070
2088
|
<slot name="reveal"></slot>
|
|
2071
2089
|
</div>
|
|
2072
2090
|
`;
|
|
2073
2091
|
let I;
|
|
2074
|
-
class
|
|
2092
|
+
class _t extends xe {
|
|
2075
2093
|
static get is() {
|
|
2076
2094
|
return "vaadin-password-field";
|
|
2077
2095
|
}
|
|
2078
2096
|
static get template() {
|
|
2079
2097
|
if (!I) {
|
|
2080
2098
|
I = super.template.cloneNode(!0);
|
|
2081
|
-
const e =
|
|
2099
|
+
const e = wt.content.querySelector('[part="reveal-button"]');
|
|
2082
2100
|
I.content.querySelector('[part="input-field"]').appendChild(e);
|
|
2083
2101
|
}
|
|
2084
2102
|
return I;
|
|
@@ -2148,7 +2166,7 @@ class wt extends ye {
|
|
|
2148
2166
|
}
|
|
2149
2167
|
/** @protected */
|
|
2150
2168
|
ready() {
|
|
2151
|
-
super.ready(), this._revealPart = this.shadowRoot.querySelector('[part="reveal-button"]'), this._revealButtonController = new
|
|
2169
|
+
super.ready(), this._revealPart = this.shadowRoot.querySelector('[part="reveal-button"]'), this._revealButtonController = new De(this, "reveal", "vaadin-password-field-button", {
|
|
2152
2170
|
initializer: (e) => {
|
|
2153
2171
|
e.disabled = this.disabled, e.addEventListener("click", this.__boundRevealButtonClick), e.addEventListener("mousedown", this.__boundRevealButtonMouseDown);
|
|
2154
2172
|
}
|
|
@@ -2245,10 +2263,10 @@ class wt extends ye {
|
|
|
2245
2263
|
super._disabledChanged(e, t), this._revealNode && (this._revealNode.disabled = e);
|
|
2246
2264
|
}
|
|
2247
2265
|
}
|
|
2248
|
-
M(
|
|
2249
|
-
const
|
|
2266
|
+
M(_t);
|
|
2267
|
+
const Ct = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}', $t = Ct, kt = class {
|
|
2250
2268
|
constructor(r) {
|
|
2251
|
-
|
|
2269
|
+
Be(this, r), this.sendOriginalValidityState = L(this, "sendOriginalValidityState"), this.sendValidityState = L(this, "sendValidityState"), this.sendInputValue = L(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.value = "", this.touched = !1, this.originalValid = !1, this.validationPattern = "", this.duplicateInputValue = null, this.handleInput = (e) => {
|
|
2252
2270
|
this.value = e.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
2253
2271
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
2254
2272
|
}, 500);
|
|
@@ -2339,10 +2357,10 @@ const _t = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passw
|
|
|
2339
2357
|
}
|
|
2340
2358
|
render() {
|
|
2341
2359
|
let r = "";
|
|
2342
|
-
return this.touched && (r = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), p("div", { key: "c704b51efdf53817beb1541b4794e0b11b490a24", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, p("div", { key: "e590afa403084ff95a8735ade400ab81ad16937f", class: "password__wrapper--flex" }, p("label", { key: "9d8db00b59c4b9594538aeacee3ef5a0e678c0e9", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), p("div", { key: "bb39f6018cf688fafcd0b5bef91ba079edf09daf", class: "password__wrapper--relative" }, this.tooltip && p("img", { key: "d8dbd086da34a8c7db9b5826654530bdb888c927", class: "password__tooltip-icon", src:
|
|
2360
|
+
return this.touched && (r = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), p("div", { key: "c704b51efdf53817beb1541b4794e0b11b490a24", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, p("div", { key: "e590afa403084ff95a8735ade400ab81ad16937f", class: "password__wrapper--flex" }, p("label", { key: "9d8db00b59c4b9594538aeacee3ef5a0e678c0e9", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), p("div", { key: "bb39f6018cf688fafcd0b5bef91ba079edf09daf", class: "password__wrapper--relative" }, this.tooltip && p("img", { key: "d8dbd086da34a8c7db9b5826654530bdb888c927", class: "password__tooltip-icon", src: Le, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), p("vaadin-password-field", { key: "ae1c212d663fe379561b1c514087629409196ac3", type: "password", id: `${this.name}__input`, class: `password__input ${r}`, 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 }), p("small", { key: "2fa1e25239a7314399c16b2f897873b7a31e9f77", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
|
|
2343
2361
|
}
|
|
2344
2362
|
get element() {
|
|
2345
|
-
return
|
|
2363
|
+
return Te(this);
|
|
2346
2364
|
}
|
|
2347
2365
|
static get watchers() {
|
|
2348
2366
|
return {
|
|
@@ -2352,8 +2370,8 @@ const _t = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passw
|
|
|
2352
2370
|
};
|
|
2353
2371
|
}
|
|
2354
2372
|
};
|
|
2355
|
-
|
|
2373
|
+
kt.style = $t;
|
|
2356
2374
|
export {
|
|
2357
|
-
|
|
2358
|
-
|
|
2375
|
+
kt as password_input,
|
|
2376
|
+
Nt as player_change_password_gm2
|
|
2359
2377
|
};
|