@everymatrix/player-account-gaming-limits-wrapper-2 0.0.407 → 0.0.409
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/index.html
CHANGED
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
|
|
29
29
|
<div class="webcomponent">
|
|
30
30
|
<player-account-gaming-limits-wrapper-2
|
|
31
|
-
userid="
|
|
32
|
-
session="
|
|
31
|
+
userid="4506590"
|
|
32
|
+
session= "a9752294-f3e9-48a1-ad33-32f66087d913"
|
|
33
33
|
endpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/"
|
|
34
34
|
apiversion="gm16"
|
|
35
35
|
currency = 'EUR'
|
|
36
36
|
lang="en"
|
|
37
37
|
|
|
38
|
-
includedlimits = "lugas
|
|
38
|
+
includedlimits = "lugas:100-1200 | deposit | wager:700-1999, loss:600-1000, stake"
|
|
39
39
|
tablabels = 'lugas, others'
|
|
40
40
|
historyenabled = "true"
|
|
41
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-gaming-limits-wrapper-2",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.409",
|
|
4
4
|
"main": "dist/player-account-gaming-limits-wrapper-2.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"typescript": "^3.9.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@everymatrix/player-account-gaming-limits-history-2": "^0.0.
|
|
33
|
-
"@everymatrix/player-account-gaming-limits-page-2-gm16": "^0.0.
|
|
34
|
-
"@everymatrix/player-account-gaming-limits-page-2-gmcore": "^0.0.
|
|
32
|
+
"@everymatrix/player-account-gaming-limits-history-2": "^0.0.409",
|
|
33
|
+
"@everymatrix/player-account-gaming-limits-page-2-gm16": "^0.0.409",
|
|
34
|
+
"@everymatrix/player-account-gaming-limits-page-2-gmcore": "^0.0.409",
|
|
35
35
|
"cross-env": "^7.0.3",
|
|
36
36
|
"sirv-cli": "^1.0.0",
|
|
37
37
|
"svelte": "^3.0.0"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "9c1c3fb8c2942cecd4325eb5d4c8918496160976"
|
|
43
43
|
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import '@everymatrix/player-account-gaming-limits-page-2-gmcore';
|
|
7
7
|
import '@everymatrix/player-account-gaming-limits-page-2-gm16';
|
|
8
8
|
import '@everymatrix/player-account-gaming-limits-history-2';
|
|
9
|
-
import { each } from 'svelte/internal';
|
|
10
9
|
|
|
11
10
|
export let lang:string = '';
|
|
12
11
|
export let userid:string = '';
|
|
@@ -26,6 +25,7 @@
|
|
|
26
25
|
let customStylingContainer:HTMLElement;
|
|
27
26
|
let limitTabs:Array<any> = [];
|
|
28
27
|
let limitMinMax:object = {};
|
|
28
|
+
let multiLimit:string = '';
|
|
29
29
|
|
|
30
30
|
let tabLabelArray:Array<string>;
|
|
31
31
|
let mainContainer:HTMLElement | undefined = undefined;
|
|
@@ -33,9 +33,23 @@
|
|
|
33
33
|
|
|
34
34
|
const determineTabs = ():void => {
|
|
35
35
|
let eachLimit;
|
|
36
|
-
let limits = includedlimits.split('
|
|
36
|
+
let limits = includedlimits.split(' | ')
|
|
37
|
+
|
|
37
38
|
limits.forEach(element => {
|
|
38
|
-
if( element.indexOf('
|
|
39
|
+
if( element.indexOf(', ') >= 0 ){
|
|
40
|
+
let multiEachLimit = '';
|
|
41
|
+
eachLimit = element.split(', ');
|
|
42
|
+
eachLimit.forEach(element => {
|
|
43
|
+
if(element.indexOf(':') >= 0){
|
|
44
|
+
multiEachLimit = element.slice(0, element.indexOf(':'))
|
|
45
|
+
multiLimit += multiEachLimit + ' ';
|
|
46
|
+
limitMinMax[multiEachLimit] = element.slice(element.indexOf(':') + 1).trim()
|
|
47
|
+
} else {
|
|
48
|
+
multiLimit += element + ' '
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
limitTabs.push(multiLimit)
|
|
52
|
+
} else if(element.indexOf(':') >= 0){
|
|
39
53
|
eachLimit = element.slice(0, element.indexOf(':'))
|
|
40
54
|
limitTabs.push(eachLimit)
|
|
41
55
|
limitMinMax[eachLimit] = element.slice(element.indexOf(':') + 1).trim()
|
|
@@ -127,6 +141,8 @@
|
|
|
127
141
|
{session}
|
|
128
142
|
{endpoint}
|
|
129
143
|
{apiversion}
|
|
144
|
+
{clientstyling}
|
|
145
|
+
{clientstylingurl}
|
|
130
146
|
></player-account-gaming-limits-page-2-gm16>
|
|
131
147
|
{:else}
|
|
132
148
|
<player-account-gaming-limits-page-2-gm16 class="hidden selected"
|
|
@@ -137,6 +153,8 @@
|
|
|
137
153
|
{session}
|
|
138
154
|
{endpoint}
|
|
139
155
|
{apiversion}
|
|
156
|
+
{clientstyling}
|
|
157
|
+
{clientstylingurl}
|
|
140
158
|
></player-account-gaming-limits-page-2-gm16>
|
|
141
159
|
{/if}
|
|
142
160
|
{/each}
|
|
@@ -148,6 +166,8 @@
|
|
|
148
166
|
{session}
|
|
149
167
|
{endpoint}
|
|
150
168
|
{apiversion}
|
|
169
|
+
{clientstyling}
|
|
170
|
+
{clientstylingurl}
|
|
151
171
|
></player-account-gaming-limits-history-2>
|
|
152
172
|
{/if}
|
|
153
173
|
{/if}
|