chrv-components 1.12.18 → 1.12.19
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.
|
Binary file
|
|
@@ -5592,8 +5592,14 @@ class ChrDebounceDirective {
|
|
|
5592
5592
|
this.defaults = inject(CHR_DEBOUNCE_DEFAULTS);
|
|
5593
5593
|
this.renderer = inject(Renderer2);
|
|
5594
5594
|
this.subject = new Subject();
|
|
5595
|
-
this.chrDebounceTime = input(
|
|
5596
|
-
this.
|
|
5595
|
+
this.chrDebounceTime = input(null, ...(ngDevMode ? [{ debugName: "chrDebounceTime" }] : []));
|
|
5596
|
+
this.debounceTimeValue = computed(() => {
|
|
5597
|
+
if (this.chrDebounceTime() !== null) {
|
|
5598
|
+
return this.chrDebounceTime();
|
|
5599
|
+
}
|
|
5600
|
+
return this.defaults.baseInputs;
|
|
5601
|
+
}, ...(ngDevMode ? [{ debugName: "debounceTimeValue" }] : []));
|
|
5602
|
+
this.subscription = this.subject.pipe(debounceTime$1(this.debounceTimeValue()));
|
|
5597
5603
|
this.isDispatching = false;
|
|
5598
5604
|
}
|
|
5599
5605
|
ngOnInit() {
|