@mtgame/core 0.1.32 → 0.1.34
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/bundles/mtgame-core.umd.js +62 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/football-statistic.js +28 -1
- package/esm2015/models/volleyball-statistic.js +4 -1
- package/esm5/models/football-statistic.js +56 -1
- package/esm5/models/volleyball-statistic.js +8 -1
- package/fesm2015/mtgame-core.js +30 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +62 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/football-statistic.d.ts +7 -0
- package/models/volleyball-statistic.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4111,6 +4111,61 @@
|
|
|
4111
4111
|
enumerable: true,
|
|
4112
4112
|
configurable: true
|
|
4113
4113
|
});
|
|
4114
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamGamesCount", {
|
|
4115
|
+
get: function () {
|
|
4116
|
+
return this.tournamentTeam && this.tournamentTeam.gamesCount;
|
|
4117
|
+
},
|
|
4118
|
+
enumerable: true,
|
|
4119
|
+
configurable: true
|
|
4120
|
+
});
|
|
4121
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamWonGamesCount", {
|
|
4122
|
+
get: function () {
|
|
4123
|
+
return this.tournamentTeam && this.tournamentTeam.wonGamesCount;
|
|
4124
|
+
},
|
|
4125
|
+
enumerable: true,
|
|
4126
|
+
configurable: true
|
|
4127
|
+
});
|
|
4128
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamDrawGamesCount", {
|
|
4129
|
+
get: function () {
|
|
4130
|
+
return this.tournamentTeam && this.tournamentTeam.drawGamesCount;
|
|
4131
|
+
},
|
|
4132
|
+
enumerable: true,
|
|
4133
|
+
configurable: true
|
|
4134
|
+
});
|
|
4135
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamLostGamesCount", {
|
|
4136
|
+
get: function () {
|
|
4137
|
+
if (!this.tournamentTeam) {
|
|
4138
|
+
return null;
|
|
4139
|
+
}
|
|
4140
|
+
return this.tournamentTeam.gamesCount - this.tournamentTeam.drawGamesCount - this.tournamentTeam.wonGamesCount;
|
|
4141
|
+
},
|
|
4142
|
+
enumerable: true,
|
|
4143
|
+
configurable: true
|
|
4144
|
+
});
|
|
4145
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamScoreSum", {
|
|
4146
|
+
get: function () {
|
|
4147
|
+
return this.tournamentTeam && this.tournamentTeam.scoreSum;
|
|
4148
|
+
},
|
|
4149
|
+
enumerable: true,
|
|
4150
|
+
configurable: true
|
|
4151
|
+
});
|
|
4152
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamMissedSum", {
|
|
4153
|
+
get: function () {
|
|
4154
|
+
return this.tournamentTeam && this.tournamentTeam.missedSum;
|
|
4155
|
+
},
|
|
4156
|
+
enumerable: true,
|
|
4157
|
+
configurable: true
|
|
4158
|
+
});
|
|
4159
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamPlusMinus", {
|
|
4160
|
+
get: function () {
|
|
4161
|
+
if (!this.tournamentTeam) {
|
|
4162
|
+
return null;
|
|
4163
|
+
}
|
|
4164
|
+
return this.tournamentTeam.scoreSum - this.tournamentTeam.missedSum;
|
|
4165
|
+
},
|
|
4166
|
+
enumerable: true,
|
|
4167
|
+
configurable: true
|
|
4168
|
+
});
|
|
4114
4169
|
FootballStatistic.toFront = function (data) { };
|
|
4115
4170
|
FootballStatistic.toBack = function (data) { };
|
|
4116
4171
|
__decorate([
|
|
@@ -4870,6 +4925,13 @@
|
|
|
4870
4925
|
enumerable: true,
|
|
4871
4926
|
configurable: true
|
|
4872
4927
|
});
|
|
4928
|
+
Object.defineProperty(VolleyballStatistic.prototype, "totalReceives", {
|
|
4929
|
+
get: function () {
|
|
4930
|
+
return this.receives + this.excellentReceives;
|
|
4931
|
+
},
|
|
4932
|
+
enumerable: true,
|
|
4933
|
+
configurable: true
|
|
4934
|
+
});
|
|
4873
4935
|
VolleyballStatistic.toFront = function (data) { };
|
|
4874
4936
|
VolleyballStatistic.toBack = function (data) { };
|
|
4875
4937
|
__decorate([
|