chrv-components 1.11.49 → 1.11.50
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
|
|
@@ -2021,11 +2021,16 @@ class ChrDateInputComponent extends ChrBaseInputComponent {
|
|
|
2021
2021
|
if (parsed !== null) {
|
|
2022
2022
|
this.onValueChange(parsed);
|
|
2023
2023
|
}
|
|
2024
|
-
this.valueSubject
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
});
|
|
2024
|
+
// this.valueSubject
|
|
2025
|
+
// .pipe(filter((v) => v !== null && v !== undefined))
|
|
2026
|
+
// .subscribe((v) => {
|
|
2027
|
+
// this.displayValue.set(this.dateToString(v));
|
|
2028
|
+
// });
|
|
2029
|
+
}
|
|
2030
|
+
writeValue(obj) {
|
|
2031
|
+
super.writeValue(obj);
|
|
2032
|
+
if (obj !== null && obj !== undefined)
|
|
2033
|
+
this.displayValue.set(this.dateToString(obj));
|
|
2029
2034
|
}
|
|
2030
2035
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ChrDateInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2031
2036
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: ChrDateInputComponent, isStandalone: true, selector: "chr-date-input", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|