@everymatrix/casino-header-controller-nd 1.54.6 → 1.54.9

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.
Files changed (39) hide show
  1. package/components/{CasinoHamburgerMenuNd-CkPg6ouB.js → CasinoHamburgerMenuNd-ByOv9WYg.js} +1652 -1660
  2. package/components/CasinoHamburgerMenuNd-C0vs2463.js +5463 -0
  3. package/components/CasinoHamburgerMenuNd-C_mDzbID.cjs +5 -0
  4. package/components/{CasinoHeaderControllerNd-BX0AvD48.js → CasinoHeaderControllerNd-3Q94rK_H.js} +85 -85
  5. package/components/CasinoHeaderControllerNd-CmBOctnz.cjs +1 -0
  6. package/components/CasinoHeaderControllerNd-hT8qHvSB.js +2168 -0
  7. package/components/{PlayerAccountBalanceModalNd-K5u0ko-m.js → PlayerAccountBalanceModalNd-B4Yp_9Au.js} +93 -93
  8. package/components/PlayerAccountBalanceModalNd-CjlZ6-7s.cjs +13 -0
  9. package/components/PlayerAccountBalanceModalNd-bDU8dGTK.js +1586 -0
  10. package/components/{PlayerDeposit-DsOspOgB.js → PlayerDeposit-C__xk64-.js} +46 -46
  11. package/components/PlayerDeposit-CmyD00QS.js +395 -0
  12. package/components/PlayerDeposit-DGMSukDR.cjs +1 -0
  13. package/es2015/casino-header-controller-nd.cjs +1 -0
  14. package/es2015/casino-header-controller-nd.js +16 -0
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +4 -1
  17. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  18. package/stencil/gamification-dropdown-BYoQE2eM.js +25 -0
  19. package/stencil/{gamification-dropdown-Rl66gqyp.js → gamification-dropdown-BsDum8HU.js} +1 -1
  20. package/stencil/gamification-dropdown-DBvEliZb.cjs +1 -0
  21. package/stencil/gamification-dropdown-dc081799-COWgoauo.js +121 -0
  22. package/stencil/{gamification-dropdown-ae7b7c69-C61VnAKy.js → gamification-dropdown-dc081799-D_3lOXxi.js} +10 -10
  23. package/stencil/gamification-dropdown-dc081799-qkGbJFv-.cjs +1 -0
  24. package/stencil/gamification-dropdown_4-CD0pDli_.cjs +192 -0
  25. package/stencil/gamification-dropdown_4-CGfeeef4.js +468 -0
  26. package/stencil/{gamification-dropdown_4-AbKMnPZ5.js → gamification-dropdown_4-DGgVhZVT.js} +16 -16
  27. package/stencil/index-5e36ea65-8utgvA4y.cjs +1 -0
  28. package/stencil/index-5e36ea65-BQOFxtoF.js +859 -0
  29. package/stencil/index-5e36ea65-BkSKs2J0.js +832 -0
  30. package/stencil/{player-elevate-card-B4AMnqub.js → player-elevate-card-9f41yx5g.js} +2 -2
  31. package/stencil/player-elevate-card-DQE8G7ox.js +105 -0
  32. package/stencil/player-elevate-card-items-2a1dc5b5-BGYI6LDp.js +1439 -0
  33. package/stencil/player-elevate-card-items-2a1dc5b5-Bbza8SeJ.cjs +1 -0
  34. package/stencil/{player-elevate-card-items-9d490a3b-BxciIvXh.js → player-elevate-card-items-2a1dc5b5-C0Ul-nhu.js} +298 -300
  35. package/stencil/player-elevate-card-jcWIm8Vs.cjs +64 -0
  36. package/stencil/player-elevate-pointcard-Bx5fP0DY.cjs +1 -0
  37. package/stencil/{player-elevate-pointcard-BeXukLE-.js → player-elevate-pointcard-G_yPTu4J.js} +2 -2
  38. package/stencil/player-elevate-pointcard-MyvSBf45.js +43 -0
  39. package/stencil/index-ea7720e4-FqoOOnHW.js +0 -826
