@mtgame/core 0.0.10 → 0.0.12
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 +23 -31
- 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/user-profile.js +7 -1
- package/esm2015/models/hockey-game-statistic.js +2 -14
- package/esm2015/models/hockey-statistic.js +16 -2
- package/esm5/localization/user-profile.js +8 -2
- package/esm5/models/hockey-game-statistic.js +2 -30
- package/esm5/models/hockey-statistic.js +16 -2
- package/fesm2015/mtgame-core.js +22 -15
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +23 -32
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/user-profile.d.ts +6 -0
- package/models/hockey-game-statistic.d.ts +0 -4
- package/models/hockey-statistic.d.ts +14 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2520,34 +2520,6 @@
|
|
|
2520
2520
|
enumerable: true,
|
|
2521
2521
|
configurable: true
|
|
2522
2522
|
});
|
|
2523
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotMisses", {
|
|
2524
|
-
get: function () {
|
|
2525
|
-
return (this.ppShotMisses || 0) + (this.evShotMisses || 0) + (this.shShotMisses || 0);
|
|
2526
|
-
},
|
|
2527
|
-
enumerable: true,
|
|
2528
|
-
configurable: true
|
|
2529
|
-
});
|
|
2530
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotsOnGoal", {
|
|
2531
|
-
get: function () {
|
|
2532
|
-
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0);
|
|
2533
|
-
},
|
|
2534
|
-
enumerable: true,
|
|
2535
|
-
configurable: true
|
|
2536
|
-
});
|
|
2537
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotsBlocked", {
|
|
2538
|
-
get: function () {
|
|
2539
|
-
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
|
|
2540
|
-
},
|
|
2541
|
-
enumerable: true,
|
|
2542
|
-
configurable: true
|
|
2543
|
-
});
|
|
2544
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "goals", {
|
|
2545
|
-
get: function () {
|
|
2546
|
-
return (this.ppGoals || 0) + (this.evGoals || 0) + (this.shGoals || 0);
|
|
2547
|
-
},
|
|
2548
|
-
enumerable: true,
|
|
2549
|
-
configurable: true
|
|
2550
|
-
});
|
|
2551
2523
|
Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
|
|
2552
2524
|
get: function () {
|
|
2553
2525
|
return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
|
|
@@ -2589,7 +2561,7 @@
|
|
|
2589
2561
|
ev_shot_misses: 'evShotMisses',
|
|
2590
2562
|
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2591
2563
|
ev_shots_blocked: 'evShotsBlocked',
|
|
2592
|
-
sh_shot_misses: '
|
|
2564
|
+
sh_shot_misses: 'shShotMisses',
|
|
2593
2565
|
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2594
2566
|
sh_shots_blocked: 'shShotsBlocked',
|
|
2595
2567
|
pp_goals: 'ppGoals',
|
|
@@ -2644,18 +2616,32 @@
|
|
|
2644
2616
|
games_count: 'gamesCount',
|
|
2645
2617
|
won_games_count: 'wonGamesCount',
|
|
2646
2618
|
points: 'points',
|
|
2619
|
+
pp_shots: 'ppShots',
|
|
2647
2620
|
pp_shot_misses: 'ppShotMisses',
|
|
2648
2621
|
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2649
2622
|
pp_shots_blocked: 'ppShotsBlocked',
|
|
2623
|
+
ev_shots: 'evShots',
|
|
2650
2624
|
ev_shot_misses: 'evShotMisses',
|
|
2651
2625
|
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2652
2626
|
ev_shots_blocked: 'evShotsBlocked',
|
|
2653
|
-
|
|
2627
|
+
sh_shots: 'shShots',
|
|
2628
|
+
sh_shot_misses: 'shShotMisses',
|
|
2654
2629
|
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2655
2630
|
sh_shots_blocked: 'shShotsBlocked',
|
|
2631
|
+
pp_goals_percent: 'ppGoalsPercent',
|
|
2656
2632
|
pp_goals: 'ppGoals',
|
|
2633
|
+
ev_goals_percent: 'evGoalsPercent',
|
|
2657
2634
|
ev_goals: 'evGoals',
|
|
2635
|
+
sh_goals_percent: 'shGoalsPercent',
|
|
2636
|
+
goals: 'goals',
|
|
2658
2637
|
sh_goals: 'shGoals',
|
|
2638
|
+
shot_misses: 'shotMisses',
|
|
2639
|
+
shots_on_goal: 'shotsOnGoal',
|
|
2640
|
+
shots_blocked: 'shotsBlocked',
|
|
2641
|
+
shots: 'shots',
|
|
2642
|
+
goals_percent: 'goalsPercent',
|
|
2643
|
+
shots_against: 'shotsAgainst',
|
|
2644
|
+
saves_percent: 'savesPercent',
|
|
2659
2645
|
pp_assists: 'ppAssists',
|
|
2660
2646
|
ev_assists: 'evAssists',
|
|
2661
2647
|
sh_assists: 'shAssists',
|
|
@@ -5978,7 +5964,7 @@
|
|
|
5978
5964
|
_a$4[exports.TeamUserRole.admin] = 'Владелец',
|
|
5979
5965
|
_a$4);
|
|
5980
5966
|
|
|
5981
|
-
var _a$5, _b, _c, _d, _e, _f, _g;
|
|
5967
|
+
var _a$5, _b, _c, _d, _e, _f, _g, _h;
|
|
5982
5968
|
var GameBasketballPositionLocalization = (_a$5 = {},
|
|
5983
5969
|
_a$5[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
|
|
5984
5970
|
_a$5[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
|
|
@@ -6022,6 +6008,11 @@
|
|
|
6022
6008
|
_g[exports.VolleyballWorkHand.left] = 'Левая',
|
|
6023
6009
|
_g[exports.VolleyballWorkHand.right] = 'Правая',
|
|
6024
6010
|
_g);
|
|
6011
|
+
var GameHockeyPositionLocalization = (_h = {},
|
|
6012
|
+
_h[exports.GameHockeyPosition.goaltender] = 'Вратарь',
|
|
6013
|
+
_h[exports.GameHockeyPosition.defensemen] = 'Защитник',
|
|
6014
|
+
_h[exports.GameHockeyPosition.forward] = 'Нападающий',
|
|
6015
|
+
_h);
|
|
6025
6016
|
|
|
6026
6017
|
var _a$6;
|
|
6027
6018
|
var VolleyballGameLogTypeLocalization = (_a$6 = {},
|
|
@@ -6472,6 +6463,7 @@
|
|
|
6472
6463
|
exports.Game = Game;
|
|
6473
6464
|
exports.GameBasketballPositionLocalization = GameBasketballPositionLocalization;
|
|
6474
6465
|
exports.GameBasketballPositionShortLocalization = GameBasketballPositionShortLocalization;
|
|
6466
|
+
exports.GameHockeyPositionLocalization = GameHockeyPositionLocalization;
|
|
6475
6467
|
exports.GameInvite = GameInvite;
|
|
6476
6468
|
exports.GameTimelineStageItem = GameTimelineStageItem;
|
|
6477
6469
|
exports.GameTimelineStages = GameTimelineStages;
|