@everymatrix/casino-games-category-section 0.0.266 → 0.0.268
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": "0.0.
|
|
3
|
+
"version": "0.0.268",
|
|
4
4
|
"main": "dist/casino-games-category-section.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "c5b78b8fcf6dd4293a5b296177205963840e7289"
|
|
40
40
|
}
|
|
@@ -328,12 +328,6 @@
|
|
|
328
328
|
searched = false;
|
|
329
329
|
mostPlayedScreen = false;
|
|
330
330
|
lobbyView = true;
|
|
331
|
-
|
|
332
|
-
// fallback for when the categoryData is undefined (fix for on reload issue)
|
|
333
|
-
if(!categoryData) {
|
|
334
|
-
window.postMessage({ type: `CategoryData_${categoryid}`, categoryId: {categoryid}, visiblegames }, window.location.href);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
331
|
shownCategoryData = categoryData.games.items;
|
|
338
332
|
shownCategoryData.forEach((item:any) => {
|
|
339
333
|
item.isFavorite = checkFavorite(item.id);
|
|
@@ -366,7 +360,6 @@
|
|
|
366
360
|
}
|
|
367
361
|
});
|
|
368
362
|
}
|
|
369
|
-
|
|
370
363
|
favoriteGamesData.items = platformFavorite(favGameArray, favoriteGamesData.items);
|
|
371
364
|
favoriteGamesData.name = "Favorites";
|
|
372
365
|
showFavGamesCategory = true;
|
|
@@ -639,8 +632,10 @@
|
|
|
639
632
|
gamefunmode={gameprops.gameModel.hasFunMode}
|
|
640
633
|
gamefavorite={gameprops.gameModel.isFavorite}
|
|
641
634
|
showfavoredcategory={showFavGamesCategory}
|
|
635
|
+
connectlive={intersectingIndexes[gameprops.id] == 1 ? 'connect' : 'disconnect'}
|
|
636
|
+
visibilityconnect={visibilityconnect}
|
|
642
637
|
{currency}
|
|
643
|
-
livelobbyendpoint={gameprops.gameModel.details ? gameprops.gameModel.
|
|
638
|
+
livelobbyendpoint={gameprops.gameModel.details ? gameprops.gameModel.launchUrl : ''}
|
|
644
639
|
{clientstyling}
|
|
645
640
|
{clientstylingurl}
|
|
646
641
|
{endpoint}
|
|
@@ -648,7 +643,6 @@
|
|
|
648
643
|
></casino-game-thumbnail>
|
|
649
644
|
{/if}
|
|
650
645
|
{:else if gameprops.gameModel.platform.includes("PC")}
|
|
651
|
-
<!-- <p style="color: var(--emfe-w-color-white, #FFFFFF)">{gameprops.gameModel.isFavorite}</p> -->
|
|
652
646
|
<casino-game-thumbnail
|
|
653
647
|
class="{MASONRY_CLASS_PREFIX}{gameprops.cellSize ? gameprops.cellSize : '1x1'}"
|
|
654
648
|
part="{MASONRY_CLASS_PREFIX}{gameprops.cellSize ? gameprops.cellSize : '1x1'}"
|
|
@@ -666,8 +660,10 @@
|
|
|
666
660
|
gamefunmode={gameprops.gameModel.hasFunMode}
|
|
667
661
|
gamefavorite={gameprops.gameModel.isFavorite}
|
|
668
662
|
showfavoredcategory={showFavGamesCategory}
|
|
663
|
+
connectlive={intersectingIndexes[gameprops.id] == 1 ? 'connect' : 'disconnect'}
|
|
664
|
+
visibilityconnect={visibilityconnect}
|
|
669
665
|
{currency}
|
|
670
|
-
livelobbyendpoint={gameprops.gameModel.details ? gameprops.gameModel.
|
|
666
|
+
livelobbyendpoint={gameprops.gameModel.details ? gameprops.gameModel.launchUrl : ''}
|
|
671
667
|
{clientstyling}
|
|
672
668
|
{clientstylingurl}
|
|
673
669
|
{endpoint}
|