valtech-components 4.0.558 → 4.0.559

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.
@@ -30,7 +30,7 @@ export declare class MediaObjectComponent {
30
30
  /** Emitted when the inline link is clicked */
31
31
  onLinkClick: EventEmitter<string>;
32
32
  /** Merged configuration with defaults */
33
- config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "rounded" | "circle" | "mediaWidth" | "reversed" | "align">>>;
33
+ config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "circle" | "rounded" | "mediaWidth" | "reversed" | "align">>>;
34
34
  getColor(): string;
35
35
  handleLinkClick(event: MouseEvent): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MediaObjectComponent, never>;
@@ -2,8 +2,7 @@ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { MiniGameCalloutMetadata } from './mini-game-callout.component';
4
4
  import { MiniGameScorePopMetadata } from './mini-game-score-pop.component';
5
- import { ChessimalsAnimalType, ChessimalsBotDifficulty, ChessimalsBotProfile, ChessimalsBotProfileId, ChessimalsBoardSize, ChessimalsChallengeBot, ChessimalsChallengeRoundStats, ChessimalsChallengeRun, ChessimalsChallengeStats, ChessimalsGameState, ChessimalsHistoryEntry, ChessimalsLocalMode, ChessimalsMove, ChessimalsPiece, ChessimalsPlayerColor, ChessimalsPosition, ChessimalsStatsMode } from './types';
6
- import { ModalLayoutActionEvent } from '../../molecules/modal-layout/types';
5
+ import { ChessimalsAnimalType, ChessimalsBotDifficulty, ChessimalsBotProfile, ChessimalsBotProfileId, ChessimalsBoardSize, ChessimalsChallengeBot, ChessimalsChallengeRoundStats, ChessimalsChallengeRun, ChessimalsChallengeStats, ChessimalsGameState, ChessimalsHistoryEntry, ChessimalsLocalMode, ChessimalsMove, ChessimalsOnlineParticipant, ChessimalsPiece, ChessimalsPlayerColor, ChessimalsPosition, ChessimalsStatsMode } from './types';
7
6
  import { RangeInputMetadata, RangeValue } from '../../molecules/range-input/types';
8
7
  import { ToggleInputMetadata } from '../../molecules/toggle-input/types';
9
8
  import { UserAvatarMetadata } from '../../atoms/user-avatar/types';
@@ -115,7 +114,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
115
114
  readonly botProfiles: ChessimalsBotProfile[];
116
115
  readonly challengeLadder: ChessimalsChallengeBot[];
117
116
  readonly animals: ChessimalsAnimalView[];
118
- readonly valtechComponentsVersion = "4.0.558";
117
+ readonly valtechComponentsVersion = "4.0.559";
119
118
  readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
120
119
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
121
120
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -170,6 +169,13 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
170
169
  readonly loggedPlayerName: import("@angular/core").Signal<string>;
171
170
  readonly loggedPlayerHandle: import("@angular/core").Signal<string>;
172
171
  readonly loggedPlayerAvatarProps: import("@angular/core").Signal<UserAvatarMetadata>;
172
+ readonly turnPlayerParticipant: import("@angular/core").Signal<ChessimalsOnlineParticipant>;
173
+ readonly shouldUseTurnPlayerAvatar: import("@angular/core").Signal<boolean>;
174
+ readonly turnPlayerAvatarProps: import("@angular/core").Signal<UserAvatarMetadata>;
175
+ readonly turnPlayerFallbackAvatar: import("@angular/core").Signal<string>;
176
+ readonly turnPlayerEyebrow: import("@angular/core").Signal<string>;
177
+ readonly turnPlayerName: import("@angular/core").Signal<string>;
178
+ readonly turnPlayerHandle: import("@angular/core").Signal<string>;
173
179
  readonly musicEnabledControl: FormControl<boolean>;
174
180
  readonly sfxEnabledControl: FormControl<boolean>;
175
181
  readonly musicVolumeControl: FormControl<number>;
@@ -250,7 +256,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
250
256
  readonly confirmTitle: import("@angular/core").Signal<string>;
251
257
  readonly confirmBody: import("@angular/core").Signal<string>;
252
258
  readonly confirmActions: import("@angular/core").Signal<ButtonMetadata[]>;
253
- readonly rulesActions: import("@angular/core").Signal<ButtonMetadata[]>;
254
259
  readonly aboutActions: import("@angular/core").Signal<ButtonMetadata[]>;
255
260
  readonly actionHint: import("@angular/core").Signal<string>;
256
261
  constructor();
@@ -277,7 +282,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
277
282
  private abandonChallengeRun;
278
283
  startTutorial(): void;
279
284
  startTutorialFromRules(): void;
280
- handleRulesAction(event: ModalLayoutActionEvent): void;
281
285
  createOnlineGame(): Promise<void>;
282
286
  joinOnlineGameByCode(): Promise<void>;
283
287
  openOnlineGame(gameId: string): Promise<void>;
@@ -48,7 +48,7 @@ export type ChessimalsBoardSize = 6 | 8;
48
48
  export type ChessimalsPlayerColor = 'white' | 'black';
49
49
  export type ChessimalsAnimalType = 'eagle' | 'bull' | 'kangaroo' | 'lion';
50
50
  export type ChessimalsMoveKind = 'basic' | 'power';
51
- export type ChessimalsWinReason = 'promotion' | 'elimination' | 'resignation';
51
+ export type ChessimalsWinReason = 'promotion' | 'elimination' | 'resignation' | 'blocked';
52
52
  export type ChessimalsGameMode = 'local' | 'online';
53
53
  export type ChessimalsLocalMode = 'one-device' | 'bot';
54
54
  export type ChessimalsBotDifficulty = 'easy' | 'normal' | 'hard';
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.558";
5
+ export declare const VERSION = "4.0.559";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.558",
3
+ "version": "4.0.559",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"