@golstats/gsc-reports 1.0.2 → 1.0.4

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 (72) hide show
  1. package/README.md +2 -2
  2. package/dist/{FilterConditions-55d68355-C5NIJbY6-BIYJFxA1-ChzU0yno.js → FilterConditions-55d68355-C5NIJbY6-BIYJFxA1-CwwaLnlT.js} +1 -1
  3. package/dist/{FilterField-59a73e38-DO8nYLqs-BlMX75HQ-DcD79wEB.js → FilterField-59a73e38-DO8nYLqs-BlMX75HQ-Cpg_7BlO.js} +1 -1
  4. package/dist/{FilterSubcategories-a9b32cc9-DlkHni1L-DbepEYoC-4bY4RGa1.js → FilterSubcategories-a9b32cc9-DlkHni1L-DbepEYoC-Dng5_lp-.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 +39 -39
  9. package/dist/{index-Cdmd9KsD.js → index-B_k9p-67.js} +4377 -4356
  10. package/package.json +1 -1
  11. package/src/components/TemplatesSection.vue +1 -0
  12. package/src/components/elementsTemplates/ModalCreateTemplate.vue +14 -3
  13. package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -239
  14. package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -242
  15. package/src/components/elementsTemplates/ModalGenerarReporte.vue +9 -2
  16. package/src/components/elementsTemplates/ModalRenameReporte.vue +330 -323
  17. package/src/components/elementsTemplates/ModalRenameTemplate.vue +337 -330
  18. package/src/components/elementsTemplates/ModalSoloEscritorio.vue +83 -83
  19. package/src/components/elementsTemplates/ModalduplicateTemplate.vue +300 -293
  20. package/src/components/elementsTemplates/TemplateItem.vue +19 -10
  21. package/src/components/elementsTemplates/TooltipReportOptions.vue +97 -85
  22. package/src/components/elementsTemplates/TooltipTemplateOptions.vue +161 -141
  23. package/src/components/filters.vue +935 -935
  24. package/src/components/template-report-maker/CoverPage.vue +636 -636
  25. package/src/components/template-report-maker/CoverSelector.vue +165 -165
  26. package/src/components/template-report-maker/ReportView.vue +66 -66
  27. package/src/components/template-report-maker/TemplateReportPage.vue +398 -398
  28. package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
  29. package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
  30. package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +463 -463
  31. package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +462 -462
  32. package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +164 -164
  33. package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +163 -163
  34. package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
  35. package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
  36. package/src/index.js +4 -4
  37. package/src/types.d.ts +45 -45
  38. package/src/utils/dateUtils.js +52 -52
  39. package/dist/icons/icn-close.svg +0 -5
  40. package/dist/icons/icn-delete-delete.svg +0 -3
  41. package/dist/icons/icn-delete.svg +0 -3
  42. package/dist/icons/icn-download.svg +0 -4
  43. package/dist/icons/icn-duplicate-white.svg +0 -11
  44. package/dist/icons/icn-duplicate.svg +0 -11
  45. package/dist/icons/icn-edit.svg +0 -11
  46. package/dist/icons/icn-editar-withe.svg +0 -3
  47. package/dist/icons/icn-rename-white.svg +0 -3
  48. package/dist/icons/icn-rename.svg +0 -3
  49. package/dist/icons/icn-report-white.svg +0 -11
  50. package/dist/icons/icn-report.svg +0 -11
  51. package/dist/images/background-postmatch-template-01.jpg +0 -0
  52. package/dist/images/background-postmatch-template-02.jpg +0 -0
  53. package/dist/images/canchaRPH.svg +0 -30
  54. package/dist/reports/background-postmatch-template-01@2x.jpg +0 -0
  55. package/dist/reports/background-postmatch-template-02@2x.jpg +0 -0
  56. package/dist/reports/thumbnail-portada-01@2x.png +0 -0
  57. package/dist/reports/thumbnail-portada-02@2x.png +0 -0
  58. package/dist/reports/thumbnail-portada-03@2x.png +0 -0
  59. package/dist/reports/thumbnail-portada-04@2x.png +0 -0
  60. package/dist/reports/thumbnail-portada-prmatch-01@2x.png +0 -0
  61. package/dist/reports/thumbnail-portada-prmatch-02@2x.png +0 -0
  62. package/dist/reports/thumbnail-portada-prmatch-03@2x.png +0 -0
  63. package/dist/reports/thumbnail-portada-prmatch-04@2x.png +0 -0
  64. package/dist/thumb1.png +0 -0
  65. package/dist/thumbnail-portada-01.jpg +0 -0
  66. package/dist/thumbnail-portada-02.jpg +0 -0
  67. package/dist/thumbnail-portada-03.jpg +0 -0
  68. package/dist/thumbnail-portada-04.jpg +0 -0
  69. package/dist/thumbnail-portada-prmatch-01.jpg +0 -0
  70. package/dist/thumbnail-portada-prmatch-02.jpg +0 -0
  71. package/dist/thumbnail-portada-prmatch-03.jpg +0 -0
  72. package/dist/thumbnail-portada-prmatch-04.jpg +0 -0
@@ -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">
@@ -1,85 +1,97 @@
1
- <template>
2
- <div class="tooltip-report-options">
3
- <ul>
4
- <li class="option" @click="$emit('renombrar')">
5
- <img src="/icons/icn-rename.svg" alt="Renombrar reporte" class="icon" />
6
- Renombrar reporte
7
- </li>
8
- <li class="option" @click="$emit('descargar')">
9
- <img src="/icons/icn-download.svg" alt="Descargar reporte" class="icon" />
10
- Descargar reporte
11
- </li>
12
- <li class="option" @click="$emit('eliminar')">
13
- <img src="/icons/icn-delete.svg" alt="Eliminar reporte" class="icon" />
14
- Eliminar reporte
15
- </li>
16
- </ul>
17
- </div>
18
- </template>
19
-
20
- <script setup>
21
- const emit = defineEmits([
22
- 'ver-reporte',
23
- 'renombrar',
24
- 'editar',
25
- 'duplicar',
26
- 'descargar',
27
- 'eliminar',
28
- ])
29
- </script>
30
-
31
- <style scoped>
32
- .tooltip-report-options {
33
- position: absolute;
34
- top: 44px;
35
- right: 20px;
36
- width: 215px;
37
- height: 115px;
38
- background: #2e3b46;
39
- border-radius: 10px;
40
- box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
41
- padding: 8px 0 0 0;
42
- z-index: 3000;
43
- font-family: Poppins-Regular;
44
- }
45
-
46
- ul {
47
- list-style: none;
48
- margin: 0;
49
- padding: 0;
50
- }
51
-
52
- .option {
53
- display: flex;
54
- align-items: center;
55
- color: #fff;
56
- font-family: Poppins-Regular;
57
- font-size: 13px;
58
- font-weight: normal;
59
- font-stretch: normal;
60
- font-style: normal;
61
- line-height: 1.5;
62
- letter-spacing: normal;
63
- text-align: left;
64
- padding: 8px 16px 8px 14px;
65
- cursor: pointer;
66
- transition:
67
- background 0.2s,
68
- color 0.2s;
69
- gap: 14px;
70
- }
71
-
72
- .option:hover {
73
- background: #434f59;
74
- color: #cbee6b;
75
- }
76
-
77
- .icon {
78
- width: 17px;
79
- height: 17px;
80
- display: inline-block;
81
- background-size: contain;
82
- background-repeat: no-repeat;
83
- object-fit: contain;
84
- }
85
- </style>
1
+ <template>
2
+ <div class="tooltip-report-options">
3
+ <ul>
4
+ <li class="option" @click="$emit('renombrar')">
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-rename.svg"
7
+ alt="Renombrar reporte"
8
+ class="icon"
9
+ />
10
+ Renombrar reporte
11
+ </li>
12
+ <li class="option" @click="$emit('descargar')">
13
+ <img
14
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-download.svg"
15
+ alt="Descargar reporte"
16
+ class="icon"
17
+ />
18
+ Descargar reporte
19
+ </li>
20
+ <li class="option" @click="$emit('eliminar')">
21
+ <img
22
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-delete.svg"
23
+ alt="Eliminar reporte"
24
+ class="icon"
25
+ />
26
+ Eliminar reporte
27
+ </li>
28
+ </ul>
29
+ </div>
30
+ </template>
31
+
32
+ <script setup>
33
+ const emit = defineEmits([
34
+ 'ver-reporte',
35
+ 'renombrar',
36
+ 'editar',
37
+ 'duplicar',
38
+ 'descargar',
39
+ 'eliminar',
40
+ ])
41
+ </script>
42
+
43
+ <style scoped>
44
+ .tooltip-report-options {
45
+ position: absolute;
46
+ top: 44px;
47
+ right: 20px;
48
+ width: 215px;
49
+ height: 115px;
50
+ background: #2e3b46;
51
+ border-radius: 10px;
52
+ box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
53
+ padding: 8px 0 0 0;
54
+ z-index: 3000;
55
+ font-family: Poppins-Regular;
56
+ }
57
+
58
+ ul {
59
+ list-style: none;
60
+ margin: 0;
61
+ padding: 0;
62
+ }
63
+
64
+ .option {
65
+ display: flex;
66
+ align-items: center;
67
+ color: #fff;
68
+ font-family: Poppins-Regular;
69
+ font-size: 13px;
70
+ font-weight: normal;
71
+ font-stretch: normal;
72
+ font-style: normal;
73
+ line-height: 1.5;
74
+ letter-spacing: normal;
75
+ text-align: left;
76
+ padding: 8px 16px 8px 14px;
77
+ cursor: pointer;
78
+ transition:
79
+ background 0.2s,
80
+ color 0.2s;
81
+ gap: 14px;
82
+ }
83
+
84
+ .option:hover {
85
+ background: #434f59;
86
+ color: #cbee6b;
87
+ }
88
+
89
+ .icon {
90
+ width: 17px;
91
+ height: 17px;
92
+ display: inline-block;
93
+ background-size: contain;
94
+ background-repeat: no-repeat;
95
+ object-fit: contain;
96
+ }
97
+ </style>
@@ -1,141 +1,161 @@
1
- <template>
2
- <div class="tooltip-template-options">
3
- <ul>
4
- <li class="option" @click="$emit('generar-reporte')">
5
- <img src="/icons/icn-report.svg" alt="Generar reporte" class="icon" />
6
- Generar reporte
7
- </li>
8
- <li class="option" @click="$emit('renombrar')">
9
- <img src="/icons/icn-rename.svg" alt="Renombrar template" class="icon" />
10
- Renombrar template
11
- </li>
12
- <li class="option" @click="$emit('editar')">
13
- <img src="/icons/icn-edit.svg" alt="Editar template" class="icon" />
14
- Editar template
15
- </li>
16
- <li class="option" @click="$emit('duplicar')">
17
- <img src="/icons/icn-duplicate.svg" alt="Duplicar template" class="icon" />
18
- Duplicar template
19
- </li>
20
- <li class="option" @click="$emit('eliminar')">
21
- <img src="/icons/icn-delete.svg" alt="Eliminar template" class="icon" />
22
- Eliminar template
23
- </li>
24
- </ul>
25
- </div>
26
- </template>
27
-
28
- <script setup>
29
- const emit = defineEmits(['generar-reporte', 'renombrar', 'editar', 'duplicar', 'eliminar'])
30
- </script>
31
-
32
- <style scoped>
33
- .tooltip-template-options {
34
- position: absolute;
35
- top: 48px;
36
- right: 20px;
37
- width: 215px;
38
- height: 185px;
39
- background: #2e3b46;
40
- border-radius: 10px;
41
- box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
42
- padding: 8px 0 0 0;
43
- z-index: 3000;
44
- font-family: Poppins-Regular;
45
- }
46
- ul {
47
- list-style: none;
48
- margin: 0;
49
- padding: 0;
50
- }
51
- .option {
52
- display: flex;
53
- align-items: center;
54
- color: #fff;
55
- font-family: Poppins-Regular;
56
- font-size: 13px;
57
- font-weight: normal;
58
- font-stretch: normal;
59
- font-style: normal;
60
- line-height: 1.5;
61
- letter-spacing: normal;
62
- text-align: left;
63
- padding: 8px 16px 8px 14px;
64
- cursor: pointer;
65
- transition:
66
- background 0.2s,
67
- color 0.2s;
68
- gap: 14px;
69
- }
70
- .option:hover {
71
- background: #434f59;
72
- color: #cbee6b;
73
- }
74
- .icon {
75
- width: 17px;
76
- height: 17px;
77
- display: inline-block;
78
- background-size: contain;
79
- background-repeat: no-repeat;
80
- object-fit: contain;
81
- }
82
- .icon-doc {
83
- background-image: url('https://img.icons8.com/ios-filled/24/cbee6b/document--v1.png');
84
- }
85
- .icon-rename {
86
- background-image: url('https://img.icons8.com/ios-filled/24/cbee6b/replace.png');
87
- }
88
-
89
- .divider {
90
- width: 100%;
91
- height: 1px;
92
- background: #3d4a54;
93
- margin: 6px 0 0 0;
94
- }
95
- .autogen-row {
96
- display: flex;
97
- align-items: center;
98
- gap: 10px;
99
- margin-top: 7px;
100
- padding: 10px 14px 12px 14px;
101
- }
102
- .switch {
103
- display: flex;
104
- align-items: center;
105
- cursor: pointer;
106
- }
107
- .switch-track {
108
- width: 28px;
109
- height: 16px;
110
- background: transparent;
111
- border-radius: 10px;
112
- position: relative;
113
- transition: background 0.2s;
114
- border: 1px solid #fff;
115
- }
116
- .switch-thumb {
117
- width: 12px;
118
- height: 12px;
119
- background: #cbee6b;
120
- border-radius: 50%;
121
- position: absolute;
122
- top: 2px;
123
- left: 1px;
124
- transition: left 0.2s;
125
- box-shadow: 0 1px 4px 0 rgba(203, 238, 107, 0.15);
126
- }
127
- .switch-thumb.on {
128
- left: 14px;
129
- }
130
- .autogen-label {
131
- color: #fff;
132
- font-family: Poppins-Regular;
133
- font-size: 13px;
134
- font-weight: normal;
135
- font-stretch: normal;
136
- font-style: normal;
137
- line-height: 1.5;
138
- letter-spacing: normal;
139
- text-align: left;
140
- }
141
- </style>
1
+ <template>
2
+ <div class="tooltip-template-options">
3
+ <ul>
4
+ <li class="option" @click="$emit('generar-reporte')">
5
+ <img
6
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-report.svg"
7
+ alt="Generar reporte"
8
+ class="icon"
9
+ />
10
+ Generar reporte
11
+ </li>
12
+ <li class="option" @click="$emit('renombrar')">
13
+ <img
14
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-rename.svg"
15
+ alt="Renombrar template"
16
+ class="icon"
17
+ />
18
+ Renombrar template
19
+ </li>
20
+ <li class="option" @click="$emit('editar')">
21
+ <img
22
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-edit.svg"
23
+ alt="Editar template"
24
+ class="icon"
25
+ />
26
+ Editar template
27
+ </li>
28
+ <li class="option" @click="$emit('duplicar')">
29
+ <img
30
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-duplicate.svg"
31
+ alt="Duplicar template"
32
+ class="icon"
33
+ />
34
+ Duplicar template
35
+ </li>
36
+ <li class="option" @click="$emit('eliminar')">
37
+ <img
38
+ src="https://golstatsimages.blob.core.windows.net/reports-images/icn-delete.svg"
39
+ alt="Eliminar template"
40
+ class="icon"
41
+ />
42
+ Eliminar template
43
+ </li>
44
+ </ul>
45
+ </div>
46
+ </template>
47
+
48
+ <script setup>
49
+ const emit = defineEmits(['generar-reporte', 'renombrar', 'editar', 'duplicar', 'eliminar'])
50
+ </script>
51
+
52
+ <style scoped>
53
+ .tooltip-template-options {
54
+ position: absolute;
55
+ top: 48px;
56
+ right: 20px;
57
+ width: 215px;
58
+ height: 185px;
59
+ background: #2e3b46;
60
+ border-radius: 10px;
61
+ box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
62
+ padding: 8px 0 0 0;
63
+ z-index: 3000;
64
+ font-family: Poppins-Regular;
65
+ }
66
+ ul {
67
+ list-style: none;
68
+ margin: 0;
69
+ padding: 0;
70
+ }
71
+ .option {
72
+ display: flex;
73
+ align-items: center;
74
+ color: #fff;
75
+ font-family: Poppins-Regular;
76
+ font-size: 13px;
77
+ font-weight: normal;
78
+ font-stretch: normal;
79
+ font-style: normal;
80
+ line-height: 1.5;
81
+ letter-spacing: normal;
82
+ text-align: left;
83
+ padding: 8px 16px 8px 14px;
84
+ cursor: pointer;
85
+ transition:
86
+ background 0.2s,
87
+ color 0.2s;
88
+ gap: 14px;
89
+ }
90
+ .option:hover {
91
+ background: #434f59;
92
+ color: #cbee6b;
93
+ }
94
+ .icon {
95
+ width: 17px;
96
+ height: 17px;
97
+ display: inline-block;
98
+ background-size: contain;
99
+ background-repeat: no-repeat;
100
+ object-fit: contain;
101
+ }
102
+ .icon-doc {
103
+ background-image: url('https://img.icons8.com/ios-filled/24/cbee6b/document--v1.png');
104
+ }
105
+ .icon-rename {
106
+ background-image: url('https://img.icons8.com/ios-filled/24/cbee6b/replace.png');
107
+ }
108
+
109
+ .divider {
110
+ width: 100%;
111
+ height: 1px;
112
+ background: #3d4a54;
113
+ margin: 6px 0 0 0;
114
+ }
115
+ .autogen-row {
116
+ display: flex;
117
+ align-items: center;
118
+ gap: 10px;
119
+ margin-top: 7px;
120
+ padding: 10px 14px 12px 14px;
121
+ }
122
+ .switch {
123
+ display: flex;
124
+ align-items: center;
125
+ cursor: pointer;
126
+ }
127
+ .switch-track {
128
+ width: 28px;
129
+ height: 16px;
130
+ background: transparent;
131
+ border-radius: 10px;
132
+ position: relative;
133
+ transition: background 0.2s;
134
+ border: 1px solid #fff;
135
+ }
136
+ .switch-thumb {
137
+ width: 12px;
138
+ height: 12px;
139
+ background: #cbee6b;
140
+ border-radius: 50%;
141
+ position: absolute;
142
+ top: 2px;
143
+ left: 1px;
144
+ transition: left 0.2s;
145
+ box-shadow: 0 1px 4px 0 rgba(203, 238, 107, 0.15);
146
+ }
147
+ .switch-thumb.on {
148
+ left: 14px;
149
+ }
150
+ .autogen-label {
151
+ color: #fff;
152
+ font-family: Poppins-Regular;
153
+ font-size: 13px;
154
+ font-weight: normal;
155
+ font-stretch: normal;
156
+ font-style: normal;
157
+ line-height: 1.5;
158
+ letter-spacing: normal;
159
+ text-align: left;
160
+ }
161
+ </style>