@everymatrix/lottery-game-page 1.54.6 → 1.54.8

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.
@@ -41,6 +41,10 @@ export declare class LotteryGamePage {
41
41
  * Client custom styling via url
42
42
  */
43
43
  clientStylingurl: string;
44
+ /**
45
+ * Translation via url
46
+ */
47
+ translationUrl: string;
44
48
  clientStylingUrlContent: string;
45
49
  tickets: Array<any>;
46
50
  mainTickets: Array<any>;
@@ -62,6 +66,7 @@ export declare class LotteryGamePage {
62
66
  private submitError;
63
67
  private showApiError;
64
68
  private apiError;
69
+ translationData: any;
65
70
  element: HTMLElement;
66
71
  goBackEvent: EventEmitter<string>;
67
72
  goToLobbyEvent: EventEmitter<string>;
@@ -77,7 +82,9 @@ export declare class LotteryGamePage {
77
82
  private interval;
78
83
  private isMobile;
79
84
  private secondarySelectionAllowed;
85
+ handleNewTranslations(): void;
80
86
  connectedCallback(): void;
87
+ componentWillLoad(): Promise<any>;
81
88
  componentDidRender(): void;
82
89
  countdownLogic(date: any): void;
83
90
  disconnectedCallback(): void;
@@ -43,6 +43,10 @@ export namespace Components {
43
43
  * GIC Session
44
44
  */
45
45
  "sessionId": string;
46
+ /**
47
+ * Translation via url
48
+ */
49
+ "translationUrl": string;
46
50
  }
47
51
  }
48
52
  export interface LotteryGamePageCustomEvent<T> extends CustomEvent<T> {
@@ -112,6 +116,10 @@ declare namespace LocalJSX {
112
116
  * GIC Session
113
117
  */
114
118
  "sessionId"?: string;
119
+ /**
120
+ * Translation via url
121
+ */
122
+ "translationUrl"?: string;
115
123
  }
116
124
  interface IntrinsicElements {
117
125
  "lottery-game-page": LotteryGamePage;
@@ -1 +1,2 @@
1
1
  export declare const translate: (key: string, customLang?: any) => string;
2
+ export declare const getTranslations: (url: string) => Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-game-page",
3
- "version": "1.54.6",
3
+ "version": "1.54.8",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",