@golstats/gsc-top-player 1.0.4 → 1.0.6
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/dist/{FilterConditions-55d68355-CV93P9Sw.js → FilterConditions-55d68355-CTSW6o91.js} +1 -1
- package/dist/{FilterField-59a73e38-B4Ful9qZ.js → FilterField-59a73e38-DdD3Ksgf.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-DWTz1TY8.js → FilterSubcategories-a9b32cc9-DAFVxceX.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 +2 -2
- package/dist/{index-E8WjPQaw.js → index-4fXNxjqw.js} +258 -257
- package/package.json +1 -1
- package/src/App.vue +2 -2
- package/src/components/comparative/gsc-header-tops.vue +40 -1
- package/src/components/comparative/gsc-top.vue +1 -1
- package/src/components/comparative/gsc-tops-full.vue +0 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -4,8 +4,8 @@ import { categoriesDefault } from './components/comparative/categories.js'
|
|
|
4
4
|
// import { dummyTopPlayers } from './components/comparative/dummy-top-players.js'
|
|
5
5
|
|
|
6
6
|
// Selecciona una categoría real o la dummy manualmente para pruebas
|
|
7
|
-
|
|
8
|
-
const selectedCategories = categoriesDefault.filter((cat) => cat.id === 2)
|
|
7
|
+
const selectedCategories = [{ id: 0, name: 'Categoria' }]
|
|
8
|
+
//const selectedCategories = categoriesDefault.filter((cat) => cat.id === 2)
|
|
9
9
|
|
|
10
10
|
const gameData = {
|
|
11
11
|
gameId: 90209,
|
|
@@ -819,7 +819,7 @@ body {
|
|
|
819
819
|
|
|
820
820
|
.playerRow {
|
|
821
821
|
height: 80px;
|
|
822
|
-
min-width:
|
|
822
|
+
min-width: 300px;
|
|
823
823
|
}
|
|
824
824
|
|
|
825
825
|
.groupsLeague {
|
|
@@ -1124,6 +1124,25 @@ body {
|
|
|
1124
1124
|
box-sizing: border-box;
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
|
+
@media screen and (max-width: 330px) {
|
|
1128
|
+
/* Estilos para botones más pequeños en pantallas menores a 330px */
|
|
1129
|
+
.containerData :deep(.gsc-button) {
|
|
1130
|
+
height: 20px !important;
|
|
1131
|
+
font-size: 10px !important;
|
|
1132
|
+
padding: 2px 8px !important;
|
|
1133
|
+
min-width: 60px !important;
|
|
1134
|
+
max-width: 120px !important;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.leftContainer :deep(.gsc-button) {
|
|
1138
|
+
height: 20px !important;
|
|
1139
|
+
font-size: 10px !important;
|
|
1140
|
+
padding: 2px 8px !important;
|
|
1141
|
+
min-width: 60px !important;
|
|
1142
|
+
max-width: 120px !important;
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1127
1146
|
@media screen and (max-width: 320px) {
|
|
1128
1147
|
.btnVideosOptionsType1 {
|
|
1129
1148
|
display: flex;
|
|
@@ -1132,6 +1151,26 @@ body {
|
|
|
1132
1151
|
.btnVideosOptions1Games {
|
|
1133
1152
|
display: none;
|
|
1134
1153
|
}
|
|
1154
|
+
|
|
1155
|
+
.toniKroosGames {
|
|
1156
|
+
font-size: 10px;
|
|
1157
|
+
line-height: 12px;
|
|
1158
|
+
word-wrap: break-word;
|
|
1159
|
+
white-space: normal;
|
|
1160
|
+
overflow-wrap: break-word;
|
|
1161
|
+
hyphens: auto;
|
|
1162
|
+
max-width: 100px;
|
|
1163
|
+
min-height: 24px;
|
|
1164
|
+
display: -webkit-box;
|
|
1165
|
+
-webkit-line-clamp: 2;
|
|
1166
|
+
-webkit-box-orient: vertical;
|
|
1167
|
+
overflow: hidden;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.playerNameGames {
|
|
1171
|
+
min-height: 30px;
|
|
1172
|
+
align-items: flex-start;
|
|
1173
|
+
}
|
|
1135
1174
|
}
|
|
1136
1175
|
@media screen and (max-width: 460px) {
|
|
1137
1176
|
.containerInfoGames {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="type == 0 ? 'gsc-top' : 'gsc-top-full'">
|
|
3
3
|
<div ref="myDivRef">
|
|
4
|
+
{{ elementSize.width }}
|
|
4
5
|
<template v-if="type == 0">
|
|
5
6
|
<template v-if="topData.length > 0">
|
|
6
7
|
<!-- Título de la categoría con línea verde -->
|
|
@@ -1119,7 +1120,6 @@ export default {
|
|
|
1119
1120
|
if (this.game.game_status === 1) {
|
|
1120
1121
|
data = await axiosInstance.get(this.url + '/' + this.gameId + '/' + this.category)
|
|
1121
1122
|
} else {
|
|
1122
|
-
console.log('LLEGO ES 2 PRWMATCH')
|
|
1123
1123
|
data = await axiosInstance.get(
|
|
1124
1124
|
this.urlPrematch +
|
|
1125
1125
|
seasonGet +
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<div ref="myDivRefTopsFull" style="width: 100%; max-width: 100%; box-sizing: border-box">
|
|
3
3
|
<template v-for="(category, index) in categoryView" :key="index">
|
|
4
4
|
<div :class="toniKroosWrapperClass">
|
|
5
|
-
{{ game }}
|
|
6
5
|
<GSCTopCategory
|
|
7
6
|
:is-widget="isWidget"
|
|
8
7
|
:team-widget="teamWidget"
|