valtech-components 4.0.459 → 4.0.461

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.
@@ -41,6 +41,18 @@ interface ChessimalsChallengeTensionView {
41
41
  icon: string;
42
42
  critical: boolean;
43
43
  }
44
+ interface ChessimalsPowerCalloutView {
45
+ title: string;
46
+ body: string;
47
+ animal: ChessimalsAnimalType;
48
+ capture: boolean;
49
+ }
50
+ interface ChessimalsAchievementView {
51
+ title: string;
52
+ body: string;
53
+ icon: string;
54
+ unlocked: boolean;
55
+ }
44
56
  export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
45
57
  private readonly i18n;
46
58
  private readonly audio;
@@ -82,7 +94,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
82
94
  readonly botProfiles: ChessimalsBotProfile[];
83
95
  readonly challengeLadder: ChessimalsChallengeBot[];
84
96
  readonly animals: ChessimalsAnimalView[];
85
- readonly valtechComponentsVersion = "4.0.459";
97
+ readonly valtechComponentsVersion = "4.0.461";
86
98
  readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
87
99
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
88
100
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -111,6 +123,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
111
123
  readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
112
124
  readonly powerUnlockPulse: import("@angular/core").WritableSignal<boolean>;
113
125
  readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
126
+ readonly powerCallout: import("@angular/core").Signal<ChessimalsPowerCalloutView>;
114
127
  readonly botThinking: import("@angular/core").WritableSignal<boolean>;
115
128
  readonly confirmAction: import("@angular/core").WritableSignal<ChessimalsConfirmAction>;
116
129
  readonly onlineJoinCode: import("@angular/core").WritableSignal<string>;
@@ -360,11 +373,13 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
360
373
  challengeOutcomeBody(): string;
361
374
  challengeNextRivalLabel(): string;
362
375
  challengeContinueLabel(): string;
376
+ challengeAchievements(): ChessimalsAchievementView[];
363
377
  challengeTensionMoment(): ChessimalsChallengeTensionView | undefined;
364
378
  challengeHasNewRecord(): boolean;
365
379
  totalChallengePowers(stats?: ChessimalsChallengeRoundStats): number;
366
380
  private createChallengeRoundStats;
367
381
  animalLabel(type: ChessimalsAnimalType): string;
382
+ animalGlyph(type: ChessimalsAnimalType): string;
368
383
  canReviewPrevious(): boolean;
369
384
  canReviewNext(): boolean;
370
385
  reviewPreviousMove(): void;
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.459";
5
+ export declare const VERSION = "4.0.461";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.459",
3
+ "version": "4.0.461",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"