valtech-components 4.0.374 → 4.0.376

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.
@@ -61,6 +61,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
61
61
  readonly loggedPlayerHandle: import("@angular/core").Signal<string>;
62
62
  readonly loggedPlayerAvatarProps: import("@angular/core").Signal<UserAvatarMetadata>;
63
63
  set onlineGameId(value: string | null | undefined);
64
+ miniGamesRoute: string;
64
65
  readonly currentPlayer: import("@angular/core").Signal<import("./types").ChessimalsPlayerState>;
65
66
  readonly legalMoves: import("@angular/core").Signal<ChessimalsMove[]>;
66
67
  readonly legalMoveKeys: import("@angular/core").Signal<Set<string>>;
@@ -124,7 +125,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
124
125
  playerLabel(color: ChessimalsPlayerColor): string;
125
126
  modeChipLabel(): string;
126
127
  turnTitle(): string;
127
- turnBody(): string;
128
128
  normalizeGameId(value: string): string;
129
129
  copyOnlineLink(): Promise<void>;
130
130
  shareOnlineLink(): Promise<void>;
@@ -137,8 +137,10 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
137
137
  private displayRowIndex;
138
138
  private displayColIndex;
139
139
  private watchOnlineGame;
140
+ private miniGamesBaseRoute;
141
+ private chessimalsGameRoute;
140
142
  private capitalize;
141
143
  static ɵfac: i0.ɵɵFactoryDeclaration<ChessimalsGameComponent, never>;
142
- static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGameComponent, "val-chessimals-game", never, { "onlineGameId": { "alias": "onlineGameId"; "required": false; }; }, {}, never, never, true, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGameComponent, "val-chessimals-game", never, { "onlineGameId": { "alias": "onlineGameId"; "required": false; }; "miniGamesRoute": { "alias": "miniGamesRoute"; "required": false; }; }, {}, never, never, true, never>;
143
145
  }
144
146
  export {};
@@ -18,7 +18,7 @@ export declare class ChessimalsOnlineService {
18
18
  participantSide(state: ChessimalsGameState, uid?: string): ChessimalsPlayerColor | undefined;
19
19
  isParticipant(state: ChessimalsGameState, uid?: string): boolean;
20
20
  isHostWaiting(state: ChessimalsGameState, uid?: string): boolean;
21
- shareUrl(gameId: string): string;
21
+ shareUrl(gameId: string, baseRoute?: string): string;
22
22
  private gameRef;
23
23
  private ensureUser;
24
24
  private decodeInput;
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.374";
5
+ export declare const VERSION = "4.0.376";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.374",
3
+ "version": "4.0.376",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"