@ardium-ui/ui 5.0.0-alpha.43 → 5.0.0-alpha.45
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.
|
@@ -12330,10 +12330,6 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
|
|
|
12330
12330
|
this.highlightEvent.emit(hi);
|
|
12331
12331
|
}
|
|
12332
12332
|
});
|
|
12333
|
-
effect(() => {
|
|
12334
|
-
this.value(); // let the effect know when to fire
|
|
12335
|
-
untracked(() => this._emitChange());
|
|
12336
|
-
});
|
|
12337
12333
|
}
|
|
12338
12334
|
//! ControlValueAccessor's writeValue
|
|
12339
12335
|
writeValue(v) {
|
|
@@ -12341,6 +12337,8 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
|
|
|
12341
12337
|
}
|
|
12342
12338
|
onStarClick(index) {
|
|
12343
12339
|
this.value.set(index + 1);
|
|
12340
|
+
this._emitChange();
|
|
12341
|
+
this._emitTouched();
|
|
12344
12342
|
}
|
|
12345
12343
|
onStarHighlight(index) {
|
|
12346
12344
|
this._highlightedStarIndex.set(index);
|
|
@@ -12357,7 +12355,7 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
|
|
|
12357
12355
|
this._isFocusEventSuppressed = false;
|
|
12358
12356
|
return;
|
|
12359
12357
|
}
|
|
12360
|
-
this.
|
|
12358
|
+
this.onFocus(event);
|
|
12361
12359
|
}
|
|
12362
12360
|
onStarButtonBlur(event) {
|
|
12363
12361
|
this._currentFocusIndex = null;
|
|
@@ -12365,7 +12363,7 @@ class ArdiumRatingInputComponent extends _FormFieldComponentBase {
|
|
|
12365
12363
|
this._isBlurEventSuppressed = false;
|
|
12366
12364
|
return;
|
|
12367
12365
|
}
|
|
12368
|
-
this.
|
|
12366
|
+
this.onBlur(event);
|
|
12369
12367
|
}
|
|
12370
12368
|
focusStarButtonByIndex(index) {
|
|
12371
12369
|
if (!this.starButtonInstances())
|