valtech-components 4.0.412 → 4.0.413

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.
@@ -1,7 +1,7 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { ChessimalsAnimalType, ChessimalsBotDifficulty, ChessimalsBotProfile, ChessimalsBotProfileId, ChessimalsBoardSize, ChessimalsGameState, ChessimalsHistoryEntry, ChessimalsLocalMode, ChessimalsMove, ChessimalsPiece, ChessimalsPlayerColor, ChessimalsPosition } from './types';
4
- import { RangeInputMetadata } from '../../molecules/range-input/types';
4
+ import { RangeInputMetadata, RangeValue } from '../../molecules/range-input/types';
5
5
  import { ToggleInputMetadata } from '../../molecules/toggle-input/types';
6
6
  import { UserAvatarMetadata } from '../../atoms/user-avatar/types';
7
7
  import { ButtonMetadata } from '../../types';
@@ -145,6 +145,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
145
145
  ngOnInit(): void;
146
146
  protected t(key: string): string;
147
147
  private shortUserId;
148
+ private rangeValueToNumber;
148
149
  startGame(): void;
149
150
  createOnlineGame(): Promise<void>;
150
151
  joinOnlineGameByCode(): Promise<void>;
@@ -164,6 +165,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
164
165
  closeRulesModal(): void;
165
166
  openSettingsModal(): void;
166
167
  closeSettingsModal(): void;
168
+ setMusicVolume(value: number | RangeValue): void;
169
+ setSfxVolume(value: number | RangeValue): void;
167
170
  selectCell(position: ChessimalsPosition): void;
168
171
  private animateMove;
169
172
  private applyAnimatedMove;
@@ -75,6 +75,8 @@ export declare class RetroAudioService {
75
75
  private sequence;
76
76
  private startSampleMusic;
77
77
  private stopSampleMusic;
78
+ private applySampleMusicVolume;
79
+ private sampleMusicVolume;
78
80
  private tone;
79
81
  private sweep;
80
82
  private filteredNoise;
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.412";
5
+ export declare const VERSION = "4.0.413";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.412",
3
+ "version": "4.0.413",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"