valtech-components 4.0.500 → 4.0.503
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 +89 -8
- package/esm2022/lib/components/organisms/mini-games/christianity-rules.mjs +18 -2
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +3 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +108 -9
- 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 +7 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -117,7 +117,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
117
117
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
118
118
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
119
119
|
readonly animals: ChessimalsAnimalView[];
|
|
120
|
-
readonly valtechComponentsVersion = "4.0.
|
|
120
|
+
readonly valtechComponentsVersion = "4.0.503";
|
|
121
121
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "game">;
|
|
122
122
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
123
123
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -56,6 +56,7 @@ export declare class ChristianityGameComponent {
|
|
|
56
56
|
protected readonly hoveredHandIndex: import("@angular/core").WritableSignal<number>;
|
|
57
57
|
protected readonly draggingCardId: import("@angular/core").WritableSignal<string>;
|
|
58
58
|
protected readonly draggingAttackerInstanceId: import("@angular/core").WritableSignal<string>;
|
|
59
|
+
protected readonly historyPulse: import("@angular/core").WritableSignal<boolean>;
|
|
59
60
|
protected readonly showHistory: import("@angular/core").WritableSignal<boolean>;
|
|
60
61
|
protected readonly showGallery: import("@angular/core").WritableSignal<boolean>;
|
|
61
62
|
protected readonly offeringsSeat: import("@angular/core").WritableSignal<ChristianitySeat>;
|
|
@@ -67,6 +68,7 @@ export declare class ChristianityGameComponent {
|
|
|
67
68
|
protected readonly galleryType: import("@angular/core").WritableSignal<ChristianityGalleryTypeFilter>;
|
|
68
69
|
protected readonly canDropOnBattleSlot: (drag: CdkDrag<string>) => boolean;
|
|
69
70
|
protected readonly canDropOnOfferings: (drag: CdkDrag<string>) => boolean;
|
|
71
|
+
protected readonly canDropOnPlace: (drag: CdkDrag<string>) => boolean;
|
|
70
72
|
protected readonly canDropOnOpponentCharacter: (drag: CdkDrag<string>) => boolean;
|
|
71
73
|
protected readonly canDropOnOpponentLeader: (drag: CdkDrag<string>) => boolean;
|
|
72
74
|
protected readonly player: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
@@ -155,8 +157,10 @@ export declare class ChristianityGameComponent {
|
|
|
155
157
|
protected selectedActionDisabled(): boolean;
|
|
156
158
|
protected canPlaceSelectedCharacter(): boolean;
|
|
157
159
|
protected canPlaceSelectedOffering(): boolean;
|
|
160
|
+
protected canPlaceSelectedPlace(): boolean;
|
|
158
161
|
protected isDraggingCharacter(): boolean;
|
|
159
162
|
protected isDraggingOffering(): boolean;
|
|
163
|
+
protected isDraggingPlace(): boolean;
|
|
160
164
|
protected startDraggingCard(cardId: string): void;
|
|
161
165
|
protected endDraggingCard(): void;
|
|
162
166
|
protected canDragAttacker(card: ChristianityCharacterInstance): boolean;
|
|
@@ -164,6 +168,8 @@ export declare class ChristianityGameComponent {
|
|
|
164
168
|
protected endDraggingAttacker(): void;
|
|
165
169
|
protected dropOnBattleSlot(event: CdkDragDrop<number, unknown, string>, slotIndex: number): void;
|
|
166
170
|
protected dropOnOfferings(event: CdkDragDrop<unknown, unknown, string>): void;
|
|
171
|
+
protected dropOnPlace(event: CdkDragDrop<unknown, unknown, string>): void;
|
|
172
|
+
protected playSelectedPlaceOrInspect(): void;
|
|
167
173
|
protected dropOnOpponentCharacter(event: CdkDragDrop<unknown, unknown, string>, target: ChristianityCharacterInstance): void;
|
|
168
174
|
protected dropOnOpponentLeader(event: CdkDragDrop<unknown, unknown, string>): void;
|
|
169
175
|
private isValidAttackerInstance;
|
|
@@ -194,6 +200,7 @@ export declare class ChristianityGameComponent {
|
|
|
194
200
|
protected resetPreviewTilt(): void;
|
|
195
201
|
private pushImpactEvent;
|
|
196
202
|
private pushImpactEvents;
|
|
203
|
+
private triggerHistoryPulse;
|
|
197
204
|
private clearBotTurn;
|
|
198
205
|
private scheduleBotTurnIfNeeded;
|
|
199
206
|
private runTutorialBotTurn;
|
package/lib/version.d.ts
CHANGED