@progress/kendo-angular-dateinputs 16.3.0-develop.4 → 16.3.0-develop.5

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.
@@ -175,15 +175,7 @@ export class DateInputComponent {
175
175
  * }
176
176
  * ```
177
177
  */
178
- this.steps = {
179
- // Default values are needed until fix in common package: https://github.com/telerik/kendo-dateinputs-common/issues/26
180
- second: 1,
181
- minute: 1,
182
- hour: 1,
183
- day: 1,
184
- month: 1,
185
- year: 1
186
- };
178
+ this.steps = {};
187
179
  /**
188
180
  * Determines whether the built-in min or max validators are to be enforced when a form is being validated.
189
181
  */
@@ -708,9 +700,9 @@ export class DateInputComponent {
708
700
  this.kendoDate?.refreshElementValue();
709
701
  }
710
702
  resetInput() {
711
- this.kendoDateObject?.setValue(null);
712
- this.kendoDate?.refreshElementValue();
713
- this.control?.setValue(null);
703
+ this.writeValue(null);
704
+ // Notify datepicker that a change has happened and emit `valueChange`
705
+ this.notify();
714
706
  this.showClearButton = false;
715
707
  }
716
708
  /**
@@ -142,14 +142,7 @@ export class DateTimePickerComponent extends MultiTabStop {
142
142
  * Configures the incremental steps of the DateInput and the popup component of the TimePicker
143
143
  * ([see example]({% slug incrementalsteps_datetimepicker %})).
144
144
  */
145
- this.steps = {
146
- second: 1,
147
- minute: 1,
148
- hour: 1,
149
- day: 1,
150
- month: 1,
151
- year: 1
152
- };
145
+ this.steps = {};
153
146
  /**
154
147
  * Specifies the Calendar type.
155
148
  *
@@ -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: 1718190655,
13
- version: '16.3.0-develop.4',
12
+ publishDate: 1718196388,
13
+ version: '16.3.0-develop.5',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -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: 1718190655,
41
- version: '16.3.0-develop.4',
40
+ publishDate: 1718196388,
41
+ version: '16.3.0-develop.5',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -8182,15 +8182,7 @@ class DateInputComponent {
8182
8182
  * }
8183
8183
  * ```
8184
8184
  */
8185
- this.steps = {
8186
- // Default values are needed until fix in common package: https://github.com/telerik/kendo-dateinputs-common/issues/26
8187
- second: 1,
8188
- minute: 1,
8189
- hour: 1,
8190
- day: 1,
8191
- month: 1,
8192
- year: 1
8193
- };
8185
+ this.steps = {};
8194
8186
  /**
8195
8187
  * Determines whether the built-in min or max validators are to be enforced when a form is being validated.
8196
8188
  */
@@ -8718,10 +8710,9 @@ class DateInputComponent {
8718
8710
  (_c = this.kendoDate) === null || _c === void 0 ? void 0 : _c.refreshElementValue();
8719
8711
  }
8720
8712
  resetInput() {
8721
- var _a, _b, _c;
8722
- (_a = this.kendoDateObject) === null || _a === void 0 ? void 0 : _a.setValue(null);
8723
- (_b = this.kendoDate) === null || _b === void 0 ? void 0 : _b.refreshElementValue();
8724
- (_c = this.control) === null || _c === void 0 ? void 0 : _c.setValue(null);
8713
+ this.writeValue(null);
8714
+ // Notify datepicker that a change has happened and emit `valueChange`
8715
+ this.notify();
8725
8716
  this.showClearButton = false;
8726
8717
  }
8727
8718
  /**
@@ -14535,14 +14526,7 @@ class DateTimePickerComponent extends MultiTabStop {
14535
14526
  * Configures the incremental steps of the DateInput and the popup component of the TimePicker
14536
14527
  * ([see example]({% slug incrementalsteps_datetimepicker %})).
14537
14528
  */
