@golstats/gsc-reports 1.0.20 → 1.0.22

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 (32) hide show
  1. package/README.md +2 -2
  2. package/dist/{FilterConditions-55d68355-BUvCA8gG-DOPuF6DO-7eu1Svgi.js → FilterConditions-55d68355-BUvCA8gG-DOPuF6DO-P9MnDxsi.js} +1 -1
  3. package/dist/{FilterField-59a73e38-C85AzksG-DmuvTtAz-BmNm5paO.js → FilterField-59a73e38-C85AzksG-DmuvTtAz-CbE6LlTK.js} +1 -1
  4. package/dist/{FilterSubcategories-a9b32cc9-B7ERo60D-DtViHC0Z-C1n4t3nS.js → FilterSubcategories-a9b32cc9-B7ERo60D-DtViHC0Z-NjE5EJDL.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 +5 -5
  9. package/dist/{index-DoqzReEF.js → index-CVXgGOzI.js} +1768 -1753
  10. package/package.json +2 -2
  11. package/src/components/TemplatesSection.vue +1 -0
  12. package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -246
  13. package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -249
  14. package/src/components/elementsTemplates/ModalRenameReporte.vue +330 -330
  15. package/src/components/elementsTemplates/ModalRenameTemplate.vue +337 -337
  16. package/src/components/elementsTemplates/ModalSoloEscritorio.vue +83 -83
  17. package/src/components/elementsTemplates/ModalduplicateTemplate.vue +300 -300
  18. package/src/components/elementsTemplates/TemplateItem.vue +11 -1
  19. package/src/components/elementsTemplates/TooltipReportOptions.vue +97 -97
  20. package/src/components/elementsTemplates/TooltipTemplateOptions.vue +168 -161
  21. package/src/components/filters.vue +935 -935
  22. package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
  23. package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
  24. package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +463 -463
  25. package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +462 -462
  26. package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +164 -164
  27. package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +163 -163
  28. package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
  29. package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
  30. package/src/index.js +4 -4
  31. package/src/types.d.ts +45 -45
  32. package/src/utils/dateUtils.js +52 -52
@@ -1,97 +1,97 @@
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
+ <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,161 +1,168 @@
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>
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 v-if="canEdit" 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 v-if="canEdit" 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 v-if="canEdit" 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 props = defineProps({
50
+ canEdit: {
51
+ type: Boolean,
52
+ default: true,
53
+ },
54
+ })
55
+
56
+ const emit = defineEmits(['generar-reporte', 'renombrar', 'editar', 'duplicar', 'eliminar'])
57
+ </script>
58
+
59
+ <style scoped>
60
+ .tooltip-template-options {
61
+ position: absolute;
62
+ top: 48px;
63
+ right: 20px;
64
+ width: 215px;
65
+ height: auto;
66
+ background: #2e3b46;
67
+ border-radius: 10px;
68
+ box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
69
+ padding: 8px 0 8px 0;
70
+ z-index: 3000;
71
+ font-family: Poppins-Regular;
72
+ }
73
+ ul {
74
+ list-style: none;
75
+ margin: 0;
76
+ padding: 0;
77
+ }
78
+ .option {
79
+ display: flex;
80
+ align-items: center;
81
+ color: #fff;
82
+ font-family: Poppins-Regular;
83
+ font-size: 13px;
84
+ font-weight: normal;
85
+ font-stretch: normal;
86
+ font-style: normal;
87
+ line-height: 1.5;
88
+ letter-spacing: normal;
89
+ text-align: left;
90
+ padding: 8px 16px 8px 14px;
91
+ cursor: pointer;
92
+ transition:
93
+ background 0.2s,
94
+ color 0.2s;
95
+ gap: 14px;
96
+ }
97
+ .option:hover {
98
+ background: #434f59;
99
+ color: #cbee6b;
100
+ }
101
+ .icon {
102
+ width: 17px;
103
+ height: 17px;
104
+ display: inline-block;
105
+ background-size: contain;
106
+ background-repeat: no-repeat;
107
+ object-fit: contain;
108
+ }
109
+ .icon-doc {
110
+ background-image: url('https://img.icons8.com/ios-filled/24/cbee6b/document--v1.png');
111
+ }
112
+ .icon-rename {
113
+ background-image: url('https://img.icons8.com/ios-filled/24/cbee6b/replace.png');
114
+ }
115
+
116
+ .divider {
117
+ width: 100%;
118
+ height: 1px;
119
+ background: #3d4a54;
120
+ margin: 6px 0 0 0;
121
+ }
122
+ .autogen-row {
123
+ display: flex;
124
+ align-items: center;
125
+ gap: 10px;
126
+ margin-top: 7px;
127
+ padding: 10px 14px 12px 14px;
128
+ }
129
+ .switch {
130
+ display: flex;
131
+ align-items: center;
132
+ cursor: pointer;
133
+ }
134
+ .switch-track {
135
+ width: 28px;
136
+ height: 16px;
137
+ background: transparent;
138
+ border-radius: 10px;
139
+ position: relative;
140
+ transition: background 0.2s;
141
+ border: 1px solid #fff;
142
+ }
143
+ .switch-thumb {
144
+ width: 12px;
145
+ height: 12px;
146
+ background: #cbee6b;
147
+ border-radius: 50%;
148
+ position: absolute;
149
+ top: 2px;
150
+ left: 1px;
151
+ transition: left 0.2s;
152
+ box-shadow: 0 1px 4px 0 rgba(203, 238, 107, 0.15);
153
+ }
154
+ .switch-thumb.on {
155
+ left: 14px;
156
+ }
157
+ .autogen-label {
158
+ color: #fff;
159
+ font-family: Poppins-Regular;
160
+ font-size: 13px;
161
+ font-weight: normal;
162
+ font-stretch: normal;
163
+ font-style: normal;
164
+ line-height: 1.5;
165
+ letter-spacing: normal;
166
+ text-align: left;
167
+ }
168
+ </style>