@everymatrix/casino-game-thumb-view 1.13.5

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 (130) hide show
  1. package/dist/assets/baccarat.svg +43 -0
  2. package/dist/assets/fav.svg +9 -0
  3. package/dist/assets/favorite.svg +12 -0
  4. package/dist/assets/seat.svg +6 -0
  5. package/dist/assets/unfav.svg +20 -0
  6. package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -0
  7. package/dist/casino-game-thumb-view/index.esm.js +0 -0
  8. package/dist/casino-game-thumb-view/p-0bd6266b.entry.js +1 -0
  9. package/dist/casino-game-thumb-view/p-2b51ea79.js +1 -0
  10. package/dist/casino-game-thumb-view/p-2d5f59fe.js +1 -0
  11. package/dist/casino-game-thumb-view/p-33e707bf.entry.js +1 -0
  12. package/dist/casino-game-thumb-view/p-45836b67.entry.js +7 -0
  13. package/dist/casino-game-thumb-view/p-46dbb1cb.js +1 -0
  14. package/dist/casino-game-thumb-view/p-6a6b2a78.js +8 -0
  15. package/dist/casino-game-thumb-view/p-b153f943.entry.js +1 -0
  16. package/dist/casino-game-thumb-view/p-d961aec4.entry.js +1 -0
  17. package/dist/casino-game-thumb-view/p-fc7672a9.entry.js +1 -0
  18. package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +366 -0
  19. package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +58 -0
  20. package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +44 -0
  21. package/dist/cjs/casino-game-thumb-view.cjs.js +19 -0
  22. package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +1598 -0
  23. package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +274 -0
  24. package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +19 -0
  25. package/dist/cjs/game-thumbnail-31d518f0.js +78 -0
  26. package/dist/cjs/index-65a1d768.js +1796 -0
  27. package/dist/cjs/index.cjs.js +2 -0
  28. package/dist/cjs/loader.cjs.js +21 -0
  29. package/dist/cjs/locale.utils-09067b6b.js +132 -0
  30. package/dist/cjs/utils-a0afc0a9.js +5745 -0
  31. package/dist/collection/collection-manifest.json +19 -0
  32. package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.css +116 -0
  33. package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +240 -0
  34. package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.css +64 -0
  35. package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +119 -0
  36. package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.css +40 -0
  37. package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +122 -0
  38. package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.css +361 -0
  39. package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +1051 -0
  40. package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.css +3 -0
  41. package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +86 -0
  42. package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.css +154 -0
  43. package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +154 -0
  44. package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.css +58 -0
  45. package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +208 -0
  46. package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.css +3 -0
  47. package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +13 -0
  48. package/dist/collection/constants/game-thumbnail.js +85 -0
  49. package/dist/collection/index.js +1 -0
  50. package/dist/collection/models/casino-game-thumb-view.js +12 -0
  51. package/dist/collection/models/currency-symbols.js +173 -0
  52. package/dist/collection/static/baccarat.svg +43 -0
  53. package/dist/collection/static/fav.svg +9 -0
  54. package/dist/collection/static/favorite.svg +12 -0
  55. package/dist/collection/static/seat.svg +6 -0
  56. package/dist/collection/static/unfav.svg +20 -0
  57. package/dist/collection/utils/baccarat-board-svg.js +234 -0
  58. package/dist/collection/utils/locale.utils.js +128 -0
  59. package/dist/collection/utils/utils.js +65 -0
  60. package/dist/components/casino-extrainfo-baccarat.d.ts +11 -0
  61. package/dist/components/casino-extrainfo-baccarat.js +400 -0
  62. package/dist/components/casino-extrainfo-blackjack.d.ts +11 -0
  63. package/dist/components/casino-extrainfo-blackjack.js +92 -0
  64. package/dist/components/casino-extrainfo-roulette.d.ts +11 -0
  65. package/dist/components/casino-extrainfo-roulette.js +77 -0
  66. package/dist/components/casino-game-thumb-view.d.ts +11 -0
  67. package/dist/components/casino-game-thumb-view.js +1612 -0
  68. package/dist/components/casino-game-thumbnail-betlimit.d.ts +11 -0
  69. package/dist/components/casino-game-thumbnail-betlimit.js +6 -0
  70. package/dist/components/casino-game-thumbnail-betlimit2.js +227 -0
  71. package/dist/components/casino-game-thumbnail-extrainfo.d.ts +11 -0
  72. package/dist/components/casino-game-thumbnail-extrainfo.js +6 -0
  73. package/dist/components/casino-game-thumbnail-extrainfo2.js +92 -0
  74. package/dist/components/casino-game-thumbnail-overlay.d.ts +11 -0
  75. package/dist/components/casino-game-thumbnail-overlay.js +6 -0
  76. package/dist/components/casino-game-thumbnail-overlay2.js +68 -0
  77. package/dist/components/casino-normal-game-thumbnail.d.ts +11 -0
  78. package/dist/components/casino-normal-game-thumbnail.js +33 -0
  79. package/dist/components/game-thumbnail.js +72 -0
  80. package/dist/components/index.d.ts +26 -0
  81. package/dist/components/index.js +1 -0
  82. package/dist/components/locale.utils.js +130 -0
  83. package/dist/components/utils.js +5739 -0
  84. package/dist/esm/casino-extrainfo-baccarat.entry.js +362 -0
  85. package/dist/esm/casino-extrainfo-blackjack.entry.js +54 -0
  86. package/dist/esm/casino-extrainfo-roulette.entry.js +40 -0
  87. package/dist/esm/casino-game-thumb-view.js +17 -0
  88. package/dist/esm/casino-game-thumb-view_2.entry.js +1593 -0
  89. package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +269 -0
  90. package/dist/esm/casino-normal-game-thumbnail.entry.js +15 -0
  91. package/dist/esm/game-thumbnail-0a56ee03.js +72 -0
  92. package/dist/esm/index-1e44dd9f.js +1769 -0
  93. package/dist/esm/index.js +1 -0
  94. package/dist/esm/loader.js +17 -0
  95. package/dist/esm/locale.utils-1c69bea3.js +130 -0
  96. package/dist/esm/polyfills/core-js.js +11 -0
  97. package/dist/esm/polyfills/css-shim.js +1 -0
  98. package/dist/esm/polyfills/dom.js +79 -0
  99. package/dist/esm/polyfills/es5-html-element.js +1 -0
  100. package/dist/esm/polyfills/index.js +34 -0
  101. package/dist/esm/polyfills/system.js +6 -0
  102. package/dist/esm/utils-e9314132.js +5739 -0
  103. package/dist/index.cjs.js +1 -0
  104. package/dist/index.js +1 -0
  105. package/dist/stencil.config.js +40 -0
  106. 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 +2 -0
  107. package/dist/types/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.d.ts +40 -0
  108. package/dist/types/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.d.ts +36 -0
  109. package/dist/types/components/casino-extrainfo-roulette/casino-extrainfo-roulette.d.ts +21 -0
  110. package/dist/types/components/casino-game-thumb-view/casino-game-thumb-view.d.ts +220 -0
  111. package/dist/types/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.d.ts +17 -0
  112. package/dist/types/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.d.ts +16 -0
  113. package/dist/types/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.d.ts +30 -0
  114. package/dist/types/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.d.ts +3 -0
  115. package/dist/types/components.d.ts +477 -0
  116. package/dist/types/constants/game-thumbnail.d.ts +83 -0
  117. package/dist/types/index.d.ts +1 -0
  118. package/dist/types/models/casino-game-thumb-view.d.ts +132 -0
  119. package/dist/types/models/currency-symbols.d.ts +172 -0
  120. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  121. package/dist/types/utils/baccarat-board-svg.d.ts +31 -0
  122. package/dist/types/utils/locale.utils.d.ts +1 -0
  123. package/dist/types/utils/utils.d.ts +19 -0
  124. package/loader/cdn.js +3 -0
  125. package/loader/index.cjs.js +3 -0
  126. package/loader/index.d.ts +12 -0
  127. package/loader/index.es2017.js +3 -0
  128. package/loader/index.js +4 -0
  129. package/loader/package.json +10 -0
  130. package/package.json +26 -0
