@everymatrix/casino-games-category-section 1.27.0 → 1.27.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-games-category-section",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.3",
|
|
4
4
|
"main": "dist/casino-games-category-section.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "bb3f018dda0d4518201642689dcd1745b1d9153e"
|
|
39
39
|
}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
const MASONRY_CLASS_PREFIX = 'game-tile-';
|
|
16
16
|
|
|
17
|
-
export let categoryindex:string = '';
|
|
18
17
|
export let endpoint:string = '';
|
|
19
18
|
export let datasource:string = '';
|
|
20
19
|
export let lang:string = ''; // Language
|
|
@@ -28,9 +27,7 @@
|
|
|
28
27
|
|
|
29
28
|
export let categoryid:string = '';
|
|
30
29
|
export let showgamename:string = '';
|
|
31
|
-
export let categorygames:number = 0;
|
|
32
30
|
export let livecasino:string = 'false';
|
|
33
|
-
export let visiblegames:string = '';
|
|
34
31
|
export let gamepagemodalurl:string = 'false';
|
|
35
32
|
export let integratedgameframedesktop:string = 'false';
|
|
36
33
|
export let integratedgameframemobile:string = 'false';
|
|
@@ -40,12 +37,6 @@
|
|
|
40
37
|
export let filterbylogo:string = '';
|
|
41
38
|
export let casinogamesgridslider:string = 'false';
|
|
42
39
|
|
|
43
|
-
export let once = true;
|
|
44
|
-
export let top = 0;
|
|
45
|
-
export let bottom = 0;
|
|
46
|
-
export let left = 0;
|
|
47
|
-
export let right = 0;
|
|
48
|
-
|
|
49
40
|
//Revert manually
|
|
50
41
|
// let livelobbyendpoint = `${endpoint}/lobby/tables`;
|
|
51
42
|
|
|
@@ -423,7 +414,6 @@
|
|
|
423
414
|
break;
|
|
424
415
|
|
|
425
416
|
case 'FavoriteUpdate':
|
|
426
|
-
lobbyView = true;
|
|
427
417
|
if(categoryData) {
|
|
428
418
|
shownCategoryData = categoryData.games.items;
|
|
429
419
|
shownCategoryData.forEach((item:any) => {
|
|
@@ -431,6 +421,10 @@
|
|
|
431
421
|
});
|
|
432
422
|
}
|
|
433
423
|
|
|
424
|
+
if (e.data.lobbyScreen) {
|
|
425
|
+
lobbyView = true;
|
|
426
|
+
}
|
|
427
|
+
|
|
434
428
|
break;
|
|
435
429
|
|
|
436
430
|
// Start favorite category section
|
|
@@ -443,7 +437,7 @@
|
|
|
443
437
|
window.postMessage({ type: 'CategoryUpdate', itemId: categoryid }, window.location.href);
|
|
444
438
|
}
|
|
445
439
|
} else {
|
|
446
|
-
window.postMessage({ type: 'FavoriteUpdate' }, window.location.href);
|
|
440
|
+
window.postMessage({ type: 'FavoriteUpdate', lobbyScreen: e.data.lobbyScreen }, window.location.href);
|
|
447
441
|
}
|
|
448
442
|
}
|
|
449
443
|
break;
|