valtech-components 4.0.487 → 4.0.490
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 +560 -350
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +15 -1
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +517 -293
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +8 -2
- package/lib/components/organisms/mini-games/types.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -117,8 +117,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
117
117
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
118
118
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
119
119
|
readonly animals: ChessimalsAnimalView[];
|
|
120
|
-
readonly valtechComponentsVersion = "4.0.
|
|
121
|
-
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
120
|
+
readonly valtechComponentsVersion = "4.0.490";
|
|
121
|
+
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "game">;
|
|
122
122
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
123
123
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
124
124
|
readonly selectedBotDifficulty: import("@angular/core").WritableSignal<ChessimalsBotDifficulty>;
|
|
@@ -259,10 +259,13 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
259
259
|
private shortUserId;
|
|
260
260
|
private rangeValueToNumber;
|
|
261
261
|
startChallenge(): void;
|
|
262
|
+
openChallengeView(): void;
|
|
263
|
+
backToHome(): void;
|
|
262
264
|
private createNewChallengeRun;
|
|
263
265
|
resumeChallenge(run?: ChessimalsChallengeRun): void;
|
|
264
266
|
continueChallenge(): void;
|
|
265
267
|
private startChallengeRound;
|
|
268
|
+
private enterChallengeRound;
|
|
266
269
|
startGame(): void;
|
|
267
270
|
private handleChallengeRoundFinished;
|
|
268
271
|
private abandonChallengeIfNeeded;
|
|
@@ -309,6 +312,9 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
309
312
|
private isPromotionMove;
|
|
310
313
|
private animateMove;
|
|
311
314
|
private applyAnimatedMove;
|
|
315
|
+
private activeGameForRun;
|
|
316
|
+
private persistActiveChallengeGame;
|
|
317
|
+
private cloneChallengeGame;
|
|
312
318
|
private playPowerUnlockSound;
|
|
313
319
|
private queueBotTurnIfNeeded;
|
|
314
320
|
private playBotTurn;
|
|
@@ -102,6 +102,7 @@ export interface ChessimalsChallengeRun {
|
|
|
102
102
|
currentStreak: number;
|
|
103
103
|
botLadder: string[];
|
|
104
104
|
roundResults: ChessimalsChallengeRoundResult[];
|
|
105
|
+
activeGame?: ChessimalsGameState;
|
|
105
106
|
startedAt: string;
|
|
106
107
|
updatedAt: string;
|
|
107
108
|
finishedAt?: string;
|
package/lib/version.d.ts
CHANGED