@golstats/gsc-reports 1.0.6 → 1.0.7

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 (35) hide show
  1. package/README.md +2 -2
  2. package/dist/{FilterConditions-55d68355-C5NIJbY6-CrwdIOQy-DJW3C0E9.js → FilterConditions-55d68355-C5NIJbY6-C6u4SYGM-CcxS73vx.js} +31 -31
  3. package/dist/FilterField-59a73e38-DO8nYLqs-kMEzVZsL-uXuuwpuX.js +21 -0
  4. package/dist/{FilterSubcategories-a9b32cc9-DlkHni1L-2XPKgOv6-nRHReBmk.js → FilterSubcategories-a9b32cc9-DlkHni1L-DTr5944T-Dv6wa9TS.js} +3 -3
  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 +244 -239
  9. package/dist/{index-Ba25qrrW.js → index-qxZmBGgL.js} +84685 -82097
  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 +161 -161
  19. package/src/components/filters.vue +935 -935
  20. package/src/components/template-report-maker/CoverPage.vue +636 -636
  21. package/src/components/template-report-maker/CoverSelector.vue +165 -165
  22. package/src/components/template-report-maker/ReportView.vue +66 -66
  23. package/src/components/template-report-maker/TemplateReportPage.vue +398 -398
  24. package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
  25. package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
  26. package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +463 -463
  27. package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +462 -462
  28. package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +164 -164
  29. package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +163 -163
  30. package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
  31. package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
  32. package/src/index.js +4 -4
  33. package/src/types.d.ts +45 -45
  34. package/src/utils/dateUtils.js +52 -52
  35. package/dist/FilterField-59a73e38-DO8nYLqs-C9htGE_0-DSpyIXCH.js +0 -21
@@ -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>