@golstats/gsc-top-player 1.0.11 → 1.0.13

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.
Files changed (84) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +53 -53
  3. package/dist/{FilterConditions-55d68355-DMqzcKBO.js → FilterConditions-55d68355-icU5o85T.js} +1 -1
  4. package/dist/{FilterField-59a73e38-CNaE03Ge.js → FilterField-59a73e38-BOM_57PM.js} +1 -1
  5. package/dist/{FilterSubcategories-a9b32cc9-_h5FCZ4r.js → FilterSubcategories-a9b32cc9-yXOBLwEK.js} +1 -1
  6. package/dist/atajada.svg +56 -56
  7. package/dist/backarrow.svg +3 -3
  8. package/dist/contorno-escudo.svg +3 -3
  9. package/dist/css/fonts.css +91 -91
  10. package/dist/fin-del-partido.svg +43 -43
  11. package/dist/fuera-de-lugar.svg +57 -57
  12. package/dist/gol.svg +48 -48
  13. package/dist/group-427321178.svg +8 -8
  14. package/dist/group-427321179.svg +5 -5
  15. package/dist/group-427321501.svg +5 -5
  16. package/dist/gsc-top-player.css +1 -1
  17. package/dist/gsc-top-player.es.js +1 -1
  18. package/dist/gsc-top-player.umd.js +9 -9
  19. package/dist/icn-arrow-expand.svg +3 -3
  20. package/dist/icn-cambio.svg +26 -26
  21. package/dist/icn-expand-arrow.svg +3 -3
  22. package/dist/icn-expand-arrow1.svg +3 -3
  23. package/dist/icn-falta.svg +42 -42
  24. package/dist/icn-filter.svg +12 -12
  25. package/dist/icn-filter1.svg +12 -12
  26. package/dist/icn-filter2.svg +12 -12
  27. package/dist/icn-play.svg +10 -10
  28. package/dist/icn-tarjeta-amarilla.svg +4 -4
  29. package/dist/icn-tarjeta-roja.svg +4 -4
  30. package/dist/icn-tiro-a-porteria.svg +36 -36
  31. package/dist/icn-tiros-de-esquina.svg +54 -54
  32. package/dist/images/events/logo-fusionado.svg +37 -37
  33. package/dist/{index--DcThtAY.js → index-DP7G7HpQ.js} +940 -940
  34. package/dist/inicia-el-partido.svg +45 -45
  35. package/dist/jugada-peligrosa.svg +90 -90
  36. package/dist/next-arrow.svg +3 -3
  37. package/dist/nextarrow.svg +3 -3
  38. package/dist/penal-fallado.svg +194 -194
  39. package/dist/penal-marcado.svg +189 -189
  40. package/dist/play-icn.svg +3 -3
  41. package/dist/public/images/canchaRPH.svg +30 -30
  42. package/dist/public/images/events/atajada.svg +56 -56
  43. package/dist/public/images/events/cambio.svg +26 -26
  44. package/dist/public/images/events/falta.svg +42 -42
  45. package/dist/public/images/events/fin-del-partido.svg +43 -43
  46. package/dist/public/images/events/fuera-de-lugar.svg +57 -57
  47. package/dist/public/images/events/gol.svg +48 -48
  48. package/dist/public/images/events/icn-cambio.svg +6 -6
  49. package/dist/public/images/events/icn-falta.svg +4 -4
  50. package/dist/public/images/events/icn-play.svg +3 -3
  51. package/dist/public/images/events/icn-tarjeta-amarilla.svg +4 -4
  52. package/dist/public/images/events/icn-tarjeta-roja.svg +4 -4
  53. package/dist/public/images/events/icn-tiro-a-porteria.svg +36 -36
  54. package/dist/public/images/events/icn-tiros-de-esquina.svg +18 -18
  55. package/dist/public/images/events/inicia-el-partido.svg +45 -45
  56. package/dist/public/images/events/jugada-peligrosa.svg +90 -90
  57. package/dist/public/images/events/penal-fallado.svg +194 -194
  58. package/dist/public/images/events/penal-marcado.svg +189 -189
  59. package/dist/public/images/events/tiempo-agregado.svg +74 -74
  60. package/dist/public/images/events/tiro-a-porteria.svg +80 -80
  61. package/dist/public/images/events/tiro-de-esquina.svg +54 -54
  62. package/dist/public/images/events/var.svg +30 -30
  63. package/dist/shape.svg +3 -3
  64. package/dist/styles.css +1176 -1176
  65. package/dist/tiempo-agregado.svg +74 -74
  66. package/dist/tiro-a-porteria.svg +80 -80
  67. package/dist/var.svg +30 -30
  68. package/package.json +1 -1
  69. package/src/components/comparative/categories.js +137 -137
  70. package/src/components/comparative/composable-filters.js +10 -10
  71. package/src/components/comparative/computedProperties.js +327 -327
  72. package/src/components/comparative/dummy-top-players.js +122 -122
  73. package/src/components/comparative/filtersTypes.js +117 -117
  74. package/src/components/comparative/gsc-button.vue +198 -198
  75. package/src/components/comparative/gsc-expanded-info-player.vue +710 -710
  76. package/src/components/comparative/gsc-head-titles.vue +1482 -1482
  77. package/src/components/comparative/gsc-header-tops.vue +1418 -1418
  78. package/src/components/comparative/gsc-top.vue +1511 -1511
  79. package/src/components/comparative/gsc-tops-full.vue +2473 -2473
  80. package/src/components/comparative/nationalities-catalog.js +233 -233
  81. package/src/components/comparative/playsTypes.js +142 -142
  82. package/src/components/comparative/useElementSize.js +23 -23
  83. package/src/components/gsc-top-player.vue +91 -91
  84. package/src/index.js +5 -5
