@progress/kendo-angular-dateinputs 15.1.1-develop.5 → 15.2.0-develop.1

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.
@@ -267,10 +267,10 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
267
267
  /**
268
268
  * Specifies the value of the DateInput component.
269
269
  *
270
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
270
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
271
271
  */
272
- set value(value: Date);
273
- get value(): Date;
272
+ set value(value: Date | null);
273
+ get value(): Date | null;
274
274
  /**
275
275
  * Specifies whether the **Up** and **Down** spin buttons will be rendered.
276
276
  * For more information, refer to the article on
@@ -265,10 +265,10 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
265
265
  * Specifies the value of the DatePicker component.
266
266
  *
267
267
  * > The `value` has to be a valid
268
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
268
+ * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
269
269
  */
270
- set value(value: Date);
271
- get value(): Date;
270
+ set value(value: Date | null);
271
+ get value(): Date | null;
272
272
  /**
273
273
  * Specifies the date format that is used to display the input value
274
274
  * ([see example]({% slug formats_datepicker %})).
@@ -94,10 +94,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
94
94
  /**
95
95
  * Specifies the value of the DateTimePicker component.
96
96
  *
97
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
97
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
98
98
  */
99
- set value(value: Date);
100
- get value(): Date;
99
+ set value(value: Date | null);
100
+ get value(): Date | null;
101
101
  /**
102
102
  * Specifies the date format for displaying the input value
103
103
  * ([see example]({% slug formats_datetimepicker %}))
@@ -370,7 +370,7 @@ export class DateInputComponent {
370
370
  /**
371
371
  * Specifies the value of the DateInput component.
372
372
  *
373
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
373
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
374
374
  */
375
375
  set value(value) {
376
376
  this.verifyValue(value);
@@ -775,7 +775,7 @@ export class DateInputComponent {
775
775
  return;
776
776
  }
777
777
  if (value && !(value instanceof Date)) {
778
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK} for possible resolution.`);
778
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK} for possible resolution.`);
779
779
  }
780
780
  }
781
781
  intlChange() {
@@ -386,7 +386,7 @@ export class DatePickerComponent {
386
386
  * Specifies the value of the DatePicker component.
387
387
  *
388
388
  * > The `value` has to be a valid
389
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
389
+ * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
390
390
  */
391
391
  set value(value) {
392
392
  this.verifyValue(value);
@@ -969,7 +969,7 @@ export class DatePickerComponent {
969
969
  return;
970
970
  }
971
971
  if (value && !(value instanceof Date)) {
972
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK} for possible resolution.`);
972
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK} for possible resolution.`);
973
973
  }
974
974
  }
975
975
  bindEvents() {
@@ -330,7 +330,7 @@ export class DateTimePickerComponent {
330
330
  /**
331
331
  * Specifies the value of the DateTimePicker component.
332
332
  *
333
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
333
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
334
334
  */
335
335
  set value(value) {
336
336
  this.verifyValue(value);
@@ -1071,7 +1071,7 @@ export class DateTimePickerComponent {
1071
1071
  return;
1072
1072
  }
1073
1073
  if (isPresent(value) && !(value instanceof Date)) {
1074
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK} for possible resolution.`);
1074
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK} for possible resolution.`);
1075
1075
  }
1076
1076
  }
1077
1077
  verifyMinMaxRange() {
@@ -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: 1709648130,
13
- version: '15.1.1-develop.5',
12
+ publishDate: 1709657940,
13
+ version: '15.2.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -307,6 +307,8 @@ export class TimePickerComponent {
307
307
  }
308
308
  /**
309
309
  * Specifies the value of the TimePicker component.
310
+ *
311
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
310
312
  */
311
313
  set value(value) {
312
314
  this.verifyValue(value);
@@ -873,7 +875,7 @@ export class TimePickerComponent {
873
875
  return;
874
876
  }
875
877
  if (value && !(value instanceof Date)) {
876
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK} for possible resolution.`);
878
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK} for possible resolution.`);
877
879
  }
878
880
  }
