valtech-components 4.0.381 → 4.0.382

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;
@@ -60,6 +68,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
60
68
  readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
61
69
  readonly movingPiece: import("@angular/core").WritableSignal<ChessimalsMovingPieceView>;
62
70
  readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
71
+ readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
63
72
  readonly botThinking: import("@angular/core").WritableSignal<boolean>;
64
73
  readonly confirmAction: import("@angular/core").WritableSignal<ChessimalsConfirmAction>;
65
74
  readonly onlineJoinCode: import("@angular/core").WritableSignal<string>;
@@ -123,6 +132,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
123
132
  selectCell(position: ChessimalsPosition): void;
124
133
  private animateMove;
125
134
  private applyAnimatedMove;
135
+ private playPowerUnlockSound;
126
136
  private queueBotTurnIfNeeded;
127
137
  private playBotTurn;
128
138
  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.382";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.381",
3
+ "version": "4.0.382",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"