@progress/kendo-angular-dateinputs 14.4.0-develop.12 → 14.4.0-develop.14

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.
@@ -536,7 +536,7 @@ export class DateInputComponent {
536
536
  autoSwitchKeys: this.autoSwitchKeys,
537
537
  twoDigitYearMax: this.twoDigitYearMax,
538
538
  enableMouseWheel: this.enableMouseWheel,
539
- selectNearestSegmentOnFocus: false,
539
+ selectNearestSegmentOnFocus: true,
540
540
  allowCaretMode: this.allowCaretMode,
541
541
  autoFill: this.autoFill,
542
542
  value: this.value,
@@ -781,9 +781,11 @@ export class DatePickerComponent {
781
781
  */
782
782
  handleChange(value) {
783
783
  this.cdr.markForCheck();
784
- this.focusInput();
785
784
  this.value = value;
786
- this.show = false;
785
+ if (this.show) {
786
+ this.focusInput();
787
+ this.show = false;
788
+ }
787
789
  this.onControlChange(cloneDate(value));
788
790
  this.valueChange.emit(cloneDate(value));
789
791
  }
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dateinputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1705561462,
13
- version: '14.4.0-develop.12',
12
+ publishDate: 1705930217,
13
+ version: '14.4.0-develop.14',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -672,14 +672,18 @@ export class TimePickerComponent {
672
672
  */
673
673
  handleChange(value) {
674
674
  if (isEqual(this.value, value)) {
675
- this.focusInput();
676
- this.show = false;
675
+ if (this.show) {
676
+ this.focusInput();
677
+ this.show = false;
678
+ }
677
679
  return;
678
680
  }
679
681
  this.value = cloneDate(value);
680
682
  this.zone.run(() => {
681
- this.focusInput();
682
- this.show = false;
683
+ if (this.show) {
684
+ this.focusInput();
685
+ this.show = false;
686
+ }
683
687
  this.onControlChange(cloneDate(value));
684
688
  this.valueChange.emit(cloneDate(value));
685
689
  });
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dateinputs',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1705561462,
41
- version: '14.4.0-develop.12',
40
+ publishDate: 1705930217,
41
+ version: '14.4.0-develop.14',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -7568,7 +7568,7 @@ class DateInputComponent {
7568
7568
  autoSwitchKeys: this.autoSwitchKeys,
7569
7569
  twoDigitYearMax: this.twoDigitYearMax,
7570
7570
  enableMouseWheel: this.enableMouseWheel,
7571
- selectNearestSegmentOnFocus: false,
7571
+ selectNearestSegmentOnFocus: true,
7572
7572
  allowCaretMode: this.allowCaretMode,
7573
7573
  autoFill: this.autoFill,
7574
7574
  value: this.value,
@@ -9016,9 +9016,11 @@ class DatePickerComponent {
9016
9016
  */
9017
9017
  handleChange(value) {
9018
9018
  this.cdr.markForCheck();
9019
- this.focusInput();
9020
9019
  this.value = value;
9021
- this.show = false;
9020
+ if (this.show) {
9021
+ this.focusInput();
9022
+ this.show = false;
9023
+ }
9022
9024
  this.onControlChange(cloneDate(value));
9023
9025
  this.valueChange.emit(cloneDate(value));
9024
9026
  }
@@ -12322,14 +12324,18 @@ class TimePickerComponent {
12322
12324
  */
12323
12325
  handleChange(value) {
12324
12326
  if (isEqual(this.value, value)) {
12325
- this.focusInput();
12326
- this.show = false;
12327
+ if (this.show) {
12328
+ this.focusInput();
12329
+ this.show = false;
12330
+ }
12327
12331
  return;
12328
12332
  }
12329
12333
  this.value = cloneDate(value);
12330
12334
  this.zone.run(() => {
12331
- this.focusInput();
12332
- this.show = false;
12335
+ if (this.show) {
12336
+ this.focusInput();
12337
+ this.show = false;
12338
+ }
12333
12339
  this.onControlChange(cloneDate(value));
12334
12340
  this.valueChange.emit(cloneDate(value));
12335
12341
  });
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dateinputs',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1705561462,
41
- version: '14.4.0-develop.12',
40
+ publishDate: 1705930217,
41
+ version: '14.4.0-develop.14',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -7561,7 +7561,7 @@ class DateInputComponent {
7561
7561
  autoSwitchKeys: this.autoSwitchKeys,
7562
7562
  twoDigitYearMax: this.twoDigitYearMax,
7563
7563
  enableMouseWheel: this.enableMouseWheel,
7564
- selectNearestSegmentOnFocus: false,
7564
+ selectNearestSegmentOnFocus: true,
7565
7565
  allowCaretMode: this.allowCaretMode,
7566
7566
  autoFill: this.autoFill,
7567
7567
  value: this.value,
@@ -9004,9 +9004,11 @@ class DatePickerComponent {
9004
9004
  */
9005
9005
  handleChange(value) {
9006
9006
  this.cdr.markForCheck();
9007
- this.focusInput();
9008
9007
  this.value = value;
9009
- this.show = false;
9008
+ if (this.show) {
9009
+ this.focusInput();
9010
+ this.show = false;
9011
+ }
9010
9012
  this.onControlChange(cloneDate(value));
9011
9013
  this.valueChange.emit(cloneDate(value));
9012
9014
  }
@@ -12301,14 +12303,18 @@ class TimePickerComponent {
12301
12303
  */
12302
12304
  handleChange(value) {
12303
12305
  if (isEqual(this.value, value)) {
12304
- this.focusInput();
12305
- this.show = false;
12306
+ if (this.show) {
12307
+ this.focusInput();
12308
+ this.show = false;
12309
+ }
12306
12310
  return;
12307
12311
  }
12308
12312
  this.value = cloneDate(value);
12309
12313
  this.zone.run(() => {
12310
- this.focusInput();
12311
- this.show = false;
12314
+ if (this.show) {
12315
+ this.focusInput();
12316
+ this.show = false;
12317
+ }
12312
12318
  this.onControlChange(cloneDate(value));
12313
12319
  this.valueChange.emit(cloneDate(value));
12314
12320
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "14.4.0-develop.12",
3
+ "version": "14.4.0-develop.14",
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",
@@ -34,23 +34,23 @@
34
34
  "@angular/forms": "13 - 17",
35
35
  "@angular/platform-browser": "13 - 17",
36
36
  "@progress/kendo-licensing": "^1.0.2",
37
- "@progress/kendo-angular-common": "14.4.0-develop.12",
38
- "@progress/kendo-angular-intl": "14.4.0-develop.12",
39
- "@progress/kendo-angular-l10n": "14.4.0-develop.12",
40
- "@progress/kendo-angular-icons": "14.4.0-develop.12",
41
- "@progress/kendo-angular-popup": "14.4.0-develop.12",
42
- "@progress/kendo-angular-navigation": "14.4.0-develop.12",
37
+ "@progress/kendo-angular-common": "14.4.0-develop.14",
38
+ "@progress/kendo-angular-intl": "14.4.0-develop.14",
39
+ "@progress/kendo-angular-l10n": "14.4.0-develop.14",
40
+ "@progress/kendo-angular-icons": "14.4.0-develop.14",
41
+ "@progress/kendo-angular-popup": "14.4.0-develop.14",
42
+ "@progress/kendo-angular-navigation": "14.4.0-develop.14",
43
43
  "rxjs": "^6.5.3 || ^7.0.0",
44
- "@progress/kendo-angular-buttons": "14.4.0-develop.12",
45
- "@progress/kendo-angular-inputs": "14.4.0-develop.12",
46
- "@progress/kendo-angular-label": "14.4.0-develop.12"
44
+ "@progress/kendo-angular-buttons": "14.4.0-develop.14",
45
+ "@progress/kendo-angular-inputs": "14.4.0-develop.14",
46
+ "@progress/kendo-angular-label": "14.4.0-develop.14"
47
47
  },
48
48
  "dependencies": {
49
49
  "tslib": "^2.3.1",
50
- "@progress/kendo-angular-schematics": "14.4.0-develop.12",
50
+ "@progress/kendo-angular-schematics": "14.4.0-develop.14",
51
51
  "@progress/kendo-common": "^0.2.0",
52
52
  "@progress/kendo-date-math": "^1.1.0",
53
- "@progress/kendo-dateinputs-common": "^0.3.1"
53
+ "@progress/kendo-dateinputs-common": "^0.3.2"
54
54
  },
55
55
  "schematics": "./schematics/collection.json",
56
56
  "module": "fesm2015/progress-kendo-angular-dateinputs.mjs",