@@ -1,5 +1,5 @@
1
- import { r as l, a as n, h as e, F as r } from "./index-ea7720e4-FqoOOnHW.js";
2
- import { T as i, P as s, b as o, e as d, a as c, c as g, f as p } from "./player-elevate-card-items-9d490a3b-BxciIvXh.js";
1
+ import { r as l, a as n, h as e, F as r } from "./index-5e36ea65-BkSKs2J0.js";
2
+ import { T as i, P as s, b as o, e as d, a as c, c as g, f as p } from "./player-elevate-card-items-2a1dc5b5-C0Ul-nhu.js";
3
3
  const y = `@container (max-width: 270px) {
4
4
  .Card .Inner {
5
5
  flex-direction: column;
@@ -0,0 +1,105 @@
1
+ import { r as l, a as n, h as e, F as r } from "./index-5e36ea65-BQOFxtoF.js";
2
+ import { T as i, P as s, b as o, e as d, a as c, c as g, f as p } from "./player-elevate-card-items-2a1dc5b5-BGYI6LDp.js";
3
+ const y = `@container (max-width: 270px) {
4
+ .Card .Inner {
5
+ flex-direction: column;
6
+ }
7
+ .Card .Inner .Content {
8
+ padding: 9px;
9
+ }
10
+ .Inner .Row .ExpirationPoints {
11
+ order: 1;
12
+ }
13
+ }
14
+ .Card .PlayerImg {
15
+ order: 0;
16
+ }
17
+ .Card .ExpirationPoints {
18
+ order: 3;
19
+ }
20
+ .Card .LevelInfo {
21
+ order: 2;
22
+ }
23
+ .Card .Inner .Row .PlayerImg {
24
+ flex-direction: column;
25
+ }
26
+ .Card .Inner .Row .PointsInfo {
27
+ width: 100%;
28
+ text-align: center;
29
+ display: flex;
30
+ flex-direction: column;
31
+ max-height: 50%;
32
+ }
33
+ .Card .Inner .PlayerAvatar .Badge {
34
+ background-size: contain;
35
+ background-repeat: no-repeat;
36
+ position: absolute;
37
+ right: 5px;
38
+ bottom: -5px;
39
+ width: 40%;
40
+ height: 40%;
41
+ overflow: visible;
42
+ }
43
+ .Card .Inner .Row .ExpirationPoints {
44
+ text-align: left;
45
+ color: var(--emw--color-red, red);
46
+ }
47
+ .Card .Inner .Row .Points {
48
+ text-wrap: nowrap;
49
+ }
50
+ .Card .Inner .LevelInfo .ElevateLevel {
51
+ flex-direction: column;
52
+ }
53
+ .Card .Inner .LevelInfo .ElevateLevel .LevelName {
54
+ width: calc(100% - 20px);
55
+ text-align: left;
56
+ font-size: 13px;
57
+ padding-left: 20px;
58
+ margin: 10px 0;
59
+ }
60
+ .Card .Inner .LevelInfo .ElevateLevel .ExpirationDate {
61
+ text-align: center;
62
+ font-size: smaller;
63
+ }
64
+ .Card .Inner .LevelInfo .ElevateLevel .ExpireTime {
65
+ margin-left: 5px;
66
+ }`, v = y, h = class {
67
+ constructor(a) {
68
+ l(this, a), this.theme = "Dark", this.language = "en", this.dateFormat = "yyyy-MM-dd", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.playerLevelFlag = 0;
69
+ }
70
+ onSessionOrEndpointChange() {
71
+ this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
72
+ }
73
+ playerElevateLeveLoadedHandler(a) {
74
+ a.detail && (a.detail.elevateLevelWalletTotal && (this.elevateWalletTotal = a.detail.elevateLevelWalletTotal), a.detail.elevateLevel && (this.playerElevateLevel = a.detail.elevateLevel), a.detail.pointExpireString && (this.pointExpireString = a.detail.xpExpireString), a.detail.calculatedLevelFlag && (this.playerLevelFlag = a.detail.calculatedLevelFlag));
75
+ }
76
+ onRedeemClick() {
77
+ window.postMessage({ type: "BEERedeemClicked" }, window.location.href);
78
+ }
79
+ componentWillLoad() {
80
+ this.paramProxy = {
81
+ endpoint: this.endpoint,
82
+ session: this.session,
83
+ language: this.language,
84
+ calculateLevelFlag: !0
85
+ };
86
+ }
87
+ render() {
88
+ const a = n("../static/card-ground.svg"), t = n("../static/card-ground-over.svg");
89
+ return e("div", { key: "278a328dd084ee73b2707b93a57bccae64a2c9c7", class: `ElevateCardWrapper ${this.theme}` }, e("div", { key: "68c885baf533447a7c77fd887bbec11e53768277", class: "Card Outer", style: { backgroundImage: `url(${a}` } }, e("general-styling-wrapper", { key: "4066253a70cdd5e712ca244a708e7c1600c83071", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: i, translationUrl: this.translationUrl }), e("player-elevate-card-data", { key: "64cda2a267c752056b3c7e3134cc324fa96bc261", params: this.paramProxy }), e("div", { key: "c63ae83b401a35f5a78acd83dc3d7296c25141d7", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, this.playerElevateLevel && e(r, { key: "ba16e5bb54259c17fd9e5aa0e3c03c2ec5d4263c" }, e("div", { key: "fa1bf74f45e28318c95266cc42c54541bde92718", class: "Content Row" }, e("div", { key: "7ede46f91bcc0d894b2b633627a4ca97d15fbe90", class: "PlayerImg" }, e(s, { key: "b6d0bac085e0178512b8a63ba8fccae7d4cc8399", playerAvatarUrl: this.playerAvatarUrl, loyaltyIconUrl: this.playerElevateLevel.presentation.asset }), e(o, { key: "88c445dbcd7dbe426a8de18beea02aecc03e26f3", loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language })), this.pointExpireString && e("div", { key: "4d985e486ecb74a6c916b28e619de83cb3d77ac1", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " "), e("div", { key: "34e051ee1ff79b825fca57db958e1e5684a0aca1", class: `LevelInfo Level${this.playerLevelFlag} ${this.playerElevateLevel.presentation.displayName}` }, e(d, { key: "fa1b1f16e0b25c6adfba4c215e4ed377e05699b2", playerName: this.playerName }), e(c, { key: "6d18b1422db202363ebcd56cc56946e0e071937b", hideInfo: !0, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), e(g, { key: "7dae355c4a5a9e28c70dced0ac061608f1753020" }), e(p, { key: "7e5f830b612c962a828c58f20a88dc97d315c910", onRedeemClick: this.onRedeemClick, language: this.language })))))));
90
+ }
91
+ static get assetsDirs() {
92
+ return ["../static"];
93
+ }
94
+ static get watchers() {
95
+ return {
96
+ session: ["onSessionOrEndpointChange"],
97
+ endpoint: ["onSessionOrEndpointChange"],
98
+ language: ["onSessionOrEndpointChange"]
99
+ };
100
+ }
101
+ };
102
+ h.style = v;
103
+ export {
104
+ h as player_elevate_card
105
+ };