14538
- this.steps = {
14539
- second: 1,
14540
- minute: 1,
14541
- hour: 1,
14542
- day: 1,
14543
- month: 1,
14544
- year: 1
14545
- };
14529
+ this.steps = {};
14546
14530
  /**
14547
14531
  * Specifies the Calendar type.
14548
14532
  *
@@ -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: 1718190655,
41
- version: '16.3.0-develop.4',
40
+ publishDate: 1718196388,
41
+ version: '16.3.0-develop.5',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -8164,15 +8164,7 @@ class DateInputComponent {
8164
8164
  * }
8165
8165
  * ```
8166
8166
  */
8167
- this.steps = {
8168
- // Default values are needed until fix in common package: https://github.com/telerik/kendo-dateinputs-common/issues/26
8169
- second: 1,
8170
- minute: 1,
8171
- hour: 1,
8172
- day: 1,
8173
- month: 1,
8174
- year: 1
8175
- };
8167
+ this.steps = {};
8176
8168
  /**
8177
8169
  * Determines whether the built-in min or max validators are to be enforced when a form is being validated.
8178
8170
  */
@@ -8697,9 +8689,9 @@ class DateInputComponent {
8697
8689
  this.kendoDate?.refreshElementValue();
8698
8690
  }
8699
8691
  resetInput() {
8700
- this.kendoDateObject?.setValue(null);
8701
- this.kendoDate?.refreshElementValue();
8702
- this.control?.setValue(null);
8692
+ this.writeValue(null);
8693
+ // Notify datepicker that a change has happened and emit `valueChange`
8694
+ this.notify();
8703
8695
  this.showClearButton = false;
8704
8696
  }
8705
8697
  /**
@@ -14497,14 +14489,7 @@ class DateTimePickerComponent extends MultiTabStop {
14497
14489
  * Configures the incremental steps of the DateInput and the popup component of the TimePicker
14498
14490
  * ([see example]({% slug incrementalsteps_datetimepicker %})).
14499
14491
  */
14500
- this.steps = {
14501
- second: 1,
14502
- minute: 1,
14503
- hour: 1,
14504
- day: 1,
14505
- month: 1,
14506
- year: 1
14507
- };
14492
+ this.steps = {};
14508
14493
  /**
14509
14494
  * Specifies the Calendar type.
14510
14495
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "16.3.0-develop.4",
3
+ "version": "16.3.0-develop.5",
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,18 +34,18 @@
34
34
  "@angular/forms": "15 - 18",
35
35
  "@angular/platform-browser": "15 - 18",
36
36
  "@progress/kendo-licensing": "^1.0.2",
37
- "@progress/kendo-angular-buttons": "16.3.0-develop.4",
38
- "@progress/kendo-angular-common": "16.3.0-develop.4",
39
- "@progress/kendo-angular-intl": "16.3.0-develop.4",
40
- "@progress/kendo-angular-l10n": "16.3.0-develop.4",
41
- "@progress/kendo-angular-icons": "16.3.0-develop.4",
42
- "@progress/kendo-angular-popup": "16.3.0-develop.4",
43
- "@progress/kendo-angular-navigation": "16.3.0-develop.4",
37
+ "@progress/kendo-angular-buttons": "16.3.0-develop.5",
38
+ "@progress/kendo-angular-common": "16.3.0-develop.5",
39
+ "@progress/kendo-angular-intl": "16.3.0-develop.5",
40
+ "@progress/kendo-angular-l10n": "16.3.0-develop.5",
41
+ "@progress/kendo-angular-icons": "16.3.0-develop.5",
42
+ "@progress/kendo-angular-popup": "16.3.0-develop.5",
43
+ "@progress/kendo-angular-navigation": "16.3.0-develop.5",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "16.3.0-develop.4",
48
+ "@progress/kendo-angular-schematics": "16.3.0-develop.5",
49
49
  "@progress/kendo-common": "^0.2.0",
50
50
  "@progress/kendo-date-math": "^1.1.0",
51
51
  "@progress/kendo-dateinputs-common": "^0.3.3"