879
881
  verifyFormat() {
@@ -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: 1709648130,
41
- version: '15.1.1-develop.5',
40
+ publishDate: 1709657940,
41
+ version: '15.2.0-develop.1',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -7460,7 +7460,7 @@ class DateInputComponent {
7460
7460
  /**
7461
7461
  * Specifies the value of the DateInput component.
7462
7462
  *
7463
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
7463
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
7464
7464
  */
7465
7465
  set value(value) {
7466
7466
  this.verifyValue(value);
@@ -7865,7 +7865,7 @@ class DateInputComponent {
7865
7865
  return;
7866
7866
  }
7867
7867
  if (value && !(value instanceof Date)) {
7868
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK$3} for possible resolution.`);
7868
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK$3} for possible resolution.`);
7869
7869
  }
7870
7870
  }
7871
7871
  intlChange() {
@@ -8641,7 +8641,7 @@ class DatePickerComponent {
8641
8641
  * Specifies the value of the DatePicker component.
8642
8642
  *
8643
8643
  * > The `value` has to be a valid
8644
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
8644
+ * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
8645
8645
  */
8646
8646
  set value(value) {
8647
8647
  this.verifyValue(value);
@@ -9229,7 +9229,7 @@ class DatePickerComponent {
9229
9229
  return;
9230
9230
  }
9231
9231
  if (value && !(value instanceof Date)) {
9232
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK$2} for possible resolution.`);
9232
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK$2} for possible resolution.`);
9233
9233
  }
9234
9234
  }
9235
9235
  bindEvents() {
@@ -11956,6 +11956,8 @@ class TimePickerComponent {
11956
11956
  }
11957
11957
  /**
11958
11958
  * Specifies the value of the TimePicker component.
11959
+ *
11960
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
11959
11961
  */
11960
11962
  set value(value) {
11961
11963
  this.verifyValue(value);
@@ -12525,7 +12527,7 @@ class TimePickerComponent {
12525
12527
  return;
12526
12528
  }
12527
12529
  if (value && !(value instanceof Date)) {
12528
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK$1} for possible resolution.`);
12530
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK$1} for possible resolution.`);
12529
12531
  }
12530
12532
  }
12531
12533
  verifyFormat() {
@@ -13488,7 +13490,7 @@ class DateTimePickerComponent {
13488
13490
  /**
13489
13491
  * Specifies the value of the DateTimePicker component.
13490
13492
  *
13491
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
13493
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
13492
13494
  */
13493
13495
  set value(value) {
13494
13496
  this.verifyValue(value);
@@ -14238,7 +14240,7 @@ class DateTimePickerComponent {
14238
14240
  return;
14239
14241
  }
14240
14242
  if (isPresent(value) && !(value instanceof Date)) {
14241
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK} for possible resolution.`);
14243
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK} for possible resolution.`);
14242
14244
  }
14243
14245
  }
14244
14246
  verifyMinMaxRange() {
@@ -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: 1709648130,
41
- version: '15.1.1-develop.5',
40
+ publishDate: 1709657940,
41
+ version: '15.2.0-develop.1',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -7453,7 +7453,7 @@ class DateInputComponent {
7453
7453
  /**
7454
7454
  * Specifies the value of the DateInput component.
7455
7455
  *
7456
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
7456
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
7457
7457
  */
7458
7458
  set value(value) {
7459
7459
  this.verifyValue(value);
@@ -7858,7 +7858,7 @@ class DateInputComponent {
7858
7858
  return;
7859
7859
  }
7860
7860
  if (value && !(value instanceof Date)) {
7861
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK$3} for possible resolution.`);
7861
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK$3} for possible resolution.`);
7862
7862
  }
7863
7863
  }
7864
7864
  intlChange() {
@@ -8632,7 +8632,7 @@ class DatePickerComponent {
8632
8632
  * Specifies the value of the DatePicker component.
8633
8633
  *
8634
8634
  * > The `value` has to be a valid
8635
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
8635
+ * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
8636
8636
  */
8637
8637
  set value(value) {
8638
8638
  this.verifyValue(value);
@@ -9215,7 +9215,7 @@ class DatePickerComponent {
9215
9215
  return;
9216
9216
  }
9217
9217
  if (value && !(value instanceof Date)) {
9218
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK$2} for possible resolution.`);
9218
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK$2} for possible resolution.`);
9219
9219
  }
9220
9220
  }
