@everymatrix/casino-game-thumb-view 1.31.2 → 1.32.4

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.
Files changed (131) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +3 -2
  3. package/dist/assets/baccarat.svg +0 -43
  4. package/dist/assets/fav.svg +0 -9
  5. package/dist/assets/favorite.svg +0 -12
  6. package/dist/assets/seat.svg +0 -6
  7. package/dist/assets/unfav.svg +0 -20
  8. package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +0 -1
  9. package/dist/casino-game-thumb-view/index.esm.js +0 -0
  10. package/dist/casino-game-thumb-view/p-1bbf4b70.entry.js +0 -1
  11. package/dist/casino-game-thumb-view/p-1e63a1ab.js +0 -1
  12. package/dist/casino-game-thumb-view/p-2d5f59fe.js +0 -1
  13. package/dist/casino-game-thumb-view/p-42bf2034.entry.js +0 -1
  14. package/dist/casino-game-thumb-view/p-46dbb1cb.js +0 -1
  15. package/dist/casino-game-thumb-view/p-6a6b2a78.js +0 -8
  16. package/dist/casino-game-thumb-view/p-7ae107ed.entry.js +0 -1
  17. package/dist/casino-game-thumb-view/p-9cbfffbc.entry.js +0 -1
  18. package/dist/casino-game-thumb-view/p-d961aec4.entry.js +0 -1
  19. package/dist/casino-game-thumb-view/p-db43bb56.entry.js +0 -7
  20. package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +0 -366
  21. package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +0 -58
  22. package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +0 -45
  23. package/dist/cjs/casino-game-thumb-view.cjs.js +0 -19
  24. package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +0 -1612
  25. package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +0 -278
  26. package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +0 -23
  27. package/dist/cjs/game-thumbnail-31d518f0.js +0 -78
  28. package/dist/cjs/index-65a1d768.js +0 -1796
  29. package/dist/cjs/index.cjs.js +0 -2
  30. package/dist/cjs/loader.cjs.js +0 -21
  31. package/dist/cjs/locale.utils-aa160787.js +0 -132
  32. package/dist/cjs/utils-a0afc0a9.js +0 -5745
  33. package/dist/collection/collection-manifest.json +0 -19
  34. package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.css +0 -116
  35. package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +0 -240
  36. package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.css +0 -64
  37. package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +0 -119
  38. package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.css +0 -40
  39. package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +0 -123
  40. package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.css +0 -361
  41. package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +0 -1064
  42. package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.css +0 -3
  43. package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +0 -86
  44. package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.css +0 -154
  45. package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +0 -158
  46. package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.css +0 -58
  47. package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +0 -209
  48. package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.css +0 -3
  49. package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +0 -62
  50. package/dist/collection/constants/game-thumbnail.js +0 -85
  51. package/dist/collection/index.js +0 -1
  52. package/dist/collection/models/casino-game-thumb-view.js +0 -12
  53. package/dist/collection/models/currency-symbols.js +0 -173
  54. package/dist/collection/static/baccarat.svg +0 -43
  55. package/dist/collection/static/fav.svg +0 -9
  56. package/dist/collection/static/favorite.svg +0 -12
  57. package/dist/collection/static/seat.svg +0 -6
  58. package/dist/collection/static/unfav.svg +0 -20
  59. package/dist/collection/utils/baccarat-board-svg.js +0 -234
  60. package/dist/collection/utils/locale.utils.js +0 -128
  61. package/dist/collection/utils/utils.js +0 -65
  62. package/dist/components/casino-extrainfo-baccarat.d.ts +0 -11
  63. package/dist/components/casino-extrainfo-baccarat.js +0 -400
  64. package/dist/components/casino-extrainfo-blackjack.d.ts +0 -11
  65. package/dist/components/casino-extrainfo-blackjack.js +0 -92
  66. package/dist/components/casino-extrainfo-roulette.d.ts +0 -11
  67. package/dist/components/casino-extrainfo-roulette.js +0 -78
  68. package/dist/components/casino-game-thumb-view.d.ts +0 -11
  69. package/dist/components/casino-game-thumb-view.js +0 -1625
  70. package/dist/components/casino-game-thumbnail-betlimit.d.ts +0 -11
  71. package/dist/components/casino-game-thumbnail-betlimit.js +0 -6
  72. package/dist/components/casino-game-thumbnail-betlimit2.js +0 -227
  73. package/dist/components/casino-game-thumbnail-extrainfo.d.ts +0 -11
  74. package/dist/components/casino-game-thumbnail-extrainfo.js +0 -6
  75. package/dist/components/casino-game-thumbnail-extrainfo2.js +0 -96
  76. package/dist/components/casino-game-thumbnail-overlay.d.ts +0 -11
  77. package/dist/components/casino-game-thumbnail-overlay.js +0 -6
  78. package/dist/components/casino-game-thumbnail-overlay2.js +0 -69
  79. package/dist/components/casino-normal-game-thumbnail.d.ts +0 -11
  80. package/dist/components/casino-normal-game-thumbnail.js +0 -52
  81. package/dist/components/game-thumbnail.js +0 -72
  82. package/dist/components/index.d.ts +0 -26
  83. package/dist/components/index.js +0 -1
  84. package/dist/components/locale.utils.js +0 -130
  85. package/dist/components/utils.js +0 -5739
  86. package/dist/esm/casino-extrainfo-baccarat.entry.js +0 -362
  87. package/dist/esm/casino-extrainfo-blackjack.entry.js +0 -54
  88. package/dist/esm/casino-extrainfo-roulette.entry.js +0 -41
  89. package/dist/esm/casino-game-thumb-view.js +0 -17
  90. package/dist/esm/casino-game-thumb-view_2.entry.js +0 -1607
  91. package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +0 -273
  92. package/dist/esm/casino-normal-game-thumbnail.entry.js +0 -19
  93. package/dist/esm/game-thumbnail-0a56ee03.js +0 -72
  94. package/dist/esm/index-1e44dd9f.js +0 -1769
  95. package/dist/esm/index.js +0 -1
  96. package/dist/esm/loader.js +0 -17
  97. package/dist/esm/locale.utils-e0cf897e.js +0 -130
  98. package/dist/esm/polyfills/core-js.js +0 -11
  99. package/dist/esm/polyfills/css-shim.js +0 -1
  100. package/dist/esm/polyfills/dom.js +0 -79
  101. package/dist/esm/polyfills/es5-html-element.js +0 -1
  102. package/dist/esm/polyfills/index.js +0 -34
  103. package/dist/esm/polyfills/system.js +0 -6
  104. package/dist/esm/utils-e9314132.js +0 -5739
  105. package/dist/index.cjs.js +0 -1
  106. package/dist/index.js +0 -1
  107. package/dist/stencil.config.js +0 -40
  108. package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/casino-game-thumb-view/.stencil/packages/casino-game-thumb-view/stencil.config.d.ts +0 -2
  109. package/dist/types/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.d.ts +0 -40
  110. package/dist/types/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.d.ts +0 -36
  111. package/dist/types/components/casino-extrainfo-roulette/casino-extrainfo-roulette.d.ts +0 -21
  112. package/dist/types/components/casino-game-thumb-view/casino-game-thumb-view.d.ts +0 -221
  113. package/dist/types/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.d.ts +0 -17
  114. package/dist/types/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.d.ts +0 -16
  115. package/dist/types/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.d.ts +0 -31
  116. package/dist/types/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.d.ts +0 -7
  117. package/dist/types/components.d.ts +0 -480
  118. package/dist/types/constants/game-thumbnail.d.ts +0 -83
  119. package/dist/types/index.d.ts +0 -1
  120. package/dist/types/models/casino-game-thumb-view.d.ts +0 -132
  121. package/dist/types/models/currency-symbols.d.ts +0 -172
  122. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  123. package/dist/types/utils/baccarat-board-svg.d.ts +0 -31
  124. package/dist/types/utils/locale.utils.d.ts +0 -1
  125. package/dist/types/utils/utils.d.ts +0 -19
  126. package/loader/cdn.js +0 -3
  127. package/loader/index.cjs.js +0 -3
  128. package/loader/index.d.ts +0 -12
  129. package/loader/index.es2017.js +0 -3
  130. package/loader/index.js +0 -4
  131. package/loader/package.json +0 -10
