@everymatrix/casino-header-controller 1.23.0 → 1.24.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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-header-controller",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.24.0",
|
4
4
|
"main": "dist/casino-header-controller.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -37,5 +37,5 @@
|
|
37
37
|
"publishConfig": {
|
38
38
|
"access": "public"
|
39
39
|
},
|
40
|
-
"gitHead": "
|
40
|
+
"gitHead": "88308bab2d4819ec71d025befe5d4165e8c092ca"
|
41
41
|
}
|
@@ -188,16 +188,15 @@
|
|
188
188
|
case 'OpenShortCashier':
|
189
189
|
menuAction('deposit');
|
190
190
|
break;
|
191
|
+
|
192
|
+
case 'CloseShortCashier':
|
193
|
+
closeShortCashier();
|
194
|
+
break;
|
191
195
|
|
192
196
|
case 'RequestHeaderHeight':
|
193
197
|
window.postMessage({ type: 'HeaderHeight', headerHeight: customStylingContainer.clientHeight }, window.location.href);
|
194
198
|
break;
|
195
199
|
}
|
196
|
-
switch(e.data.redirect) {
|
197
|
-
case 'mm-wm-hc-init-deposit-quick':
|
198
|
-
closeShortCashier();
|
199
|
-
break;
|
200
|
-
}
|
201
200
|
}
|
202
201
|
}
|
203
202
|
|
@@ -209,7 +208,7 @@
|
|
209
208
|
const closeShortCashier = (event?) => {
|
210
209
|
shortCashierActivated = false;
|
211
210
|
window.postMessage({ type: 'EnableScroll' }, window.location.href);
|
212
|
-
event
|
211
|
+
event?.stopPropagation();
|
213
212
|
}
|
214
213
|
|
215
214
|
const createCMSUrls = () => {
|
@@ -834,7 +833,6 @@
|
|
834
833
|
top: 14px;
|
835
834
|
left: 50%;
|
836
835
|
transform: translateX(-60%);
|
837
|
-
padding: 10px;
|
838
836
|
box-shadow: 0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));
|
839
837
|
border-radius: 5px;
|
840
838
|
z-index: 17;
|