@golstats/gsc-reports 1.0.56 → 1.0.57
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-C_38-UtQ-I4EI-PPf.js → FilterConditions-55d68355-DMqzcKBO-CgZ2Bws6-BA3vKTMH.js} +1 -1
- package/dist/{FilterField-59a73e38-CNaE03Ge-BFSDTkDc-DMVHttnm.js → FilterField-59a73e38-CNaE03Ge-D6Qm0WVk-CYhTlEKz.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-_h5FCZ4r-BfnH8dG2-42c1SG74.js → FilterSubcategories-a9b32cc9-_h5FCZ4r-BJzGxe0g-Cy8PlaUW.js} +1 -1
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +4 -4
- package/dist/{index-DXR88fvk.js → index-B9F2yNJu.js} +32 -24
- package/package.json +2 -2
- package/src/components/template-report-maker/CoverPage.vue +636 -636
- package/src/components/template-report-maker/CoverSelector.vue +165 -165
- package/src/components/template-report-maker/ReportView.vue +66 -66
- package/src/components/template-report-maker/TemplateReportPage.vue +398 -398
- package/dist/images/cancha-horizontal.jpg +0 -0
- package/dist/images/canchaRPH.svg +0 -30
|
@@ -101447,7 +101447,7 @@ const Jb = /* @__PURE__ */ oS(lS), Kb = 1, cS = 800, Xb = 300, uS = -46, Zb = 10
|
|
|
101447
101447
|
], 512)
|
|
101448
101448
|
], 4));
|
|
101449
101449
|
}
|
|
101450
|
-
}, hS = /* @__PURE__ */ qy(dS, [["__scopeId", "data-v-
|
|
101450
|
+
}, hS = /* @__PURE__ */ qy(dS, [["__scopeId", "data-v-c9484b3e"]]), pS = {
|
|
101451
101451
|
__name: "AttackDirection",
|
|
101452
101452
|
props: {
|
|
101453
101453
|
team: {
|
|
@@ -103444,7 +103444,7 @@ const Kk = { class: "volumetric-section-container" }, Xk = {
|
|
|
103444
103444
|
])
|
|
103445
103445
|
]));
|
|
103446
103446
|
}
|
|
103447
|
-
}, d_ = /* @__PURE__ */ qy($k, [["__scopeId", "data-v-
|
|
103447
|
+
}, d_ = /* @__PURE__ */ qy($k, [["__scopeId", "data-v-80397fae"]]);
|
|
103448
103448
|
function I5(r, a) {
|
|
103449
103449
|
return function() {
|
|
103450
103450
|
return r.apply(a, arguments);
|
|
@@ -112337,11 +112337,11 @@ const _D = {
|
|
|
112337
112337
|
},
|
|
112338
112338
|
setup(r) {
|
|
112339
112339
|
const a = r, m = jv(
|
|
112340
|
-
() => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-
|
|
112340
|
+
() => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-BJzGxe0g-Cy8PlaUW.js")
|
|
112341
112341
|
), N = jv(
|
|
112342
|
-
() => import("./FilterConditions-55d68355-DMqzcKBO-
|
|
112342
|
+
() => import("./FilterConditions-55d68355-DMqzcKBO-CgZ2Bws6-BA3vKTMH.js")
|
|
112343
112343
|
), K = jv(
|
|
112344
|
-
() => import("./FilterField-59a73e38-CNaE03Ge-
|
|
112344
|
+
() => import("./FilterField-59a73e38-CNaE03Ge-D6Qm0WVk-CYhTlEKz.js")
|
|
112345
112345
|
), C = [
|
|
112346
112346
|
{
|
|
112347
112347
|
name: "Sub categorías",
|
|
@@ -136784,7 +136784,7 @@ function rle(r, a, m, N, K, C) {
|
|
|
136784
136784
|
Lr("", !0)
|
|
136785
136785
|
]);
|
|
136786
136786
|
}
|
|
136787
|
-
const nle = /* @__PURE__ */ H1(Wse, [["render", rle], ["__scopeId", "data-v-
|
|
136787
|
+
const nle = /* @__PURE__ */ H1(Wse, [["render", rle], ["__scopeId", "data-v-6a97d30b"]]), z3 = (r, a) => {
|
|
136788
136788
|
let m = {};
|
|
136789
136789
|
return r.forEach((N, K) => {
|
|
136790
136790
|
K == 3 && (a[0] == 35 || a[0] == 54) && (a[K] == 2 ? a[K] = 1 : a[K] = 2), K == 2 && (a[0] == 35 || a[0] == 54) && (a[K] == 1 ? a[K] = 2 : a[K] == 2 && (a[K] = 1)), m[N] = a[K];
|
|
@@ -136925,7 +136925,7 @@ const t8 = [12, 55, 35, 54], r8 = [510], n8 = [330, 331, 333, 334, 423, 424, 343
|
|
|
136925
136925
|
},
|
|
136926
136926
|
xG() {
|
|
136927
136927
|
const r = /* @__PURE__ */ new Set();
|
|
136928
|
-
let a = this.xgPlays.reduce((m, N) => (r.has(N.moment_of_play)
|
|
136928
|
+
let a = this.xgPlays.reduce((m, N) => (!r.has(N.moment_of_play) && N.xG2 && (r.add(N.moment_of_play), m += N.xG2 || 0), m), 0);
|
|
136929
136929
|
return ile(a, 2);
|
|
136930
136930
|
},
|
|
136931
136931
|
gxInfoItems() {
|
|
@@ -137045,7 +137045,7 @@ function yle(r, a, m, N, K, C) {
|
|
|
137045
137045
|
])
|
|
137046
137046
|
], 4);
|
|
137047
137047
|
}
|
|
137048
|
-
const vle = /* @__PURE__ */ H1(ale, [["render", yle], ["__scopeId", "data-v-
|
|
137048
|
+
const vle = /* @__PURE__ */ H1(ale, [["render", yle], ["__scopeId", "data-v-c65308b3"]]);
|
|
137049
137049
|
let B3 = null;
|
|
137050
137050
|
const xle = {
|
|
137051
137051
|
name: "XgMain",
|
|
@@ -137324,7 +137324,8 @@ const U3 = /* @__PURE__ */ H1(xle, [["render", _le], ["__scopeId", "data-v-7550c
|
|
|
137324
137324
|
Ee("div", {
|
|
137325
137325
|
class: It({
|
|
137326
137326
|
"field-possession-component": r.viewId === 8,
|
|
137327
|
-
"timeline-component": r.viewId === 4
|
|
137327
|
+
"timeline-component": r.viewId === 4,
|
|
137328
|
+
"field-data-by-zones-component": r.viewId === 9
|
|
137328
137329
|
})
|
|
137329
137330
|
}, [
|
|
137330
137331
|
hd(_.$slots, "default", {}, void 0, !0)
|
|
@@ -137332,7 +137333,7 @@ const U3 = /* @__PURE__ */ H1(xle, [["render", _le], ["__scopeId", "data-v-7550c
|
|
|
137332
137333
|
])
|
|
137333
137334
|
]));
|
|
137334
137335
|
}
|
|
137335
|
-
}, Ile = /* @__PURE__ */ oh(Rle, [["__scopeId", "data-v-
|
|
137336
|
+
}, Ile = /* @__PURE__ */ oh(Rle, [["__scopeId", "data-v-d2181cf1"]]);
|
|
137336
137337
|
function Ple(r) {
|
|
137337
137338
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
137338
137339
|
}
|
|
@@ -141190,9 +141191,9 @@ class fy {
|
|
|
141190
141191
|
i = d;
|
|
141191
141192
|
break;
|
|
141192
141193
|
}
|
|
141193
|
-
i && (a.view.componentProps.gameNumber = i, a.view.filterMultiple = { gameNumber: i });
|
|
141194
|
+
console.log("************************************************** newGameNumberToShow: ", i), i && (console.log("2 ************************************************** newGameNumberToShow: entro", i), a.view.componentProps.gameNumber = i, a.view.filterMultiple = { gameNumber: i });
|
|
141194
141195
|
}
|
|
141195
|
-
Li.emit("component-props-updated", {
|
|
141196
|
+
console.log(" /////////---------------------------------------> ", a.view.filterMultiple), Li.emit("component-props-updated", {
|
|
141196
141197
|
viewId: a.view.id,
|
|
141197
141198
|
componentProps: a.view.componentProps,
|
|
141198
141199
|
dynamicFilters: h
|
|
@@ -141398,7 +141399,7 @@ class fy {
|
|
|
141398
141399
|
updateSummary({ dynamicFilters: a }) {
|
|
141399
141400
|
const m = this.childViews[0], N = document.querySelector(`[gs-id="${m.view.id}"]`), K = m.grid;
|
|
141400
141401
|
if (console.log("sumaryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyYYYYYYYYYYYYYYYYYy"), console.log("childView", m), console.log("dynamicFilters", a), m && N && K) {
|
|
141401
|
-
const C =
|
|
141402
|
+
const C = a[0], x = `min_column${C ? "_2" : ""}`, e = `min_row${C ? "_2" : ""}`, g = `max_column${C ? "_2" : ""}`, u = `max_row${C ? "_2" : ""}`, t = `colspan${C ? "_2" : ""}`, _ = `rowspan${C ? "_2" : ""}`, y = m.view.coreView[t], v = m.view.coreView[_], h = m.view.coreView[x], n = m.view.coreView[e], i = m.view.coreView[g], d = m.view.coreView[u];
|
|
141402
141403
|
m.view.w = y, m.view.h = v, m.view.maxWidth = i, m.view.maxHeight = d, m.view.minWidth = h, m.view.minHeight = n, N.setAttribute("gs-w", y), N.setAttribute("gs-h", v), N.setAttribute("gs-max-w", i), N.setAttribute("gs-max-h", d), N.setAttribute("gs-min-w", h), N.setAttribute("gs-min-h", n), console.log("childView.view", m.view), K.update(
|
|
141403
141404
|
N,
|
|
141404
141405
|
{
|
|
@@ -141675,20 +141676,27 @@ class fy {
|
|
|
141675
141676
|
console.log("-------------------------------------------------------------"), console.log("childViews", this.childViews);
|
|
141676
141677
|
}
|
|
141677
141678
|
if (this.viewId === 6) {
|
|
141679
|
+
console.log("************************************************** GSCLineupsReports updateDynamicFilters - dynamicFilters:", a), console.log("************************************************** GSCLineupsReports updateDynamicFilters - childViews:", this.childViews);
|
|
141678
141680
|
const N = a[0];
|
|
141679
|
-
|
|
141681
|
+
let K = 0;
|
|
141682
|
+
for (const C of N)
|
|
141683
|
+
if (!this.childViews.find((x) => x.view.componentProps.gameNumber === C)) {
|
|
141684
|
+
K = C;
|
|
141685
|
+
break;
|
|
141686
|
+
}
|
|
141687
|
+
if (console.log("************************************************** newGameNumberToShow: ", K), K && (a[0] = K, console.log("************************************************** newGameNumberToShow: ", K)), console.log("/////////////// ************************************************** GSCLineupsReports updateDynamicFilters - selectedGameNumber:"), m) {
|
|
141680
141688
|
console.log(`GSCLineupsReports - updating specific filters for component ${m}`), this.setDynamicFilters(a, m);
|
|
141681
|
-
const
|
|
141682
|
-
|
|
141689
|
+
const C = this.childViews.find((x) => x.view.id === m);
|
|
141690
|
+
C && this.updateGSCLineupsReports(C, a);
|
|
141683
141691
|
} else
|
|
141684
|
-
console.log("GSCLineupsReports - updating all components with global filters"), this.childViews.forEach((
|
|
141685
|
-
|
|
141686
|
-
viewId:
|
|
141687
|
-
componentProps:
|
|
141692
|
+
console.log("GSCLineupsReports - updating all components with global filters"), this.childViews.forEach((C) => {
|
|
141693
|
+
C.view.componentProps && (C.view.componentProps._isReactive || (C.view.componentProps = oc(C.view.componentProps), C.view.componentProps._isReactive = !0), Li.emit("component-props-updated", {
|
|
141694
|
+
viewId: C.view.id,
|
|
141695
|
+
componentProps: C.view.componentProps,
|
|
141688
141696
|
dynamicFilters: a
|
|
141689
141697
|
}), Li.emit("dynamic-filters-changed", {
|
|
141690
141698
|
containerViewId: this.viewId,
|
|
141691
|
-
viewId:
|
|
141699
|
+
viewId: C.view.id,
|
|
141692
141700
|
dynamicFilters: a
|
|
141693
141701
|
}));
|
|
141694
141702
|
});
|
|
@@ -145581,11 +145589,11 @@ const Vle = { class: "template-page__header" }, qle = { class: "template-page__h
|
|
|
145581
145589
|
const Pe = De.isHomeTeamForAnalysis;
|
|
145582
145590
|
De.isHomeTeamForAnalysis = Pe ? ge : !ge;
|
|
145583
145591
|
}
|
|
145584
|
-
if (Ae.id === 1 && (De.gameId = We ? We.id : "", De.homeLogo = We ? We.homeTeam.logo : "", De.awayLogo = We ? We.awayTeam.logo : "", De.seasonId = We ? We.season_id : 0, De.default = Oe), Ae.id === 6 && (De.game = We || "", De.lastGames = Le.last_games, De.selectedOption = Le.template_type === 2 ? "Postmatch" : "Prematch"), Ae.id === 3 && (De.defaultShields = Oe), Ae.id === 2) {
|
|
145592
|
+
if (Ae.id === 1 && (De.gameId = We ? We.id : "", De.homeLogo = We ? We.homeTeam.logo : "", De.awayLogo = We ? We.awayTeam.logo : "", De.seasonId = We ? We.season_id : 0, De.default = Oe), Ae.id === 6 && (console.log("---------------> templateToEdit.last_games: ", Le.last_games), console.log("currentProps: ", we), console.log("coreView: ", Ae), console.log("game: ", We), console.log("templateToEdit: ", Le), console.log("------------------------------------------------------------"), console.log("************************************************************"), De.game = We || "", De.lastGames = Le.last_games, De.selectedOption = Le.template_type === 2 ? "Postmatch" : "Prematch"), Ae.id === 3 && (De.defaultShields = Oe), Ae.id === 2) {
|
|
145585
145593
|
let Pe = !0, je = 0, Ge = 0;
|
|
145586
145594
|
We && (Pe = Le.main_team == We.home_team || Le.main_team == We.visiting_team, je = Pe ? Le.main_team == (We == null ? void 0 : We.home_team) ? We == null ? void 0 : We.home_team : We == null ? void 0 : We.visiting_team : We == null ? void 0 : We.home_team, Ge = Pe ? Le.main_team == (We == null ? void 0 : We.home_team) ? We == null ? void 0 : We.visiting_team : We == null ? void 0 : We.home_team : We == null ? void 0 : We.visiting_team), De.gamed = We ? We.id : "", De.game = We || "", De.season = We ? We.season_id : 0, De.teamView = ((Ue = (Re = Ae == null ? void 0 : Ae.filtersJSON) == null ? void 0 : Re.dynamicFilters[1]) == null ? void 0 : Ue.selectedValue) == 3 ? 0 : ((ye = (Ie = Ae == null ? void 0 : Ae.filtersJSON) == null ? void 0 : Ie.dynamicFilters[1]) == null ? void 0 : ye.selectedValue) == 1 ? je : Ge, De.useDummyData = Oe;
|
|
145587
145595
|
}
|
|
145588
|
-
return Ae.id === 8 && (De.teamSelected = We ? { teamId: We.home_team } : 1, De.isDefault = Oe), We && (De.game = We), De;
|
|
145596
|
+
return Ae.id === 8 && (De.teamSelected = We ? { teamId: We.home_team } : 1, De.isDefault = Oe), Ae.id === 4 && (De.gameId = We ? We.id : "", De.isDefault = Oe, De.homeTeam = We ? We == null ? void 0 : We.home_team : "", De.awayTeam = We ? We == null ? void 0 : We.visiting_team : ""), We && (De.game = We), De;
|
|
145589
145597
|
}
|
|
145590
145598
|
const X = r, ee = m;
|
|
145591
145599
|
na(
|
|
@@ -146150,7 +146158,7 @@ const Vle = { class: "template-page__header" }, qle = { class: "template-page__h
|
|
|
146150
146158
|
]))
|
|
146151
146159
|
], 64));
|
|
146152
146160
|
}
|
|
146153
|
-
}, Dde = /* @__PURE__ */ oh(zde, [["__scopeId", "data-v-
|
|
146161
|
+
}, Dde = /* @__PURE__ */ oh(zde, [["__scopeId", "data-v-f1f7492c"]]);
|
|
146154
146162
|
function s8(r, a) {
|
|
146155
146163
|
return function() {
|
|
146156
146164
|
return r.apply(a, arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-reports",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
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.
|
|
50
|
+
"@golstats/gsc-template-report-maker": "^1.0.81",
|
|
51
51
|
"axios": "^1.10.0",
|
|
52
52
|
"gridstack": "^12.1.1",
|
|
53
53
|
"tiny-emitter": "^2.1.0",
|