@kuzntsv/uikit 1.0.54 → 1.0.56
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.
|
@@ -2653,6 +2653,18 @@ var BaseSignalFilterClass = class BaseSignalFilterClass {
|
|
|
2653
2653
|
else this.filters.set({ ...this.DEFAULT_FILTER });
|
|
2654
2654
|
});
|
|
2655
2655
|
}
|
|
2656
|
+
clearField(fieldName, defaultValue) {
|
|
2657
|
+
this.filters.update((prev) => ({
|
|
2658
|
+
...prev,
|
|
2659
|
+
[fieldName]: defaultValue
|
|
2660
|
+
}));
|
|
2661
|
+
}
|
|
2662
|
+
clearFieldInternal(fieldName, defaultValue) {
|
|
2663
|
+
this.internalFilterSignal.update((prev) => ({
|
|
2664
|
+
...prev,
|
|
2665
|
+
[fieldName]: defaultValue
|
|
2666
|
+
}));
|
|
2667
|
+
}
|
|
2656
2668
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2657
2669
|
minVersion: "12.0.0",
|
|
2658
2670
|
version: "22.2.2",
|