@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
package/fesm5/mtgame-core.js
CHANGED
|
@@ -3898,6 +3898,61 @@ var FootballStatistic = /** @class */ (function (_super) {
|
|
|
3898
3898
|
enumerable: true,
|
|
3899
3899
|
configurable: true
|
|
3900
3900
|
});
|
|
3901
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamGamesCount", {
|
|
3902
|
+
get: function () {
|
|
3903
|
+
return this.tournamentTeam && this.tournamentTeam.gamesCount;
|
|
3904
|
+
},
|
|
3905
|
+
enumerable: true,
|
|
3906
|
+
configurable: true
|
|
3907
|
+
});
|
|
3908
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamWonGamesCount", {
|
|
3909
|
+
get: function () {
|
|
3910
|
+
return this.tournamentTeam && this.tournamentTeam.wonGamesCount;
|
|
3911
|
+
},
|
|
3912
|
+
enumerable: true,
|
|
3913
|
+
configurable: true
|
|
3914
|
+
});
|
|
3915
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamDrawGamesCount", {
|
|
3916
|
+
get: function () {
|
|
3917
|
+
return this.tournamentTeam && this.tournamentTeam.drawGamesCount;
|
|
3918
|
+
},
|
|
3919
|
+
enumerable: true,
|
|
3920
|
+
configurable: true
|
|
3921
|
+
});
|
|
3922
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamLostGamesCount", {
|
|
3923
|
+
get: function () {
|
|
3924
|
+
if (!this.tournamentTeam) {
|
|
3925
|
+
return null;
|
|
3926
|
+
}
|
|
3927
|
+
return this.tournamentTeam.gamesCount - this.tournamentTeam.drawGamesCount - this.tournamentTeam.wonGamesCount;
|
|
3928
|
+
},
|
|
3929
|
+
enumerable: true,
|
|
3930
|
+
configurable: true
|
|
3931
|
+
});
|
|
3932
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamScoreSum", {
|
|
3933
|
+
get: function () {
|
|
3934
|
+
return this.tournamentTeam && this.tournamentTeam.scoreSum;
|
|
3935
|
+
},
|
|
3936
|
+
enumerable: true,
|
|
3937
|
+
configurable: true
|
|
3938
|
+
});
|
|
3939
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamMissedSum", {
|
|
3940
|
+
get: function () {
|
|
3941
|
+
return this.tournamentTeam && this.tournamentTeam.missedSum;
|
|
3942
|
+
},
|
|
3943
|
+
enumerable: true,
|
|
3944
|
+
configurable: true
|
|
3945
|
+
});
|
|
3946
|
+
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamPlusMinus", {
|
|
3947
|
+
get: function () {
|
|
3948
|
+
if (!this.tournamentTeam) {
|
|
3949
|
+
return null;
|
|
3950
|
+
}
|
|
3951
|
+
return this.tournamentTeam.scoreSum - this.tournamentTeam.missedSum;
|
|
3952
|
+
},
|
|
3953
|
+
enumerable: true,
|
|
3954
|
+
configurable: true
|
|
3955
|
+
});
|
|
3901
3956
|
FootballStatistic.toFront = function (data) { };
|
|
3902
3957
|
FootballStatistic.toBack = function (data) { };
|
|
3903
3958
|
__decorate([
|
|
@@ -4657,6 +4712,13 @@ var VolleyballStatistic = /** @class */ (function (_super) {
|
|
|
4657
4712
|
enumerable: true,
|
|
4658
4713
|
configurable: true
|
|
4659
4714
|
});
|
|
4715
|
+
Object.defineProperty(VolleyballStatistic.prototype, "totalReceives", {
|
|
4716
|
+
get: function () {
|
|
4717
|
+
return this.receives + this.excellentReceives;
|
|
4718
|
+
},
|
|
4719
|
+
enumerable: true,
|
|
4720
|
+
configurable: true
|
|
4721
|
+
});
|
|
4660
4722
|
VolleyballStatistic.toFront = function (data) { };
|
|
4661
4723
|
VolleyballStatistic.toBack = function (data) { };
|
|
4662
4724
|
__decorate([
|