igniteui-angular 15.1.11 → 15.1.12

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.
@@ -40733,16 +40733,16 @@ class IgxDatePickerComponent extends PickerBaseDirective {
40733
40733
  }
40734
40734
  setCalendarViewDate() {
40735
40735
  const { minValue, maxValue } = this.getMinMaxDates();
40736
- this._dateValue = this.dateValue || new Date();
40737
- if (minValue && DateTimeUtil.lessThanMinValue(this.dateValue, minValue)) {
40736
+ const dateValue = DateTimeUtil.isValidDate(this.dateValue) ? this.dateValue : new Date();
40737
+ if (minValue && DateTimeUtil.lessThanMinValue(dateValue, minValue)) {
40738
40738
  this._calendar.viewDate = this._targetViewDate = minValue;
40739
40739
  return;
40740
40740
  }
40741
- if (maxValue && DateTimeUtil.greaterThanMaxValue(this.dateValue, maxValue)) {
40741
+ if (maxValue && DateTimeUtil.greaterThanMaxValue(dateValue, maxValue)) {
40742
40742
  this._calendar.viewDate = this._targetViewDate = maxValue;
40743
40743
  return;
40744
40744
  }
40745
- this._calendar.viewDate = this._targetViewDate = this.dateValue;
40745
+ this._calendar.viewDate = this._targetViewDate = dateValue;
40746
40746
  }
40747
40747
  }
40748
40748
  IgxDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: IgxDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: LOCALE_ID }, { token: IgxOverlayService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: PlatformUtil }, { token: i0.ChangeDetectorRef }, { token: DisplayDensityToken, optional: true }, { token: IGX_INPUT_GROUP_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component });
@@ -62702,7 +62702,10 @@ class IgxGridBaseDirective extends DisplayDensityBase {
62702
62702
  return this._rowHeight ? this._rowHeight : this.defaultRowHeight;
62703
62703
  }
62704
62704
  set rowHeight(value) {
62705
- this._rowHeight = parseInt(value, 10);
62705
+ if (typeof value !== 'number') {
62706
+ value = parseInt(value, 10);
62707
+ }
62708
+ this._rowHeight = value;
62706
62709
  }
62707
62710
  /**
62708
62711
  * Gets/Sets the default width of the columns.
@@ -64573,12 +64576,6 @@ class IgxGridBaseDirective extends DisplayDensityBase {
64573
64576
  get virtualizationState() {
64574
64577
  return this.verticalScrollContainer.state;
64575
64578
  }
64576
- /**
64577
- * @hidden
64578
- */
64579
- set virtualizationState(state) {
64580
- this.verticalScrollContainer.state = state;
64581
- }
64582
64579
  /**
64583
64580
  * @hidden
64584
64581
  * @internal