@everymatrix/casino-tournaments-table 1.2.1 → 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-tournaments-table",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"main": "dist/casino-tournaments-table.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
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
export let clientstyling:string = '';
|
|
18
18
|
export let clientstylingurl:string = '';
|
|
19
|
-
export let
|
|
19
|
+
export let translationurl:string = '';
|
|
20
20
|
|
|
21
21
|
let customStylingContainer: HTMLElement;
|
|
22
22
|
let displayNone:boolean = false;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
let tooltipColSpan:number;
|
|
37
37
|
|
|
38
38
|
const setTranslationUrl = ():void => {
|
|
39
|
-
let url:string =
|
|
39
|
+
let url:string = translationurl;
|
|
40
40
|
|
|
41
41
|
fetch(url).then((res:any) => res.json())
|
|
42
42
|
.then((res) => {
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
|
|
234
234
|
$: customStylingContainer && clientstyling && setClientStyling();
|
|
235
235
|
$: customStylingContainer && clientstylingurl && setClientStylingURL();
|
|
236
|
-
$:
|
|
236
|
+
$: translationurl && setTranslationUrl();
|
|
237
237
|
$: display = sortColumn && sortDirection ? sortData() : [...data];
|
|
238
238
|
$: sort = column === sortColumn ? sortDirection : null;
|
|
239
239
|
|
|
@@ -558,7 +558,6 @@
|
|
|
558
558
|
|
|
559
559
|
.TournamentsTable {
|
|
560
560
|
width: 100%;
|
|
561
|
-
min-width: 600px;
|
|
562
561
|
display: flex;
|
|
563
562
|
justify-content: space-between;
|
|
564
563
|
text-align: center;
|
|
@@ -626,7 +625,6 @@
|
|
|
626
625
|
|
|
627
626
|
table {
|
|
628
627
|
width: 100%;
|
|
629
|
-
min-width: 600px;
|
|
630
628
|
border-spacing: 0;
|
|
631
629
|
position: relative;
|
|
632
630
|
overflow: auto;
|