valtech-components 4.0.582 → 4.0.583
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 +68 -2
- package/esm2022/lib/version.mjs +2 -2
- package/esm2022/mini-games/public-api.mjs +23 -6
- package/fesm2022/valtech-components-mini-games.mjs +22 -5
- package/fesm2022/valtech-components-mini-games.mjs.map +1 -1
- package/fesm2022/valtech-components.mjs +67 -2
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +13 -2
- package/lib/version.d.ts +1 -1
- package/mini-games/public-api.d.ts +7 -0
- package/package.json +1 -1
|
@@ -89,6 +89,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
89
89
|
private readonly audio;
|
|
90
90
|
private readonly online;
|
|
91
91
|
private readonly challengeProgress;
|
|
92
|
+
private readonly adventureProgress;
|
|
92
93
|
private readonly router;
|
|
93
94
|
private readonly toast;
|
|
94
95
|
private readonly auth;
|
|
@@ -122,6 +123,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
122
123
|
private lastOutcomeSoundKey;
|
|
123
124
|
private lastChallengeHandledKey;
|
|
124
125
|
private lastModeStatsHandledKey;
|
|
126
|
+
private lastAdventureHandledKey;
|
|
127
|
+
readonly adventureNodeId: import("@angular/core").WritableSignal<string>;
|
|
125
128
|
private boardAnchor?;
|
|
126
129
|
readonly boardSizes: ChessimalsBoardSize[];
|
|
127
130
|
readonly localModes: ChessimalsLocalMode[];
|
|
@@ -130,7 +133,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
130
133
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
131
134
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
132
135
|
readonly animals: ChessimalsAnimalView[];
|
|
133
|
-
readonly valtechComponentsVersion = "4.0.
|
|
136
|
+
readonly valtechComponentsVersion = "4.0.583";
|
|
134
137
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
135
138
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
136
139
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -216,6 +219,12 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
216
219
|
set onlineGameId(value: string | null | undefined);
|
|
217
220
|
miniGamesRoute: string;
|
|
218
221
|
projectionMode: boolean;
|
|
222
|
+
set adventureNode(params: {
|
|
223
|
+
nodeId: string;
|
|
224
|
+
profileId: ChessimalsBotProfileId;
|
|
225
|
+
difficulty: ChessimalsBotDifficulty;
|
|
226
|
+
boardSize: ChessimalsBoardSize;
|
|
227
|
+
} | undefined);
|
|
219
228
|
readonly replayEntries: import("@angular/core").Signal<import("./types").ChessimalsMoveHistoryEntry[]>;
|
|
220
229
|
readonly activeReviewIndex: import("@angular/core").Signal<number>;
|
|
221
230
|
readonly hasReplayControls: import("@angular/core").Signal<boolean>;
|
|
@@ -287,6 +296,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
287
296
|
constructor();
|
|
288
297
|
ngOnDestroy(): void;
|
|
289
298
|
ngOnInit(): void;
|
|
299
|
+
private startAdventureBattle;
|
|
300
|
+
private adventureStarsForGame;
|
|
290
301
|
protected t(key: string): string;
|
|
291
302
|
private shortUserId;
|
|
292
303
|
private rangeValueToNumber;
|
|
@@ -543,6 +554,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
543
554
|
private chessimalsGameRoute;
|
|
544
555
|
private capitalize;
|
|
545
556
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChessimalsGameComponent, never>;
|
|
546
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGameComponent, "val-chessimals-game", never, { "onlineGameId": { "alias": "onlineGameId"; "required": false; }; "miniGamesRoute": { "alias": "miniGamesRoute"; "required": false; }; "projectionMode": { "alias": "projectionMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
557
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGameComponent, "val-chessimals-game", never, { "onlineGameId": { "alias": "onlineGameId"; "required": false; }; "miniGamesRoute": { "alias": "miniGamesRoute"; "required": false; }; "projectionMode": { "alias": "projectionMode"; "required": false; }; "adventureNode": { "alias": "adventureNode"; "required": false; }; }, {}, never, never, true, never>;
|
|
547
558
|
}
|
|
548
559
|
export {};
|
package/lib/version.d.ts
CHANGED
|
@@ -39,6 +39,13 @@ export declare class BubbleBlitzGamePageComponent {
|
|
|
39
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleBlitzGamePageComponent, "val-bubble-blitz-game-page", never, {}, {}, never, never, true, never>;
|
|
40
40
|
}
|
|
41
41
|
export declare class ChessimalsGamePageComponent {
|
|
42
|
+
private readonly route;
|
|
43
|
+
get adventureParams(): {
|
|
44
|
+
nodeId: string;
|
|
45
|
+
profileId: import("valtech-components").ChessimalsBotProfileId;
|
|
46
|
+
difficulty: import("valtech-components").ChessimalsBotDifficulty;
|
|
47
|
+
boardSize: import("valtech-components").ChessimalsBoardSize;
|
|
48
|
+
};
|
|
42
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChessimalsGamePageComponent, never>;
|
|
43
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChessimalsGamePageComponent, "val-chessimals-game-page", never, {}, {}, never, never, true, never>;
|
|
44
51
|
}
|