@@ -1,480 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /**
4
- * This is an autogenerated file created by the Stencil compiler.
5
- * It contains typing information for all components that exist in this project.
6
- */
7
- import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { BaccaratUpdateItem, BetLimit, CasinoGameThumbnailDetails, CasinoGameThumbnailInfo } from "./models/casino-game-thumb-view";
9
- export namespace Components {
10
- interface CasinoExtrainfoBaccarat {
11
- /**
12
- * Text language to show
13
- */
14
- "language": string;
15
- "onBaccaratResultChanged": (result: Array<BaccaratUpdateItem>) => Promise<void>;
16
- /**
17
- * Called when received update from updater
18
- * @param details
19
- */
20
- "onGameDetailUpdated": (details: CasinoGameThumbnailDetails) => Promise<void>;
21
- "onGameLoaded": (gameInfo: CasinoGameThumbnailInfo) => Promise<void>;
22
- /**
23
- * Text language to show
24
- */
25
- "showRoundBoard": boolean;
26
- }
27
- interface CasinoExtrainfoBlackjack {
28
- /**
29
- * Text language to show
30
- */
31
- "language": string;
32
- "onGameDetailUpdated": (details: CasinoGameThumbnailDetails) => Promise<void>;
33
- "onGameLoaded": (gameInfo: CasinoGameThumbnailInfo) => Promise<void>;
34
- }
35
- interface CasinoExtrainfoRoulette {
36
- /**
37
- * Language
38
- */
39
- "language": string;
40
- "onGameDetailUpdated": (details: CasinoGameThumbnailDetails) => Promise<void>;
41
- "onGameLoaded": (gameInfo: CasinoGameThumbnailInfo) => Promise<void>;
42
- }
43
- interface CasinoGameThumbView {
44
- /**
45
- * Game Property, Customize game cell size
46
- */
47
- "cellSize": string;
48
- /**
49
- * Widget Setting, Client custom styling via string
50
- */
51
- "clientStyling": string;
52
- /**
53
- * Widget Setting, Client custom styling via url content
54
- */
55
- "clientStylingUrl": string;
56
- /**
57
- * Widget Setting, flag to start a updater when a live game show in visible area Valid value: 'disconnect'/'connect' Flag to start a updater when a live game show in visible area when 'connectLive'= 'connect'
58
- */
59
- "connectLive": string;
60
- /**
61
- * Widget Setting, Api endpoint for loading game details
62
- */
63
- "endpoint": string;
64
- /**
65
- * Game Property, default ''
66
- */
67
- "gameCategory": string;
68
- /**
69
- * Game Property, GameId
70
- */
71
- "gameId": number | string;
72
- /**
73
- * Game Property, Game Name
74
- */
75
- "gameName": string;
76
- /**
77
- * Game Property, gameTag
78
- */
79
- "gameTag": string;
80
- /**
81
- * Game Property, Game vendor
82
- */
83
- "gameVendor": string;
84
- /**
85
- * Widget Setting, show game in a frame when user clicked 'start' the frame url when integratedGameframeDesktop is true
86
- */
87
- "gamepageModalurl": string;
88
- /**
89
- * Game Property, hasAnonymousFunMode
90
- */
91
- "hasAnonymousFunMode": boolean;
92
- /**
93
- * Game Property, Game funMode
94
- */
95
- "hasFunMode": boolean;
96
- /**
97
- * Widget Setting, show game in a frame when user clicked 'start', Open game aframe, gamepageModalurl value should be set
98
- */
99
- "integratedGameframeDesktop": boolean;
100
- /**
101
- * Widget Setting, show game in a frame when user clicked 'start'
102
- */
103
- "integratedGameframeMobile": boolean;
104
- /**
105
- * Game Property, is Game Favorited
106
- */
107
- "isFavorite": boolean;
108
- /**
109
- * Game Property, is Game new
110
- */
111
- "isNew": boolean;
112
- /**
113
- * Widget Setting, Game language
114
- */
115
- "language": string;
116
- /**
117
- * Widget Setting, Live lobby endpoint, use to start a game Load game info by this url if type=='live-casino-tables'
118
- */
119
- "livelobbyEndpoint": string;
120
- /**
121
- * 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
122
- */
123
- "loadDetails": boolean;
124
- /**
125
- * Game Property, Game lunch platform
126
- */
127
- "platform": string;
128
- /**
129
- * Widget Setting, User session
130
- */
131
- "session": string;
132
- /**
133
- * Widget Setting, game showed in favorited category
134
- */
135
- "showFavoredCategory": boolean;
136
- /**
137
- * Widget Setting, Show game name if set it as true
138
- */
139
- "showGameName": boolean;
140
- /**
141
- * Widget Setting, showRoundBoard, default value: false
142
- */
143
- "showRoundBoard": boolean;
144
- /**
145
- * Game Property, Game SubVendor
146
- */
147
- "subVendor": string;
148
- /**
149
- * Game Property, Game thumbnail
150
- */
151
- "thumbnail": string;
152
- /**
153
- * Game Property, type, isLiveCasino when type == 'live-casino-tables'
154
- */
155
- "type": string;
156
- /**
157
- * Widget Setting, User id
158
- */
159
- "userId": string | number;
160
- /**
161
- * Widget Setting Valid value: 'disconnect'/'connect' Flag to start a updater when a live game show in visible area when visibilityConnect='connect' && connectLive = 'connect'
162
- */
163
- "visibilityConnect": string;
164
- }
165
- interface CasinoGameThumbnailBetlimit {
166
- /**
167
- * The betlimit of live game
168
- */
169
- "betLimit": BetLimit;
170
- /**
171
- * Number of players
172
- */
173
- "numberOfPlayers": number;
174
- }
175
- interface CasinoGameThumbnailExtrainfo {
176
- "language": string;
177
- "onGameDetailUpdated": (details: CasinoGameThumbnailDetails) => Promise<void>;
178
- "onGameLoaded": (gameInfo: CasinoGameThumbnailInfo) => Promise<void>;
179
- }
180
- interface CasinoGameThumbnailOverlay {
181
- "gameId": string | number;
182
- "gameName": string;
183
- "gameVendor": string;
184
- /**
185
- * Widget Setting, the frame url when integratedGameframeDesktop is true
186
- */
187
- "gamepageModalurl": string;
188
- "hasFunMode": boolean;
189
- /**
190
- * 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
- "integratedGameframeDesktop": boolean;
193
- /**
194
- * Widget Setting, show game in a frame when user clicked 'start', default: false
195
- */
196
- "integratedGameframeMobile": boolean;
197
- /**
198
- * Language
199
- */
200
- "language": string;
201
- }
202
- interface CasinoNormalGameThumbnail {
203
- "language": string;
204
- "onGameLoaded": (gameInfo: CasinoGameThumbnailInfo) => Promise<void>;
205
- }
206
- }
207
- declare global {
208
- interface HTMLCasinoExtrainfoBaccaratElement extends Components.CasinoExtrainfoBaccarat, HTMLStencilElement {
209
- }
210
- var HTMLCasinoExtrainfoBaccaratElement: {
211
- prototype: HTMLCasinoExtrainfoBaccaratElement;
212
- new (): HTMLCasinoExtrainfoBaccaratElement;
213
- };
214
- interface HTMLCasinoExtrainfoBlackjackElement extends Components.CasinoExtrainfoBlackjack, HTMLStencilElement {
215
- }
216
- var HTMLCasinoExtrainfoBlackjackElement: {
217
- prototype: HTMLCasinoExtrainfoBlackjackElement;
218
- new (): HTMLCasinoExtrainfoBlackjackElement;
219
- };
220
- interface HTMLCasinoExtrainfoRouletteElement extends Components.CasinoExtrainfoRoulette, HTMLStencilElement {
221
- }
222
- var HTMLCasinoExtrainfoRouletteElement: {
223
- prototype: HTMLCasinoExtrainfoRouletteElement;
224
- new (): HTMLCasinoExtrainfoRouletteElement;
225
- };
226
- interface HTMLCasinoGameThumbViewElement extends Components.CasinoGameThumbView, HTMLStencilElement {
227
- }
228
- var HTMLCasinoGameThumbViewElement: {
229
- prototype: HTMLCasinoGameThumbViewElement;
230
- new (): HTMLCasinoGameThumbViewElement;
231
- };
232
- interface HTMLCasinoGameThumbnailBetlimitElement extends Components.CasinoGameThumbnailBetlimit, HTMLStencilElement {
233
- }
234
- var HTMLCasinoGameThumbnailBetlimitElement: {
235
- prototype: HTMLCasinoGameThumbnailBetlimitElement;
236
- new (): HTMLCasinoGameThumbnailBetlimitElement;
237
- };
238
- interface HTMLCasinoGameThumbnailExtrainfoElement extends Components.CasinoGameThumbnailExtrainfo, HTMLStencilElement {
239
- }
240
- var HTMLCasinoGameThumbnailExtrainfoElement: {
241
- prototype: HTMLCasinoGameThumbnailExtrainfoElement;
242
- new (): HTMLCasinoGameThumbnailExtrainfoElement;
243
- };
244
- interface HTMLCasinoGameThumbnailOverlayElement extends Components.CasinoGameThumbnailOverlay, HTMLStencilElement {
245
- }
246
- var HTMLCasinoGameThumbnailOverlayElement: {
247
- prototype: HTMLCasinoGameThumbnailOverlayElement;
248
- new (): HTMLCasinoGameThumbnailOverlayElement;
249
- };
250
- interface HTMLCasinoNormalGameThumbnailElement extends Components.CasinoNormalGameThumbnail, HTMLStencilElement {
251
- }
252
- var HTMLCasinoNormalGameThumbnailElement: {
253
- prototype: HTMLCasinoNormalGameThumbnailElement;
254
- new (): HTMLCasinoNormalGameThumbnailElement;
255
- };
256
- interface HTMLElementTagNameMap {
257
- "casino-extrainfo-baccarat": HTMLCasinoExtrainfoBaccaratElement;
258
- "casino-extrainfo-blackjack": HTMLCasinoExtrainfoBlackjackElement;
259
- "casino-extrainfo-roulette": HTMLCasinoExtrainfoRouletteElement;
260
- "casino-game-thumb-view": HTMLCasinoGameThumbViewElement;
261
- "casino-game-thumbnail-betlimit": HTMLCasinoGameThumbnailBetlimitElement;
262
- "casino-game-thumbnail-extrainfo": HTMLCasinoGameThumbnailExtrainfoElement;
263
- "casino-game-thumbnail-overlay": HTMLCasinoGameThumbnailOverlayElement;
264
- "casino-normal-game-thumbnail": HTMLCasinoNormalGameThumbnailElement;
265
- }
266
- }
267
- declare namespace LocalJSX {
268
- interface CasinoExtrainfoBaccarat {
269
- /**
270
- * Text language to show
271
- */
272
- "language"?: string;
273
- /**
274
- * Text language to show
275
- */
276
- "showRoundBoard"?: boolean;
277
- }
278
- interface CasinoExtrainfoBlackjack {
279
- /**
280
- * Text language to show
281
- */
282
- "language"?: string;
283
- }
284
- interface CasinoExtrainfoRoulette {
285
- /**
286
- * Language
287
- */
288
- "language"?: string;
289
- }
290
- interface CasinoGameThumbView {
291
- /**
292
- * Game Property, Customize game cell size
293
- */
294
- "cellSize"?: string;
295
- /**
296
- * Widget Setting, Client custom styling via string
297
- */
298
- "clientStyling"?: string;
299
- /**
300
- * Widget Setting, Client custom styling via url content
301
- */
302
- "clientStylingUrl"?: string;
303
- /**
304
- * Widget Setting, flag to start a updater when a live game show in visible area Valid value: 'disconnect'/'connect' Flag to start a updater when a live game show in visible area when 'connectLive'= 'connect'
305
- */
306
- "connectLive"?: string;
307
- /**
308
- * Widget Setting, Api endpoint for loading game details
309
- */
310
- "endpoint"?: string;
311
- /**
312
- * Game Property, default ''
313
- */
314
- "gameCategory"?: string;
315
- /**
316
- * Game Property, GameId
317
- */
318
- "gameId"?: number | string;
319
- /**
320
- * Game Property, Game Name
321
- */
322
- "gameName"?: string;
323
- /**
324
- * Game Property, gameTag
325
- */
326
- "gameTag"?: string;
327
- /**
328
- * Game Property, Game vendor
329
- */
330
- "gameVendor"?: string;
331
- /**
332
- * Widget Setting, show game in a frame when user clicked 'start' the frame url when integratedGameframeDesktop is true
333
- */
334
- "gamepageModalurl"?: string;
335
- /**
336
- * Game Property, hasAnonymousFunMode
337
- */
338
- "hasAnonymousFunMode"?: boolean;
339
- /**
340
- * Game Property, Game funMode
341
- */
342
- "hasFunMode"?: boolean;
343
- /**
344
- * Widget Setting, show game in a frame when user clicked 'start', Open game aframe, gamepageModalurl value should be set
345
- */
346
- "integratedGameframeDesktop"?: boolean;
347
- /**
348
- * Widget Setting, show game in a frame when user clicked 'start'
349
- */
350
- "integratedGameframeMobile"?: boolean;
351
- /**
352
- * Game Property, is Game Favorited
353
- */
354
- "isFavorite"?: boolean;
355
- /**
356
- * Game Property, is Game new
357
- */
358
- "isNew"?: boolean;
359
- /**
360
- * Widget Setting, Game language
361
- */
362
- "language"?: string;
363
- /**
364
- * Widget Setting, Live lobby endpoint, use to start a game Load game info by this url if type=='live-casino-tables'
365
- */
366
- "livelobbyEndpoint"?: string;
367
- /**
368
- * 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
- */
370
- "loadDetails"?: boolean;
371
- "onToggleCasinoGameFavorite"?: (event: CustomEvent<number | string>) => void;
372
- /**
373
- * Game Property, Game lunch platform
374
- */
375
- "platform"?: string;
376
- /**
377
- * Widget Setting, User session
378
- */
379
- "session"?: string;
380
- /**
381
- * Widget Setting, game showed in favorited category
382
- */
383
- "showFavoredCategory"?: boolean;
384
- /**
385
- * Widget Setting, Show game name if set it as true
386
- */
387
- "showGameName"?: boolean;
388
- /**
389
- * Widget Setting, showRoundBoard, default value: false
390
- */
391
- "showRoundBoard"?: boolean;
392
- /**
393
- * Game Property, Game SubVendor
394
- */
395
- "subVendor"?: string;
396
- /**
397
- * Game Property, Game thumbnail
398
- */
399
- "thumbnail"?: string;
400
- /**
401
- * Game Property, type, isLiveCasino when type == 'live-casino-tables'
402
- */
403
- "type": string;
404
- /**
405
- * Widget Setting, User id
406
- */
407
- "userId"?: string | number;
408
- /**
409
- * Widget Setting Valid value: 'disconnect'/'connect' Flag to start a updater when a live game show in visible area when visibilityConnect='connect' && connectLive = 'connect'
410
- */
411
- "visibilityConnect"?: string;
412
- }
413
- interface CasinoGameThumbnailBetlimit {
414
- /**
415
- * The betlimit of live game
416
- */
417
- "betLimit"?: BetLimit;
418
- /**
419
- * Number of players
420
- */
421
- "numberOfPlayers"?: number;
422
- }
423
- interface CasinoGameThumbnailExtrainfo {
424
- "language"?: string;
425
- }
426
- interface CasinoGameThumbnailOverlay {
427
- "gameId"?: string | number;
428
- "gameName"?: string;
429
- "gameVendor"?: string;
430
- /**
431
- * Widget Setting, the frame url when integratedGameframeDesktop is true
432
- */
433
- "gamepageModalurl"?: string;
434
- "hasFunMode"?: boolean;
435
- /**
436
- * Widget Setting, show game in a frame when user clicked 'start', default: false Open game in a frame, gamepageModalurl value should be set
437
- */
438
- "integratedGameframeDesktop"?: boolean;
439
- /**
440
- * Widget Setting, show game in a frame when user clicked 'start', default: false
441
- */
442
- "integratedGameframeMobile"?: boolean;
443
- /**
444
- * Language
445
- */
446
- "language"?: string;
447
- /**
448
- * Event when playnow button clicked
449
- */
450
- "onPlayCasinoGame"?: (event: CustomEvent<string | number>) => void;
451
- }
452
- interface CasinoNormalGameThumbnail {
453
- "language"?: string;
454
- }
455
- interface IntrinsicElements {
456
- "casino-extrainfo-baccarat": CasinoExtrainfoBaccarat;
457
- "casino-extrainfo-blackjack": CasinoExtrainfoBlackjack;
458
- "casino-extrainfo-roulette": CasinoExtrainfoRoulette;
459
- "casino-game-thumb-view": CasinoGameThumbView;
460
- "casino-game-thumbnail-betlimit": CasinoGameThumbnailBetlimit;
461
- "casino-game-thumbnail-extrainfo": CasinoGameThumbnailExtrainfo;
462
- "casino-game-thumbnail-overlay": CasinoGameThumbnailOverlay;
463
- "casino-normal-game-thumbnail": CasinoNormalGameThumbnail;
464
- }
465
- }
466
- export { LocalJSX as JSX };
467
- declare module "@stencil/core" {
468
- export namespace JSX {
469
- interface IntrinsicElements {
470
- "casino-extrainfo-baccarat": LocalJSX.CasinoExtrainfoBaccarat & JSXBase.HTMLAttributes<HTMLCasinoExtrainfoBaccaratElement>;
471
- "casino-extrainfo-blackjack": LocalJSX.CasinoExtrainfoBlackjack & JSXBase.HTMLAttributes<HTMLCasinoExtrainfoBlackjackElement>;
472
- "casino-extrainfo-roulette": LocalJSX.CasinoExtrainfoRoulette & JSXBase.HTMLAttributes<HTMLCasinoExtrainfoRouletteElement>;
473
- "casino-game-thumb-view": LocalJSX.CasinoGameThumbView & JSXBase.HTMLAttributes<HTMLCasinoGameThumbViewElement>;
474
- "casino-game-thumbnail-betlimit": LocalJSX.CasinoGameThumbnailBetlimit & JSXBase.HTMLAttributes<HTMLCasinoGameThumbnailBetlimitElement>;
475
- "casino-game-thumbnail-extrainfo": LocalJSX.CasinoGameThumbnailExtrainfo & JSXBase.HTMLAttributes<HTMLCasinoGameThumbnailExtrainfoElement>;
476
- "casino-game-thumbnail-overlay": LocalJSX.CasinoGameThumbnailOverlay & JSXBase.HTMLAttributes<HTMLCasinoGameThumbnailOverlayElement>;
477
- "casino-normal-game-thumbnail": LocalJSX.CasinoNormalGameThumbnail & JSXBase.HTMLAttributes<HTMLCasinoNormalGameThumbnailElement>;
478
- }
479
- }
480
- }
@@ -1,83 +0,0 @@
1
- export declare const GameThumbnail: {
2
- GAME_CLASS_BACKGROUND_IMG: string;
3
- GAME_CLASS_OVERLAY: string;
4
- GAME_CLASS_GameInnerContainer: string;
5
- };
6
- export declare const DEFAULT_BLACKJACK_TOTAL_SEATS = 7;
7
- export declare const MONEY_WHEEL_COLOR_MAP: {
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
- };
17
- export declare const ROULETTE_COLOR_MAP: {
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
- };
57
- export declare enum GAME_CATEGORY {
58
- BLACKJACK = "blackjack",
59
- ROULETTE = "roulette",
60
- DOUBLEBALL_ROULETTE = "doubleballroulette",
61
- BACCARAT = "baccarat"
62
- }
63
- export declare enum GAME_TYPE {
64
- NORMAL_CASINO = "casino-games",
65
- LIVE_CASINO = "live-casino-tables",
66
- OTHER = ""
67
- }
68
- export declare const WIDGETTYPE_GAMECATEGORY: {
69
- roulette: string;
70
- doubleballroulette: string;
71
- blackjack: string;
72
- baccarat: string;
73
- };
74
- export declare const WIDGETTYPE_CLASS: {
75
- roulette: string;
76
- doubleballroulette: string;
77
- blackjack: string;
78
- baccarat: string;
79
- };
80
- export declare const WINNER_COLOR: {
81
- banker: string;
82
- player: string;
83
- };
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,132 +0,0 @@
1
- export declare type CasinoGameOpenHourValue = {
2
- endTime: string;
3
- originalTimeFormat: string;
4
- startTime: string;
5
- timeFormat: string;
6
- };
7
- export declare type CasinoGameOpenHours = {
8
- type: string;
9
- value?: CasinoGameOpenHourValue;
10
- };
11
- export declare type Dealer = {
12
- DealerName: string;
13
- };
14
- export declare type Limit = {
15
- [key: string]: number;
16
- };
17
- export interface BetLimit {
18
- min?: Limit;
19
- max?: Limit;
20
- }
21
- export interface BaccaratLocation {
22
- column: number;
23
- row: number;
24
- }
25
- export interface OriBaccaratLocation {
26
- Column: number;
27
- Row: number;
28
- }
29
- export interface BaccaratUpdateItem {
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
- }
40
- export interface OriBaccaratUpdateItem {
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
- }
51
- export interface CasinoGameThumbnailDetails {
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
- }
81
- export declare enum CasinoGameCategory {
82
- ROULETTE = "ROULETTE",
83
- POKER = "POKER",
84
- BLACKJACK = "BLACKJACK"
85
- }
86
- export declare enum BaccaratWinner {
87
- PLAYER = "Player",
88
- WINNER = "Banker",
89
- TIE = "Tie"
90
- }
91
- export declare type SeatsStatus = {
92
- seatNo: number;
93
- isClosed: boolean;
94
- };
95
- export interface CasinoVendor {
96
- href: string;
97
- displayName?: string;
98
- id?: string | number;
99
- image?: string;
100
- isTopVendor?: boolean;
101
- logo?: string;
102
- name?: string;
103
- }
104
- export interface CasinoGameThumbnailInfo {
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
- }