@everymatrix/player-bonus-history 1.13.15 → 1.13.17
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/player-bonus-history",
|
3
|
-
"version": "1.13.
|
3
|
+
"version": "1.13.17",
|
4
4
|
"main": "dist/player-bonus-history",
|
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": "8b0b2bd7cdef9f325e39e95baf9a25dd09ad69b3"
|
40
40
|
}
|
@@ -154,35 +154,35 @@
|
|
154
154
|
|
155
155
|
<div bind:this={customStylingContainer}>
|
156
156
|
{#if isLoading}
|
157
|
-
<div class="ModalLoader"
|
157
|
+
<div class="ModalLoader"></div>
|
158
158
|
{:else}
|
159
|
-
<div class="BonusesWrapper {isMobile ? 'BonusesWrapperMobile' : ''}"
|
159
|
+
<div class="BonusesWrapper {isMobile ? 'BonusesWrapperMobile' : ''}">
|
160
160
|
{#if isMobile}
|
161
|
-
<div class="MenuReturnButton"
|
162
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><g transform="translate(-20 -158)">
|
161
|
+
<div class="MenuReturnButton" on:click={() => toggleScreen()}>
|
162
|
+
<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)">
|
163
163
|
<g transform="translate(20 158)">
|
164
164
|
<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)"/>
|
165
165
|
</g></g>
|
166
166
|
</svg>
|
167
|
-
<h2 class="BonusesTitleMobile"
|
167
|
+
<h2 class="BonusesTitleMobile">{$_('title')}</h2>
|
168
168
|
</div>
|
169
169
|
{/if}
|
170
170
|
<h2 class="BonusesTitle {isMobile ? 'BonusesTitleNone' : ''}" part="BonusesTitle {isMobile ? 'BonusesTitleNone' : ''}">{$_('title')}</h2>
|
171
171
|
|
172
|
-
<div class="BonusCalendarWrapper {isMobile ? 'BonusCalendarWrapperMobile' : ''}"
|
173
|
-
<div class="BonusesCalendarContainer {isMobile ? 'BonusesCalendarContainerMobile' : ''}"
|
174
|
-
<div class="BonusesCalendarStartDate {isMobile ? 'BonusesCalendarMobile' : ''}"
|
172
|
+
<div class="BonusCalendarWrapper {isMobile ? 'BonusCalendarWrapperMobile' : ''}">
|
173
|
+
<div class="BonusesCalendarContainer {isMobile ? 'BonusesCalendarContainerMobile' : ''}">
|
174
|
+
<div class="BonusesCalendarStartDate {isMobile ? 'BonusesCalendarMobile' : ''}">
|
175
175
|
<label for="BonusCalendarStartDate">{$_('dateFrom')}</label>
|
176
|
-
<vaadin-date-picker bind:this={startCalendar} max={maxDate} value={lastMonth} placeholder="From" class="VaadinDatePicker"
|
176
|
+
<vaadin-date-picker bind:this={startCalendar} max={maxDate} value={lastMonth} placeholder="From" class="VaadinDatePicker"></vaadin-date-picker>
|
177
177
|
</div>
|
178
|
-
<div class="BonusesCalendarEndDate {isMobile ? 'BonusesCalendarMobile' : ''}"
|
178
|
+
<div class="BonusesCalendarEndDate {isMobile ? 'BonusesCalendarMobile' : ''}">
|
179
179
|
<label for="BonusesCalendarEndDate">{$_('dateTo')}</label>
|
180
|
-
<vaadin-date-picker bind:this={endCalendar} max={maxDate} value={maxDate} placeholder="To" class="VaadinDatePicker"
|
180
|
+
<vaadin-date-picker bind:this={endCalendar} max={maxDate} value={maxDate} placeholder="To" class="VaadinDatePicker"></vaadin-date-picker>
|
181
181
|
</div>
|
182
182
|
</div>
|
183
|
-
<button class="BonusesCalendarFilter {isMobile ? 'BonusesCalendarFilterMobile' : ''}"
|
183
|
+
<button class="BonusesCalendarFilter {isMobile ? 'BonusesCalendarFilterMobile' : ''}" on:click={() => getBonuses(0)}>{$_('dateFilter')}</button>
|
184
184
|
</div>
|
185
|
-
<div class="BonusesGrid {isMobile ? 'BonusesGridMobile' : ''}"
|
185
|
+
<div class="BonusesGrid {isMobile ? 'BonusesGridMobile' : ''}">
|
186
186
|
{#if bonusesList.length === 0}
|
187
187
|
<p>{$_('noBonusHistory')}</p>
|
188
188
|
{:else}
|
@@ -207,7 +207,7 @@
|
|
207
207
|
bonusname={bonus.name}
|
208
208
|
bonustype={bonus.type}
|
209
209
|
bonusamount={bonus.grantedAmount}
|
210
|
-
bonuswageringamount={bonus.
|
210
|
+
bonuswageringamount={`${bonus.fulfilledWR} / ${bonus.originalWageringRequirement}`}
|
211
211
|
bonusremainingamount={bonus.currentAmount}
|
212
212
|
bonuscurrency={bonus.currency}
|
213
213
|
{lang}
|
@@ -219,14 +219,14 @@
|
|
219
219
|
{/if}
|
220
220
|
</div>
|
221
221
|
{#if bonusesList.length !== 0}
|
222
|
-
<div class="BonusesPaginationWrapper {isMobile ? 'BonusesPaginationWrapperMobile' : ''}"
|
223
|
-
<span class="BonusesFirst {currentPage === 0 ? 'Inactive' : ''}"
|
224
|
-
<span class="BonusesPrev {currentPage === 0 ? 'Inactive' : ''}"
|
222
|
+
<div class="BonusesPaginationWrapper {isMobile ? 'BonusesPaginationWrapperMobile' : ''}">
|
223
|
+
<span class="BonusesFirst {currentPage === 0 ? 'Inactive' : ''}" on:click={() => getBonuses(0)}>|<</span>
|
224
|
+
<span class="BonusesPrev {currentPage === 0 ? 'Inactive' : ''}" on:click={() => getBonuses(bonusesPrevPage)}><</span>
|
225
225
|
{#each Array(numberOfPages) as _, i}
|
226
|
-
<span class="BonusesPage {i === currentPage ? 'BonusPageActive' : ''}"
|
226
|
+
<span class="BonusesPage {i === currentPage ? 'BonusPageActive' : ''}" on:click={() => getBonuses(i*bonusesPerPage)}>{i+1}</span>
|
227
227
|
{/each}
|
228
|
-
<span class="BonusesNext {currentPage === (numberOfPages - 1) ? 'Inactive' : ''}"
|
229
|
-
<span class="BonusesLast {currentPage === (numberOfPages - 1) ? 'Inactive' : ''}"
|
228
|
+
<span class="BonusesNext {currentPage === (numberOfPages - 1) ? 'Inactive' : ''}" on:click={() => getBonuses(bonusesNextPage)}>></span>
|
229
|
+
<span class="BonusesLast {currentPage === (numberOfPages - 1) ? 'Inactive' : ''}" on:click={() => getBonuses(bonusesLastPage)}>>|</span>
|
230
230
|
</div>
|
231
231
|
{/if}
|
232
232
|
</div>
|
@@ -238,7 +238,7 @@
|
|
238
238
|
|
239
239
|
|
240
240
|
.BonusesWrapper {
|
241
|
-
color: var(--emfe-w-color-
|
241
|
+
color: var(--emfe-w-pam-typography, var(--emfe-w-color-dunkel, #07072A));
|
242
242
|
padding: 50px;
|
243
243
|
max-width: 850px;
|
244
244
|
|
@@ -249,19 +249,19 @@
|
|
249
249
|
}
|
250
250
|
|
251
251
|
.MenuReturnButton{
|
252
|
-
color: var(--emfe-w-color-primary, #D0046C);
|
252
|
+
color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
253
253
|
display: inline-flex;
|
254
254
|
align-items: center;
|
255
255
|
column-gap: 10px;
|
256
256
|
margin-bottom: 10px;
|
257
257
|
& svg {
|
258
|
-
fill: var(--emfe-w-color-primary, #D0046C);
|
258
|
+
fill: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
259
259
|
}
|
260
260
|
}
|
261
261
|
|
262
262
|
.BonusesTitle {
|
263
263
|
font-size: 26px;
|
264
|
-
color: var(--emfe-w-color-primary, #D0046C);
|
264
|
+
color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
265
265
|
font-weight: 400;
|
266
266
|
}
|
267
267
|
|
@@ -328,14 +328,14 @@
|
|
328
328
|
padding: 5px 15px;
|
329
329
|
font-size: 16px;
|
330
330
|
line-height: 18px;
|
331
|
-
outline-color: var(--emfe-w-color-primary, #D0046C);
|
331
|
+
outline-color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
332
332
|
}
|
333
333
|
}
|
334
334
|
|
335
335
|
.BonusesCalendarFilter {
|
336
|
-
background: var(--emfe-w-color-primary, #D0046C);
|
337
|
-
border: 1px solid var(--emfe-w-color-primary, #D0046C);
|
338
|
-
color: var(--emfe-w-color-white, #FFFFFF);
|
336
|
+
background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
337
|
+
border: 1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
338
|
+
color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
|
339
339
|
cursor: pointer;
|
340
340
|
border-radius: 5px;
|
341
341
|
width: 120px;
|
@@ -352,7 +352,7 @@
|
|
352
352
|
}
|
353
353
|
|
354
354
|
&:active {
|
355
|
-
background: var(--emfe-w-color-primary-
|
355
|
+
background: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
356
356
|
}
|
357
357
|
}
|
358
358
|
|
@@ -375,7 +375,7 @@
|
|
375
375
|
text-align: center;
|
376
376
|
}
|
377
377
|
.BonusesFirst, .BonusesPrev, .BonusesNext, .BonusesLast {
|
378
|
-
color: var(--emfe-w-color-primary, #D0046C);
|
378
|
+
color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));
|
379
379
|
font-size: 16px;
|
380
380
|
cursor: pointer;
|
381
381
|
padding: 5px 10px;
|
@@ -387,7 +387,7 @@
|
|
387
387
|
}
|
388
388
|
.BonusesPage {
|
389
389
|
margin: 0 5px;
|
390
|
-
color: var(--emfe-w-color-
|
390
|
+
color: var(--emfe-w-pam-typography, var(--emfe-w-color-dunkel, #07072A));
|
391
391
|
font-size: 16px;
|
392
392
|
cursor: pointer;
|
393
393
|
padding: 5px 10px;
|