@everymatrix/casino-play-random-game 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/casino-play-random-game/casino-play-random-game.esm.js +1 -1
  2. package/dist/casino-play-random-game/p-2af16b90.entry.js +1 -0
  3. package/dist/casino-play-random-game/p-b74b1c99.js +2 -0
  4. package/dist/cjs/casino-play-random-game.cjs.entry.js +18 -38
  5. package/dist/cjs/casino-play-random-game.cjs.js +2 -2
  6. package/dist/cjs/{index-a0c0d6c2.js → index-1046d63d.js} +73 -208
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/casino-play-random-game/casino-play-random-game.js +17 -59
  10. package/dist/esm/casino-play-random-game.entry.js +18 -38
  11. package/dist/esm/casino-play-random-game.js +3 -3
  12. package/dist/esm/{index-29915e18.js → index-510a6ba4.js} +73 -208
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.dev.d.ts +2 -0
  16. package/dist/types/stencil-public-runtime.d.ts +0 -6
  17. package/package.json +1 -1
  18. package/dist/casino-play-random-game/p-aafe302e.js +0 -2
  19. package/dist/casino-play-random-game/p-ca888ed9.entry.js +0 -1
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.dev.d.ts +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -4,43 +4,6 @@ import { getTranslations, translate } from "../../utils/locale.utils";
4
4
  import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
5
5
  export class CasinoPlayRandomGame {
6
6
  constructor() {
7
- /**
8
- * Language of the widget
9
- */
10
- this.language = 'en';
11
- /**
12
- * Configure a specific category for randomising the games.
13
- */
14
- this.specificCategory = '';
15
- /**
16
- * Icon visible initially
17
- */
18
- this.iconVisible = '';
19
- /**
20
- * Icon visible while rolling
21
- */
22
- this.iconVisibleOnAnim = '';
23
- /**
24
- * Open event on the game card.
25
- */
26
- this.launchByGameCard = '';
27
- /**
28
- * Client custom styling via string
29
- */
30
- this.clientStyling = '';
31
- /**
32
- * Client custom styling via url
33
- */
34
- this.clientStylingUrl = '';
35
- /**
36
- * Translations via URL
37
- */
38
- this.translationUrl = '';
39
- this.hasErrors = false;
40
- this.isLoading = true;
41
- this.selectedGame = null;
42
- this.animationDone = false;
43
- this.animationStarted = false;
44
7
  this.animation = null;
45
8
  this.selectedGameIndex = null;
46
9
  this.selectedGameEl = null;
@@ -55,6 +18,23 @@ export class CasinoPlayRandomGame {
55
18
  }
56
19
  return array;
57
20
  };
21
+ this.endpoint = undefined;
22
+ this.datasource = undefined;
23
+ this.language = 'en';
24
+ this.specificCategory = '';
25
+ this.iconVisible = '';
26
+ this.iconVisibleOnAnim = '';
27
+ this.launchByGameCard = '';
28
+ this.mbSource = undefined;
29
+ this.clientStyling = '';
30
+ this.clientStylingUrl = '';
31
+ this.translationUrl = '';
32
+ this.hasErrors = false;
33
+ this.isLoading = true;
34
+ this.gamesToShow = undefined;
35
+ this.selectedGame = null;
36
+ this.animationDone = false;
37
+ this.animationStarted = false;
58
38
  }
59
39
  watchEndpoint(newValue, oldValue) {
60
40
  if (newValue && newValue != oldValue && this.endpoint) {
@@ -270,8 +250,6 @@ export class CasinoPlayRandomGame {
270
250
  "tags": [],
271
251
  "text": "Endpoint URL for the source of data"
272
252
  },
273
- "getter": false,
274
- "setter": false,
275
253
  "attribute": "endpoint",
276
254
  "reflect": true
277
255
  },
@@ -289,8 +267,6 @@ export class CasinoPlayRandomGame {
289
267
  "tags": [],
290
268
  "text": "Name of the datasource, as configured in CE."
291
269
  },
292
- "getter": false,
293
- "setter": false,
294
270
  "attribute": "datasource",
295
271
  "reflect": true
296
272
  },
@@ -308,8 +284,6 @@ export class CasinoPlayRandomGame {
308
284
  "tags": [],
309
285
  "text": "Language of the widget"
310
286
  },
311
- "getter": false,
312
- "setter": false,
313
287
  "attribute": "language",
314
288
  "reflect": true,
315
289
  "defaultValue": "'en'"
@@ -328,8 +302,6 @@ export class CasinoPlayRandomGame {
328
302
  "tags": [],
329
303
  "text": "Configure a specific category for randomising the games."
330
304
  },
331
- "getter": false,
332
- "setter": false,
333
305
  "attribute": "specific-category",
334
306
  "reflect": true,
335
307
  "defaultValue": "''"
@@ -348,8 +320,6 @@ export class CasinoPlayRandomGame {
348
320
  "tags": [],
349
321
  "text": "Icon visible initially"
350
322
  },
