@golstats/gsc-top-player 1.0.7 → 1.0.9
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/README.md +36 -120
- package/dist/{FilterConditions-55d68355-BUvCA8gG.js → FilterConditions-55d68355-C06ae5UH.js} +1 -1
- package/dist/{FilterField-59a73e38-C85AzksG.js → FilterField-59a73e38-CwFxdon3.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-B7ERo60D.js → FilterSubcategories-a9b32cc9-Dfm_NNj7.js} +1 -1
- package/dist/gsc-top-player.css +1 -1
- package/dist/gsc-top-player.es.js +1 -1
- package/dist/gsc-top-player.umd.js +11 -11
- package/dist/{index-DyFLI-xL.js → index-DQaQpguj.js} +1196 -1192
- package/package.json +1 -1
- package/src/App.vue +15 -7
- package/src/components/comparative/gsc-header-tops.vue +256 -230
- package/src/components/comparative/gsc-row.vue +2 -2
- package/src/components/comparative/gsc-top.vue +2 -3
- package/src/components/comparative/gsc-tops-full.vue +1 -1
- package/src/components/gsc-top-player.vue +6 -3
|
@@ -599,7 +599,7 @@ export default {
|
|
|
599
599
|
.rowwPlayer420Games {
|
|
600
600
|
align-self: stretch;
|
|
601
601
|
display: flex;
|
|
602
|
-
height:
|
|
602
|
+
height: 59px !important;
|
|
603
603
|
flex-direction: row;
|
|
604
604
|
align-items: center;
|
|
605
605
|
justify-content: flex-start;
|
|
@@ -615,7 +615,7 @@ export default {
|
|
|
615
615
|
.rowwPlayer460Games {
|
|
616
616
|
align-self: stretch;
|
|
617
617
|
display: flex;
|
|
618
|
-
height:
|
|
618
|
+
height: 59px !important;
|
|
619
619
|
flex-direction: row;
|
|
620
620
|
align-items: center;
|
|
621
621
|
justify-content: flex-start;
|
|
@@ -450,7 +450,7 @@ export default {
|
|
|
450
450
|
computed: {
|
|
451
451
|
topData() {
|
|
452
452
|
// Si hay dummyData, úsala directamente
|
|
453
|
-
if (this.dummyData
|
|
453
|
+
if (this.dummyData) {
|
|
454
454
|
return [this.dummyData]
|
|
455
455
|
}
|
|
456
456
|
this.changeStateLoading(true)
|
|
@@ -1428,9 +1428,8 @@ export default {
|
|
|
1428
1428
|
padding: 0px 0px 2px;
|
|
1429
1429
|
align-items: center;
|
|
1430
1430
|
justify-content: flex-end;
|
|
1431
|
-
z-index: 1;
|
|
1432
1431
|
text-align: center;
|
|
1433
|
-
font-size:
|
|
1432
|
+
font-size: 11px;
|
|
1434
1433
|
font-family: Montserrat-SemiBold;
|
|
1435
1434
|
height: 33px;
|
|
1436
1435
|
display: flex;
|
|
@@ -62,11 +62,14 @@ const props = defineProps({
|
|
|
62
62
|
type: Number,
|
|
63
63
|
default: 5,
|
|
64
64
|
},
|
|
65
|
+
useDummyData: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: true,
|
|
68
|
+
},
|
|
65
69
|
})
|
|
66
70
|
|
|
67
|
-
// Si
|
|
68
|
-
const dummyData =
|
|
69
|
-
props.categoryView.length === 1 && props.categoryView[0].id === 0 ? dummyTopPlayers : null
|
|
71
|
+
// Si useDummyData es true, usa datos dummy, si es false busca datos reales de la categoría
|
|
72
|
+
const dummyData = props.useDummyData ? dummyTopPlayers : null
|
|
70
73
|
</script>
|
|
71
74
|
|
|
72
75
|
<style scoped>
|