valtech-components 4.0.502 → 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.
@@ -31,11 +31,6 @@ export declare class ChessimalsChallengeProgressService {
31
31
  private runsPath;
32
32
  private readLocalActiveRun;
33
33
  private writeLocalActiveRun;
34
- private clearLocalActiveRun;
35
- private localActiveRunKey;
36
- private newestActiveRun;
37
- private runProgressScore;
38
- private runTime;
39
34
  private withoutUndefined;
40
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ChessimalsChallengeProgressService, never>;
41
36
  static ɵprov: i0.ɵɵInjectableDeclaration<ChessimalsChallengeProgressService>;
@@ -58,12 +58,6 @@ interface ChessimalsProgressMetricView {
58
58
  label: string;
59
59
  value: string | number;
60
60
  }
61
- interface ChessimalsProgressRingView {
62
- label: string;
63
- value: string;
64
- detail: string;
65
- progress: string;
66
- }
67
61
  interface ChessimalsMoveScoreView {
68
62
  combo: number;
69
63
  label: string;
@@ -123,8 +117,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
123
117
  readonly botProfiles: ChessimalsBotProfile[];
124
118
  readonly challengeLadder: ChessimalsChallengeBot[];
125
119
  readonly animals: ChessimalsAnimalView[];
126
- readonly valtechComponentsVersion = "4.0.502";
127
- readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
120
+ readonly valtechComponentsVersion = "4.0.503";
121
+ readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "game">;
128
122
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
129
123
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
130
124
  readonly selectedBotDifficulty: import("@angular/core").WritableSignal<ChessimalsBotDifficulty>;
@@ -146,6 +140,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
146
140
  readonly selectedAnimal: import("@angular/core").WritableSignal<ChessimalsAnimalType>;
147
141
  readonly isRulesModalOpen: import("@angular/core").WritableSignal<boolean>;
148
142
  readonly isSettingsModalOpen: import("@angular/core").WritableSignal<boolean>;
143
+ readonly isProgressModalOpen: import("@angular/core").WritableSignal<boolean>;
149
144
  readonly isAboutModalOpen: import("@angular/core").WritableSignal<boolean>;
150
145
  readonly tutorialMode: import("@angular/core").WritableSignal<boolean>;
151
146
  readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
@@ -187,7 +182,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
187
182
  readonly selectedBotProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
188
183
  readonly gameBotProfile: import("@angular/core").Signal<ChessimalsBotProfile>;
189
184
  readonly activeChallengeBot: import("@angular/core").Signal<ChessimalsChallengeBot>;
190
- readonly resumableChallengeRun: import("@angular/core").Signal<ChessimalsChallengeRun>;
191
185
  set onlineGameId(value: string | null | undefined);
192
186
  miniGamesRoute: string;
193
187
  projectionMode: boolean;
@@ -265,16 +259,12 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
265
259
  private shortUserId;
266
260
  private rangeValueToNumber;
267
261
  startChallenge(): void;
268
- requestNewChallenge(): void;
269
262
  openChallengeView(): void;
270
263
  backToHome(): void;
271
264
  private createNewChallengeRun;
272
- private resetChallengeSessionState;
273
265
  resumeChallenge(run?: ChessimalsChallengeRun): void;
274
266
  continueChallenge(): void;
275
267
  private startChallengeRound;
276
- private enterChallengeRound;
277
- private isResumableChallengeRun;
278
268
  startGame(): void;
279
269
  private handleChallengeRoundFinished;
280
270
  private abandonChallengeIfNeeded;
@@ -286,7 +276,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
286
276
  restartGame(): void;
287
277
  exitTutorial(): void;
288
278
  resetToModeSetup(): void;
289
- private returnChallengeToMenu;
290
279
  resetToGamesMenu(): void;
291
280
  private resetFinishedLocalGameForNextVisit;
292
281
  requestRestartGame(): void;
@@ -301,7 +290,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
301
290
  closeRulesModal(): void;
302
291
  openSettingsModal(): void;
303
292
  closeSettingsModal(): void;
304
- openPathView(): void;
293
+ openProgressModal(): void;
294
+ closeProgressModal(): void;
305
295
  openAboutModal(): void;
306
296
  closeAboutModal(): void;
307
297
  setMusicVolume(value: number | RangeValue): void;
@@ -321,9 +311,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
321
311
  private isPromotionMove;
322
312
  private animateMove;
323
313
  private applyAnimatedMove;
324
- private activeGameForRun;
325
- private persistActiveChallengeGame;
326
- private cloneChallengeGame;
327
314
  private playPowerUnlockSound;
328
315
  private queueBotTurnIfNeeded;
329
316
  private playBotTurn;
@@ -419,9 +406,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
419
406
  challengeOpeningBot(): ChessimalsChallengeBot;
420
407
  challengeMenuBot(): ChessimalsChallengeBot;
421
408
  challengeMenuRoundLabel(): string;
422
- challengeMenuLivesLabel(): string;
423
- challengeMenuClearedRound(): number;
424
- private challengeMenuRun;
425
409
  challengeBotName(bot: ChessimalsChallengeBot): string;
426
410
  challengeBotDifficultyLabel(bot: ChessimalsChallengeBot): string;
427
411
  challengeBotStyleLine(bot: ChessimalsChallengeBot): string;
@@ -447,7 +431,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
447
431
  challengeRivalVoiceLabel(): string;
448
432
  challengeRivalVoiceTitle(): string;
449
433
  challengeRivalVoiceBody(): string;
450
- private challengeVoiceText;
451
434
  challengeNextRivalLabel(): string;
452
435
  challengeContinueLabel(): string;
453
436
  challengeNextRivalHint(): string;
@@ -455,9 +438,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
455
438
  modeWinRateLabel(mode: ChessimalsStatsMode): string;
456
439
  modeStatsLine(mode: ChessimalsStatsMode): string;
457
440
  progressPowerStats(): ChessimalsProgressMetricView[];
458
- progressRings(): ChessimalsProgressRingView[];
459
- progressMetricPercent(value: string | number): string;
460
- private progressRing;
461
441
  challengeAchievements(): ChessimalsAchievementView[];
462
442
  challengeFeaturedAchievements(): ChessimalsAchievementView[];
463
443
  challengeTensionMoment(): ChessimalsChallengeTensionView | undefined;
@@ -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;
@@ -102,7 +102,6 @@ export interface ChessimalsChallengeRun {
102
102
  currentStreak: number;
103
103
  botLadder: string[];
104
104
  roundResults: ChessimalsChallengeRoundResult[];
105
- activeGame?: ChessimalsGameState;
106
105
  startedAt: string;
107
106
  updatedAt: string;
108
107
  finishedAt?: string;
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.502";
5
+ export declare const VERSION = "4.0.503";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.502",
3
+ "version": "4.0.503",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"