@progress/kendo-angular-dateinputs 15.2.0-develop.7 → 15.2.0-develop.9
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.
- package/datetimepicker/datetimepicker.component.d.ts +2 -2
- package/esm2020/datetimepicker/datetimepicker.component.mjs +4 -10
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +6 -12
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +6 -12
- package/package.json +11 -11
|
@@ -228,7 +228,7 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
228
228
|
* time entries before the specified time portion of this value
|
|
229
229
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
230
230
|
*/
|
|
231
|
-
set min(value: Date);
|
|
231
|
+
set min(value: Date | null);
|
|
232
232
|
get min(): Date;
|
|
233
233
|
/**
|
|
234
234
|
* Specifies the biggest valid date.
|
|
@@ -237,7 +237,7 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
237
237
|
* time entries after the specified time portion of this value
|
|
238
238
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
239
239
|
*/
|
|
240
|
-
set max(value: Date);
|
|
240
|
+
set max(value: Date | null);
|
|
241
241
|
get max(): Date;
|
|
242
242
|
/**
|
|
243
243
|
* Determines whether the built-in min or max validators are enforced when validating a form
|
|
@@ -414,11 +414,8 @@ export class DateTimePickerComponent {
|
|
|
414
414
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
415
415
|
*/
|
|
416
416
|
set min(value) {
|
|
417
|
-
if (!isPresent(value)) {
|
|
418
|
-
return;
|
|
419
|
-
}
|
|
420
417
|
this._min = cloneDate(value);
|
|
421
|
-
this.calendarMin = getDate(value);
|
|
418
|
+
this.calendarMin = getDate(value || MIN_DATE);
|
|
422
419
|
}
|
|
423
420
|
get min() {
|
|
424
421
|
return this._min;
|
|
@@ -431,11 +428,8 @@ export class DateTimePickerComponent {
|
|
|
431
428
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
432
429
|
*/
|
|
433
430
|
set max(value) {
|
|
434
|
-
if (!isPresent(value)) {
|
|
435
|
-
return;
|
|
436
|
-
}
|
|
437
431
|
this._max = cloneDate(value);
|
|
438
|
-
this.calendarMax = lastMillisecondOfDate(value);
|
|
432
|
+
this.calendarMax = lastMillisecondOfDate(value || MAX_DATE);
|
|
439
433
|
}
|
|
440
434
|
get max() {
|
|
441
435
|
return this._max;
|
|
@@ -1223,9 +1217,9 @@ export class DateTimePickerComponent {
|
|
|
1223
1217
|
return focusInPopup || focusInWrapper || isInsideActionSheet;
|
|
1224
1218
|
}
|
|
1225
1219
|
setTimeSelectorMinMax(selectedDate) {
|
|
1226
|
-
const minDateSelected = isPresent(selectedDate) && isEqual(getDate(selectedDate), getDate(this.min));
|
|
1220
|
+
const minDateSelected = isPresent(selectedDate) && isPresent(this.min) && isEqual(getDate(selectedDate), getDate(this.min));
|
|
1227
1221
|
this.timeSelectorMin = cloneDate(minDateSelected ? this.min : MIN_TIME);
|
|
1228
|
-
const maxDateSelected = isPresent(selectedDate) && isEqual(getDate(selectedDate), getDate(this.max));
|
|
1222
|
+
const maxDateSelected = isPresent(selectedDate) && isPresent(this.max) && isEqual(getDate(selectedDate), getDate(this.max));
|
|
1229
1223
|
this.timeSelectorMax = cloneDate(maxDateSelected ? this.max : MAX_TIME);
|
|
1230
1224
|
}
|
|
1231
1225
|
setCalendarValue(value) {
|
|
@@ -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:
|
|
13
|
-
version: '15.2.0-develop.
|
|
12
|
+
publishDate: 1710321081,
|
|
13
|
+
version: '15.2.0-develop.9',
|
|
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:
|
|
41
|
-
version: '15.2.0-develop.
|
|
40
|
+
publishDate: 1710321081,
|
|
41
|
+
version: '15.2.0-develop.9',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -13574,11 +13574,8 @@ class DateTimePickerComponent {
|
|
|
13574
13574
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
13575
13575
|
*/
|
|
13576
13576
|
set min(value) {
|
|
13577
|
-
if (!isPresent(value)) {
|
|
13578
|
-
return;
|
|
13579
|
-
}
|
|
13580
13577
|
this._min = cloneDate(value);
|
|
13581
|
-
this.calendarMin = getDate(value);
|
|
13578
|
+
this.calendarMin = getDate(value || MIN_DATE);
|
|
13582
13579
|
}
|
|
13583
13580
|
get min() {
|
|
13584
13581
|
return this._min;
|
|
@@ -13591,11 +13588,8 @@ class DateTimePickerComponent {
|
|
|
13591
13588
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
13592
13589
|
*/
|
|
13593
13590
|
set max(value) {
|
|
13594
|
-
if (!isPresent(value)) {
|
|
13595
|
-
return;
|
|
13596
|
-
}
|
|
13597
13591
|
this._max = cloneDate(value);
|
|
13598
|
-
this.calendarMax = lastMillisecondOfDate(value);
|
|
13592
|
+
this.calendarMax = lastMillisecondOfDate(value || MAX_DATE);
|
|
13599
13593
|
}
|
|
13600
13594
|
get max() {
|
|
13601
13595
|
return this._max;
|
|
@@ -14394,9 +14388,9 @@ class DateTimePickerComponent {
|
|
|
14394
14388
|
return focusInPopup || focusInWrapper || isInsideActionSheet;
|
|
14395
14389
|
}
|
|
14396
14390
|
setTimeSelectorMinMax(selectedDate) {
|
|
14397
|
-
const minDateSelected = isPresent(selectedDate) && isEqual(getDate(selectedDate), getDate(this.min));
|
|
14391
|
+
const minDateSelected = isPresent(selectedDate) && isPresent(this.min) && isEqual(getDate(selectedDate), getDate(this.min));
|
|
14398
14392
|
this.timeSelectorMin = cloneDate(minDateSelected ? this.min : MIN_TIME);
|
|
14399
|
-
const maxDateSelected = isPresent(selectedDate) && isEqual(getDate(selectedDate), getDate(this.max));
|
|
14393
|
+
const maxDateSelected = isPresent(selectedDate) && isPresent(this.max) && isEqual(getDate(selectedDate), getDate(this.max));
|
|
14400
14394
|
this.timeSelectorMax = cloneDate(maxDateSelected ? this.max : MAX_TIME);
|
|
14401
14395
|
}
|
|
14402
14396
|
setCalendarValue(value) {
|
|
@@ -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:
|
|
41
|
-
version: '15.2.0-develop.
|
|
40
|
+
publishDate: 1710321081,
|
|
41
|
+
version: '15.2.0-develop.9',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -13549,11 +13549,8 @@ class DateTimePickerComponent {
|
|
|
13549
13549
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
13550
13550
|
*/
|
|
13551
13551
|
set min(value) {
|
|
13552
|
-
if (!isPresent(value)) {
|
|
13553
|
-
return;
|
|
13554
|
-
}
|
|
13555
13552
|
this._min = cloneDate(value);
|
|
13556
|
-
this.calendarMin = getDate(value);
|
|
13553
|
+
this.calendarMin = getDate(value || MIN_DATE);
|
|
13557
13554
|
}
|
|
13558
13555
|
get min() {
|
|
13559
13556
|
return this._min;
|
|
@@ -13566,11 +13563,8 @@ class DateTimePickerComponent {
|
|
|
13566
13563
|
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
13567
13564
|
*/
|
|
13568
13565
|
set max(value) {
|
|
13569
|
-
if (!isPresent(value)) {
|
|
13570
|
-
return;
|
|
13571
|
-
}
|
|
13572
13566
|
this._max = cloneDate(value);
|
|
13573
|
-
this.calendarMax = lastMillisecondOfDate(value);
|
|
13567
|
+
this.calendarMax = lastMillisecondOfDate(value || MAX_DATE);
|
|
13574
13568
|
}
|
|
13575
13569
|
get max() {
|
|
13576
13570
|
return this._max;
|
|
@@ -14358,9 +14352,9 @@ class DateTimePickerComponent {
|
|
|
14358
14352
|
return focusInPopup || focusInWrapper || isInsideActionSheet;
|
|
14359
14353
|
}
|
|
14360
14354
|
setTimeSelectorMinMax(selectedDate) {
|
|
14361
|
-
const minDateSelected = isPresent(selectedDate) && isEqual(getDate(selectedDate), getDate(this.min));
|
|
14355
|
+
const minDateSelected = isPresent(selectedDate) && isPresent(this.min) && isEqual(getDate(selectedDate), getDate(this.min));
|
|
14362
14356
|
this.timeSelectorMin = cloneDate(minDateSelected ? this.min : MIN_TIME);
|
|
14363
|
-
const maxDateSelected = isPresent(selectedDate) && isEqual(getDate(selectedDate), getDate(this.max));
|
|
14357
|
+
const maxDateSelected = isPresent(selectedDate) && isPresent(this.max) && isEqual(getDate(selectedDate), getDate(this.max));
|
|
14364
14358
|
this.timeSelectorMax = cloneDate(maxDateSelected ? this.max : MAX_TIME);
|
|
14365
14359
|
}
|
|
14366
14360
|
setCalendarValue(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "15.2.0-develop.
|
|
3
|
+
"version": "15.2.0-develop.9",
|
|
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.2.0-develop.
|
|
38
|
-
"@progress/kendo-angular-intl": "15.2.0-develop.
|
|
39
|
-
"@progress/kendo-angular-l10n": "15.2.0-develop.
|
|
40
|
-
"@progress/kendo-angular-icons": "15.2.0-develop.
|
|
41
|
-
"@progress/kendo-angular-popup": "15.2.0-develop.
|
|
42
|
-
"@progress/kendo-angular-navigation": "15.2.0-develop.
|
|
37
|
+
"@progress/kendo-angular-common": "15.2.0-develop.9",
|
|
38
|
+
"@progress/kendo-angular-intl": "15.2.0-develop.9",
|
|
39
|
+
"@progress/kendo-angular-l10n": "15.2.0-develop.9",
|
|
40
|
+
"@progress/kendo-angular-icons": "15.2.0-develop.9",
|
|
41
|
+
"@progress/kendo-angular-popup": "15.2.0-develop.9",
|
|
42
|
+
"@progress/kendo-angular-navigation": "15.2.0-develop.9",
|
|
43
43
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
44
|
-
"@progress/kendo-angular-buttons": "15.2.0-develop.
|
|
45
|
-
"@progress/kendo-angular-inputs": "15.2.0-develop.
|
|
46
|
-
"@progress/kendo-angular-label": "15.2.0-develop.
|
|
44
|
+
"@progress/kendo-angular-buttons": "15.2.0-develop.9",
|
|
45
|
+
"@progress/kendo-angular-inputs": "15.2.0-develop.9",
|
|
46
|
+
"@progress/kendo-angular-label": "15.2.0-develop.9"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"tslib": "^2.3.1",
|
|
50
|
-
"@progress/kendo-angular-schematics": "15.2.0-develop.
|
|
50
|
+
"@progress/kendo-angular-schematics": "15.2.0-develop.9",
|
|
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"
|