@everymatrix/player-account-gaming-limits 0.0.166 → 0.0.170
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/player-account-gaming-limits",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.170",
|
|
4
4
|
"main": "dist/player-account-gaming-limits.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": "3836860c7d1128dcea8bc1638c7912ee0f50ce6b"
|
|
40
40
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
Object.keys(PlayerGamingLimitsCardTranslations).forEach((item) => {
|
|
17
17
|
addNewMessages(item, PlayerGamingLimitsCardTranslations[item]);
|
|
18
18
|
});
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
let isLoading:boolean = false;
|
|
21
21
|
let userAgent:String = window.navigator.userAgent;
|
|
22
22
|
let isMobile = (getDevice(userAgent) === 'PC') ? false : true;
|
|
@@ -84,21 +84,18 @@
|
|
|
84
84
|
{#if limitsGroupView}
|
|
85
85
|
<div class="PlayerAccountGamingLimitsWrapper {isMobile ? 'PlayerAccountMobileGamingLimitsWrapper' : ''} {mediaQuery.matches && isMobile ? 'PlayerAccountTabletGamingLimitsWrapper' : ''}">
|
|
86
86
|
{#if isMobile}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
</svg>
|
|
96
|
-
<span>{$_('gamingLimits.returnToMenu')}</span>
|
|
97
|
-
</div>
|
|
87
|
+
<div class="MenuReturnButton" on:click={() => toggleScreen()}>
|
|
88
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)">
|
|
89
|
+
<g transform="translate(20 158)">
|
|
90
|
+
<path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"/>
|
|
91
|
+
</g></g>
|
|
92
|
+
</svg>
|
|
93
|
+
<h2 class="PlayerGamingLimitsTitleMobile">{$_('gamingLimits.gamingLimitsText')}</h2>
|
|
94
|
+
</div>
|
|
98
95
|
{/if}
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
<h2 class="PlayerGamingLimitsTitle {isMobile ? 'PlayerGamingLimitsTitleNone' : ''}">{$_('gamingLimits.gamingLimitsText')}</h2>
|
|
97
|
+
|
|
98
|
+
|
|
102
99
|
<div class="PlayerAccountGamingLimitsContainer">
|
|
103
100
|
<player-account-gaming-limits-info-card limitsdata={depositlimit} limitname={depositLimitName} {playercurrency}></player-account-gaming-limits-info-card>
|
|
104
101
|
<player-account-gaming-limits-info-card limitsdata={wageringlimit} limitname={wageringLimitName} {playercurrency}></player-account-gaming-limits-info-card>
|
|
@@ -136,12 +133,27 @@
|
|
|
136
133
|
}
|
|
137
134
|
}
|
|
138
135
|
|
|
136
|
+
.PlayerGamingLimitsTitle {
|
|
137
|
+
font-size: 26px;
|
|
138
|
+
color: #D0046C;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.PlayerGamingLimitsTitleMobile {
|
|
143
|
+
font-size: 16px;
|
|
144
|
+
color: #D0046C;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.PlayerGamingLimitsTitleNone {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
139
151
|
.MenuReturnButton{
|
|
140
152
|
color: #D0046C;
|
|
141
153
|
display: inline-flex;
|
|
142
154
|
align-items: center;
|
|
143
|
-
column-gap:
|
|
144
|
-
margin-bottom:
|
|
155
|
+
column-gap: 10px;
|
|
156
|
+
margin-bottom: 10px;
|
|
145
157
|
& svg {
|
|
146
158
|
fill: #D0046C;
|
|
147
159
|
}
|