@golstats/gsc-reports 1.0.1 → 1.0.3

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 (63) hide show
  1. package/dist/{FilterConditions-55d68355-C5NIJbY6-DWa3dxmP-Co0tydjQ.js → FilterConditions-55d68355-C5NIJbY6-BIYJFxA1-D7I3LKuI.js} +1 -1
  2. package/dist/{FilterField-59a73e38-DO8nYLqs-CTbXvU0R-DbyfTDxj.js → FilterField-59a73e38-DO8nYLqs-BlMX75HQ-CdzRwoun.js} +1 -1
  3. package/dist/{FilterSubcategories-a9b32cc9-DlkHni1L-CutVIJmz-DF1NB-nW.js → FilterSubcategories-a9b32cc9-DlkHni1L-DbepEYoC-D-EqhHun.js} +1 -1
  4. package/dist/gsc-reports.css +1 -1
  5. package/dist/gsc-reports.es.js +1 -1
  6. package/dist/gsc-reports.umd.js +90 -90
  7. package/dist/{index-C108f86H.js → index-CJuCUdPa.js} +15644 -15601
  8. package/package.json +2 -2
  9. package/src/App.vue +5 -0
  10. package/src/components/elementsTemplates/ModalCreateTemplate.vue +18 -4
  11. package/src/components/elementsTemplates/ModalDeleteReport.vue +19 -4
  12. package/src/components/elementsTemplates/ModalDeleteTemplate.vue +19 -4
  13. package/src/components/elementsTemplates/ModalGenerarReporte.vue +27 -7
  14. package/src/components/elementsTemplates/ModalRenameReporte.vue +19 -4
  15. package/src/components/elementsTemplates/ModalRenameTemplate.vue +21 -4
  16. package/src/components/elementsTemplates/ModalSoloEscritorio.vue +2 -2
  17. package/src/components/elementsTemplates/ModalduplicateTemplate.vue +21 -4
  18. package/src/components/elementsTemplates/TemplateItem.vue +19 -10
  19. package/src/components/elementsTemplates/TooltipReportOptions.vue +15 -3
  20. package/src/components/elementsTemplates/TooltipTemplateOptions.vue +25 -5
  21. package/src/components/gsc-reports.vue +7 -1
  22. package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +1 -1
  23. package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +1 -1
  24. package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +1 -1
  25. package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +1 -1
  26. package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +1 -1
  27. package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +1 -1
  28. package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +1 -1
  29. package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +1 -1
  30. package/dist/icons/icn-close.svg +0 -5
  31. package/dist/icons/icn-delete-delete.svg +0 -3
  32. package/dist/icons/icn-delete.svg +0 -3
  33. package/dist/icons/icn-download.svg +0 -4
  34. package/dist/icons/icn-duplicate-white.svg +0 -11
  35. package/dist/icons/icn-duplicate.svg +0 -11
  36. package/dist/icons/icn-edit.svg +0 -11
  37. package/dist/icons/icn-editar-withe.svg +0 -3
  38. package/dist/icons/icn-rename-white.svg +0 -3
  39. package/dist/icons/icn-rename.svg +0 -3
  40. package/dist/icons/icn-report-white.svg +0 -11
  41. package/dist/icons/icn-report.svg +0 -11
  42. package/dist/images/background-postmatch-template-01.jpg +0 -0
  43. package/dist/images/background-postmatch-template-02.jpg +0 -0
  44. package/dist/images/canchaRPH.svg +0 -30
  45. package/dist/reports/background-postmatch-template-01@2x.jpg +0 -0
  46. package/dist/reports/background-postmatch-template-02@2x.jpg +0 -0
  47. package/dist/reports/thumbnail-portada-01@2x.png +0 -0
  48. package/dist/reports/thumbnail-portada-02@2x.png +0 -0
  49. package/dist/reports/thumbnail-portada-03@2x.png +0 -0
  50. package/dist/reports/thumbnail-portada-04@2x.png +0 -0
  51. package/dist/reports/thumbnail-portada-prmatch-01@2x.png +0 -0
  52. package/dist/reports/thumbnail-portada-prmatch-02@2x.png +0 -0
  53. package/dist/reports/thumbnail-portada-prmatch-03@2x.png +0 -0
  54. package/dist/reports/thumbnail-portada-prmatch-04@2x.png +0 -0
  55. package/dist/thumb1.png +0 -0
  56. package/dist/thumbnail-portada-01.jpg +0 -0
  57. package/dist/thumbnail-portada-02.jpg +0 -0
  58. package/dist/thumbnail-portada-03.jpg +0 -0
  59. package/dist/thumbnail-portada-04.jpg +0 -0
  60. package/dist/thumbnail-portada-prmatch-01.jpg +0 -0
  61. package/dist/thumbnail-portada-prmatch-02.jpg +0 -0
  62. package/dist/thumbnail-portada-prmatch-03.jpg +0 -0
  63. package/dist/thumbnail-portada-prmatch-04.jpg +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-reports",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "main": "dist/gsc-reports.umd.js",
