@everymatrix/player-account-self-exclusion 0.0.365 → 0.0.368
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-self-exclusion",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.368",
|
|
4
4
|
"main": "dist/player-account-self-exclusion",
|
|
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": "8de3cc787cc97aec99916dfedb01ec69ac55ba98"
|
|
41
41
|
}
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
// Send self exclusion period and date
|
|
58
|
-
const saveSelfExclusion = () => {
|
|
58
|
+
const saveSelfExclusion = (e):void => {
|
|
59
|
+
e.preventDefault();
|
|
59
60
|
setSelfExclusionPeriod();
|
|
60
61
|
|
|
61
62
|
window.postMessage({
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
$: lang && initialLoad();
|
|
93
94
|
</script>
|
|
94
95
|
|
|
95
|
-
<
|
|
96
|
+
<form class="SelfExclusionWrapper {isMobile ? 'SelfExclusionWrapperMobile' : ''}" part="SelfExclusionWrapper {isMobile ? 'SelfExclusionWrapperMobile' : ''}">
|
|
96
97
|
{#if isMobile}
|
|
97
98
|
<div class="MenuReturnButton" part="MenuReturnButton" on:click={() => toggleScreen()}>
|
|
98
99
|
<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)">
|
|
@@ -130,9 +131,9 @@
|
|
|
130
131
|
{/if}
|
|
131
132
|
</div>
|
|
132
133
|
<div class="SelfExclusionActionButtons {isMobile ? 'SelfExclusionActionButtonsMobile' : ''}" part="SelfExclusionActionButtons {isMobile ? 'SelfExclusionActionButtonsMobile' : ''}">
|
|
133
|
-
<button class="SelfExclusionSave" part="SelfExclusionSave" on:click={() => saveSelfExclusion()}>{$_('selfExclusion.save')}</button>
|
|
134
|
+
<button class="SelfExclusionSave" part="SelfExclusionSave" on:click={(e) => saveSelfExclusion(e)}>{$_('selfExclusion.save')}</button>
|
|
134
135
|
</div>
|
|
135
|
-
</
|
|
136
|
+
</form>
|
|
136
137
|
|
|
137
138
|
<style lang="scss">
|
|
138
139
|
|