@everymatrix/lottery-game-page 1.65.1 → 1.65.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_15.cjs.entry.js +11054 -0
- package/dist/cjs/index-bc91a30a.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-page.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/lottery-game-page/lottery-game-page.js +187 -43
- package/dist/collection/utils/utils.js +22 -0
- package/dist/esm/helper-accordion_15.entry.js +11036 -0
- package/dist/esm/index-1df2d78b.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/lottery-game-page.js +1 -1
- package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
- package/dist/lottery-game-page/p-300478d6.entry.js +5614 -0
- package/dist/types/components/lottery-game-page/lottery-game-page.d.ts +18 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/helper-accordion_14.cjs.entry.js +0 -29037
- package/dist/esm/helper-accordion_14.entry.js +0 -29020
- package/dist/lottery-game-page/p-d5801627.entry.js +0 -3899
|
@@ -4,6 +4,8 @@ import "../../../../../../dist/packages/stencil/helper-modal/dist/types/index";
|
|
|
4
4
|
import "../../../../../../dist/packages/stencil/lottery-game-details/dist/types/index";
|
|
5
5
|
import "../../../../../../dist/packages/stencil/lottery-draw-results-history/dist/types/index";
|
|
6
6
|
import "../../../../../../dist/packages/stencil/lottery-draw-results/dist/types/index";
|
|
7
|
+
import "../../../../../../dist/packages/stencil/lottery-subscription/dist/types/index";
|
|
8
|
+
import "../../../../../../dist/libs/vaadin-facade/index";
|
|
7
9
|
export declare class LotteryGamePage {
|
|
8
10
|
/**
|
|
9
11
|
* Endpoint URL for the source of data
|
|
@@ -13,6 +15,10 @@ export declare class LotteryGamePage {
|
|
|
13
15
|
* EndpointTicket URL for the source of ticket data
|
|
14
16
|
*/
|
|
15
17
|
endpointTicket: string;
|
|
18
|
+
/**
|
|
19
|
+
* Endpoint URL for the source of subscription data
|
|
20
|
+
*/
|
|
21
|
+
endpointSubscription: string;
|
|
16
22
|
/**
|
|
17
23
|
* GameID of the lottery game
|
|
18
24
|
*/
|
|
@@ -67,6 +73,11 @@ export declare class LotteryGamePage {
|
|
|
67
73
|
private showApiError;
|
|
68
74
|
private apiError;
|
|
69
75
|
translationData: any;
|
|
76
|
+
private isSubscription;
|
|
77
|
+
private subscriptionParam;
|
|
78
|
+
private showSubscriptionError;
|
|
79
|
+
private subscriptionError;
|
|
80
|
+
private isSubscribed;
|
|
70
81
|
element: HTMLElement;
|
|
71
82
|
goBackEvent: EventEmitter<string>;
|
|
72
83
|
goToLobbyEvent: EventEmitter<string>;
|
|
@@ -100,10 +111,17 @@ export declare class LotteryGamePage {
|
|
|
100
111
|
betTypeChangeHandler(event: CustomEvent<any>): void;
|
|
101
112
|
createNewTicket(): void;
|
|
102
113
|
showLoginModal(): void;
|
|
114
|
+
handleSubscriptionReady(event: CustomEvent): void;
|
|
115
|
+
handleSubscriptionCheckChange(event: CustomEvent): void;
|
|
116
|
+
buildTicketParam(): any;
|
|
117
|
+
showNotification(message: string, theme?: string, position?: string): void;
|
|
118
|
+
handleSubmitTickets(): void;
|
|
119
|
+
submitSubscriptionTickets(): Promise<void>;
|
|
103
120
|
submitTickets(): void;
|
|
104
121
|
goBack(): void;
|
|
105
122
|
goToLobby(): void;
|
|
106
123
|
setClientStyling: () => void;
|
|
107
124
|
setClientStylingURL: () => void;
|
|
125
|
+
thousandSeperator: (value: number | string) => string;
|
|
108
126
|
render(): void;
|
|
109
127
|
}
|
|
@@ -23,6 +23,10 @@ export namespace Components {
|
|
|
23
23
|
* Endpoint URL for the source of data
|
|
24
24
|
*/
|
|
25
25
|
"endpoint": string;
|
|
26
|
+
/**
|
|
27
|
+
* Endpoint URL for the source of subscription data
|
|
28
|
+
*/
|
|
29
|
+
"endpointSubscription": string;
|
|
26
30
|
/**
|
|
27
31
|
* EndpointTicket URL for the source of ticket data
|
|
28
32
|
*/
|
|
@@ -94,6 +98,10 @@ declare namespace LocalJSX {
|
|
|
94
98
|
* Endpoint URL for the source of data
|
|
95
99
|
*/
|
|
96
100
|
"endpoint"?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Endpoint URL for the source of subscription data
|
|
103
|
+
*/
|
|
104
|
+
"endpointSubscription"?: string;
|
|
97
105
|
/**
|
|
98
106
|
* EndpointTicket URL for the source of ticket data
|
|
99
107
|
*/
|