@golstats/gsc-reports 1.0.66 → 1.0.67

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 (30) hide show
  1. package/README.md +2 -2
  2. package/dist/{FilterConditions-55d68355-DMqzcKBO-BmIhhD-B-BGQIEaLr.js → FilterConditions-55d68355-DMqzcKBO-BqAxDL_w-t5hljoND.js} +1 -1
  3. package/dist/{FilterField-59a73e38-CNaE03Ge-BTX2xPpF-D9vcJGsy.js → FilterField-59a73e38-CNaE03Ge-Bv7oIztz-KtUWbrT3.js} +1 -1
  4. package/dist/{FilterSubcategories-a9b32cc9-_h5FCZ4r-DZeIIQAW-CLBX_KE1.js → FilterSubcategories-a9b32cc9-_h5FCZ4r-h8kv1BbC-CHa3yKm3.js} +1 -1
  5. package/dist/css/fonts.css +83 -83
  6. package/dist/gsc-reports.css +1 -1
  7. package/dist/gsc-reports.es.js +1 -1
  8. package/dist/gsc-reports.umd.js +7 -7
  9. package/dist/{index-Bt6tyu0M.js → index-BNb6LArS.js} +28 -29
  10. package/package.json +2 -2
  11. package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -246
  12. package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -249
  13. package/src/components/elementsTemplates/ModalRenameReporte.vue +330 -330
  14. package/src/components/elementsTemplates/ModalRenameTemplate.vue +337 -337
  15. package/src/components/elementsTemplates/ModalSoloEscritorio.vue +83 -83
  16. package/src/components/elementsTemplates/ModalduplicateTemplate.vue +300 -300
  17. package/src/components/elementsTemplates/TooltipReportOptions.vue +97 -97
  18. package/src/components/elementsTemplates/TooltipTemplateOptions.vue +168 -168
  19. package/src/components/filters.vue +935 -935
  20. package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
  21. package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
  22. package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +441 -441
  23. package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +440 -440
  24. package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +232 -232
  25. package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +231 -231
  26. package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
  27. package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
  28. package/src/index.js +4 -4
  29. package/src/types.d.ts +45 -45
  30. package/src/utils/dateUtils.js +52 -52
