@everymatrix/casino-game-thumbnail 0.0.248 → 0.0.249

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": "0.0.248",
3
+ "version": "0.0.249",
4
4
  "main": "dist/casino-game-thumbnail.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": "77f6efa473daab4dd62004b893c587558bf4511c"
39
+ "gitHead": "38af455e241b6ef7ccabb2367be2be59e6b24352"
40
40
  }
@@ -26,11 +26,12 @@
26
26
  export let gamefavorite:boolean = false;
27
27
  export let showfavoredcategory:boolean = false;
28
28
  export let showgamename:boolean = false;
29
+ export let currency:string;
30
+
29
31
  export let endpoint:string = '';
30
32
 
31
33
  export let livelobbyendpoint:String = '';
32
- export let currency:string='EUR';
33
- export let connectlive:string = '';
34
+ export let connectlive:string;
34
35
  export let visibilityconnect:string = '';
35
36
 
36
37
  let isLoggedIn:boolean = false;
@@ -53,7 +54,7 @@
53
54
  let betlimit:any = {};
54
55
  let openhours:any;
55
56
  let seats:any = [];
56
- let currencySymbol:any='TRY';
57
+ let currencySymbol:any='EUR';
57
58
  let min:any;
58
59
  let max:any;
59
60
  let totalseats:any;
@@ -547,7 +548,7 @@
547
548
  </script>
548
549
 
549
550
  <div class={`GameContainer ${extraclassname}`} part={`GameContainer ${extraclassname}`} bind:this={customStylingContainer}>
550
- <div class="GameInnerContainer" part="GameInnerContainer" on:mouseenter={gameHover} on:mouseleave={gameBlur} on:touchstart={gameTouch} on:touchleave={gameTouchLeave}>
551
+ <div class="GameInnerContainer { (livegamedata && !isopen) || (livegamedata && istablefull) ? 'GameInnerContainerUnavailable' : ''}" part="GameInnerContainer { (livegamedata && !isopen) || (livegamedata && istablefull) ? 'GameInnerContainerUnavailable' : ''}" on:mouseenter={gameHover} on:mouseleave={gameBlur} on:touchstart={gameTouch} on:touchleave={gameTouchLeave}>
551
552
  <img src={gamethumbnail} class="GameBg {hover ? 'GameContainerHovered' : ''} {loaded ? 'Loaded' : ''}" part="GameBg {hover ? 'GameContainerHovered' : ''} {loaded ? 'Loaded' : ''}" alt="" bind:this={image} loading="lazy" />
552
553
  <div class="GameInfoWrapper" part="GameInfoWrapper">
553
554
  <div class="GameInfo {hover ? 'GameHovered' : ''}" part="GameInfo {hover ? 'GameHovered' : ''}">
@@ -837,6 +838,18 @@
837
838
  background: linear-gradient(0deg, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 100%);
838
839
  }
839
840
 
841
+ &.GameInnerContainerUnavailable {
842
+ &::after {
843
+ content: '';
844
+ position: absolute;
845
+ top: 0;
846
+ right: 0;
847
+ bottom: 0;
848
+ left: 0;
849
+ background: rgba(0,0,0,0.9);
850
+ }
851
+ }
852
+
840
853
  .ListGame.GameContainerDimmed:before {
841
854
  display: block;
842
855
  content: ' ';
@@ -1219,24 +1232,24 @@
1219
1232
  background-color: var(--emfe-w-color-white, #FFFFFF);
1220
1233
  background-image: linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF));
1221
1234
  }
1222
- .OpenSeat, .ClosedSeat {
1223
- display: inline-block;
1224
- width: ttp(1);
1225
- height: ttp(1);
1226
- margin-right: ttp(.25);
1227
- @media (min-width: 768px) {
1228
- width: ttp(1);
1229
- height: ttp(1);
1230
- }
1231
- @media (min-width: 1100px) {
1235
+ .OpenSeat, .ClosedSeat {
1236
+ display: inline-block;
1232
1237
  width: ttp(1);
1233
1238
  height: ttp(1);
1239
+ margin-right: ttp(.25);
1240
+ @media (min-width: 768px) {
1241
+ width: ttp(1);
1242
+ height: ttp(1);
1243
+ }
1244
+ @media (min-width: 1100px) {
1245
+ width: ttp(1);
1246
+ height: ttp(1);
1247
+ }
1248
+ svg {
1249
+ width: 100%;
1250
+ height: 100%;
1251
+ }
1234
1252
  }
1235
- svg {
1236
- width: 100%;
1237
- height: 100%;
1238
- }
1239
- }
1240
1253
  .OpenSeat {
1241
1254
  animation: flip-closed-seat 2s both;
1242
1255
  -webkit-animation: flip-closed-seat 2s both;