@golstats/gsc-landing 1.0.49 → 1.0.51
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/gsc-landing.js +24 -21
- package/dist/gsc-landing.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/gsc-landing.js
CHANGED
|
@@ -23028,7 +23028,7 @@ const U6 = {
|
|
|
23028
23028
|
15,
|
|
23029
23029
|
257
|
|
23030
23030
|
], d = [55, 324, 323, 608, 39, 774, 802, 52, 53, 40, 54];
|
|
23031
|
-
this.tournamentSelected.id === this.user.tournament ? (s = this.seasonSelected.id, this.user.is_goalkeeper ? (o = [this.user.player], r = d, t = 2) : this.user.is_player ? (i = [this.user.player], r = l, t = 2) : (n = this.user.team, r = u, t = 3)) : (r = u, t = 1);
|
|
23031
|
+
!this.user.is_generic && this.tournamentSelected.id === this.user.tournament ? (s = this.seasonSelected.id, this.user.is_goalkeeper ? (o = [this.user.player], r = d, t = 2) : this.user.is_player ? (i = [this.user.player], r = l, t = 2) : (n = this.user.team, r = u, t = 3)) : (r = u, t = 1);
|
|
23032
23032
|
const h = {
|
|
23033
23033
|
type: 0,
|
|
23034
23034
|
seasonId: s,
|
|
@@ -23071,7 +23071,7 @@ const U6 = {
|
|
|
23071
23071
|
this.$emit("openmedia", h);
|
|
23072
23072
|
}
|
|
23073
23073
|
}
|
|
23074
|
-
}, q6 = (e) => (ye("data-v-
|
|
23074
|
+
}, q6 = (e) => (ye("data-v-4eb403b9"), e = e(), be(), e), J6 = {
|
|
23075
23075
|
class: "discover-videos",
|
|
23076
23076
|
ref: "discoverVideosRef"
|
|
23077
23077
|
}, K6 = { class: "title-and-button" }, Z6 = /* @__PURE__ */ q6(() => /* @__PURE__ */ m("div", { class: "title-value" }, "Videos", -1)), X6 = { class: "calendar-container" }, Y6 = { class: "drop-down-innercontainer-text" }, Q6 = { class: "drop-down-innercontainer-arrow" };
|
|
@@ -23221,7 +23221,7 @@ function eC(e, a, t, o, i, n) {
|
|
|
23221
23221
|
}, null, 8, ["data", "onOpenmedia"])) : T("", !0)
|
|
23222
23222
|
], 512);
|
|
23223
23223
|
}
|
|
23224
|
-
const tC = /* @__PURE__ */ ot(G6, [["render", eC], ["__scopeId", "data-v-
|
|
23224
|
+
const tC = /* @__PURE__ */ ot(G6, [["render", eC], ["__scopeId", "data-v-4eb403b9"]]), aC = {
|
|
23225
23225
|
components: {
|
|
23226
23226
|
GSCSeasonSelect: $S,
|
|
23227
23227
|
GSCTournamentSelect: sS,
|
|
@@ -23343,8 +23343,11 @@ const tC = /* @__PURE__ */ ot(G6, [["render", eC], ["__scopeId", "data-v-c68c1e2
|
|
|
23343
23343
|
};
|
|
23344
23344
|
},
|
|
23345
23345
|
computed: {
|
|
23346
|
+
isGenericLike() {
|
|
23347
|
+
return this.user.is_generic || this.tournamentSelected.id !== this.user.tournament;
|
|
23348
|
+
},
|
|
23346
23349
|
games() {
|
|
23347
|
-
if (this.
|
|
23350
|
+
if (!this.isGenericLike && !this.isLeagueSelected)
|
|
23348
23351
|
return this.fullTournamentSchedule;
|
|
23349
23352
|
{
|
|
23350
23353
|
const e = this.gamesPages.get(this.selectedRound);
|
|
@@ -23442,7 +23445,7 @@ const tC = /* @__PURE__ */ ot(G6, [["render", eC], ["__scopeId", "data-v-c68c1e2
|
|
|
23442
23445
|
},
|
|
23443
23446
|
onClickCalendar() {
|
|
23444
23447
|
const e = {
|
|
23445
|
-
type: this.
|
|
23448
|
+
type: this.isGenericLike ? 0 : 1,
|
|
23446
23449
|
team: this.team,
|
|
23447
23450
|
season: this.seasonSelectedDropDowns
|
|
23448
23451
|
};
|
|
@@ -23725,7 +23728,7 @@ const tC = /* @__PURE__ */ ot(G6, [["render", eC], ["__scopeId", "data-v-c68c1e2
|
|
|
23725
23728
|
},
|
|
23726
23729
|
async created() {
|
|
23727
23730
|
}
|
|
23728
|
-
}, oC = (e) => (ye("data-v-
|
|
23731
|
+
}, oC = (e) => (ye("data-v-2046e359"), e = e(), be(), e), nC = {
|
|
23729
23732
|
class: "gsclanding",
|
|
23730
23733
|
ref: "landingref"
|
|
23731
23734
|
}, iC = {
|
|
@@ -23806,7 +23809,7 @@ function _C(e, a, t, o, i, n) {
|
|
|
23806
23809
|
H(l, {
|
|
23807
23810
|
"component-width": o.elementSize.width,
|
|
23808
23811
|
isplayer: t.isplayer,
|
|
23809
|
-
"is-full":
|
|
23812
|
+
"is-full": n.isGenericLike,
|
|
23810
23813
|
data: n.games,
|
|
23811
23814
|
"tournament-schedule-keys": i.tournamentScheduleKeys,
|
|
23812
23815
|
"default-match-day-key": i.selectedRound,
|
|
@@ -23819,22 +23822,22 @@ function _C(e, a, t, o, i, n) {
|
|
|
23819
23822
|
m("div", bC, [
|
|
23820
23823
|
H(d, {
|
|
23821
23824
|
"component-width": o.elementSize.width,
|
|
23822
|
-
|
|
23823
|
-
videoType: i.tournamentSelected.id == t.user.tournament ? i.resumeType : i.goalsType,
|
|
23825
|
+
videoType: n.isGenericLike ? i.goalsType : i.resumeType,
|
|
23824
23826
|
team: t.team,
|
|
23825
23827
|
player: t.user.player,
|
|
23826
23828
|
isplayer: t.isplayer,
|
|
23827
|
-
"is-full":
|
|
23828
|
-
"is-league-selected":
|
|
23829
|
-
nextRivalTeam:
|
|
23829
|
+
"is-full": n.isGenericLike,
|
|
23830
|
+
"is-league-selected": n.isGenericLike,
|
|
23831
|
+
nextRivalTeam: n.isGenericLike || !i.nextRivalId ? 0 : { id: i.nextRivalId },
|
|
23830
23832
|
user: t.user,
|
|
23831
23833
|
"tournament-schedule-keys": i.tournamentScheduleKeys,
|
|
23832
23834
|
"default-match-day-key": n.latestRound,
|
|
23833
23835
|
seasonSelected: i.seasonSelected,
|
|
23834
23836
|
tournamentSelected: i.tournamentSelected,
|
|
23835
23837
|
myTournament: t.user.tournament,
|
|
23836
|
-
"default-media-player-season": t.defaultMediaPlayerSeason
|
|
23837
|
-
|
|
23838
|
+
"default-media-player-season": t.defaultMediaPlayerSeason,
|
|
23839
|
+
onOpenmedia: n.onOpenMedia
|
|
23840
|
+
}, null, 8, ["component-width", "videoType", "team", "player", "isplayer", "is-full", "is-league-selected", "nextRivalTeam", "user", "tournament-schedule-keys", "default-match-day-key", "seasonSelected", "tournamentSelected", "myTournament", "default-media-player-season", "onOpenmedia"])
|
|
23838
23841
|
]),
|
|
23839
23842
|
m("div", {
|
|
23840
23843
|
class: S(n.containerGridCalendarTable)
|
|
@@ -23844,7 +23847,7 @@ function _C(e, a, t, o, i, n) {
|
|
|
23844
23847
|
style: B(o.elementSize.width < 1e3 ? "width: 100%" : "")
|
|
23845
23848
|
}, [
|
|
23846
23849
|
H(h, {
|
|
23847
|
-
isPlayer: t.isplayer
|
|
23850
|
+
isPlayer: t.isplayer && !n.isGenericLike,
|
|
23848
23851
|
"player-id": t.user.player,
|
|
23849
23852
|
"team-id": t.user.team,
|
|
23850
23853
|
"season-selected": i.seasonSelected.id,
|
|
@@ -23852,7 +23855,7 @@ function _C(e, a, t, o, i, n) {
|
|
|
23852
23855
|
"team-img": "https://az755631.vo.msecnd.net/teams-150/" + t.user.team + ".png",
|
|
23853
23856
|
"player-img": "https://az755631.vo.msecnd.net/players-profile/" + t.user.player + ".png",
|
|
23854
23857
|
"rival-img": Object.keys(i.fullTournamentSchedule).length > 0 ? t.user.team == i.fullTournamentSchedule.data.prematch.home_team ? "https://az755631.vo.msecnd.net/teams-150/" + i.fullTournamentSchedule.data.prematch.visiting_team + ".png" : "https://az755631.vo.msecnd.net/teams-150/" + i.fullTournamentSchedule.data.prematch.home_team + ".png" : "",
|
|
23855
|
-
"has-team":
|
|
23858
|
+
"has-team": !n.isGenericLike,
|
|
23856
23859
|
"component-width": o.elementSize.width,
|
|
23857
23860
|
onAction: n.clickCard
|
|
23858
23861
|
}, null, 8, ["isPlayer", "player-id", "team-id", "season-selected", "next-rival-id", "team-img", "player-img", "rival-img", "has-team", "component-width", "onAction"])
|
|
@@ -23871,22 +23874,22 @@ function _C(e, a, t, o, i, n) {
|
|
|
23871
23874
|
}, null, 8, ["onAction", "season", "seasons", "onOpenmedia", "onOnOpenProfile", "componentWidth"])
|
|
23872
23875
|
], 4)
|
|
23873
23876
|
], 2),
|
|
23874
|
-
|
|
23877
|
+
n.isGenericLike ? T("", !0) : Ut((y(), b("div", vC, [
|
|
23875
23878
|
H(c, {
|
|
23876
23879
|
onClickProfileBtn: n.clickProfileBtn,
|
|
23877
23880
|
onViewAll: n.viewAll,
|
|
23878
23881
|
onTotalPlayers: n.getTotalPlayers,
|
|
23879
23882
|
"team-id": t.user.team,
|
|
23880
23883
|
"season-id": i.seasonSelected.id,
|
|
23881
|
-
"is-player": t.user.player
|
|
23884
|
+
"is-player": !!t.user.player
|
|
23882
23885
|
}, null, 8, ["onClickProfileBtn", "onViewAll", "onTotalPlayers", "team-id", "season-id", "is-player"])
|
|
23883
23886
|
], 512)), [
|
|
23884
23887
|
[Ht, i.playersLength > 0]
|
|
23885
|
-
])
|
|
23888
|
+
]),
|
|
23886
23889
|
m("div", wC, [
|
|
23887
23890
|
H(p, {
|
|
23888
23891
|
onMore: n.moreTops,
|
|
23889
|
-
"show-switch":
|
|
23892
|
+
"show-switch": !n.isGenericLike,
|
|
23890
23893
|
season: i.seasonSelected.id,
|
|
23891
23894
|
"team-id": t.user.team,
|
|
23892
23895
|
onOpenmedia: n.onOpenMedia
|
|
@@ -23896,7 +23899,7 @@ function _C(e, a, t, o, i, n) {
|
|
|
23896
23899
|
], 2)
|
|
23897
23900
|
], 512);
|
|
23898
23901
|
}
|
|
23899
|
-
const AC = /* @__PURE__ */ ot(aC, [["render", _C], ["__scopeId", "data-v-
|
|
23902
|
+
const AC = /* @__PURE__ */ ot(aC, [["render", _C], ["__scopeId", "data-v-2046e359"]]);
|
|
23900
23903
|
export {
|
|
23901
23904
|
AC as GSCLanding
|
|
23902
23905
|
};
|