@@ -1,232 +1,232 @@
1
- <template>
2
- <div class="prematch-bg">
3
- <!-- Escudos de fondo -->
4
- <div class="background-shields">
5
- <div class="shield-left">
6
- <img
7
- :src="
8
- 'https://golstatsimages.blob.core.windows.net/teams-150/' +
9
- props.report.game.home_team +
10
- '.png'
11
- "
12
- alt="Escudo local"
13
- />
14
- </div>
15
- <div class="shield-right">
16
- <img
17
- :src="
18
- 'https://golstatsimages.blob.core.windows.net/teams-150/' +
19
- props.report.game.visiting_team +
20
- '.png'
21
- "
22
- alt="Escudo visitante"
23
- />
24
- </div>
25
- </div>
26
-
27
- <div class="title">Análisis <span class="highlight">Prematch</span></div>
28
- <div class="subtitle">
29
- <span class="jornada">{{ traducirJornada(props.report.game.matchday_name) }}</span>
30
- <span class="fecha"> - {{ formatDate(props.report.game.date_time_utc) }}</span>
31
- </div>
32
- <div class="teams-row">
33
- <div class="team team-local">
34
- <span class="escudo-svg">
35
- <img
36
- width="55px"
37
- :src="
38
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
39
- props.report.game.home_team +
40
- '.png'
41
- "
42
- />
43
- </span>
44
- <span class="team-name">{{ props.report.game.home_team_acronym }}</span>
45
- </div>
46
- <div class="team team-visitor">
47
- <span class="escudo-svg">
48
- <img
49
- width="55px"
50
- :src="
51
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
52
- props.report.game.visiting_team +
53
- '.png'
54
- "
55
- />
56
- </span>
57
- <span class="team-name">{{ props.report.game.visiting_team_acronym }}</span>
58
- </div>
59
- </div>
60
- </div>
61
- </template>
62
-
63
- <script setup>
64
- import { formatDate } from '../../utils/dateUtils.js'
65
-
66
- function traducirJornada(jornada) {
67
- if (!jornada) return ''
68
- return jornada
69
- .replace('Matchday', 'J')
70
- .replace('de Final', '')
71
- .replace('Playoffs 1', 'CFI')
72
- .replace('Playoffs 2', 'CFV')
73
- .replace('Playoffs 3', 'SI')
74
- .replace('Playoffs 4', 'SV')
75
- .replace('Playoffs 5', 'FI')
76
- .replace('Playoffs 6', 'FV')
77
- }
78
-
79
- // Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
80
- const props = defineProps({
81
- report: {
82
- type: Object,
83
- default: () => ({}),
84
- },
85
- })
86
- </script>
87
-
88
- <style scoped>
89
- .prematch-bg {
90
- width: 100%;
91
- height: 222px;
92
- /* height: 100vh; */
93
- background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
94
- background-size: cover;
95
- background-repeat: no-repeat;
96
- display: flex;
97
- flex-direction: column;
98
- justify-content: center;
99
- align-items: center;
100
- position: relative;
101
- overflow: hidden;
102
- }
103
-
104
- .background-shields {
105
- position: absolute;
106
- top: 0;
107
- left: 0;
108
- width: 100%;
109
- height: 100%;
110
- pointer-events: none;
111
- z-index: 1;
112
- }
113
-
114
- .shield-left {
115
- position: absolute;
116
- left: -80px;
117
- top: 50%;
118
- transform: translateY(-50%);
119
- opacity: 0.09;
120
- }
121
-
122
- .shield-left img {
123
- width: 170px;
124
- object-fit: contain;
125
- }
126
-
127
- .shield-right {
128
- position: absolute;
129
- right: -80px;
130
- top: 50%;
131
- transform: translateY(-50%);
132
- opacity: 0.09;
133
- }
134
-
135
- .shield-right img {
136
- width: 170px;
137
- object-fit: contain;
138
- }
139
-
140
- .header {
141
- padding: 24px 32px;
142
- }
143
-
144
- .logo {
145
- height: 40px;
146
- }
147
-
148
- .main-content {
149
- display: flex;
150
- flex-direction: column;
151
- align-items: center;
152
- /* Elimina el margin-top para centrar verticalmente */
153
- }
154
-
155
- .title {
156
- font-size: 0.8rem;
157
- color: #fff;
158
- margin-top: -10px;
159
- font-family: Poppins-Regular;
160
- position: relative;
161
- z-index: 2;
162
- }
163
-
164
- .highlight {
165
- font-family: Poppins-Bold;
166
- color: #fff;
167
- }
168
-
169
- .subtitle {
170
- font-family: Poppins-Regular;
171
- margin-top: -8px;
172
- font-size: 1.1rem;
173
- color: #e0e0e0;
174
- position: relative;
175
- z-index: 2;
176
- }
177
-
178
- .jornada {
179
- font-family: Poppins-Medium;
180
- color: #fff;
181
- font-size: 0.4rem;
182
- line-height: 2.2;
183
- letter-spacing: 0.2px;
184
- opacity: 0.8;
185
- }
186
-
187
- .fecha {
188
- font-family: Poppins-Regular;
189
- color: #e0e0e0;
190
- opacity: 0.8;
191
- line-height: 2.2;
192
- letter-spacing: 0.2px;
193
- font-size: 0.4rem;
194
- }
195
-
196
- .teams-row {
197
- display: flex;
198
- justify-content: center;
199
- align-items: center;
200
- gap: 30px;
201
- margin-top: 20px;
202
- position: relative;
203
- z-index: 2;
204
- }
205
-
206
- .team {
207
- display: flex;
208
- flex-direction: row;
209
- align-items: center;
210
- gap: 12px;
211
- }
212
-
213
- .team-visitor {
214
- flex-direction: row-reverse;
215
- }
216
-
217
- .escudo-svg {
218
- display: flex;
219
- justify-content: center;
220
- align-items: center;
221
- width: 55px;
222
- height: 55px;
223
- }
224
-
225
- .team-name {
226
- font-size: 1rem;
227
- font-family: Poppins-bold;
228
- font-weight: 700;
229
- color: #fff;
230
- letter-spacing: 2px;
231
- }
232
- </style>
1
+ <template>
2
+ <div class="prematch-bg">
3
+ <!-- Escudos de fondo -->
4
+ <div class="background-shields">
5
+ <div class="shield-left">
6
+ <img
7
+ :src="
8
+ 'https://golstatsimages.blob.core.windows.net/teams-150/' +
9
+ props.report.game.home_team +
10
+ '.png'
11
+ "
12
+ alt="Escudo local"
13
+ />
14
+ </div>
15
+ <div class="shield-right">
16
+ <img
17
+ :src="
18
+ 'https://golstatsimages.blob.core.windows.net/teams-150/' +
19
+ props.report.game.visiting_team +
20
+ '.png'
21
+ "
22
+ alt="Escudo visitante"
23
+ />
24
+ </div>
25
+ </div>
26
+
27
+ <div class="title">Análisis <span class="highlight">Prematch</span></div>
28
+ <div class="subtitle">
29
+ <span class="jornada">{{ traducirJornada(props.report.game.matchday_name) }}</span>
30
+ <span class="fecha"> - {{ formatDate(props.report.game.date_time_utc) }}</span>
31
+ </div>
32
+ <div class="teams-row">
33
+ <div class="team team-local">
34
+ <span class="escudo-svg">
35
+ <img
36
+ width="55px"
37
+ :src="
38
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
39
+ props.report.game.home_team +
40
+ '.png'
41
+ "
42
+ />
43
+ </span>
44
+ <span class="team-name">{{ props.report.game.home_team_acronym }}</span>
45
+ </div>
46
+ <div class="team team-visitor">
47
+ <span class="escudo-svg">
48
+ <img
49
+ width="55px"
50
+ :src="
51
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
52
+ props.report.game.visiting_team +
53
+ '.png'
54
+ "
55
+ />
56
+ </span>
57
+ <span class="team-name">{{ props.report.game.visiting_team_acronym }}</span>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </template>
62
+
63
+ <script setup>
64
+ import { formatDate } from '../../utils/dateUtils.js'
65
+
66
+ function traducirJornada(jornada) {
67
+ if (!jornada) return ''
68
+ return jornada
69
+ .replace('Matchday', 'J')
70
+ .replace('de Final', '')
71
+ .replace('Playoffs 1', 'CFI')
72
+ .replace('Playoffs 2', 'CFV')
73
+ .replace('Playoffs 3', 'SI')
74
+ .replace('Playoffs 4', 'SV')
75
+ .replace('Playoffs 5', 'FI')
76
+ .replace('Playoffs 6', 'FV')
77
+ }
78
+
79
+ // Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
80
+ const props = defineProps({
81
+ report: {
82
+ type: Object,
83
+ default: () => ({}),
84
+ },
85
+ })
86
+ </script>
87
+
88
+ <style scoped>
89
+ .prematch-bg {
90
+ width: 100%;
91
+ height: 222px;
92
+ /* height: 100vh; */
93
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
94
+ background-size: cover;
95
+ background-repeat: no-repeat;
96
+ display: flex;
97
+ flex-direction: column;
98
+ justify-content: center;
99
+ align-items: center;
100
+ position: relative;
101
+ overflow: hidden;
102
+ }
103
+
104
+ .background-shields {
105
+ position: absolute;
106
+ top: 0;
107
+ left: 0;
108
+ width: 100%;
109
+ height: 100%;
110
+ pointer-events: none;
111
+ z-index: 1;
112
+ }
113
+
114
+ .shield-left {
115
+ position: absolute;
116
+ left: -80px;
117
+ top: 50%;
118
+ transform: translateY(-50%);
119
+ opacity: 0.09;
120
+ }
121
+
122
+ .shield-left img {
123
+ width: 170px;
124
+ object-fit: contain;
125
+ }
126
+
127
+ .shield-right {
128
+ position: absolute;
129
+ right: -80px;
130
+ top: 50%;
131
+ transform: translateY(-50%);
132
+ opacity: 0.09;
133
+ }
134
+
135
+ .shield-right img {
136
+ width: 170px;
137
+ object-fit: contain;
138
+ }
139
+
140
+ .header {
141
+ padding: 24px 32px;
142
+ }
143
+
144
+ .logo {
145
+ height: 40px;
146
+ }
147
+
148
+ .main-content {
149
+ display: flex;
150
+ flex-direction: column;
151
+ align-items: center;
152
+ /* Elimina el margin-top para centrar verticalmente */
153
+ }
154
+
155
+ .title {
156
+ font-size: 0.8rem;
157
+ color: #fff;
158
+ margin-top: -10px;
159
+ font-family: Poppins-Regular;
160
+ position: relative;
161
+ z-index: 2;
162
+ }
163
+
164
+ .highlight {
165
+ font-family: Poppins-Bold;
166
+ color: #fff;
167
+ }
168
+
169
+ .subtitle {
170
+ font-family: Poppins-Regular;
171
+ margin-top: -8px;
172
+ font-size: 1.1rem;
173
+ color: #e0e0e0;
174
+ position: relative;
175
+ z-index: 2;
176
+ }
177
+
178
+ .jornada {
179
+ font-family: Poppins-Medium;
180
+ color: #fff;
181
+ font-size: 0.4rem;
182
+ line-height: 2.2;
183
+ letter-spacing: 0.2px;
184
+ opacity: 0.8;
185
+ }
186
+
187
+ .fecha {
188
+ font-family: Poppins-Regular;
189
+ color: #e0e0e0;
190
+ opacity: 0.8;
191
+ line-height: 2.2;
192
+ letter-spacing: 0.2px;
193
+ font-size: 0.4rem;
194
+ }
195
+
196
+ .teams-row {
197
+ display: flex;
198
+ justify-content: center;
199
+ align-items: center;
200
+ gap: 30px;
201
+ margin-top: 20px;
202
+ position: relative;
203
+ z-index: 2;
204
+ }
205
+
206
+ .team {
207
+ display: flex;
208
+ flex-direction: row;
209
+ align-items: center;
210
+ gap: 12px;
211
+ }
212
+
213
+ .team-visitor {
214
+ flex-direction: row-reverse;
215
+ }
216
+
217
+ .escudo-svg {
218
+ display: flex;
219
+ justify-content: center;
220
+ align-items: center;
221
+ width: 55px;
222
+ height: 55px;
223
+ }
224
+
225
+ .team-name {
226
+ font-size: 1rem;
227
+ font-family: Poppins-bold;
228
+ font-weight: 700;
229
+ color: #fff;
230
+ letter-spacing: 2px;
231
+ }
232
+ </style>