@everymatrix/casino-play-random-game 1.53.0 → 1.53.10
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-play-random-game/casino-play-random-game.esm.js +1 -1
- package/dist/casino-play-random-game/p-8502679e.js +2 -0
- package/dist/casino-play-random-game/p-c4e9eaed.entry.js +1 -0
- package/dist/cjs/casino-play-random-game.cjs.entry.js +39 -18
- package/dist/cjs/casino-play-random-game.cjs.js +2 -2
- package/dist/cjs/{index-4316ff18.js → index-bfb0323a.js} +165 -70
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-play-random-game/casino-play-random-game.js +58 -17
- package/dist/esm/casino-play-random-game.entry.js +39 -18
- package/dist/esm/casino-play-random-game.js +3 -3
- package/dist/esm/{index-eac6b960.js → index-47910d1c.js} +165 -70
- package/dist/esm/loader.js +2 -2
- 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 +2 -0
- 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 +2 -0
- package/package.json +1 -1
- package/dist/casino-play-random-game/p-a29126ee.entry.js +0 -1
- package/dist/casino-play-random-game/p-abcaead5.js +0 -2
- 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 +0 -2
- 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 +0 -2
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-bfb0323a.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -3,6 +3,44 @@ import { getDevice } from "../../utils/utils";
|
|
|
3
3
|
import { getTranslations, translate } from "../../utils/locale.utils";
|
|
4
4
|
export class CasinoPlayRandomGame {
|
|
5
5
|
constructor() {
|
|
6
|
+
/**
|
|
7
|
+
* Language of the widget
|
|
8
|
+
*/
|
|
9
|
+
this.language = 'en';
|
|
10
|
+
/**
|
|
11
|
+
* Configure a specific category for randomising the games.
|
|
12
|
+
*/
|
|
13
|
+
this.specificCategory = '';
|
|
14
|
+
/**
|
|
15
|
+
* Icon visible initially
|
|
16
|
+
*/
|
|
17
|
+
this.iconVisible = '';
|
|
18
|
+
/**
|
|
19
|
+
* Icon visible while rolling
|
|
20
|
+
*/
|
|
21
|
+
this.iconVisibleOnAnim = '';
|
|
22
|
+
/**
|
|
23
|
+
* Open event on the game card.
|
|
24
|
+
*/
|
|
25
|
+
this.launchByGameCard = '';
|
|
26
|
+
/**
|
|
27
|
+
* Client custom styling via string
|
|
28
|
+
*/
|
|
29
|
+
this.clientStyling = '';
|
|
30
|
+
/**
|
|
31
|
+
* Client custom styling via url
|
|
32
|
+
*/
|
|
33
|
+
this.clientStylingUrl = '';
|
|
34
|
+
/**
|
|
35
|
+
* Translations via URL
|
|
36
|
+
*/
|
|
37
|
+
this.translationUrl = '';
|
|
38
|
+
this.hasErrors = false;
|
|
39
|
+
this.limitStylingAppends = false;
|
|
40
|
+
this.isLoading = true;
|
|
41
|
+
this.selectedGame = null;
|
|
42
|
+
this.animationDone = false;
|
|
43
|
+
this.animationStarted = false;
|
|
6
44
|
this.animation = null;
|
|
7
45
|
this.selectedGameIndex = null;
|
|
8
46
|
this.selectedGameEl = null;
|
|
@@ -33,23 +71,6 @@ export class CasinoPlayRandomGame {
|
|
|
33
71
|
setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
|
|
34
72
|
});
|
|
35
73
|
};
|
|
36
|
-
this.endpoint = undefined;
|
|
37
|
-
this.datasource = undefined;
|
|
38
|
-
this.language = 'en';
|
|
39
|
-
this.specificCategory = '';
|
|
40
|
-
this.iconVisible = '';
|
|
41
|
-
this.iconVisibleOnAnim = '';
|
|
42
|
-
this.launchByGameCard = '';
|
|
43
|
-
this.clientStyling = '';
|
|
44
|
-
this.clientStylingUrl = '';
|
|
45
|
-
this.translationUrl = '';
|
|
46
|
-
this.hasErrors = false;
|
|
47
|
-
this.limitStylingAppends = false;
|
|
48
|
-
this.isLoading = true;
|
|
49
|
-
this.gamesToShow = undefined;
|
|
50
|
-
this.selectedGame = null;
|
|
51
|
-
this.animationDone = false;
|
|
52
|
-
this.animationStarted = false;
|
|
53
74
|
}
|
|
54
75
|
watchEndpoint(newValue, oldValue) {
|
|
55
76
|
if (newValue && newValue != oldValue && this.endpoint) {
|
|
@@ -249,6 +270,8 @@ export class CasinoPlayRandomGame {
|
|
|
249
270
|
"tags": [],
|
|
250
271
|
"text": "Endpoint URL for the source of data"
|
|
251
272
|
},
|
|
273
|
+
"getter": false,
|
|
274
|
+
"setter": false,
|
|
252
275
|
"attribute": "endpoint",
|
|
253
276
|
"reflect": true
|
|
254
277
|
},
|
|
@@ -266,6 +289,8 @@ export class CasinoPlayRandomGame {
|
|
|
266
289
|
"tags": [],
|
|
267
290
|
"text": "Name of the datasource, as configured in CE."
|
|
268
291
|
},
|
|
292
|
+
"getter": false,
|
|
293
|
+
"setter": false,
|
|
269
294
|
"attribute": "datasource",
|
|
270
295
|
"reflect": true
|
|
271
296
|
},
|
|
@@ -283,6 +308,8 @@ export class CasinoPlayRandomGame {
|
|
|
283
308
|
"tags": [],
|
|
284
309
|
"text": "Language of the widget"
|
|
285
310
|
},
|
|
311
|
+
"getter": false,
|
|
312
|
+
"setter": false,
|
|
286
313
|
"attribute": "language",
|
|
287
314
|
"reflect": true,
|
|
288
315
|
"defaultValue": "'en'"
|
|
@@ -301,6 +328,8 @@ export class CasinoPlayRandomGame {
|
|
|
301
328
|
"tags": [],
|
|
302
329
|
"text": "Configure a specific category for randomising the games."
|
|
303
330
|
},
|
|
331
|
+
"getter": false,
|
|
332
|
+
"setter": false,
|
|
304
333
|
"attribute": "specific-category",
|
|
305
334
|
"reflect": true,
|
|
306
335
|
"defaultValue": "''"
|
|
@@ -319,6 +348,8 @@ export class CasinoPlayRandomGame {
|
|
|
319
348
|
"tags": [],
|
|
320
349
|
"text": "Icon visible initially"
|
|
321
350
|
},
|
|
351
|
+
"getter": false,
|
|
352
|
+
"setter": false,
|
|
322
353
|
"attribute": "icon-visible",
|
|
323
354
|
"reflect": true,
|
|
324
355
|
"defaultValue": "''"
|
|
@@ -337,6 +368,8 @@ export class CasinoPlayRandomGame {
|
|
|
337
368
|
"tags": [],
|
|
338
369
|
"text": "Icon visible while rolling"
|
|
339
370
|
},
|
|
371
|
+
"getter": false,
|
|
372
|
+
"setter": false,
|
|
340
373
|
"attribute": "icon-visible-on-anim",
|
|
341
374
|
"reflect": true,
|
|
342
375
|
"defaultValue": "''"
|
|
@@ -355,6 +388,8 @@ export class CasinoPlayRandomGame {
|
|
|
355
388
|
"tags": [],
|
|
356
389
|
"text": "Open event on the game card."
|
|
357
390
|
},
|
|
391
|
+
"getter": false,
|
|
392
|
+
"setter": false,
|
|
358
393
|
"attribute": "launch-by-game-card",
|
|
359
394
|
"reflect": true,
|
|
360
395
|
"defaultValue": "''"
|
|
@@ -373,6 +408,8 @@ export class CasinoPlayRandomGame {
|
|
|
373
408
|
"tags": [],
|
|
374
409
|
"text": "Client custom styling via string"
|
|
375
410
|
},
|
|
411
|
+
"getter": false,
|
|
412
|
+
"setter": false,
|
|
376
413
|
"attribute": "client-styling",
|
|
377
414
|
"reflect": true,
|
|
378
415
|
"defaultValue": "''"
|
|
@@ -391,6 +428,8 @@ export class CasinoPlayRandomGame {
|
|
|
391
428
|
"tags": [],
|
|
392
429
|
"text": "Client custom styling via url"
|
|
393
430
|
},
|
|
431
|
+
"getter": false,
|
|
432
|
+
"setter": false,
|
|
394
433
|
"attribute": "client-styling-url",
|
|
395
434
|
"reflect": true,
|
|
396
435
|
"defaultValue": "''"
|
|
@@ -409,6 +448,8 @@ export class CasinoPlayRandomGame {
|
|
|
409
448
|
"tags": [],
|
|
410
449
|
"text": "Translations via URL"
|
|
411
450
|
},
|
|
451
|
+
"getter": false,
|
|
452
|
+
"setter": false,
|
|
412
453
|
"attribute": "translation-url",
|
|
413
454
|
"reflect": true,
|
|
414
455
|
"defaultValue": "''"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-47910d1c.js';
|
|
2
2
|
|
|
3
3
|
const getDevice = () => {
|
|
4
4
|
let userAgent = window.navigator.userAgent;
|
|
@@ -87,6 +87,44 @@ const CasinoPlayRandomGameStyle0 = casinoPlayRandomGameCss;
|
|
|
87
87
|
const CasinoPlayRandomGame = class {
|
|
88
88
|
constructor(hostRef) {
|
|
89
89
|
registerInstance(this, hostRef);
|
|
90
|
+
/**
|
|
91
|
+
* Language of the widget
|
|
92
|
+
*/
|
|
93
|
+
this.language = 'en';
|
|
94
|
+
/**
|
|
95
|
+
* Configure a specific category for randomising the games.
|
|
96
|
+
*/
|
|
97
|
+
this.specificCategory = '';
|
|
98
|
+
/**
|
|
99
|
+
* Icon visible initially
|
|
100
|
+
*/
|
|
101
|
+
this.iconVisible = '';
|
|
102
|
+
/**
|
|
103
|
+
* Icon visible while rolling
|
|
104
|
+
*/
|
|
105
|
+
this.iconVisibleOnAnim = '';
|
|
106
|
+
/**
|
|
107
|
+
* Open event on the game card.
|
|
108
|
+
*/
|
|
109
|
+
this.launchByGameCard = '';
|
|
110
|
+
/**
|
|
111
|
+
* Client custom styling via string
|
|
112
|
+
*/
|
|
113
|
+
this.clientStyling = '';
|
|
114
|
+
/**
|
|
115
|
+
* Client custom styling via url
|
|
116
|
+
*/
|
|
117
|
+
this.clientStylingUrl = '';
|
|
118
|
+
/**
|
|
119
|
+
* Translations via URL
|
|
120
|
+
*/
|
|
121
|
+
this.translationUrl = '';
|
|
122
|
+
this.hasErrors = false;
|
|
123
|
+
this.limitStylingAppends = false;
|
|
124
|
+
this.isLoading = true;
|
|
125
|
+
this.selectedGame = null;
|
|
126
|
+
this.animationDone = false;
|
|
127
|
+
this.animationStarted = false;
|
|
90
128
|
this.animation = null;
|
|
91
129
|
this.selectedGameIndex = null;
|
|
92
130
|
this.selectedGameEl = null;
|
|
@@ -117,23 +155,6 @@ const CasinoPlayRandomGame = class {
|
|
|
117
155
|
setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
|
|
118
156
|
});
|
|
119
157
|
};
|
|
120
|
-
this.endpoint = undefined;
|
|
121
|
-
this.datasource = undefined;
|
|
122
|
-
this.language = 'en';
|
|
123
|
-
this.specificCategory = '';
|
|
124
|
-
this.iconVisible = '';
|
|
125
|
-
this.iconVisibleOnAnim = '';
|
|
126
|
-
this.launchByGameCard = '';
|
|
127
|
-
this.clientStyling = '';
|
|
128
|
-
this.clientStylingUrl = '';
|
|
129
|
-
this.translationUrl = '';
|
|
130
|
-
this.hasErrors = false;
|
|
131
|
-
this.limitStylingAppends = false;
|
|
132
|
-
this.isLoading = true;
|
|
133
|
-
this.gamesToShow = undefined;
|
|
134
|
-
this.selectedGame = null;
|
|
135
|
-
this.animationDone = false;
|
|
136
|
-
this.animationStarted = false;
|
|
137
158
|
}
|
|
138
159
|
watchEndpoint(newValue, oldValue) {
|
|
139
160
|
if (newValue && newValue != oldValue && this.endpoint) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-47910d1c.js';
|
|
2
|
+
export { s as setNonce } from './index-47910d1c.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|