@@ -1,137 +1,137 @@
1
- export const categoriesDefault = [
2
- {
3
- id: 1,
4
- name: 'Goles',
5
- isSelected: false,
6
- },
7
- {
8
- id: 2,
9
- name: 'Pases acertados',
10
- isSelected: false,
11
- },
12
- {
13
- id: 23,
14
- name: 'Tiros de Esquina',
15
- isSelected: false,
16
- },
17
- {
18
- id: 3,
19
- name: 'Balones recuperados en disputa',
20
- isSelected: false,
21
- },
22
- {
23
- id: 4,
24
- name: 'Asistencias',
25
- isSelected: false,
26
- },
27
- {
28
- id: 5,
29
- name: 'Participaciones en gol',
30
- isSelected: false,
31
- },
32
- {
33
- id: 6,
34
- name: 'Tiros a gol',
35
- isSelected: false,
36
- },
37
- {
38
- id: 7,
39
- name: 'Tiros a gol que llegaron a la portería',
40
- isSelected: false,
41
- },
42
- {
43
- id: 8,
44
- name: 'Cabeceos en área rival',
45
- isSelected: false,
46
- },
47
- {
48
- id: 9,
49
- name: 'Cabeceos en área propia',
50
- isSelected: false,
51
- },
52
- {
53
- id: 10,
54
- name: 'Centros',
55
- isSelected: false,
56
- },
57
- {
58
- id: 11,
59
- name: 'Centros acertados',
60
- isSelected: false,
61
- },
62
- {
63
- id: 12,
64
- name: '1vs1 exitosos ofensivos',
65
- isSelected: false,
66
- },
67
- {
68
- id: 13,
69
- name: '1vs1 exitosos ofensivos que terminaron en gol',
70
- isSelected: false,
71
- },
72
- {
73
- id: 14,
74
- name: '1vs1 defensivos exitoso',
75
- isSelected: false,
76
- },
77
- {
78
- id: 15,
79
- name: 'Rechaces',
80
- isSelected: false,
81
- },
82
- {
83
- id: 16,
84
- name: 'Balones ganados en área propia',
85
- isSelected: false,
86
- },
87
- {
88
- id: 17,
89
- name: 'Balones ganados en área rival',
90
- isSelected: false,
91
- },
92
- {
93
- id: 18,
94
- name: 'Faltas cometidas',
95
- isSelected: false,
96
- },
97
- {
98
- id: 19,
99
- name: 'Faltas recibidas',
100
- isSelected: false,
101
- },
102
- {
103
- id: 20,
104
- name: 'Tarjetas amarillas',
105
- isSelected: false,
106
- },
107
- {
108
- id: 21,
109
- name: 'Tarjetas rojas',
110
- isSelected: false,
111
- },
112
- {
113
- id: 22,
114
- name: 'Atajadas',
115
- isSelected: false,
116
- },
117
- ]
118
-
119
- // Función para obtener categorías por ID
120
- export const getCategoryById = (id) => {
121
- return categoriesDefault.find((category) => category.id === id)
122
- }
123
-
124
- // Función para obtener categorías por nombre
125
- export const getCategoryByName = (name) => {
126
- return categoriesDefault.find((category) => category.name === name)
127
- }
128
-
129
- // Función para obtener solo los nombres de las categorías
130
- export const getCategoryNames = () => {
131
- return categoriesDefault.map((category) => category.name)
132
- }
133
-
134
- // Función para obtener solo los IDs de las categorías
135
- export const getCategoryIds = () => {
136
- return categoriesDefault.map((category) => category.id)
137
- }
1
+ export const categoriesDefault = [
2
+ {
3
+ id: 1,
4
+ name: 'Goles',
5
+ isSelected: false,
6
+ },
7
+ {
8
+ id: 2,
9
+ name: 'Pases acertados',
10
+ isSelected: false,
11
+ },
12
+ {
13
+ id: 23,
14
+ name: 'Tiros de Esquina',
15
+ isSelected: false,
16
+ },
17
+ {
18
+ id: 3,
19
+ name: 'Balones recuperados en disputa',
20
+ isSelected: false,
21
+ },
22
+ {
23
+ id: 4,
24
+ name: 'Asistencias',
25
+ isSelected: false,
26
+ },
27
+ {
28
+ id: 5,
29
+ name: 'Participaciones en gol',
30
+ isSelected: false,
31
+ },
32
+ {
33
+ id: 6,
34
+ name: 'Tiros a gol',
35
+ isSelected: false,
36
+ },
37
+ {
38
+ id: 7,
39
+ name: 'Tiros a gol que llegaron a la portería',
40
+ isSelected: false,
41
+ },
42
+ {
43
+ id: 8,
44
+ name: 'Cabeceos en área rival',
45
+ isSelected: false,
46
+ },
47
+ {
48
+ id: 9,
49
+ name: 'Cabeceos en área propia',
50
+ isSelected: false,
51
+ },
52
+ {
53
+ id: 10,
54
+ name: 'Centros',
55
+ isSelected: false,
56
+ },
57
+ {
58
+ id: 11,
59
+ name: 'Centros acertados',
60
+ isSelected: false,
61
+ },
62
+ {
63
+ id: 12,
64
+ name: '1vs1 exitosos ofensivos',
65
+ isSelected: false,
66
+ },
67
+ {
68
+ id: 13,
69
+ name: '1vs1 exitosos ofensivos que terminaron en gol',
70
+ isSelected: false,
71
+ },
72
+ {
73
+ id: 14,
74
+ name: '1vs1 defensivos exitoso',
75
+ isSelected: false,
76
+ },
77
+ {
78
+ id: 15,
79
+ name: 'Rechaces',
80
+ isSelected: false,
81
+ },
82
+ {
83
+ id: 16,
84
+ name: 'Balones ganados en área propia',
85
+ isSelected: false,
86
+ },
87
+ {
88
+ id: 17,
89
+ name: 'Balones ganados en área rival',
90
+ isSelected: false,
91
+ },
92
+ {
93
+ id: 18,
94
+ name: 'Faltas cometidas',
95
+ isSelected: false,
96
+ },
97
+ {
98
+ id: 19,
99
+ name: 'Faltas recibidas',
100
+ isSelected: false,
101
+ },
102
+ {
103
+ id: 20,
104
+ name: 'Tarjetas amarillas',
105
+ isSelected: false,
106
+ },
107
+ {
108
+ id: 21,
109
+ name: 'Tarjetas rojas',
110
+ isSelected: false,
111
+ },
112
+ {
113
+ id: 22,
114
+ name: 'Atajadas',
115
+ isSelected: false,
116
+ },
117
+ ]
118
+
119
+ // Función para obtener categorías por ID
120
+ export const getCategoryById = (id) => {
121
+ return categoriesDefault.find((category) => category.id === id)
122
+ }
123
+
124
+ // Función para obtener categorías por nombre
125
+ export const getCategoryByName = (name) => {
126
+ return categoriesDefault.find((category) => category.name === name)
127
+ }
128
+
129
+ // Función para obtener solo los nombres de las categorías
130
+ export const getCategoryNames = () => {
131
+ return categoriesDefault.map((category) => category.name)
132
+ }
133
+
134
+ // Función para obtener solo los IDs de las categorías
135
+ export const getCategoryIds = () => {
136
+ return categoriesDefault.map((category) => category.id)
137
+ }
@@ -1,10 +1,10 @@
1
- export function getButtonFilterProps() {
2
- return {
3
- backgroundColor: '#2e3b46',
4
- borderColor: 'rgba(255, 255, 255, 0.20)',
5
- infoBorderColor: 'rgba(255, 255, 255, 0.20)',
6
- height: '40px',
7
- padding: '5px 12px',
8
- textFontFamily: "'Poppins-Regular'"
9
- }
10
- }
1
+ export function getButtonFilterProps() {
2
+ return {
3
+ backgroundColor: '#2e3b46',
4
+ borderColor: 'rgba(255, 255, 255, 0.20)',
5
+ infoBorderColor: 'rgba(255, 255, 255, 0.20)',
6
+ height: '40px',
7
+ padding: '5px 12px',
8
+ textFontFamily: "'Poppins-Regular'"
9
+ }
10
+ }