@golstats/gsc-top-player 1.0.7 → 1.0.8
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-DgmObXIt.js} +1 -1
- package/dist/{FilterField-59a73e38-C85AzksG.js → FilterField-59a73e38-09cJ-DRW.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-B7ERo60D.js → FilterSubcategories-a9b32cc9-DNpw7zPl.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-BUTX2R4X.js} +964 -960
- 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 +1 -1
- 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: 60px !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: 60px !important;
|
|
619
619
|
flex-direction: row;
|
|
620
620
|
align-items: center;
|
|
621
621
|
justify-content: flex-start;
|
|
@@ -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>
|