@ardium-ui/ui 5.0.0-alpha.42 → 5.0.0-alpha.44

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.
@@ -2891,7 +2891,7 @@ class ItemStorage {
2891
2891
  }
2892
2892
  handleWriteValue(ngModel) {
2893
2893
  //defer writing the value if no options are yet loaded
2894
- if (!this._wasValueWriteDeferred && this._items().length === 0) {
2894
+ if ((!this._wasValueWriteDeferred || this._ardParentComp.isLoading()) && this._items().length === 0) {
2895
2895
  this._valueToWriteAfterItemsLoad = ngModel;
2896
2896
  this._wasValueWriteDeferred = true;
2897
2897
  return;
@@ -12341,6 +12341,7 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
12341
12341
  }
12342
12342
  onStarClick(index) {
12343
12343
  this.value.set(index + 1);
12344
+ this._emitTouched();
12344
12345
  }
12345
12346
  onStarHighlight(index) {
12346
12347
  this._highlightedStarIndex.set(index);
@@ -12357,7 +12358,7 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
12357
12358
  this._isFocusEventSuppressed = false;
12358
12359
  return;
12359
12360
  }
12360
- this.focusEvent.emit(event);
12361
+ this.onFocus(event);
12361
12362
  }
12362
12363
  onStarButtonBlur(event) {
12363
12364
  this._currentFocusIndex = null;
@@ -12365,7 +12366,7 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
12365
12366
  this._isBlurEventSuppressed = false;
12366
12367
  return;
12367
12368
  }
12368
- this.blurEvent.emit(event);
12369
+ this.onBlur(event);
12369
12370
  }
12370
12371
  focusStarButtonByIndex(index) {
12371
12372
  if (!this.starButtonInstances())