valtech-components 4.0.552 → 4.0.554

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,3 +1,4 @@
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
1
2
  import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
3
  import { FieldOptionEditorOption, FieldOptionsEditorMetadata } from './types';
3
4
  import * as i0 from "@angular/core";
@@ -15,6 +16,7 @@ export declare class FieldOptionsEditorComponent implements OnChanges {
15
16
  addDraft(): void;
16
17
  updateOption(id: string, name: string): void;
17
18
  removeOption(id: string): void;
19
+ dropOption(event: CdkDragDrop<FieldOptionEditorOption[]>): void;
18
20
  private createOption;
19
21
  private setOptions;
20
22
  private normalizeOptions;
@@ -12,6 +12,7 @@ export interface FieldOptionsEditorMetadata {
12
12
  placeholder?: string;
13
13
  emptyText?: string;
14
14
  removeOptionLabel?: string;
15
+ reorderOptionLabel?: string;
15
16
  state?: ComponentState;
16
17
  options?: FieldOptionEditorOption[];
17
18
  }
@@ -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>;
@@ -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.552";
117
+ readonly valtechComponentsVersion = "4.0.554";
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>;
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.552";
5
+ export declare const VERSION = "4.0.554";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.552",
3
+ "version": "4.0.554",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"