@everymatrix/player-elevate-card-jojogroup 1.80.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/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/general-styling-wrapper_6.cjs.entry.js +3570 -0
- package/dist/cjs/index-51874d29.js +1619 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/player-elevate-card-jojogroup.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +23 -0
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.css +192 -0
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +244 -0
- package/dist/collection/components/player-elevate-card-jojogroup/index.js +1 -0
- package/dist/collection/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup-items.js +23 -0
- package/dist/collection/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup.css +64 -0
- package/dist/collection/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup.js +297 -0
- package/dist/collection/components/player-elevate-loyaltycard-jojogroup/player-elevate-loyaltycard-jojogroup.css +98 -0
- package/dist/collection/components/player-elevate-loyaltycard-jojogroup/player-elevate-loyaltycard-jojogroup.js +310 -0
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.css +70 -0
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +334 -0
- package/dist/collection/components/player-rakeback-card/player-rakeback-card.css +87 -0
- package/dist/collection/components/player-rakeback-card/player-rakeback-card.js +357 -0
- package/dist/collection/components/static/button-default.svg +42 -0
- package/dist/collection/components/static/button-disabled.svg +4 -0
- package/dist/collection/components/static/button-hover.svg +4 -0
- package/dist/collection/components/static/button-level.svg +27 -0
- package/dist/collection/components/static/button-pressed.svg +18 -0
- package/dist/collection/components/static/button-redeem.svg +36 -0
- package/dist/collection/components/static/card-ground-over.png +0 -0
- package/dist/collection/components/static/card-ground-over.svg +903 -0
- package/dist/collection/components/static/card-ground.png +0 -0
- package/dist/collection/components/static/card-ground.svg +34 -0
- package/dist/collection/components/static/info.svg +4 -0
- package/dist/collection/components/static/level-badge.png +0 -0
- package/dist/collection/components/static/level-percent.svg +80 -0
- package/dist/collection/components/static/tips-info.svg +21 -0
- package/dist/collection/components/static/user.svg +3 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/player-elevate.js +1 -0
- package/dist/collection/utils/locale.utils.js +238 -0
- package/dist/collection/utils/utils.js +51 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/general-styling-wrapper_6.entry.js +3561 -0
- package/dist/esm/index-9498ebd7.js +1589 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/player-elevate-card-jojogroup.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/player-elevate-card-jojogroup/app-globals-0f993ce5.js +1 -0
- package/dist/player-elevate-card-jojogroup/general-styling-wrapper_6.entry.js +1 -0
- package/dist/player-elevate-card-jojogroup/index-9498ebd7.js +2 -0
- package/dist/player-elevate-card-jojogroup/index.esm.js +0 -0
- package/dist/player-elevate-card-jojogroup/player-elevate-card-jojogroup.esm.js +1 -0
- package/dist/static/button-default.svg +42 -0
- package/dist/static/button-disabled.svg +4 -0
- package/dist/static/button-hover.svg +4 -0
- package/dist/static/button-level.svg +27 -0
- package/dist/static/button-pressed.svg +18 -0
- package/dist/static/button-redeem.svg +36 -0
- package/dist/static/card-ground-over.png +0 -0
- package/dist/static/card-ground-over.svg +903 -0
- package/dist/static/card-ground.png +0 -0
- package/dist/static/card-ground.svg +34 -0
- package/dist/static/info.svg +4 -0
- package/dist/static/level-badge.png +0 -0
- package/dist/static/level-percent.svg +80 -0
- package/dist/static/tips-info.svg +21 -0
- package/dist/static/user.svg +3 -0
- package/dist/stencil.config.dev.js +18 -0
- package/dist/stencil.config.js +20 -0
- package/dist/storybook/main.js +47 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/packages/stencil/player-elevate-card-jojogroup/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card-jojogroup/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/player-elevate-card-data/player-elevate-card-data.d.ts +24 -0
- package/dist/types/components/player-elevate-card-jojogroup/index.d.ts +1 -0
- package/dist/types/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup-items.d.ts +20 -0
- package/dist/types/components/player-elevate-card-jojogroup/player-elevate-card-jojogroup.d.ts +56 -0
- package/dist/types/components/player-elevate-loyaltycard-jojogroup/player-elevate-loyaltycard-jojogroup.d.ts +59 -0
- package/dist/types/components/player-elevate-pointcard/player-elevate-pointcard.d.ts +69 -0
- package/dist/types/components/player-rakeback-card/player-rakeback-card.d.ts +65 -0
- package/dist/types/components.d.ts +461 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/player-elevate.d.ts +40 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +15 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { Fragment, getAssetPath, h } from "@stencil/core";
|
|
2
|
+
import { LoyaltyLevelExpireDay, PlayerAvatar, PlayerLoyaltyProcess, PlayerPoints } from "../player-elevate-card-jojogroup/player-elevate-card-jojogroup-items";
|
|
3
|
+
import { translateWithParams, TRANSLATIONS } from "../../utils/locale.utils";
|
|
4
|
+
export class PlayerElevateLoyaltycardJojogroup {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.endpoint = undefined;
|
|
7
|
+
this.theme = 'Dark';
|
|
8
|
+
this.session = undefined;
|
|
9
|
+
this.playerAvatarUrl = undefined;
|
|
10
|
+
this.language = 'en';
|
|
11
|
+
this.playerName = undefined;
|
|
12
|
+
this.dateFormat = 'yyyy-MM-dd';
|
|
13
|
+
this.mbSource = undefined;
|
|
14
|
+
this.clientStyling = '';
|
|
15
|
+
this.clientStylingUrl = '';
|
|
16
|
+
this.translationUrl = '';
|
|
17
|
+
this.pointExpireString = undefined;
|
|
18
|
+
this.playerElevateLevel = undefined;
|
|
19
|
+
this.elevateWalletTotal = undefined;
|
|
20
|
+
}
|
|
21
|
+
onSessionOrEndpointChange() {
|
|
22
|
+
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|
|
23
|
+
}
|
|
24
|
+
playerElevateLeveLoadedHandler(event) {
|
|
25
|
+
if (!event.detail) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (event.detail['elevateLevelWalletTotal']) {
|
|
29
|
+
this.elevateWalletTotal = event.detail['elevateLevelWalletTotal'];
|
|
30
|
+
}
|
|
31
|
+
if (event.detail['elevateLevel']) {
|
|
32
|
+
this.playerElevateLevel = event.detail['elevateLevel'];
|
|
33
|
+
}
|
|
34
|
+
if (event.detail['pointExpireString']) {
|
|
35
|
+
this.pointExpireString = event.detail.xpExpireString;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
onRedeemClick() {
|
|
39
|
+
window.postMessage({ type: 'BEERedeemClicked' }, window.location.href);
|
|
40
|
+
}
|
|
41
|
+
componentWillLoad() {
|
|
42
|
+
this.paramProxy = {
|
|
43
|
+
endpoint: this.endpoint,
|
|
44
|
+
session: this.session,
|
|
45
|
+
language: this.language,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
getNextLevelPoints() {
|
|
49
|
+
var _a, _b;
|
|
50
|
+
return ((_a = this.playerElevateLevel) === null || _a === void 0 ? void 0 : _a.nextLevel) ? (_b = this.playerElevateLevel) === null || _b === void 0 ? void 0 : _b.nextLevel.entryPoints : -1;
|
|
51
|
+
}
|
|
52
|
+
getNextLevelTips() {
|
|
53
|
+
var _a;
|
|
54
|
+
//need xx to reach Diamond
|
|
55
|
+
let nextLevel = (_a = this.playerElevateLevel) === null || _a === void 0 ? void 0 : _a.nextLevel;
|
|
56
|
+
if (this.playerElevateLevel && nextLevel) {
|
|
57
|
+
const pointsToReach = (nextLevel.entryPoints - this.playerElevateLevel.loyaltyPoints).toFixed(2);
|
|
58
|
+
return translateWithParams('tipsForNextLevel', {
|
|
59
|
+
pointsToReach,
|
|
60
|
+
levelName: nextLevel.name,
|
|
61
|
+
lang: this.language
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return '';
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
var _a, _b, _c;
|
|
68
|
+
const backgroundOuterImagePath = getAssetPath('../static/card-ground.svg');
|
|
69
|
+
const backgroundInnerImagePath = getAssetPath('../static/card-ground-over.svg');
|
|
70
|
+
return (h("div", { key: 'ef2c203816bdbd8146ac0e02435bdf4ffcc75bec', class: `ElevateCardWrapper ${this.theme}` }, h("div", { key: '7078fdc223dc7ffaac850243f6a04e3d7c63d22d', class: "LoyaltyCard Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, h("general-styling-wrapper", { key: '04480062cf7da6b511a43205d7bfb6398404bd6a', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), h("player-elevate-card-data", { key: 'aa0c7abb7916865b404da21aa87ce6a7ba2f39d4', params: this.paramProxy }), h("div", { key: '900c8fba904daa860a456b38b4905ca8c5c30fa5', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, h("div", { key: '1f1a6d6423f07eaba470fd2c95c8249213c346d2', class: 'Content' }, this.playerElevateLevel && (h(Fragment, { key: '2eada6942e44a5d14e5295b88a0d82f9f5372c57' }, h("div", { key: '49a29540d068555fb3fe23859e2f4d1f4f7f488a', class: "PlayerImg Row" }, h("div", { key: '68b195d5e4bf205922998d5479cdb6c14e6abfac', class: "PlayerContainer" }, h(PlayerAvatar, { key: '86123e3ded6ec5bcd62c5b339809f50b075ba4ab', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset }), h("div", { key: '8e8b8ea0961c5596c3aff7d689431dc39faedd14', class: "PlayerInfo" }, h("div", { key: '92d8b6abceea88af846203f2aca7b95e3582e2ab', class: 'CardCell ElevateLevel' }, h("span", { key: 'ba74043443ed78fc8e3f34689b7410783e6137c8', class: "PlayerName", title: this.playerElevateLevel.name }, this.playerName || this.playerElevateLevel.name)), h("div", { key: '9e84f0ce13a02152e8a347b947ac35623625be9d' }, (((_a = this.playerElevateLevel) === null || _a === void 0 ? void 0 : _a.loyaltyPoints) / ((_c = (_b = this.playerElevateLevel) === null || _b === void 0 ? void 0 : _b.nextLevel) === null || _c === void 0 ? void 0 : _c.entryPoints)) * 100, "%"))), h("div", { key: '1cd88a2cfefbb2326ac13fdadcf448bac075c316', class: 'PointsRange' }, h(PlayerPoints, { key: '21e27273e2e43b672b55fa13997e7db109be8070', loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), h("span", { key: '329844014f55bbd8bf35bff81626da66c0c9b91a' }, "/"), h(PlayerPoints, { key: 'e8cac4c5e5d6bd8f0da9d6c0de84dce36110a747', loyaltyPoints: this.getNextLevelPoints(), language: this.language }))), h("div", { key: '1051f633025bc516201dc1861b8404d5c9f6713b', class: `LevelInfo ${this.playerElevateLevel.name}` }, h(PlayerLoyaltyProcess, { key: 'b5cb209cfca2166b7848b3196067d9c39259f1ae' }), h("div", { key: 'd9820322d3087e8eebfc238f1668f4c11fdaef57', class: "Row LevelRange" }, h("div", { key: '36b14cfcf0a7d428da82557c4f96a3db45a6d454' }, this.playerElevateLevel.name), h("div", { key: '61c6d3ba379d5ec1184f46d5e6d782d3a196fcf2' }, this.playerElevateLevel.nextLevel.name)), h("div", { key: '5bb2a4994885b38df7882cdf7c5a738e14bccef0', class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && (h("div", { key: 'f2ac7fc7a633d312e6aa355e8faaabadf43e6984', class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), this.playerElevateLevel.expireTime &&
|
|
71
|
+
h(LoyaltyLevelExpireDay, { key: 'a75969ed01f62def9c66a4c9b42c8e884b3f819b', expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat, language: this.language })))))))));
|
|
72
|
+
}
|
|
73
|
+
static get is() { return "player-elevate-loyaltycard-jojogroup"; }
|
|
74
|
+
static get encapsulation() { return "shadow"; }
|
|
75
|
+
static get originalStyleUrls() {
|
|
76
|
+
return {
|
|
77
|
+
"$": ["player-elevate-loyaltycard-jojogroup.scss"]
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
static get styleUrls() {
|
|
81
|
+
return {
|
|
82
|
+
"$": ["player-elevate-loyaltycard-jojogroup.css"]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
static get properties() {
|
|
86
|
+
return {
|
|
87
|
+
"endpoint": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "string",
|
|
92
|
+
"resolved": "string",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": true,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "The NWA endpoint"
|
|
100
|
+
},
|
|
101
|
+
"attribute": "endpoint",
|
|
102
|
+
"reflect": true
|
|
103
|
+
},
|
|
104
|
+
"theme": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"mutable": false,
|
|
107
|
+
"complexType": {
|
|
108
|
+
"original": "string",
|
|
109
|
+
"resolved": "string",
|
|
110
|
+
"references": {}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": false,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": "The style that widget shows,available value: Dark, Light\nDefault: Dark"
|
|
117
|
+
},
|
|
118
|
+
"attribute": "theme",
|
|
119
|
+
"reflect": true,
|
|
120
|
+
"defaultValue": "'Dark'"
|
|
121
|
+
},
|
|
122
|
+
"session": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "string",
|
|
127
|
+
"resolved": "string",
|
|
128
|
+
"references": {}
|
|
129
|
+
},
|
|
130
|
+
"required": true,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": "The NWA session for the logged-in user"
|
|
135
|
+
},
|
|
136
|
+
"attribute": "session",
|
|
137
|
+
"reflect": true
|
|
138
|
+
},
|
|
139
|
+
"playerAvatarUrl": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "string",
|
|
144
|
+
"resolved": "string",
|
|
145
|
+
"references": {}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": "Widget, player avatar url"
|
|
152
|
+
},
|
|
153
|
+
"attribute": "player-avatar-url",
|
|
154
|
+
"reflect": true
|
|
155
|
+
},
|
|
156
|
+
"language": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"mutable": false,
|
|
159
|
+
"complexType": {
|
|
160
|
+
"original": "string",
|
|
161
|
+
"resolved": "string",
|
|
162
|
+
"references": {}
|
|
163
|
+
},
|
|
164
|
+
"required": false,
|
|
165
|
+
"optional": false,
|
|
166
|
+
"docs": {
|
|
167
|
+
"tags": [],
|
|
168
|
+
"text": "Widget Language to show"
|
|
169
|
+
},
|
|
170
|
+
"attribute": "language",
|
|
171
|
+
"reflect": true,
|
|
172
|
+
"defaultValue": "'en'"
|
|
173
|
+
},
|
|
174
|
+
"playerName": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"mutable": false,
|
|
177
|
+
"complexType": {
|
|
178
|
+
"original": "string",
|
|
179
|
+
"resolved": "string",
|
|
180
|
+
"references": {}
|
|
181
|
+
},
|
|
182
|
+
"required": false,
|
|
183
|
+
"optional": false,
|
|
184
|
+
"docs": {
|
|
185
|
+
"tags": [],
|
|
186
|
+
"text": "The first name"
|
|
187
|
+
},
|
|
188
|
+
"attribute": "player-name",
|
|
189
|
+
"reflect": true
|
|
190
|
+
},
|
|
191
|
+
"dateFormat": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"mutable": false,
|
|
194
|
+
"complexType": {
|
|
195
|
+
"original": "string",
|
|
196
|
+
"resolved": "string",
|
|
197
|
+
"references": {}
|
|
198
|
+
},
|
|
199
|
+
"required": false,
|
|
200
|
+
"optional": false,
|
|
201
|
+
"docs": {
|
|
202
|
+
"tags": [],
|
|
203
|
+
"text": "datePattern"
|
|
204
|
+
},
|
|
205
|
+
"attribute": "date-format",
|
|
206
|
+
"reflect": true,
|
|
207
|
+
"defaultValue": "'yyyy-MM-dd'"
|
|
208
|
+
},
|
|
209
|
+
"mbSource": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "string",
|
|
214
|
+
"resolved": "string",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": false,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": "Client custom styling via streamStyling"
|
|
222
|
+
},
|
|
223
|
+
"attribute": "mb-source",
|
|
224
|
+
"reflect": false
|
|
225
|
+
},
|
|
226
|
+
"clientStyling": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"mutable": false,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "string",
|
|
231
|
+
"resolved": "string",
|
|
232
|
+
"references": {}
|
|
233
|
+
},
|
|
234
|
+
"required": false,
|
|
235
|
+
"optional": false,
|
|
236
|
+
"docs": {
|
|
237
|
+
"tags": [],
|
|
238
|
+
"text": "Client custom styling via inline styles"
|
|
239
|
+
},
|
|
240
|
+
"attribute": "client-styling",
|
|
241
|
+
"reflect": true,
|
|
242
|
+
"defaultValue": "''"
|
|
243
|
+
},
|
|
244
|
+
"clientStylingUrl": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"mutable": false,
|
|
247
|
+
"complexType": {
|
|
248
|
+
"original": "string",
|
|
249
|
+
"resolved": "string",
|
|
250
|
+
"references": {}
|
|
251
|
+
},
|
|
252
|
+
"required": false,
|
|
253
|
+
"optional": false,
|
|
254
|
+
"docs": {
|
|
255
|
+
"tags": [],
|
|
256
|
+
"text": "Client custom styling via url"
|
|
257
|
+
},
|
|
258
|
+
"attribute": "client-styling-url",
|
|
259
|
+
"reflect": true,
|
|
260
|
+
"defaultValue": "''"
|
|
261
|
+
},
|
|
262
|
+
"translationUrl": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"mutable": false,
|
|
265
|
+
"complexType": {
|
|
266
|
+
"original": "string",
|
|
267
|
+
"resolved": "string",
|
|
268
|
+
"references": {}
|
|
269
|
+
},
|
|
270
|
+
"required": false,
|
|
271
|
+
"optional": false,
|
|
272
|
+
"docs": {
|
|
273
|
+
"tags": [],
|
|
274
|
+
"text": "Translation via url"
|
|
275
|
+
},
|
|
276
|
+
"attribute": "translation-url",
|
|
277
|
+
"reflect": true,
|
|
278
|
+
"defaultValue": "''"
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
static get states() {
|
|
283
|
+
return {
|
|
284
|
+
"pointExpireString": {},
|
|
285
|
+
"playerElevateLevel": {},
|
|
286
|
+
"elevateWalletTotal": {}
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
static get watchers() {
|
|
290
|
+
return [{
|
|
291
|
+
"propName": "session",
|
|
292
|
+
"methodName": "onSessionOrEndpointChange"
|
|
293
|
+
}, {
|
|
294
|
+
"propName": "endpoint",
|
|
295
|
+
"methodName": "onSessionOrEndpointChange"
|
|
296
|
+
}, {
|
|
297
|
+
"propName": "language",
|
|
298
|
+
"methodName": "onSessionOrEndpointChange"
|
|
299
|
+
}];
|
|
300
|
+
}
|
|
301
|
+
static get listeners() {
|
|
302
|
+
return [{
|
|
303
|
+
"name": "playerElevateLeveLoaded",
|
|
304
|
+
"method": "playerElevateLeveLoadedHandler",
|
|
305
|
+
"target": undefined,
|
|
306
|
+
"capture": false,
|
|
307
|
+
"passive": false
|
|
308
|
+
}];
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.PointsCard .Inner .Row .ExpirationPoints {
|
|
6
|
+
text-align: left;
|
|
7
|
+
}
|
|
8
|
+
.PointsCard .Inner .PlayerAvatar .Avatar {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
.PointsCard .Inner .PlayerAvatar .Badge {
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
background-size: contain;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
position: inherit;
|
|
17
|
+
}
|
|
18
|
+
.PointsCard .Inner .PointsTxt {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
}
|
|
23
|
+
.PointsCard .Inner .DetailButton {
|
|
24
|
+
background: linear-gradient(283.85deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 33.47%), linear-gradient(117.99deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 33.89%), linear-gradient(268.18deg, rgba(255, 255, 255, 0.6) -17.36%, rgba(239, 239, 239, 0) 15.78%), linear-gradient(0deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6));
|
|
25
|
+
border-radius: 5px;
|
|
26
|
+
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
|
27
|
+
border: 2px solid;
|
|
28
|
+
font-size: 11px;
|
|
29
|
+
width: 108px;
|
|
30
|
+
padding: 4px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
margin-top: 5px;
|
|
33
|
+
height: 16px;
|
|
34
|
+
min-width: 45px;
|
|
35
|
+
text-align: center;
|
|
36
|
+
}
|
|
37
|
+
.PointsCard .Inner .DetailButton span {
|
|
38
|
+
color: var(--emw--color-gray-150, #6D6D6D);
|
|
39
|
+
}
|
|
40
|
+
.PointsCard .Inner .DetailButton span {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
vertical-align: middle;
|
|
43
|
+
}
|
|
44
|
+
.PointsCard .Inner .DetailButton:hover span {
|
|
45
|
+
color: var(--emw--color-gray-150, #6D6D6D);
|
|
46
|
+
}
|
|
47
|
+
.PointsCard .Inner .LevelInfo {
|
|
48
|
+
gap: 15px;
|
|
49
|
+
width: 70%;
|
|
50
|
+
}
|
|
51
|
+
.PointsCard .Inner .LevelInfo .PointsTxt {
|
|
52
|
+
font-size: 15px;
|
|
53
|
+
}
|
|
54
|
+
.PointsCard .Inner .LevelInfo .PointsTxt.Label {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
.PointsCard .Inner .LevelInfo .PointsTxt.SPPoints {
|
|
58
|
+
padding-top: 15px;
|
|
59
|
+
}
|
|
60
|
+
.PointsCard .Inner .LevelInfo .PointsTxt .TC {
|
|
61
|
+
font-size: x-small;
|
|
62
|
+
color: var(--emw--color-gray-300, #58586B);
|
|
63
|
+
display: flex;
|
|
64
|
+
align-content: center;
|
|
65
|
+
height: 100%;
|
|
66
|
+
flex-wrap: wrap;
|
|
67
|
+
text-decoration: underline;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
display: none;
|
|
70
|
+
}
|