9221
9221
  bindEvents() {
@@ -11936,6 +11936,8 @@ class TimePickerComponent {
11936
11936
  }
11937
11937
  /**
11938
11938
  * Specifies the value of the TimePicker component.
11939
+ *
11940
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
11939
11941
  */
11940
11942
  set value(value) {
11941
11943
  this.verifyValue(value);
@@ -12502,7 +12504,7 @@ class TimePickerComponent {
12502
12504
  return;
12503
12505
  }
12504
12506
  if (value && !(value instanceof Date)) {
12505
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK$1} for possible resolution.`);
12507
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK$1} for possible resolution.`);
12506
12508
  }
12507
12509
  }
12508
12510
  verifyFormat() {
@@ -13463,7 +13465,7 @@ class DateTimePickerComponent {
13463
13465
  /**
13464
13466
  * Specifies the value of the DateTimePicker component.
13465
13467
  *
13466
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
13468
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
13467
13469
  */
13468
13470
  set value(value) {
13469
13471
  this.verifyValue(value);
@@ -14204,7 +14206,7 @@ class DateTimePickerComponent {
14204
14206
  return;
14205
14207
  }
14206
14208
  if (isPresent(value) && !(value instanceof Date)) {
14207
- throw new Error(`The 'value' should be a valid JavaScript Date instance. Check ${VALUE_DOC_LINK} for possible resolution.`);
14209
+ throw new Error(`The 'value' should be a valid JavaScript Date instance or null. Check ${VALUE_DOC_LINK} for possible resolution.`);
14208
14210
  }
14209
14211
  }
14210
14212
  verifyMinMaxRange() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "15.1.1-develop.5",
3
+ "version": "15.2.0-develop.1",
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,20 +34,20 @@
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": "15.1.1-develop.5",
38
- "@progress/kendo-angular-intl": "15.1.1-develop.5",
39
- "@progress/kendo-angular-l10n": "15.1.1-develop.5",
40
- "@progress/kendo-angular-icons": "15.1.1-develop.5",
41
- "@progress/kendo-angular-popup": "15.1.1-develop.5",
42
- "@progress/kendo-angular-navigation": "15.1.1-develop.5",
37
+ "@progress/kendo-angular-common": "15.2.0-develop.1",
38
+ "@progress/kendo-angular-intl": "15.2.0-develop.1",
39
+ "@progress/kendo-angular-l10n": "15.2.0-develop.1",
40
+ "@progress/kendo-angular-icons": "15.2.0-develop.1",
41
+ "@progress/kendo-angular-popup": "15.2.0-develop.1",
42
+ "@progress/kendo-angular-navigation": "15.2.0-develop.1",
43
43
  "rxjs": "^6.5.3 || ^7.0.0",
44
- "@progress/kendo-angular-buttons": "15.1.1-develop.5",
45
- "@progress/kendo-angular-inputs": "15.1.1-develop.5",
46
- "@progress/kendo-angular-label": "15.1.1-develop.5"
44
+ "@progress/kendo-angular-buttons": "15.2.0-develop.1",
45
+ "@progress/kendo-angular-inputs": "15.2.0-develop.1",
46
+ "@progress/kendo-angular-label": "15.2.0-develop.1"
47
47
  },
48
48
  "dependencies": {
49
49
  "tslib": "^2.3.1",
50
- "@progress/kendo-angular-schematics": "15.1.1-develop.5",
50
+ "@progress/kendo-angular-schematics": "15.2.0-develop.1",
51
51
  "@progress/kendo-common": "^0.2.0",
52
52
  "@progress/kendo-date-math": "^1.1.0",
53
53
  "@progress/kendo-dateinputs-common": "^0.3.2"
@@ -258,9 +258,11 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
258
258
  adaptiveMode: AdaptiveMode;
259
259
  /**
260
260
  * Specifies the value of the TimePicker component.
261
+ *
262
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
261
263
  */
262
- set value(value: Date);
263
- get value(): Date;
264
+ set value(value: Date | null);
265
+ get value(): Date | null;
264
266
  /**
265
267
  * Sets the size of the component.
266
268
  *