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.
@@ -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.487";
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
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.487";
5
+ export declare const VERSION = "4.0.490";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.487",
3
+ "version": "4.0.490",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"