valtech-components 4.0.632 → 4.0.634
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-adventure-data.mjs +3 -3
- package/esm2022/lib/components/organisms/mini-games/chessimals-adventure.component.mjs +3 -1
- package/esm2022/lib/components/organisms/mini-games/chessimals-engine.mjs +10 -10
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +30 -15
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +5 -5
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/services/auth/auth.service.mjs +9 -2
- package/esm2022/lib/version.mjs +2 -2
- package/esm2022/mini-games/public-api.mjs +5 -3
- package/fesm2022/valtech-components-mini-games.mjs +4 -2
- package/fesm2022/valtech-components-mini-games.mjs.map +1 -1
- package/fesm2022/valtech-components.mjs +55 -31
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +4 -1
- package/lib/components/organisms/mini-games/types.d.ts +2 -2
- package/lib/services/auth/auth.service.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- package/mini-games/public-api.d.ts +1 -0
- package/package.json +1 -1
- /package/src/lib/assets/games/chessimals/challenge-avatars/{nightmare-magnus.png → nightmare-mandrill.png} +0 -0
|
@@ -125,6 +125,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
125
125
|
private lastModeStatsHandledKey;
|
|
126
126
|
private lastAdventureHandledKey;
|
|
127
127
|
readonly adventureNodeId: import("@angular/core").WritableSignal<string>;
|
|
128
|
+
readonly adventureActBg: import("@angular/core").WritableSignal<string>;
|
|
128
129
|
private boardAnchor?;
|
|
129
130
|
readonly boardSizes: ChessimalsBoardSize[];
|
|
130
131
|
readonly localModes: ChessimalsLocalMode[];
|
|
@@ -133,7 +134,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
133
134
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
134
135
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
135
136
|
readonly animals: ChessimalsAnimalView[];
|
|
136
|
-
readonly valtechComponentsVersion = "4.0.
|
|
137
|
+
readonly valtechComponentsVersion = "4.0.634";
|
|
137
138
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
138
139
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
139
140
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -219,11 +220,13 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
219
220
|
set onlineGameId(value: string | null | undefined);
|
|
220
221
|
miniGamesRoute: string;
|
|
221
222
|
projectionMode: boolean;
|
|
223
|
+
private static readonly ACT_THEMES;
|
|
222
224
|
set adventureNode(params: {
|
|
223
225
|
nodeId: string;
|
|
224
226
|
profileId: ChessimalsBotProfileId;
|
|
225
227
|
difficulty: ChessimalsBotDifficulty;
|
|
226
228
|
boardSize: ChessimalsBoardSize;
|
|
229
|
+
actId?: string;
|
|
227
230
|
} | undefined);
|
|
228
231
|
readonly replayEntries: import("@angular/core").Signal<import("./types").ChessimalsMoveHistoryEntry[]>;
|
|
229
232
|
readonly activeReviewIndex: import("@angular/core").Signal<number>;
|
|
@@ -52,8 +52,8 @@ export type ChessimalsWinReason = 'promotion' | 'elimination' | 'resignation' |
|
|
|
52
52
|
export type ChessimalsGameMode = 'local' | 'online';
|
|
53
53
|
export type ChessimalsLocalMode = 'one-device' | 'bot';
|
|
54
54
|
export type ChessimalsBotDifficulty = 'easy' | 'normal' | 'hard' | 'master';
|
|
55
|
-
export type ChessimalsNightmareMode = 'none' | 'hunt' | 'pride' | '
|
|
56
|
-
export type ChessimalsBotProfileId = 'explorer' | 'bull' | 'hare' | 'hunter' | 'guardian' | 'jumper' | 'strategist' | 'predator' | 'cheetah' | 'sentinel' | 'oracle' | 'ambusher' | 'turtle' | 'storm' | 'matriarch' | 'anaconda' | '
|
|
55
|
+
export type ChessimalsNightmareMode = 'none' | 'hunt' | 'pride' | 'mandrill';
|
|
56
|
+
export type ChessimalsBotProfileId = 'explorer' | 'bull' | 'hare' | 'hunter' | 'guardian' | 'jumper' | 'strategist' | 'predator' | 'cheetah' | 'sentinel' | 'oracle' | 'ambusher' | 'turtle' | 'storm' | 'matriarch' | 'anaconda' | 'mandrill';
|
|
57
57
|
export type ChessimalsGameStatus = 'waiting' | 'in_progress' | 'finished' | 'expired';
|
|
58
58
|
export interface ChessimalsBotProfile {
|
|
59
59
|
id: ChessimalsBotProfileId;
|
|
@@ -132,6 +132,11 @@ export declare class AuthService implements OnDestroy {
|
|
|
132
132
|
* a intentar el bridge.
|
|
133
133
|
*/
|
|
134
134
|
private redirectToSSOBridge;
|
|
135
|
+
/**
|
|
136
|
+
* Navegación real (aislada en su propio método para poder espiarla en
|
|
137
|
+
* tests unitarios sin que Karma navegue de verdad el runner).
|
|
138
|
+
*/
|
|
139
|
+
private navigateToSSOBridgeUrl;
|
|
135
140
|
ngOnDestroy(): void;
|
|
136
141
|
/**
|
|
137
142
|
* Inicia sesión con email y contraseña.
|
package/lib/version.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ export declare class ChessimalsGamePageComponent {
|
|
|
46
46
|
profileId: import("valtech-components").ChessimalsBotProfileId;
|
|
47
47
|
difficulty: import("valtech-components").ChessimalsBotDifficulty;
|
|
48
48
|
boardSize: import("valtech-components").ChessimalsBoardSize;
|
|
49
|
+
actId?: string;
|
|
49
50
|
};
|
|
50
51
|
constructor();
|
|
51
52
|
private _syncFromParams;
|
package/package.json
CHANGED
|
File without changes
|