@everymatrix/casino-collections-providers 1.3.4 → 1.4.0

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-collections-providers",
3
- "version": "1.3.4",
3
+ "version": "1.4.0",
4
4
  "main": "index.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": "61b113dba12330dbbaeef6e4ba84771630a15e7f"
39
+ "gitHead": "be1fa07132bd9efec772e8532a8bc54c82eb1cb6"
40
40
  }
@@ -1,6 +1,6 @@
1
1
  <svelte:options tag={null} />
2
2
  <script lang="ts">
3
- import { _, addNewMessages, setLocale } from './i18n';
3
+ import { _, addNewMessages, setLocale} from './i18n';
4
4
  import { Translations } from './translations.js';
5
5
  import { isMobile } from 'rvhelper';
6
6
  import { onMount } from 'svelte';
@@ -13,6 +13,7 @@
13
13
  export let clientstyling:string = '';
14
14
  export let clientstylingurl:string = '';
15
15
  export let translationurl:string = '';
16
+ export let collectionprovidersgamenames:string = '';
16
17
 
17
18
  let gameCategories:Array<any> = [];
18
19
  let isLoading:boolean = true;
@@ -64,7 +65,7 @@
64
65
  return {
65
66
  id: category.id,
66
67
  name: category.name,
67
- icon: category.icon,
68
+ icon: category.icon ? category.icon : category.vendors?.items[0]?.subVendors[0]?.logo,
68
69
  games: category.games.items.slice(0, 4).map(game => game),
69
70
  background: category.background,
70
71
  flag: category.flags
@@ -175,12 +176,12 @@
175
176
  $: clientstyling && customStylingContainer && setClientStyling();
176
177
  $: clientstylingurl && customStylingContainer && setClientStylingURL();
177
178
  $: translationurl && setTranslationUrl();
178
-
179
+
179
180
  </script>
180
181
 
181
182
  <div bind:this={customStylingContainer}>
182
183
  {#if isLoading}
183
- <p> Loading, please wait ... </p>
184
+ <p>{$_('Translations.loading')}</p>
184
185
  {:else}
185
186
  <div class="CasinoCollectionsProviders {mobile ? 'Mobile' : ''}">
186
187
  <div class="CategoriesHeader">
@@ -212,7 +213,12 @@
212
213
  </div>
213
214
  <div class="CategorySlideGameContainer">
214
215
  {#each category.games as game}
216
+ <div class="CategorySlideGames">
215
217
  <img class="CategorySlideGameImage" src="{game.defaultThumbnail}" alt="{game.name}" on:click|stopPropagation={() => openGame(game.gameId, game.launchUrl, game.name)}>
218
+ {#if collectionprovidersgamenames == 'true'}
219
+ <p title={game.name}> {game.name} </p>
220
+ {/if}
221
+ </div>
216
222
  {/each}
217
223
  </div>
218
224
  </div>
@@ -221,7 +227,6 @@
221
227
  </div>
222
228
  </div>
223
229
  {/if}
224
-
225
230
  </div>
226
231
 
227
232
 
@@ -317,6 +322,10 @@
317
322
  }
318
323
  &Logo {
319
324
  max-height: 100px;
325
+ position: absolute;
326
+ top: 30%;
327
+ left: 50%;
328
+ transform: translate(-50%, -50%);
320
329
  }
321
330
  &Title {
322
331
  color: var(--emfe-w-color-white, #FFFFFF);
@@ -327,14 +336,26 @@
327
336
  display: flex;
328
337
  justify-content: center;
329
338
  gap: 3%;
330
- min-height: 70px;
339
+ min-height: 85px;
331
340
  }
332
341
  &GameImage {
333
342
  border-radius: 10px;
334
- width: 22%;
335
- height: 55px;
343
+ width: auto;
344
+ height: 54px;
336
345
  object-fit: cover;
337
346
  }
347
+ &Games{
348
+ color:white;
349
+ text-align: center;
350
+ p{
351
+ font-size: 10px;
352
+ text-overflow: ellipsis;
353
+ overflow: hidden;
354
+ height: 20px;
355
+ width: 90px;
356
+ white-space: nowrap;
357
+ }
358
+ }
338
359
  }
339
360
  }
340
361
  }
@@ -2,97 +2,113 @@ export const Translations = {
2
2
  en: {
3
3
  Translations: {
4
4
  collections: 'Game Collections',
5
- providers: 'Game Providers'
5
+ providers: 'Game Providers',
6
+ loading: 'Loading, please wait ...',
6
7
  },
7
8
  },
8
9
  zh: {
9
10
  Translations: {
10
- collections: 'Game Collections',
11
- providers: 'Game Providers'
11
+ collections: '收藏品',
12
+ providers: '供应商',
13
+ loading: '加載請稍候 ...',
12
14
  },
13
15
  },
14
16
  de: {
15
17
  Translations: {
16
18
  collections: 'Game Collections',
17
- providers: 'Game Providers'
19
+ providers: 'Game Providers',
20
+ loading: 'Laden, bitte warten...',
18
21
  },
19
22
  },
20
23
  it: {
21
24
  Translations: {
22
25
  collections: 'Game Collections',
23
- providers: 'Game Providers'
26
+ providers: 'Game Providers',
27
+ loading: 'Loading, please wait ...',
24
28
  },
25
29
  },
26
30
  fr: {
27
31
  Translations: {
28
- collections: 'Game Collections',
29
- providers: 'Game Providers'
32
+ collections: 'Collections',
33
+ providers: 'Fournisseurs',
34
+ loading: 'Chargement, veuillez patienter ...',
30
35
  },
31
36
  },
32
37
  es: {
33
38
  Translations: {
34
39
  collections: 'Game Collections',
35
- providers: 'Game Providers'
40
+ providers: 'Game Providers',
41
+ loading: 'cargando, por favor espere…',
36
42
  },
37
43
  },
38
44
  el: {
39
45
  Translations: {
40
46
  collections: 'Game Collections',
41
- providers: 'Game Providers'
47
+ providers: 'Game Providers',
48
+ loading: 'Φορτώνει, παρακαλούμε περιμένετε ...',
42
49
  },
43
50
  },
44
51
  tr: {
45
52
  Translations: {
46
53
  collections: 'Game Collections',
47
- providers: 'Game Providers'
54
+ providers: 'Game Providers',
55
+ loading: 'Yükleniyor, lütfen bekleyin...',
48
56
  },
49
57
  },
50
58
  ru: {
51
59
  Translations: {
52
60
  collections: 'Game Collections',
53
- providers: 'Game Providers'
61
+ providers: 'Game Providers',
62
+ loading: 'Loading, please wait ...',
54
63
  },
55
64
  },
56
65
  ro: {
57
66
  Translations: {
58
67
  collections: 'Game Collections',
59
- providers: 'Game Providers'
68
+ providers: 'Game Providers',
69
+ loading: 'Se încarcă, asteptati ...',
60
70
  },
61
71
  },
62
72
  hr: {
63
73
  Translations: {
64
74
  collections: 'Game Collections',
65
- providers: 'Game Providers'
75
+ providers: 'Game Providers',
76
+ loading: 'Loading, please wait ...',
66
77
  },
67
78
  },
68
79
  hu: {
69
80
  Translations: {
70
81
  collections: 'Game Collections',
71
- providers: 'Game Providers'
82
+ providers: 'Game Providers',
83
+ loading: 'Betöltés, kérjük várjon...',
72
84
  },
73
85
  },
74
86
  pl: {
75
87
  Translations: {
76
88
  collections: 'Game Collections',
77
- providers: 'Game Providers'
89
+ providers: 'Game Providers',
90
+ loading: 'Loading, please wait ...',
78
91
  },
79
92
  },
80
93
  pt: {
81
94
  Translations: {
82
95
  collections: 'Game Collections',
83
- providers: 'Game Providers'
96
+ providers: 'Game Providers',
97
+ loading: 'Carregando, por favor espere ...',
84
98
  },
85
99
  },
86
100
  sl: {
87
101
  Translations: {
88
102
  collections: 'Game Collections',
89
- providers: 'Game Providers'
103
+ providers: 'Game Providers',
104
+ loading: 'Loading, please wait ...',
90
105
  },
91
106
  },
92
107
  sr: {
93
108
  Translations: {
94
109
  collections: 'Game Collections',
95
- providers: 'Game Providers'
110
+ providers: 'Game Providers',
111
+ loading: 'Loading, please wait ...',
96
112
  },
97
113
  },
98
114
  };