@everymatrix/casino-footer-v2 1.2.0 → 1.2.2
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-footer-v2",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.2",
|
4
4
|
"main": "dist/casino-footer-v2.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": "02dbae5b4d167acdb57c72905b756343a318870a"
|
40
40
|
}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
export let env:string = '';
|
16
16
|
export let clientstyling:string = '';
|
17
17
|
export let clientstylingurl:string = '';
|
18
|
-
export let
|
18
|
+
export let translationurl:string = '';
|
19
19
|
// Clock exposed attributes - If the clock is enabled, all attributes should be given a value, otherwise they can be ignored safely
|
20
20
|
export let clockenabled:string = ''; // "true" to enable, anything to disable
|
21
21
|
export let clocksecondsenabled:string = ''; // "true" to display seconds in our default format and to refresh the clock every 1000ms
|
@@ -81,7 +81,7 @@
|
|
81
81
|
setupI18n({ withLocale: 'en', translations: {}});
|
82
82
|
|
83
83
|
const setTranslationUrl = ():void => {
|
84
|
-
let url:string =
|
84
|
+
let url:string = translationurl;
|
85
85
|
|
86
86
|
fetch(url).then((res:any) => res.json())
|
87
87
|
.then((res) => {
|
@@ -342,7 +342,7 @@
|
|
342
342
|
$: languageslist && setLanguagesArray();
|
343
343
|
$: session && userid && userendpoint && setSession();
|
344
344
|
$: endpoint && lang && env && getCmsData();
|
345
|
-
$:
|
345
|
+
$: translationurl && setTranslationUrl();
|
346
346
|
$: clockenabled !== 'false' && clocksecondsenabled && clockcustomformat && clockDisplay();
|
347
347
|
$: clockenabled !== 'false' && clocksecondsenabled && (refreshRate = clocksecondsenabled == "true" ? 1000 : 60000) && refreshClock();
|
348
348
|
$: lang && (selectedLanguage = lang) && languages && (languages.length > 0) && updateLanguageDisplayName();
|
@@ -644,6 +644,7 @@
|
|
644
644
|
&Side {
|
645
645
|
position: relative;
|
646
646
|
margin-left: 14px;
|
647
|
+
margin-top: 66px;
|
647
648
|
}
|
648
649
|
&Grid {
|
649
650
|
padding: 0;
|