@mtgame/core 0.0.13 → 0.0.14
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 +4 -2
- 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/localization/hockey-game-log-types.js +4 -3
- package/esm2015/models/hockey-game-log.js +2 -1
- package/esm2015/models/hockey-game-statistic.js +2 -2
- package/esm5/localization/hockey-game-log-types.js +3 -2
- package/esm5/models/hockey-game-log.js +2 -1
- package/esm5/models/hockey-game-statistic.js +2 -2
- package/fesm2015/mtgame-core.js +5 -3
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +4 -2
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/hockey-game-log-types.d.ts +1 -0
- package/models/hockey-game-log.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2225,6 +2225,7 @@ var HockeyGameLogTypes;
|
|
|
2225
2225
|
HockeyGameLogTypes[HockeyGameLogTypes["face_off_lose"] = 17] = "face_off_lose";
|
|
2226
2226
|
HockeyGameLogTypes[HockeyGameLogTypes["face_off_win"] = 18] = "face_off_win";
|
|
2227
2227
|
HockeyGameLogTypes[HockeyGameLogTypes["save"] = 19] = "save";
|
|
2228
|
+
HockeyGameLogTypes[HockeyGameLogTypes["timeout"] = 20] = "timeout";
|
|
2228
2229
|
})(HockeyGameLogTypes || (HockeyGameLogTypes = {}));
|
|
2229
2230
|
var HockeyAdvantageTypes;
|
|
2230
2231
|
(function (HockeyAdvantageTypes) {
|
|
@@ -2330,7 +2331,7 @@ var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
|
2330
2331
|
});
|
|
2331
2332
|
Object.defineProperty(HockeyGameStatistic.prototype, "shots", {
|
|
2332
2333
|
get: function () {
|
|
2333
|
-
return this.ppShots + this.evShots + this.shShots;
|
|
2334
|
+
return this.goals + this.ppShots + this.evShots + this.shShots;
|
|
2334
2335
|
},
|
|
2335
2336
|
enumerable: true,
|
|
2336
2337
|
configurable: true
|
|
@@ -5766,7 +5767,7 @@ var HockeyGameLogTypeLocalization = (_a$2 = {},
|
|
|
5766
5767
|
_a$2[HockeyGameLogTypes.shootout_goal] = 'Булит гол',
|
|
5767
5768
|
_a$2[HockeyGameLogTypes.assist] = 'Передача',
|
|
5768
5769
|
_a$2[HockeyGameLogTypes.block_shot] = 'Блокировка броска',
|
|
5769
|
-
_a$2[HockeyGameLogTypes.minor_penalty] = '
|
|
5770
|
+
_a$2[HockeyGameLogTypes.minor_penalty] = 'Малый штраф',
|
|
5770
5771
|
_a$2[HockeyGameLogTypes.major_penalty] = 'Большой штраф',
|
|
5771
5772
|
_a$2[HockeyGameLogTypes.misconduct_penalty] = 'Дисциплинарный штраф',
|
|
5772
5773
|
_a$2[HockeyGameLogTypes.game_misconduct_penalty] = 'Дисциплинарный штраф до конца игры',
|
|
@@ -5775,6 +5776,7 @@ var HockeyGameLogTypeLocalization = (_a$2 = {},
|
|
|
5775
5776
|
_a$2[HockeyGameLogTypes.face_off_lose] = 'Проирыш в вбрасывании',
|
|
5776
5777
|
_a$2[HockeyGameLogTypes.face_off_win] = 'Победа в вбрасывании',
|
|
5777
5778
|
_a$2[HockeyGameLogTypes.save] = 'Отражен бросок',
|
|
5779
|
+
_a$2[HockeyGameLogTypes.timeout] = 'Таймаут',
|
|
5778
5780
|
_a$2);
|
|
5779
5781
|
|
|
5780
5782
|
var _a$3;
|