@golstats/gsc-reports 1.0.35 → 1.0.37
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-BUvCA8gG-B9ZYfWlj-G_MlTXrw.js → FilterConditions-55d68355-BUvCA8gG-BgesEQ5y-DrSEkUL0.js} +24 -24
- package/dist/{FilterField-59a73e38-C85AzksG-BwFrSJDM-DHSWHEFH.js → FilterField-59a73e38-C85AzksG-B74SN9-k-BeKkLIXL.js} +8 -8
- package/dist/{FilterSubcategories-a9b32cc9-B7ERo60D-D0LNP6hE-gzPlGiqa.js → FilterSubcategories-a9b32cc9-B7ERo60D-CLS0i9LD-CAcJTNTj.js} +6 -6
- 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 +153 -153
- package/dist/{index-CmyyUVa5.js → index-FY3s5bCZ.js} +35485 -35425
- package/package.json +2 -2
- package/src/components/TemplatesSection.vue +5 -0
- 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/gsc-reports.vue +15 -6
- 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 +463 -463
- package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +462 -462
- package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +164 -164
- package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +163 -163
- 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,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<GSCTemplateReportMaker ref="reportTemplateMaker" :token="token" />
|
|
2
|
+
<GSCTemplateReportMaker ref="reportTemplateMaker" :token="token" @close="closeReport" />
|
|
3
3
|
<div ref="containerRef" class="reports-container">
|
|
4
4
|
<ModalSoloEscritorio v-if="showMobileWarning" @toHome="toHome" />
|
|
5
5
|
<h1 class="title">Mis reportes</h1>
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
</div>
|
|
97
97
|
</div>
|
|
98
98
|
<TemplatesSection
|
|
99
|
+
ref="templatesSectionRef"
|
|
99
100
|
v-if="activeTab === 'templates'"
|
|
100
101
|
:userId="userId"
|
|
101
102
|
:token="token"
|
|
@@ -162,6 +163,7 @@ const showModalCreateTemplate = ref(false)
|
|
|
162
163
|
const searchQuery = ref('')
|
|
163
164
|
const searchQueryReports = ref('')
|
|
164
165
|
const reportTemplateMaker = ref(null)
|
|
166
|
+
const templatesSectionRef = ref(null)
|
|
165
167
|
|
|
166
168
|
const emit = defineEmits(['toHome', 'download-report'])
|
|
167
169
|
|
|
@@ -238,14 +240,21 @@ function onDownloadReport(report) {
|
|
|
238
240
|
function toHome() {
|
|
239
241
|
emit('toHome')
|
|
240
242
|
}
|
|
243
|
+
|
|
244
|
+
function closeReport() {
|
|
245
|
+
// Actualizar los templates cuando se cierra el reporte
|
|
246
|
+
if (templatesSectionRef.value) {
|
|
247
|
+
templatesSectionRef.value.obtenerTemplates()
|
|
248
|
+
}
|
|
249
|
+
}
|
|
241
250
|
</script>
|
|
242
251
|
<style>
|
|
243
252
|
.grid-stack-item-content {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
253
|
+
background: #3498db;
|
|
254
|
+
color: white;
|
|
255
|
+
text-align: center;
|
|
256
|
+
padding: 20px;
|
|
257
|
+
box-sizing: border-box;
|
|
249
258
|
overflow-y: hidden !important;
|
|
250
259
|
overflow-x: hidden !important;
|
|
251
260
|
box-shadow: 0 3px 14px 0 rgba(0, 0, 0, 0.25);
|