@everymatrix/casino-games-category-section 1.17.1 → 1.17.3
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": "1.17.
|
|
3
|
+
"version": "1.17.3",
|
|
4
4
|
"main": "dist/casino-games-category-section.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": "89baba5648f1fb1c1ff4fbe9369eb83965480ce7"
|
|
39
39
|
}
|
|
@@ -191,12 +191,11 @@
|
|
|
191
191
|
let vendorFilters = JSON.parse(localStorage.getItem('vendorFiltersByCategory'));
|
|
192
192
|
let vendorSort = JSON.parse(localStorage.getItem('vendorSortingBy'));
|
|
193
193
|
|
|
194
|
-
let tempEndpoint:string = endpoint.replace(/.$/, "2"); // @TODO remove after we migrate with all endpoints to v2 - hack for the endpoint since the filtering of categories functionality was developed only for the v2 api
|
|
195
194
|
if((categoryid.match(/\$/g) || []).length > 1) {
|
|
196
195
|
categoryidparsed = categoryid.split('$').slice(0, 2).join('$');
|
|
197
|
-
url = new URL(`${
|
|
196
|
+
url = new URL(`${endpoint}/v2/casino/groups/${datasource}/${categoryidparsed}/subGroups`);
|
|
198
197
|
} else {
|
|
199
|
-
url = new URL(`${
|
|
198
|
+
url = new URL(`${endpoint}/v2/casino/groups/${datasource}/${categoryid}`);
|
|
200
199
|
}
|
|
201
200
|
|
|
202
201
|
return new Promise((resolve, reject) => {
|
|
@@ -470,7 +469,7 @@
|
|
|
470
469
|
playerID = e.data.userID;
|
|
471
470
|
if (favorites == 'true') {
|
|
472
471
|
if (playerID && playerID.length && sessionID && sessionID.length > 0) {
|
|
473
|
-
getFavoredGames(`${endpoint}/player/${playerID}/favorites/`, sessionID);
|
|
472
|
+
getFavoredGames(`${endpoint}/v1/player/${playerID}/favorites/`, sessionID);
|
|
474
473
|
}
|
|
475
474
|
}
|
|
476
475
|
|
|
@@ -878,11 +877,11 @@
|
|
|
878
877
|
<svg width="198" height="148" viewBox="0 0 198 148" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
879
878
|
<rect x="1" y="18.053" width="90.263" height="90.263" rx="12" stroke="var(--emfe-w-color-gray-150, #828282)" stroke-width="1.5"/>
|
|
880
879
|
<rect x="106.737" y="56.737" width="90.263" height="90.263" rx="12" stroke="var(--emfe-w-color-gray-150, #828282)" stroke-width="1.5"/>
|
|
881
|
-
<circle cx="70.5" cy="32.237" r="31.487" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
880
|
+
<circle cx="70.5" cy="32.237" r="31.487" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))" stroke-width="1.5" stroke-dasharray="5 0"/>
|
|
882
881
|
<path d="M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z" fill="var(--emfe-w-color-gray-150, #828282)"/>
|
|
883
|
-
<path d="M78 43h11v13H78V43z" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
884
|
-
<path d="m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z" fill="var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
885
|
-
<path d="m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
882
|
+
<path d="M78 43h11v13H78V43z" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"/>
|
|
883
|
+
<path d="m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z" fill="var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))" stroke-linecap="round" stroke-linejoin="round"/>
|
|
884
|
+
<path d="m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z" stroke="var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
886
885
|
</svg>
|
|
887
886
|
<span class="NoFavoriteText NoFavoriteTextHighlight">{$_('noFavoritesTitle')}</span>
|
|
888
887
|
{#if isMobile(userAgent)}
|
|
@@ -949,14 +948,14 @@
|
|
|
949
948
|
|
|
950
949
|
.CategoryName,
|
|
951
950
|
.StatusText {
|
|
952
|
-
color: var(--emfe-w-casino-typography, var(--emfe-w-color-
|
|
951
|
+
color: var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));
|
|
953
952
|
font-size: 22px;
|
|
954
953
|
font-weight: 500;
|
|
955
954
|
}
|
|
956
955
|
|
|
957
956
|
.CategoryLoadMore {
|
|
958
957
|
font-size: 14px;
|
|
959
|
-
color: var(--emfe-w-casino-typography, var(--emfe-w-color-
|
|
958
|
+
color: var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));
|
|
960
959
|
}
|
|
961
960
|
|
|
962
961
|
.NoSearchResults {
|
|
@@ -1168,8 +1167,8 @@
|
|
|
1168
1167
|
height: 64px;
|
|
1169
1168
|
margin: 8px;
|
|
1170
1169
|
border-radius: 50%;
|
|
1171
|
-
border: 6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
1172
|
-
border-color: var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
1170
|
+
border: 6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
1171
|
+
border-color: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
1173
1172
|
animation: lds-dual-ring 1.2s linear infinite;
|
|
1174
1173
|
}
|
|
1175
1174
|
@keyframes lds-dual-ring {
|