valtech-components 4.0.531 → 4.0.533
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-card.component.mjs +9 -5
- package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +201 -36
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +209 -40
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/media-object/media-object.component.d.ts +1 -1
- package/lib/components/molecules/phone-display/phone-display.component.d.ts +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 +15 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -6,7 +6,7 @@ export declare class PhoneDisplayComponent {
|
|
|
6
6
|
props: PhoneDisplayMetadata;
|
|
7
7
|
onClick: EventEmitter<string>;
|
|
8
8
|
protected rawPhone: import("@angular/core").Signal<string>;
|
|
9
|
-
protected mode: import("@angular/core").Signal<"button" | "
|
|
9
|
+
protected mode: import("@angular/core").Signal<"button" | "link" | "text">;
|
|
10
10
|
protected formatted: import("@angular/core").Signal<string>;
|
|
11
11
|
protected href: import("@angular/core").Signal<string>;
|
|
12
12
|
protected ariaLabel: import("@angular/core").Signal<string>;
|
|
@@ -114,7 +114,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
114
114
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
115
115
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
116
116
|
readonly animals: ChessimalsAnimalView[];
|
|
117
|
-
readonly valtechComponentsVersion = "4.0.
|
|
117
|
+
readonly valtechComponentsVersion = "4.0.533";
|
|
118
118
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
119
119
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
120
120
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -10,7 +10,7 @@ interface ChristianityCardPreview {
|
|
|
10
10
|
meta: string;
|
|
11
11
|
body: string;
|
|
12
12
|
cardId?: string;
|
|
13
|
-
source?: 'hand' | 'board' | 'pile' | 'history' | 'offerings' | 'gallery' | 'leader-choice';
|
|
13
|
+
source?: 'hand' | 'board' | 'pile' | 'history' | 'offerings' | 'place' | 'gallery' | 'leader-choice';
|
|
14
14
|
seat?: ChristianitySeat;
|
|
15
15
|
offeringInstanceId?: string;
|
|
16
16
|
}
|
|
@@ -104,6 +104,7 @@ export declare class ChristianityGameComponent {
|
|
|
104
104
|
protected readonly draggingAttackerInstanceId: import("@angular/core").WritableSignal<string>;
|
|
105
105
|
protected readonly historyPulse: import("@angular/core").WritableSignal<boolean>;
|
|
106
106
|
protected readonly showHistory: import("@angular/core").WritableSignal<boolean>;
|
|
107
|
+
protected readonly showPlace: import("@angular/core").WritableSignal<boolean>;
|
|
107
108
|
protected readonly showGallery: import("@angular/core").WritableSignal<boolean>;
|
|
108
109
|
protected readonly offeringsSeat: import("@angular/core").WritableSignal<ChristianitySeat>;
|
|
109
110
|
protected readonly impactEvents: import("@angular/core").WritableSignal<ChristianityImpactEvent[]>;
|
|
@@ -144,6 +145,12 @@ export declare class ChristianityGameComponent {
|
|
|
144
145
|
protected readonly previewCarouselItems: import("@angular/core").Signal<({
|
|
145
146
|
kind: 'history';
|
|
146
147
|
cardId: string;
|
|
148
|
+
} | {
|
|
149
|
+
kind: 'hand';
|
|
150
|
+
cardId: string;
|
|
151
|
+
} | {
|
|
152
|
+
kind: 'place';
|
|
153
|
+
cardId: string;
|
|
147
154
|
} | {
|
|
148
155
|
kind: 'offering';
|
|
149
156
|
offering: ChristianityOfferingInstance;
|
|
@@ -222,8 +229,12 @@ export declare class ChristianityGameComponent {
|
|
|
222
229
|
protected attackTargetDropIds(): string[];
|
|
223
230
|
protected opponentTargetDropId(card: ChristianityCharacterInstance): string;
|
|
224
231
|
protected topHistoryCard(): ChristianityCardDefinition | null;
|
|
232
|
+
protected historyStack(): string[];
|
|
225
233
|
protected topOffering(seat: ChristianitySeat): ChristianityOfferingInstance | null;
|
|
234
|
+
protected offeringStack(seat: ChristianitySeat): ChristianityOfferingInstance[];
|
|
226
235
|
protected activePlaceCard(): ChristianityCardDefinition | null;
|
|
236
|
+
protected placeStack(): string[];
|
|
237
|
+
protected zoneStackTransform(index: number, total: number): string;
|
|
227
238
|
protected isOpponentLeaderTarget(): boolean;
|
|
228
239
|
protected isOpponentCharacterTarget(card: ChristianityCharacterInstance): boolean;
|
|
229
240
|
protected hiddenHandCards(count: number): unknown[];
|
|
@@ -300,7 +311,9 @@ export declare class ChristianityGameComponent {
|
|
|
300
311
|
protected closeInfo(): void;
|
|
301
312
|
protected openOfferings(seat: ChristianitySeat): void;
|
|
302
313
|
protected openHistory(): void;
|
|
314
|
+
protected openPlace(): void;
|
|
303
315
|
protected closeHistory(): void;
|
|
316
|
+
protected closePlace(): void;
|
|
304
317
|
protected closeOfferings(): void;
|
|
305
318
|
protected openGallery(): void;
|
|
306
319
|
protected closeGallery(): void;
|
|
@@ -345,6 +358,7 @@ export declare class ChristianityGameComponent {
|
|
|
345
358
|
private canUsePreviewAbility;
|
|
346
359
|
protected inspectDeck(): void;
|
|
347
360
|
protected inspectPlaceZone(): void;
|
|
361
|
+
protected inspectPlaceCard(cardId: string): void;
|
|
348
362
|
protected inspectHowToPlay(): void;
|
|
349
363
|
protected inspectHandCard(cardId: string, fromHand?: boolean): void;
|
|
350
364
|
protected inspectGalleryCard(cardId: string): void;
|
package/lib/version.d.ts
CHANGED