valtech-components 4.0.429 → 4.0.430
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/christianity-game.component.mjs +275 -156
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +27 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +301 -156
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +1 -1
- package/lib/components/organisms/mini-games/christianity-game.component.d.ts +18 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
65
65
|
readonly botDifficulties: ChessimalsBotDifficulty[];
|
|
66
66
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
67
67
|
readonly animals: ChessimalsAnimalView[];
|
|
68
|
-
readonly valtechComponentsVersion = "4.0.
|
|
68
|
+
readonly valtechComponentsVersion = "4.0.430";
|
|
69
69
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
70
70
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
71
71
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import { ChristianityCardDefinition, ChristianityCharacterInstance, ChristianityGameState, ChristianityPlayerState, ChristianitySeat } from './types';
|
|
1
|
+
import { ChristianityCardDefinition, ChristianityCharacterInstance, ChristianityGameState, ChristianityOfferingInstance, ChristianityPlayerState, ChristianitySeat } from './types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
interface ChristianityCardPreview {
|
|
4
|
+
title: string;
|
|
5
|
+
eyebrow: string;
|
|
6
|
+
meta: string;
|
|
7
|
+
body: string;
|
|
8
|
+
}
|
|
3
9
|
export declare class ChristianityGameComponent {
|
|
4
10
|
private i18n;
|
|
5
11
|
protected readonly game: import("@angular/core").WritableSignal<ChristianityGameState>;
|
|
6
12
|
protected readonly selectedHandCard: import("@angular/core").WritableSignal<string>;
|
|
7
13
|
protected readonly selectedAttacker: import("@angular/core").WritableSignal<ChristianityCharacterInstance>;
|
|
14
|
+
protected readonly selectedPreview: import("@angular/core").WritableSignal<ChristianityCardPreview>;
|
|
8
15
|
protected readonly showHistory: import("@angular/core").WritableSignal<boolean>;
|
|
9
16
|
protected readonly player: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
10
17
|
protected readonly opponent: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
11
18
|
protected readonly currentPlayer: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
12
19
|
protected readonly isOwnTurn: import("@angular/core").Signal<boolean>;
|
|
20
|
+
protected readonly hasOpponentGuards: import("@angular/core").Signal<boolean>;
|
|
13
21
|
protected readonly opponentHandCount: import("@angular/core").Signal<number>;
|
|
14
22
|
protected readonly statusText: import("@angular/core").Signal<string>;
|
|
15
23
|
constructor();
|
|
@@ -19,19 +27,28 @@ export declare class ChristianityGameComponent {
|
|
|
19
27
|
trackId: string;
|
|
20
28
|
card?: ChristianityCharacterInstance;
|
|
21
29
|
}>;
|
|
30
|
+
protected hiddenHandCards(count: number): unknown[];
|
|
31
|
+
protected fanTransform(index: number, total: number, opponent: boolean): string;
|
|
22
32
|
protected readyOfferings(player: ChristianityPlayerState): number;
|
|
23
33
|
protected canPlay(card: ChristianityCardDefinition): boolean;
|
|
24
34
|
protected canPlaySelected(): boolean;
|
|
25
35
|
protected selectHandCard(cardId: string): void;
|
|
26
36
|
protected playSelectedCard(): void;
|
|
27
37
|
protected selectAttacker(card: ChristianityCharacterInstance): void;
|
|
38
|
+
protected handleOpponentCharacter(card: ChristianityCharacterInstance): void;
|
|
39
|
+
protected handleOpponentLeader(): void;
|
|
28
40
|
protected attackLeader(): void;
|
|
29
41
|
protected attackCharacter(target: ChristianityCharacterInstance): void;
|
|
30
42
|
protected endTurn(): void;
|
|
31
43
|
protected resetMock(): void;
|
|
32
44
|
protected historyNames(): string;
|
|
33
45
|
private cleanupDestroyed;
|
|
46
|
+
protected inspectLeader(seat: ChristianitySeat): void;
|
|
47
|
+
protected inspectOffering(offering: ChristianityOfferingInstance): void;
|
|
48
|
+
private inspectHandCard;
|
|
49
|
+
private inspectCharacter;
|
|
34
50
|
private spendOfferings;
|
|
35
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChristianityGameComponent, never>;
|
|
36
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChristianityGameComponent, "val-christianity-game", never, {}, {}, never, never, true, never>;
|
|
37
53
|
}
|
|
54
|
+
export {};
|
package/lib/version.d.ts
CHANGED