valtech-components 4.0.465 → 4.0.466

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.
@@ -53,6 +53,10 @@ interface ChessimalsAchievementView {
53
53
  icon: string;
54
54
  unlocked: boolean;
55
55
  }
56
+ interface ChessimalsProgressMetricView {
57
+ label: string;
58
+ value: string | number;
59
+ }
56
60
  export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
57
61
  private readonly i18n;
58
62
  private readonly audio;
@@ -95,7 +99,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
95
99
  readonly botProfiles: ChessimalsBotProfile[];
96
100
  readonly challengeLadder: ChessimalsChallengeBot[];
97
101
  readonly animals: ChessimalsAnimalView[];
98
- readonly valtechComponentsVersion = "4.0.465";
102
+ readonly valtechComponentsVersion = "4.0.466";
99
103
  readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
100
104
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
101
105
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -117,6 +121,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
117
121
  readonly selectedAnimal: import("@angular/core").WritableSignal<ChessimalsAnimalType>;
118
122
  readonly isRulesModalOpen: import("@angular/core").WritableSignal<boolean>;
119
123
  readonly isSettingsModalOpen: import("@angular/core").WritableSignal<boolean>;
124
+ readonly isProgressModalOpen: import("@angular/core").WritableSignal<boolean>;
120
125
  readonly isAboutModalOpen: import("@angular/core").WritableSignal<boolean>;
121
126
  readonly tutorialMode: import("@angular/core").WritableSignal<boolean>;
122
127
  readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
@@ -257,6 +262,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
257
262
  closeRulesModal(): void;
258
263
  openSettingsModal(): void;
259
264
  closeSettingsModal(): void;
265
+ openProgressModal(): void;
266
+ closeProgressModal(): void;
260
267
  openAboutModal(): void;
261
268
  closeAboutModal(): void;
262
269
  setMusicVolume(value: number | RangeValue): void;
@@ -377,6 +384,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
377
384
  challengeWinRateLabel(): string;
378
385
  modeWinRateLabel(mode: ChessimalsStatsMode): string;
379
386
  modeStatsLine(mode: ChessimalsStatsMode): string;
387
+ progressPowerStats(): ChessimalsProgressMetricView[];
380
388
  challengeAchievements(): ChessimalsAchievementView[];
381
389
  challengeTensionMoment(): ChessimalsChallengeTensionView | undefined;
382
390
  challengeHasNewRecord(): 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.465";
5
+ export declare const VERSION = "4.0.466";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.465",
3
+ "version": "4.0.466",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"