@everymatrix/casino-header-controller 1.10.6 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
package/index.html
CHANGED
@@ -26,10 +26,7 @@
|
|
26
26
|
cmsendpoint="https://widgets.everymatrix.com/apijson"
|
27
27
|
lang="en"
|
28
28
|
showbanner="true"
|
29
|
-
session="ff9b00eb-2782-44fc-b4e1-fc9b3c91ecb6"
|
30
|
-
userid="4506648"
|
31
29
|
profileurl=''
|
32
|
-
endpoint="https://demo-api.stage.norway.everymatrix.com/v1"
|
33
30
|
bannermatrix="https://bannermatrix-stage.everymatrix.com"
|
34
31
|
operatorid="2095"
|
35
32
|
pagetag="casino-page"
|
@@ -37,6 +34,11 @@
|
|
37
34
|
activecategory="/live-casino"
|
38
35
|
positiontag="center-main-slider"
|
39
36
|
userroles="everyone"
|
37
|
+
endpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/v1"
|
38
|
+
userid="5130841"
|
39
|
+
session="2921afd2-54f0-46d2-907b-72ac84a7ce9f"
|
40
|
+
gmversion="gm1.6"
|
41
|
+
displayoption="both"
|
40
42
|
></casino-header-controller>
|
41
43
|
|
42
44
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-header-controller",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.11.1",
|
4
4
|
"main": "dist/casino-header-controller.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -37,5 +37,5 @@
|
|
37
37
|
"publishConfig": {
|
38
38
|
"access": "public"
|
39
39
|
},
|
40
|
-
"gitHead": "
|
40
|
+
"gitHead": "a74cb23abc28e2a5ca4a61858da32c86640ebd43"
|
41
41
|
}
|
@@ -21,6 +21,8 @@
|
|
21
21
|
export let activecategory:string = '';
|
22
22
|
export let translationurl:string = '';
|
23
23
|
export let customlocaleidentifier:string = '';
|
24
|
+
export let gmversion:string = '';
|
25
|
+
export let displaybalanceoption:string = 'both';
|
24
26
|
|
25
27
|
export let operatorid:string = '';
|
26
28
|
export let pagetag:string = '';
|
@@ -52,7 +54,6 @@
|
|
52
54
|
});
|
53
55
|
}
|
54
56
|
|
55
|
-
|
56
57
|
Object.keys(CasinoHeaderController).forEach((item:any) => {
|
57
58
|
addNewMessages(item, CasinoHeaderController[item]);
|
58
59
|
});
|
@@ -358,7 +359,7 @@
|
|
358
359
|
|
359
360
|
<div class="HeaderTopActions" part="HeaderTopActions">
|
360
361
|
<div class="HeaderItemsMenu PrimaryMenu" part="HeaderItemsMenu PrimaryMenu">
|
361
|
-
<player-account-balance-modal {session} {userid} {endpoint} {lang} {clientstyling} {clientstylingurl} {customlocaleidentifier}/>
|
362
|
+
<player-account-balance-modal {session} {userid} {endpoint} {lang} {clientstyling} {clientstylingurl} {customlocaleidentifier} {gmversion} {displaybalanceoption}/>
|
362
363
|
<div class="Item ItemDeposit" part="Item ItemDeposit" on:click={() => menuAction('deposit')}>{$_('headerItem.deposit')}</div>
|
363
364
|
<div class="Item ItemAccount" part="Item ItemAccount" on:click={() => menuAction('myaccount')}>
|
364
365
|
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429">
|
@@ -411,7 +412,7 @@
|
|
411
412
|
</nav>
|
412
413
|
<div class="HeaderTopActions" part="HeaderItemsMenu">
|
413
414
|
<div class="HeaderItemsMenu PrimaryMenu" part="HeaderItemsMenu PrimaryMenu">
|
414
|
-
<player-account-balance-modal {session} {userid} {endpoint} {lang} {clientstyling} {clientstylingurl} {customlocaleidentifier}/>
|
415
|
+
<player-account-balance-modal {session} {userid} {endpoint} {lang} {clientstyling} {clientstylingurl} {customlocaleidentifier} {gmversion} {displaybalanceoption}/>
|
415
416
|
<div class="Item ItemDeposit" part="Item ItemDeposit" on:click={() => menuAction('deposit')}>{$_('headerItem.deposit')}</div>
|
416
417
|
<div class="Item ItemAccount" part="Item ItemAccount" on:click={() => menuAction('myaccount')}>
|
417
418
|
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429">
|
@@ -575,6 +576,9 @@
|
|
575
576
|
img {
|
576
577
|
width: 100%;
|
577
578
|
}
|
579
|
+
@media only screen and (max-width: 360px) {
|
580
|
+
margin-right: 0;
|
581
|
+
}
|
578
582
|
}
|
579
583
|
|
580
584
|
.HeaderMainNav {
|
@@ -755,6 +759,9 @@
|
|
755
759
|
height: 55px;
|
756
760
|
padding: 0 15px;
|
757
761
|
gap: 10px;
|
762
|
+
@media only screen and (max-width: 360px) {
|
763
|
+
padding: 0 5px;
|
764
|
+
}
|
758
765
|
}
|
759
766
|
|
760
767
|
.HeaderBranding {
|