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.
@@ -41086,16 +41086,16 @@ class IgxDatePickerComponent extends PickerBaseDirective {
41086
41086
  }
41087
41087
  setCalendarViewDate() {
41088
41088
  const { minValue, maxValue } = this.getMinMaxDates();
41089
- this._dateValue = this.dateValue || new Date();
41090
- if (minValue && DateTimeUtil.lessThanMinValue(this.dateValue, minValue)) {
41089
+ const dateValue = DateTimeUtil.isValidDate(this.dateValue) ? this.dateValue : new Date();
41090
+ if (minValue && DateTimeUtil.lessThanMinValue(dateValue, minValue)) {
41091
41091
  this._calendar.viewDate = this._targetViewDate = minValue;
41092
41092
  return;
41093
41093
  }
41094
- if (maxValue && DateTimeUtil.greaterThanMaxValue(this.dateValue, maxValue)) {
41094
+ if (maxValue && DateTimeUtil.greaterThanMaxValue(dateValue, maxValue)) {
41095
41095
  this._calendar.viewDate = this._targetViewDate = maxValue;
41096
41096
  return;
41097
41097
  }
41098
- this._calendar.viewDate = this._targetViewDate = this.dateValue;
41098
+ this._calendar.viewDate = this._targetViewDate = dateValue;
41099
41099
  }
41100
41100
  }
41101
41101
  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 });
@@ -62922,7 +62922,10 @@ class IgxGridBaseDirective extends DisplayDensityBase {
62922
62922
  return this._rowHeight ? this._rowHeight : this.defaultRowHeight;
62923
62923
  }
62924
62924
  set rowHeight(value) {
62925
- this._rowHeight = parseInt(value, 10);
62925
+ if (typeof value !== 'number') {
62926
+ value = parseInt(value, 10);
62927
+ }
62928
+ this._rowHeight = value;
62926
62929
  }
62927
62930
  /**
62928
62931
  * Gets/Sets the default width of the columns.
@@ -64790,12 +64793,6 @@ class IgxGridBaseDirective extends DisplayDensityBase {
64790
64793
  get virtualizationState() {
64791
64794
  return this.verticalScrollContainer.state;
64792
64795
  }
64793
- /**
64794
- * @hidden
64795
- */
64796
- set virtualizationState(state) {
64797
- this.verticalScrollContainer.state = state;
64798
- }
64799
64796
  /**
64800
64797
  * @hidden
64801
64798
  * @internal