@yuuvis/client-framework 2.10.0 → 2.10.2

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.
@@ -1554,9 +1554,7 @@ class DatepickerComponent {
1554
1554
  return this.#datepickerService.getErrors();
1555
1555
  }
1556
1556
  writeValue(value) {
1557
- if (value && DatepickerUtils.isValidDate(value)) {
1558
- this.#datepickerService.setValue(value || null, true);
1559
- }
1557
+ this.#datepickerService.setValue(value && DatepickerUtils.isValidDate(value) ? value : null, true);
1560
1558
  }
1561
1559
  registerOnChange(fn) {
1562
1560
  this.propagateChange = fn;
@@ -1605,9 +1603,7 @@ class DatepickerComponent {
1605
1603
  }
1606
1604
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DatepickerComponent, decorators: [{
1607
1605
  type: Component,
1608
- args: [{ selector: 'yuv-datepicker', standalone: true, imports: [CommonModule, MatIconModule, DateInputComponent,
1609
- YmtIconButtonDirective,
1610
- MatButtonModule, ReactiveFormsModule], providers: [
1606
+ args: [{ selector: 'yuv-datepicker', standalone: true, imports: [CommonModule, MatIconModule, DateInputComponent, YmtIconButtonDirective, MatButtonModule, ReactiveFormsModule], providers: [
1611
1607
  DatepickerService,
1612
1608
  {
1613
1609
  provide: NG_VALUE_ACCESSOR,