@everymatrix/casino-game-thumb-view 0.0.2-9.1 → 1.0.69
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-game-thumb-view/casino-game-thumb-view.esm.js +1 -1
- package/dist/casino-game-thumb-view/p-2207062c.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-39684b4a.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-59ceeaaa.js +1 -0
- package/dist/casino-game-thumb-view/p-af0284b5.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-b73b7a18.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-bd016895.entry.js +7 -0
- package/dist/casino-game-thumb-view/p-d2580653.js +8 -0
- package/dist/casino-game-thumb-view/p-d48c3566.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-e1255160.js +1 -0
- package/dist/casino-game-thumb-view/p-eef6f908.js +2 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +327 -322
- package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +45 -45
- package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +35 -33
- package/dist/cjs/casino-game-thumb-view.cjs.js +17 -11
- package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +469 -511
- package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +259 -249
- package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +14 -12
- package/dist/cjs/game-thumbnail-5a34c727.js +78 -0
- package/dist/cjs/index-48d13981.js +1709 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/cjs/locale.utils-53bf703a.js +132 -0
- package/dist/cjs/{utils-a0afc0a9.js → utils-c4ed3adc.js} +407 -404
- package/dist/collection/collection-manifest.json +10 -10
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +251 -230
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +136 -114
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +126 -118
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.css +1 -1
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +1023 -1020
- package/dist/collection/components/casino-game-thumb-view/index.js +1 -0
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +78 -80
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +154 -148
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +201 -205
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +71 -58
- package/dist/collection/constants/game-thumbnail.js +66 -66
- package/dist/collection/models/casino-game-thumb-view.js +6 -6
- package/dist/collection/models/currency-symbols.js +170 -170
- package/dist/collection/utils/baccarat-board-svg.js +225 -225
- package/dist/collection/utils/locale.utils.js +123 -123
- package/dist/collection/utils/utils.js +41 -41
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-extrainfo-baccarat.entry.js +327 -322
- package/dist/esm/casino-extrainfo-blackjack.entry.js +45 -45
- package/dist/esm/casino-extrainfo-roulette.entry.js +35 -33
- package/dist/esm/casino-game-thumb-view.js +14 -11
- package/dist/esm/casino-game-thumb-view_2.entry.js +469 -511
- package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +259 -249
- package/dist/esm/casino-normal-game-thumbnail.entry.js +14 -12
- package/dist/esm/game-thumbnail-035e97e2.js +72 -0
- package/dist/esm/index-8c9a8030.js +1681 -0
- package/dist/esm/loader.js +7 -13
- package/dist/esm/locale.utils-0c514ca8.js +130 -0
- package/dist/{components/utils.js → esm/utils-090ac2e9.js} +407 -404
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +12 -35
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.d.ts +36 -36
- package/dist/types/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.d.ts +33 -33
- package/dist/types/components/casino-extrainfo-roulette/casino-extrainfo-roulette.d.ts +18 -18
- package/dist/types/components/casino-game-thumb-view/casino-game-thumb-view.d.ts +213 -213
- package/dist/types/components/casino-game-thumb-view/index.d.ts +1 -0
- package/dist/types/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.d.ts +14 -14
- package/dist/types/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.d.ts +13 -13
- package/dist/types/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.d.ts +28 -27
- package/dist/types/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.d.ts +4 -4
- package/dist/types/components.d.ts +55 -24
- package/dist/types/constants/game-thumbnail.d.ts +66 -66
- package/dist/types/models/casino-game-thumb-view.d.ts +107 -107
- package/dist/types/models/currency-symbols.d.ts +170 -170
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/baccarat-board-svg.d.ts +29 -29
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +8 -8
- package/dist/assets/baccarat.svg +0 -43
- package/dist/assets/fav.svg +0 -9
- package/dist/assets/favorite.svg +0 -12
- package/dist/assets/seat.svg +0 -6
- package/dist/assets/unfav.svg +0 -20
- package/dist/casino-game-thumb-view/p-0bd6266b.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-1bbf4b70.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-2b51ea79.js +0 -1
- package/dist/casino-game-thumb-view/p-46dbb1cb.js +0 -1
- package/dist/casino-game-thumb-view/p-58134a43.entry.js +0 -7
- package/dist/casino-game-thumb-view/p-6a6b2a78.js +0 -8
- package/dist/casino-game-thumb-view/p-b153f943.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-d961aec4.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-eb23569d.entry.js +0 -1
- package/dist/cjs/game-thumbnail-31d518f0.js +0 -78
- package/dist/cjs/index-65a1d768.js +0 -1796
- package/dist/cjs/locale.utils-09067b6b.js +0 -132
- package/dist/components/casino-extrainfo-baccarat.d.ts +0 -11
- package/dist/components/casino-extrainfo-baccarat.js +0 -400
- package/dist/components/casino-extrainfo-blackjack.d.ts +0 -11
- package/dist/components/casino-extrainfo-blackjack.js +0 -92
- package/dist/components/casino-extrainfo-roulette.d.ts +0 -11
- package/dist/components/casino-extrainfo-roulette.js +0 -77
- package/dist/components/casino-game-thumb-view.d.ts +0 -11
- package/dist/components/casino-game-thumb-view.js +0 -1618
- package/dist/components/casino-game-thumbnail-betlimit.d.ts +0 -11
- package/dist/components/casino-game-thumbnail-betlimit.js +0 -6
- package/dist/components/casino-game-thumbnail-betlimit2.js +0 -227
- package/dist/components/casino-game-thumbnail-extrainfo.d.ts +0 -11
- package/dist/components/casino-game-thumbnail-extrainfo.js +0 -6
- package/dist/components/casino-game-thumbnail-extrainfo2.js +0 -93
- package/dist/components/casino-game-thumbnail-overlay.d.ts +0 -11
- package/dist/components/casino-game-thumbnail-overlay.js +0 -6
- package/dist/components/casino-game-thumbnail-overlay2.js +0 -68
- package/dist/components/casino-normal-game-thumbnail.d.ts +0 -11
- package/dist/components/casino-normal-game-thumbnail.js +0 -52
- package/dist/components/game-thumbnail.js +0 -72
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/locale.utils.js +0 -130
- package/dist/esm/game-thumbnail-0a56ee03.js +0 -72
- package/dist/esm/index-1e44dd9f.js +0 -1769
- package/dist/esm/locale.utils-1c69bea3.js +0 -130
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/utils-e9314132.js +0 -5739
- package/dist/types/Users/adrian.pripon/Documents/Work/stencil/widgets-stencil/packages/casino-game-thumb-view/.stencil/packages/casino-game-thumb-view/stencil.config.d.ts +0 -2
- /package/dist/casino-game-thumb-view/{p-2d5f59fe.js → p-2d02adb1.js} +0 -0
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { BaccaratUpdateItem, BetLimit, CasinoGameThumbnailDetails, CasinoGameThumbnailInfo } from "./models/casino-game-thumb-view";
|
|
9
|
+
export { BaccaratUpdateItem, BetLimit, CasinoGameThumbnailDetails, CasinoGameThumbnailInfo } from "./models/casino-game-thumb-view";
|
|
9
10
|
export namespace Components {
|
|
10
11
|
interface CasinoExtrainfoBaccarat {
|
|
11
12
|
/**
|
|
@@ -82,9 +83,9 @@ export namespace Components {
|
|
|
82
83
|
*/
|
|
83
84
|
"gameVendor": string;
|
|
84
85
|
/**
|
|
85
|
-
* Widget Setting, show game in a frame when user clicked 'start' the frame url when
|
|
86
|
+
* Widget Setting, show game in a frame when user clicked 'start' the frame url when integratedGameframeDesktop is true
|
|
86
87
|
*/
|
|
87
|
-
"
|
|
88
|
+
"gamepageModalurl": string;
|
|
88
89
|
/**
|
|
89
90
|
* Game Property, hasAnonymousFunMode
|
|
90
91
|
*/
|
|
@@ -94,13 +95,13 @@ export namespace Components {
|
|
|
94
95
|
*/
|
|
95
96
|
"hasFunMode": boolean;
|
|
96
97
|
/**
|
|
97
|
-
* Widget Setting, show game in a frame when user clicked 'start', Open game aframe,
|
|
98
|
+
* Widget Setting, show game in a frame when user clicked 'start', Open game aframe, gamepageModalurl value should be set
|
|
98
99
|
*/
|
|
99
|
-
"
|
|
100
|
+
"integratedGameframeDesktop": boolean;
|
|
100
101
|
/**
|
|
101
102
|
* Widget Setting, show game in a frame when user clicked 'start'
|
|
102
103
|
*/
|
|
103
|
-
"
|
|
104
|
+
"integratedGameframeMobile": boolean;
|
|
104
105
|
/**
|
|
105
106
|
* Game Property, is Game Favorited
|
|
106
107
|
*/
|
|
@@ -182,18 +183,18 @@ export namespace Components {
|
|
|
182
183
|
"gameName": string;
|
|
183
184
|
"gameVendor": string;
|
|
184
185
|
/**
|
|
185
|
-
* the frame url when
|
|
186
|
+
* Widget Setting, the frame url when integratedGameframeDesktop is true
|
|
186
187
|
*/
|
|
187
|
-
"
|
|
188
|
+
"gamepageModalurl": string;
|
|
188
189
|
"hasFunMode": boolean;
|
|
189
190
|
/**
|
|
190
|
-
*
|
|
191
|
+
* Widget Setting, show game in a frame when user clicked 'start', default: false Open game in a frame, gamepageModalurl value should be set
|
|
191
192
|
*/
|
|
192
|
-
"
|
|
193
|
+
"integratedGameframeDesktop": boolean;
|
|
193
194
|
/**
|
|
194
|
-
*
|
|
195
|
+
* Widget Setting, show game in a frame when user clicked 'start', default: false
|
|
195
196
|
*/
|
|
196
|
-
"
|
|
197
|
+
"integratedGameframeMobile": boolean;
|
|
197
198
|
/**
|
|
198
199
|
* Language
|
|
199
200
|
*/
|
|
@@ -204,6 +205,14 @@ export namespace Components {
|
|
|
204
205
|
"onGameLoaded": (gameInfo: CasinoGameThumbnailInfo) => Promise<void>;
|
|
205
206
|
}
|
|
206
207
|
}
|
|
208
|
+
export interface CasinoGameThumbViewCustomEvent<T> extends CustomEvent<T> {
|
|
209
|
+
detail: T;
|
|
210
|
+
target: HTMLCasinoGameThumbViewElement;
|
|
211
|
+
}
|
|
212
|
+
export interface CasinoGameThumbnailOverlayCustomEvent<T> extends CustomEvent<T> {
|
|
213
|
+
detail: T;
|
|
214
|
+
target: HTMLCasinoGameThumbnailOverlayElement;
|
|
215
|
+
}
|
|
207
216
|
declare global {
|
|
208
217
|
interface HTMLCasinoExtrainfoBaccaratElement extends Components.CasinoExtrainfoBaccarat, HTMLStencilElement {
|
|
209
218
|
}
|
|
@@ -223,7 +232,18 @@ declare global {
|
|
|
223
232
|
prototype: HTMLCasinoExtrainfoRouletteElement;
|
|
224
233
|
new (): HTMLCasinoExtrainfoRouletteElement;
|
|
225
234
|
};
|
|
235
|
+
interface HTMLCasinoGameThumbViewElementEventMap {
|
|
236
|
+
"toggleCasinoGameFavorite": number | string;
|
|
237
|
+
}
|
|
226
238
|
interface HTMLCasinoGameThumbViewElement extends Components.CasinoGameThumbView, HTMLStencilElement {
|
|
239
|
+
addEventListener<K extends keyof HTMLCasinoGameThumbViewElementEventMap>(type: K, listener: (this: HTMLCasinoGameThumbViewElement, ev: CasinoGameThumbViewCustomEvent<HTMLCasinoGameThumbViewElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
240
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
241
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
242
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
243
|
+
removeEventListener<K extends keyof HTMLCasinoGameThumbViewElementEventMap>(type: K, listener: (this: HTMLCasinoGameThumbViewElement, ev: CasinoGameThumbViewCustomEvent<HTMLCasinoGameThumbViewElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
244
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
245
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
246
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
227
247
|
}
|
|
228
248
|
var HTMLCasinoGameThumbViewElement: {
|
|
229
249
|
prototype: HTMLCasinoGameThumbViewElement;
|
|
@@ -241,7 +261,18 @@ declare global {
|
|
|
241
261
|
prototype: HTMLCasinoGameThumbnailExtrainfoElement;
|
|
242
262
|
new (): HTMLCasinoGameThumbnailExtrainfoElement;
|
|
243
263
|
};
|
|
264
|
+
interface HTMLCasinoGameThumbnailOverlayElementEventMap {
|
|
265
|
+
"playCasinoGame": string | number;
|
|
266
|
+
}
|
|
244
267
|
interface HTMLCasinoGameThumbnailOverlayElement extends Components.CasinoGameThumbnailOverlay, HTMLStencilElement {
|
|
268
|
+
addEventListener<K extends keyof HTMLCasinoGameThumbnailOverlayElementEventMap>(type: K, listener: (this: HTMLCasinoGameThumbnailOverlayElement, ev: CasinoGameThumbnailOverlayCustomEvent<HTMLCasinoGameThumbnailOverlayElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
269
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
270
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
271
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
272
|
+
removeEventListener<K extends keyof HTMLCasinoGameThumbnailOverlayElementEventMap>(type: K, listener: (this: HTMLCasinoGameThumbnailOverlayElement, ev: CasinoGameThumbnailOverlayCustomEvent<HTMLCasinoGameThumbnailOverlayElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
273
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
274
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
275
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
245
276
|
}
|
|
246
277
|
var HTMLCasinoGameThumbnailOverlayElement: {
|
|
247
278
|
prototype: HTMLCasinoGameThumbnailOverlayElement;
|
|
@@ -329,9 +360,9 @@ declare namespace LocalJSX {
|
|
|
329
360
|
*/
|
|
330
361
|
"gameVendor"?: string;
|
|
331
362
|
/**
|
|
332
|
-
* Widget Setting, show game in a frame when user clicked 'start' the frame url when
|
|
363
|
+
* Widget Setting, show game in a frame when user clicked 'start' the frame url when integratedGameframeDesktop is true
|
|
333
364
|
*/
|
|
334
|
-
"
|
|
365
|
+
"gamepageModalurl"?: string;
|
|
335
366
|
/**
|
|
336
367
|
* Game Property, hasAnonymousFunMode
|
|
337
368
|
*/
|
|
@@ -341,13 +372,13 @@ declare namespace LocalJSX {
|
|
|
341
372
|
*/
|
|
342
373
|
"hasFunMode"?: boolean;
|
|
343
374
|
/**
|
|
344
|
-
* Widget Setting, show game in a frame when user clicked 'start', Open game aframe,
|
|
375
|
+
* Widget Setting, show game in a frame when user clicked 'start', Open game aframe, gamepageModalurl value should be set
|
|
345
376
|
*/
|
|
346
|
-
"
|
|
377
|
+
"integratedGameframeDesktop"?: boolean;
|
|
347
378
|
/**
|
|
348
379
|
* Widget Setting, show game in a frame when user clicked 'start'
|
|
349
380
|
*/
|
|
350
|
-
"
|
|
381
|
+
"integratedGameframeMobile"?: boolean;
|
|
351
382
|
/**
|
|
352
383
|
* Game Property, is Game Favorited
|
|
353
384
|
*/
|
|
@@ -368,7 +399,7 @@ declare namespace LocalJSX {
|
|
|
368
399
|
* Widget Setting, Load game details when set it as true, default value: false When loadDetails is true and type=='live-casino-tables', Load gameDetails by endpoint/vendor/gameId if livelobbyEndpoint is null
|
|
369
400
|
*/
|
|
370
401
|
"loadDetails"?: boolean;
|
|
371
|
-
"onToggleCasinoGameFavorite"?: (event:
|
|
402
|
+
"onToggleCasinoGameFavorite"?: (event: CasinoGameThumbViewCustomEvent<number | string>) => void;
|
|
372
403
|
/**
|
|
373
404
|
* Game Property, Game lunch platform
|
|
374
405
|
*/
|
|
@@ -428,18 +459,18 @@ declare namespace LocalJSX {
|
|
|
428
459
|
"gameName"?: string;
|
|
429
460
|
"gameVendor"?: string;
|
|
430
461
|
/**
|
|
431
|
-
* the frame url when
|
|
462
|
+
* Widget Setting, the frame url when integratedGameframeDesktop is true
|
|
432
463
|
*/
|
|
433
|
-
"
|
|
464
|
+
"gamepageModalurl"?: string;
|
|
434
465
|
"hasFunMode"?: boolean;
|
|
435
466
|
/**
|
|
436
|
-
*
|
|
467
|
+
* Widget Setting, show game in a frame when user clicked 'start', default: false Open game in a frame, gamepageModalurl value should be set
|
|
437
468
|
*/
|
|
438
|
-
"
|
|
469
|
+
"integratedGameframeDesktop"?: boolean;
|
|
439
470
|
/**
|
|
440
|
-
*
|
|
471
|
+
* Widget Setting, show game in a frame when user clicked 'start', default: false
|
|
441
472
|
*/
|
|
442
|
-
"
|
|
473
|
+
"integratedGameframeMobile"?: boolean;
|
|
443
474
|
/**
|
|
444
475
|
* Language
|
|
445
476
|
*/
|
|
@@ -447,7 +478,7 @@ declare namespace LocalJSX {
|
|
|
447
478
|
/**
|
|
448
479
|
* Event when playnow button clicked
|
|
449
480
|
*/
|
|
450
|
-
"onPlayCasinoGame"?: (event:
|
|
481
|
+
"onPlayCasinoGame"?: (event: CasinoGameThumbnailOverlayCustomEvent<string | number>) => void;
|
|
451
482
|
}
|
|
452
483
|
interface CasinoNormalGameThumbnail {
|
|
453
484
|
"language"?: string;
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
export declare const GameThumbnail: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
GAME_CLASS_BACKGROUND_IMG: string;
|
|
3
|
+
GAME_CLASS_OVERLAY: string;
|
|
4
|
+
GAME_CLASS_GameInnerContainer: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const DEFAULT_BLACKJACK_TOTAL_SEATS = 7;
|
|
7
7
|
export declare const MONEY_WHEEL_COLOR_MAP: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
'01': string;
|
|
9
|
+
'02': string;
|
|
10
|
+
10: string;
|
|
11
|
+
40: string;
|
|
12
|
+
'05': string;
|
|
13
|
+
20: string;
|
|
14
|
+
X7: string;
|
|
15
|
+
X2: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const ROULETTE_COLOR_MAP: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
18
|
+
1: string;
|
|
19
|
+
3: string;
|
|
20
|
+
5: string;
|
|
21
|
+
7: string;
|
|
22
|
+
9: string;
|
|
23
|
+
12: string;
|
|
24
|
+
14: string;
|
|
25
|
+
16: string;
|
|
26
|
+
18: string;
|
|
27
|
+
19: string;
|
|
28
|
+
21: string;
|
|
29
|
+
23: string;
|
|
30
|
+
25: string;
|
|
31
|
+
27: string;
|
|
32
|
+
30: string;
|
|
33
|
+
32: string;
|
|
34
|
+
34: string;
|
|
35
|
+
36: string;
|
|
36
|
+
2: string;
|
|
37
|
+
4: string;
|
|
38
|
+
6: string;
|
|
39
|
+
8: string;
|
|
40
|
+
10: string;
|
|
41
|
+
11: string;
|
|
42
|
+
13: string;
|
|
43
|
+
15: string;
|
|
44
|
+
17: string;
|
|
45
|
+
20: string;
|
|
46
|
+
22: string;
|
|
47
|
+
24: string;
|
|
48
|
+
26: string;
|
|
49
|
+
28: string;
|
|
50
|
+
29: string;
|
|
51
|
+
31: string;
|
|
52
|
+
33: string;
|
|
53
|
+
35: string;
|
|
54
|
+
0: string;
|
|
55
|
+
'00': string;
|
|
56
56
|
};
|
|
57
57
|
export declare enum GAME_CATEGORY {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
BLACKJACK = "blackjack",
|
|
59
|
+
ROULETTE = "roulette",
|
|
60
|
+
DOUBLEBALL_ROULETTE = "doubleballroulette",
|
|
61
|
+
BACCARAT = "baccarat"
|
|
62
62
|
}
|
|
63
63
|
export declare enum GAME_TYPE {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
NORMAL_CASINO = "casino-games",
|
|
65
|
+
LIVE_CASINO = "live-casino-tables",
|
|
66
|
+
OTHER = ""
|
|
67
67
|
}
|
|
68
68
|
export declare const WIDGETTYPE_GAMECATEGORY: {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
roulette: string;
|
|
70
|
+
doubleballroulette: string;
|
|
71
|
+
blackjack: string;
|
|
72
|
+
baccarat: string;
|
|
73
73
|
};
|
|
74
74
|
export declare const WIDGETTYPE_CLASS: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
roulette: string;
|
|
76
|
+
doubleballroulette: string;
|
|
77
|
+
blackjack: string;
|
|
78
|
+
baccarat: string;
|
|
79
79
|
};
|
|
80
80
|
export declare const WINNER_COLOR: {
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
banker: string;
|
|
82
|
+
player: string;
|
|
83
83
|
};
|
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export type CasinoGameOpenHourValue = {
|
|
2
|
+
endTime: string;
|
|
3
|
+
originalTimeFormat: string;
|
|
4
|
+
startTime: string;
|
|
5
|
+
timeFormat: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
export type CasinoGameOpenHours = {
|
|
8
|
+
type: string;
|
|
9
|
+
value?: CasinoGameOpenHourValue;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
|
|
11
|
+
export type Dealer = {
|
|
12
|
+
DealerName: string;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
|
|
14
|
+
export type Limit = {
|
|
15
|
+
[key: string]: number;
|
|
16
16
|
};
|
|
17
17
|
export interface BetLimit {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
min?: Limit;
|
|
19
|
+
max?: Limit;
|
|
20
20
|
}
|
|
21
21
|
export interface BaccaratLocation {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
column: number;
|
|
23
|
+
row: number;
|
|
24
24
|
}
|
|
25
25
|
export interface OriBaccaratLocation {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
Column: number;
|
|
27
|
+
Row: number;
|
|
28
28
|
}
|
|
29
29
|
export interface BaccaratUpdateItem {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
winner: BaccaratWinner;
|
|
31
|
+
color?: string;
|
|
32
|
+
score?: string;
|
|
33
|
+
ties?: number;
|
|
34
|
+
isOdd?: boolean;
|
|
35
|
+
playerPair?: boolean;
|
|
36
|
+
bankerPair?: boolean;
|
|
37
|
+
location?: BaccaratLocation;
|
|
38
|
+
natural?: boolean;
|
|
39
39
|
}
|
|
40
40
|
export interface OriBaccaratUpdateItem {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
Winner: BaccaratWinner;
|
|
42
|
+
Color?: string;
|
|
43
|
+
Score?: string;
|
|
44
|
+
Ties?: number;
|
|
45
|
+
IsOdd?: boolean;
|
|
46
|
+
PlayerPair?: boolean;
|
|
47
|
+
BankerPair?: boolean;
|
|
48
|
+
Location?: OriBaccaratLocation;
|
|
49
|
+
Natural?: boolean;
|
|
50
50
|
}
|
|
51
51
|
export interface CasinoGameThumbnailDetails {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
52
|
+
id: string | number;
|
|
53
|
+
isOpen: boolean;
|
|
54
|
+
vendorCategory: string;
|
|
55
|
+
openHours: CasinoGameOpenHours;
|
|
56
|
+
/**
|
|
57
|
+
* Roulette property
|
|
58
|
+
*/
|
|
59
|
+
currentRouletteNumbers?: Array<string | number>;
|
|
60
|
+
/**
|
|
61
|
+
* DoubleRoulette property
|
|
62
|
+
*/
|
|
63
|
+
currentDoubleBallRouletteNumbers?: Array<{
|
|
64
|
+
[key: number]: number | string;
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* BlackJack property
|
|
68
|
+
*/
|
|
69
|
+
currentOccupiedSeats?: Array<string | number>;
|
|
70
|
+
/**
|
|
71
|
+
* BlackJack property
|
|
72
|
+
*/
|
|
73
|
+
totalSeats?: number;
|
|
74
|
+
betLimit: BetLimit;
|
|
75
|
+
category: CasinoGameCategory;
|
|
76
|
+
dealer: Dealer;
|
|
77
|
+
numberOfPlayers?: number;
|
|
78
|
+
results?: Array<BaccaratUpdateItem>;
|
|
79
|
+
baccaratResults?: Array<OriBaccaratUpdateItem>;
|
|
80
80
|
}
|
|
81
81
|
export declare enum CasinoGameCategory {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
ROULETTE = "ROULETTE",
|
|
83
|
+
POKER = "POKER",
|
|
84
|
+
BLACKJACK = "BLACKJACK"
|
|
85
85
|
}
|
|
86
86
|
export declare enum BaccaratWinner {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
PLAYER = "Player",
|
|
88
|
+
WINNER = "Banker",
|
|
89
|
+
TIE = "Tie"
|
|
90
90
|
}
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
export type SeatsStatus = {
|
|
92
|
+
seatNo: number;
|
|
93
|
+
isClosed: boolean;
|
|
94
94
|
};
|
|
95
95
|
export interface CasinoVendor {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
96
|
+
href: string;
|
|
97
|
+
displayName?: string;
|
|
98
|
+
id?: string | number;
|
|
99
|
+
image?: string;
|
|
100
|
+
isTopVendor?: boolean;
|
|
101
|
+
logo?: string;
|
|
102
|
+
name?: string;
|
|
103
103
|
}
|
|
104
104
|
export interface CasinoGameThumbnailInfo {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
105
|
+
name: string;
|
|
106
|
+
id: number;
|
|
107
|
+
vendor: CasinoVendor;
|
|
108
|
+
subVendor: string;
|
|
109
|
+
subVendorId: number;
|
|
110
|
+
vendorGameId?: string | number;
|
|
111
|
+
type?: string;
|
|
112
|
+
defaultThumbnail?: string;
|
|
113
|
+
thumbnail: string;
|
|
114
|
+
thumbnails?: string[];
|
|
115
|
+
cellSize?: string;
|
|
116
|
+
launchUrl?: string;
|
|
117
|
+
logo?: string;
|
|
118
|
+
liveCasinoCategory?: CasinoGameCategory | string;
|
|
119
|
+
platform?: string[];
|
|
120
|
+
details?: CasinoGameThumbnailDetails;
|
|
121
|
+
gameId?: number | string;
|
|
122
|
+
gameCode?: string;
|
|
123
|
+
hasFunMode?: boolean;
|
|
124
|
+
hasAnonymousFunMode: boolean;
|
|
125
|
+
width?: number;
|
|
126
|
+
height?: number;
|
|
127
|
+
isNew?: boolean;
|
|
128
|
+
isVIPTable?: boolean;
|
|
129
|
+
isFavorite?: boolean;
|
|
130
|
+
advancedTags?: Array<any>;
|
|
131
|
+
gameTag?: string;
|
|
132
132
|
}
|