valtech-components 4.0.554 → 4.0.556
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 +234 -131
- package/esm2022/lib/components/organisms/mini-games/christianity-card.component.mjs +3 -3
- package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +3 -3
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +39 -25
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +276 -159
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/media-object/media-object.component.d.ts +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +5 -7
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/assets/games/chessimals/mode-icons/challenge.jpg +0 -0
- package/src/lib/assets/games/chessimals/mode-icons/path.jpg +0 -0
- package/src/lib/assets/games/chessimals/mode-icons/solo.jpg +0 -0
- package/src/lib/assets/games/chessimals/rules/capture.jpg +0 -0
- package/src/lib/assets/games/chessimals/rules/final-step.jpg +0 -0
- package/src/lib/assets/games/chessimals/rules/finish.jpg +0 -0
- package/src/lib/assets/games/chessimals/rules/move.jpg +0 -0
- package/src/lib/assets/games/chessimals/rules/powers.jpg +0 -0
- package/src/lib/assets/games/chessimals/tutorial-solo.jpg +0 -0
|
@@ -30,7 +30,7 @@ export declare class MediaObjectComponent {
|
|
|
30
30
|
/** Emitted when the inline link is clicked */
|
|
31
31
|
onLinkClick: EventEmitter<string>;
|
|
32
32
|
/** Merged configuration with defaults */
|
|
33
|
-
config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "
|
|
33
|
+
config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "rounded" | "circle" | "mediaWidth" | "reversed" | "align">>>;
|
|
34
34
|
getColor(): string;
|
|
35
35
|
handleLinkClick(event: MouseEvent): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaObjectComponent, never>;
|
|
@@ -3,6 +3,7 @@ import { FormControl } from '@angular/forms';
|
|
|
3
3
|
import { MiniGameCalloutMetadata } from './mini-game-callout.component';
|
|
4
4
|
import { MiniGameScorePopMetadata } from './mini-game-score-pop.component';
|
|
5
5
|
import { ChessimalsAnimalType, ChessimalsBotDifficulty, ChessimalsBotProfile, ChessimalsBotProfileId, ChessimalsBoardSize, ChessimalsChallengeBot, ChessimalsChallengeRoundStats, ChessimalsChallengeRun, ChessimalsChallengeStats, ChessimalsGameState, ChessimalsHistoryEntry, ChessimalsLocalMode, ChessimalsMove, ChessimalsPiece, ChessimalsPlayerColor, ChessimalsPosition, ChessimalsStatsMode } from './types';
|
|
6
|
+
import { ModalLayoutActionEvent } from '../../molecules/modal-layout/types';
|
|
6
7
|
import { RangeInputMetadata, RangeValue } from '../../molecules/range-input/types';
|
|
7
8
|
import { ToggleInputMetadata } from '../../molecules/toggle-input/types';
|
|
8
9
|
import { UserAvatarMetadata } from '../../atoms/user-avatar/types';
|
|
@@ -114,7 +115,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
114
115
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
115
116
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
116
117
|
readonly animals: ChessimalsAnimalView[];
|
|
117
|
-
readonly valtechComponentsVersion = "4.0.
|
|
118
|
+
readonly valtechComponentsVersion = "4.0.556";
|
|
118
119
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
119
120
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
120
121
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -249,9 +250,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
249
250
|
readonly confirmTitle: import("@angular/core").Signal<string>;
|
|
250
251
|
readonly confirmBody: import("@angular/core").Signal<string>;
|
|
251
252
|
readonly confirmActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
252
|
-
readonly playOptionsActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
253
|
-
readonly playAgainButton: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
254
|
-
readonly rematchButton: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
255
253
|
readonly rulesActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
256
254
|
readonly aboutActions: import("@angular/core").Signal<ButtonMetadata[]>;
|
|
257
255
|
readonly actionHint: import("@angular/core").Signal<string>;
|
|
@@ -278,6 +276,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
278
276
|
private abandonChallengeIfNeeded;
|
|
279
277
|
private abandonChallengeRun;
|
|
280
278
|
startTutorial(): void;
|
|
279
|
+
startTutorialFromRules(): void;
|
|
280
|
+
handleRulesAction(event: ModalLayoutActionEvent): void;
|
|
281
281
|
createOnlineGame(): Promise<void>;
|
|
282
282
|
joinOnlineGameByCode(): Promise<void>;
|
|
283
283
|
openOnlineGame(gameId: string): Promise<void>;
|
|
@@ -298,9 +298,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
298
298
|
openPlayOptionsModal(): void;
|
|
299
299
|
closePlayOptionsModal(): void;
|
|
300
300
|
handlePlayOptionsModalDismissed(): void;
|
|
301
|
-
|
|
302
|
-
action?: ButtonMetadata;
|
|
303
|
-
}): void;
|
|
301
|
+
startSoloGameFromOptions(): void;
|
|
304
302
|
openRulesModal(): void;
|
|
305
303
|
closeRulesModal(): void;
|
|
306
304
|
openSettingsModal(): void;
|
package/lib/version.d.ts
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|