@everymatrix/lottery-game-page 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/helper-accordion_14.cjs.entry.js +382 -770
- package/dist/cjs/{index-c77bea42.js → index-bc91a30a.js} +77 -212
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-page.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/lottery-game-page/lottery-game-page.js +32 -52
- package/dist/esm/helper-accordion_14.entry.js +382 -770
- package/dist/esm/{index-13ed46b6.js → index-1df2d78b.js} +77 -212
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottery-game-page.js +3 -3
- package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
- package/dist/lottery-game-page/p-486d5a35.js +2 -0
- package/dist/lottery-game-page/{p-f348243b.entry.js → p-9a6c64e8.entry.js} +166 -168
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/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-game-page/p-07f9838b.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-page/.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-game-page/.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-game-page/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -8,38 +8,6 @@ import "../../../../../lottery-draw-results-history/dist/types/index";
|
|
|
8
8
|
import "../../../../../lottery-draw-results/dist/types/index";
|
|
9
9
|
export class LotteryGamePage {
|
|
10
10
|
constructor() {
|
|
11
|
-
/**
|
|
12
|
-
* Language of the widget
|
|
13
|
-
*/
|
|
14
|
-
this.language = 'en';
|
|
15
|
-
/**
|
|
16
|
-
* Client custom styling via string
|
|
17
|
-
*/
|
|
18
|
-
this.clientStyling = '';
|
|
19
|
-
/**
|
|
20
|
-
* Client custom styling via url
|
|
21
|
-
*/
|
|
22
|
-
this.clientStylingurl = '';
|
|
23
|
-
/**
|
|
24
|
-
* Translation via url
|
|
25
|
-
*/
|
|
26
|
-
this.translationUrl = '';
|
|
27
|
-
this.clientStylingUrlContent = '';
|
|
28
|
-
this.tickets = [];
|
|
29
|
-
this.mainTickets = [];
|
|
30
|
-
this.secondaryTickets = [];
|
|
31
|
-
this.tabIndex = 0;
|
|
32
|
-
this.hasErrors = false;
|
|
33
|
-
this.totalAmount = 0;
|
|
34
|
-
this.successVisible = false;
|
|
35
|
-
this.isLoggedIn = false;
|
|
36
|
-
this.loginModalVisible = false;
|
|
37
|
-
this.limitStylingAppends = false;
|
|
38
|
-
this.isLoading = false;
|
|
39
|
-
this.showSubmitError = false;
|
|
40
|
-
this.submitError = '';
|
|
41
|
-
this.showApiError = false;
|
|
42
|
-
this.apiError = '';
|
|
43
11
|
// @TODO fix any type
|
|
44
12
|
this.userAgent = window.navigator.userAgent;
|
|
45
13
|
this.quickPick = false;
|
|
@@ -65,6 +33,38 @@ export class LotteryGamePage {
|
|
|
65
33
|
console.log('error ', err);
|
|
66
34
|
});
|
|
67
35
|
};
|
|
36
|
+
this.endpoint = undefined;
|
|
37
|
+
this.endpointTicket = undefined;
|
|
38
|
+
this.gameId = undefined;
|
|
39
|
+
this.playerId = undefined;
|
|
40
|
+
this.sessionId = undefined;
|
|
41
|
+
this.language = 'en';
|
|
42
|
+
this.backgroundUrl = undefined;
|
|
43
|
+
this.clientStyling = '';
|
|
44
|
+
this.clientStylingurl = '';
|
|
45
|
+
this.translationUrl = '';
|
|
46
|
+
this.clientStylingUrlContent = '';
|
|
47
|
+
this.tickets = [];
|
|
48
|
+
this.mainTickets = [];
|
|
49
|
+
this.secondaryTickets = [];
|
|
50
|
+
this.tabIndex = 0;
|
|
51
|
+
this.hasErrors = false;
|
|
52
|
+
this.totalAmount = 0;
|
|
53
|
+
this.successVisible = false;
|
|
54
|
+
this.daysRemaining = undefined;
|
|
55
|
+
this.hoursRemaining = undefined;
|
|
56
|
+
this.minutesRemaining = undefined;
|
|
57
|
+
this.secondsRemaining = undefined;
|
|
58
|
+
this.nextDate = undefined;
|
|
59
|
+
this.isLoggedIn = false;
|
|
60
|
+
this.loginModalVisible = false;
|
|
61
|
+
this.limitStylingAppends = false;
|
|
62
|
+
this.isLoading = false;
|
|
63
|
+
this.showSubmitError = false;
|
|
64
|
+
this.submitError = '';
|
|
65
|
+
this.showApiError = false;
|
|
66
|
+
this.apiError = '';
|
|
67
|
+
this.translationData = undefined;
|
|
68
68
|
}
|
|
69
69
|
handleNewTranslations() {
|
|
70
70
|
this.isLoading = true;
|
|
@@ -412,8 +412,6 @@ export class LotteryGamePage {
|
|
|
412
412
|
"tags": [],
|
|
413
413
|
"text": "Endpoint URL for the source of data"
|
|
414
414
|
},
|
|
415
|
-
"getter": false,
|
|
416
|
-
"setter": false,
|
|
417
415
|
"attribute": "endpoint",
|
|
418
416
|
"reflect": true
|
|
419
417
|
},
|
|
@@ -431,8 +429,6 @@ export class LotteryGamePage {
|
|
|
431
429
|
"tags": [],
|
|
432
430
|
"text": "EndpointTicket URL for the source of ticket data"
|
|
433
431
|
},
|
|
434
|
-
"getter": false,
|
|
435
|
-
"setter": false,
|
|
436
432
|
"attribute": "endpoint-ticket",
|
|
437
433
|
"reflect": true
|
|
438
434
|
},
|
|
@@ -450,8 +446,6 @@ export class LotteryGamePage {
|
|
|
450
446
|
"tags": [],
|
|
451
447
|
"text": "GameID of the lottery game"
|
|
452
448
|
},
|
|
453
|
-
"getter": false,
|
|
454
|
-
"setter": false,
|
|
455
449
|
"attribute": "game-id",
|
|
456
450
|
"reflect": true
|
|
457
451
|
},
|
|
@@ -469,8 +463,6 @@ export class LotteryGamePage {
|
|
|
469
463
|
"tags": [],
|
|
470
464
|
"text": "Player ID"
|
|
471
465
|
},
|
|
472
|
-
"getter": false,
|
|
473
|
-
"setter": false,
|
|
474
466
|
"attribute": "player-id",
|
|
475
467
|
"reflect": true
|
|
476
468
|
},
|
|
@@ -488,8 +480,6 @@ export class LotteryGamePage {
|
|
|
488
480
|
"tags": [],
|
|
489
481
|
"text": "GIC Session"
|
|
490
482
|
},
|
|
491
|
-
"getter": false,
|
|
492
|
-
"setter": false,
|
|
493
483
|
"attribute": "session-id",
|
|
494
484
|
"reflect": true
|
|
495
485
|
},
|
|
@@ -507,8 +497,6 @@ export class LotteryGamePage {
|
|
|
507
497
|
"tags": [],
|
|
508
498
|
"text": "Language of the widget"
|
|
509
499
|
},
|
|
510
|
-
"getter": false,
|
|
511
|
-
"setter": false,
|
|
512
500
|
"attribute": "language",
|
|
513
501
|
"reflect": true,
|
|
514
502
|
"defaultValue": "'en'"
|
|
@@ -527,8 +515,6 @@ export class LotteryGamePage {
|
|
|
527
515
|
"tags": [],
|
|
528
516
|
"text": "Url for banner's custom background image"
|
|
529
517
|
},
|
|
530
|
-
"getter": false,
|
|
531
|
-
"setter": false,
|
|
532
518
|
"attribute": "background-url",
|
|
533
519
|
"reflect": true
|
|
534
520
|
},
|
|
@@ -546,8 +532,6 @@ export class LotteryGamePage {
|
|
|
546
532
|
"tags": [],
|
|
547
533
|
"text": "Client custom styling via string"
|
|
548
534
|
},
|
|
549
|
-
"getter": false,
|
|
550
|
-
"setter": false,
|
|
551
535
|
"attribute": "client-styling",
|
|
552
536
|
"reflect": true,
|
|
553
537
|
"defaultValue": "''"
|
|
@@ -566,8 +550,6 @@ export class LotteryGamePage {
|
|
|
566
550
|
"tags": [],
|
|
567
551
|
"text": "Client custom styling via url"
|
|
568
552
|
},
|
|
569
|
-
"getter": false,
|
|
570
|
-
"setter": false,
|
|
571
553
|
"attribute": "client-stylingurl",
|
|
572
554
|
"reflect": true,
|
|
573
555
|
"defaultValue": "''"
|
|
@@ -586,8 +568,6 @@ export class LotteryGamePage {
|
|
|
586
568
|
"tags": [],
|
|
587
569
|
"text": "Translation via url"
|
|
588
570
|
},
|
|
589
|
-
"getter": false,
|
|
590
|
-
"setter": false,
|
|
591
571
|
"attribute": "translation-url",
|
|
592
572
|
"reflect": true,
|
|
593
573
|
"defaultValue": "''"
|