@fluxhub/fluxhub-lib 19.0.90 → 19.0.91

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.
@@ -14713,9 +14713,9 @@ class FHColorPickerComponent {
14713
14713
  event.stopPropagation();
14714
14714
  this.isVisible = false;
14715
14715
  this._color = this.colorControl.value;
14716
- const hexValue = this._color ? this._color.toHexString() : '#2196F3';
14717
- this.onChange(hexValue);
14718
- this.change.emit(hexValue);
14716
+ // Restituisci l'oggetto Color invece della stringa per mantenere la coerenza con la libreria
14717
+ this.onChange(this._color);
14718
+ this.change.emit(this._color ? this._color.toHexString() : '#2196F3');
14719
14719
  }
14720
14720
  constructor() { }
14721
14721
  ngAfterViewInit() { }