@everymatrix/casino-games-category-section 0.0.349 → 0.0.353
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.353",
|
|
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": "b66ff51fb21b14cba5ab2efa029995d4fe4ceed1"
|
|
40
40
|
}
|
|
@@ -7,10 +7,12 @@
|
|
|
7
7
|
import type { CategoryData } from './CasinoGamesCategorySection.type';
|
|
8
8
|
import { GamesCategorySectionTranslations } from './translations';
|
|
9
9
|
|
|
10
|
+
import '@everymatrix/casino-winners';
|
|
10
11
|
import '@everymatrix/casino-game-thumbnail';
|
|
11
12
|
|
|
12
13
|
const MASONRY_CLASS_PREFIX = 'game-tile-';
|
|
13
14
|
|
|
15
|
+
export let categoryindex:string = '';
|
|
14
16
|
export let endpoint:string = '';
|
|
15
17
|
export let datasource:string = '';
|
|
16
18
|
export let lang:string = ''; // Language
|
|
@@ -33,6 +35,20 @@
|
|
|
33
35
|
export let left = 0;
|
|
34
36
|
export let right = 0;
|
|
35
37
|
|
|
38
|
+
//CasinoWinners Widget
|
|
39
|
+
let periodrecent:string = 'Today';
|
|
40
|
+
let periodtop:string = 'Last7Days';
|
|
41
|
+
let numberusersrecent:string = '20';
|
|
42
|
+
let numberuserstop:string = '20';
|
|
43
|
+
let amountlimit:string = '1';
|
|
44
|
+
let isrecentavailable:string = 'true';
|
|
45
|
+
let istopavailable:string = 'true';
|
|
46
|
+
let defaultcurrency:string = 'EUR';
|
|
47
|
+
let winners: any[] = [];
|
|
48
|
+
let winnersType:string;
|
|
49
|
+
let isLoggedIn:boolean = false;
|
|
50
|
+
let userCurrency:string;
|
|
51
|
+
|
|
36
52
|
// CasinoPage loading state
|
|
37
53
|
let isLoading:boolean = false;
|
|
38
54
|
let hasErrors:boolean = false;
|
|
@@ -486,8 +502,8 @@
|
|
|
486
502
|
$: lang && initialSetup();
|
|
487
503
|
$: clientstyling && setClientStyling();
|
|
488
504
|
$: clientstylingurl && setClientStylingURL();
|
|
489
|
-
</script>
|
|
490
505
|
|
|
506
|
+
</script>
|
|
491
507
|
<div class="CasinoGamesCategorySectionContainer" part="CasinoGamesCategorySectionContainer" bind:this={customStylingContainer}>
|
|
492
508
|
{#if hasErrors}
|
|
493
509
|
<!-- @TODO diversify error handling -->
|
|
@@ -556,6 +572,25 @@
|
|
|
556
572
|
{:else}
|
|
557
573
|
<div>
|
|
558
574
|
{#if categoryData}
|
|
575
|
+
{#if lobbyView && categoryindex == '1'}
|
|
576
|
+
<div class="CasinoWinners">
|
|
577
|
+
<casino-winners
|
|
578
|
+
{session}
|
|
579
|
+
{periodrecent}
|
|
580
|
+
{periodtop}
|
|
581
|
+
{numberusersrecent}
|
|
582
|
+
{numberuserstop}
|
|
583
|
+
{amountlimit}
|
|
584
|
+
{lang}
|
|
585
|
+
{isrecentavailable}
|
|
586
|
+
{istopavailable}
|
|
587
|
+
{defaultcurrency}
|
|
588
|
+
{clientstyling}
|
|
589
|
+
{clientstylingurl}
|
|
590
|
+
{endpoint}
|
|
591
|
+
></casino-winners>
|
|
592
|
+
</div>
|
|
593
|
+
{/if}
|
|
559
594
|
<div class="CasinoGamesContainer" part="CasinoGamesContainer">
|
|
560
595
|
<div class="CasinoGamesHeader" part="CasinoGamesHeader">
|
|
561
596
|
<h3 class="CategoryName" part="CategoryName" bind:this={categoryName}>
|
|
@@ -733,6 +768,11 @@
|
|
|
733
768
|
$grid-cell-size-small: 110px;
|
|
734
769
|
$grid-cell-size-medium: 122px;
|
|
735
770
|
|
|
771
|
+
.CasinoWinners {
|
|
772
|
+
background: transparent;
|
|
773
|
+
width: 100%;
|
|
774
|
+
min-height: 200px;
|
|
775
|
+
}
|
|
736
776
|
.CategoryName,
|
|
737
777
|
.StatusText {
|
|
738
778
|
color: var(--emfe-w-color-white, #FFFFFF);
|
package/src/translations.js
CHANGED
|
@@ -14,6 +14,21 @@ export const GamesCategorySectionTranslations = {
|
|
|
14
14
|
waiting: 'Waiting',
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
+
zh: {
|
|
18
|
+
gamesCategorySection: {
|
|
19
|
+
showMore: '更多的',
|
|
20
|
+
viewAll: '顯示所有',
|
|
21
|
+
searchedItems: '搜索結果',
|
|
22
|
+
recentSearchedItems: '最近搜索過',
|
|
23
|
+
favorites: '收藏夹',
|
|
24
|
+
noRecentSearch: '尚未開始搜索。 只需搜索遊戲。',
|
|
25
|
+
noResults: '抱歉,沒有找到結果。 請再試一次。',
|
|
26
|
+
noFavoritesMobile: '您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。',
|
|
27
|
+
noFavorites: '您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。',
|
|
28
|
+
noFavoritesTitle: '您還沒有任何喜歡的遊戲。',
|
|
29
|
+
waiting: '等待',
|
|
30
|
+
}
|
|
31
|
+
},
|
|
17
32
|
de: {
|
|
18
33
|
gamesCategorySection: {
|
|
19
34
|
showMore: 'Mehr',
|