351
- "getter": false,
352
- "setter": false,
353
323
  "attribute": "icon-visible",
354
324
  "reflect": true,
355
325
  "defaultValue": "''"
@@ -368,8 +338,6 @@ export class CasinoPlayRandomGame {
368
338
  "tags": [],
369
339
  "text": "Icon visible while rolling"
370
340
  },
371
- "getter": false,
372
- "setter": false,
373
341
  "attribute": "icon-visible-on-anim",
374
342
  "reflect": true,
375
343
  "defaultValue": "''"
@@ -388,8 +356,6 @@ export class CasinoPlayRandomGame {
388
356
  "tags": [],
389
357
  "text": "Open event on the game card."
390
358
  },
391
- "getter": false,
392
- "setter": false,
393
359
  "attribute": "launch-by-game-card",
394
360
  "reflect": true,
395
361
  "defaultValue": "''"
@@ -408,8 +374,6 @@ export class CasinoPlayRandomGame {
408
374
  "tags": [],
409
375
  "text": "Client custom styling via streamStyling"
410
376
  },
411
- "getter": false,
412
- "setter": false,
413
377
  "attribute": "mb-source",
414
378
  "reflect": true
415
379
  },
@@ -427,8 +391,6 @@ export class CasinoPlayRandomGame {
427
391
  "tags": [],
428
392
  "text": "Client custom styling via string"
429
393
  },
430
- "getter": false,
431
- "setter": false,
432
394
  "attribute": "client-styling",
433
395
  "reflect": true,
434
396
  "defaultValue": "''"
@@ -447,8 +409,6 @@ export class CasinoPlayRandomGame {
447
409
  "tags": [],
448
410
  "text": "Client custom styling via url"
449
411
  },
450
- "getter": false,
451
- "setter": false,
452
412
  "attribute": "client-styling-url",
453
413
  "reflect": true,
454
414
  "defaultValue": "''"
@@ -467,8 +427,6 @@ export class CasinoPlayRandomGame {
467
427
  "tags": [],
468
428
  "text": "Translations via URL"
469
429
  },
470
- "getter": false,
471
- "setter": false,
472
430
  "attribute": "translation-url",
473
431
  "reflect": true,
474
432
  "defaultValue": "''"
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-29915e18.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-510a6ba4.js';
2
2
 
3
3
  const getDevice = () => {
4
4
  let userAgent = window.navigator.userAgent;
@@ -144,43 +144,6 @@ const CasinoPlayRandomGameStyle0 = casinoPlayRandomGameCss;
144
144
  const CasinoPlayRandomGame = class {
145
145
  constructor(hostRef) {
146
146
  registerInstance(this, hostRef);
147
- /**
148
- * Language of the widget
149
- */
150
- this.language = 'en';
151
- /**
152
- * Configure a specific category for randomising the games.
153
- */
154
- this.specificCategory = '';
155
- /**
156
- * Icon visible initially
157
- */
158
- this.iconVisible = '';
159
- /**
160
- * Icon visible while rolling
161
- */
162
- this.iconVisibleOnAnim = '';
163
- /**
164
- * Open event on the game card.
165
- */
166
- this.launchByGameCard = '';
167
- /**
168
- * Client custom styling via string
169
- */
170
- this.clientStyling = '';
171
- /**
172
- * Client custom styling via url
173
- */
174
- this.clientStylingUrl = '';
175
- /**
176
- * Translations via URL
177
- */
178
- this.translationUrl = '';
179
- this.hasErrors = false;
180
- this.isLoading = true;
181
- this.selectedGame = null;
182
- this.animationDone = false;
183
- this.animationStarted = false;
184
147
  this.animation = null;
185
148
  this.selectedGameIndex = null;
186
149
  this.selectedGameEl = null;
@@ -195,6 +158,23 @@ const CasinoPlayRandomGame = class {
195
158
  }
196
159
  return array;
197
160
  };
161
+ this.endpoint = undefined;
162
+ this.datasource = undefined;
163
+ this.language = 'en';
164
+ this.specificCategory = '';
165
+ this.iconVisible = '';
166
+ this.iconVisibleOnAnim = '';
167
+ this.launchByGameCard = '';
168
+ this.mbSource = undefined;
169
+ this.clientStyling = '';
170
+ this.clientStylingUrl = '';
171
+ this.translationUrl = '';
172
+ this.hasErrors = false;
173
+ this.isLoading = true;
174
+ this.gamesToShow = undefined;
175
+ this.selectedGame = null;
176
+ this.animationDone = false;
177
+ this.animationStarted = false;
198
178
  }
199
179
  watchEndpoint(newValue, oldValue) {
200
180
  if (newValue && newValue != oldValue && this.endpoint) {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-29915e18.js';
2
- export { s as setNonce } from './index-29915e18.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-510a6ba4.js';
2
+ export { s as setNonce } from './index-510a6ba4.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;