@progress/kendo-angular-dateinputs 18.0.0 → 18.0.1-develop.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.
@@ -709,6 +709,7 @@ export class MultiViewCalendarComponent {
709
709
  else if (onTKeyPress) {
710
710
  this.focusedDate = getToday();
711
711
  this.bus.moveToBottom(this.activeViewEnum);
712
+ this.updateButtonState();
712
713
  return;
713
714
  }
714
715
  else if (onEnterKeyPress) {
@@ -740,6 +741,7 @@ export class MultiViewCalendarComponent {
740
741
  const isSameView = this.bus.service(this.activeViewEnum).isInArray(this.focusedDate, this.viewList.dates);
741
742
  if (!isSameView) {
742
743
  this.emitNavigate(this.focusedDate);
744
+ this.updateButtonState();
743
745
  }
744
746
  if (isArrowWithShiftPressed(event) && this.selection !== 'range') {
745
747
  event['anyArrow'] = true;
@@ -793,7 +795,7 @@ export class MultiViewCalendarComponent {
793
795
  this.disabledDatesRangeValidateFn = this.disabledDatesRangeValidation ? disabledDatesRangeValidator(this.disabledDatesService.isDateDisabled) : noop;
794
796
  this.onValidatorChange();
795
797
  }
796
- if (this.changes.min || this.changes.max || this.changes.focusedDate || this.changes.activeView) {
798
+ if (this.changes.min || this.changes.max || this.changes.focusedDate || this.changes.activeView || this.changes.value) {
797
799
  this.updateButtonState();
798
800
  }
799
801
  this.changes = {};
@@ -906,6 +908,7 @@ export class MultiViewCalendarComponent {
906
908
  const isBottomView = !this.bus.canMoveDown(this.activeViewEnum);
907
909
  if (!isSameView && isBottomView) {
908
910
  this.emitNavigate(todayDate);
911
+ this.updateButtonState();
909
912
  }
910
913
  this.handleDateChange(args);
911
914
  }
@@ -1011,6 +1014,7 @@ export class MultiViewCalendarComponent {
1011
1014
  const isSameView = this.bus.service(this.activeViewEnum).isInArray(this.focusedDate, this.viewList.dates);
1012
1015
  if (!isSameView) {
1013
1016
  this.emitNavigate(this.focusedDate);
1017
+ this.updateButtonState();
1014
1018
  }
1015
1019
  }
1016
1020
  /**
@@ -1082,6 +1086,7 @@ export class MultiViewCalendarComponent {
1082
1086
  }
1083
1087
  updateButtonState() {
1084
1088
  this.resolvedPromise.then(() => {
1089
+ this.cdr.detectChanges();
1085
1090
  this.isPrevDisabled = !this.viewList.canNavigate(this.prevView);
1086
1091
  this.isNextDisabled = !this.viewList.canNavigate(this.nextView);
1087
1092
  this.cdr.markForCheck();
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1737465047,
14
- version: '18.0.0',
13
+ publishDate: 1738068622,
14
+ version: '18.0.1-develop.2',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1737465047,
40
- version: '18.0.0',
39
+ publishDate: 1738068622,
40
+ version: '18.0.1-develop.2',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -4294,6 +4294,7 @@ class MultiViewCalendarComponent {
4294
4294
  else if (onTKeyPress) {
4295
4295
  this.focusedDate = getToday();
4296
4296
  this.bus.moveToBottom(this.activeViewEnum);
4297
+ this.updateButtonState();
4297
4298
  return;
4298
4299
  }
4299
4300
  else if (onEnterKeyPress) {
@@ -4325,6 +4326,7 @@ class MultiViewCalendarComponent {
4325
4326
  const isSameView = this.bus.service(this.activeViewEnum).isInArray(this.focusedDate, this.viewList.dates);
4326
4327
  if (!isSameView) {
4327
4328
  this.emitNavigate(this.focusedDate);
4329
+ this.updateButtonState();
4328
4330
  }
4329
4331
  if (isArrowWithShiftPressed(event) && this.selection !== 'range') {
4330
4332
  event['anyArrow'] = true;
@@ -4378,7 +4380,7 @@ class MultiViewCalendarComponent {
4378
4380
  this.disabledDatesRangeValidateFn = this.disabledDatesRangeValidation ? disabledDatesRangeValidator(this.disabledDatesService.isDateDisabled) : noop$2;
4379
4381
  this.onValidatorChange();
4380
4382
  }
4381
- if (this.changes.min || this.changes.max || this.changes.focusedDate || this.changes.activeView) {
4383
+ if (this.changes.min || this.changes.max || this.changes.focusedDate || this.changes.activeView || this.changes.value) {
4382
4384
  this.updateButtonState();
4383
4385
  }
4384
4386
  this.changes = {};
@@ -4491,6 +4493,7 @@ class MultiViewCalendarComponent {
4491
4493
  const isBottomView = !this.bus.canMoveDown(this.activeViewEnum);
4492
4494
  if (!isSameView && isBottomView) {
4493
4495
  this.emitNavigate(todayDate);
4496
+ this.updateButtonState();
4494
4497
  }
4495
4498
  this.handleDateChange(args);
4496
4499
  }
@@ -4596,6 +4599,7 @@ class MultiViewCalendarComponent {
4596
4599
  const isSameView = this.bus.service(this.activeViewEnum).isInArray(this.focusedDate, this.viewList.dates);
4597
4600
  if (!isSameView) {
4598
4601
  this.emitNavigate(this.focusedDate);
4602
+ this.updateButtonState();
4599
4603
  }
4600
4604
  }
4601
4605
  /**
@@ -4667,6 +4671,7 @@ class MultiViewCalendarComponent {
4667
4671
  }
4668
4672
  updateButtonState() {
4669
4673
  this.resolvedPromise.then(() => {
4674
+ this.cdr.detectChanges();
4670
4675
  this.isPrevDisabled = !this.viewList.canNavigate(this.prevView);
4671
4676
  this.isNextDisabled = !this.viewList.canNavigate(this.nextView);
4672
4677
  this.cdr.markForCheck();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "18.0.0",
3
+ "version": "18.0.1-develop.2",
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",
@@ -29,7 +29,7 @@
29
29
  "package": {
30
30
  "productName": "Kendo UI for Angular",
31
31
  "productCode": "KENDOUIANGULAR",
32
- "publishDate": 1737465047,
32
+ "publishDate": 1738068622,
33
33
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
34
34
  }
35
35
  },
@@ -40,19 +40,19 @@
40
40
  "@angular/forms": "16 - 19",
41
41
  "@angular/platform-browser": "16 - 19",
42
42
  "@progress/kendo-licensing": "^1.0.2",
43
- "@progress/kendo-angular-buttons": "18.0.0",
44
- "@progress/kendo-angular-common": "18.0.0",
45
- "@progress/kendo-angular-utils": "18.0.0",
46
- "@progress/kendo-angular-intl": "18.0.0",
47
- "@progress/kendo-angular-l10n": "18.0.0",
48
- "@progress/kendo-angular-icons": "18.0.0",
49
- "@progress/kendo-angular-popup": "18.0.0",
50
- "@progress/kendo-angular-navigation": "18.0.0",
43
+ "@progress/kendo-angular-buttons": "18.0.1-develop.2",
44
+ "@progress/kendo-angular-common": "18.0.1-develop.2",
45
+ "@progress/kendo-angular-utils": "18.0.1-develop.2",
46
+ "@progress/kendo-angular-intl": "18.0.1-develop.2",
47
+ "@progress/kendo-angular-l10n": "18.0.1-develop.2",
48
+ "@progress/kendo-angular-icons": "18.0.1-develop.2",
49
+ "@progress/kendo-angular-popup": "18.0.1-develop.2",
50
+ "@progress/kendo-angular-navigation": "18.0.1-develop.2",
51
51
  "rxjs": "^6.5.3 || ^7.0.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "tslib": "^2.3.1",
55
- "@progress/kendo-angular-schematics": "18.0.0",
55
+ "@progress/kendo-angular-schematics": "18.0.1-develop.2",
56
56
  "@progress/kendo-common": "^1.0.1",
57
57
  "@progress/kendo-date-math": "^1.1.0",
58
58
  "@progress/kendo-dateinputs-common": "^0.4.1"