@everymatrix/player-bonus-card 1.43.4 → 1.45.0
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/components/PlayerBonusCard-DjFOSbxp.js +7329 -0
- package/components/PlayerBonusCard-NCJ8i0yI.cjs +14 -0
- package/es2015/player-bonus-card.cjs +1 -0
- package/es2015/player-bonus-card.js +16 -0
- package/package.json +15 -33
- package/CHANGELOG.md +0 -8
- package/README.md +0 -30
- package/dist/player-bonus-card.js +0 -2
- package/dist/player-bonus-card.js.map +0 -1
- package/index.html +0 -21
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/PlayerBonusCard.svelte +0 -202
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -142
- package/stories/PlayerBonusCard.stories.js +0 -13
- package/tsconfig.json +0 -6
package/index.html
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset='utf-8'>
|
|
5
|
-
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
|
6
|
-
|
|
7
|
-
<title>
|
|
8
|
-
player-bonus-card
|
|
9
|
-
</title>
|
|
10
|
-
<link rel="stylesheet" href="public/reset.css">
|
|
11
|
-
<script src='dist/player-bonus-card.js'></script>
|
|
12
|
-
</head>
|
|
13
|
-
|
|
14
|
-
<body>
|
|
15
|
-
|
|
16
|
-
<div class="webcomponent">
|
|
17
|
-
<player-bonus-card></player-bonus-card>
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './dist/player-bonus-card.js';
|
package/public/favicon.png
DELETED
|
Binary file
|
package/public/reset.css
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
|
2
|
-
v2.0 | 20110126
|
|
3
|
-
License: none (public domain)
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
html, body, div, span, applet, object, iframe,
|
|
7
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
8
|
-
a, abbr, acronym, address, big, cite, code,
|
|
9
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
10
|
-
small, strike, strong, sub, sup, tt, var,
|
|
11
|
-
b, u, i, center,
|
|
12
|
-
dl, dt, dd, ol, ul, li,
|
|
13
|
-
fieldset, form, label, legend,
|
|
14
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
15
|
-
article, aside, canvas, details, embed,
|
|
16
|
-
figure, figcaption, footer, header, hgroup,
|
|
17
|
-
menu, nav, output, ruby, section, summary,
|
|
18
|
-
time, mark, audio, video {
|
|
19
|
-
margin: 0;
|
|
20
|
-
padding: 0;
|
|
21
|
-
border: 0;
|
|
22
|
-
font-size: 100%;
|
|
23
|
-
font: inherit;
|
|
24
|
-
vertical-align: baseline;
|
|
25
|
-
}
|
|
26
|
-
/* HTML5 display-role reset for older browsers */
|
|
27
|
-
article, aside, details, figcaption, figure,
|
|
28
|
-
footer, header, hgroup, menu, nav, section {
|
|
29
|
-
display: block;
|
|
30
|
-
}
|
|
31
|
-
body {
|
|
32
|
-
line-height: 1;
|
|
33
|
-
}
|
|
34
|
-
ol, ul {
|
|
35
|
-
list-style: none;
|
|
36
|
-
}
|
|
37
|
-
blockquote, q {
|
|
38
|
-
quotes: none;
|
|
39
|
-
}
|
|
40
|
-
blockquote:before, blockquote:after,
|
|
41
|
-
q:before, q:after {
|
|
42
|
-
content: '';
|
|
43
|
-
content: none;
|
|
44
|
-
}
|
|
45
|
-
table {
|
|
46
|
-
border-collapse: collapse;
|
|
47
|
-
border-spacing: 0;
|
|
48
|
-
}
|
package/rollup.config.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import svelte from 'rollup-plugin-svelte';
|
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
4
|
-
import serve from 'rollup-plugin-dev-server';
|
|
5
|
-
import livereload from 'rollup-plugin-livereload';
|
|
6
|
-
import { terser } from 'rollup-plugin-terser';
|
|
7
|
-
import sveltePreprocess from 'svelte-preprocess';
|
|
8
|
-
import typescript from '@rollup/plugin-typescript';
|
|
9
|
-
import uglify from 'rollup-plugin-uglify';
|
|
10
|
-
import image from '@rollup/plugin-image';
|
|
11
|
-
|
|
12
|
-
const production = process.env.NODE_ENV == 'production';
|
|
13
|
-
const dev = process.env.NODE_ENV == 'development';
|
|
14
|
-
|
|
15
|
-
export default {
|
|
16
|
-
input: 'src/index.ts',
|
|
17
|
-
output: {
|
|
18
|
-
sourcemap: true,
|
|
19
|
-
format: 'umd',
|
|
20
|
-
name: 'app',
|
|
21
|
-
file: 'dist/player-bonus-card.js',
|
|
22
|
-
},
|
|
23
|
-
plugins: [
|
|
24
|
-
svelte({
|
|
25
|
-
preprocess: sveltePreprocess(),
|
|
26
|
-
compilerOptions: {
|
|
27
|
-
// @TODO check generate and hydratable
|
|
28
|
-
// generate: 'ssr',
|
|
29
|
-
// hydratable: true,
|
|
30
|
-
// enable run-time checks when not in production
|
|
31
|
-
customElement: true,
|
|
32
|
-
dev: !production
|
|
33
|
-
}
|
|
34
|
-
}),
|
|
35
|
-
image(),
|
|
36
|
-
commonjs(),
|
|
37
|
-
resolve({
|
|
38
|
-
browser: true,
|
|
39
|
-
dedupe: ['svelte']
|
|
40
|
-
}),
|
|
41
|
-
dev && serve({
|
|
42
|
-
open: true,
|
|
43
|
-
verbose: true,
|
|
44
|
-
allowCrossOrigin: true,
|
|
45
|
-
historyApiFallback: false,
|
|
46
|
-
host: 'localhost',
|
|
47
|
-
port: 5050,
|
|
48
|
-
}),
|
|
49
|
-
dev && livereload({ watch: ['', 'dist'] }),
|
|
50
|
-
typescript({
|
|
51
|
-
sourceMap: !production,
|
|
52
|
-
inlineSources: !production,
|
|
53
|
-
}),
|
|
54
|
-
// If we're building for production (npm run build
|
|
55
|
-
// instead of npm run dev), minify
|
|
56
|
-
production &&
|
|
57
|
-
terser({
|
|
58
|
-
output: {
|
|
59
|
-
comments: "all"
|
|
60
|
-
},
|
|
61
|
-
}),
|
|
62
|
-
production && uglify.uglify()
|
|
63
|
-
],
|
|
64
|
-
watch: {
|
|
65
|
-
clearScreen: false
|
|
66
|
-
}
|
|
67
|
-
};
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
<svelte:options tag={null} />
|
|
2
|
-
<script lang="ts">
|
|
3
|
-
import { getDevice } from 'rvhelper';
|
|
4
|
-
import { _, addNewMessages, setLocale } from './i18n';
|
|
5
|
-
import { TRANSLATIONS } from './translations';
|
|
6
|
-
|
|
7
|
-
import moment from 'moment';
|
|
8
|
-
|
|
9
|
-
export let bonuswalletid:string = '';
|
|
10
|
-
export let bonusdate:string = '';
|
|
11
|
-
export let bonusstatus:string = '';
|
|
12
|
-
export let bonusname:string = '';
|
|
13
|
-
export let bonustype:string = '';
|
|
14
|
-
export let bonusamount:string = '';
|
|
15
|
-
export let bonuswageringamount:string = '';
|
|
16
|
-
export let bonusremainingamount:string = '';
|
|
17
|
-
export let bonuscurrency:string = '';
|
|
18
|
-
export let lang:string = 'en';
|
|
19
|
-
export let clientstyling:string = '';
|
|
20
|
-
export let clientstylingurl:string = '';
|
|
21
|
-
export let translationurl:string = '';
|
|
22
|
-
|
|
23
|
-
let customStylingContainer:HTMLElement;
|
|
24
|
-
let userAgent:string = window.navigator.userAgent;
|
|
25
|
-
let isMobile:boolean = (getDevice(userAgent) === 'PC') ? false : true;
|
|
26
|
-
|
|
27
|
-
let bonusTypeText:string = '';
|
|
28
|
-
|
|
29
|
-
const setTranslationUrl = ():void => {
|
|
30
|
-
let url:string = translationurl;
|
|
31
|
-
|
|
32
|
-
fetch(url).then((res:any) => res.json())
|
|
33
|
-
.then((res) => {
|
|
34
|
-
Object.keys(res).forEach((item:any):void => {
|
|
35
|
-
addNewMessages(item, res[item]);
|
|
36
|
-
});
|
|
37
|
-
}).catch((err:any) => {
|
|
38
|
-
console.log(err);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Object.keys(TRANSLATIONS).forEach((item:any) => {
|
|
44
|
-
addNewMessages(item, TRANSLATIONS[item]);
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
const bonusTypeRewrite = () => {
|
|
48
|
-
bonusTypeText = bonustype;
|
|
49
|
-
|
|
50
|
-
if (bonusTypeText === 'freeRound') {
|
|
51
|
-
bonusTypeText = 'Free Spins';
|
|
52
|
-
} else if (bonusTypeText === 'freeBet') {
|
|
53
|
-
bonusTypeText = 'Free Bet';
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const deleteBonus = () => {
|
|
58
|
-
window.postMessage({ type: 'DisableScroll'}, window.location.href);
|
|
59
|
-
window.postMessage({ type: 'DeleteActiveBonus', bonuswalletid }, window.location.href);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
const initialLoad = () => {
|
|
63
|
-
setLocale(lang);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const setClientStyling = ():void => {
|
|
67
|
-
let sheet:HTMLElement = document.createElement('style');
|
|
68
|
-
sheet.innerHTML = clientstyling;
|
|
69
|
-
customStylingContainer.appendChild(sheet);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
const setClientStylingURL = ():void => {
|
|
73
|
-
let url:URL = new URL(clientstylingurl);
|
|
74
|
-
let cssFile:HTMLElement = document.createElement('style');
|
|
75
|
-
|
|
76
|
-
fetch(url.href)
|
|
77
|
-
.then((res:any) => res.text())
|
|
78
|
-
.then((data:any) => {
|
|
79
|
-
cssFile.innerHTML = data
|
|
80
|
-
|
|
81
|
-
setTimeout(() => { customStylingContainer.appendChild(cssFile) }, 1);
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
$: lang && initialLoad();
|
|
86
|
-
$: bonustype && bonusTypeRewrite();
|
|
87
|
-
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
88
|
-
$: clientstyling && customStylingContainer && setClientStyling();
|
|
89
|
-
$: translationurl && setTranslationUrl();
|
|
90
|
-
</script>
|
|
91
|
-
|
|
92
|
-
<div class="BonusCard" bind:this={customStylingContainer}>
|
|
93
|
-
<div class="BonusCardInfo">
|
|
94
|
-
<div class="BonusCardRow">
|
|
95
|
-
<p class="BonusCardRowTitle">{$_('date')} <span>{moment(bonusdate).format('DD/MM/YYYY h:mm A')}</span></p>
|
|
96
|
-
<p class="BonusCardRowText BonusCardStatus TextCapitalize {bonusstatus === 'active' || bonusstatus === 'released' ? 'StatusActive' : ''} {bonusstatus === 'expired' ? 'StatusExpired' : ''} {bonusstatus === 'forfeited' ? 'StatusForfeited' : ''}">{$_(`${bonusstatus}`)}</p>
|
|
97
|
-
</div>
|
|
98
|
-
<div class="BonusCardRow">
|
|
99
|
-
<p class="BonusCardRowTitle">{$_('bonusName')}</p>
|
|
100
|
-
<p class="BonusCardRowText">{bonusname}</p>
|
|
101
|
-
</div>
|
|
102
|
-
<div class="BonusCardRow">
|
|
103
|
-
<p class="BonusCardRowTitle">{$_('bonusType')}</p>
|
|
104
|
-
<p class="BonusCardRowText TextCapitalize">{bonusTypeText}</p>
|
|
105
|
-
</div>
|
|
106
|
-
{#if bonusamount}
|
|
107
|
-
<div class="BonusCardRow">
|
|
108
|
-
<p class="BonusCardRowTitle">{$_('bonusAmount')}</p>
|
|
109
|
-
<p class="BonusCardRowText">{bonusamount} {bonuscurrency}</p>
|
|
110
|
-
</div>
|
|
111
|
-
{/if}
|
|
112
|
-
{#if bonuswageringamount}
|
|
113
|
-
<div class="BonusCardRow">
|
|
114
|
-
<p class="BonusCardRowTitle">{$_('wageringAmount')}</p>
|
|
115
|
-
<p class="BonusCardRowText">{bonuswageringamount} {bonuscurrency}</p>
|
|
116
|
-
</div>
|
|
117
|
-
{/if}
|
|
118
|
-
{#if bonusremainingamount}
|
|
119
|
-
<div class="BonusCardRow">
|
|
120
|
-
<p class="BonusCardRowTitle">{$_('remainingBonus')}</p>
|
|
121
|
-
<p class="BonusCardRowText">{bonusremainingamount} {bonuscurrency}</p>
|
|
122
|
-
</div>
|
|
123
|
-
{/if}
|
|
124
|
-
</div>
|
|
125
|
-
{#if bonusstatus === 'active'}
|
|
126
|
-
<button class="DeleteBonus {isMobile ? 'DeleteBonusMobile' : ''}" on:click={deleteBonus}>{$_('forfeitBonus')}</button>
|
|
127
|
-
{/if}
|
|
128
|
-
</div>
|
|
129
|
-
|
|
130
|
-
<style lang="scss">
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
.BonusCard {
|
|
135
|
-
background-color: var(--emw--color-white, #FFFFFF);
|
|
136
|
-
padding: 10px 20px 20px;
|
|
137
|
-
border-radius: var(--emw--border-radius-large, 20px);
|
|
138
|
-
box-shadow: 0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.BonusCardRow {
|
|
142
|
-
display: flex;
|
|
143
|
-
justify-content: space-between;
|
|
144
|
-
align-items: center;
|
|
145
|
-
padding: 2px 10px;
|
|
146
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
147
|
-
.BonusCardRowTitle {
|
|
148
|
-
color: var(--emw--color-typography-cotrast, #444444);
|
|
149
|
-
font-weight: var(--emw--font-weight-bold, 700);
|
|
150
|
-
span {
|
|
151
|
-
font-weight: var(--emw--font-weigh-normal, 400);
|
|
152
|
-
color: var(--emw--color-gray-300, #58586B);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
.BonusCardRowText {
|
|
156
|
-
color: var(--emw--color-gray-300, #58586B);
|
|
157
|
-
&.BonusCardStatus {
|
|
158
|
-
font-weight: var(--emw--font-weight-bold, 700);
|
|
159
|
-
color: vvar(--emw--color-typography-cotrast, #444444);
|
|
160
|
-
}
|
|
161
|
-
&.StatusActive {
|
|
162
|
-
color: var(--emw--color-valid, #48952a);
|
|
163
|
-
}
|
|
164
|
-
&.StatusExpired {
|
|
165
|
-
color: var(--emw--color-error, #FD2839);
|
|
166
|
-
}
|
|
167
|
-
&.StatusForfeited {
|
|
168
|
-
color: #fd8c2d;
|
|
169
|
-
}
|
|
170
|
-
&.TextCapitalize {
|
|
171
|
-
text-transform: capitalize;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
&:nth-child(even) {
|
|
175
|
-
background-color: var(--emw--color-gray-50, #F9F8F8);
|
|
176
|
-
border-radius: var(--emw--border-radius-small, 5px);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.DeleteBonus {
|
|
181
|
-
background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
182
|
-
border: 1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
183
|
-
color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));
|
|
184
|
-
cursor: pointer;
|
|
185
|
-
border-radius: var(--emw--border-radius-small, 5px);
|
|
186
|
-
width: 50%;
|
|
187
|
-
height: 44px;
|
|
188
|
-
font-size: var(--emw--font-size-medium, 15px);
|
|
189
|
-
text-transform: uppercase;
|
|
190
|
-
text-align: center;
|
|
191
|
-
transition-duration: 0.3s;
|
|
192
|
-
box-sizing: border-box;
|
|
193
|
-
padding: 10px;
|
|
194
|
-
margin-top: 10px;
|
|
195
|
-
&.DeleteBonusMobile {
|
|
196
|
-
width: 100%;
|
|
197
|
-
}
|
|
198
|
-
&:active {
|
|
199
|
-
background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
</style>
|
package/src/i18n.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
dictionary,
|
|
3
|
-
locale,
|
|
4
|
-
addMessages,
|
|
5
|
-
_
|
|
6
|
-
} from 'svelte-i18n';
|
|
7
|
-
|
|
8
|
-
function setupI18n({ withLocale: _locale, translations }) {
|
|
9
|
-
locale.subscribe((data) => {
|
|
10
|
-
if (data == null) {
|
|
11
|
-
dictionary.set(translations);
|
|
12
|
-
locale.set(_locale);
|
|
13
|
-
}
|
|
14
|
-
}); // maybe we will need this to make sure that the i18n is set up only once
|
|
15
|
-
/*dictionary.set(translations);
|
|
16
|
-
locale.set(_locale);*/
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function addNewMessages(lang, dict) {
|
|
20
|
-
addMessages(lang, dict);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function setLocale(_locale) {
|
|
24
|
-
locale.set(_locale);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { _, setupI18n, addNewMessages, setLocale };
|
package/src/index.ts
DELETED
package/src/translations.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
export const TRANSLATIONS = {
|
|
2
|
-
"en": {
|
|
3
|
-
"date": "Granted date:",
|
|
4
|
-
"bonusName": "Bonus Name",
|
|
5
|
-
"bonusType": "Bonus Type",
|
|
6
|
-
"bonusAmount": "Bonus Amount",
|
|
7
|
-
"wageringAmount": "Wagering Progress (Rollover)",
|
|
8
|
-
"remainingBonus": "Current Bonus Balance",
|
|
9
|
-
"forfeitBonus": "Forfeit Bonus",
|
|
10
|
-
"active": "active",
|
|
11
|
-
"released": "released",
|
|
12
|
-
"expired": "expired",
|
|
13
|
-
"forfeited": "forfeited",
|
|
14
|
-
"closed": "closed"
|
|
15
|
-
},
|
|
16
|
-
"zh-hk": {
|
|
17
|
-
"date": "授予日期:",
|
|
18
|
-
"bonusName": "獎金名稱",
|
|
19
|
-
"bonusType": "獎金類型",
|
|
20
|
-
"bonusAmount": "獎金金額",
|
|
21
|
-
"wageringAmount": "投注進展",
|
|
22
|
-
"remainingBonus": "剩餘紅利金額",
|
|
23
|
-
"forfeitBonus": "沒收獎金",
|
|
24
|
-
"active": "active",
|
|
25
|
-
"released": "released",
|
|
26
|
-
"expired": "expired",
|
|
27
|
-
"forfeited": "forfeited",
|
|
28
|
-
"closed": "closed"
|
|
29
|
-
},
|
|
30
|
-
"fr": {
|
|
31
|
-
"date": "Date d'attribution:",
|
|
32
|
-
"bonusName": "Nom du bonus",
|
|
33
|
-
"bonusType": "Type de bonus",
|
|
34
|
-
"bonusAmount": "Montant du bonus",
|
|
35
|
-
"wageringAmount": "Changer les progrès",
|
|
36
|
-
"remainingBonus": "Montant du bonus restant",
|
|
37
|
-
"forfeitBonus": "Supprimer le bonus",
|
|
38
|
-
"active": "active",
|
|
39
|
-
"released": "released",
|
|
40
|
-
"expired": "expired",
|
|
41
|
-
"forfeited": "forfeited",
|
|
42
|
-
"closed": "fermé"
|
|
43
|
-
},
|
|
44
|
-
"ro": {
|
|
45
|
-
"date": "Dată Alocare:",
|
|
46
|
-
"bonusName": "Nume bonus",
|
|
47
|
-
"bonusType": "Tip de bonus",
|
|
48
|
-
"bonusAmount": "Sumă",
|
|
49
|
-
"wageringAmount": "Progresul de pariere",
|
|
50
|
-
"remainingBonus": "Bonus rămas",
|
|
51
|
-
"forfeitBonus": "Anulează bonusul",
|
|
52
|
-
"active": "active",
|
|
53
|
-
"released": "released",
|
|
54
|
-
"expired": "expired",
|
|
55
|
-
"forfeited": "forfeited",
|
|
56
|
-
"closed": "închis"
|
|
57
|
-
},
|
|
58
|
-
"es": {
|
|
59
|
-
"date": "Fecha de Canje",
|
|
60
|
-
"bonusName": "Nombre de Bono",
|
|
61
|
-
"bonusType": "Tipo de Bono",
|
|
62
|
-
"bonusAmount": "Monto de Bono",
|
|
63
|
-
"wageringAmount": "Progreso ( Rollover)",
|
|
64
|
-
"remainingBonus": "Saldo Actual de Bono",
|
|
65
|
-
"forfeitBonus": "cancelar bono",
|
|
66
|
-
"active": "Activo",
|
|
67
|
-
"released": "released",
|
|
68
|
-
"expired": "expired",
|
|
69
|
-
"forfeited": "forfeited",
|
|
70
|
-
"closed": "cerrado"
|
|
71
|
-
},
|
|
72
|
-
"pt": {
|
|
73
|
-
"date": "Data de atribuição do bônus:",
|
|
74
|
-
"bonusName": "Nome do bônus",
|
|
75
|
-
"bonusType": "Tipo de bônus",
|
|
76
|
-
"bonusAmount": "Valor do bônus",
|
|
77
|
-
"wageringAmount": "Progresso de apostas",
|
|
78
|
-
"remainingBonus": "Valor do bônus restante",
|
|
79
|
-
"forfeitBonus": "Bônus de Perda",
|
|
80
|
-
"active": "active",
|
|
81
|
-
"released": "released",
|
|
82
|
-
"expired": "expired",
|
|
83
|
-
"forfeited": "forfeited",
|
|
84
|
-
"closed": "fechado"
|
|
85
|
-
},
|
|
86
|
-
"hr": {
|
|
87
|
-
"date": "Datum:",
|
|
88
|
-
"bonusName": "Ime bonusa",
|
|
89
|
-
"bonusType": "Vrsta bonusa",
|
|
90
|
-
"bonusAmount": "Iznos bonusa",
|
|
91
|
-
"wageringAmount": "Odigravanje",
|
|
92
|
-
"remainingBonus": "Trenutno stanje bonusa",
|
|
93
|
-
"forfeitBonus": "Otkaži bonus",
|
|
94
|
-
"active": "aktivan",
|
|
95
|
-
"released": "razriješen",
|
|
96
|
-
"expired": "Istekao",
|
|
97
|
-
"forfeited": "otkazan",
|
|
98
|
-
"closed": "Zatvoren"
|
|
99
|
-
},
|
|
100
|
-
"pt-br": {
|
|
101
|
-
"date": "Data concedida:",
|
|
102
|
-
"bonusName": "Nome do bônus:",
|
|
103
|
-
"bonusType": "Tipo de bônus:",
|
|
104
|
-
"bonusAmount": "Valor do bônus:",
|
|
105
|
-
"wageringAmount": "Progresso da Quantidade de Apostas (Rollover)",
|
|
106
|
-
"remainingBonus": "Saldo atual de bônus:",
|
|
107
|
-
"forfeitBonus": "Recusar bônus",
|
|
108
|
-
"active": "Ativo",
|
|
109
|
-
"released": "Lançado",
|
|
110
|
-
"expired": "Expirado",
|
|
111
|
-
"forfeited": "Perdido",
|
|
112
|
-
"closed": "fechado"
|
|
113
|
-
},
|
|
114
|
-
"es-mx": {
|
|
115
|
-
"date": "Fecha concedida:",
|
|
116
|
-
"bonusName": "Nombre de bono:",
|
|
117
|
-
"bonusType": "Tipo de Bono:",
|
|
118
|
-
"bonusAmount": "valor de Bono:",
|
|
119
|
-
"wageringAmount": "Progreso de monto de apuestas (Rollover)",
|
|
120
|
-
"remainingBonus": "Saldo de bono actual:",
|
|
121
|
-
"forfeitBonus": "Declinar bono",
|
|
122
|
-
"active": "Activo",
|
|
123
|
-
"released": "Liberado",
|
|
124
|
-
"expired": "Expirado",
|
|
125
|
-
"forfeited": "Perdido",
|
|
126
|
-
"closed": "cerrado"
|
|
127
|
-
},
|
|
128
|
-
"tr": {
|
|
129
|
-
"date": "Verilen tarih:",
|
|
130
|
-
"bonusName": "Bonus Adı",
|
|
131
|
-
"bonusType": "Bonus Türü",
|
|
132
|
-
"bonusAmount": "Bonus Tutarı",
|
|
133
|
-
"wageringAmount": "Bahis İlerlemesi (Rollover)",
|
|
134
|
-
"remainingBonus": "Mevcut Bonus Bakiyesi",
|
|
135
|
-
"forfeitBonus": "Fesih Bonusu",
|
|
136
|
-
"active": "aktif",
|
|
137
|
-
"released": "piyasaya sürülmüş",
|
|
138
|
-
"expired": "günü geçmiş",
|
|
139
|
-
"forfeited": "kaybedilen",
|
|
140
|
-
"closed": "kapalı"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { html } from 'lit-element';
|
|
2
|
-
|
|
3
|
-
import PlayerBonusCard from '../src/PlayerBonusCard';
|
|
4
|
-
|
|
5
|
-
// This default export determines where your story goes in the story list
|
|
6
|
-
export default {
|
|
7
|
-
title: 'PlayerBonusCard',
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
// 👇 We create a “template” of how args map to rendering
|
|
11
|
-
const PlayerBonusCard = ({ aProperty }) => html`<player-bonus-card></player-bonus-card>`;
|
|
12
|
-
|
|
13
|
-
export const FirstStory = PlayerBonusCard.bind({});
|