5
5
  "module": "dist/gsc-reports.es.js",
6
6
  "exports": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@golstats/gsc-checkbox": "^1.0.13",
50
- "@golstats/gsc-template-report-maker": "^1.0.11",
50
+ "@golstats/gsc-template-report-maker": "^1.0.12",
51
51
  "@golstats/gsc-volumetric-field": "^1.0.1",
52
52
  "axios": "^1.10.0",
53
53
  "gridstack": "^12.1.1",
package/src/App.vue CHANGED
@@ -1,5 +1,9 @@
1
1
  <script setup>
2
2
  import GSCReports from './components/gsc-reports.vue'
3
+
4
+ function handleToHome() {
5
+ console.log('Evento toHome recibido en App.vue')
6
+ }
3
7
  </script>
4
8
 
5
9
  <template>
@@ -8,6 +12,7 @@ import GSCReports from './components/gsc-reports.vue'
8
12
  :team="1"
9
13
  :user-id="24254"
10
14
  token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjQyNTQsIm5hbWUiOiJHb2xTdGF0cyIsInVzZXJuYW1lIjoiZ29sdGVzdGluZyIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE3NTIwNDY4NTQsImV4cCI6MTc4MzU4Mjg1NH0.cs9r3OnlIh-H0G0yxjKFFYiJoA70PAbvehjcVe4y7jE"
15
+ @toHome="handleToHome"
11
16
  />
12
17
  </div>
13
18
  </template>
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-editar-withe.svg" class="icon-title" alt="icon" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-editar-withe.svg"
13
+ class="icon-title"
14
+ alt="icon"
15
+ />
9
16
  <span class="modal-title">Crear Template</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -58,7 +65,7 @@
58
65
  </template>
59
66
 
60
67
  <script setup>
61
- import { ref } from 'vue'
68
+ import { ref, onMounted, onUnmounted } from 'vue'
62
69
  import axios from 'axios'
63
70
  // Definir props
64
71
  const props = defineProps({
@@ -121,6 +128,13 @@ const saveTemplate = async () => {
121
128
  isLoading.value = false
122
129
  }
123
130
  }
131
+
132
+ onMounted(() => {
133
+ document.body.style.overflow = 'hidden'
134
+ })
135
+ onUnmounted(() => {
136
+ document.body.style.overflow = ''
137
+ })
124
138
  </script>
125
139
 
126
140
  <style scoped>
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-delete-delete.svg" class="icon-title" alt="icon" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-delete-delete.svg"
13
+ class="icon-title"
14
+ alt="icon"
15
+ />
9
16
  <span class="modal-title">Eliminar reporte</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -26,7 +33,7 @@
26
33
  </template>
27
34
 
28
35
  <script setup>
29
- import { ref } from 'vue'
36
+ import { ref, onMounted, onUnmounted } from 'vue'
30
37
  import axios from 'axios'
31
38
 
32
39
  // Props para recibir el ID del reporte, user_id y token
@@ -80,6 +87,14 @@ const handleDelete = async () => {
80
87
  isDeleting.value = false
81
88
  }
82
89
  }
90
+
91
+ onMounted(() => {
92
+ document.body.style.overflow = 'hidden'
93
+ })
94
+
95
+ onUnmounted(() => {
96
+ document.body.style.overflow = ''
97
+ })
83
98
  </script>
84
99
 
