@everymatrix/casino-filter-page 1.2.1 → 1.3.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-filter-page",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"main": "dist/casino-filter-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": "ac0e71f6ea97bb7428ee75f5667c1408cbdc3146"
|
|
40
40
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
export let lang:String = ''; // Language
|
|
12
12
|
export let session:String = ''; // Value for sessionID
|
|
13
13
|
export let userid:String = '';
|
|
14
|
-
export let
|
|
14
|
+
export let translationurl:string = '';
|
|
15
15
|
export let clientstyling:string = '';
|
|
16
16
|
export let clientstylingurl:string = '';
|
|
17
17
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
setupI18n({ withLocale: 'en', translations: {}});
|
|
41
41
|
|
|
42
42
|
const setTranslationUrl = ():void => {
|
|
43
|
-
let url:string =
|
|
43
|
+
let url:string = translationurl;
|
|
44
44
|
|
|
45
45
|
fetch(url).then((res:any) => res.json())
|
|
46
46
|
.then((res) => {
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
|
|
300
300
|
$: clientstyling && setClientStyling();
|
|
301
301
|
$: clientstylingurl && setClientStylingURL();
|
|
302
|
-
$:
|
|
302
|
+
$: translationurl && setTranslationUrl();
|
|
303
303
|
$: clientstyling && customStylingContainer && setClientStyling();
|
|
304
304
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
305
305
|
</script>
|