valtech-components 4.0.458 → 4.0.460
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 +123 -3
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +29 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +151 -3
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +16 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -35,6 +35,18 @@ interface ChessimalsMoveTrailView {
|
|
|
35
35
|
animal?: ChessimalsAnimalType;
|
|
36
36
|
capture: boolean;
|
|
37
37
|
}
|
|
38
|
+
interface ChessimalsChallengeTensionView {
|
|
39
|
+
title: string;
|
|
40
|
+
body: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
critical: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface ChessimalsPowerCalloutView {
|
|
45
|
+
title: string;
|
|
46
|
+
body: string;
|
|
47
|
+
animal: ChessimalsAnimalType;
|
|
48
|
+
capture: boolean;
|
|
49
|
+
}
|
|
38
50
|
export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
39
51
|
private readonly i18n;
|
|
40
52
|
private readonly audio;
|
|
@@ -76,7 +88,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
76
88
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
77
89
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
78
90
|
readonly animals: ChessimalsAnimalView[];
|
|
79
|
-
readonly valtechComponentsVersion = "4.0.
|
|
91
|
+
readonly valtechComponentsVersion = "4.0.460";
|
|
80
92
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
81
93
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
82
94
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -105,6 +117,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
105
117
|
readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
|
|
106
118
|
readonly powerUnlockPulse: import("@angular/core").WritableSignal<boolean>;
|
|
107
119
|
readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
|
|
120
|
+
readonly powerCallout: import("@angular/core").Signal<ChessimalsPowerCalloutView>;
|
|
108
121
|
readonly botThinking: import("@angular/core").WritableSignal<boolean>;
|
|
109
122
|
readonly confirmAction: import("@angular/core").WritableSignal<ChessimalsConfirmAction>;
|
|
110
123
|
readonly onlineJoinCode: import("@angular/core").WritableSignal<string>;
|
|
@@ -354,10 +367,12 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
354
367
|
challengeOutcomeBody(): string;
|
|
355
368
|
challengeNextRivalLabel(): string;
|
|
356
369
|
challengeContinueLabel(): string;
|
|
370
|
+
challengeTensionMoment(): ChessimalsChallengeTensionView | undefined;
|
|
357
371
|
challengeHasNewRecord(): boolean;
|
|
358
372
|
totalChallengePowers(stats?: ChessimalsChallengeRoundStats): number;
|
|
359
373
|
private createChallengeRoundStats;
|
|
360
374
|
animalLabel(type: ChessimalsAnimalType): string;
|
|
375
|
+
animalGlyph(type: ChessimalsAnimalType): string;
|
|
361
376
|
canReviewPrevious(): boolean;
|
|
362
377
|
canReviewNext(): boolean;
|
|
363
378
|
reviewPreviousMove(): void;
|
package/lib/version.d.ts
CHANGED