@everymatrix/player-elevate-card 1.43.4 → 1.45.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/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/general-styling-wrapper_5.cjs.entry.js +649 -785
- package/dist/cjs/index-b1cf5517.js +1634 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/cjs/player-elevate-card.cjs.js +17 -11
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/player-elevate-card/index.js +1 -0
- package/dist/collection/components/player-elevate-card/player-elevate-card-items.js +17 -38
- package/dist/collection/components/player-elevate-card/player-elevate-card.css +0 -1
- package/dist/collection/components/player-elevate-card/player-elevate-card.js +271 -287
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.css +1 -1
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +224 -215
- package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.css +0 -7
- package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.js +277 -297
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +309 -329
- package/dist/collection/utils/locale.utils.js +133 -133
- package/dist/collection/utils/utils.js +49 -49
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/general-styling-wrapper_5.entry.js +649 -785
- package/dist/esm/index-cd7a4beb.js +1604 -0
- package/dist/esm/loader.js +7 -13
- package/dist/esm/player-elevate-card.js +14 -11
- package/dist/player-elevate-card/p-37a424ba.entry.js +1 -0
- package/dist/player-elevate-card/p-ba534fa2.js +2 -0
- package/dist/player-elevate-card/p-e1255160.js +1 -0
- package/dist/player-elevate-card/player-elevate-card.esm.js +1 -1
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +12 -27
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/player-elevate-card/index.d.ts +1 -0
- package/dist/types/components/player-elevate-card/player-elevate-card-items.d.ts +6 -6
- package/dist/types/components/player-elevate-card/player-elevate-card.d.ts +51 -51
- package/dist/types/components/player-elevate-card-data/player-elevate-card-data.d.ts +19 -20
- package/dist/types/components/player-elevate-loyaltycard/player-elevate-loyaltycard.d.ts +51 -51
- package/dist/types/components/player-elevate-pointcard/player-elevate-pointcard.d.ts +64 -64
- package/dist/types/components.d.ts +16 -1
- package/dist/types/models/player-elevate.d.ts +26 -26
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/locale.utils.d.ts +6 -6
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +8 -6
- package/dist/cjs/index-b6d0684c.js +0 -1674
- package/dist/components/general-styling-wrapper.js +0 -6
- package/dist/components/general-styling-wrapper2.js +0 -103
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/player-elevate-card-data.d.ts +0 -11
- package/dist/components/player-elevate-card-data.js +0 -6
- package/dist/components/player-elevate-card-data2.js +0 -635
- package/dist/components/player-elevate-card-items.js +0 -2250
- package/dist/components/player-elevate-card.d.ts +0 -11
- package/dist/components/player-elevate-card.js +0 -126
- package/dist/components/player-elevate-loyaltycard.d.ts +0 -11
- package/dist/components/player-elevate-loyaltycard.js +0 -132
- package/dist/components/player-elevate-pointcard.d.ts +0 -11
- package/dist/components/player-elevate-pointcard.js +0 -135
- package/dist/components/static/button-default.svg +0 -42
- package/dist/components/static/button-disabled.svg +0 -4
- package/dist/components/static/button-hover.svg +0 -4
- package/dist/components/static/button-level.svg +0 -27
- package/dist/components/static/button-pressed.svg +0 -18
- package/dist/components/static/button-redeem.svg +0 -36
- package/dist/components/static/card-ground-over.png +0 -0
- package/dist/components/static/card-ground-over.svg +0 -903
- package/dist/components/static/card-ground.png +0 -0
- package/dist/components/static/card-ground.svg +0 -34
- package/dist/components/static/info.svg +0 -4
- package/dist/components/static/level-badge.png +0 -0
- package/dist/components/static/level-percent.svg +0 -80
- package/dist/components/static/tips-info.svg +0 -21
- package/dist/components/static/user.svg +0 -3
- package/dist/esm/index-6beb1563.js +0 -1645
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/player-elevate-card/p-10bf1b0e.entry.js +0 -1
- package/dist/player-elevate-card/p-523c2803.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/player-elevate-card/.stencil/packages/player-elevate-card/stencil.config.d.ts +0 -2
|
@@ -1,336 +1,316 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { translate, TRANSLATIONS } from
|
|
3
|
-
import { PlayerAvatar, PlayerPoints, } from
|
|
1
|
+
import { Fragment, getAssetPath, h } from "@stencil/core";
|
|
2
|
+
import { translate, TRANSLATIONS } from "../../utils/locale.utils";
|
|
3
|
+
import { PlayerAvatar, PlayerPoints, } from "../player-elevate-card/player-elevate-card-items";
|
|
4
4
|
export class PlayerElevatePointcard {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* datePattern
|
|
25
|
-
*/
|
|
26
|
-
this.dateFormat = 'yyyy-MM-dd';
|
|
27
|
-
/**
|
|
28
|
-
* Client custom styling via inline styles
|
|
29
|
-
*/
|
|
30
|
-
this.clientStyling = '';
|
|
31
|
-
/**
|
|
32
|
-
* Client custom styling via url
|
|
33
|
-
*/
|
|
34
|
-
this.clientStylingUrl = '';
|
|
35
|
-
/**
|
|
36
|
-
* Translation via url
|
|
37
|
-
*/
|
|
38
|
-
this.translationUrl = '';
|
|
39
|
-
this.isPointDetailCard = this.buttonType === 'earningRule';
|
|
40
|
-
}
|
|
41
|
-
onSessionOrEndpointChange() {
|
|
42
|
-
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|
|
43
|
-
}
|
|
44
|
-
playerElevateLeveLoadedHandler(event) {
|
|
45
|
-
if (!event.detail) {
|
|
46
|
-
return;
|
|
5
|
+
constructor() {
|
|
6
|
+
this.isPointDetailCard = this.buttonType === 'earningRule';
|
|
7
|
+
this.endpoint = undefined;
|
|
8
|
+
this.theme = 'Dark';
|
|
9
|
+
this.session = undefined;
|
|
10
|
+
this.playerAvatarUrl = undefined;
|
|
11
|
+
this.language = 'en';
|
|
12
|
+
this.playerName = undefined;
|
|
13
|
+
this.cardTitle = undefined;
|
|
14
|
+
this.buttonType = 'earningRule';
|
|
15
|
+
this.dateFormat = 'yyyy-MM-dd';
|
|
16
|
+
this.clientStyling = '';
|
|
17
|
+
this.clientStylingUrl = '';
|
|
18
|
+
this.translationUrl = '';
|
|
19
|
+
this.pointExpireString = undefined;
|
|
20
|
+
this.playerElevateLevel = undefined;
|
|
21
|
+
this.elevateWalletTotal = undefined;
|
|
22
|
+
this.elevateSPTotal = undefined;
|
|
47
23
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
this.elevateSPTotal = event.detail['loyaltyWalletTotal'];
|
|
24
|
+
onSessionOrEndpointChange() {
|
|
25
|
+
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|
|
51
26
|
}
|
|
52
|
-
|
|
53
|
-
|
|
27
|
+
playerElevateLeveLoadedHandler(event) {
|
|
28
|
+
if (!event.detail) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (event.detail['elevateLevelWalletTotal']) {
|
|
32
|
+
this.elevateWalletTotal = event.detail['elevateLevelWalletTotal'];
|
|
33
|
+
this.elevateSPTotal = event.detail['loyaltyWalletTotal'];
|
|
34
|
+
}
|
|
35
|
+
if (event.detail['elevateLevel']) {
|
|
36
|
+
this.playerElevateLevel = event.detail['elevateLevel'];
|
|
37
|
+
}
|
|
38
|
+
if (event.detail['pointExpireString']) {
|
|
39
|
+
this.pointExpireString = event.detail.pointExpireString;
|
|
40
|
+
}
|
|
54
41
|
}
|
|
55
|
-
|
|
56
|
-
|
|
42
|
+
onDetailsClick() {
|
|
43
|
+
window.postMessage({ type: this.isPointDetailCard ? 'BEEPointRulesClicked' : 'BEEDetailsClicked',
|
|
44
|
+
path: this.isPointDetailCard ? 'player-elevate-level' : 'player-elevate-point-details' }, window.location.href);
|
|
57
45
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
46
|
+
componentWillLoad() {
|
|
47
|
+
this.paramProxy = {
|
|
48
|
+
endpoint: this.endpoint,
|
|
49
|
+
session: this.session,
|
|
50
|
+
language: this.language,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
const backgroundOuterImagePath = getAssetPath('../static/card-ground.svg');
|
|
55
|
+
const backgroundInnerImagePath = getAssetPath('../static/card-ground-over.svg');
|
|
56
|
+
return (h("div", { key: '13461fc9cf8b777337a539c15da4bb2781f5a837', class: `ElevateCardWrapper ${this.theme}` }, h("div", { key: '526e72c0ada871f74ba4a07f0a125bc25840c09c', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, h("general-styling-wrapper", { key: '95e358ceb8fa3c247660f7ca15a4684b132874be', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: TRANSLATIONS, translationUrl: this.translationUrl }), h("player-elevate-card-data", { key: '24c765d743446ac597a9dcc9cd22515e7e39e6db', params: this.paramProxy }), h("div", { key: '309db4bbfc244a7fb97827774d9d4383109ca0d7', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, h("div", { key: '9d5614ded2f73b505e60900675a7d95b3cfbcbc6', class: 'Content Row' }, this.playerElevateLevel && (h(Fragment, { key: '9a17e809083e61aad19f7ffef5d5ee5885ae8b4d' }, h("div", { key: '47068df3c0070ee2785b0d0201b08766fe0d71e8', class: "PlayerImg" }, h(PlayerAvatar, { key: '40115f8b190d871c85f9531fbf0bafb8fbd739e2', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), h("div", { key: '278cd70c23ecb48655e90810af570ce5366d13d5', class: `LevelInfo ${this.playerElevateLevel.name}` }, h("div", { key: 'ce682ff881c5b12ed0b736ffcc67ad07b3713999', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : translate('spendablePoints')), h("div", { key: 'eeebc5c468cf6e3d566f708fd47a19956ad9defe', class: 'PointsTxt SPPoints' }, h(PlayerPoints, { key: 'ad58990b7fa789cf2d5c524191447196e97c8a16', spendablePoints: this.playerElevateLevel.spendablePoints, language: this.language }), h("a", { key: '0dbdd6cd84e1cb43dac4485f4e3eec3130d6c65c', class: "TC", onClick: () => {
|
|
57
|
+
this.onDetailsClick();
|
|
58
|
+
} }, translate('termAndConditions', this.language))), this.pointExpireString && (h("div", { key: '45c3267d390995fabe34974913adf97b112cf8c2', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
|
|
59
|
+
}
|
|
60
|
+
static get is() { return "player-elevate-pointcard"; }
|
|
61
|
+
static get encapsulation() { return "shadow"; }
|
|
62
|
+
static get originalStyleUrls() {
|
|
63
|
+
return {
|
|
64
|
+
"$": ["player-elevate-pointcard.scss"]
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static get styleUrls() {
|
|
68
|
+
return {
|
|
69
|
+
"$": ["player-elevate-pointcard.css"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static get properties() {
|
|
73
|
+
return {
|
|
74
|
+
"endpoint": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "string",
|
|
79
|
+
"resolved": "string",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": true,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "The NWA endpoint"
|
|
87
|
+
},
|
|
88
|
+
"attribute": "endpoint",
|
|
89
|
+
"reflect": true
|
|
90
|
+
},
|
|
91
|
+
"theme": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "string",
|
|
96
|
+
"resolved": "string",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "The style that widget shows,available value: Dark, Light\nDefault: Dark"
|
|
104
|
+
},
|
|
105
|
+
"attribute": "theme",
|
|
106
|
+
"reflect": true,
|
|
107
|
+
"defaultValue": "'Dark'"
|
|
108
|
+
},
|
|
109
|
+
"session": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": true,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "The NWA session for the logged-in user"
|
|
122
|
+
},
|
|
123
|
+
"attribute": "session",
|
|
124
|
+
"reflect": true
|
|
125
|
+
},
|
|
126
|
+
"playerAvatarUrl": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "string",
|
|
131
|
+
"resolved": "string",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Widget, player avatar url"
|
|
139
|
+
},
|
|
140
|
+
"attribute": "player-avatar-url",
|
|
141
|
+
"reflect": true
|
|
142
|
+
},
|
|
143
|
+
"language": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"mutable": false,
|
|
146
|
+
"complexType": {
|
|
147
|
+
"original": "string",
|
|
148
|
+
"resolved": "string",
|
|
149
|
+
"references": {}
|
|
150
|
+
},
|
|
151
|
+
"required": false,
|
|
152
|
+
"optional": false,
|
|
153
|
+
"docs": {
|
|
154
|
+
"tags": [],
|
|
155
|
+
"text": "Widget Language to show"
|
|
156
|
+
},
|
|
157
|
+
"attribute": "language",
|
|
158
|
+
"reflect": true,
|
|
159
|
+
"defaultValue": "'en'"
|
|
160
|
+
},
|
|
161
|
+
"playerName": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"mutable": false,
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "string",
|
|
166
|
+
"resolved": "string",
|
|
167
|
+
"references": {}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": false,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": "The first name"
|
|
174
|
+
},
|
|
175
|
+
"attribute": "player-name",
|
|
176
|
+
"reflect": true
|
|
177
|
+
},
|
|
178
|
+
"cardTitle": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"mutable": false,
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "string",
|
|
183
|
+
"resolved": "string",
|
|
184
|
+
"references": {}
|
|
185
|
+
},
|
|
186
|
+
"required": false,
|
|
187
|
+
"optional": false,
|
|
188
|
+
"docs": {
|
|
189
|
+
"tags": [],
|
|
190
|
+
"text": "The title displayed in card, default: translation of 'spendablePoints'"
|
|
191
|
+
},
|
|
192
|
+
"attribute": "card-title",
|
|
193
|
+
"reflect": true
|
|
194
|
+
},
|
|
195
|
+
"buttonType": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "Check if the card used in points details widget, default: 'earningRule'\nvalue: 'details'/'earningRule'\nIt effected the button in card\n'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked\n'details': button text, 'details', post 'BEEDetailsClicked' when clicked"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "button-type",
|
|
210
|
+
"reflect": true,
|
|
211
|
+
"defaultValue": "'earningRule'"
|
|
212
|
+
},
|
|
213
|
+
"dateFormat": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"mutable": false,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "string",
|
|
218
|
+
"resolved": "string",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": false,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": "datePattern"
|
|
226
|
+
},
|
|
227
|
+
"attribute": "date-format",
|
|
228
|
+
"reflect": true,
|
|
229
|
+
"defaultValue": "'yyyy-MM-dd'"
|
|
230
|
+
},
|
|
231
|
+
"clientStyling": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"mutable": false,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "string",
|
|
236
|
+
"resolved": "string",
|
|
237
|
+
"references": {}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Client custom styling via inline styles"
|
|
244
|
+
},
|
|
245
|
+
"attribute": "client-styling",
|
|
246
|
+
"reflect": true,
|
|
247
|
+
"defaultValue": "''"
|
|
248
|
+
},
|
|
249
|
+
"clientStylingUrl": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"mutable": false,
|
|
252
|
+
"complexType": {
|
|
253
|
+
"original": "string",
|
|
254
|
+
"resolved": "string",
|
|
255
|
+
"references": {}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": false,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": "Client custom styling via url"
|
|
262
|
+
},
|
|
263
|
+
"attribute": "client-styling-url",
|
|
264
|
+
"reflect": true,
|
|
265
|
+
"defaultValue": "''"
|
|
266
|
+
},
|
|
267
|
+
"translationUrl": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "string",
|
|
272
|
+
"resolved": "string",
|
|
273
|
+
"references": {}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": false,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": "Translation via url"
|
|
280
|
+
},
|
|
281
|
+
"attribute": "translation-url",
|
|
282
|
+
"reflect": true,
|
|
283
|
+
"defaultValue": "''"
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
static get states() {
|
|
288
|
+
return {
|
|
289
|
+
"pointExpireString": {},
|
|
290
|
+
"playerElevateLevel": {},
|
|
291
|
+
"elevateWalletTotal": {},
|
|
292
|
+
"elevateSPTotal": {}
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
static get watchers() {
|
|
296
|
+
return [{
|
|
297
|
+
"propName": "session",
|
|
298
|
+
"methodName": "onSessionOrEndpointChange"
|
|
299
|
+
}, {
|
|
300
|
+
"propName": "endpoint",
|
|
301
|
+
"methodName": "onSessionOrEndpointChange"
|
|
302
|
+
}, {
|
|
303
|
+
"propName": "language",
|
|
304
|
+
"methodName": "onSessionOrEndpointChange"
|
|
305
|
+
}];
|
|
306
|
+
}
|
|
307
|
+
static get listeners() {
|
|
308
|
+
return [{
|
|
309
|
+
"name": "playerElevateLeveLoaded",
|
|
310
|
+
"method": "playerElevateLeveLoadedHandler",
|
|
311
|
+
"target": undefined,
|
|
312
|
+
"capture": false,
|
|
313
|
+
"passive": false
|
|
314
|
+
}];
|
|
311
315
|
}
|
|
312
|
-
}; }
|
|
313
|
-
static get states() { return {
|
|
314
|
-
"pointExpireString": {},
|
|
315
|
-
"playerElevateLevel": {},
|
|
316
|
-
"elevateWalletTotal": {},
|
|
317
|
-
"elevateSPTotal": {}
|
|
318
|
-
}; }
|
|
319
|
-
static get watchers() { return [{
|
|
320
|
-
"propName": "session",
|
|
321
|
-
"methodName": "onSessionOrEndpointChange"
|
|
322
|
-
}, {
|
|
323
|
-
"propName": "endpoint",
|
|
324
|
-
"methodName": "onSessionOrEndpointChange"
|
|
325
|
-
}, {
|
|
326
|
-
"propName": "language",
|
|
327
|
-
"methodName": "onSessionOrEndpointChange"
|
|
328
|
-
}]; }
|
|
329
|
-
static get listeners() { return [{
|
|
330
|
-
"name": "playerElevateLeveLoaded",
|
|
331
|
-
"method": "playerElevateLeveLoadedHandler",
|
|
332
|
-
"target": undefined,
|
|
333
|
-
"capture": false,
|
|
334
|
-
"passive": false
|
|
335
|
-
}]; }
|
|
336
316
|
}
|