valtech-components 4.0.570 → 4.0.571
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 +28 -27
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +76 -38
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +102 -63
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-challenge-progress.service.d.ts +1 -0
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +9 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export declare class ChessimalsChallengeProgressService {
|
|
|
9
9
|
watchStats(): Observable<ChessimalsChallengeStats | undefined>;
|
|
10
10
|
watchRecentRuns(limitCount?: number): Observable<ChessimalsChallengeRun[]>;
|
|
11
11
|
watchActiveRun(): Observable<ChessimalsChallengeRun | undefined>;
|
|
12
|
+
private watchWhenFirebaseAuthReady;
|
|
12
13
|
saveRun(run: ChessimalsChallengeRun): Promise<void>;
|
|
13
14
|
recordChallengeStarted(run: ChessimalsChallengeRun): Promise<void>;
|
|
14
15
|
applyRoundResult(args: {
|
|
@@ -76,6 +76,13 @@ interface ChessimalsGameScoreView {
|
|
|
76
76
|
bestMove?: ChessimalsMoveScoreView;
|
|
77
77
|
score: number;
|
|
78
78
|
}
|
|
79
|
+
interface ChessimalsBotOpponentView {
|
|
80
|
+
avatar: string;
|
|
81
|
+
avatarSrc: string;
|
|
82
|
+
eyebrow: string;
|
|
83
|
+
title: string;
|
|
84
|
+
description: string;
|
|
85
|
+
}
|
|
79
86
|
export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
80
87
|
private readonly i18n;
|
|
81
88
|
private readonly audio;
|
|
@@ -122,7 +129,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
122
129
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
123
130
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
124
131
|
readonly animals: ChessimalsAnimalView[];
|
|
125
|
-
readonly valtechComponentsVersion = "4.0.
|
|
132
|
+
readonly valtechComponentsVersion = "4.0.571";
|
|
126
133
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
127
134
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
128
135
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -200,6 +207,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
200
207
|
readonly botOpponentEyebrow: import("@angular/core").Signal<string>;
|
|
201
208
|
readonly botOpponentTitle: import("@angular/core").Signal<string>;
|
|
202
209
|
readonly botOpponentDescription: import("@angular/core").Signal<string>;
|
|
210
|
+
readonly botOpponentCard: import("@angular/core").Signal<ChessimalsBotOpponentView>;
|
|
203
211
|
readonly activeChallengeBot: import("@angular/core").Signal<ChessimalsChallengeBot>;
|
|
204
212
|
readonly resumableChallengeRun: import("@angular/core").Signal<ChessimalsChallengeRun>;
|
|
205
213
|
set onlineGameId(value: string | null | undefined);
|
package/lib/version.d.ts
CHANGED