valtech-components 4.0.410 → 4.0.411

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.
@@ -110,6 +110,9 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
110
110
  readonly hasReplayControls: import("@angular/core").Signal<boolean>;
111
111
  readonly reviewGame: import("@angular/core").Signal<ChessimalsGameState>;
112
112
  readonly currentPlayer: import("@angular/core").Signal<import("./types").ChessimalsPlayerState>;
113
+ readonly powerPlayerColor: import("@angular/core").Signal<ChessimalsPlayerColor>;
114
+ readonly powerPlayer: import("@angular/core").Signal<import("./types").ChessimalsPlayerState>;
115
+ readonly canUsePowerCards: import("@angular/core").Signal<boolean>;
113
116
  readonly legalMoves: import("@angular/core").Signal<ChessimalsMove[]>;
114
117
  readonly legalMoveKeys: import("@angular/core").Signal<Set<string>>;
115
118
  readonly captureMoveKeys: import("@angular/core").Signal<Set<string>>;
@@ -122,6 +125,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
122
125
  readonly canPlayCurrentTurn: import("@angular/core").Signal<boolean>;
123
126
  readonly canControlCurrentGame: import("@angular/core").Signal<boolean>;
124
127
  readonly rematchState: import("@angular/core").Signal<ChessimalsRematchState>;
128
+ readonly rematchActionLabel: import("@angular/core").Signal<string>;
125
129
  readonly currentTurnTitle: import("@angular/core").Signal<string>;
126
130
  readonly winTitle: import("@angular/core").Signal<string>;
127
131
  readonly winBody: import("@angular/core").Signal<string>;
@@ -228,6 +232,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
228
232
  private displayRowIndex;
229
233
  private displayColIndex;
230
234
  private watchOnlineGame;
235
+ private applyOnlineGameSnapshot;
231
236
  private miniGamesBaseRoute;
232
237
  private chessimalsGameRoute;
233
238
  private capitalize;
@@ -18,7 +18,7 @@ export declare class ChessimalsOnlineService {
18
18
  rejectGuest(gameId: string): Promise<void>;
19
19
  move(gameId: string, move: ChessimalsMove): Promise<void>;
20
20
  resign(gameId: string): Promise<void>;
21
- requestRematch(gameId: string): Promise<void>;
21
+ requestRematch(gameId: string): Promise<ChessimalsGameState | undefined>;
22
22
  participantSide(state: ChessimalsGameState, uid?: string): ChessimalsPlayerColor | undefined;
23
23
  isParticipant(state: ChessimalsGameState, uid?: string): boolean;
24
24
  isHostWaiting(state: ChessimalsGameState, uid?: string): boolean;
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.410";
5
+ export declare const VERSION = "4.0.411";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.410",
3
+ "version": "4.0.411",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"