valtech-components 4.0.465 → 4.0.467
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.
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +269 -6
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +11 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +279 -6
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +11 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -81,6 +85,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
81
85
|
private turnTimerInterval;
|
|
82
86
|
private turnTimerKey;
|
|
83
87
|
private turnTimerDeadline;
|
|
88
|
+
private turnTimerDuration;
|
|
84
89
|
private turnTimerExpiredKey;
|
|
85
90
|
private pendingOnlineGameId;
|
|
86
91
|
private openingOnlineGameId;
|
|
@@ -95,7 +100,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
95
100
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
96
101
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
97
102
|
readonly animals: ChessimalsAnimalView[];
|
|
98
|
-
readonly valtechComponentsVersion = "4.0.
|
|
103
|
+
readonly valtechComponentsVersion = "4.0.467";
|
|
99
104
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
100
105
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
101
106
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -117,6 +122,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
117
122
|
readonly selectedAnimal: import("@angular/core").WritableSignal<ChessimalsAnimalType>;
|
|
118
123
|
readonly isRulesModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
119
124
|
readonly isSettingsModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
125
|
+
readonly isProgressModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
120
126
|
readonly isAboutModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
121
127
|
readonly tutorialMode: import("@angular/core").WritableSignal<boolean>;
|
|
122
128
|
readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -257,6 +263,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
257
263
|
closeRulesModal(): void;
|
|
258
264
|
openSettingsModal(): void;
|
|
259
265
|
closeSettingsModal(): void;
|
|
266
|
+
openProgressModal(): void;
|
|
267
|
+
closeProgressModal(): void;
|
|
260
268
|
openAboutModal(): void;
|
|
261
269
|
closeAboutModal(): void;
|
|
262
270
|
setMusicVolume(value: number | RangeValue): void;
|
|
@@ -315,6 +323,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
315
323
|
playerLabel(color: ChessimalsPlayerColor): string;
|
|
316
324
|
capturesScoreLabel(): string;
|
|
317
325
|
turnTimerLabel(): string;
|
|
326
|
+
turnTimerProgress(): string;
|
|
318
327
|
isTurnTimerLow(): boolean;
|
|
319
328
|
turnStateLabel(): string;
|
|
320
329
|
turnStateBody(): string;
|
|
@@ -377,6 +386,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
377
386
|
challengeWinRateLabel(): string;
|
|
378
387
|
modeWinRateLabel(mode: ChessimalsStatsMode): string;
|
|
379
388
|
modeStatsLine(mode: ChessimalsStatsMode): string;
|
|
389
|
+
progressPowerStats(): ChessimalsProgressMetricView[];
|
|
380
390
|
challengeAchievements(): ChessimalsAchievementView[];
|
|
381
391
|
challengeTensionMoment(): ChessimalsChallengeTensionView | undefined;
|
|
382
392
|
challengeHasNewRecord(): boolean;
|
package/lib/version.d.ts
CHANGED