85
100
  <style scoped>
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-delete-delete.svg" class="icon-title" alt="icon" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-delete-delete.svg"
13
+ class="icon-title"
14
+ alt="icon"
15
+ />
9
16
  <span class="modal-title">Eliminar template</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -26,7 +33,7 @@
26
33
  </template>
27
34
 
28
35
  <script setup>
29
- import { ref } from 'vue'
36
+ import { ref, onMounted, onUnmounted } from 'vue'
30
37
  import axios from 'axios'
31
38
 
32
39
  // Props para recibir el ID del template, user_id y token
@@ -51,6 +58,14 @@ const emit = defineEmits(['close', 'delete', 'templateDeleted'])
51
58
  // Estado para controlar el loading
52
59
  const isDeleting = ref(false)
53
60
 
61
+ // Deshabilitar scroll al abrir la modal y restaurar al cerrar
62
+ onMounted(() => {
63
+ document.body.style.overflow = 'hidden'
64
+ })
65
+ onUnmounted(() => {
66
+ document.body.style.overflow = ''
67
+ })
68
+
54
69
  // Función para eliminar el template
55
70
  const handleDelete = async () => {
56
71
  try {
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-report-white.svg" class="icon-title" alt="icono reporte blanco" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-report-white.svg"
13
+ class="icon-title"
14
+ alt="icono reporte blanco"
15
+ />
9
16
  <span class="modal-title">Generar reporte</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -274,7 +281,7 @@
274
281
  </template>
275
282
 
276
283
  <script setup>
277
- import { ref, defineEmits, onMounted } from 'vue'
284
+ import { ref, defineEmits, onMounted, onUnmounted } from 'vue'
278
285
  import axios from 'axios'
279
286
 
280
287
  const props = defineProps({
@@ -658,14 +665,27 @@ function selectPartido(partido) {
658
665
  showDropdownPartidos.value = false
659
666
  }
660
667
 
661
- function closeModal() {
662
- showError409.value = false
663
- emit('close')
668
+ function bloquearScroll() {
669
+ document.body.style.overflow = 'hidden'
670
+ }
671
+ function restaurarScroll() {
672
+ document.body.style.overflow = ''
664
673
  }
665
674
 
666
675
  onMounted(() => {
667
676
  cargarTorneos()
677
+ bloquearScroll()
678
+ })
679
+
680
+ onUnmounted(() => {
681
+ restaurarScroll()
668
682
  })
683
+
684
+ function closeModal() {
685
+ showError409.value = false
686
+ restaurarScroll()
687
+ emit('close')
688
+ }
669
689
  </script>
670
690
 
671
691
  <style scoped>
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-rename-white.svg" class="icon-title" alt="icon" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-rename-white.svg"
13
+ class="icon-title"
14
+ alt="icon"
15
+ />
9
16
  <span class="modal-title">Renombrar Reporte</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -41,7 +48,7 @@
41
48
  </template>
42
49
 
43
50
  <script setup>
44
- import { ref, watch } from 'vue'
51
+ import { ref, watch, onMounted, onUnmounted } from 'vue'
45
52
  import axios from 'axios'
46
53
 
47
54
  const props = defineProps({
@@ -113,6 +120,14 @@ async function acceptRename() {
113
120
  isLoading.value = false
114
121
  }
115
122
  }
123
+
124
+ onMounted(() => {
125
+ document.body.style.overflow = 'hidden'
126
+ })
127
+
128
+ onUnmounted(() => {
129
+ document.body.style.overflow = ''
130
+ })
116
131
  </script>
117
132
 
118
133
  <style scoped>
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-rename-white.svg" class="icon-title" alt="icon" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-rename-white.svg"
13
+ class="icon-title"
14
+ alt="icon"
15
+ />
9
16
  <span class="modal-title">Renombrar Template</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -41,7 +48,7 @@
41
48
  </template>
42
49
 
43
50
  <script setup>
44
- import { ref, watch } from 'vue'
51
+ import { ref, watch, onMounted, onUnmounted } from 'vue'
45
52
  import axios from 'axios'
46
53
 
47
54
  const props = defineProps({
@@ -80,6 +87,16 @@ watch(
80
87
  },
81
88
  )
82
89
 
90
+ onMounted(() => {
91
+ // Bloquear el scroll del body cuando la modal está abierta
92
+ document.body.style.overflow = 'hidden'
93
+ })
94
+
95
+ onUnmounted(() => {
96
+ // Restaurar el scroll del body cuando la modal se cierra
97
+ document.body.style.overflow = ''
98
+ })
99
+
83
100
  async function acceptRename() {
84
101
  console.log('acceptRename')
85
102
  if (newName.value.trim().length < 3) return
@@ -17,7 +17,7 @@
17
17
  Esta sección solo está disponible para<br />
18
18
  escritorio. Utiliza tu computadora <br />para ingresar.
19
19
  </div>
20
- <button class="modal-btn" @click="$emit('close')">OK</button>
20
+ <button class="modal-btn" @click="$emit('toHome')">OK</button>
21
21
  </div>
22
22
  </div>
23
23
  </template>
@@ -55,7 +55,7 @@
55
55
  }
56
56
  .modal-text {
57
57
  font-family: Poppins-Light, Arial, sans-serif;
58
- font-size: 16px;
58
+ font-size: 14px;
59
59
  font-weight: 300;
60
60
  font-stretch: normal;
61
61
  font-style: normal;
@@ -1,11 +1,18 @@
1
1
  <template>
2
- <div class="modal-overlay" @click.self="$emit('close')">
2
+ <div class="modal-overlay">
3
3
  <div class="modal-content">
4
4
  <button class="close-btn" @click="$emit('close')">
5
- <img src="/icons/icn-close.svg" alt="Cerrar" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg"
7
+ alt="Cerrar"
8
+ />
6
9
  </button>
7
10
  <div class="modal-header">
8
- <img src="/icons/icn-duplicate-white.svg" class="icon-title" alt="icon" />
11
+ <img
12
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-duplicate-white.svg"
13
+ class="icon-title"
14
+ alt="icon"
15
+ />
9
16
  <span class="modal-title">Duplicar template</span>
10
17
  </div>
11
18
  <div class="header-separator"></div>
@@ -36,7 +43,7 @@
36
43
  </template>
37
44
 
38
45
  <script setup>
39
- import { ref, watch } from 'vue'
46
+ import { ref, watch, onMounted, onUnmounted } from 'vue'
40
47
  import axios from 'axios'
41
48
 
42
49
  const props = defineProps({
@@ -65,6 +72,16 @@ watch(
65
72
  },
66
73
  )
67
74
 
75
+ onMounted(() => {
76
+ // Desactivar el scroll de la página al abrir el modal
77
+ document.body.style.overflow = 'hidden'
78
+ })
79
+
80
+ onUnmounted(() => {
81
+ // Restaurar el scroll de la página al cerrar el modal
82
+ document.body.style.overflow = ''
83
+ })
84
+
68
85
  async function acceptDuplicate() {
69
86
  if (duplicateName.value.trim().length >= 3 && !isLoading.value) {
70
87
  isLoading.value = true
@@ -3,56 +3,65 @@
3
3
  <div class="three-dots" @click.stop="showTooltip = !showTooltip">
4
4
  <span></span><span></span><span></span>
5
5
  </div>
6
- <div v-if="template.pages && template.pages[0]" class="template-img-placeholder" style="position: relative">
6
+ <div
7
+ v-if="template.pages && template.pages[0]"
8
+ class="template-img-placeholder"
9
+ style="position: relative"
10
+ >
7
11
  <img
8
12
  v-if="template.template_type === 1 && template.pages[0].type == 1"
9
- src="/thumbnail-portada-prmatch-01.jpg"
13
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-prmatch-01.jpg"
10
14
  alt="Template Prematch Type 1"
11
15
  class="template-img"
12
16
  />
13
17
  <img
14
18
  v-else-if="template.template_type === 2 && template.pages[0].type == 1"
15
- src="/thumbnail-portada-01.jpg"
19
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-01.jpg"
16
20
  alt="Template Postmatch Type 1"
17
21
  class="template-img"
18
22
  />
19
23
  <img
20
24
  v-else-if="template.template_type === 1 && template.pages[0].type == 2"
21
- src="/thumbnail-portada-prmatch-02.jpg"
25
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-prmatch-02.jpg"
22
26
  alt="Template Prematch Type 2"
23
27
  class="template-img"
24
28
  />
25
29
  <img
26
30
  v-else-if="template.template_type === 2 && template.pages[0].type == 2"
27
- src="/thumbnail-portada-02.jpg"
31
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-02.jpg"
28
32
  alt="Template Postmatch Type 2"
29
33
  class="template-img"
30
34
  />
31
35
  <img
32
36
  v-else-if="template.template_type === 1 && template.pages[0].type == 3"
33
- src="/thumbnail-portada-prmatch-03.jpg"
37
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-prmatch-03.jpg"
34
38
  alt="Template Prematch Type 3"
35
39
  class="template-img"
36
40
  />
37
41
  <img
38
42
  v-else-if="template.template_type === 2 && template.pages[0].type == 3"
39
- src="/thumbnail-portada-03.jpg"
43
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-03.jpg"
40
44
  alt="Template Postmatch Type 3"
41
45
  class="template-img"
42
46
  />
43
47
  <img
44
48
  v-else-if="template.template_type === 1 && template.pages[0].type == 4"
45
- src="/thumbnail-portada-prmatch-04.jpg"
49
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-prmatch-04.jpg"
46
50
  alt="Template Prematch Type 4"
47
51
  class="template-img"
48
52
  />
49
53
  <img
50
54
  v-else-if="template.template_type === 2 && template.pages[0].type == 4"
51
- src="/thumbnail-portada-04.jpg"
55
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumbnail-portada-04.jpg"
52
56
  alt="Template Postmatch Type 4"
53
57
  class="template-img"
54
58
  />
55
- <img v-else src="/thumb1.png" alt="Template Default" class="template-img" />
59
+ <img
60
+ v-else
61
+ src="https://golstatsimages.blob.core.windows.net/reports-images/thumb1.png"
62
+ alt="Template Default"
63
+ class="template-img"
64
+ />
56
65
  </div>
57
66
  <div class="inner-card-postpartido">
58
67
  <div class="postpartido-footer">
@@ -2,15 +2,27 @@
2
2
  <div class="tooltip-report-options">
3
3
  <ul>
4
4
  <li class="option" @click="$emit('renombrar')">
5
- <img src="/icons/icn-rename.svg" alt="Renombrar reporte" class="icon" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-rename.svg"
7
+ alt="Renombrar reporte"
8
+ class="icon"
9
+ />
6
10
  Renombrar reporte
7
11
  </li>
8
12
  <li class="option" @click="$emit('descargar')">
9
- <img src="/icons/icn-download.svg" alt="Descargar reporte" class="icon" />
13
+ <img
14
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-download.svg"
15
+ alt="Descargar reporte"
16
+ class="icon"
17
+ />
10
18
  Descargar reporte
11
19
  </li>
12
20
  <li class="option" @click="$emit('eliminar')">
13
- <img src="/icons/icn-delete.svg" alt="Eliminar reporte" class="icon" />
21
+ <img
22
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-delete.svg"
23
+ alt="Eliminar reporte"
24
+ class="icon"
25
+ />
14
26
  Eliminar reporte
15
27
  </li>
16
28
  </ul>
@@ -2,23 +2,43 @@
2
2
  <div class="tooltip-template-options">
3
3
  <ul>
4
4
  <li class="option" @click="$emit('generar-reporte')">
5
- <img src="/icons/icn-report.svg" alt="Generar reporte" class="icon" />
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-report.svg"
7
+ alt="Generar reporte"
8
+ class="icon"
9
+ />
6
10
  Generar reporte
7
11
  </li>
8
12
  <li class="option" @click="$emit('renombrar')">
9
- <img src="/icons/icn-rename.svg" alt="Renombrar template" class="icon" />
13
+ <img
14
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-rename.svg"
15
+ alt="Renombrar template"
16
+ class="icon"
17
+ />
10
18
  Renombrar template
11
19
  </li>
12
20
  <li class="option" @click="$emit('editar')">
13
- <img src="/icons/icn-edit.svg" alt="Editar template" class="icon" />
21
+ <img
22
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-edit.svg"
23
+ alt="Editar template"
24
+ class="icon"
25
+ />
14
26
  Editar template
15
27
  </li>
16
28
  <li class="option" @click="$emit('duplicar')">
17
- <img src="/icons/icn-duplicate.svg" alt="Duplicar template" class="icon" />
29
+ <img
30
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-duplicate.svg"
31
+ alt="Duplicar template"
32
+ class="icon"
33
+ />
18
34
  Duplicar template
19
35
  </li>
20
36
  <li class="option" @click="$emit('eliminar')">
21
- <img src="/icons/icn-delete.svg" alt="Eliminar template" class="icon" />
37
+ <img
38
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-delete.svg"
39
+ alt="Eliminar template"
40
+ class="icon"
41
+ />
22
42
  Eliminar template
23
43
  </li>
24
44
  </ul>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <GSCTemplateReportMaker ref="reportTemplateMaker" :token="token" />
3
3
  <div ref="containerRef" class="reports-container">
4
- <ModalSoloEscritorio v-if="showMobileWarning" />
4
+ <ModalSoloEscritorio v-if="showMobileWarning" @toHome="toHome" />
5
5
  <h1 class="title">Mis reportes</h1>
6
6
  <div class="top-bar">
7
7
  <div class="tabs-container">
@@ -160,6 +160,8 @@ const searchQuery = ref('')
160
160
  const searchQueryReports = ref('')
161
161
  const reportTemplateMaker = ref(null)
162
162
 
163
+ const emit = defineEmits(['toHome'])
164
+
163
165
  function checkContainerWidth() {
164
166
  if (containerRef.value) {
165
167
  const width = containerRef.value.offsetWidth
@@ -220,6 +222,10 @@ function onOpenReport(report) {
220
222
  })
221
223
  }
222
224
  }
225
+
226
+ function toHome() {
227
+ emit('toHome')
228
+ }
223
229
  </script>
224
230
  <style>
225
231
  .grid-stack-item-content {
@@ -447,7 +447,7 @@ const awayRedCardsCount = computed(() => {
447
447
  width: 100%;
448
448
  height: 222px;
449
449
  /* height: 100vh; */
450
- background: url('/images/background-postmatch-template-01.jpg');
450
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
451
451
  background-size: cover;
452
452
  background-repeat: no-repeat;
453
453
  display: flex;
@@ -447,7 +447,7 @@ const awayRedCardsCount = computed(() => {
447
447
  width: 100%;
448
448
  height: 222px;
449
449
  /* height: 100vh; */
450
- background: url('/images/background-postmatch-template-02.jpg');
450
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-02.jpg');
451
451
  background-size: cover;
452
452
  background-repeat: no-repeat;
453
453
  display: flex;
@@ -230,7 +230,7 @@ const hasMoreVisitingEvents = computed(() => {
230
230
  width: 100%;
231
231
  height: 222px;
232
232
  /* height: 100vh; */
233
- background: url('/images/background-postmatch-template-01.jpg');
233
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
234
234
  background-size: cover;
235
235
  background-repeat: no-repeat;
236
236
  display: flex;
@@ -229,7 +229,7 @@ const hasMoreVisitingEvents = computed(() => {
229
229
  width: 100%;
230
230
  height: 222px;
231
231
  /* height: 100vh; */
232
- background: url('/images/background-postmatch-template-02.jpg');
232
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-02.jpg');
233
233
  background-size: cover;
234
234
  background-repeat: no-repeat;
235
235
  display: flex;
@@ -66,7 +66,7 @@ const props = defineProps({
66
66
  width: 100%;
67
67
  height: 222px;
68
68
  /* height: 100vh; */
69
- background: url('/images/background-postmatch-template-01.jpg');
69
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
70
70
  background-size: cover;
71
71
  background-repeat: no-repeat;
72
72
  display: flex;
@@ -65,7 +65,7 @@ const props = defineProps({
65
65
  width: 100%;
66
66
  height: 222px;
67
67
  /* height: 100vh; */
68
- background: url('/images/background-postmatch-template-02.jpg');
68
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-02.jpg');
69
69
  background-size: cover;
70
70
  background-repeat: no-repeat;
71
71
  display: flex;
@@ -68,7 +68,7 @@ const props = defineProps({
68
68
  width: 100%;
69
69
  height: 222px;
70
70
  /* height: 100vh; */
71
- background: url('/images/background-postmatch-template-01.jpg');
71
+ background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-01.jpg');
72
72
  background-size: cover;
73
73
  background-repeat: no-repeat;
74
74
  display: flex;