valtech-components 4.0.381 → 4.0.383

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.
@@ -23,6 +23,14 @@ interface ChessimalsMoveEffectView {
23
23
  to: ChessimalsPosition;
24
24
  capture: boolean;
25
25
  }
26
+ interface ChessimalsMoveTrailView {
27
+ x: string;
28
+ y: string;
29
+ length: string;
30
+ angle: string;
31
+ animal?: ChessimalsAnimalType;
32
+ capture: boolean;
33
+ }
26
34
  export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
27
35
  private readonly i18n;
28
36
  private readonly audio;
@@ -41,6 +49,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
41
49
  private historyWatchTimer;
42
50
  private moveEffectStartTimer;
43
51
  private moveEffectClearTimer;
52
+ private powerUnlockTimer;
44
53
  private pendingOnlineGameId;
45
54
  private openingOnlineGameId;
46
55
  private openedOnlineGameId;
@@ -60,6 +69,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
60
69
  readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
61
70
  readonly movingPiece: import("@angular/core").WritableSignal<ChessimalsMovingPieceView>;
62
71
  readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
72
+ readonly powerUnlockPulse: import("@angular/core").WritableSignal<boolean>;
73
+ readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
63
74
  readonly botThinking: import("@angular/core").WritableSignal<boolean>;
64
75
  readonly confirmAction: import("@angular/core").WritableSignal<ChessimalsConfirmAction>;
65
76
  readonly onlineJoinCode: import("@angular/core").WritableSignal<string>;
@@ -123,6 +134,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
123
134
  selectCell(position: ChessimalsPosition): void;
124
135
  private animateMove;
125
136
  private applyAnimatedMove;
137
+ private playPowerUnlockSound;
126
138
  private queueBotTurnIfNeeded;
127
139
  private playBotTurn;
128
140
  private clearBotTurn;
@@ -29,6 +29,7 @@ export declare class RetroAudioService {
29
29
  chessimalsBotMove(): void;
30
30
  chessimalsCapture(): void;
31
31
  chessimalsPower(power: ChessimalsPower): void;
32
+ chessimalsPowerUnlocked(): void;
32
33
  private readEnabled;
33
34
  private ensureContext;
34
35
  private menuMelody;
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.381";
5
+ export declare const VERSION = "4.0.383";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.381",
3
+ "version": "4.0.383",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"