valtech-components 4.0.469 → 4.0.470
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 +89 -3
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +3 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +91 -3
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +12 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -67,6 +67,10 @@ interface ChessimalsGameScoreView {
|
|
|
67
67
|
bestMove?: ChessimalsMoveScoreView;
|
|
68
68
|
score: number;
|
|
69
69
|
}
|
|
70
|
+
interface ChessimalsScorePopView extends ChessimalsMoveScoreView {
|
|
71
|
+
x: string;
|
|
72
|
+
y: string;
|
|
73
|
+
}
|
|
70
74
|
export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
71
75
|
private readonly i18n;
|
|
72
76
|
private readonly audio;
|
|
@@ -91,6 +95,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
91
95
|
private historyWatchTimer;
|
|
92
96
|
private moveEffectStartTimer;
|
|
93
97
|
private moveEffectClearTimer;
|
|
98
|
+
private scorePopClearTimer;
|
|
94
99
|
private powerUnlockTimer;
|
|
95
100
|
private turnTimerInterval;
|
|
96
101
|
private turnTimerKey;
|
|
@@ -110,7 +115,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
110
115
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
111
116
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
112
117
|
readonly animals: ChessimalsAnimalView[];
|
|
113
|
-
readonly valtechComponentsVersion = "4.0.
|
|
118
|
+
readonly valtechComponentsVersion = "4.0.470";
|
|
114
119
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
115
120
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
116
121
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -138,6 +143,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
138
143
|
readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
|
|
139
144
|
readonly movingPiece: import("@angular/core").WritableSignal<ChessimalsMovingPieceView>;
|
|
140
145
|
readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
|
|
146
|
+
readonly scorePop: import("@angular/core").WritableSignal<ChessimalsScorePopView>;
|
|
141
147
|
readonly powerUnlockPulse: import("@angular/core").WritableSignal<boolean>;
|
|
142
148
|
readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
|
|
143
149
|
readonly powerCallout: import("@angular/core").Signal<ChessimalsPowerCalloutView>;
|
|
@@ -216,12 +222,14 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
216
222
|
readonly capturesByColor: import("@angular/core").Signal<Record<ChessimalsPlayerColor, number>>;
|
|
217
223
|
readonly resultCaptures: import("@angular/core").Signal<number>;
|
|
218
224
|
readonly resultPowers: import("@angular/core").Signal<ChessimalsAnimalType[]>;
|
|
225
|
+
readonly liveScore: import("@angular/core").Signal<number>;
|
|
219
226
|
readonly resultScore: import("@angular/core").Signal<ChessimalsGameScoreView>;
|
|
220
227
|
readonly resultStats: import("@angular/core").Signal<{
|
|
221
228
|
label: string;
|
|
222
229
|
value: string;
|
|
223
230
|
}[]>;
|
|
224
231
|
readonly resultPowersLabel: import("@angular/core").Signal<string>;
|
|
232
|
+
readonly liveScoreLabel: import("@angular/core").Signal<string>;
|
|
225
233
|
readonly resultBestMoveLabel: import("@angular/core").Signal<string>;
|
|
226
234
|
readonly shouldShowBotReport: import("@angular/core").Signal<boolean>;
|
|
227
235
|
readonly botReportTitle: import("@angular/core").Signal<string>;
|
|
@@ -312,6 +320,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
312
320
|
private clearReview;
|
|
313
321
|
private showLatestReviewSnapshot;
|
|
314
322
|
private queueMoveEffect;
|
|
323
|
+
private queueScorePop;
|
|
324
|
+
private captureComboBeforeMove;
|
|
315
325
|
toggleAnimal(animal: ChessimalsAnimalView): void;
|
|
316
326
|
pieceAt(row: number, col: number): ChessimalsPiece | undefined;
|
|
317
327
|
isDarkCell(row: number, col: number): boolean;
|
|
@@ -335,6 +345,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
335
345
|
playerLabel(color: ChessimalsPlayerColor): string;
|
|
336
346
|
capturesScoreLabel(): string;
|
|
337
347
|
turnTimerLabel(): string;
|
|
348
|
+
scoreComboLabel(combo: number): string;
|
|
338
349
|
turnTimerProgress(): string;
|
|
339
350
|
isTurnTimerLow(): boolean;
|
|
340
351
|
turnStateLabel(): string;
|
package/lib/version.d.ts
CHANGED