@@ -0,0 +1,477 @@
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
+ * the frame url when integratedGameFrameDesktop is true
186
+ */
187
+ "gamepageModalUrl": string;
188
+ "hasFunMode": boolean;
189
+ /**
190
+ * Open game a a frame, gamepagemodalurl value should be set
191
+ */
192
+ "integratedGameFrameDesktop": boolean;
193
+ /**
194
+ * integratedGameFrameMobile
195
+ */
196
+ "integratedGameFrameMobile": boolean;
197
+ /**
198
+ * Language
199
+ */
200
+ "language": string;
201
+ }
202
+ interface CasinoNormalGameThumbnail {
203
+ }
204
+ }
205
+ declare global {
206
+ interface HTMLCasinoExtrainfoBaccaratElement extends Components.CasinoExtrainfoBaccarat, HTMLStencilElement {
207
+ }
208
+ var HTMLCasinoExtrainfoBaccaratElement: {
209
+ prototype: HTMLCasinoExtrainfoBaccaratElement;
210
+ new (): HTMLCasinoExtrainfoBaccaratElement;
211
+ };
212
+ interface HTMLCasinoExtrainfoBlackjackElement extends Components.CasinoExtrainfoBlackjack, HTMLStencilElement {
213
+ }
214
+ var HTMLCasinoExtrainfoBlackjackElement: {
215
+ prototype: HTMLCasinoExtrainfoBlackjackElement;
216
+ new (): HTMLCasinoExtrainfoBlackjackElement;
217
+ };
218
+ interface HTMLCasinoExtrainfoRouletteElement extends Components.CasinoExtrainfoRoulette, HTMLStencilElement {
219
+ }
220
+ var HTMLCasinoExtrainfoRouletteElement: {
221
+ prototype: HTMLCasinoExtrainfoRouletteElement;
222
+ new (): HTMLCasinoExtrainfoRouletteElement;
223
+ };
224
+ interface HTMLCasinoGameThumbViewElement extends Components.CasinoGameThumbView, HTMLStencilElement {
225
+ }
226
+ var HTMLCasinoGameThumbViewElement: {
227
+ prototype: HTMLCasinoGameThumbViewElement;
228
+ new (): HTMLCasinoGameThumbViewElement;
229
+ };
230
+ interface HTMLCasinoGameThumbnailBetlimitElement extends Components.CasinoGameThumbnailBetlimit, HTMLStencilElement {
231
+ }
232
+ var HTMLCasinoGameThumbnailBetlimitElement: {
233
+ prototype: HTMLCasinoGameThumbnailBetlimitElement;
234
+ new (): HTMLCasinoGameThumbnailBetlimitElement;
235
+ };
236
+ interface HTMLCasinoGameThumbnailExtrainfoElement extends Components.CasinoGameThumbnailExtrainfo, HTMLStencilElement {
237
+ }
238
+ var HTMLCasinoGameThumbnailExtrainfoElement: {
239
+ prototype: HTMLCasinoGameThumbnailExtrainfoElement;
240
+ new (): HTMLCasinoGameThumbnailExtrainfoElement;
241
+ };
242
+ interface HTMLCasinoGameThumbnailOverlayElement extends Components.CasinoGameThumbnailOverlay, HTMLStencilElement {
243
+ }
244
+ var HTMLCasinoGameThumbnailOverlayElement: {
245
+ prototype: HTMLCasinoGameThumbnailOverlayElement;
246
+ new (): HTMLCasinoGameThumbnailOverlayElement;
247
+ };
248
+ interface HTMLCasinoNormalGameThumbnailElement extends Components.CasinoNormalGameThumbnail, HTMLStencilElement {
249
+ }
250
+ var HTMLCasinoNormalGameThumbnailElement: {
251
+ prototype: HTMLCasinoNormalGameThumbnailElement;
252
+ new (): HTMLCasinoNormalGameThumbnailElement;
253
+ };
254
+ interface HTMLElementTagNameMap {
255
+ "casino-extrainfo-baccarat": HTMLCasinoExtrainfoBaccaratElement;
256
+ "casino-extrainfo-blackjack": HTMLCasinoExtrainfoBlackjackElement;
257
+ "casino-extrainfo-roulette": HTMLCasinoExtrainfoRouletteElement;
258
+ "casino-game-thumb-view": HTMLCasinoGameThumbViewElement;
259
+ "casino-game-thumbnail-betlimit": HTMLCasinoGameThumbnailBetlimitElement;
260
+ "casino-game-thumbnail-extrainfo": HTMLCasinoGameThumbnailExtrainfoElement;
261
+ "casino-game-thumbnail-overlay": HTMLCasinoGameThumbnailOverlayElement;
262
+ "casino-normal-game-thumbnail": HTMLCasinoNormalGameThumbnailElement;
263
+ }
264
+ }
265
+ declare namespace LocalJSX {
266
+ interface CasinoExtrainfoBaccarat {
267
+ /**
268
+ * Text language to show
269
+ */
270
+ "language"?: string;
271
+ /**
272
+ * Text language to show
273
+ */
274
+ "showRoundBoard"?: boolean;
275
+ }
276
+ interface CasinoExtrainfoBlackjack {
277
+ /**
278
+ * Text language to show
279
+ */
280
+ "language"?: string;
281
+ }
282
+ interface CasinoExtrainfoRoulette {
283
+ /**
284
+ * Language
285
+ */
286
+ "language"?: string;
287
+ }
288
+ interface CasinoGameThumbView {
289
+ /**
290
+ * Game Property, Customize game cell size
291
+ */
292
+ "cellSize"?: string;
293
+ /**
294
+ * Widget Setting, Client custom styling via string
295
+ */
296
+ "clientStyling"?: string;
297
+ /**
298
+ * Widget Setting, Client custom styling via url content
299
+ */
300
+ "clientStylingUrl"?: string;
301
+ /**
302
+ * 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'
303
+ */
304
+ "connectLive"?: string;
305
+ /**
306
+ * Widget Setting, Api endpoint for loading game details
307
+ */
308
+ "endpoint"?: string;
309
+ /**
310
+ * Game Property, default ''
311
+ */
312
+ "gameCategory"?: string;
313
+ /**
314
+ * Game Property, GameId
315
+ */
316
+ "gameId"?: number | string;
317
+ /**
318
+ * Game Property, Game Name
319
+ */
320
+ "gameName"?: string;
321
+ /**
322
+ * Game Property, gameTag
323
+ */
324
+ "gameTag"?: string;
325
+ /**
326
+ * Game Property, Game vendor
327
+ */
328
+ "gameVendor"?: string;
329
+ /**
330
+ * Widget Setting, show game in a frame when user clicked 'start' the frame url when integratedGameFrameDesktop is true
331
+ */
332
+ "gamepageModalUrl"?: string;
333
+ /**
334
+ * Game Property, hasAnonymousFunMode
335
+ */
336
+ "hasAnonymousFunMode"?: boolean;
337
+ /**
338
+ * Game Property, Game funMode
339
+ */
340
+ "hasFunMode"?: boolean;
341
+ /**
342
+ * Widget Setting, show game in a frame when user clicked 'start', Open game aframe, gamepageModalUrl value should be set
343
+ */
344
+ "integratedGameFrameDesktop"?: boolean;
345
+ /**
346
+ * Widget Setting, show game in a frame when user clicked 'start'
347
+ */
348
+ "integratedGameFrameMobile"?: boolean;
349
+ /**
350
+ * Game Property, is Game Favorited
351
+ */
352
+ "isFavorite"?: boolean;
353
+ /**
354
+ * Game Property, is Game new
355
+ */
356
+ "isNew"?: boolean;
357
+ /**
358
+ * Widget Setting, Game language
359
+ */
360
+ "language"?: string;
361
+ /**
362
+ * Widget Setting, Live lobby endpoint, use to start a game Load game info by this url if type=='live-casino-tables'
363
+ */
364
+ "livelobbyEndpoint"?: string;
365
+ /**
366
+ * 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
367
+ */
368
+ "loadDetails"?: boolean;
369
+ "onToggleCasinoGameFavorite"?: (event: CustomEvent<number | string>) => void;
370
+ /**
371
+ * Game Property, Game lunch platform
372
+ */
373
+ "platform"?: string;
374
+ /**
375
+ * Widget Setting, User session
376
+ */
377
+ "session"?: string;
378
+ /**
379
+ * Widget Setting, game showed in favorited category
380
+ */
381
+ "showFavoredCategory"?: boolean;
382
+ /**
383
+ * Widget Setting, Show game name if set it as true
384
+ */
385
+ "showGameName"?: boolean;
386
+ /**
387
+ * Widget Setting, showRoundBoard, default value: false
388
+ */
389
+ "showRoundBoard"?: boolean;
390
+ /**
391
+ * Game Property, Game SubVendor
392
+ */
393
+ "subVendor"?: string;
394
+ /**
395
+ * Game Property, Game thumbnail
396
+ */
397
+ "thumbnail"?: string;
398
+ /**
399
+ * Game Property, type, isLiveCasino when type == 'live-casino-tables'
400
+ */
401
+ "type": string;
402
+ /**
403
+ * Widget Setting, User id
404
+ */
405
+ "userId"?: string | number;
406
+ /**
407
+ * Widget Setting Valid value: 'disconnect'/'connect' Flag to start a updater when a live game show in visible area when visibilityConnect='connect' && connectLive = 'connect'
408
+ */
409
+ "visibilityConnect"?: string;
410
+ }
411
+ interface CasinoGameThumbnailBetlimit {
412
+ /**
413
+ * The betlimit of live game
414
+ */
415
+ "betLimit"?: BetLimit;
416
+ /**
417
+ * Number of players
418
+ */
419
+ "numberOfPlayers"?: number;
420
+ }
421
+ interface CasinoGameThumbnailExtrainfo {
422
+ "language"?: string;
423
+ }
424
+ interface CasinoGameThumbnailOverlay {
425
+ "gameId"?: string | number;
426
+ "gameName"?: string;
427
+ "gameVendor"?: string;
428
+ /**
429
+ * the frame url when integratedGameFrameDesktop is true
430
+ */
431
+ "gamepageModalUrl"?: string;
432
+ "hasFunMode"?: boolean;
433
+ /**
434
+ * Open game a a frame, gamepagemodalurl value should be set
435
+ */
436
+ "integratedGameFrameDesktop"?: boolean;
437
+ /**
438
+ * integratedGameFrameMobile
439
+ */
440
+ "integratedGameFrameMobile"?: boolean;
441
+ /**
442
+ * Language
443
+ */
444
+ "language"?: string;
445
+ /**
446
+ * Event when playnow button clicked
447
+ */
448
+ "onPlayCasinoGame"?: (event: CustomEvent<string | number>) => void;
449
+ }
450
+ interface CasinoNormalGameThumbnail {
451
+ }
452
+ interface IntrinsicElements {
453
+ "casino-extrainfo-baccarat": CasinoExtrainfoBaccarat;
454
+ "casino-extrainfo-blackjack": CasinoExtrainfoBlackjack;
455
+ "casino-extrainfo-roulette": CasinoExtrainfoRoulette;
456
+ "casino-game-thumb-view": CasinoGameThumbView;
457
+ "casino-game-thumbnail-betlimit": CasinoGameThumbnailBetlimit;
458
+ "casino-game-thumbnail-extrainfo": CasinoGameThumbnailExtrainfo;
459
+ "casino-game-thumbnail-overlay": CasinoGameThumbnailOverlay;
460
+ "casino-normal-game-thumbnail": CasinoNormalGameThumbnail;
461
+ }
462
+ }
463
+ export { LocalJSX as JSX };
464
+ declare module "@stencil/core" {
465
+ export namespace JSX {
466
+ interface IntrinsicElements {
467
+ "casino-extrainfo-baccarat": LocalJSX.CasinoExtrainfoBaccarat & JSXBase.HTMLAttributes<HTMLCasinoExtrainfoBaccaratElement>;
468
+ "casino-extrainfo-blackjack": LocalJSX.CasinoExtrainfoBlackjack & JSXBase.HTMLAttributes<HTMLCasinoExtrainfoBlackjackElement>;
469
+ "casino-extrainfo-roulette": LocalJSX.CasinoExtrainfoRoulette & JSXBase.HTMLAttributes<HTMLCasinoExtrainfoRouletteElement>;
470
+ "casino-game-thumb-view": LocalJSX.CasinoGameThumbView & JSXBase.HTMLAttributes<HTMLCasinoGameThumbViewElement>;
471
+ "casino-game-thumbnail-betlimit": LocalJSX.CasinoGameThumbnailBetlimit & JSXBase.HTMLAttributes<HTMLCasinoGameThumbnailBetlimitElement>;
472
+ "casino-game-thumbnail-extrainfo": LocalJSX.CasinoGameThumbnailExtrainfo & JSXBase.HTMLAttributes<HTMLCasinoGameThumbnailExtrainfoElement>;
473
+ "casino-game-thumbnail-overlay": LocalJSX.CasinoGameThumbnailOverlay & JSXBase.HTMLAttributes<HTMLCasinoGameThumbnailOverlayElement>;
474
+ "casino-normal-game-thumbnail": LocalJSX.CasinoNormalGameThumbnail & JSXBase.HTMLAttributes<HTMLCasinoNormalGameThumbnailElement>;
475
+ }
476
+ }
477
+ }
@@ -0,0 +1,83 @@
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
+ };
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,132 @@
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
+ }