@golstats/gsc-reports 1.0.69 → 1.0.70
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/dist/{FilterConditions-55d68355-DMqzcKBO-DK952YDo-DWrT5QK-.js → FilterConditions-55d68355-DMqzcKBO-DK952YDo-Cij_NZg6.js} +1 -1
- package/dist/{FilterField-59a73e38-CNaE03Ge-Bmj2gWhm-CRYXfZsE.js → FilterField-59a73e38-CNaE03Ge-Bmj2gWhm-CBB7KZLF.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-_h5FCZ4r-6JcqVnpH-je8bJMph.js → FilterSubcategories-a9b32cc9-_h5FCZ4r-6JcqVnpH-CyLxoSVs.js} +1 -1
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +2 -2
- package/dist/{index-BhrnMDU1.js → index-MIBo93NJ.js} +9 -11
- package/package.json +1 -1
- package/src/components/elementsTemplates/ModalCreateTemplate.vue +0 -2
- package/src/components/elementsTemplates/ModalRenameReporte.vue +0 -2
- package/src/components/template-report-maker/TemplateReportPage.vue +0 -11
|
@@ -112337,11 +112337,11 @@ const _N = {
|
|
|
112337
112337
|
},
|
|
112338
112338
|
setup(r) {
|
|
112339
112339
|
const a = r, y = Uv(
|
|
112340
|
-
() => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-6JcqVnpH-
|
|
112340
|
+
() => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-6JcqVnpH-CyLxoSVs.js")
|
|
112341
112341
|
), D = Uv(
|
|
112342
|
-
() => import("./FilterConditions-55d68355-DMqzcKBO-DK952YDo-
|
|
112342
|
+
() => import("./FilterConditions-55d68355-DMqzcKBO-DK952YDo-Cij_NZg6.js")
|
|
112343
112343
|
), J = Uv(
|
|
112344
|
-
() => import("./FilterField-59a73e38-CNaE03Ge-Bmj2gWhm-
|
|
112344
|
+
() => import("./FilterField-59a73e38-CNaE03Ge-Bmj2gWhm-CBB7KZLF.js")
|
|
112345
112345
|
), M = [
|
|
112346
112346
|
{
|
|
112347
112347
|
name: "Sub categorías",
|
|
@@ -147963,13 +147963,11 @@ const {
|
|
|
147963
147963
|
// Valor por defecto, podrías hacerlo configurable
|
|
147964
147964
|
template_type: M.value === "pre" ? 1 : 2
|
|
147965
147965
|
// 1=prematch, 2=postmatch
|
|
147966
|
-
}
|
|
147967
|
-
console.log("toke mostrado es: ", y.token);
|
|
147968
|
-
const v = await Co.create({ headers: { Authorization: `${y.token}` } }).post(
|
|
147966
|
+
}, v = await Co.create({ headers: { Authorization: `${y.token}` } }).post(
|
|
147969
147967
|
"https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/templates",
|
|
147970
147968
|
_
|
|
147971
147969
|
);
|
|
147972
|
-
|
|
147970
|
+
D("template-created", v.data), D("open-modal-new-template", (e = v.data) == null ? void 0 : e.data), D("close");
|
|
147973
147971
|
} catch (_) {
|
|
147974
147972
|
console.error("Error al guardar template:", _), _.response && _.response.status === 409 && (m.value = "Ya existe un template con el mismo nombre");
|
|
147975
147973
|
} finally {
|
|
@@ -148070,7 +148068,7 @@ const {
|
|
|
148070
148068
|
])
|
|
148071
148069
|
]));
|
|
148072
148070
|
}
|
|
148073
|
-
}, O8 = /* @__PURE__ */ ol(Gpe, [["__scopeId", "data-v-
|
|
148071
|
+
}, O8 = /* @__PURE__ */ ol(Gpe, [["__scopeId", "data-v-a34cf1b5"]]), Hpe = { class: "modal-overlay" }, Xpe = { class: "modal-content" }, Jpe = { class: "modal-body" }, Zpe = {
|
|
148074
148072
|
key: 0,
|
|
148075
148073
|
class: "error-message-container"
|
|
148076
148074
|
}, Kpe = {
|
|
@@ -150423,8 +150421,8 @@ ${n}`;
|
|
|
150423
150421
|
);
|
|
150424
150422
|
async function t() {
|
|
150425
150423
|
var m;
|
|
150426
|
-
if (
|
|
150427
|
-
|
|
150424
|
+
if (!(J.value.trim().length < 3)) {
|
|
150425
|
+
M.value = !0, x.value = "";
|
|
150428
150426
|
try {
|
|
150429
150427
|
await Co.create({ headers: { Authorization: `${y.token}` } }).put(
|
|
150430
150428
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${y.userId}/reports/${y.reportId}/rename`,
|
|
@@ -150496,7 +150494,7 @@ ${n}`;
|
|
|
150496
150494
|
])
|
|
150497
150495
|
]));
|
|
150498
150496
|
}
|
|
150499
|
-
}, $ge = /* @__PURE__ */ ol(Qge, [["__scopeId", "data-v-
|
|
150497
|
+
}, $ge = /* @__PURE__ */ ol(Qge, [["__scopeId", "data-v-a6ea9581"]]), e1e = { class: "modal-overlay" }, t1e = { class: "modal-content" }, r1e = { class: "modal-footer" }, n1e = ["disabled"], i1e = ["disabled"], a1e = {
|
|
150500
150498
|
__name: "ModalDeleteReport",
|
|
150501
150499
|
props: {
|
|
150502
150500
|
reportId: {
|
package/package.json
CHANGED
|
@@ -100,14 +100,12 @@ const saveTemplate = async () => {
|
|
|
100
100
|
template_type: selectedType.value === 'pre' ? 1 : 2, // 1=prematch, 2=postmatch
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
console.log('toke mostrado es: ', props.token)
|
|
104
103
|
const axiosInstance = axios.create({ headers: { Authorization: `${props.token}` } })
|
|
105
104
|
const response = await axiosInstance.post(
|
|
106
105
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/templates`,
|
|
107
106
|
payload,
|
|
108
107
|
)
|
|
109
108
|
|
|
110
|
-
console.log('response.data', response.data)
|
|
111
109
|
// Emitir evento con el template creado
|
|
112
110
|
emit('template-created', response.data)
|
|
113
111
|
|
|
@@ -14,7 +14,6 @@ class CustomEngine extends GridStackEngine {
|
|
|
14
14
|
|
|
15
15
|
/** refined this to move the node to the given new location */
|
|
16
16
|
public override moveNode(node: GridStackNode, o: GridStackMoveOpts): boolean {
|
|
17
|
-
console.log('CustomEngine.moveNode', node, o)
|
|
18
17
|
const item = itemsMap.get(node.id)
|
|
19
18
|
// keep the same original X and Width and let base do it all...
|
|
20
19
|
if (item) {
|
|
@@ -40,7 +39,6 @@ class CustomEngine extends GridStackEngine {
|
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
43
|
-
console.log('beforeeeeeeeeeeeeeeeeeeeeeeeeeeee')
|
|
44
42
|
GridStack.registerEngine(CustomEngine) // globally set our custom class
|
|
45
43
|
let grid = null
|
|
46
44
|
const props = defineProps({
|
|
@@ -115,11 +113,9 @@ const callback = (entries, observer) => {
|
|
|
115
113
|
|
|
116
114
|
emit('intersection-changed', entry.isIntersecting)
|
|
117
115
|
/*if (entry.isIntersecting) {
|
|
118
|
-
console.log('Element is in the viewport!');
|
|
119
116
|
emit('intersection-changed', true)
|
|
120
117
|
// Perform actions when the element is visible
|
|
121
118
|
} else {
|
|
122
|
-
console.log('Element is out of the viewport!');
|
|
123
119
|
// Perform actions when the element is not visible
|
|
124
120
|
emit('intersection-changed', entry.isIntersecting && entry.isVisible)
|
|
125
121
|
}*/
|
|
@@ -161,17 +157,13 @@ onMounted(async () => {
|
|
|
161
157
|
})
|
|
162
158
|
|
|
163
159
|
emitter.on('add-view', (pageId) => {
|
|
164
|
-
console.log('add-view', pageId, props.page)
|
|
165
160
|
if (props.page.id === pageId) {
|
|
166
|
-
console.log('add-view', props.page.id)
|
|
167
161
|
if (grid) {
|
|
168
162
|
const newWidget = {
|
|
169
163
|
w: 4,
|
|
170
164
|
h: 4
|
|
171
165
|
}
|
|
172
166
|
const willFit = grid.willItFit(0, 0, newWidget.w, newWidget.h, true)
|
|
173
|
-
console.log('------------------------------------------------------------')
|
|
174
|
-
console.log('willFit', willFit)
|
|
175
167
|
if (willFit) {
|
|
176
168
|
const widget = grid.addWidget(
|
|
177
169
|
newWidget
|
|
@@ -196,9 +188,6 @@ emitter.on('add-view', (pageId) => {
|
|
|
196
188
|
componentProps: {}
|
|
197
189
|
}
|
|
198
190
|
})
|
|
199
|
-
console.log('widget:', widget)
|
|
200
|
-
console.log('widget.gs-x', widget.getAttribute('gs-x'))
|
|
201
|
-
console.log('widget.gs-y', widget.getAttribute('gs-y'))
|
|
202
191
|
} else {
|
|
203
192
|
console.warn('No space to add new widget')
|
|
204
193
|
}
|