@golstats/gsc-reports 1.0.52 → 1.0.53
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 +2 -2
- package/dist/{FilterConditions-55d68355-C06ae5UH-CEA4TfvA-DSWBY7HO.js → FilterConditions-55d68355-zHMe0Dyg-CLarFrVK-C2M1z5WD.js} +10 -10
- package/dist/FilterField-59a73e38-DtNZKbqt-CX86CGMh-DPrMukyS.js +21 -0
- package/dist/{FilterSubcategories-a9b32cc9-Dfm_NNj7-9s2uLZyt-Cq2yOJ8R.js → FilterSubcategories-a9b32cc9-BjvvEE_X-Cb3jkvIi-CQ-9zRuN.js} +3 -3
- package/dist/css/fonts.css +83 -83
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +191 -191
- package/dist/{index-DfyEOv8s.js → index-B5MO1vo4.js} +48465 -48301
- package/package.json +3 -2
- package/src/components/TemplatesSection.vue +1 -0
- package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -246
- package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -249
- package/src/components/elementsTemplates/ModalGenerarReporte.vue +379 -27
- package/src/components/elementsTemplates/ModalRenameReporte.vue +330 -330
- package/src/components/elementsTemplates/ModalRenameTemplate.vue +337 -337
- package/src/components/elementsTemplates/ModalSoloEscritorio.vue +83 -83
- package/src/components/elementsTemplates/ModalduplicateTemplate.vue +300 -300
- package/src/components/elementsTemplates/TooltipReportOptions.vue +97 -97
- package/src/components/elementsTemplates/TooltipTemplateOptions.vue +168 -168
- package/src/components/filters.vue +935 -935
- package/src/components/template-report-maker/CoverPage.vue +636 -636
- package/src/components/template-report-maker/CoverSelector.vue +165 -165
- package/src/components/template-report-maker/ReportView.vue +66 -66
- package/src/components/template-report-maker/TemplateReportPage.vue +398 -398
- package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
- package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
- package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +441 -463
- package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +440 -462
- package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +232 -164
- package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +231 -163
- package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
- package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
- package/src/index.js +4 -4
- package/src/types.d.ts +45 -45
- package/src/utils/dateUtils.js +52 -52
- package/dist/FilterField-59a73e38-CwFxdon3-CZO9BXOb-Ck2Zy8SI.js +0 -21
- package/dist/images/cancha-horizontal.jpg +0 -0
|
@@ -1,164 +1,232 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="prematch-bg">
|
|
3
|
-
|
|
4
|
-
<div class="
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
font-family: Poppins-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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>
|