@everymatrix/casino-game-page 0.0.291 → 0.0.294
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/casino-game-page",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.294",
|
4
4
|
"main": "dist/casino-game-page.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": "3fe9793aa0c46e63b382cbbdb0ee1dc1f0f4a12f"
|
40
40
|
}
|
@@ -165,6 +165,10 @@
|
|
165
165
|
showModal = 'true';
|
166
166
|
break;
|
167
167
|
|
168
|
+
case 'OpenGameFrame':
|
169
|
+
showModal = 'true';
|
170
|
+
break;
|
171
|
+
|
168
172
|
case 'LaunchGameFrame':
|
169
173
|
openGameFrame(e.data.gameId, e.data.gameFunMode);
|
170
174
|
break;
|
@@ -401,10 +405,6 @@
|
|
401
405
|
}
|
402
406
|
}
|
403
407
|
|
404
|
-
const panicAction = ():void => {
|
405
|
-
window.postMessage({type: 'PanicButtonClicked'}, window.location.href);
|
406
|
-
}
|
407
|
-
|
408
408
|
const refreshTime = ():void => {
|
409
409
|
if (clockformat) {
|
410
410
|
time = moment().format(clockformat);
|
@@ -472,6 +472,7 @@
|
|
472
472
|
panicLoading = true;
|
473
473
|
|
474
474
|
if (timer >= 3) {
|
475
|
+
window.postMessage({type: 'PanicButtonClicked'}, window.location.href);
|
475
476
|
clearInterval(timerInterval)
|
476
477
|
}
|
477
478
|
}, 1000);
|
@@ -503,6 +504,7 @@
|
|
503
504
|
$: clientstyling && setClientStyling();
|
504
505
|
$: clientstylingurl && setClientStylingURL();
|
505
506
|
$: (showModal == 'true') && panicButton && addEventsToDisplayedElements();
|
507
|
+
$: panicButton && addEventsToDisplayedElements();
|
506
508
|
</script>
|
507
509
|
|
508
510
|
|
@@ -547,7 +549,7 @@
|
|
547
549
|
</div>
|
548
550
|
{#if haspanicbutton === "true"}
|
549
551
|
<div class="PanicSection {(getDevice(userAgent) !== 'PC') ? 'PanicSectionMobile' : ''}" part="PanicSection {(getDevice(userAgent) !== 'PC') ? 'PanicSectionMobile' : ''}">
|
550
|
-
<button class="PanicButton {(getDevice(userAgent) !== 'PC') ? 'PanicButtonMobile' : ''}" class:PanicButtonAnimation={panicLoading} part="PanicButton {(getDevice(userAgent) !== 'PC') ? 'PanicButtonMobile' : ''}" bind:this={panicButton}
|
552
|
+
<button class="PanicButton {(getDevice(userAgent) !== 'PC') ? 'PanicButtonMobile' : ''}" class:PanicButtonAnimation={panicLoading} part="PanicButton {(getDevice(userAgent) !== 'PC') ? 'PanicButtonMobile' : ''}" bind:this={panicButton}>{$_('gamePage.breakButton')}</button>
|
551
553
|
</div>
|
552
554
|
{/if}
|
553
555
|
<p>{time}</p>
|
@@ -584,7 +586,7 @@
|
|
584
586
|
<p class="Time" part="Time" bind:this={timeContainer}><span>{time}</span></p>
|
585
587
|
{#if haspanicbutton === "true"}
|
586
588
|
<div class="PanicSection" part="PanicSection">
|
587
|
-
<button class="Button" class:PanicButtonAnimation={panicLoading} part="Button" bind:this={panicButton}
|
589
|
+
<button class="Button" class:PanicButtonAnimation={panicLoading} part="Button" bind:this={panicButton}>{$_('gamePage.breakButton')}</button>
|
588
590
|
</div>
|
589
591
|
{/if}
|
590
592
|
{#if isFullscreen}
|
@@ -787,31 +789,20 @@
|
|
787
789
|
}
|
788
790
|
|
789
791
|
.FavIconPanicButton {
|
790
|
-
margin-top:
|
792
|
+
margin-top: 45px;
|
791
793
|
}
|
792
794
|
|
793
|
-
.PanicText {
|
794
|
-
display: flex;
|
795
|
-
align-items: center;
|
796
|
-
}
|
797
795
|
.PanicSection {
|
798
796
|
display: flex;
|
799
797
|
align-items: center;
|
800
798
|
gap: 10px;
|
801
799
|
margin: 20px 0;
|
802
800
|
|
803
|
-
svg {
|
804
|
-
fill: none;
|
805
|
-
}
|
806
|
-
p {
|
807
|
-
font-size: 16px;
|
808
|
-
color: var(--emfe-w-color-white, #FFFFFF);
|
809
|
-
}
|
810
801
|
.Button {
|
811
802
|
border-radius: 5px;
|
812
803
|
border: 1px solid var(--emfe-w-color-primary, #D0046C);
|
813
804
|
background-color: var(--emfe-w-color-primary, #D0046C);
|
814
|
-
width:
|
805
|
+
width: 280px;
|
815
806
|
height: 60px;
|
816
807
|
color: var(--emfe-w-color-white, #FFFFFF);
|
817
808
|
cursor: pointer;
|
@@ -842,20 +833,21 @@
|
|
842
833
|
.PanicButtonAnimation {
|
843
834
|
background: -webkit-linear-gradient(
|
844
835
|
135deg,
|
845
|
-
|
836
|
+
rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%
|
846
837
|
);
|
847
838
|
|
848
839
|
background: -moz-linear-gradient(
|
849
840
|
135deg,
|
850
|
-
|
841
|
+
rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%
|
851
842
|
);
|
852
843
|
|
853
844
|
background: -o-linear-gradient(
|
854
845
|
135deg,
|
855
|
-
|
846
|
+
rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%
|
856
847
|
);
|
857
848
|
|
858
|
-
|
849
|
+
background-color: var(--emfe-w-color-primary, #D0046C);
|
850
|
+
width: 280px;
|
859
851
|
color: #fff;
|
860
852
|
|
861
853
|
-webkit-animation: bar-animation 2s linear;
|
@@ -866,7 +858,7 @@
|
|
866
858
|
background-position: 0;
|
867
859
|
}
|
868
860
|
100% {
|
869
|
-
background-position:
|
861
|
+
background-position: 280px;
|
870
862
|
}
|
871
863
|
}
|
872
864
|
</style>
|
package/src/translations.js
CHANGED
@@ -6,7 +6,7 @@ export const GamePageTranslations = {
|
|
6
6
|
deposit: 'Deposit',
|
7
7
|
playForFun: 'Play for fun',
|
8
8
|
playNow: 'Start now!',
|
9
|
-
breakButton: '
|
9
|
+
breakButton: 'Hold button for 3 seconds to take 24-hours instant lock',
|
10
10
|
}
|
11
11
|
},
|
12
12
|
de: {
|
@@ -16,7 +16,7 @@ export const GamePageTranslations = {
|
|
16
16
|
deposit: 'Einzahlung',
|
17
17
|
playForFun: 'Play for fun',
|
18
18
|
playNow: 'Jetzt starten!',
|
19
|
-
breakButton: '
|
19
|
+
breakButton: 'Für 24 Std. Games Sofortpause, 3 Sekunden drücken',
|
20
20
|
}
|
21
21
|
},
|
22
22
|
it: {
|
@@ -87,7 +87,7 @@ export const GamePageTranslations = {
|
|
87
87
|
deposit: 'Uplata',
|
88
88
|
playForFun: 'Igraj za zabavu',
|
89
89
|
playNow: 'Započnite sada!',
|
90
|
-
breakButton: '
|
90
|
+
breakButton: 'Hold button for 3 seconds to take 24-hours instant lock',
|
91
91
|
}
|
92
92
|
},
|
93
93
|
hu: {
|
@@ -97,7 +97,7 @@ export const GamePageTranslations = {
|
|
97
97
|
deposit: 'Befizetés',
|
98
98
|
playForFun: 'Play for fun',
|
99
99
|
playNow: 'Játsszon most!',
|
100
|
-
breakButton: '
|
100
|
+
breakButton: 'Hold button for 3 seconds to take 24-hours instant lock',
|
101
101
|
}
|
102
102
|
},
|
103
103
|
pl: {
|
@@ -107,7 +107,7 @@ export const GamePageTranslations = {
|
|
107
107
|
deposit: 'Wpłata',
|
108
108
|
playForFun: 'Graj dla zabawy',
|
109
109
|
playNow: 'Rozpocznij teraz!',
|
110
|
-
breakButton: '
|
110
|
+
breakButton: 'Hold button for 3 seconds to take 24-hours instant lock',
|
111
111
|
}
|
112
112
|
},
|
113
113
|
pt: {
|
@@ -127,7 +127,7 @@ export const GamePageTranslations = {
|
|
127
127
|
deposit: 'Vplačilo',
|
128
128
|
playForFun: 'Igrajte za zabavo',
|
129
129
|
playNow: 'Začnite zdaj!',
|
130
|
-
breakButton: '
|
130
|
+
breakButton: 'Hold button for 3 seconds to take 24-hours instant lock',
|
131
131
|
}
|
132
132
|
},
|
133
133
|
sr: {
|
@@ -137,7 +137,7 @@ export const GamePageTranslations = {
|
|
137
137
|
deposit: 'Uplata',
|
138
138
|
playForFun: 'Igraj za zabavu',
|
139
139
|
playNow: 'Započnite sada!',
|
140
|
-
breakButton: '
|
140
|
+
breakButton: 'Hold button for 3 seconds to take 24-hours instant lock',
|
141
141
|
}
|
142
142
|
}
|
143
143
|
};
|