valtech-components 4.0.457 → 4.0.458
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/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +147 -3
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +7 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +153 -3
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +18 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -60,6 +60,10 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
60
60
|
private moveEffectStartTimer;
|
|
61
61
|
private moveEffectClearTimer;
|
|
62
62
|
private powerUnlockTimer;
|
|
63
|
+
private turnTimerInterval;
|
|
64
|
+
private turnTimerKey;
|
|
65
|
+
private turnTimerDeadline;
|
|
66
|
+
private turnTimerExpiredKey;
|
|
63
67
|
private pendingOnlineGameId;
|
|
64
68
|
private openingOnlineGameId;
|
|
65
69
|
private openedOnlineGameId;
|
|
@@ -72,7 +76,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
72
76
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
73
77
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
74
78
|
readonly animals: ChessimalsAnimalView[];
|
|
75
|
-
readonly valtechComponentsVersion = "4.0.
|
|
79
|
+
readonly valtechComponentsVersion = "4.0.458";
|
|
76
80
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
77
81
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
78
82
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -89,6 +93,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
89
93
|
readonly challengeLastBot: import("@angular/core").WritableSignal<ChessimalsChallengeBot>;
|
|
90
94
|
readonly challengeLastRoundStats: import("@angular/core").WritableSignal<ChessimalsChallengeRoundStats>;
|
|
91
95
|
readonly challengeNewRecord: import("@angular/core").WritableSignal<boolean>;
|
|
96
|
+
readonly turnSecondsRemaining: import("@angular/core").WritableSignal<number>;
|
|
92
97
|
readonly selectedPieceId: import("@angular/core").WritableSignal<string>;
|
|
93
98
|
readonly selectedAnimal: import("@angular/core").WritableSignal<ChessimalsAnimalType>;
|
|
94
99
|
readonly isRulesModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -172,6 +177,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
172
177
|
readonly winBody: import("@angular/core").Signal<string>;
|
|
173
178
|
readonly winReasonLabel: import("@angular/core").Signal<string>;
|
|
174
179
|
readonly movesSummary: import("@angular/core").Signal<string>;
|
|
180
|
+
readonly capturesByColor: import("@angular/core").Signal<Record<ChessimalsPlayerColor, number>>;
|
|
175
181
|
readonly resultCaptures: import("@angular/core").Signal<number>;
|
|
176
182
|
readonly resultPowers: import("@angular/core").Signal<ChessimalsAnimalType[]>;
|
|
177
183
|
readonly resultStats: import("@angular/core").Signal<{
|
|
@@ -240,6 +246,14 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
240
246
|
private createTutorialGame;
|
|
241
247
|
private basicMovesForColor;
|
|
242
248
|
selectCell(position: ChessimalsPosition): void;
|
|
249
|
+
private commitChessimalsMove;
|
|
250
|
+
private syncTurnTimer;
|
|
251
|
+
private tickTurnTimer;
|
|
252
|
+
private clearTurnTimer;
|
|
253
|
+
private turnTimerDurationSeconds;
|
|
254
|
+
private handleTurnTimerExpired;
|
|
255
|
+
private chooseAutomaticTurnMove;
|
|
256
|
+
private isPromotionMove;
|
|
243
257
|
private animateMove;
|
|
244
258
|
private applyAnimatedMove;
|
|
245
259
|
private playPowerUnlockSound;
|
|
@@ -279,6 +293,9 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
279
293
|
showRankLabel(col: number): boolean;
|
|
280
294
|
showFileLabel(row: number): boolean;
|
|
281
295
|
playerLabel(color: ChessimalsPlayerColor): string;
|
|
296
|
+
capturesScoreLabel(): string;
|
|
297
|
+
turnTimerLabel(): string;
|
|
298
|
+
isTurnTimerLow(): boolean;
|
|
282
299
|
turnStateLabel(): string;
|
|
283
300
|
turnStateBody(): string;
|
|
284
301
|
winnerDisplayName(): string;
|
package/lib/version.d.ts
CHANGED