@everymatrix/casino-tournament-banner 1.20.0 → 1.20.5
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/casino-tournament-banner/casino-tournament-banner.esm.js +1 -1
- package/dist/casino-tournament-banner/p-82fa3c7e.entry.js +9 -0
- package/dist/cjs/casino-tournament-banner.cjs.js +1 -1
- package/dist/cjs/casino-tournament-banner_2.cjs.entry.js +148 -45
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.css +6 -0
- package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.js +213 -103
- package/dist/collection/utils/locale.utils.js +43 -7
- package/dist/components/casino-tournament-banner.js +155 -47
- package/dist/esm/casino-tournament-banner.js +1 -1
- package/dist/esm/casino-tournament-banner_2.entry.js +148 -45
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/casino-tournament-banner/casino-tournament-banner.d.ts +118 -29
- package/dist/types/components.d.ts +191 -25
- package/package.json +1 -1
- package/dist/casino-tournament-banner/p-e8e3dadf.entry.js +0 -9
|
@@ -44,11 +44,17 @@
|
|
|
44
44
|
padding: 6px;
|
|
45
45
|
font-size: 10px;
|
|
46
46
|
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
height: 13px;
|
|
47
49
|
}
|
|
48
50
|
.Tag.Closed {
|
|
49
51
|
filter: grayscale(1);
|
|
50
52
|
}
|
|
51
53
|
|
|
54
|
+
.TagRemain {
|
|
55
|
+
text-indent: 5px;
|
|
56
|
+
}
|
|
57
|
+
|
|
52
58
|
.Date {
|
|
53
59
|
gap: 4px;
|
|
54
60
|
background: #FF7500;
|
|
@@ -4,51 +4,66 @@ import moment from 'moment';
|
|
|
4
4
|
import '@everymatrix/casino-tournament-buttons';
|
|
5
5
|
export class CasinoTournamentBanner {
|
|
6
6
|
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Short start time format
|
|
9
|
+
*/
|
|
7
10
|
this.shortstartformat = 'DD MMM YYYY';
|
|
11
|
+
/**
|
|
12
|
+
* Show date on widget
|
|
13
|
+
*/
|
|
8
14
|
this.showDate = true;
|
|
15
|
+
/**
|
|
16
|
+
* Show date on running state tournament tag
|
|
17
|
+
*/
|
|
18
|
+
this.showRunningDate = false;
|
|
19
|
+
/**
|
|
20
|
+
* Show check icon on enrolled tag
|
|
21
|
+
*/
|
|
9
22
|
this.showCheck = false;
|
|
23
|
+
/**
|
|
24
|
+
* Widget display as a card
|
|
25
|
+
*/
|
|
10
26
|
this.cardMode = false;
|
|
27
|
+
/**
|
|
28
|
+
* Show read more button
|
|
29
|
+
*/
|
|
11
30
|
this.showReadMore = false;
|
|
31
|
+
/**
|
|
32
|
+
* Client custom styling via inline styles
|
|
33
|
+
*/
|
|
12
34
|
this.clientStyling = '';
|
|
35
|
+
/**
|
|
36
|
+
* Client custom styling via url
|
|
37
|
+
*/
|
|
13
38
|
this.clientStylingUrl = '';
|
|
14
39
|
this.limitStylingAppends = false;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, 1);
|
|
26
|
-
};
|
|
27
|
-
this.formatDate = () => {
|
|
28
|
-
const dateOptions = { month: 'long' };
|
|
29
|
-
let currentDate = new Date(this.startTime);
|
|
30
|
-
const setTranslation = () => {
|
|
31
|
-
return (this.state === 'Running' || this.state == 'Closing' || this.state == 'Closed') ?
|
|
32
|
-
translate('startedAt', this.language) :
|
|
33
|
-
translate('startingAt', this.language);
|
|
34
|
-
};
|
|
35
|
-
if (this.shortStart) {
|
|
36
|
-
let startTimeAsString = moment(currentDate).format(this.shortstartformat);
|
|
37
|
-
this.startdate = (this.state === 'Running' || this.state == 'Closing' || this.state == 'Closed') ?
|
|
38
|
-
translate('startedAtWithTime', this.language) + startTimeAsString :
|
|
39
|
-
translate('startingAtWithTime', this.language) + startTimeAsString;
|
|
40
|
+
}
|
|
41
|
+
getDateTimeDiff(dateString1, dateString2) {
|
|
42
|
+
return ((new Date(dateString2)).getTime() - (new Date(dateString1)).getTime()) / (1000 * 60);
|
|
43
|
+
}
|
|
44
|
+
getTextByDiff(diff) {
|
|
45
|
+
const renderText = (amount, type) => ' - ' + amount + ' ' + translate(type);
|
|
46
|
+
const renderTimeColumn = (column) => {
|
|
47
|
+
const columnInt = Math.floor(column);
|
|
48
|
+
if (columnInt < 10) {
|
|
49
|
+
return `0${columnInt}`;
|
|
40
50
|
}
|
|
41
51
|
else {
|
|
42
|
-
|
|
43
|
-
let currentDay = currentDate.getDate();
|
|
44
|
-
let currentHour = currentDate.toLocaleString('en-GB', { hour: 'numeric', minute: 'numeric', hour12: false });
|
|
45
|
-
this.startdate =
|
|
46
|
-
`${currentDay}` + ' ' +
|
|
47
|
-
translate(`${currentMonthKey}`, this.language) + ', ' +
|
|
48
|
-
setTranslation() +
|
|
49
|
-
` ${currentHour}`;
|
|
52
|
+
return `${columnInt}`;
|
|
50
53
|
}
|
|
51
54
|
};
|
|
55
|
+
if (diff < 1440) {
|
|
56
|
+
const hours = diff / 60;
|
|
57
|
+
const minutes = diff % 60;
|
|
58
|
+
const seconds = (minutes - Math.floor(minutes)) * 60;
|
|
59
|
+
return [hours, minutes, seconds].map(c => renderTimeColumn(c)).join(':');
|
|
60
|
+
}
|
|
61
|
+
return renderText(Math.ceil(diff / (60 * 24)), 'days');
|
|
62
|
+
}
|
|
63
|
+
getDuration() {
|
|
64
|
+
const dateNow = new Date();
|
|
65
|
+
this.tournamentLeftDays = this.getDateTimeDiff(dateNow, this.endTime);
|
|
66
|
+
this.showRemain = this.getTextByDiff(this.tournamentLeftDays);
|
|
52
67
|
}
|
|
53
68
|
infoCompletedHandler(event) {
|
|
54
69
|
if (event.detail && this.useEvent) {
|
|
@@ -90,6 +105,43 @@ export class CasinoTournamentBanner {
|
|
|
90
105
|
this.limitStylingAppends = true;
|
|
91
106
|
}
|
|
92
107
|
}
|
|
108
|
+
setClientStyling() {
|
|
109
|
+
let sheet = document.createElement('style');
|
|
110
|
+
sheet.innerHTML = this.clientStyling;
|
|
111
|
+
this.stylingContainer.prepend(sheet);
|
|
112
|
+
}
|
|
113
|
+
setClientStylingURL() {
|
|
114
|
+
let cssFile = document.createElement('style');
|
|
115
|
+
setTimeout(() => {
|
|
116
|
+
cssFile.innerHTML = this.clientStylingUrl;
|
|
117
|
+
this.stylingContainer.prepend(cssFile);
|
|
118
|
+
}, 1);
|
|
119
|
+
}
|
|
120
|
+
formatDate() {
|
|
121
|
+
const dateOptions = { month: 'long' };
|
|
122
|
+
let currentDate = new Date(this.startTime);
|
|
123
|
+
const setTranslation = () => {
|
|
124
|
+
return (this.state === 'Running' || this.state == 'Closing' || this.state == 'Closed') ?
|
|
125
|
+
translate('startedAt', this.language) :
|
|
126
|
+
translate('startingAt', this.language);
|
|
127
|
+
};
|
|
128
|
+
if (this.shortStart) {
|
|
129
|
+
let startTimeAsString = moment(currentDate).format(this.shortstartformat);
|
|
130
|
+
this.startdate = (this.state === 'Running' || this.state == 'Closing' || this.state == 'Closed') ?
|
|
131
|
+
translate('startedAtWithTime', this.language) + startTimeAsString :
|
|
132
|
+
translate('startingAtWithTime', this.language) + startTimeAsString;
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
let currentMonthKey = new Intl.DateTimeFormat('en', dateOptions).format(currentDate);
|
|
136
|
+
let currentDay = currentDate.getDate();
|
|
137
|
+
let currentHour = currentDate.toLocaleString('en-GB', { hour: 'numeric', minute: 'numeric', hour12: false });
|
|
138
|
+
this.startdate =
|
|
139
|
+
`${currentDay}` + ' ' +
|
|
140
|
+
translate(`${currentMonthKey}`, this.language) + ', ' +
|
|
141
|
+
setTranslation() +
|
|
142
|
+
` ${currentHour}`;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
93
145
|
componentWillLoad() {
|
|
94
146
|
if (!this.useEvent && this.startTime) {
|
|
95
147
|
this.formatDate();
|
|
@@ -97,9 +149,23 @@ export class CasinoTournamentBanner {
|
|
|
97
149
|
if (this.state) {
|
|
98
150
|
this.stateText = this.getStateText(this.state);
|
|
99
151
|
}
|
|
152
|
+
if (this.startTime && this.endTime) {
|
|
153
|
+
this.getDuration();
|
|
154
|
+
this.getTextByDiff(this.tournamentLeftDays);
|
|
155
|
+
}
|
|
156
|
+
if (this.tournamentLeftDays < 1440 && this.tournamentLeftDays > 0) {
|
|
157
|
+
this.durationInterval = window.setInterval(() => {
|
|
158
|
+
if (this.startTime && this.endTime) {
|
|
159
|
+
this.getDuration();
|
|
160
|
+
}
|
|
161
|
+
}, 1000);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
clearInterval(this.durationInterval);
|
|
165
|
+
}
|
|
100
166
|
}
|
|
101
167
|
termsClick(tournamentId) {
|
|
102
|
-
window.postMessage({ type: '
|
|
168
|
+
window.postMessage({ type: 'TournamentTermsConditions', tournamentId: tournamentId }, window.location.href);
|
|
103
169
|
}
|
|
104
170
|
render() {
|
|
105
171
|
return h("div", { ref: el => this.stylingContainer = el, class: "TournamentBannerWrap" }, this.thumbnail && h("div", { class: "TournamentBanner", part: "TournamentBanner" },
|
|
@@ -124,18 +190,24 @@ export class CasinoTournamentBanner {
|
|
|
124
190
|
h("div", { class: "ThumbTitle", part: "ThumbTitle" }, translate('tournament', this.language)),
|
|
125
191
|
h("div", { class: "ThumbName", part: "ThumbName" }, this.nameOrTitle),
|
|
126
192
|
h("div", { class: "ThumbState" },
|
|
127
|
-
this.enrolled ?
|
|
193
|
+
this.session && this.enrolled ?
|
|
128
194
|
h("span", { class: "Tag Join" },
|
|
129
195
|
h("svg", { class: "EnrollCheck", xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" },
|
|
130
196
|
h("path", { d: "M4.50008 8.08492L2.41508 5.99992L1.70508 6.70492L4.50008 9.49992L10.5001 3.49992L9.79508 2.79492L4.50008 8.08492Z", fill: "white" })),
|
|
131
197
|
translate('joined', this.language))
|
|
132
198
|
:
|
|
133
|
-
this.state != 'Closed' &&
|
|
199
|
+
this.session && this.state != 'Closed' &&
|
|
134
200
|
h("span", { class: "Tag Join" },
|
|
135
201
|
h("svg", { class: "JoinPlus", xmlns: "http://www.w3.org/2000/svg", width: "12", height: "13", viewBox: "0 0 12 13", fill: "none" },
|
|
136
202
|
h("path", { d: "M9.5 6.8335H6.5V9.8335H5.5V6.8335H2.5V5.8335H5.5V2.8335H6.5V5.8335H9.5V6.8335Z", fill: "white" })),
|
|
137
203
|
translate('join', this.language)),
|
|
138
|
-
this.state == 'Running' && h("span", { class: `Tag State ${this.state}` },
|
|
204
|
+
this.state == 'Running' && h("span", { class: `Tag State ${this.state}` },
|
|
205
|
+
this.stateText,
|
|
206
|
+
this.showRunningDate &&
|
|
207
|
+
h("span", { class: "TagRemain" },
|
|
208
|
+
this.showRemain,
|
|
209
|
+
" ",
|
|
210
|
+
translate('left', this.language))),
|
|
139
211
|
(this.state == 'Unstarted' || this.state == 'Upcoming' || this.state == 'Closed') &&
|
|
140
212
|
h("span", { class: `Tag Date ${this.state}` },
|
|
141
213
|
this.showCalendar &&
|
|
@@ -165,14 +237,31 @@ export class CasinoTournamentBanner {
|
|
|
165
237
|
"references": {}
|
|
166
238
|
},
|
|
167
239
|
"required": false,
|
|
168
|
-
"optional":
|
|
240
|
+
"optional": true,
|
|
169
241
|
"docs": {
|
|
170
242
|
"tags": [],
|
|
171
|
-
"text": ""
|
|
243
|
+
"text": "Use event to load data"
|
|
172
244
|
},
|
|
173
245
|
"attribute": "use-event",
|
|
174
246
|
"reflect": false
|
|
175
247
|
},
|
|
248
|
+
"endpoint": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"mutable": false,
|
|
251
|
+
"complexType": {
|
|
252
|
+
"original": "string",
|
|
253
|
+
"resolved": "string",
|
|
254
|
+
"references": {}
|
|
255
|
+
},
|
|
256
|
+
"required": false,
|
|
257
|
+
"optional": true,
|
|
258
|
+
"docs": {
|
|
259
|
+
"tags": [],
|
|
260
|
+
"text": "The NWA endpoint"
|
|
261
|
+
},
|
|
262
|
+
"attribute": "endpoint",
|
|
263
|
+
"reflect": false
|
|
264
|
+
},
|
|
176
265
|
"state": {
|
|
177
266
|
"type": "string",
|
|
178
267
|
"mutable": false,
|
|
@@ -182,10 +271,10 @@ export class CasinoTournamentBanner {
|
|
|
182
271
|
"references": {}
|
|
183
272
|
},
|
|
184
273
|
"required": false,
|
|
185
|
-
"optional":
|
|
274
|
+
"optional": true,
|
|
186
275
|
"docs": {
|
|
187
276
|
"tags": [],
|
|
188
|
-
"text": ""
|
|
277
|
+
"text": "The tournament state"
|
|
189
278
|
},
|
|
190
279
|
"attribute": "state",
|
|
191
280
|
"reflect": false
|
|
@@ -199,10 +288,10 @@ export class CasinoTournamentBanner {
|
|
|
199
288
|
"references": {}
|
|
200
289
|
},
|
|
201
290
|
"required": false,
|
|
202
|
-
"optional":
|
|
291
|
+
"optional": true,
|
|
203
292
|
"docs": {
|
|
204
293
|
"tags": [],
|
|
205
|
-
"text": ""
|
|
294
|
+
"text": "Player enrolled"
|
|
206
295
|
},
|
|
207
296
|
"attribute": "enrolled",
|
|
208
297
|
"reflect": false
|
|
@@ -216,14 +305,31 @@ export class CasinoTournamentBanner {
|
|
|
216
305
|
"references": {}
|
|
217
306
|
},
|
|
218
307
|
"required": false,
|
|
219
|
-
"optional":
|
|
308
|
+
"optional": true,
|
|
220
309
|
"docs": {
|
|
221
310
|
"tags": [],
|
|
222
|
-
"text": ""
|
|
311
|
+
"text": "Tournament start time"
|
|
223
312
|
},
|
|
224
313
|
"attribute": "start-time",
|
|
225
314
|
"reflect": false
|
|
226
315
|
},
|
|
316
|
+
"endTime": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"mutable": false,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "string",
|
|
321
|
+
"resolved": "string",
|
|
322
|
+
"references": {}
|
|
323
|
+
},
|
|
324
|
+
"required": false,
|
|
325
|
+
"optional": true,
|
|
326
|
+
"docs": {
|
|
327
|
+
"tags": [],
|
|
328
|
+
"text": "Tournament end time"
|
|
329
|
+
},
|
|
330
|
+
"attribute": "end-time",
|
|
331
|
+
"reflect": false
|
|
332
|
+
},
|
|
227
333
|
"thumbnail": {
|
|
228
334
|
"type": "string",
|
|
229
335
|
"mutable": false,
|
|
@@ -233,10 +339,10 @@ export class CasinoTournamentBanner {
|
|
|
233
339
|
"references": {}
|
|
234
340
|
},
|
|
235
341
|
"required": false,
|
|
236
|
-
"optional":
|
|
342
|
+
"optional": true,
|
|
237
343
|
"docs": {
|
|
238
344
|
"tags": [],
|
|
239
|
-
"text": ""
|
|
345
|
+
"text": "Tournament thumbnail"
|
|
240
346
|
},
|
|
241
347
|
"attribute": "thumbnail",
|
|
242
348
|
"reflect": false
|
|
@@ -249,11 +355,11 @@ export class CasinoTournamentBanner {
|
|
|
249
355
|
"resolved": "string",
|
|
250
356
|
"references": {}
|
|
251
357
|
},
|
|
252
|
-
"required":
|
|
358
|
+
"required": true,
|
|
253
359
|
"optional": false,
|
|
254
360
|
"docs": {
|
|
255
361
|
"tags": [],
|
|
256
|
-
"text": ""
|
|
362
|
+
"text": "Widget Language to show"
|
|
257
363
|
},
|
|
258
364
|
"attribute": "language",
|
|
259
365
|
"reflect": false
|
|
@@ -267,10 +373,10 @@ export class CasinoTournamentBanner {
|
|
|
267
373
|
"references": {}
|
|
268
374
|
},
|
|
269
375
|
"required": false,
|
|
270
|
-
"optional":
|
|
376
|
+
"optional": true,
|
|
271
377
|
"docs": {
|
|
272
378
|
"tags": [],
|
|
273
|
-
"text": ""
|
|
379
|
+
"text": "Show calendar icon"
|
|
274
380
|
},
|
|
275
381
|
"attribute": "show-calendar",
|
|
276
382
|
"reflect": false
|
|
@@ -284,10 +390,10 @@ export class CasinoTournamentBanner {
|
|
|
284
390
|
"references": {}
|
|
285
391
|
},
|
|
286
392
|
"required": false,
|
|
287
|
-
"optional":
|
|
393
|
+
"optional": true,
|
|
288
394
|
"docs": {
|
|
289
395
|
"tags": [],
|
|
290
|
-
"text": ""
|
|
396
|
+
"text": "Show short start time on tag"
|
|
291
397
|
},
|
|
292
398
|
"attribute": "short-start",
|
|
293
399
|
"reflect": false
|
|
@@ -301,10 +407,10 @@ export class CasinoTournamentBanner {
|
|
|
301
407
|
"references": {}
|
|
302
408
|
},
|
|
303
409
|
"required": false,
|
|
304
|
-
"optional":
|
|
410
|
+
"optional": true,
|
|
305
411
|
"docs": {
|
|
306
412
|
"tags": [],
|
|
307
|
-
"text": ""
|
|
413
|
+
"text": "Short start time format"
|
|
308
414
|
},
|
|
309
415
|
"attribute": "shortstartformat",
|
|
310
416
|
"reflect": false,
|
|
@@ -319,15 +425,33 @@ export class CasinoTournamentBanner {
|
|
|
319
425
|
"references": {}
|
|
320
426
|
},
|
|
321
427
|
"required": false,
|
|
322
|
-
"optional":
|
|
428
|
+
"optional": true,
|
|
323
429
|
"docs": {
|
|
324
430
|
"tags": [],
|
|
325
|
-
"text": ""
|
|
431
|
+
"text": "Show date on widget"
|
|
326
432
|
},
|
|
327
433
|
"attribute": "show-date",
|
|
328
434
|
"reflect": false,
|
|
329
435
|
"defaultValue": "true"
|
|
330
436
|
},
|
|
437
|
+
"showRunningDate": {
|
|
438
|
+
"type": "boolean",
|
|
439
|
+
"mutable": false,
|
|
440
|
+
"complexType": {
|
|
441
|
+
"original": "boolean",
|
|
442
|
+
"resolved": "boolean",
|
|
443
|
+
"references": {}
|
|
444
|
+
},
|
|
445
|
+
"required": false,
|
|
446
|
+
"optional": true,
|
|
447
|
+
"docs": {
|
|
448
|
+
"tags": [],
|
|
449
|
+
"text": "Show date on running state tournament tag"
|
|
450
|
+
},
|
|
451
|
+
"attribute": "show-running-date",
|
|
452
|
+
"reflect": false,
|
|
453
|
+
"defaultValue": "false"
|
|
454
|
+
},
|
|
331
455
|
"showCheck": {
|
|
332
456
|
"type": "boolean",
|
|
333
457
|
"mutable": false,
|
|
@@ -337,10 +461,10 @@ export class CasinoTournamentBanner {
|
|
|
337
461
|
"references": {}
|
|
338
462
|
},
|
|
339
463
|
"required": false,
|
|
340
|
-
"optional":
|
|
464
|
+
"optional": true,
|
|
341
465
|
"docs": {
|
|
342
466
|
"tags": [],
|
|
343
|
-
"text": ""
|
|
467
|
+
"text": "Show check icon on enrolled tag"
|
|
344
468
|
},
|
|
345
469
|
"attribute": "show-check",
|
|
346
470
|
"reflect": false,
|
|
@@ -355,10 +479,10 @@ export class CasinoTournamentBanner {
|
|
|
355
479
|
"references": {}
|
|
356
480
|
},
|
|
357
481
|
"required": false,
|
|
358
|
-
"optional":
|
|
482
|
+
"optional": true,
|
|
359
483
|
"docs": {
|
|
360
484
|
"tags": [],
|
|
361
|
-
"text": ""
|
|
485
|
+
"text": "Widget display as a card"
|
|
362
486
|
},
|
|
363
487
|
"attribute": "card-mode",
|
|
364
488
|
"reflect": false,
|
|
@@ -373,10 +497,10 @@ export class CasinoTournamentBanner {
|
|
|
373
497
|
"references": {}
|
|
374
498
|
},
|
|
375
499
|
"required": false,
|
|
376
|
-
"optional":
|
|
500
|
+
"optional": true,
|
|
377
501
|
"docs": {
|
|
378
502
|
"tags": [],
|
|
379
|
-
"text": ""
|
|
503
|
+
"text": "Widget name or title"
|
|
380
504
|
},
|
|
381
505
|
"attribute": "name-or-title",
|
|
382
506
|
"reflect": false
|
|
@@ -390,10 +514,10 @@ export class CasinoTournamentBanner {
|
|
|
390
514
|
"references": {}
|
|
391
515
|
},
|
|
392
516
|
"required": false,
|
|
393
|
-
"optional":
|
|
517
|
+
"optional": true,
|
|
394
518
|
"docs": {
|
|
395
519
|
"tags": [],
|
|
396
|
-
"text": ""
|
|
520
|
+
"text": "Tournament ID"
|
|
397
521
|
},
|
|
398
522
|
"attribute": "tournament-id",
|
|
399
523
|
"reflect": false
|
|
@@ -407,10 +531,10 @@ export class CasinoTournamentBanner {
|
|
|
407
531
|
"references": {}
|
|
408
532
|
},
|
|
409
533
|
"required": false,
|
|
410
|
-
"optional":
|
|
534
|
+
"optional": true,
|
|
411
535
|
"docs": {
|
|
412
536
|
"tags": [],
|
|
413
|
-
"text": ""
|
|
537
|
+
"text": "The NWA Session"
|
|
414
538
|
},
|
|
415
539
|
"attribute": "session",
|
|
416
540
|
"reflect": false
|
|
@@ -424,10 +548,10 @@ export class CasinoTournamentBanner {
|
|
|
424
548
|
"references": {}
|
|
425
549
|
},
|
|
426
550
|
"required": false,
|
|
427
|
-
"optional":
|
|
551
|
+
"optional": true,
|
|
428
552
|
"docs": {
|
|
429
553
|
"tags": [],
|
|
430
|
-
"text": ""
|
|
554
|
+
"text": "Login event"
|
|
431
555
|
},
|
|
432
556
|
"attribute": "login-event",
|
|
433
557
|
"reflect": false
|
|
@@ -441,10 +565,10 @@ export class CasinoTournamentBanner {
|
|
|
441
565
|
"references": {}
|
|
442
566
|
},
|
|
443
567
|
"required": false,
|
|
444
|
-
"optional":
|
|
568
|
+
"optional": true,
|
|
445
569
|
"docs": {
|
|
446
570
|
"tags": [],
|
|
447
|
-
"text": ""
|
|
571
|
+
"text": "Login url"
|
|
448
572
|
},
|
|
449
573
|
"attribute": "login-url",
|
|
450
574
|
"reflect": false
|
|
@@ -458,10 +582,10 @@ export class CasinoTournamentBanner {
|
|
|
458
582
|
"references": {}
|
|
459
583
|
},
|
|
460
584
|
"required": false,
|
|
461
|
-
"optional":
|
|
585
|
+
"optional": true,
|
|
462
586
|
"docs": {
|
|
463
587
|
"tags": [],
|
|
464
|
-
"text": ""
|
|
588
|
+
"text": "Register Event"
|
|
465
589
|
},
|
|
466
590
|
"attribute": "register-event",
|
|
467
591
|
"reflect": false
|
|
@@ -475,31 +599,14 @@ export class CasinoTournamentBanner {
|
|
|
475
599
|
"references": {}
|
|
476
600
|
},
|
|
477
601
|
"required": false,
|
|
478
|
-
"optional":
|
|
602
|
+
"optional": true,
|
|
479
603
|
"docs": {
|
|
480
604
|
"tags": [],
|
|
481
|
-
"text": ""
|
|
605
|
+
"text": "Register url"
|
|
482
606
|
},
|
|
483
607
|
"attribute": "register-url",
|
|
484
608
|
"reflect": false
|
|
485
609
|
},
|
|
486
|
-
"endpoint": {
|
|
487
|
-
"type": "string",
|
|
488
|
-
"mutable": false,
|
|
489
|
-
"complexType": {
|
|
490
|
-
"original": "string",
|
|
491
|
-
"resolved": "string",
|
|
492
|
-
"references": {}
|
|
493
|
-
},
|
|
494
|
-
"required": false,
|
|
495
|
-
"optional": false,
|
|
496
|
-
"docs": {
|
|
497
|
-
"tags": [],
|
|
498
|
-
"text": ""
|
|
499
|
-
},
|
|
500
|
-
"attribute": "endpoint",
|
|
501
|
-
"reflect": false
|
|
502
|
-
},
|
|
503
610
|
"currency": {
|
|
504
611
|
"type": "string",
|
|
505
612
|
"mutable": false,
|
|
@@ -509,10 +616,10 @@ export class CasinoTournamentBanner {
|
|
|
509
616
|
"references": {}
|
|
510
617
|
},
|
|
511
618
|
"required": false,
|
|
512
|
-
"optional":
|
|
619
|
+
"optional": true,
|
|
513
620
|
"docs": {
|
|
514
621
|
"tags": [],
|
|
515
|
-
"text": ""
|
|
622
|
+
"text": "Player currency"
|
|
516
623
|
},
|
|
517
624
|
"attribute": "currency",
|
|
518
625
|
"reflect": false
|
|
@@ -526,10 +633,10 @@ export class CasinoTournamentBanner {
|
|
|
526
633
|
"references": {}
|
|
527
634
|
},
|
|
528
635
|
"required": false,
|
|
529
|
-
"optional":
|
|
636
|
+
"optional": true,
|
|
530
637
|
"docs": {
|
|
531
638
|
"tags": [],
|
|
532
|
-
"text": ""
|
|
639
|
+
"text": "Bonus Code"
|
|
533
640
|
},
|
|
534
641
|
"attribute": "bonus-code",
|
|
535
642
|
"reflect": false
|
|
@@ -543,10 +650,10 @@ export class CasinoTournamentBanner {
|
|
|
543
650
|
"references": {}
|
|
544
651
|
},
|
|
545
652
|
"required": false,
|
|
546
|
-
"optional":
|
|
653
|
+
"optional": true,
|
|
547
654
|
"docs": {
|
|
548
655
|
"tags": [],
|
|
549
|
-
"text": ""
|
|
656
|
+
"text": "Show read more button"
|
|
550
657
|
},
|
|
551
658
|
"attribute": "show-read-more",
|
|
552
659
|
"reflect": false,
|
|
@@ -561,10 +668,10 @@ export class CasinoTournamentBanner {
|
|
|
561
668
|
"references": {}
|
|
562
669
|
},
|
|
563
670
|
"required": false,
|
|
564
|
-
"optional":
|
|
671
|
+
"optional": true,
|
|
565
672
|
"docs": {
|
|
566
673
|
"tags": [],
|
|
567
|
-
"text": ""
|
|
674
|
+
"text": "Client custom styling via inline styles"
|
|
568
675
|
},
|
|
569
676
|
"attribute": "client-styling",
|
|
570
677
|
"reflect": false,
|
|
@@ -579,10 +686,10 @@ export class CasinoTournamentBanner {
|
|
|
579
686
|
"references": {}
|
|
580
687
|
},
|
|
581
688
|
"required": false,
|
|
582
|
-
"optional":
|
|
689
|
+
"optional": true,
|
|
583
690
|
"docs": {
|
|
584
691
|
"tags": [],
|
|
585
|
-
"text": ""
|
|
692
|
+
"text": "Client custom styling via url"
|
|
586
693
|
},
|
|
587
694
|
"attribute": "client-styling-url",
|
|
588
695
|
"reflect": false,
|
|
@@ -593,7 +700,10 @@ export class CasinoTournamentBanner {
|
|
|
593
700
|
"stateText": {},
|
|
594
701
|
"limitStylingAppends": {},
|
|
595
702
|
"stylingContainer": {},
|
|
596
|
-
"startdate": {}
|
|
703
|
+
"startdate": {},
|
|
704
|
+
"tournamentLeftDays": {},
|
|
705
|
+
"showRemain": {},
|
|
706
|
+
"durationInterval": {}
|
|
597
707
|
}; }
|
|
598
708
|
static get listeners() { return [{
|
|
599
709
|
"name": "getTournamentInfoCompleted",
|