@everymatrix/player-account-gaming-limits 0.0.161 → 0.0.162
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.162",
|
|
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": "f0ae2ffa2c984a3f90ab2eea42992f92e6acf725"
|
|
40
40
|
}
|
|
@@ -8,16 +8,18 @@
|
|
|
8
8
|
export let wageringlimit:string = '';
|
|
9
9
|
export let losslimit:string = '';
|
|
10
10
|
export let timelimit:string = '';
|
|
11
|
-
export let
|
|
11
|
+
export let showdeletenotification:boolean = false;
|
|
12
12
|
export let showsuccessnotification:boolean = false;
|
|
13
13
|
|
|
14
14
|
let isLoading:boolean = false;
|
|
15
15
|
let userAgent:String = window.navigator.userAgent;
|
|
16
16
|
let isMobile = (getDevice(userAgent) === 'PC') ? false : true;
|
|
17
|
+
let playercurrency:string = '';
|
|
18
|
+
|
|
17
19
|
|
|
18
20
|
let infoname:string = "Info";
|
|
19
21
|
let infocontent:string = "Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt.";
|
|
20
|
-
|
|
22
|
+
let removelimitstext:string = "Selected limits have been removed.";
|
|
21
23
|
let editLimitData:any;
|
|
22
24
|
let editLimitName:string = '';
|
|
23
25
|
let limitsGroupView:boolean = true;
|
|
@@ -50,6 +52,11 @@
|
|
|
50
52
|
limitsGroupView = true;
|
|
51
53
|
break;
|
|
52
54
|
|
|
55
|
+
case 'ProfileDetailsData':
|
|
56
|
+
let profileDetails:any = e.data.profileDetails;
|
|
57
|
+
playercurrency = profileDetails.currency;
|
|
58
|
+
break;
|
|
59
|
+
|
|
53
60
|
default:
|
|
54
61
|
// do nothing
|
|
55
62
|
break;
|
|
@@ -90,15 +97,20 @@
|
|
|
90
97
|
<div class="PlayerAccountGamingLimitsHeader">
|
|
91
98
|
<h3 class="PlayerAccountGamingLimitsTitle {isMobile ? "PlayerAccountGamingLimitsMobileTitle" : ''}">Gaming limits</h3>
|
|
92
99
|
</div>
|
|
100
|
+
{#if showdeletenotification}
|
|
101
|
+
<div class="PlayerAccountSuccessfulRemoveContainer">
|
|
102
|
+
<p>{removelimitstext}</p>
|
|
103
|
+
</div>
|
|
104
|
+
{/if}
|
|
93
105
|
<div class="PlayerAccountGamingLimitsContainer">
|
|
94
|
-
<player-account-gaming-limits-info-card limitsdata={depositlimit} limitname={depositLimitName} {infoname} {infocontent}></player-account-gaming-limits-info-card>
|
|
95
|
-
<player-account-gaming-limits-info-card limitsdata={wageringlimit} limitname={wageringLimitName} {infoname} {infocontent}></player-account-gaming-limits-info-card>
|
|
96
|
-
<player-account-gaming-limits-info-card limitsdata={losslimit} limitname={lossLimitName} {infoname} {infocontent}></player-account-gaming-limits-info-card>
|
|
97
|
-
<player-account-gaming-limits-info-card limitsdata={timelimit} limitname={timeLimitName} {infoname} {infocontent}></player-account-gaming-limits-info-card>
|
|
106
|
+
<player-account-gaming-limits-info-card limitsdata={depositlimit} limitname={depositLimitName} {infoname} {infocontent} {showdeletenotification} {playercurrency}></player-account-gaming-limits-info-card>
|
|
107
|
+
<player-account-gaming-limits-info-card limitsdata={wageringlimit} limitname={wageringLimitName} {infoname} {infocontent} {showdeletenotification} {playercurrency}></player-account-gaming-limits-info-card>
|
|
108
|
+
<player-account-gaming-limits-info-card limitsdata={losslimit} limitname={lossLimitName} {infoname} {infocontent} {showdeletenotification} {playercurrency}></player-account-gaming-limits-info-card>
|
|
109
|
+
<player-account-gaming-limits-info-card limitsdata={timelimit} limitname={timeLimitName} {infoname} {infocontent} {showdeletenotification} {playercurrency}></player-account-gaming-limits-info-card>
|
|
98
110
|
</div>
|
|
99
111
|
</div>
|
|
100
112
|
{:else}
|
|
101
|
-
<player-account-gaming-limits-group-edit limitsdata={editLimitData} limitname={editLimitName} {infoname} {infocontent} {showsuccessnotification} {
|
|
113
|
+
<player-account-gaming-limits-group-edit limitsdata={editLimitData} limitname={editLimitName} {infoname} {infocontent} {showsuccessnotification} {showdeletenotification} {playercurrency}></player-account-gaming-limits-group-edit>
|
|
102
114
|
{/if}
|
|
103
115
|
{/if}
|
|
104
116
|
|
|
@@ -152,4 +164,17 @@
|
|
|
152
164
|
row-gap: ttp(1.875);
|
|
153
165
|
column-gap: ttp(1.875);
|
|
154
166
|
}
|
|
167
|
+
.PlayerAccountSuccessfulRemoveContainer {
|
|
168
|
+
background: #F2F9F2;
|
|
169
|
+
border: 1px solid #C5DFC5;
|
|
170
|
+
font-size: ttp(1);
|
|
171
|
+
font-weight: 300;
|
|
172
|
+
color: #07072A;
|
|
173
|
+
border-radius: ttp(0.3125);
|
|
174
|
+
padding: ttp(0.625);
|
|
175
|
+
margin-bottom: 20px;
|
|
176
|
+
p {
|
|
177
|
+
margin: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
155
180
|
</style>
|