valtech-components 4.0.527 → 4.0.528

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, "rounded" | "circle" | "mediaWidth" | "reversed" | "align">>>;
33
+ config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "circle" | "rounded" | "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" | "link" | "text">;
9
+ protected mode: import("@angular/core").Signal<"button" | "text" | "link">;
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.527";
117
+ readonly valtechComponentsVersion = "4.0.528";
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>;
@@ -259,6 +259,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
259
259
  requestNewChallenge(): void;
260
260
  openChallengeView(): void;
261
261
  backToHome(): void;
262
+ private cancelActiveGameplayFeedback;
262
263
  private createNewChallengeRun;
263
264
  private resetChallengeSessionState;
264
265
  resumeChallenge(run?: ChessimalsChallengeRun): void;
@@ -295,6 +296,9 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
295
296
  openPathView(): void;
296
297
  openAboutModal(): void;
297
298
  closeAboutModal(): void;
299
+ handleAboutAction(event: {
300
+ action?: ButtonMetadata;
301
+ }): void;
298
302
  setMusicVolume(value: number | RangeValue): void;
299
303
  setSfxVolume(value: number | RangeValue): void;
300
304
  private tutorialExpectedMove;
@@ -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';
13
+ source?: 'hand' | 'board' | 'pile' | 'history' | 'offerings' | 'gallery' | 'leader-choice';
14
14
  seat?: ChristianitySeat;
15
15
  offeringInstanceId?: string;
16
16
  }
@@ -83,10 +83,13 @@ export declare class ChristianityGameComponent {
83
83
  private combatResolutionTimer;
84
84
  private combatClearTimer;
85
85
  private combatTrailClearTimer;
86
+ private leaderChoiceTimer;
86
87
  protected readonly game: import("@angular/core").WritableSignal<ChristianityGameState>;
87
88
  protected readonly screen: import("@angular/core").WritableSignal<ChristianityScreen>;
88
89
  protected readonly tutorialPhase: import("@angular/core").WritableSignal<ChristianityTutorialPhase>;
89
90
  protected readonly tutorialSetup: import("@angular/core").WritableSignal<ChristianityTutorialSetup>;
91
+ protected readonly selectedTutorialLeaderId: import("@angular/core").WritableSignal<string>;
92
+ protected readonly leaderChoiceSeconds: import("@angular/core").WritableSignal<number>;
90
93
  protected readonly showOptions: import("@angular/core").WritableSignal<boolean>;
91
94
  protected readonly catalogLoadState: import("@angular/core").WritableSignal<ChristianityCatalogLoadState>;
92
95
  protected readonly selectedHandCard: import("@angular/core").WritableSignal<string>;
@@ -111,6 +114,7 @@ export declare class ChristianityGameComponent {
111
114
  protected readonly catalogLoaded: import("@angular/core").WritableSignal<boolean>;
112
115
  protected readonly gallerySearch: import("@angular/core").WritableSignal<string>;
113
116
  protected readonly galleryType: import("@angular/core").WritableSignal<ChristianityGalleryTypeFilter>;
117
+ protected readonly leaderChoiceTotalSeconds = 15;
114
118
  protected readonly canDropOnBattleSlot: (drag: CdkDrag<string>) => boolean;
115
119
  protected readonly canDropOnOfferings: (drag: CdkDrag<string>) => boolean;
116
120
  protected readonly canDropOnPlace: (drag: CdkDrag<string>) => boolean;
@@ -146,6 +150,9 @@ export declare class ChristianityGameComponent {
146
150
  } | {
147
151
  kind: 'gallery';
148
152
  cardId: string;
153
+ } | {
154
+ kind: 'leader-choice';
155
+ cardId: string;
149
156
  })[]>;
150
157
  protected readonly canNavigatePreview: import("@angular/core").Signal<boolean>;
151
158
  protected readonly previewPositionLabel: import("@angular/core").Signal<string>;
@@ -194,6 +201,7 @@ export declare class ChristianityGameComponent {
194
201
  protected startFeaturedCardTransform(index: number): string;
195
202
  protected cardTypeLabel(card: ChristianityCardDefinition): string;
196
203
  protected definitionToRenderCard(card: ChristianityCardDefinition, overrides?: Partial<ChristianityCardRenderModel>): ChristianityCardRenderModel;
204
+ protected placeBackdropImage(card: ChristianityCardDefinition): string;
197
205
  protected hiddenCardRenderCard(): ChristianityCardRenderModel;
198
206
  private defaultCardBody;
199
207
  protected characterRenderCard(card: ChristianityCharacterInstance): ChristianityCardRenderModel;
@@ -275,10 +283,15 @@ export declare class ChristianityGameComponent {
275
283
  protected startTutorial(): void;
276
284
  protected continueAfterCoin(): void;
277
285
  protected chooseTutorialLeader(leaderId: string): void;
286
+ protected selectTutorialLeader(leaderId: string): void;
287
+ protected confirmTutorialLeader(): void;
288
+ protected inspectLeaderChoice(leaderId: string): void;
278
289
  protected toggleOptions(): void;
279
290
  protected restartTutorial(): void;
280
291
  protected resignTutorial(): void;
281
292
  protected returnToChristianityHome(): void;
293
+ private startLeaderChoiceTimer;
294
+ private clearLeaderChoiceTimer;
282
295
  private createTutorialSetup;
283
296
  private chooseRivalTutorialLeader;
284
297
  private startTutorialMatch;
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.527";
5
+ export declare const VERSION = "4.0.528";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.527",
3
+ "version": "4.0.528",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"