@everymatrix/casino-game-thumbnail 1.14.5 → 1.14.6
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-game-thumbnail",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.6",
|
|
4
4
|
"main": "dist/casino-game-thumbnail.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": "04bcbaa87c2cd031348360c16b200d86ec6e66b8"
|
|
39
39
|
}
|
|
@@ -212,22 +212,6 @@
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
const gameTouch = ():void => {
|
|
216
|
-
window.postMessage({ type: 'GameHoveredMobile' }, window.location.href);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
const gameTouchEnd = ():void => {
|
|
220
|
-
window.postMessage({ type: 'GameBlurMobile' }, window.location.href);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
const gameHover = ():void => {
|
|
224
|
-
window.postMessage({ type: 'GameHoveredPc' }, window.location.href);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
const gameBlur = ():void => {
|
|
228
|
-
window.postMessage({ type: 'GameBlurPc' }, window.location.href);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
215
|
const setActiveLanguage = ():void => {
|
|
232
216
|
setLocale(lang);
|
|
233
217
|
}
|
|
@@ -586,12 +570,12 @@
|
|
|
586
570
|
|
|
587
571
|
|
|
588
572
|
<div class={`GameContainer ${extraclassname}`} bind:this={customStylingContainer}>
|
|
589
|
-
<div class="GameInnerContainer { (livegamedata && !isopen && openhours.value) || (livegamedata && istablefull) ? 'GameInnerContainerUnavailable' : ''}"
|
|
573
|
+
<div class="GameInnerContainer { (livegamedata && !isopen && openhours.value) || (livegamedata && istablefull) ? 'GameInnerContainerUnavailable' : ''}">
|
|
590
574
|
<img src={gamethumbnail} class={`GameBg GameBg-${gamecellsize} ${loaded ? 'Loaded' : ''}`} alt="" bind:this={image} loading="lazy" />
|
|
591
575
|
<div class="GameInfoWrapper">
|
|
592
576
|
<div class="GameInfo">
|
|
593
|
-
{#if
|
|
594
|
-
{#if
|
|
577
|
+
{#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
578
|
+
{#if fav}
|
|
595
579
|
<div class="FavIconContainer" on:click="{() => toggleFavoriteGame(gameid)}">
|
|
596
580
|
<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px"
|
|
597
581
|
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
|
|
@@ -604,9 +588,9 @@
|
|
|
604
588
|
c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
|
|
605
589
|
l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"/></svg>
|
|
606
590
|
</div>
|
|
591
|
+
{:else}
|
|
592
|
+
<div class="LoaderRipple"><div></div><div></div></div>
|
|
607
593
|
{/if}
|
|
608
|
-
{:else}
|
|
609
|
-
<div class="LoaderRipple"><div></div><div></div></div>
|
|
610
594
|
{/if}
|
|
611
595
|
<p class="GameInfoName" title="{gamename}">{gamename}</p>
|
|
612
596
|
{#if lang}
|