@everymatrix/player-account-gaming-limits-wrapper-2 1.37.2 → 1.37.4
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-wrapper-2",
|
|
3
|
-
"version": "1.37.
|
|
3
|
+
"version": "1.37.4",
|
|
4
4
|
"main": "dist/player-account-gaming-limits-wrapper-2.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": "863252ebf7c846696d9b388f0d288993dbd5065c"
|
|
39
39
|
}
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
if (mainContainer.children.length > 0) {
|
|
88
88
|
for (let i:number = 0; i < mainContainer.children.length; i++) {
|
|
89
89
|
if (index === i) {
|
|
90
|
-
mainContainer.children[i].classList.remove('
|
|
91
|
-
tabsContainer?.children[i].classList.add('
|
|
90
|
+
mainContainer.children[i].classList.remove('hidden');
|
|
91
|
+
tabsContainer?.children[i].classList.add('selected');
|
|
92
92
|
} else {
|
|
93
|
-
mainContainer.children[i].classList.add('
|
|
94
|
-
tabsContainer?.children[i].classList.remove('
|
|
93
|
+
mainContainer.children[i].classList.add('hidden');
|
|
94
|
+
tabsContainer?.children[i].classList.remove('selected');
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -142,15 +142,15 @@
|
|
|
142
142
|
<div class="TitleSection">
|
|
143
143
|
{#if isMobile}
|
|
144
144
|
<div class="MenuReturnButton" part="MenuReturnButton" on:click={() => toggleScreen()}>
|
|
145
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:var(--emfe-w-pam-color-primary, var(--
|
|
145
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}</style></defs><g transform="translate(-20 -158)">
|
|
146
146
|
<g transform="translate(20 158)">
|
|
147
147
|
<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)"/>
|
|
148
148
|
</g></g>
|
|
149
149
|
</svg>
|
|
150
|
-
<h2 class="GamingLimitsTitleMobile">{$_('
|
|
150
|
+
<h2 class="GamingLimitsTitleMobile">{$_('titleLimitsWrapper2')}</h2>
|
|
151
151
|
</div>
|
|
152
152
|
{/if}
|
|
153
|
-
<h2 class="GamingLimitsTitle {isMobile ? 'Hidden' : ''}">{$_('
|
|
153
|
+
<h2 class="GamingLimitsTitle {isMobile ? 'Hidden' : ''}">{$_('titleLimitsWrapper2')}</h2>
|
|
154
154
|
</div>
|
|
155
155
|
{#if isLoading}
|
|
156
156
|
<!-- Just show nothing, this is loading exposed attributes, not making a fetch. It takes an instant, but prevents nested widgets from rendering with empty attributes -->
|
|
@@ -162,157 +162,138 @@
|
|
|
162
162
|
{/each}
|
|
163
163
|
</div>
|
|
164
164
|
{/if}
|
|
165
|
-
<div class="
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
{/each}
|
|
186
|
-
</div>
|
|
187
|
-
{#if historyenabled === 'true'}
|
|
188
|
-
<player-account-gaming-limits-history-2
|
|
189
|
-
{lang}
|
|
190
|
-
{userid}
|
|
191
|
-
{session}
|
|
192
|
-
{endpoint}
|
|
193
|
-
{apiversion}
|
|
194
|
-
{numberofentries}
|
|
195
|
-
{clientstyling}
|
|
196
|
-
{clientstylingurl}
|
|
197
|
-
{translationurl}
|
|
198
|
-
{customcurrencysymbols}
|
|
199
|
-
></player-account-gaming-limits-history-2>
|
|
200
|
-
{/if}
|
|
201
|
-
|
|
165
|
+
<div class="PlayerAccountGamingLmitsWrapper2" bind:this={mainContainer}>
|
|
166
|
+
{#each limitTabs as _, i}
|
|
167
|
+
<player-account-gaming-limits-page-2-gm16 class="hidden selected"
|
|
168
|
+
{lang}
|
|
169
|
+
{currency}
|
|
170
|
+
amountsconfig = {amountsArray[i]}
|
|
171
|
+
periodsconfig = {periodsArray[i]}
|
|
172
|
+
limittabindex = {i + 1}
|
|
173
|
+
{userid}
|
|
174
|
+
{deletelimit}
|
|
175
|
+
{enablecompliancetext}
|
|
176
|
+
{session}
|
|
177
|
+
{endpoint}
|
|
178
|
+
{apiversion}
|
|
179
|
+
{clientstyling}
|
|
180
|
+
{clientstylingurl}
|
|
181
|
+
{translationurl}
|
|
182
|
+
{customcurrencysymbols}
|
|
183
|
+
></player-account-gaming-limits-page-2-gm16>
|
|
184
|
+
{/each}
|
|
202
185
|
</div>
|
|
186
|
+
{#if historyenabled === 'true'}
|
|
187
|
+
<player-account-gaming-limits-history-2
|
|
188
|
+
{lang}
|
|
189
|
+
{userid}
|
|
190
|
+
{session}
|
|
191
|
+
{endpoint}
|
|
192
|
+
{apiversion}
|
|
193
|
+
{numberofentries}
|
|
194
|
+
{clientstyling}
|
|
195
|
+
{clientstylingurl}
|
|
196
|
+
{translationurl}
|
|
197
|
+
{customcurrencysymbols}
|
|
198
|
+
></player-account-gaming-limits-history-2>
|
|
199
|
+
{/if}
|
|
203
200
|
{/if}
|
|
204
201
|
</div>
|
|
205
202
|
</div>
|
|
206
203
|
<style lang="scss">
|
|
207
204
|
:host {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
*, *::before, *::after {
|
|
213
|
-
margin: 0;
|
|
214
|
-
padding: 0;
|
|
215
|
-
list-style: none;
|
|
216
|
-
text-decoration: none;
|
|
217
|
-
outline: none;
|
|
218
|
-
box-sizing: border-box;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.GamingLimitsWrapper {
|
|
222
|
-
padding: 50px;
|
|
223
|
-
color: var(--emfe-w-pam-color-primary, #22B04E);
|
|
224
|
-
background-color: var(--emfe-w-pam-color-bg, #F1F1F1);
|
|
225
|
-
border-radius: var(--emw--border-radius-large, 20px);
|
|
226
|
-
min-height: 1000px;
|
|
227
|
-
display: flex;
|
|
228
|
-
flex-direction: column;
|
|
229
|
-
|
|
230
|
-
&.GamingLimitsWrapperMobile {
|
|
231
|
-
padding: 20px 15px;
|
|
232
|
-
.GamingLimitsContent, .PlayerAccountGamingLmitsWrapper2, .LimitsTab {
|
|
233
|
-
flex-direction: column;
|
|
234
|
-
width: 100%;
|
|
235
|
-
height: fit-content;
|
|
236
|
-
padding: 5px 0;
|
|
237
|
-
font-size: 10px;
|
|
238
|
-
margin-right: 5px;
|
|
239
|
-
}
|
|
240
|
-
// .LimitsList {
|
|
241
|
-
// font-size: 12px;
|
|
242
|
-
// background-color: red;
|
|
243
|
-
// }
|
|
205
|
+
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
206
|
+
color: #666;
|
|
244
207
|
}
|
|
245
208
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
209
|
+
*,
|
|
210
|
+
*::before,
|
|
211
|
+
*::after {
|
|
212
|
+
margin: 0;
|
|
213
|
+
padding: 0;
|
|
214
|
+
list-style: none;
|
|
215
|
+
text-decoration: none;
|
|
216
|
+
outline: none;
|
|
217
|
+
box-sizing: border-box;
|
|
249
218
|
}
|
|
250
219
|
|
|
251
|
-
.
|
|
220
|
+
.GamingLimitsWrapper{
|
|
221
|
+
padding: 50px 50px 30px 50px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.GamingLimitsWrapper.GamingLimitsWrapperMobile{
|
|
225
|
+
padding: 20px 15px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.LimitsWrapper {
|
|
252
229
|
display: flex;
|
|
253
230
|
flex-direction: column;
|
|
254
|
-
align-items: center;
|
|
255
|
-
flex-direction: row;
|
|
256
231
|
}
|
|
257
232
|
|
|
258
233
|
.TabsContainer {
|
|
259
234
|
height: 50px;
|
|
235
|
+
display: flex;
|
|
260
236
|
margin-bottom: 12px;
|
|
261
237
|
cursor: pointer;
|
|
262
|
-
|
|
263
|
-
|
|
238
|
+
border-bottom: 1px solid var(--emfe-w-color-gray-300, #58586B);
|
|
239
|
+
justify-content: center;
|
|
240
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
241
|
+
box-shadow: 0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12);
|
|
264
242
|
}
|
|
265
243
|
|
|
266
244
|
.LimitsTab {
|
|
267
|
-
font-size:
|
|
245
|
+
font-size: 1.3rem;
|
|
268
246
|
line-height: 1.4rem;
|
|
269
|
-
|
|
270
|
-
padding: 10px 40px;
|
|
271
|
-
background-color: var(--emw--color-grey-150, #C0CBC3);
|
|
272
|
-
border-radius: var(--emw--border-radius-large, 50px);
|
|
273
|
-
margin-right: 20px;
|
|
247
|
+
margin-bottom: 3px;
|
|
274
248
|
|
|
275
|
-
|
|
249
|
+
display: flex;
|
|
250
|
+
justify-content: center;
|
|
251
|
+
align-items: center;
|
|
252
|
+
padding: 0 1rem;
|
|
276
253
|
|
|
277
|
-
|
|
278
|
-
color: var(--emw--color-typpgraphy, #FFFFFF);
|
|
279
|
-
background: linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));
|
|
254
|
+
box-sizing: content-box;
|
|
280
255
|
}
|
|
281
|
-
|
|
282
|
-
.
|
|
283
|
-
|
|
284
|
-
width: 65%;
|
|
256
|
+
|
|
257
|
+
.hidden {
|
|
258
|
+
display: none;
|
|
285
259
|
}
|
|
286
|
-
}
|
|
287
260
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
261
|
+
h2{
|
|
262
|
+
margin: 20px 0px;
|
|
263
|
+
}
|
|
291
264
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
}
|
|
265
|
+
.PlayerAccountGamingLmitsWrapper2{
|
|
266
|
+
margin-bottom: 20px;
|
|
267
|
+
}
|
|
295
268
|
|
|
296
|
-
.MenuReturnButton
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
269
|
+
.MenuReturnButton{
|
|
270
|
+
color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
|
271
|
+
display: inline-flex;
|
|
272
|
+
align-items: center;
|
|
273
|
+
column-gap: 10px;
|
|
274
|
+
margin-bottom: 10px;
|
|
275
|
+
& svg {
|
|
276
|
+
fill: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
|
277
|
+
}
|
|
278
|
+
}
|
|
302
279
|
|
|
303
|
-
|
|
304
|
-
|
|
280
|
+
.GamingLimitsTitle{
|
|
281
|
+
font-size: 26px;
|
|
282
|
+
color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
|
283
|
+
font-weight: 400;
|
|
305
284
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
.GamingLimitsTitle {
|
|
309
|
-
font-size: 26px;
|
|
310
|
-
color: var(--emfe-w-pam-color-primary, #22B04E);
|
|
311
|
-
font-weight: 400;
|
|
312
|
-
|
|
313
|
-
&Mobile {
|
|
285
|
+
|
|
286
|
+
.GamingLimitsTitleMobile {
|
|
314
287
|
font-size: 16px;
|
|
315
288
|
}
|
|
316
|
-
}
|
|
317
289
|
|
|
290
|
+
.GamingLimitsTitleNone {
|
|
291
|
+
display: none;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.selected {
|
|
295
|
+
border-bottom: 0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
296
|
+
color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
297
|
+
margin: 0;
|
|
298
|
+
}
|
|
318
299
|
</style>
|
package/src/translations.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
export const TRANSLATIONS = {
|
|
2
2
|
"en": {
|
|
3
|
-
"
|
|
3
|
+
"titleLimitsWrapper2": "Limits"
|
|
4
4
|
},
|
|
5
5
|
"zh-hk": {
|
|
6
|
-
"
|
|
6
|
+
"titleLimitsWrapper2": "Limits"
|
|
7
7
|
},
|
|
8
8
|
"fr": {
|
|
9
|
-
"
|
|
9
|
+
"titleLimitsWrapper2": "Limits"
|
|
10
10
|
},
|
|
11
11
|
"ro": {
|
|
12
|
-
"
|
|
12
|
+
"titleLimitsWrapper2": "Limits"
|
|
13
13
|
},
|
|
14
14
|
"es": {
|
|
15
|
-
"
|
|
15
|
+
"titleLimitsWrapper2": "Limits"
|
|
16
16
|
},
|
|
17
17
|
"pt": {
|
|
18
|
-
"
|
|
18
|
+
"titleLimitsWrapper2": "Limits"
|
|
19
19
|
},
|
|
20
20
|
"hr": {
|
|
21
|
-
"
|
|
21
|
+
"titleLimitsWrapper2": "Ograničenja"
|
|
22
22
|
},
|
|
23
23
|
"pt-br": {
|
|
24
|
-
"
|
|
24
|
+
"titleLimitsWrapper2": "Limites"
|
|
25
25
|
},
|
|
26
26
|
"es-mx": {
|
|
27
|
-
"
|
|
27
|
+
"titleLimitsWrapper2": "Límites"
|
|
28
28
|
},
|
|
29
29
|
"tr": {
|
|
30
|
-
"
|
|
30
|
+
"titleLimitsWrapper2": "Sınırlar"
|
|
31
31
|
}
|
|
32
32
|
}
|