@mtgame/core 1.0.22 → 1.0.23
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 +30 -5
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/team-user-role.js +5 -5
- package/esm2015/models/sport.js +3 -2
- package/esm2015/models/team.js +26 -2
- package/fesm2015/mtgame-core.js +30 -5
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/sport.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -844,7 +844,8 @@
|
|
|
844
844
|
SportTypes[SportTypes["darts"] = 35] = "darts";
|
|
845
845
|
SportTypes[SportTypes["badminton"] = 36] = "badminton";
|
|
846
846
|
SportTypes[SportTypes["padel_tennis"] = 37] = "padel_tennis";
|
|
847
|
-
SportTypes[SportTypes["
|
|
847
|
+
SportTypes[SportTypes["other_dota"] = 38] = "other_dota";
|
|
848
|
+
SportTypes[SportTypes["other_fifa"] = 39] = "other_fifa";
|
|
848
849
|
})(exports.SportTypes || (exports.SportTypes = {}));
|
|
849
850
|
exports.Sport = /** @class */ (function (_super) {
|
|
850
851
|
__extends(Sport, _super);
|
|
@@ -1493,6 +1494,30 @@
|
|
|
1493
1494
|
if (this.sport.isWrestball()) {
|
|
1494
1495
|
classList.push('empty-logo-basketball');
|
|
1495
1496
|
}
|
|
1497
|
+
if (this.sport.id === exports.SportTypes.chess) {
|
|
1498
|
+
classList.push('empty-logo-chess');
|
|
1499
|
+
}
|
|
1500
|
+
if (this.sport.id === exports.SportTypes.table_tennis) {
|
|
1501
|
+
classList.push('empty-logo-table-tennis');
|
|
1502
|
+
}
|
|
1503
|
+
if (this.sport.id === exports.SportTypes.billiard) {
|
|
1504
|
+
classList.push('empty-logo-billiard');
|
|
1505
|
+
}
|
|
1506
|
+
if (this.sport.id === exports.SportTypes.darts) {
|
|
1507
|
+
classList.push('empty-logo-darts');
|
|
1508
|
+
}
|
|
1509
|
+
if (this.sport.id === exports.SportTypes.badminton) {
|
|
1510
|
+
classList.push('empty-logo-badminton');
|
|
1511
|
+
}
|
|
1512
|
+
if (this.sport.id === exports.SportTypes.padel_tennis) {
|
|
1513
|
+
classList.push('empty-logo-padel-tennis');
|
|
1514
|
+
}
|
|
1515
|
+
if (this.sport.id === exports.SportTypes.other_dota) {
|
|
1516
|
+
classList.push('empty-logo-cyber');
|
|
1517
|
+
}
|
|
1518
|
+
if (this.sport.id === exports.SportTypes.other_fifa) {
|
|
1519
|
+
classList.push('empty-logo-cyber');
|
|
1520
|
+
}
|
|
1496
1521
|
return classList.join(' ');
|
|
1497
1522
|
};
|
|
1498
1523
|
Team.toFront = function (data) {
|
|
@@ -14996,8 +15021,8 @@
|
|
|
14996
15021
|
var _a$6, _b$6, _c$6;
|
|
14997
15022
|
var TeamUserRoleLocalization = (_a$6 = {},
|
|
14998
15023
|
_a$6[Locales.ru] = (_b$6 = {},
|
|
14999
|
-
_b$6[exports.TeamUserRole.member] = '
|
|
15000
|
-
_b$6[exports.TeamUserRole.moderator] = '
|
|
15024
|
+
_b$6[exports.TeamUserRole.member] = 'Игрок',
|
|
15025
|
+
_b$6[exports.TeamUserRole.moderator] = 'Игрок',
|
|
15001
15026
|
_b$6[exports.TeamUserRole.admin] = 'Владелец',
|
|
15002
15027
|
_b$6[exports.TeamUserRole.coach] = 'Тренер',
|
|
15003
15028
|
_b$6[exports.TeamUserRole.head_coach] = 'Главный тренер',
|
|
@@ -15016,8 +15041,8 @@
|
|
|
15016
15041
|
_b$6[exports.TeamUserRole.game_application_manager] = 'Менеджер по заявкам на игры',
|
|
15017
15042
|
_b$6),
|
|
15018
15043
|
_a$6[Locales.en] = (_c$6 = {},
|
|
15019
|
-
_c$6[exports.TeamUserRole.moderator] = '
|
|
15020
|
-
_c$6[exports.TeamUserRole.member] = '
|
|
15044
|
+
_c$6[exports.TeamUserRole.moderator] = 'Player',
|
|
15045
|
+
_c$6[exports.TeamUserRole.member] = 'Player',
|
|
15021
15046
|
_c$6[exports.TeamUserRole.admin] = 'Owner',
|
|
15022
15047
|
_c$6[exports.TeamUserRole.coach] = 'Coach',
|
|
15023
15048
|
_c$6[exports.TeamUserRole.head_coach] = 'Head coach',
|