@progress/kendo-angular-dateinputs 23.3.0-develop.20 → 23.3.0-develop.21

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.
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1774614844,
40
- version: '23.3.0-develop.20',
39
+ publishDate: 1774881158,
40
+ version: '23.3.0-develop.21',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -6170,11 +6170,13 @@ class ViewListComponent {
6170
6170
  }
6171
6171
  this.wideWeekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames('wide') : this.weekNames;
6172
6172
  const activeViewChanged = hasChange(changes, 'activeView');
6173
+ const focusedDateChanged = hasChange(changes, 'focusedDate');
6173
6174
  const focusedDate = this.focusedDate;
6174
6175
  const viewDate = dateInRange(this.service.viewDate(focusedDate, this.max, this.minViewsToRender), this.min, this.max);
6175
6176
  const total = this.service.total(this.min, this.max);
6176
6177
  const totalChanged = this.total && this.total !== total;
6177
- const generateDates = totalChanged || !this.service.isInArray(focusedDate, this.dates);
6178
+ const focusedDateNotInDates = (focusedDateChanged || activeViewChanged) && !this.service.isInArray(focusedDate, this.dates);
6179
+ const generateDates = totalChanged || focusedDateNotInDates;
6178
6180
  this.skip = this.service.skip(viewDate, this.min);
6179
6181
  this.total = total;
6180
6182
  this.animateToIndex = !activeViewChanged;
@@ -6183,10 +6185,10 @@ class ViewListComponent {
6183
6185
  if (generateDates) {
6184
6186
  this.dates = this.service.datesList(viewDate, this.getTake(this.skip));
6185
6187
  }
6186
- if (!isEqualMonthYear(this.activeDate, focusedDate)) {
6188
+ if (focusedDateChanged && !isEqualMonthYear(this.activeDate, focusedDate)) {
6187
6189
  this.activeDate = cloneDate(focusedDate);
6188
6190
  }
6189
- const updateIndex = hasChange(changes, 'focusedDate') || activeViewChanged;
6191
+ const updateIndex = focusedDateChanged || activeViewChanged;
6190
6192
  if (generateDates || updateIndex || this.virtualization.isIndexVisible(this.skip)) {
6191
6193
  this.indexToScroll = this.service.skip(focusedDate, this.min);
6192
6194
  }
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1774614844,
11
- "version": "23.3.0-develop.20",
10
+ "publishDate": 1774881158,
11
+ "version": "23.3.0-develop.21",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "23.3.0-develop.20",
3
+ "version": "23.3.0-develop.21",
4
4
  "description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -79,7 +79,7 @@
79
79
  "package": {
80
80
  "productName": "Kendo UI for Angular",
81
81
  "productCode": "KENDOUIANGULAR",
82
- "publishDate": 1774614844,
82
+ "publishDate": 1774881158,
83
83
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
84
84
  }
85
85
  },
@@ -90,19 +90,19 @@
90
90
  "@angular/forms": "19 - 21",
91
91
  "@angular/platform-browser": "19 - 21",
92
92
  "@progress/kendo-licensing": "^1.10.0",
93
- "@progress/kendo-angular-buttons": "23.3.0-develop.20",
94
- "@progress/kendo-angular-common": "23.3.0-develop.20",
95
- "@progress/kendo-angular-utils": "23.3.0-develop.20",
96
- "@progress/kendo-angular-intl": "23.3.0-develop.20",
97
- "@progress/kendo-angular-l10n": "23.3.0-develop.20",
98
- "@progress/kendo-angular-icons": "23.3.0-develop.20",
99
- "@progress/kendo-angular-popup": "23.3.0-develop.20",
100
- "@progress/kendo-angular-navigation": "23.3.0-develop.20",
93
+ "@progress/kendo-angular-buttons": "23.3.0-develop.21",
94
+ "@progress/kendo-angular-common": "23.3.0-develop.21",
95
+ "@progress/kendo-angular-utils": "23.3.0-develop.21",
96
+ "@progress/kendo-angular-intl": "23.3.0-develop.21",
97
+ "@progress/kendo-angular-l10n": "23.3.0-develop.21",
98
+ "@progress/kendo-angular-icons": "23.3.0-develop.21",
99
+ "@progress/kendo-angular-popup": "23.3.0-develop.21",
100
+ "@progress/kendo-angular-navigation": "23.3.0-develop.21",
101
101
  "rxjs": "^6.5.3 || ^7.0.0"
102
102
  },
103
103
  "dependencies": {
104
104
  "tslib": "^2.3.1",
105
- "@progress/kendo-angular-schematics": "23.3.0-develop.20",
105
+ "@progress/kendo-angular-schematics": "23.3.0-develop.21",
106
106
  "@progress/kendo-common": "^1.0.1",
107
107
  "@progress/kendo-date-math": "^1.1.0",
108
108
  "@progress/kendo-dateinputs-common": "^0.4.10"