@mtgame/core 0.0.67 → 0.0.69
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/api/handball-game-api.d.ts +18 -0
- package/api/public-api.d.ts +1 -0
- package/api/tournament-api.d.ts +2 -0
- package/bundles/mtgame-core.umd.js +650 -54
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +2 -2
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/handball-game-api.js +66 -0
- package/esm2015/api/public-api.js +2 -1
- package/esm2015/api/tournament-api.js +21 -1
- package/esm2015/localization/handball-game-log-types.js +24 -0
- package/esm2015/localization/public-api.js +2 -1
- package/esm2015/localization/user-profile.js +9 -1
- package/esm2015/models/base-statistic.js +1 -1
- package/esm2015/models/basketball-statistic.js +1 -1
- package/esm2015/models/football-statistic.js +1 -1
- package/esm2015/models/game.js +4 -1
- package/esm2015/models/handball-game-config.js +34 -0
- package/esm2015/models/handball-game-log.js +92 -0
- package/esm2015/models/handball-game-statistic.js +101 -0
- package/esm2015/models/handball-game-team-statistic.js +27 -0
- package/esm2015/models/handball-profile.js +39 -0
- package/esm2015/models/handball-statistic.js +86 -0
- package/esm2015/models/hockey-statistic.js +1 -1
- package/esm2015/models/public-api.js +7 -1
- package/esm2015/models/sport.js +9 -1
- package/esm2015/models/user.js +4 -1
- package/esm5/api/handball-game-api.js +81 -0
- package/esm5/api/public-api.js +2 -1
- package/esm5/api/tournament-api.js +35 -1
- package/esm5/localization/handball-game-log-types.js +25 -0
- package/esm5/localization/public-api.js +2 -1
- package/esm5/localization/user-profile.js +10 -2
- package/esm5/models/base-statistic.js +1 -1
- package/esm5/models/basketball-statistic.js +1 -1
- package/esm5/models/football-statistic.js +1 -1
- package/esm5/models/game.js +4 -1
- package/esm5/models/handball-game-config.js +39 -0
- package/esm5/models/handball-game-log.js +99 -0
- package/esm5/models/handball-game-statistic.js +162 -0
- package/esm5/models/handball-game-team-statistic.js +32 -0
- package/esm5/models/handball-profile.js +44 -0
- package/esm5/models/handball-statistic.js +95 -0
- package/esm5/models/hockey-statistic.js +1 -1
- package/esm5/models/public-api.js +7 -1
- package/esm5/models/sport.js +9 -1
- package/esm5/models/user.js +4 -1
- package/fesm2015/mtgame-core.js +466 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +641 -54
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/handball-game-log-types.d.ts +23 -0
- package/localization/public-api.d.ts +1 -0
- package/localization/user-profile.d.ts +8 -0
- package/models/base-statistic.d.ts +2 -1
- package/models/basketball-statistic.d.ts +2 -2
- package/models/football-statistic.d.ts +2 -2
- package/models/game.d.ts +2 -0
- package/models/handball-game-config.d.ts +15 -0
- package/models/handball-game-log.d.ts +49 -0
- package/models/handball-game-statistic.d.ts +44 -0
- package/models/handball-game-team-statistic.d.ts +8 -0
- package/models/handball-profile.d.ts +17 -0
- package/models/handball-statistic.d.ts +55 -0
- package/models/hockey-statistic.d.ts +2 -2
- package/models/public-api.d.ts +6 -0
- package/models/sport.d.ts +5 -1
- package/models/user.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -631,6 +631,8 @@
|
|
|
631
631
|
SportTypes[SportTypes["football"] = 10] = "football";
|
|
632
632
|
SportTypes[SportTypes["classic_football"] = 11] = "classic_football";
|
|
633
633
|
SportTypes[SportTypes["mini_football"] = 12] = "mini_football";
|
|
634
|
+
SportTypes[SportTypes["handball"] = 13] = "handball";
|
|
635
|
+
SportTypes[SportTypes["handball_classic"] = 14] = "handball_classic";
|
|
634
636
|
})(exports.SportTypes || (exports.SportTypes = {}));
|
|
635
637
|
var Sport = /** @class */ (function (_super) {
|
|
636
638
|
__extends(Sport, _super);
|
|
@@ -673,6 +675,12 @@
|
|
|
673
675
|
Sport.prototype.isMiniFootball = function () {
|
|
674
676
|
return this.id === exports.SportTypes.mini_football;
|
|
675
677
|
};
|
|
678
|
+
Sport.prototype.isHandball = function () {
|
|
679
|
+
return this.id === exports.SportTypes.handball || this.parentId === exports.SportTypes.handball;
|
|
680
|
+
};
|
|
681
|
+
Sport.prototype.isHandballClassic = function () {
|
|
682
|
+
return this.id === exports.SportTypes.handball_classic;
|
|
683
|
+
};
|
|
676
684
|
Sport.toFront = function (data) {
|
|
677
685
|
return null;
|
|
678
686
|
};
|
|
@@ -925,6 +933,46 @@
|
|
|
925
933
|
}(BaseModel));
|
|
926
934
|
|
|
927
935
|
|
|
936
|
+
(function (GameHandballPosition) {
|
|
937
|
+
GameHandballPosition[GameHandballPosition["goalkeeper"] = 1] = "goalkeeper";
|
|
938
|
+
GameHandballPosition[GameHandballPosition["winger"] = 2] = "winger";
|
|
939
|
+
GameHandballPosition[GameHandballPosition["pivot"] = 3] = "pivot";
|
|
940
|
+
GameHandballPosition[GameHandballPosition["centre_back"] = 4] = "centre_back";
|
|
941
|
+
GameHandballPosition[GameHandballPosition["fullback"] = 5] = "fullback";
|
|
942
|
+
})(exports.GameHandballPosition || (exports.GameHandballPosition = {}));
|
|
943
|
+
var HandballProfile = /** @class */ (function (_super) {
|
|
944
|
+
__extends(HandballProfile, _super);
|
|
945
|
+
function HandballProfile() {
|
|
946
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
947
|
+
}
|
|
948
|
+
HandballProfile.toFront = function (value) {
|
|
949
|
+
};
|
|
950
|
+
HandballProfile.toBack = function (value) {
|
|
951
|
+
};
|
|
952
|
+
__decorate([
|
|
953
|
+
ToFrontHook
|
|
954
|
+
], HandballProfile, "toFront", null);
|
|
955
|
+
__decorate([
|
|
956
|
+
ToBackHook
|
|
957
|
+
], HandballProfile, "toBack", null);
|
|
958
|
+
HandballProfile = __decorate([
|
|
959
|
+
ModelInstance({
|
|
960
|
+
mappingFields: {
|
|
961
|
+
id: 'id',
|
|
962
|
+
user_id: 'userId',
|
|
963
|
+
position: 'position',
|
|
964
|
+
work_hand: 'workHand'
|
|
965
|
+
},
|
|
966
|
+
relation: {
|
|
967
|
+
position: enumField(exports.GameHandballPosition),
|
|
968
|
+
workHand: enumField(exports.WorkHand)
|
|
969
|
+
}
|
|
970
|
+
})
|
|
971
|
+
], HandballProfile);
|
|
972
|
+
return HandballProfile;
|
|
973
|
+
}(BaseModel));
|
|
974
|
+
|
|
975
|
+
|
|
928
976
|
(function (UserGender) {
|
|
929
977
|
UserGender[UserGender["male"] = 1] = "male";
|
|
930
978
|
UserGender[UserGender["female"] = 2] = "female";
|
|
@@ -994,6 +1042,7 @@
|
|
|
994
1042
|
volleyball_profile: 'volleyballProfile',
|
|
995
1043
|
hockey_profile: 'hockeyProfile',
|
|
996
1044
|
football_profile: 'footballProfile',
|
|
1045
|
+
handball_profile: 'handballProfile',
|
|
997
1046
|
wizards: 'wizards',
|
|
998
1047
|
city: 'city',
|
|
999
1048
|
gender: 'gender',
|
|
@@ -1007,6 +1056,7 @@
|
|
|
1007
1056
|
volleyballProfile: VolleyballProfile,
|
|
1008
1057
|
hockeyProfile: HockeyProfile,
|
|
1009
1058
|
footballProfile: FootballProfile,
|
|
1059
|
+
handballProfile: HandballProfile,
|
|
1010
1060
|
city: City,
|
|
1011
1061
|
gender: enumField(exports.UserGender)
|
|
1012
1062
|
}
|
|
@@ -1656,6 +1706,41 @@
|
|
|
1656
1706
|
return FootballGameConfig;
|
|
1657
1707
|
}(BaseModel));
|
|
1658
1708
|
|
|
1709
|
+
var HandballGameConfig = /** @class */ (function (_super) {
|
|
1710
|
+
__extends(HandballGameConfig, _super);
|
|
1711
|
+
function HandballGameConfig() {
|
|
1712
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1713
|
+
}
|
|
1714
|
+
HandballGameConfig.toFront = function (data) { };
|
|
1715
|
+
HandballGameConfig.toBack = function (data) { };
|
|
1716
|
+
__decorate([
|
|
1717
|
+
ToFrontHook
|
|
1718
|
+
], HandballGameConfig, "toFront", null);
|
|
1719
|
+
__decorate([
|
|
1720
|
+
ToBackHook
|
|
1721
|
+
], HandballGameConfig, "toBack", null);
|
|
1722
|
+
HandballGameConfig = __decorate([
|
|
1723
|
+
ModelInstance({
|
|
1724
|
+
mappingFields: {
|
|
1725
|
+
periods_count: 'periodsCount',
|
|
1726
|
+
period_time: 'periodTime',
|
|
1727
|
+
overtime_type: 'overtimeType',
|
|
1728
|
+
overtime_time: 'overtimeTime',
|
|
1729
|
+
max_game_players: 'maxGamePlayers',
|
|
1730
|
+
timeout_count: 'timeoutCount',
|
|
1731
|
+
overtime_timeout_count: 'overtimeTimeoutCount',
|
|
1732
|
+
timeout_time: 'timeoutTime',
|
|
1733
|
+
game_time_type: 'gameTimeType',
|
|
1734
|
+
},
|
|
1735
|
+
relation: {
|
|
1736
|
+
overtimeType: enumField(exports.OvertimeTypes),
|
|
1737
|
+
gameTimeType: enumField(exports.GameTimeTypes),
|
|
1738
|
+
}
|
|
1739
|
+
})
|
|
1740
|
+
], HandballGameConfig);
|
|
1741
|
+
return HandballGameConfig;
|
|
1742
|
+
}(BaseModel));
|
|
1743
|
+
|
|
1659
1744
|
|
|
1660
1745
|
(function (GameStatuses) {
|
|
1661
1746
|
GameStatuses[GameStatuses["open"] = 1] = "open";
|
|
@@ -1762,6 +1847,7 @@
|
|
|
1762
1847
|
volleyball_game_config: 'volleyballGameConfig',
|
|
1763
1848
|
hockey_game_config: 'hockeyGameConfig',
|
|
1764
1849
|
football_game_config: 'footballGameConfig',
|
|
1850
|
+
handball_game_config: 'handballGameConfig',
|
|
1765
1851
|
score_by_period: 'scoreByPeriod',
|
|
1766
1852
|
playoff_stage: 'playoffStage',
|
|
1767
1853
|
tournament_stage_id: 'tournamentStageId',
|
|
@@ -1782,6 +1868,7 @@
|
|
|
1782
1868
|
volleyballGameConfig: VolleyballGameConfig,
|
|
1783
1869
|
hockeyGameConfig: HockeyGameConfig,
|
|
1784
1870
|
footballGameConfig: FootballGameConfig,
|
|
1871
|
+
handballGameConfig: HandballGameConfig,
|
|
1785
1872
|
tournamentCourt: LeagueCourt,
|
|
1786
1873
|
media: listField(MediaItem),
|
|
1787
1874
|
tournament: Tournament,
|
|
@@ -3750,6 +3837,442 @@
|
|
|
3750
3837
|
return FootballGameApi;
|
|
3751
3838
|
}(GameBaseApi));
|
|
3752
3839
|
|
|
3840
|
+
|
|
3841
|
+
(function (HandballGameLogTypes) {
|
|
3842
|
+
HandballGameLogTypes[HandballGameLogTypes["enter_game"] = 1] = "enter_game";
|
|
3843
|
+
HandballGameLogTypes[HandballGameLogTypes["exit_game"] = 2] = "exit_game";
|
|
3844
|
+
HandballGameLogTypes[HandballGameLogTypes["shot_miss"] = 3] = "shot_miss";
|
|
3845
|
+
HandballGameLogTypes[HandballGameLogTypes["shot_on_goal"] = 4] = "shot_on_goal";
|
|
3846
|
+
HandballGameLogTypes[HandballGameLogTypes["shot_blocked"] = 5] = "shot_blocked";
|
|
3847
|
+
HandballGameLogTypes[HandballGameLogTypes["goal"] = 6] = "goal";
|
|
3848
|
+
HandballGameLogTypes[HandballGameLogTypes["assist"] = 7] = "assist";
|
|
3849
|
+
HandballGameLogTypes[HandballGameLogTypes["penalty_miss"] = 8] = "penalty_miss";
|
|
3850
|
+
HandballGameLogTypes[HandballGameLogTypes["penalty_shot_on_goal"] = 9] = "penalty_shot_on_goal";
|
|
3851
|
+
HandballGameLogTypes[HandballGameLogTypes["penalty_goal"] = 10] = "penalty_goal";
|
|
3852
|
+
HandballGameLogTypes[HandballGameLogTypes["save"] = 11] = "save";
|
|
3853
|
+
HandballGameLogTypes[HandballGameLogTypes["penalty_save"] = 12] = "penalty_save";
|
|
3854
|
+
HandballGameLogTypes[HandballGameLogTypes["foul"] = 13] = "foul";
|
|
3855
|
+
HandballGameLogTypes[HandballGameLogTypes["yellow_card"] = 14] = "yellow_card";
|
|
3856
|
+
HandballGameLogTypes[HandballGameLogTypes["red_card"] = 15] = "red_card";
|
|
3857
|
+
HandballGameLogTypes[HandballGameLogTypes["two_minute_foul"] = 16] = "two_minute_foul";
|
|
3858
|
+
HandballGameLogTypes[HandballGameLogTypes["turnover"] = 17] = "turnover";
|
|
3859
|
+
HandballGameLogTypes[HandballGameLogTypes["steal"] = 18] = "steal";
|
|
3860
|
+
HandballGameLogTypes[HandballGameLogTypes["block_shot"] = 19] = "block_shot";
|
|
3861
|
+
HandballGameLogTypes[HandballGameLogTypes["timeout"] = 20] = "timeout";
|
|
3862
|
+
})(exports.HandballGameLogTypes || (exports.HandballGameLogTypes = {}));
|
|
3863
|
+
var HandballGameLog = /** @class */ (function (_super) {
|
|
3864
|
+
__extends(HandballGameLog, _super);
|
|
3865
|
+
function HandballGameLog() {
|
|
3866
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
3867
|
+
_this.active = true;
|
|
3868
|
+
return _this;
|
|
3869
|
+
}
|
|
3870
|
+
HandballGameLog.prototype.compare = function (model) {
|
|
3871
|
+
if (this.time === model.time && this.period === model.period) {
|
|
3872
|
+
return this.datetime.getTime() < model.datetime.getTime() ? 1 : -1;
|
|
3873
|
+
}
|
|
3874
|
+
if (this.period === model.period) {
|
|
3875
|
+
return this.time < model.time ? 1 : -1;
|
|
3876
|
+
}
|
|
3877
|
+
return this.period < model.period ? 1 : -1;
|
|
3878
|
+
};
|
|
3879
|
+
Object.defineProperty(HandballGameLog.prototype, "timeFormatted", {
|
|
3880
|
+
get: function () {
|
|
3881
|
+
var minutes = Math.floor(this.time / 60);
|
|
3882
|
+
var seconds = this.time - minutes * 60;
|
|
3883
|
+
return "" + (minutes < 10 ? '0' : '') + minutes + ":" + (seconds < 10 ? '0' : '') + seconds;
|
|
3884
|
+
},
|
|
3885
|
+
enumerable: true,
|
|
3886
|
+
configurable: true
|
|
3887
|
+
});
|
|
3888
|
+
HandballGameLog.prototype.isScoreType = function () {
|
|
3889
|
+
return [exports.HandballGameLogTypes.goal, exports.HandballGameLogTypes.penalty_goal].indexOf(this.logType) > -1;
|
|
3890
|
+
};
|
|
3891
|
+
HandballGameLog.prototype.isAfter = function (log) {
|
|
3892
|
+
if (this.time === log.time && this.period === log.period) {
|
|
3893
|
+
return this.id > log.id;
|
|
3894
|
+
}
|
|
3895
|
+
if (this.period === log.period) {
|
|
3896
|
+
return this.time > log.time;
|
|
3897
|
+
}
|
|
3898
|
+
return this.period > log.period;
|
|
3899
|
+
};
|
|
3900
|
+
HandballGameLog.prototype.isFoulType = function () {
|
|
3901
|
+
return [exports.HandballGameLogTypes.foul, exports.HandballGameLogTypes.yellow_card, exports.HandballGameLogTypes.red_card].indexOf(this.logType) > -1;
|
|
3902
|
+
};
|
|
3903
|
+
HandballGameLog.toFront = function (value) { };
|
|
3904
|
+
HandballGameLog.toBack = function (value) { };
|
|
3905
|
+
__decorate([
|
|
3906
|
+
ToFrontHook
|
|
3907
|
+
], HandballGameLog, "toFront", null);
|
|
3908
|
+
__decorate([
|
|
3909
|
+
ToBackHook
|
|
3910
|
+
], HandballGameLog, "toBack", null);
|
|
3911
|
+
HandballGameLog = __decorate([
|
|
3912
|
+
ModelInstance({
|
|
3913
|
+
mappingFields: {
|
|
3914
|
+
id: 'id',
|
|
3915
|
+
unique_id: 'uniqueId',
|
|
3916
|
+
game_id: 'gameId',
|
|
3917
|
+
game_user_id: 'gameUserId',
|
|
3918
|
+
team_id: 'teamId',
|
|
3919
|
+
log_type: 'logType',
|
|
3920
|
+
datetime: 'datetime',
|
|
3921
|
+
time: 'time',
|
|
3922
|
+
period: 'period',
|
|
3923
|
+
active: 'active',
|
|
3924
|
+
is_highlight: 'isHighlight',
|
|
3925
|
+
is_goalie: 'isGoalie',
|
|
3926
|
+
},
|
|
3927
|
+
relation: {
|
|
3928
|
+
datetime: DateTimeField,
|
|
3929
|
+
logType: enumField(exports.HandballGameLogTypes)
|
|
3930
|
+
}
|
|
3931
|
+
})
|
|
3932
|
+
], HandballGameLog);
|
|
3933
|
+
return HandballGameLog;
|
|
3934
|
+
}(BaseModel));
|
|
3935
|
+
|
|
3936
|
+
var HandballGameStatistic = /** @class */ (function (_super) {
|
|
3937
|
+
__extends(HandballGameStatistic, _super);
|
|
3938
|
+
function HandballGameStatistic() {
|
|
3939
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3940
|
+
}
|
|
3941
|
+
Object.defineProperty(HandballGameStatistic.prototype, "id", {
|
|
3942
|
+
get: function () {
|
|
3943
|
+
return this.gameUserId;
|
|
3944
|
+
},
|
|
3945
|
+
enumerable: true,
|
|
3946
|
+
configurable: true
|
|
3947
|
+
});
|
|
3948
|
+
Object.defineProperty(HandballGameStatistic.prototype, "shots", {
|
|
3949
|
+
get: function () {
|
|
3950
|
+
return (this.shotMisses || 0) + (this.shotsOnGoal || 0) + (this.shotsBlocked || 0);
|
|
3951
|
+
},
|
|
3952
|
+
enumerable: true,
|
|
3953
|
+
configurable: true
|
|
3954
|
+
});
|
|
3955
|
+
Object.defineProperty(HandballGameStatistic.prototype, "totalGoals", {
|
|
3956
|
+
get: function () {
|
|
3957
|
+
return (this.goals || 0) + (this.penaltyGoals || 0);
|
|
3958
|
+
},
|
|
3959
|
+
enumerable: true,
|
|
3960
|
+
configurable: true
|
|
3961
|
+
});
|
|
3962
|
+
Object.defineProperty(HandballGameStatistic.prototype, "goalsPercent", {
|
|
3963
|
+
get: function () {
|
|
3964
|
+
if (!this.shots || !this.totalGoals) {
|
|
3965
|
+
return 0;
|
|
3966
|
+
}
|
|
3967
|
+
return Math.round(1000 * this.totalGoals / this.shots) / 10;
|
|
3968
|
+
},
|
|
3969
|
+
enumerable: true,
|
|
3970
|
+
configurable: true
|
|
3971
|
+
});
|
|
3972
|
+
Object.defineProperty(HandballGameStatistic.prototype, "shotsOnGoalPercent", {
|
|
3973
|
+
get: function () {
|
|
3974
|
+
if (!this.shotsOnGoal || !this.shots) {
|
|
3975
|
+
return 0;
|
|
3976
|
+
}
|
|
3977
|
+
return Math.round(1000 * this.shotsOnGoal / this.shots) / 10;
|
|
3978
|
+
},
|
|
3979
|
+
enumerable: true,
|
|
3980
|
+
configurable: true
|
|
3981
|
+
});
|
|
3982
|
+
Object.defineProperty(HandballGameStatistic.prototype, "penaltyShots", {
|
|
3983
|
+
get: function () {
|
|
3984
|
+
return (this.penaltyShotsOnGoal || 0) + (this.penaltyMisses || 0);
|
|
3985
|
+
},
|
|
3986
|
+
enumerable: true,
|
|
3987
|
+
configurable: true
|
|
3988
|
+
});
|
|
3989
|
+
Object.defineProperty(HandballGameStatistic.prototype, "penaltyGoalsPercent", {
|
|
3990
|
+
get: function () {
|
|
3991
|
+
if (!this.penaltyShots || !this.penaltyGoals) {
|
|
3992
|
+
return 0;
|
|
3993
|
+
}
|
|
3994
|
+
return Math.round(1000 * this.penaltyGoals / this.penaltyShots) / 10;
|
|
3995
|
+
},
|
|
3996
|
+
enumerable: true,
|
|
3997
|
+
configurable: true
|
|
3998
|
+
});
|
|
3999
|
+
Object.defineProperty(HandballGameStatistic.prototype, "shotsAgainst", {
|
|
4000
|
+
get: function () {
|
|
4001
|
+
return (this.saves || 0) + (this.goalsAgainst || 0);
|
|
4002
|
+
},
|
|
4003
|
+
enumerable: true,
|
|
4004
|
+
configurable: true
|
|
4005
|
+
});
|
|
4006
|
+
Object.defineProperty(HandballGameStatistic.prototype, "penaltyShotsAgainst", {
|
|
4007
|
+
get: function () {
|
|
4008
|
+
return (this.penaltySaves || 0) + (this.penaltyGoalsAgainst || 0);
|
|
4009
|
+
},
|
|
4010
|
+
enumerable: true,
|
|
4011
|
+
configurable: true
|
|
4012
|
+
});
|
|
4013
|
+
Object.defineProperty(HandballGameStatistic.prototype, "totalGoalsAgainst", {
|
|
4014
|
+
get: function () {
|
|
4015
|
+
return (this.goalsAgainst || 0) + (this.penaltyGoalsAgainst || 0);
|
|
4016
|
+
},
|
|
4017
|
+
enumerable: true,
|
|
4018
|
+
configurable: true
|
|
4019
|
+
});
|
|
4020
|
+
Object.defineProperty(HandballGameStatistic.prototype, "totalSaves", {
|
|
4021
|
+
get: function () {
|
|
4022
|
+
return (this.saves || 0) + (this.penaltySaves || 0);
|
|
4023
|
+
},
|
|
4024
|
+
enumerable: true,
|
|
4025
|
+
configurable: true
|
|
4026
|
+
});
|
|
4027
|
+
Object.defineProperty(HandballGameStatistic.prototype, "savesPercent", {
|
|
4028
|
+
get: function () {
|
|
4029
|
+
if (!this.shotsAgainst || !this.saves) {
|
|
4030
|
+
return 0;
|
|
4031
|
+
}
|
|
4032
|
+
return Math.round(1000 * this.saves / this.shotsAgainst) / 10;
|
|
4033
|
+
},
|
|
4034
|
+
enumerable: true,
|
|
4035
|
+
configurable: true
|
|
4036
|
+
});
|
|
4037
|
+
Object.defineProperty(HandballGameStatistic.prototype, "penaltySavesPercent", {
|
|
4038
|
+
get: function () {
|
|
4039
|
+
if (!this.penaltyShotsAgainst || !this.penaltySaves) {
|
|
4040
|
+
return 0;
|
|
4041
|
+
}
|
|
4042
|
+
return Math.round(1000 * this.penaltySaves / this.penaltyShotsAgainst) / 10;
|
|
4043
|
+
},
|
|
4044
|
+
enumerable: true,
|
|
4045
|
+
configurable: true
|
|
4046
|
+
});
|
|
4047
|
+
Object.defineProperty(HandballGameStatistic.prototype, "gameMinutes", {
|
|
4048
|
+
get: function () {
|
|
4049
|
+
return Math.floor(this.gameTime / 60);
|
|
4050
|
+
},
|
|
4051
|
+
enumerable: true,
|
|
4052
|
+
configurable: true
|
|
4053
|
+
});
|
|
4054
|
+
HandballGameStatistic.toFront = function (data) { };
|
|
4055
|
+
HandballGameStatistic.toBack = function (data) { };
|
|
4056
|
+
__decorate([
|
|
4057
|
+
ToFrontHook
|
|
4058
|
+
], HandballGameStatistic, "toFront", null);
|
|
4059
|
+
__decorate([
|
|
4060
|
+
ToBackHook
|
|
4061
|
+
], HandballGameStatistic, "toBack", null);
|
|
4062
|
+
HandballGameStatistic = __decorate([
|
|
4063
|
+
ModelInstance({
|
|
4064
|
+
mappingFields: {
|
|
4065
|
+
game_user_id: 'gameUserId',
|
|
4066
|
+
points: 'points',
|
|
4067
|
+
shot_misses: 'shotMisses',
|
|
4068
|
+
shots_on_goal: 'shotsOnGoal',
|
|
4069
|
+
shots_blocked: 'shotsBlocked',
|
|
4070
|
+
goals: 'goals',
|
|
4071
|
+
assists: 'assists',
|
|
4072
|
+
penalty_goals: 'penaltyGoals',
|
|
4073
|
+
penalty_misses: 'penaltyMisses',
|
|
4074
|
+
penalty_shots_on_goal: 'penaltyShotsOnGoal',
|
|
4075
|
+
saves: 'saves',
|
|
4076
|
+
penalty_saves: 'penaltySaves',
|
|
4077
|
+
goals_against: 'goalsAgainst',
|
|
4078
|
+
penalty_goals_against: 'penaltyGoalsAgainst',
|
|
4079
|
+
safety_rate: 'safetyRate',
|
|
4080
|
+
fouls: 'fouls',
|
|
4081
|
+
yellowCards: 'yellowCards',
|
|
4082
|
+
red_cards: 'redCards',
|
|
4083
|
+
two_minute_fouls: 'twoMinuteFouls',
|
|
4084
|
+
turnovers: 'turnovers',
|
|
4085
|
+
steals: 'steals',
|
|
4086
|
+
block_shots: 'blockShots',
|
|
4087
|
+
game_time: 'gameTime',
|
|
4088
|
+
plus_minus: 'plusMinus'
|
|
4089
|
+
}
|
|
4090
|
+
})
|
|
4091
|
+
], HandballGameStatistic);
|
|
4092
|
+
return HandballGameStatistic;
|
|
4093
|
+
}(BaseModel));
|
|
4094
|
+
|
|
4095
|
+
var HandballStatistic = /** @class */ (function (_super) {
|
|
4096
|
+
__extends(HandballStatistic, _super);
|
|
4097
|
+
function HandballStatistic() {
|
|
4098
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4099
|
+
}
|
|
4100
|
+
Object.defineProperty(HandballStatistic.prototype, "userMinutes", {
|
|
4101
|
+
get: function () {
|
|
4102
|
+
if (!this.gameTime) {
|
|
4103
|
+
return '00:00';
|
|
4104
|
+
}
|
|
4105
|
+
var minutes = Math.floor(this.gameTime / 60);
|
|
4106
|
+
var seconds = Math.floor(this.gameTime - minutes * 60);
|
|
4107
|
+
return "" + (minutes < 10 ? 0 : '') + minutes + ":" + (seconds < 10 ? 0 : '') + seconds;
|
|
4108
|
+
},
|
|
4109
|
+
enumerable: true,
|
|
4110
|
+
configurable: true
|
|
4111
|
+
});
|
|
4112
|
+
HandballStatistic.toFront = function (data) { };
|
|
4113
|
+
HandballStatistic.toBack = function (data) { };
|
|
4114
|
+
__decorate([
|
|
4115
|
+
ToFrontHook
|
|
4116
|
+
], HandballStatistic, "toFront", null);
|
|
4117
|
+
__decorate([
|
|
4118
|
+
ToBackHook
|
|
4119
|
+
], HandballStatistic, "toBack", null);
|
|
4120
|
+
HandballStatistic = __decorate([
|
|
4121
|
+
ModelInstance({
|
|
4122
|
+
mappingFields: {
|
|
4123
|
+
tournament_team_user: 'tournamentTeamUser',
|
|
4124
|
+
team: 'team',
|
|
4125
|
+
team_user: 'teamUser',
|
|
4126
|
+
user: 'user',
|
|
4127
|
+
tournament_team: 'tournamentTeam',
|
|
4128
|
+
month: 'month',
|
|
4129
|
+
win_lose: 'winLose',
|
|
4130
|
+
games_count: 'gamesCount',
|
|
4131
|
+
won_games_count: 'wonGamesCount',
|
|
4132
|
+
points: 'points',
|
|
4133
|
+
shot_misses: 'shotMisses',
|
|
4134
|
+
shots_on_goal: 'shotsOnGoal',
|
|
4135
|
+
shots_blocked: 'shotsBlocked',
|
|
4136
|
+
goals: 'goals',
|
|
4137
|
+
assists: 'assists',
|
|
4138
|
+
penalty_goals: 'penaltyGoals',
|
|
4139
|
+
penalty_misses: 'penaltyMisses',
|
|
4140
|
+
penalty_shots_on_goal: 'penaltyShotsOnGoal',
|
|
4141
|
+
saves: 'saves',
|
|
4142
|
+
penalty_saves: 'penaltySaves',
|
|
4143
|
+
goals_against: 'goalsAgainst',
|
|
4144
|
+
penalty_goals_against: 'penaltyGoalsAgainst',
|
|
4145
|
+
safety_rate: 'safetyRate',
|
|
4146
|
+
fouls: 'fouls',
|
|
4147
|
+
yellow_cards: 'yellowCards',
|
|
4148
|
+
red_cards: 'redCards',
|
|
4149
|
+
two_minute_fouls: 'twoMinuteFouls',
|
|
4150
|
+
turnovers: 'turnovers',
|
|
4151
|
+
steals: 'steals',
|
|
4152
|
+
block_shots: 'blockShots',
|
|
4153
|
+
game_time: 'gameTime',
|
|
4154
|
+
plus_minus: 'plusMinus',
|
|
4155
|
+
shots: 'shots',
|
|
4156
|
+
goals_percent: 'goalsPercent',
|
|
4157
|
+
penalty_shots: 'penaltyShots',
|
|
4158
|
+
penalty_goals_percent: 'penaltyGoalsPercent',
|
|
4159
|
+
shots_against: 'shotsAgainst',
|
|
4160
|
+
saves_percent: 'savesPercent',
|
|
4161
|
+
penalty_shots_against: 'penaltyShotsAgainst',
|
|
4162
|
+
penalty_saves_percent: 'penaltySavesPercent',
|
|
4163
|
+
total_goals: 'totalGoals',
|
|
4164
|
+
total_saves: 'totalSaves',
|
|
4165
|
+
total_goals_against: 'totalGoalsAgainst',
|
|
4166
|
+
newbie: 'newbie'
|
|
4167
|
+
},
|
|
4168
|
+
relation: {
|
|
4169
|
+
tournamentTeamUser: TournamentTeamUser,
|
|
4170
|
+
team: Team,
|
|
4171
|
+
teamUser: TeamUser,
|
|
4172
|
+
user: User,
|
|
4173
|
+
tournamentTeam: TournamentTeam,
|
|
4174
|
+
month: DateField
|
|
4175
|
+
}
|
|
4176
|
+
})
|
|
4177
|
+
], HandballStatistic);
|
|
4178
|
+
return HandballStatistic;
|
|
4179
|
+
}(BaseStatistic));
|
|
4180
|
+
|
|
4181
|
+
var HandballGameTeamStatistic = /** @class */ (function (_super) {
|
|
4182
|
+
__extends(HandballGameTeamStatistic, _super);
|
|
4183
|
+
function HandballGameTeamStatistic() {
|
|
4184
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4185
|
+
}
|
|
4186
|
+
HandballGameTeamStatistic.toFront = function (data) { };
|
|
4187
|
+
HandballGameTeamStatistic.toBack = function (data) { };
|
|
4188
|
+
__decorate([
|
|
4189
|
+
ToFrontHook
|
|
4190
|
+
], HandballGameTeamStatistic, "toFront", null);
|
|
4191
|
+
__decorate([
|
|
4192
|
+
ToBackHook
|
|
4193
|
+
], HandballGameTeamStatistic, "toBack", null);
|
|
4194
|
+
HandballGameTeamStatistic = __decorate([
|
|
4195
|
+
ModelInstance({
|
|
4196
|
+
mappingFields: {
|
|
4197
|
+
team: 'team',
|
|
4198
|
+
competitor_team: 'competitorTeam'
|
|
4199
|
+
},
|
|
4200
|
+
relation: {
|
|
4201
|
+
team: HandballStatistic,
|
|
4202
|
+
competitorTeam: HandballStatistic
|
|
4203
|
+
}
|
|
4204
|
+
})
|
|
4205
|
+
], HandballGameTeamStatistic);
|
|
4206
|
+
return HandballGameTeamStatistic;
|
|
4207
|
+
}(BaseModel));
|
|
4208
|
+
|
|
4209
|
+
var HandballGameApi = /** @class */ (function (_super) {
|
|
4210
|
+
__extends(HandballGameApi, _super);
|
|
4211
|
+
function HandballGameApi(httpClient, configService) {
|
|
4212
|
+
var _this = _super.call(this, httpClient, configService) || this;
|
|
4213
|
+
_this.httpClient = httpClient;
|
|
4214
|
+
_this.configService = configService;
|
|
4215
|
+
return _this;
|
|
4216
|
+
}
|
|
4217
|
+
HandballGameApi.prototype.getById = function (gameId) {
|
|
4218
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4219
|
+
return __generator(this, function (_a) {
|
|
4220
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_handball_game/" + gameId + "/").pipe(operators.map(function (result) { return Game.toFront(result); })).toPromise()];
|
|
4221
|
+
});
|
|
4222
|
+
});
|
|
4223
|
+
};
|
|
4224
|
+
HandballGameApi.prototype.getTeamStatistic = function (gameId) {
|
|
4225
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4226
|
+
return __generator(this, function (_a) {
|
|
4227
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_handball_game/" + gameId + "/team_statistic/").pipe(operators.map(function (result) { return HandballGameTeamStatistic.toFront(result); })).toPromise()];
|
|
4228
|
+
});
|
|
4229
|
+
});
|
|
4230
|
+
};
|
|
4231
|
+
HandballGameApi.prototype.getUserStatistic = function (gameId) {
|
|
4232
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4233
|
+
return __generator(this, function (_a) {
|
|
4234
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_handball_game/" + gameId + "/user_statistic/").pipe(operators.map(function (result) { return HandballGameStatistic.toFront(result); })).toPromise()];
|
|
4235
|
+
});
|
|
4236
|
+
});
|
|
4237
|
+
};
|
|
4238
|
+
HandballGameApi.prototype.getLogs = function (gameId) {
|
|
4239
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4240
|
+
return __generator(this, function (_a) {
|
|
4241
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_handball_game/" + gameId + "/logs/").pipe(operators.map(function (result) { return HandballGameLog.toFront(result); })).toPromise()];
|
|
4242
|
+
});
|
|
4243
|
+
});
|
|
4244
|
+
};
|
|
4245
|
+
HandballGameApi.prototype.downloadProtocol = function (gameId, format) {
|
|
4246
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4247
|
+
return __generator(this, function (_a) {
|
|
4248
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_handball_game/" + gameId + "/game_protocol/", {
|
|
4249
|
+
params: new http.HttpParams().set('file_type', format),
|
|
4250
|
+
responseType: 'blob'
|
|
4251
|
+
}).toPromise()];
|
|
4252
|
+
});
|
|
4253
|
+
});
|
|
4254
|
+
};
|
|
4255
|
+
HandballGameApi.prototype.downloadApplication = function (gameId, format, type) {
|
|
4256
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4257
|
+
return __generator(this, function (_a) {
|
|
4258
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_handball_game/" + gameId + "/game_application_file/", {
|
|
4259
|
+
params: new http.HttpParams().set('file_type', format).set('application_type', type),
|
|
4260
|
+
responseType: 'blob'
|
|
4261
|
+
}).toPromise()];
|
|
4262
|
+
});
|
|
4263
|
+
});
|
|
4264
|
+
};
|
|
4265
|
+
HandballGameApi.ctorParameters = function () { return [
|
|
4266
|
+
{ type: http.HttpClient },
|
|
4267
|
+
{ type: ConfigService }
|
|
4268
|
+
]; };
|
|
4269
|
+
HandballGameApi.ɵprov = core.ɵɵdefineInjectable({ factory: function HandballGameApi_Factory() { return new HandballGameApi(core.ɵɵinject(http.HttpClient), core.ɵɵinject(ConfigService)); }, token: HandballGameApi, providedIn: "root" });
|
|
4270
|
+
HandballGameApi = __decorate([
|
|
4271
|
+
core.Injectable({ providedIn: 'root' })
|
|
4272
|
+
], HandballGameApi);
|
|
4273
|
+
return HandballGameApi;
|
|
4274
|
+
}(GameBaseApi));
|
|
4275
|
+
|
|
3753
4276
|
var TournamentNews = /** @class */ (function (_super) {
|
|
3754
4277
|
__extends(TournamentNews, _super);
|
|
3755
4278
|
function TournamentNews() {
|
|
@@ -4531,6 +5054,39 @@
|
|
|
4531
5054
|
});
|
|
4532
5055
|
});
|
|
4533
5056
|
};
|
|
5057
|
+
TournamentApi.prototype.getHandballStatistic = function (filters) {
|
|
5058
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5059
|
+
var params, _a, _b, key;
|
|
5060
|
+
var e_5, _c;
|
|
5061
|
+
return __generator(this, function (_d) {
|
|
5062
|
+
params = new http.HttpParams();
|
|
5063
|
+
if (filters) {
|
|
5064
|
+
try {
|
|
5065
|
+
for (_a = __values(Object.keys(filters)), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
5066
|
+
key = _b.value;
|
|
5067
|
+
if (filters[key]) {
|
|
5068
|
+
params = params.set(key, filters[key]);
|
|
5069
|
+
}
|
|
5070
|
+
}
|
|
5071
|
+
}
|
|
5072
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
5073
|
+
finally {
|
|
5074
|
+
try {
|
|
5075
|
+
if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
|
|
5076
|
+
}
|
|
5077
|
+
finally { if (e_5) throw e_5.error; }
|
|
5078
|
+
}
|
|
5079
|
+
if (filters.per_game !== undefined) {
|
|
5080
|
+
params = params.set('per_game', filters.per_game ? '1' : '0');
|
|
5081
|
+
}
|
|
5082
|
+
if (filters.tournament_ids) {
|
|
5083
|
+
params = params.set('tournament_ids', filters.tournament_ids.join(','));
|
|
5084
|
+
}
|
|
5085
|
+
}
|
|
5086
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/handball_statistic/", { params: params }).pipe(operators.map(function (result) { return HandballStatistic.toFront(result); })).toPromise()];
|
|
5087
|
+
});
|
|
5088
|
+
});
|
|
5089
|
+
};
|
|
4534
5090
|
TournamentApi.prototype.getTournamentTeamUsers = function (tournamentTeamId) {
|
|
4535
5091
|
return __awaiter(this, void 0, void 0, function () {
|
|
4536
5092
|
return __generator(this, function (_a) {
|
|
@@ -7491,40 +8047,64 @@
|
|
|
7491
8047
|
_a$3);
|
|
7492
8048
|
|
|
7493
8049
|
var _a$4;
|
|
7494
|
-
var
|
|
7495
|
-
_a$4[exports.
|
|
7496
|
-
_a$4[exports.
|
|
7497
|
-
_a$4[exports.
|
|
7498
|
-
_a$4[exports.
|
|
7499
|
-
_a$4[exports.
|
|
7500
|
-
_a$4[exports.
|
|
7501
|
-
_a$4[exports.
|
|
7502
|
-
_a$4[exports.
|
|
7503
|
-
_a$4[exports.
|
|
8050
|
+
var HandballGameLogTypeLocalization = (_a$4 = {},
|
|
8051
|
+
_a$4[exports.HandballGameLogTypes.enter_game] = 'Выход на поле',
|
|
8052
|
+
_a$4[exports.HandballGameLogTypes.exit_game] = 'Ушел с поля',
|
|
8053
|
+
_a$4[exports.HandballGameLogTypes.shot_miss] = 'Бросок мимо',
|
|
8054
|
+
_a$4[exports.HandballGameLogTypes.shot_on_goal] = 'Бросок в створ',
|
|
8055
|
+
_a$4[exports.HandballGameLogTypes.shot_blocked] = 'Заблокированный бросок',
|
|
8056
|
+
_a$4[exports.HandballGameLogTypes.goal] = 'Гол',
|
|
8057
|
+
_a$4[exports.HandballGameLogTypes.assist] = 'Передача',
|
|
8058
|
+
_a$4[exports.HandballGameLogTypes.penalty_miss] = 'Пенальти промах',
|
|
8059
|
+
_a$4[exports.HandballGameLogTypes.penalty_shot_on_goal] = 'Пенальти в створ',
|
|
8060
|
+
_a$4[exports.HandballGameLogTypes.penalty_goal] = 'Гол с пенальти',
|
|
8061
|
+
_a$4[exports.HandballGameLogTypes.save] = 'Сэйв',
|
|
8062
|
+
_a$4[exports.HandballGameLogTypes.penalty_save] = 'Сэйв пенальти',
|
|
8063
|
+
_a$4[exports.HandballGameLogTypes.foul] = 'Фол',
|
|
8064
|
+
_a$4[exports.HandballGameLogTypes.yellow_card] = 'Желлтая карточка',
|
|
8065
|
+
_a$4[exports.HandballGameLogTypes.red_card] = 'Красная карточка',
|
|
8066
|
+
_a$4[exports.HandballGameLogTypes.two_minute_foul] = '2х минутный штраф',
|
|
8067
|
+
_a$4[exports.HandballGameLogTypes.turnover] = 'Потеря',
|
|
8068
|
+
_a$4[exports.HandballGameLogTypes.steal] = 'Перехват',
|
|
8069
|
+
_a$4[exports.HandballGameLogTypes.block_shot] = 'Блок броска',
|
|
8070
|
+
_a$4[exports.HandballGameLogTypes.timeout] = 'Таймаут',
|
|
7504
8071
|
_a$4);
|
|
7505
8072
|
|
|
7506
8073
|
var _a$5;
|
|
7507
|
-
var
|
|
7508
|
-
_a$5[exports.
|
|
7509
|
-
_a$5[exports.
|
|
7510
|
-
_a$5[exports.
|
|
7511
|
-
_a$5[exports.
|
|
7512
|
-
_a$5[exports.
|
|
7513
|
-
_a$5[exports.
|
|
7514
|
-
_a$5[exports.
|
|
7515
|
-
_a$5[exports.
|
|
7516
|
-
_a$5[exports.
|
|
7517
|
-
_a$5[exports.TeamUserRole.assistant] = 'Ассистент',
|
|
8074
|
+
var OvertimeTypeLocalization = (_a$5 = {},
|
|
8075
|
+
_a$5[exports.OvertimeTypes.to_score_diff] = 'До разницы в N мячей',
|
|
8076
|
+
_a$5[exports.OvertimeTypes.to_score_total] = 'До N очков',
|
|
8077
|
+
_a$5[exports.OvertimeTypes.time] = 'По времени',
|
|
8078
|
+
_a$5[exports.OvertimeTypes.without_overtime] = 'Без овертайма',
|
|
8079
|
+
_a$5[exports.OvertimeTypes.to_first_goal] = 'На N минут до первой шайбы',
|
|
8080
|
+
_a$5[exports.OvertimeTypes.to_first_goal_and_bullitts] = 'На N минут до первой шайбы + буллиты',
|
|
8081
|
+
_a$5[exports.OvertimeTypes.bullitts] = 'Буллиты',
|
|
8082
|
+
_a$5[exports.OvertimeTypes.penalties] = 'Пенальти',
|
|
8083
|
+
_a$5[exports.OvertimeTypes.time_and_penalties] = 'Дополнительное время + пенальти',
|
|
7518
8084
|
_a$5);
|
|
7519
8085
|
|
|
7520
|
-
var _a$6
|
|
7521
|
-
var
|
|
7522
|
-
_a$6[exports.
|
|
7523
|
-
_a$6[exports.
|
|
7524
|
-
_a$6[exports.
|
|
7525
|
-
_a$6[exports.
|
|
7526
|
-
_a$6[exports.
|
|
8086
|
+
var _a$6;
|
|
8087
|
+
var TeamUserRoleLocalization = (_a$6 = {},
|
|
8088
|
+
_a$6[exports.TeamUserRole.member] = 'Пользователь',
|
|
8089
|
+
_a$6[exports.TeamUserRole.moderator] = 'Модератор',
|
|
8090
|
+
_a$6[exports.TeamUserRole.admin] = 'Владелец',
|
|
8091
|
+
_a$6[exports.TeamUserRole.coach] = 'Тренер',
|
|
8092
|
+
_a$6[exports.TeamUserRole.head_coach] = 'Главный тренер',
|
|
8093
|
+
_a$6[exports.TeamUserRole.playing_coach] = 'Играющий тренер',
|
|
8094
|
+
_a$6[exports.TeamUserRole.manager] = 'Менеджер',
|
|
8095
|
+
_a$6[exports.TeamUserRole.head_manager] = 'Генеральный менеджер',
|
|
8096
|
+
_a$6[exports.TeamUserRole.captain] = 'Капитан',
|
|
8097
|
+
_a$6[exports.TeamUserRole.assistant] = 'Ассистент',
|
|
7527
8098
|
_a$6);
|
|
8099
|
+
|
|
8100
|
+
var _a$7, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
8101
|
+
var GameBasketballPositionLocalization = (_a$7 = {},
|
|
8102
|
+
_a$7[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
|
|
8103
|
+
_a$7[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
|
|
8104
|
+
_a$7[exports.GameBasketballPosition.small_forward] = 'Легкий форвард',
|
|
8105
|
+
_a$7[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
|
|
8106
|
+
_a$7[exports.GameBasketballPosition.center] = 'Центровой',
|
|
8107
|
+
_a$7);
|
|
7528
8108
|
var GameBasketballPositionShortLocalization = (_b = {},
|
|
7529
8109
|
_b[exports.GameBasketballPosition.point_guard] = 'PG',
|
|
7530
8110
|
_b[exports.GameBasketballPosition.shooting_guard] = 'SG',
|
|
@@ -7577,32 +8157,39 @@
|
|
|
7577
8157
|
_k[exports.FootballWorkFoot.right] = 'Правая',
|
|
7578
8158
|
_k[exports.FootballWorkFoot.both] = 'Обе',
|
|
7579
8159
|
_k);
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
_a$
|
|
7591
|
-
_a$
|
|
7592
|
-
_a$
|
|
7593
|
-
_a$
|
|
7594
|
-
_a$
|
|
7595
|
-
_a$
|
|
7596
|
-
_a$
|
|
7597
|
-
_a$
|
|
7598
|
-
_a$
|
|
7599
|
-
_a$
|
|
7600
|
-
_a$
|
|
7601
|
-
_a$
|
|
7602
|
-
_a$
|
|
7603
|
-
_a$
|
|
7604
|
-
_a$
|
|
7605
|
-
_a$
|
|
8160
|
+
var GameHandballPositionLocalization = (_l = {},
|
|
8161
|
+
_l[exports.GameHandballPosition.goalkeeper] = 'Вратарь',
|
|
8162
|
+
_l[exports.GameHandballPosition.winger] = 'Крайний',
|
|
8163
|
+
_l[exports.GameHandballPosition.pivot] = 'Линейный',
|
|
8164
|
+
_l[exports.GameHandballPosition.centre_back] = 'Центральный',
|
|
8165
|
+
_l[exports.GameHandballPosition.fullback] = 'Полусредний',
|
|
8166
|
+
_l);
|
|
8167
|
+
|
|
8168
|
+
var _a$8;
|
|
8169
|
+
var VolleyballGameLogTypeLocalization = (_a$8 = {},
|
|
8170
|
+
_a$8[exports.VolleyballGameLogType.enter_game] = 'Выход на площадку',
|
|
8171
|
+
_a$8[exports.VolleyballGameLogType.exit_game] = 'Уход с площадки',
|
|
8172
|
+
_a$8[exports.VolleyballGameLogType.remove_game] = 'Удаление с площадки',
|
|
8173
|
+
_a$8[exports.VolleyballGameLogType.serve_ace] = 'Эйс',
|
|
8174
|
+
_a$8[exports.VolleyballGameLogType.serve_hit] = 'Подача',
|
|
8175
|
+
_a$8[exports.VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
|
|
8176
|
+
_a$8[exports.VolleyballGameLogType.attack_spike] = 'Результативная атака',
|
|
8177
|
+
_a$8[exports.VolleyballGameLogType.attack_shot] = 'Атака',
|
|
8178
|
+
_a$8[exports.VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
|
|
8179
|
+
_a$8[exports.VolleyballGameLogType.stuff_block] = 'Результативный блок',
|
|
8180
|
+
_a$8[exports.VolleyballGameLogType.block_rebound] = 'Блок',
|
|
8181
|
+
_a$8[exports.VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
|
|
8182
|
+
_a$8[exports.VolleyballGameLogType.excellent_receive] = 'Отличный прием',
|
|
8183
|
+
_a$8[exports.VolleyballGameLogType.receive] = 'Прием',
|
|
8184
|
+
_a$8[exports.VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
|
|
8185
|
+
_a$8[exports.VolleyballGameLogType.serve_receive] = 'Прием подачи',
|
|
8186
|
+
_a$8[exports.VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
|
|
8187
|
+
_a$8[exports.VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
|
|
8188
|
+
_a$8[exports.VolleyballGameLogType.point] = 'Очко',
|
|
8189
|
+
_a$8[exports.VolleyballGameLogType.fault] = 'Ошибка',
|
|
8190
|
+
_a$8[exports.VolleyballGameLogType.timeout] = 'Таймаут',
|
|
8191
|
+
_a$8[exports.VolleyballGameLogType.yellow_card] = 'Предупреждение',
|
|
8192
|
+
_a$8);
|
|
7606
8193
|
|
|
7607
8194
|
var LeaguePlaylist = /** @class */ (function (_super) {
|
|
7608
8195
|
__extends(LeaguePlaylist, _super);
|
|
@@ -8081,6 +8668,7 @@
|
|
|
8081
8668
|
exports.GameBasketballPositionLocalization = GameBasketballPositionLocalization;
|
|
8082
8669
|
exports.GameBasketballPositionShortLocalization = GameBasketballPositionShortLocalization;
|
|
8083
8670
|
exports.GameFootballPositionLocalization = GameFootballPositionLocalization;
|
|
8671
|
+
exports.GameHandballPositionLocalization = GameHandballPositionLocalization;
|
|
8084
8672
|
exports.GameHockeyPositionLocalization = GameHockeyPositionLocalization;
|
|
8085
8673
|
exports.GameInvite = GameInvite;
|
|
8086
8674
|
exports.GameTimelineStageItem = GameTimelineStageItem;
|
|
@@ -8089,6 +8677,14 @@
|
|
|
8089
8677
|
exports.GameVolleyballPositionLocalization = GameVolleyballPositionLocalization;
|
|
8090
8678
|
exports.GameVolleyballPositionShortLocalization = GameVolleyballPositionShortLocalization;
|
|
8091
8679
|
exports.GameVolleyballPositionShortRuLocalization = GameVolleyballPositionShortRuLocalization;
|
|
8680
|
+
exports.HandballGameApi = HandballGameApi;
|
|
8681
|
+
exports.HandballGameConfig = HandballGameConfig;
|
|
8682
|
+
exports.HandballGameLog = HandballGameLog;
|
|
8683
|
+
exports.HandballGameLogTypeLocalization = HandballGameLogTypeLocalization;
|
|
8684
|
+
exports.HandballGameStatistic = HandballGameStatistic;
|
|
8685
|
+
exports.HandballGameTeamStatistic = HandballGameTeamStatistic;
|
|
8686
|
+
exports.HandballProfile = HandballProfile;
|
|
8687
|
+
exports.HandballStatistic = HandballStatistic;
|
|
8092
8688
|
exports.HockeyGameApi = HockeyGameApi;
|
|
8093
8689
|
exports.HockeyGameConfig = HockeyGameConfig;
|
|
8094
8690
|
exports.HockeyGameLog = HockeyGameLog;
|