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