@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.
- package/README.md +2 -2
- package/dist/{FilterConditions-55d68355-DMqzcKBO-BmIhhD-B-BGQIEaLr.js → FilterConditions-55d68355-DMqzcKBO-BqAxDL_w-t5hljoND.js} +1 -1
- package/dist/{FilterField-59a73e38-CNaE03Ge-BTX2xPpF-D9vcJGsy.js → FilterField-59a73e38-CNaE03Ge-Bv7oIztz-KtUWbrT3.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-_h5FCZ4r-DZeIIQAW-CLBX_KE1.js → FilterSubcategories-a9b32cc9-_h5FCZ4r-h8kv1BbC-CHa3yKm3.js} +1 -1
- 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 +7 -7
- package/dist/{index-Bt6tyu0M.js → index-BNb6LArS.js} +28 -29
- package/package.json +2 -2
- package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -246
- package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -249
- 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/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
- package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
- package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +441 -441
- package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +440 -440
- package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +232 -232
- package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +231 -231
- 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
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="prematch-bg">
|
|
3
|
-
<div class="title">Análisis <span class="highlight">Prematch</span></div>
|
|
4
|
-
<div class="subtitle">
|
|
5
|
-
<span class="jornada">{{ traducirJornada(props.report.game.matchday_name) }}</span>
|
|
6
|
-
<span class="fecha"> - {{ formatDate(props.report.game.date_time_utc) }}</span>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="teams-row">
|
|
9
|
-
<div class="team team-local">
|
|
10
|
-
<span class="escudo-svg">
|
|
11
|
-
<img
|
|
12
|
-
width="55px"
|
|
13
|
-
:src="
|
|
14
|
-
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
15
|
-
props.report.game.home_team +
|
|
16
|
-
'.png'
|
|
17
|
-
"
|
|
18
|
-
/>
|
|
19
|
-
</span>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="divider-line">
|
|
23
|
-
<div class="dotted-line"></div>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="team team-visitor">
|
|
27
|
-
<span class="escudo-svg">
|
|
28
|
-
<img
|
|
29
|
-
width="55px"
|
|
30
|
-
:src="
|
|
31
|
-
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
32
|
-
props.report.game.visiting_team +
|
|
33
|
-
'.png'
|
|
34
|
-
"
|
|
35
|
-
/>
|
|
36
|
-
</span>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<script setup>
|
|
43
|
-
import { formatDate } from '../../utils/dateUtils.js'
|
|
44
|
-
|
|
45
|
-
function traducirJornada(jornada) {
|
|
46
|
-
if (!jornada) return ''
|
|
47
|
-
return jornada
|
|
48
|
-
.replace('Matchday', 'J')
|
|
49
|
-
.replace('de Final', '')
|
|
50
|
-
.replace('Playoffs 1', 'CFI')
|
|
51
|
-
.replace('Playoffs 2', 'CFV')
|
|
52
|
-
.replace('Playoffs 3', 'SI')
|
|
53
|
-
.replace('Playoffs 4', 'SV')
|
|
54
|
-
.replace('Playoffs 5', 'FI')
|
|
55
|
-
.replace('Playoffs 6', 'FV')
|
|
56
|
-
}
|
|
57
|
-
// Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
|
|
58
|
-
const props = defineProps({
|
|
59
|
-
report: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default: () => ({}),
|
|
62
|
-
},
|
|
63
|
-
})
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style scoped>
|
|
67
|
-
.prematch-bg {
|
|
68
|
-
width: 100%;
|
|
69
|
-
height: 222px;
|
|
70
|
-
/* height: 100vh; */
|
|
71
|
-
background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
|
|
72
|
-
background-size: cover;
|
|
73
|
-
background-repeat: no-repeat;
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
align-items: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.header {
|
|
81
|
-
padding: 24px 32px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.logo {
|
|
85
|
-
height: 40px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.main-content {
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
align-items: center;
|
|
92
|
-
/* Elimina el margin-top para centrar verticalmente */
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.title {
|
|
96
|
-
font-size: 0.8rem;
|
|
97
|
-
color: #fff;
|
|
98
|
-
margin-top: -10px;
|
|
99
|
-
font-family: Poppins-Regular;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.highlight {
|
|
103
|
-
font-family: Poppins-Bold;
|
|
104
|
-
color: #fff;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.subtitle {
|
|
108
|
-
font-family: Poppins-Regular;
|
|
109
|
-
margin-top: -8px;
|
|
110
|
-
font-size: 1.1rem;
|
|
111
|
-
color: #e0e0e0;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.jornada {
|
|
115
|
-
font-family: Poppins-Medium;
|
|
116
|
-
color: #fff;
|
|
117
|
-
font-size: 0.4rem;
|
|
118
|
-
line-height: 2.2;
|
|
119
|
-
letter-spacing: 0.2px;
|
|
120
|
-
opacity: 0.8;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.fecha {
|
|
124
|
-
font-family: Poppins-Regular;
|
|
125
|
-
color: #e0e0e0;
|
|
126
|
-
opacity: 0.8;
|
|
127
|
-
line-height: 2.2;
|
|
128
|
-
letter-spacing: 0.2px;
|
|
129
|
-
font-size: 0.4rem;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.teams-row {
|
|
133
|
-
display: flex;
|
|
134
|
-
justify-content: center;
|
|
135
|
-
align-items: center;
|
|
136
|
-
gap: 15px;
|
|
137
|
-
margin-top: 20px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.team {
|
|
141
|
-
display: flex;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
align-items: center;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.divider-line {
|
|
147
|
-
display: flex;
|
|
148
|
-
justify-content: center;
|
|
149
|
-
align-items: center;
|
|
150
|
-
height: 60px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.dotted-line {
|
|
154
|
-
width: 2px;
|
|
155
|
-
height: 60px;
|
|
156
|
-
background: repeating-linear-gradient(
|
|
157
|
-
to bottom,
|
|
158
|
-
#fff 0,
|
|
159
|
-
#fff 4px,
|
|
160
|
-
transparent 4px,
|
|
161
|
-
transparent 8px
|
|
162
|
-
);
|
|
163
|
-
opacity: 0.5;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.escudo-svg {
|
|
167
|
-
display: flex;
|
|
168
|
-
justify-content: center;
|
|
169
|
-
align-items: center;
|
|
170
|
-
width: 55px;
|
|
171
|
-
height: 55px;
|
|
172
|
-
}
|
|
173
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="prematch-bg">
|
|
3
|
+
<div class="title">Análisis <span class="highlight">Prematch</span></div>
|
|
4
|
+
<div class="subtitle">
|
|
5
|
+
<span class="jornada">{{ traducirJornada(props.report.game.matchday_name) }}</span>
|
|
6
|
+
<span class="fecha"> - {{ formatDate(props.report.game.date_time_utc) }}</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="teams-row">
|
|
9
|
+
<div class="team team-local">
|
|
10
|
+
<span class="escudo-svg">
|
|
11
|
+
<img
|
|
12
|
+
width="55px"
|
|
13
|
+
:src="
|
|
14
|
+
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
15
|
+
props.report.game.home_team +
|
|
16
|
+
'.png'
|
|
17
|
+
"
|
|
18
|
+
/>
|
|
19
|
+
</span>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="divider-line">
|
|
23
|
+
<div class="dotted-line"></div>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div class="team team-visitor">
|
|
27
|
+
<span class="escudo-svg">
|
|
28
|
+
<img
|
|
29
|
+
width="55px"
|
|
30
|
+
:src="
|
|
31
|
+
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
32
|
+
props.report.game.visiting_team +
|
|
33
|
+
'.png'
|
|
34
|
+
"
|
|
35
|
+
/>
|
|
36
|
+
</span>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script setup>
|
|
43
|
+
import { formatDate } from '../../utils/dateUtils.js'
|
|
44
|
+
|
|
45
|
+
function traducirJornada(jornada) {
|
|
46
|
+
if (!jornada) return ''
|
|
47
|
+
return jornada
|
|
48
|
+
.replace('Matchday', 'J')
|
|
49
|
+
.replace('de Final', '')
|
|
50
|
+
.replace('Playoffs 1', 'CFI')
|
|
51
|
+
.replace('Playoffs 2', 'CFV')
|
|
52
|
+
.replace('Playoffs 3', 'SI')
|
|
53
|
+
.replace('Playoffs 4', 'SV')
|
|
54
|
+
.replace('Playoffs 5', 'FI')
|
|
55
|
+
.replace('Playoffs 6', 'FV')
|
|
56
|
+
}
|
|
57
|
+
// Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
|
|
58
|
+
const props = defineProps({
|
|
59
|
+
report: {
|
|
60
|
+
type: Object,
|
|
61
|
+
default: () => ({}),
|
|
62
|
+
},
|
|
63
|
+
})
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style scoped>
|
|
67
|
+
.prematch-bg {
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 222px;
|
|
70
|
+
/* height: 100vh; */
|
|
71
|
+
background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
|
|
72
|
+
background-size: cover;
|
|
73
|
+
background-repeat: no-repeat;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.header {
|
|
81
|
+
padding: 24px 32px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.logo {
|
|
85
|
+
height: 40px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.main-content {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: center;
|
|
92
|
+
/* Elimina el margin-top para centrar verticalmente */
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.title {
|
|
96
|
+
font-size: 0.8rem;
|
|
97
|
+
color: #fff;
|
|
98
|
+
margin-top: -10px;
|
|
99
|
+
font-family: Poppins-Regular;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.highlight {
|
|
103
|
+
font-family: Poppins-Bold;
|
|
104
|
+
color: #fff;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.subtitle {
|
|
108
|
+
font-family: Poppins-Regular;
|
|
109
|
+
margin-top: -8px;
|
|
110
|
+
font-size: 1.1rem;
|
|
111
|
+
color: #e0e0e0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.jornada {
|
|
115
|
+
font-family: Poppins-Medium;
|
|
116
|
+
color: #fff;
|
|
117
|
+
font-size: 0.4rem;
|
|
118
|
+
line-height: 2.2;
|
|
119
|
+
letter-spacing: 0.2px;
|
|
120
|
+
opacity: 0.8;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.fecha {
|
|
124
|
+
font-family: Poppins-Regular;
|
|
125
|
+
color: #e0e0e0;
|
|
126
|
+
opacity: 0.8;
|
|
127
|
+
line-height: 2.2;
|
|
128
|
+
letter-spacing: 0.2px;
|
|
129
|
+
font-size: 0.4rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.teams-row {
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
align-items: center;
|
|
136
|
+
gap: 15px;
|
|
137
|
+
margin-top: 20px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.team {
|
|
141
|
+
display: flex;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
align-items: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.divider-line {
|
|
147
|
+
display: flex;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
align-items: center;
|
|
150
|
+
height: 60px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.dotted-line {
|
|
154
|
+
width: 2px;
|
|
155
|
+
height: 60px;
|
|
156
|
+
background: repeating-linear-gradient(
|
|
157
|
+
to bottom,
|
|
158
|
+
#fff 0,
|
|
159
|
+
#fff 4px,
|
|
160
|
+
transparent 4px,
|
|
161
|
+
transparent 8px
|
|
162
|
+
);
|
|
163
|
+
opacity: 0.5;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.escudo-svg {
|
|
167
|
+
display: flex;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
align-items: center;
|
|
170
|
+
width: 55px;
|
|
171
|
+
height: 55px;
|
|
172
|
+
}
|
|
173
|
+
</style>
|
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="prematch-bg">
|
|
3
|
-
<div class="title">Análisis <span class="highlight">Prematch</span></div>
|
|
4
|
-
<div class="subtitle">
|
|
5
|
-
<span class="jornada">{{ traducirJornada(props.report.game.matchday_name) }}</span>
|
|
6
|
-
<span class="fecha"> - {{ formatDate(props.report.game.date_time_utc) }}</span>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="teams-row">
|
|
9
|
-
<div class="team team-local">
|
|
10
|
-
<span class="escudo-svg">
|
|
11
|
-
<img
|
|
12
|
-
width="55px"
|
|
13
|
-
:src="
|
|
14
|
-
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
15
|
-
props.report.game.home_team +
|
|
16
|
-
'.png'
|
|
17
|
-
"
|
|
18
|
-
/>
|
|
19
|
-
</span>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="divider-line">
|
|
23
|
-
<div class="dotted-line"></div>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="team team-visitor">
|
|
27
|
-
<span class="escudo-svg">
|
|
28
|
-
<img
|
|
29
|
-
width="55px"
|
|
30
|
-
:src="
|
|
31
|
-
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
32
|
-
props.report.game.visiting_team +
|
|
33
|
-
'.png'
|
|
34
|
-
"
|
|
35
|
-
/>
|
|
36
|
-
</span>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<script setup>
|
|
43
|
-
import { formatDate } from '../../utils/dateUtils.js'
|
|
44
|
-
|
|
45
|
-
function traducirJornada(jornada) {
|
|
46
|
-
if (!jornada) return ''
|
|
47
|
-
return jornada
|
|
48
|
-
.replace('Matchday', 'J')
|
|
49
|
-
.replace('de Final', '')
|
|
50
|
-
.replace('Playoffs 1', 'CFI')
|
|
51
|
-
.replace('Playoffs 2', 'CFV')
|
|
52
|
-
.replace('Playoffs 3', 'SI')
|
|
53
|
-
.replace('Playoffs 4', 'SV')
|
|
54
|
-
.replace('Playoffs 5', 'FI')
|
|
55
|
-
.replace('Playoffs 6', 'FV')
|
|
56
|
-
}
|
|
57
|
-
// Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
|
|
58
|
-
const props = defineProps({
|
|
59
|
-
report: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default: () => ({}),
|
|
62
|
-
},
|
|
63
|
-
})
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style scoped>
|
|
67
|
-
.prematch-bg {
|
|
68
|
-
width: 100%;
|
|
69
|
-
height: 222px;
|
|
70
|
-
/* height: 100vh; */
|
|
71
|
-
background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-02.jpg');
|
|
72
|
-
background-size: cover;
|
|
73
|
-
background-repeat: no-repeat;
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
align-items: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.header {
|
|
81
|
-
padding: 24px 32px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.logo {
|
|
85
|
-
height: 40px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.main-content {
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
align-items: center;
|
|
92
|
-
/* Elimina el margin-top para centrar verticalmente */
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.title {
|
|
96
|
-
font-size: 0.8rem;
|
|
97
|
-
color: #fff;
|
|
98
|
-
margin-top: -10px;
|
|
99
|
-
font-family: Poppins-Regular;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.highlight {
|
|
103
|
-
font-family: Poppins-Bold;
|
|
104
|
-
color: #fff;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.subtitle {
|
|
108
|
-
font-family: Poppins-Regular;
|
|
109
|
-
margin-top: -8px;
|
|
110
|
-
font-size: 1.1rem;
|
|
111
|
-
color: #e0e0e0;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.jornada {
|
|
115
|
-
font-family: Poppins-Medium;
|
|
116
|
-
color: #fff;
|
|
117
|
-
font-size: 0.4rem;
|
|
118
|
-
line-height: 2.2;
|
|
119
|
-
letter-spacing: 0.2px;
|
|
120
|
-
opacity: 0.8;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.fecha {
|
|
124
|
-
font-family: Poppins-Regular;
|
|
125
|
-
color: #e0e0e0;
|
|
126
|
-
opacity: 0.8;
|
|
127
|
-
line-height: 2.2;
|
|
128
|
-
letter-spacing: 0.2px;
|
|
129
|
-
font-size: 0.4rem;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.teams-row {
|
|
133
|
-
display: flex;
|
|
134
|
-
justify-content: center;
|
|
135
|
-
align-items: center;
|
|
136
|
-
gap: 15px;
|
|
137
|
-
margin-top: 20px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.team {
|
|
141
|
-
display: flex;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
align-items: center;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.divider-line {
|
|
147
|
-
display: flex;
|
|
148
|
-
justify-content: center;
|
|
149
|
-
align-items: center;
|
|
150
|
-
height: 60px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.dotted-line {
|
|
154
|
-
width: 2px;
|
|
155
|
-
height: 60px;
|
|
156
|
-
background: repeating-linear-gradient(
|
|
157
|
-
to bottom,
|
|
158
|
-
#fff 0,
|
|
159
|
-
#fff 4px,
|
|
160
|
-
transparent 4px,
|
|
161
|
-
transparent 8px
|
|
162
|
-
);
|
|
163
|
-
opacity: 0.5;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.escudo-svg {
|
|
167
|
-
display: flex;
|
|
168
|
-
justify-content: center;
|
|
169
|
-
align-items: center;
|
|
170
|
-
width: 55px;
|
|
171
|
-
height: 55px;
|
|
172
|
-
}
|
|
173
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="prematch-bg">
|
|
3
|
+
<div class="title">Análisis <span class="highlight">Prematch</span></div>
|
|
4
|
+
<div class="subtitle">
|
|
5
|
+
<span class="jornada">{{ traducirJornada(props.report.game.matchday_name) }}</span>
|
|
6
|
+
<span class="fecha"> - {{ formatDate(props.report.game.date_time_utc) }}</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="teams-row">
|
|
9
|
+
<div class="team team-local">
|
|
10
|
+
<span class="escudo-svg">
|
|
11
|
+
<img
|
|
12
|
+
width="55px"
|
|
13
|
+
:src="
|
|
14
|
+
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
15
|
+
props.report.game.home_team +
|
|
16
|
+
'.png'
|
|
17
|
+
"
|
|
18
|
+
/>
|
|
19
|
+
</span>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="divider-line">
|
|
23
|
+
<div class="dotted-line"></div>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div class="team team-visitor">
|
|
27
|
+
<span class="escudo-svg">
|
|
28
|
+
<img
|
|
29
|
+
width="55px"
|
|
30
|
+
:src="
|
|
31
|
+
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
32
|
+
props.report.game.visiting_team +
|
|
33
|
+
'.png'
|
|
34
|
+
"
|
|
35
|
+
/>
|
|
36
|
+
</span>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script setup>
|
|
43
|
+
import { formatDate } from '../../utils/dateUtils.js'
|
|
44
|
+
|
|
45
|
+
function traducirJornada(jornada) {
|
|
46
|
+
if (!jornada) return ''
|
|
47
|
+
return jornada
|
|
48
|
+
.replace('Matchday', 'J')
|
|
49
|
+
.replace('de Final', '')
|
|
50
|
+
.replace('Playoffs 1', 'CFI')
|
|
51
|
+
.replace('Playoffs 2', 'CFV')
|
|
52
|
+
.replace('Playoffs 3', 'SI')
|
|
53
|
+
.replace('Playoffs 4', 'SV')
|
|
54
|
+
.replace('Playoffs 5', 'FI')
|
|
55
|
+
.replace('Playoffs 6', 'FV')
|
|
56
|
+
}
|
|
57
|
+
// Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
|
|
58
|
+
const props = defineProps({
|
|
59
|
+
report: {
|
|
60
|
+
type: Object,
|
|
61
|
+
default: () => ({}),
|
|
62
|
+
},
|
|
63
|
+
})
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style scoped>
|
|
67
|
+
.prematch-bg {
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 222px;
|
|
70
|
+
/* height: 100vh; */
|
|
71
|
+
background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-02.jpg');
|
|
72
|
+
background-size: cover;
|
|
73
|
+
background-repeat: no-repeat;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.header {
|
|
81
|
+
padding: 24px 32px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.logo {
|
|
85
|
+
height: 40px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.main-content {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: center;
|
|
92
|
+
/* Elimina el margin-top para centrar verticalmente */
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.title {
|
|
96
|
+
font-size: 0.8rem;
|
|
97
|
+
color: #fff;
|
|
98
|
+
margin-top: -10px;
|
|
99
|
+
font-family: Poppins-Regular;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.highlight {
|
|
103
|
+
font-family: Poppins-Bold;
|
|
104
|
+
color: #fff;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.subtitle {
|
|
108
|
+
font-family: Poppins-Regular;
|
|
109
|
+
margin-top: -8px;
|
|
110
|
+
font-size: 1.1rem;
|
|
111
|
+
color: #e0e0e0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.jornada {
|
|
115
|
+
font-family: Poppins-Medium;
|
|
116
|
+
color: #fff;
|
|
117
|
+
font-size: 0.4rem;
|
|
118
|
+
line-height: 2.2;
|
|
119
|
+
letter-spacing: 0.2px;
|
|
120
|
+
opacity: 0.8;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.fecha {
|
|
124
|
+
font-family: Poppins-Regular;
|
|
125
|
+
color: #e0e0e0;
|
|
126
|
+
opacity: 0.8;
|
|
127
|
+
line-height: 2.2;
|
|
128
|
+
letter-spacing: 0.2px;
|
|
129
|
+
font-size: 0.4rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.teams-row {
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
align-items: center;
|
|
136
|
+
gap: 15px;
|
|
137
|
+
margin-top: 20px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.team {
|
|
141
|
+
display: flex;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
align-items: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.divider-line {
|
|
147
|
+
display: flex;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
align-items: center;
|
|
150
|
+
height: 60px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.dotted-line {
|
|
154
|
+
width: 2px;
|
|
155
|
+
height: 60px;
|
|
156
|
+
background: repeating-linear-gradient(
|
|
157
|
+
to bottom,
|
|
158
|
+
#fff 0,
|
|
159
|
+
#fff 4px,
|
|
160
|
+
transparent 4px,
|
|
161
|
+
transparent 8px
|
|
162
|
+
);
|
|
163
|
+
opacity: 0.5;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.escudo-svg {
|
|
167
|
+
display: flex;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
align-items: center;
|
|
170
|
+
width: 55px;
|
|
171
|
+
height: 55px;
|
|
172
|
+
}
|
|
173
|
+
</style>
|