@everymatrix/lottery-draw-results 1.56.0 → 1.56.2
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/{index-40b9eb85.js → index-d192649c.js} +73 -208
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-bullet_3.cjs.entry.js +45 -155
- package/dist/cjs/lottery-draw-results.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/lottery-draw-results/lottery-draw-results.js +20 -109
- package/dist/esm/{index-1f968172.js → index-db0ed104.js} +73 -208
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottery-bullet_3.entry.js +45 -155
- package/dist/esm/lottery-draw-results.js +3 -3
- package/dist/lottery-draw-results/lottery-draw-results.esm.js +1 -1
- package/dist/lottery-draw-results/p-b8d0e94e.js +2 -0
- package/dist/lottery-draw-results/p-f143a1e2.entry.js +1 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/packages/stencil/lottery-draw-results/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/packages/stencil/lottery-draw-results/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/lottery-draw-results/p-9ad77409.entry.js +0 -1
- package/dist/lottery-draw-results/p-ba7135c7.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/packages/stencil/lottery-draw-results/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/packages/stencil/lottery-draw-results/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-draw-results/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-d192649c.js');
|
|
6
6
|
|
|
7
7
|
const lotteryBulletCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}@-webkit-keyframes Circle{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes Circle{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes hover-rotate{0%{-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}50%{-webkit-transform:scale(1.2) rotateZ(180deg);transform:scale(1.22) rotateZ(180deg)}100%{-webkit-transform:scale(1) rotateZ(360deg);transform:scale(1) rotateZ(360deg)}}@keyframes hover-rotate{0%{-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}50%{-webkit-transform:scale(1.2) rotateZ(180deg);transform:scale(1.2) rotateZ(180deg)}100%{-webkit-transform:scale(1) rotateZ(360deg);transform:scale(1) rotateZ(360deg)}}@-webkit-keyframes selected-scaleUp{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes selected-scaleUp{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}.Circle{-webkit-animation:Circle 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:Circle 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) both;cursor:pointer;color:var(--emw--button-text-color, #000);display:block;height:30px;width:30px;margin:0;display:flex;align-items:center;justify-content:center;justify-content:center;align-items:center;border:solid 2px var(--emw--color-gray-transparency-100, rgb(255, 255, 255));background:radial-gradient(circle at top, var(--emw--color-gray-transparency-100, rgb(255, 255, 255)) 0%, var(--emw--color-gray-transparency-100, rgb(255, 255, 255)) 100%);font-weight:bold;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.5);user-select:none;font-size:16px;line-height:16px;font-weight:600;position:relative}.Circle:hover{-webkit-animation:hover-rotate 0.4s linear both;animation:hover-rotate 0.4s linear both;background:radial-gradient(circle at top, var(--emw--color-gray-transparency-100, rgb(255, 255, 255)) 0%, var(--emw--color-gray-50, #F1F1F1) 100%)}.Circle.Selected{-webkit-animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));background:var(--emw--color-primary, #9EC258);background:-webkit-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:-moz-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:radial-gradient(circle at top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));border:solid 2px var(--emw--button-border-color, #00958f)}.Circle.Disabled{-webkit-animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;color:var(--emw--color-gray-50, #F1F1F1);background:var(--emw--color-gray-100, #D4D4D4);border:solid 2px var(--emw--color-gray-100, #D4D4D4);cursor:default}.Circle.DisabledSelected{-webkit-animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;color:var(--emw--color-gray-50, #F1F1F1);background:var(--emw--color-primary, #9EC258);background:-webkit-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:-moz-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:radial-gradient(circle at top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));border:solid 2px var(--emw--color-gray-100, #D4D4D4);cursor:default}.Circle.Bonus{background:var(--emw--color-error, #FF3D00)}";
|
|
8
8
|
const LotteryBulletStyle0 = lotteryBulletCss;
|
|
@@ -11,31 +11,6 @@ const LotteryBullet = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.bulletEvent = index.createEvent(this, "lotteryBulletSelection", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Value of the bullet
|
|
16
|
-
*/
|
|
17
|
-
this.value = '0';
|
|
18
|
-
/**
|
|
19
|
-
* Marks if the bullet should be selectable
|
|
20
|
-
*/
|
|
21
|
-
this.selectable = true;
|
|
22
|
-
/**
|
|
23
|
-
* Marks if the bullet should be selected
|
|
24
|
-
*/
|
|
25
|
-
this.isSelected = false;
|
|
26
|
-
/**
|
|
27
|
-
* Marks if the number is bonus number.
|
|
28
|
-
*/
|
|
29
|
-
this.isBonus = false;
|
|
30
|
-
/**
|
|
31
|
-
* Client custom styling via string
|
|
32
|
-
*/
|
|
33
|
-
this.clientStyling = '';
|
|
34
|
-
/**
|
|
35
|
-
* Client custom styling via url content
|
|
36
|
-
*/
|
|
37
|
-
this.clientStylingUrlContent = '';
|
|
38
|
-
this.limitStylingAppends = false;
|
|
39
14
|
this.select = () => {
|
|
40
15
|
if (this.selectable) {
|
|
41
16
|
this.isSelected = !this.isSelected;
|
|
@@ -57,6 +32,13 @@ const LotteryBullet = class {
|
|
|
57
32
|
this.stylingContainer.prepend(cssFile);
|
|
58
33
|
}, 1);
|
|
59
34
|
};
|
|
35
|
+
this.value = '0';
|
|
36
|
+
this.selectable = true;
|
|
37
|
+
this.isSelected = false;
|
|
38
|
+
this.isBonus = false;
|
|
39
|
+
this.clientStyling = '';
|
|
40
|
+
this.clientStylingUrlContent = '';
|
|
41
|
+
this.limitStylingAppends = false;
|
|
60
42
|
}
|
|
61
43
|
componentDidRender() {
|
|
62
44
|
// start custom styling area
|
|
@@ -162,74 +144,42 @@ const LotteryDrawResultsStyle0 = lotteryDrawResultsCss;
|
|
|
162
144
|
const LotteryDrawResults = class {
|
|
163
145
|
constructor(hostRef) {
|
|
164
146
|
index.registerInstance(this, hostRef);
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
147
|
+
this.ticketDrawDetails = [];
|
|
148
|
+
this.ticketDrawDetailsFlag = true;
|
|
149
|
+
this.setClientStyling = () => {
|
|
150
|
+
let sheet = document.createElement('style');
|
|
151
|
+
sheet.innerHTML = this.clientStyling;
|
|
152
|
+
this.stylingContainer.prepend(sheet);
|
|
153
|
+
};
|
|
154
|
+
this.setClientStylingURL = () => {
|
|
155
|
+
let cssFile = document.createElement('style');
|
|
156
|
+
setTimeout(() => {
|
|
157
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
158
|
+
this.stylingContainer.prepend(cssFile);
|
|
159
|
+
}, 1);
|
|
160
|
+
};
|
|
161
|
+
this.endpoint = undefined;
|
|
162
|
+
this.gameId = undefined;
|
|
168
163
|
this.language = 'en';
|
|
169
|
-
|
|
170
|
-
* Shows only the last draw
|
|
171
|
-
*/
|
|
164
|
+
this.playerId = undefined;
|
|
172
165
|
this.drawMode = false;
|
|
173
|
-
/**
|
|
174
|
-
* The drawID (option)
|
|
175
|
-
*/
|
|
176
166
|
this.drawId = '';
|
|
177
|
-
/**
|
|
178
|
-
* The game name
|
|
179
|
-
*/
|
|
180
167
|
this.gameName = '';
|
|
181
|
-
/**
|
|
182
|
-
* The ticket submission date
|
|
183
|
-
*/
|
|
184
168
|
this.ticketDate = '';
|
|
185
|
-
/**
|
|
186
|
-
* The ticket status
|
|
187
|
-
*/
|
|
188
169
|
this.ticketStatus = '';
|
|
189
|
-
/**
|
|
190
|
-
* The ticket id
|
|
191
|
-
*/
|
|
192
170
|
this.ticketId = '';
|
|
193
|
-
/**
|
|
194
|
-
* The ticket amount
|
|
195
|
-
*/
|
|
196
171
|
this.ticketAmount = '';
|
|
197
|
-
/**
|
|
198
|
-
* The ticket currency
|
|
199
|
-
*/
|
|
200
172
|
this.ticketCurrency = '';
|
|
201
|
-
/**
|
|
202
|
-
* The ticket is multiplier or not
|
|
203
|
-
*/
|
|
204
173
|
this.ticketMultiplier = false;
|
|
205
|
-
|
|
206
|
-
* The ticket draw count
|
|
207
|
-
*/
|
|
174
|
+
this.ticketMultiplierNum = undefined;
|
|
208
175
|
this.ticketDrawCount = 0;
|
|
209
|
-
/**
|
|
210
|
-
* The ticket winning numbers
|
|
211
|
-
*/
|
|
212
176
|
this.ticketNumbers = '';
|
|
213
|
-
/**
|
|
214
|
-
* The session id
|
|
215
|
-
*/
|
|
216
177
|
this.sessionId = '';
|
|
217
|
-
/**
|
|
218
|
-
* Client custom styling via string
|
|
219
|
-
*/
|
|
220
178
|
this.clientStyling = '';
|
|
221
|
-
/**
|
|
222
|
-
* Client custom styling via url content
|
|
223
|
-
*/
|
|
224
179
|
this.clientStylingUrlContent = '';
|
|
225
|
-
/**
|
|
226
|
-
* Data showing the ticket's draw results details
|
|
227
|
-
*/
|
|
228
180
|
this.ticketDrawData = '';
|
|
229
|
-
/**
|
|
230
|
-
* the filter value
|
|
231
|
-
*/
|
|
232
181
|
this.tabValue = '';
|
|
182
|
+
this.translationUrl = undefined;
|
|
233
183
|
this.multiplier = 3;
|
|
234
184
|
this.isLoading = true;
|
|
235
185
|
this.hasErrors = false;
|
|
@@ -239,20 +189,7 @@ const LotteryDrawResults = class {
|
|
|
239
189
|
this.ticketDraws = [];
|
|
240
190
|
this.toggleDrawer = [false];
|
|
241
191
|
this.limitStylingAppends = false;
|
|
242
|
-
this.
|
|
243
|
-
this.ticketDrawDetailsFlag = true;
|
|
244
|
-
this.setClientStyling = () => {
|
|
245
|
-
let sheet = document.createElement('style');
|
|
246
|
-
sheet.innerHTML = this.clientStyling;
|
|
247
|
-
this.stylingContainer.prepend(sheet);
|
|
248
|
-
};
|
|
249
|
-
this.setClientStylingURL = () => {
|
|
250
|
-
let cssFile = document.createElement('style');
|
|
251
|
-
setTimeout(() => {
|
|
252
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
253
|
-
this.stylingContainer.prepend(cssFile);
|
|
254
|
-
}, 1);
|
|
255
|
-
};
|
|
192
|
+
this.drawData = undefined;
|
|
256
193
|
}
|
|
257
194
|
componentWillLoad() {
|
|
258
195
|
if (this.translationUrl) {
|
|
@@ -398,88 +335,41 @@ const LotteryGrid = class {
|
|
|
398
335
|
this.gridFilledEvent = index.createEvent(this, "gridFilled", 7);
|
|
399
336
|
this.gridDirtyEvent = index.createEvent(this, "gridDirty", 7);
|
|
400
337
|
this.gridClearAllEvent = index.createEvent(this, "gridClearAllEvent", 7);
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
338
|
+
this.selectedCounter = 0;
|
|
339
|
+
this.setClientStyling = () => {
|
|
340
|
+
let sheet = document.createElement('style');
|
|
341
|
+
sheet.innerHTML = this.clientStyling;
|
|
342
|
+
this.stylingContainer.prepend(sheet);
|
|
343
|
+
};
|
|
344
|
+
this.setClientStylingURL = () => {
|
|
345
|
+
let cssFile = document.createElement('style');
|
|
346
|
+
setTimeout(() => {
|
|
347
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
348
|
+
this.stylingContainer.prepend(cssFile);
|
|
349
|
+
}, 1);
|
|
350
|
+
};
|
|
351
|
+
this.ticketId = undefined;
|
|
404
352
|
this.totalNumbers = 0;
|
|
405
|
-
|
|
406
|
-
* Number of maximum bullets that can be selected
|
|
407
|
-
*/
|
|
353
|
+
this.gameId = undefined;
|
|
408
354
|
this.maximumAllowed = 7;
|
|
409
|
-
/**
|
|
410
|
-
* Minimum allowed of bullets
|
|
411
|
-
*/
|
|
412
355
|
this.minimumAllowed = 3;
|
|
413
|
-
|
|
414
|
-
* Allows the user to select numbers on the grid
|
|
415
|
-
*/
|
|
356
|
+
this.numberRange = undefined;
|
|
416
357
|
this.selectable = true;
|
|
417
|
-
/**
|
|
418
|
-
* Numbers that should be showed as selected on the grid (as a string of those numbers e.g. '1,2,3,4,5,6')
|
|
419
|
-
*/
|
|
420
358
|
this.selectedNumbers = '';
|
|
421
|
-
/**
|
|
422
|
-
* Bonus numbers that should be showed as selected on the grid (as a string of those numbers e.g. '1')
|
|
423
|
-
*/
|
|
424
359
|
this.secondaryNumbers = '';
|
|
425
|
-
/**
|
|
426
|
-
* Show only selected numbers
|
|
427
|
-
*/
|
|
428
360
|
this.displaySelected = false;
|
|
429
|
-
/**
|
|
430
|
-
* Language
|
|
431
|
-
*/
|
|
432
361
|
this.language = 'en';
|
|
433
|
-
|
|
434
|
-
* Personalize grid for ticket
|
|
435
|
-
*/
|
|
362
|
+
this.gridIndex = undefined;
|
|
436
363
|
this.gridType = '';
|
|
437
|
-
/**
|
|
438
|
-
* Client custom styling via string
|
|
439
|
-
*/
|
|
440
364
|
this.clientStyling = '';
|
|
441
|
-
/**
|
|
442
|
-
* Client custom styling via url content
|
|
443
|
-
*/
|
|
444
365
|
this.clientStylingUrlContent = '';
|
|
445
|
-
/**
|
|
446
|
-
* Maximum number of the grid
|
|
447
|
-
*/
|
|
448
366
|
this.highNumber = 47;
|
|
449
|
-
/**
|
|
450
|
-
* Lowest number of the grid
|
|
451
|
-
*/
|
|
452
367
|
this.lowNumber = 1;
|
|
453
|
-
/**
|
|
454
|
-
* Type of selection
|
|
455
|
-
*/
|
|
456
368
|
this.selectionType = 'mainSelection';
|
|
457
|
-
/**
|
|
458
|
-
* Allows partial quickpick or not
|
|
459
|
-
*/
|
|
460
369
|
this.partialQuickpickAvailable = false;
|
|
461
|
-
/**
|
|
462
|
-
* main selection numbers
|
|
463
|
-
*/
|
|
464
370
|
this.numbers = [];
|
|
465
|
-
/**
|
|
466
|
-
* Bonus selection numbers
|
|
467
|
-
*/
|
|
468
371
|
this.bonusNumbers = [];
|
|
469
372
|
this.limitStylingAppends = false;
|
|
470
|
-
this.selectedCounter = 0;
|
|
471
|
-
this.setClientStyling = () => {
|
|
472
|
-
let sheet = document.createElement('style');
|
|
473
|
-
sheet.innerHTML = this.clientStyling;
|
|
474
|
-
this.stylingContainer.prepend(sheet);
|
|
475
|
-
};
|
|
476
|
-
this.setClientStylingURL = () => {
|
|
477
|
-
let cssFile = document.createElement('style');
|
|
478
|
-
setTimeout(() => {
|
|
479
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
480
|
-
this.stylingContainer.prepend(cssFile);
|
|
481
|
-
}, 1);
|
|
482
|
-
};
|
|
483
373
|
}
|
|
484
374
|
connectedCallback() {
|
|
485
375
|
let selected = [];
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-d192649c.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-draw-results.cjs.js', document.baseURI).href));
|
|
@@ -3,74 +3,42 @@ import { translate, getTranslations } from "../../utils/locale.utils";
|
|
|
3
3
|
import "../../../../../lottery-grid/dist/types/index";
|
|
4
4
|
export class LotteryDrawResults {
|
|
5
5
|
constructor() {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
this.ticketDrawDetails = [];
|
|
7
|
+
this.ticketDrawDetailsFlag = true;
|
|
8
|
+
this.setClientStyling = () => {
|
|
9
|
+
let sheet = document.createElement('style');
|
|
10
|
+
sheet.innerHTML = this.clientStyling;
|
|
11
|
+
this.stylingContainer.prepend(sheet);
|
|
12
|
+
};
|
|
13
|
+
this.setClientStylingURL = () => {
|
|
14
|
+
let cssFile = document.createElement('style');
|
|
15
|
+
setTimeout(() => {
|
|
16
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
17
|
+
this.stylingContainer.prepend(cssFile);
|
|
18
|
+
}, 1);
|
|
19
|
+
};
|
|
20
|
+
this.endpoint = undefined;
|
|
21
|
+
this.gameId = undefined;
|
|
9
22
|
this.language = 'en';
|
|
10
|
-
|
|
11
|
-
* Shows only the last draw
|
|
12
|
-
*/
|
|
23
|
+
this.playerId = undefined;
|
|
13
24
|
this.drawMode = false;
|
|
14
|
-
/**
|
|
15
|
-
* The drawID (option)
|
|
16
|
-
*/
|
|
17
25
|
this.drawId = '';
|
|
18
|
-
/**
|
|
19
|
-
* The game name
|
|
20
|
-
*/
|
|
21
26
|
this.gameName = '';
|
|
22
|
-
/**
|
|
23
|
-
* The ticket submission date
|
|
24
|
-
*/
|
|
25
27
|
this.ticketDate = '';
|
|
26
|
-
/**
|
|
27
|
-
* The ticket status
|
|
28
|
-
*/
|
|
29
28
|
this.ticketStatus = '';
|
|
30
|
-
/**
|
|
31
|
-
* The ticket id
|
|
32
|
-
*/
|
|
33
29
|
this.ticketId = '';
|
|
34
|
-
/**
|
|
35
|
-
* The ticket amount
|
|
36
|
-
*/
|
|
37
30
|
this.ticketAmount = '';
|
|
38
|
-
/**
|
|
39
|
-
* The ticket currency
|
|
40
|
-
*/
|
|
41
31
|
this.ticketCurrency = '';
|
|
42
|
-
/**
|
|
43
|
-
* The ticket is multiplier or not
|
|
44
|
-
*/
|
|
45
32
|
this.ticketMultiplier = false;
|
|
46
|
-
|
|
47
|
-
* The ticket draw count
|
|
48
|
-
*/
|
|
33
|
+
this.ticketMultiplierNum = undefined;
|
|
49
34
|
this.ticketDrawCount = 0;
|
|
50
|
-
/**
|
|
51
|
-
* The ticket winning numbers
|
|
52
|
-
*/
|
|
53
35
|
this.ticketNumbers = '';
|
|
54
|
-
/**
|
|
55
|
-
* The session id
|
|
56
|
-
*/
|
|
57
36
|
this.sessionId = '';
|
|
58
|
-
/**
|
|
59
|
-
* Client custom styling via string
|
|
60
|
-
*/
|
|
61
37
|
this.clientStyling = '';
|
|
62
|
-
/**
|
|
63
|
-
* Client custom styling via url content
|
|
64
|
-
*/
|
|
65
38
|
this.clientStylingUrlContent = '';
|
|
66
|
-
/**
|
|
67
|
-
* Data showing the ticket's draw results details
|
|
68
|
-
*/
|
|
69
39
|
this.ticketDrawData = '';
|
|
70
|
-
/**
|
|
71
|
-
* the filter value
|
|
72
|
-
*/
|
|
73
40
|
this.tabValue = '';
|
|
41
|
+
this.translationUrl = undefined;
|
|
74
42
|
this.multiplier = 3;
|
|
75
43
|
this.isLoading = true;
|
|
76
44
|
this.hasErrors = false;
|
|
@@ -80,20 +48,7 @@ export class LotteryDrawResults {
|
|
|
80
48
|
this.ticketDraws = [];
|
|
81
49
|
this.toggleDrawer = [false];
|
|
82
50
|
this.limitStylingAppends = false;
|
|
83
|
-
this.
|
|
84
|
-
this.ticketDrawDetailsFlag = true;
|
|
85
|
-
this.setClientStyling = () => {
|
|
86
|
-
let sheet = document.createElement('style');
|
|
87
|
-
sheet.innerHTML = this.clientStyling;
|
|
88
|
-
this.stylingContainer.prepend(sheet);
|
|
89
|
-
};
|
|
90
|
-
this.setClientStylingURL = () => {
|
|
91
|
-
let cssFile = document.createElement('style');
|
|
92
|
-
setTimeout(() => {
|
|
93
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
94
|
-
this.stylingContainer.prepend(cssFile);
|
|
95
|
-
}, 1);
|
|
96
|
-
};
|
|
51
|
+
this.drawData = undefined;
|
|
97
52
|
}
|
|
98
53
|
componentWillLoad() {
|
|
99
54
|
if (this.translationUrl) {
|
|
@@ -255,8 +210,6 @@ export class LotteryDrawResults {
|
|
|
255
210
|
"tags": [],
|
|
256
211
|
"text": "Endpoint URL for the source of data"
|
|
257
212
|
},
|
|
258
|
-
"getter": false,
|
|
259
|
-
"setter": false,
|
|
260
213
|
"attribute": "endpoint",
|
|
261
214
|
"reflect": true
|
|
262
215
|
},
|
|
@@ -274,8 +227,6 @@ export class LotteryDrawResults {
|
|
|
274
227
|
"tags": [],
|
|
275
228
|
"text": "GameID of the lottery game"
|
|
276
229
|
},
|
|
277
|
-
"getter": false,
|
|
278
|
-
"setter": false,
|
|
279
230
|
"attribute": "game-id",
|
|
280
231
|
"reflect": true
|
|
281
232
|
},
|
|
@@ -293,8 +244,6 @@ export class LotteryDrawResults {
|
|
|
293
244
|
"tags": [],
|
|
294
245
|
"text": "Language of the widget"
|
|
295
246
|
},
|
|
296
|
-
"getter": false,
|
|
297
|
-
"setter": false,
|
|
298
247
|
"attribute": "language",
|
|
299
248
|
"reflect": true,
|
|
300
249
|
"defaultValue": "'en'"
|
|
@@ -313,8 +262,6 @@ export class LotteryDrawResults {
|
|
|
313
262
|
"tags": [],
|
|
314
263
|
"text": "Player ID"
|
|
315
264
|
},
|
|
316
|
-
"getter": false,
|
|
317
|
-
"setter": false,
|
|
318
265
|
"attribute": "player-id",
|
|
319
266
|
"reflect": true
|
|
320
267
|
},
|
|
@@ -332,8 +279,6 @@ export class LotteryDrawResults {
|
|
|
332
279
|
"tags": [],
|
|
333
280
|
"text": "Shows only the last draw"
|
|
334
281
|
},
|
|
335
|
-
"getter": false,
|
|
336
|
-
"setter": false,
|
|
337
282
|
"attribute": "draw-mode",
|
|
338
283
|
"reflect": true,
|
|
339
284
|
"defaultValue": "false"
|
|
@@ -352,8 +297,6 @@ export class LotteryDrawResults {
|
|
|
352
297
|
"tags": [],
|
|
353
298
|
"text": "The drawID (option)"
|
|
354
299
|
},
|
|
355
|
-
"getter": false,
|
|
356
|
-
"setter": false,
|
|
357
300
|
"attribute": "draw-id",
|
|
358
301
|
"reflect": true,
|
|
359
302
|
"defaultValue": "''"
|
|
@@ -372,8 +315,6 @@ export class LotteryDrawResults {
|
|
|
372
315
|
"tags": [],
|
|
373
316
|
"text": "The game name"
|
|
374
317
|
},
|
|
375
|
-
"getter": false,
|
|
376
|
-
"setter": false,
|
|
377
318
|
"attribute": "game-name",
|
|
378
319
|
"reflect": true,
|
|
379
320
|
"defaultValue": "''"
|
|
@@ -392,8 +333,6 @@ export class LotteryDrawResults {
|
|
|
392
333
|
"tags": [],
|
|
393
334
|
"text": "The ticket submission date"
|
|
394
335
|
},
|
|
395
|
-
"getter": false,
|
|
396
|
-
"setter": false,
|
|
397
336
|
"attribute": "ticket-date",
|
|
398
337
|
"reflect": true,
|
|
399
338
|
"defaultValue": "''"
|
|
@@ -412,8 +351,6 @@ export class LotteryDrawResults {
|
|
|
412
351
|
"tags": [],
|
|
413
352
|
"text": "The ticket status"
|
|
414
353
|
},
|
|
415
|
-
"getter": false,
|
|
416
|
-
"setter": false,
|
|
417
354
|
"attribute": "ticket-status",
|
|
418
355
|
"reflect": true,
|
|
419
356
|
"defaultValue": "''"
|
|
@@ -432,8 +369,6 @@ export class LotteryDrawResults {
|
|
|
432
369
|
"tags": [],
|
|
433
370
|
"text": "The ticket id"
|
|
434
371
|
},
|
|
435
|
-
"getter": false,
|
|
436
|
-
"setter": false,
|
|
437
372
|
"attribute": "ticket-id",
|
|
438
373
|
"reflect": true,
|
|
439
374
|
"defaultValue": "''"
|
|
@@ -452,8 +387,6 @@ export class LotteryDrawResults {
|
|
|
452
387
|
"tags": [],
|
|
453
388
|
"text": "The ticket amount"
|
|
454
389
|
},
|
|
455
|
-
"getter": false,
|
|
456
|
-
"setter": false,
|
|
457
390
|
"attribute": "ticket-amount",
|
|
458
391
|
"reflect": true,
|
|
459
392
|
"defaultValue": "''"
|
|
@@ -472,8 +405,6 @@ export class LotteryDrawResults {
|
|
|
472
405
|
"tags": [],
|
|
473
406
|
"text": "The ticket currency"
|
|
474
407
|
},
|
|
475
|
-
"getter": false,
|
|
476
|
-
"setter": false,
|
|
477
408
|
"attribute": "ticket-currency",
|
|
478
409
|
"reflect": true,
|
|
479
410
|
"defaultValue": "''"
|
|
@@ -492,8 +423,6 @@ export class LotteryDrawResults {
|
|
|
492
423
|
"tags": [],
|
|
493
424
|
"text": "The ticket is multiplier or not"
|
|
494
425
|
},
|
|
495
|
-
"getter": false,
|
|
496
|
-
"setter": false,
|
|
497
426
|
"attribute": "ticket-multiplier",
|
|
498
427
|
"reflect": true,
|
|
499
428
|
"defaultValue": "false"
|
|
@@ -512,8 +441,6 @@ export class LotteryDrawResults {
|
|
|
512
441
|
"tags": [],
|
|
513
442
|
"text": "The ticket multiplier number"
|
|
514
443
|
},
|
|
515
|
-
"getter": false,
|
|
516
|
-
"setter": false,
|
|
517
444
|
"attribute": "ticket-multiplier-num",
|
|
518
445
|
"reflect": true
|
|
519
446
|
},
|
|
@@ -531,8 +458,6 @@ export class LotteryDrawResults {
|
|
|
531
458
|
"tags": [],
|
|
532
459
|
"text": "The ticket draw count"
|
|
533
460
|
},
|
|
534
|
-
"getter": false,
|
|
535
|
-
"setter": false,
|
|
536
461
|
"attribute": "ticket-draw-count",
|
|
537
462
|
"reflect": true,
|
|
538
463
|
"defaultValue": "0"
|
|
@@ -551,8 +476,6 @@ export class LotteryDrawResults {
|
|
|
551
476
|
"tags": [],
|
|
552
477
|
"text": "The ticket winning numbers"
|
|
553
478
|
},
|
|
554
|
-
"getter": false,
|
|
555
|
-
"setter": false,
|
|
556
479
|
"attribute": "ticket-numbers",
|
|
557
480
|
"reflect": true,
|
|
558
481
|
"defaultValue": "''"
|
|
@@ -571,8 +494,6 @@ export class LotteryDrawResults {
|
|
|
571
494
|
"tags": [],
|
|
572
495
|
"text": "The session id"
|
|
573
496
|
},
|
|
574
|
-
"getter": false,
|
|
575
|
-
"setter": false,
|
|
576
497
|
"attribute": "session-id",
|
|
577
498
|
"reflect": true,
|
|
578
499
|
"defaultValue": "''"
|
|
@@ -591,8 +512,6 @@ export class LotteryDrawResults {
|
|
|
591
512
|
"tags": [],
|
|
592
513
|
"text": "Client custom styling via string"
|
|
593
514
|
},
|
|
594
|
-
"getter": false,
|
|
595
|
-
"setter": false,
|
|
596
515
|
"attribute": "client-styling",
|
|
597
516
|
"reflect": true,
|
|
598
517
|
"defaultValue": "''"
|
|
@@ -611,8 +530,6 @@ export class LotteryDrawResults {
|
|
|
611
530
|
"tags": [],
|
|
612
531
|
"text": "Client custom styling via url content"
|
|
613
532
|
},
|
|
614
|
-
"getter": false,
|
|
615
|
-
"setter": false,
|
|
616
533
|
"attribute": "client-styling-url-content",
|
|
617
534
|
"reflect": true,
|
|
618
535
|
"defaultValue": "''"
|
|
@@ -631,8 +548,6 @@ export class LotteryDrawResults {
|
|
|
631
548
|
"tags": [],
|
|
632
549
|
"text": "Data showing the ticket's draw results details"
|
|
633
550
|
},
|
|
634
|
-
"getter": false,
|
|
635
|
-
"setter": false,
|
|
636
551
|
"attribute": "ticket-draw-data",
|
|
637
552
|
"reflect": true,
|
|
638
553
|
"defaultValue": "''"
|
|
@@ -651,8 +566,6 @@ export class LotteryDrawResults {
|
|
|
651
566
|
"tags": [],
|
|
652
567
|
"text": "the filter value"
|
|
653
568
|
},
|
|
654
|
-
"getter": false,
|
|
655
|
-
"setter": false,
|
|
656
569
|
"attribute": "tab-value",
|
|
657
570
|
"reflect": true,
|
|
658
571
|
"defaultValue": "''"
|
|
@@ -671,8 +584,6 @@ export class LotteryDrawResults {
|
|
|
671
584
|
"tags": [],
|
|
672
585
|
"text": "Translations via parent component"
|
|
673
586
|
},
|
|
674
|
-
"getter": false,
|
|
675
|
-
"setter": false,
|
|
676
587
|
"attribute": "translation-url",
|
|
677
588
|
"reflect": true
|
|
678
589
|
}
|