valtech-components 4.0.499 → 4.0.500
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-challenge-progress.service.mjs +15 -61
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +34 -206
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +1 -65
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +48 -330
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-challenge-progress.service.d.ts +0 -5
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +1 -14
- package/lib/components/organisms/mini-games/types.d.ts +0 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -31,11 +31,6 @@ export declare class ChessimalsChallengeProgressService {
|
|
|
31
31
|
private runsPath;
|
|
32
32
|
private readLocalActiveRun;
|
|
33
33
|
private writeLocalActiveRun;
|
|
34
|
-
private clearLocalActiveRun;
|
|
35
|
-
private localActiveRunKey;
|
|
36
|
-
private newestActiveRun;
|
|
37
|
-
private runProgressScore;
|
|
38
|
-
private runTime;
|
|
39
34
|
private withoutUndefined;
|
|
40
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChessimalsChallengeProgressService, never>;
|
|
41
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<ChessimalsChallengeProgressService>;
|
|
@@ -117,7 +117,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
117
117
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
118
118
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
119
119
|
readonly animals: ChessimalsAnimalView[];
|
|
120
|
-
readonly valtechComponentsVersion = "4.0.
|
|
120
|
+
readonly valtechComponentsVersion = "4.0.500";
|
|
121
121
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "game">;
|
|
122
122
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
123
123
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -182,7 +182,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
182
182
|
readonly selectedBotProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
|
|
183
183
|
readonly gameBotProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
|
|
184
184
|
readonly activeChallengeBot: import("@angular/core").Signal<ChessimalsChallengeBot>;
|
|
185
|
-
readonly resumableChallengeRun: import("@angular/core").Signal<ChessimalsChallengeRun>;
|
|
186
185
|
set onlineGameId(value: string | null | undefined);
|
|
187
186
|
miniGamesRoute: string;
|
|
188
187
|
projectionMode: boolean;
|
|
@@ -260,16 +259,12 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
260
259
|
private shortUserId;
|
|
261
260
|
private rangeValueToNumber;
|
|
262
261
|
startChallenge(): void;
|
|
263
|
-
requestNewChallenge(): void;
|
|
264
262
|
openChallengeView(): void;
|
|
265
263
|
backToHome(): void;
|
|
266
264
|
private createNewChallengeRun;
|
|
267
|
-
private resetChallengeSessionState;
|
|
268
265
|
resumeChallenge(run?: ChessimalsChallengeRun): void;
|
|
269
266
|
continueChallenge(): void;
|
|
270
267
|
private startChallengeRound;
|
|
271
|
-
private enterChallengeRound;
|
|
272
|
-
private isResumableChallengeRun;
|
|
273
268
|
startGame(): void;
|
|
274
269
|
private handleChallengeRoundFinished;
|
|
275
270
|
private abandonChallengeIfNeeded;
|
|
@@ -281,7 +276,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
281
276
|
restartGame(): void;
|
|
282
277
|
exitTutorial(): void;
|
|
283
278
|
resetToModeSetup(): void;
|
|
284
|
-
private returnChallengeToMenu;
|
|
285
279
|
resetToGamesMenu(): void;
|
|
286
280
|
private resetFinishedLocalGameForNextVisit;
|
|
287
281
|
requestRestartGame(): void;
|
|
@@ -317,9 +311,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
317
311
|
private isPromotionMove;
|
|
318
312
|
private animateMove;
|
|
319
313
|
private applyAnimatedMove;
|
|
320
|
-
private activeGameForRun;
|
|
321
|
-
private persistActiveChallengeGame;
|
|
322
|
-
private cloneChallengeGame;
|
|
323
314
|
private playPowerUnlockSound;
|
|
324
315
|
private queueBotTurnIfNeeded;
|
|
325
316
|
private playBotTurn;
|
|
@@ -415,9 +406,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
415
406
|
challengeOpeningBot(): ChessimalsChallengeBot;
|
|
416
407
|
challengeMenuBot(): ChessimalsChallengeBot;
|
|
417
408
|
challengeMenuRoundLabel(): string;
|
|
418
|
-
challengeMenuLivesLabel(): string;
|
|
419
|
-
challengeMenuClearedRound(): number;
|
|
420
|
-
private challengeMenuRun;
|
|
421
409
|
challengeBotName(bot: ChessimalsChallengeBot): string;
|
|
422
410
|
challengeBotDifficultyLabel(bot: ChessimalsChallengeBot): string;
|
|
423
411
|
challengeBotStyleLine(bot: ChessimalsChallengeBot): string;
|
|
@@ -443,7 +431,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
443
431
|
challengeRivalVoiceLabel(): string;
|
|
444
432
|
challengeRivalVoiceTitle(): string;
|
|
445
433
|
challengeRivalVoiceBody(): string;
|
|
446
|
-
private challengeVoiceText;
|
|
447
434
|
challengeNextRivalLabel(): string;
|
|
448
435
|
challengeContinueLabel(): string;
|
|
449
436
|
challengeNextRivalHint(): string;
|
|
@@ -102,7 +102,6 @@ export interface ChessimalsChallengeRun {
|
|
|
102
102
|
currentStreak: number;
|
|
103
103
|
botLadder: string[];
|
|
104
104
|
roundResults: ChessimalsChallengeRoundResult[];
|
|
105
|
-
activeGame?: ChessimalsGameState;
|
|
106
105
|
startedAt: string;
|
|
107
106
|
updatedAt: string;
|
|
108
107
|
finishedAt?: string;
|
package/lib/version.d.ts
CHANGED