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.
@@ -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, "circle" | "rounded" | "mediaWidth" | "reversed" | "align">>>;
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" | "text" | "link">;
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.531";
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
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.531";
5
+ export declare const VERSION = "4.0.533";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.531",
3
+ "version": "4.0.533",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"