@progress/kendo-angular-dateinputs 18.5.2-develop.5 → 18.5.2-develop.6
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/calendar/calendar.component.d.ts +2 -0
- package/calendar/multiview-calendar.component.d.ts +2 -0
- package/dateinput/dateinput.component.d.ts +2 -2
- package/datepicker/datepicker.component.d.ts +2 -0
- package/datetimepicker/datetimepicker.component.d.ts +2 -0
- package/esm2022/calendar/calendar.component.mjs +2 -0
- package/esm2022/calendar/multiview-calendar.component.mjs +2 -0
- package/esm2022/dateinput/dateinput.component.mjs +4 -2
- package/esm2022/datepicker/datepicker.component.mjs +4 -0
- package/esm2022/datetimepicker/datetimepicker.component.mjs +4 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/timepicker/timepicker.component.mjs +2 -0
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +20 -4
- package/package.json +11 -11
- package/timepicker/timepicker.component.d.ts +2 -0
|
@@ -123,6 +123,8 @@ export declare class CalendarComponent implements ControlValueAccessor, OnChange
|
|
|
123
123
|
get max(): Date;
|
|
124
124
|
/**
|
|
125
125
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
126
|
+
*
|
|
127
|
+
* @default false
|
|
126
128
|
*/
|
|
127
129
|
rangeValidation: boolean;
|
|
128
130
|
/**
|
|
@@ -134,6 +134,8 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
134
134
|
get max(): Date;
|
|
135
135
|
/**
|
|
136
136
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
137
|
+
*
|
|
138
|
+
* @default false
|
|
137
139
|
*/
|
|
138
140
|
rangeValidation: boolean;
|
|
139
141
|
/**
|
|
@@ -215,17 +215,17 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
215
215
|
/**
|
|
216
216
|
* Specifies the biggest date that is valid
|
|
217
217
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
218
|
-
* By default, the `max` value is `2099-12-31`.
|
|
219
218
|
*/
|
|
220
219
|
max: Date;
|
|
221
220
|
/**
|
|
222
221
|
* Specifies the smallest date that is valid
|
|
223
222
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
224
|
-
* By default, the `min` value is `1900-1-1`.
|
|
225
223
|
*/
|
|
226
224
|
min: Date;
|
|
227
225
|
/**
|
|
228
226
|
* Determines whether the built-in min or max validators are to be enforced when a form is being validated.
|
|
227
|
+
*
|
|
228
|
+
* @default true
|
|
229
229
|
*/
|
|
230
230
|
rangeValidation: boolean;
|
|
231
231
|
/**
|
|
@@ -414,6 +414,8 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
|
|
|
414
414
|
private _subtitle;
|
|
415
415
|
/**
|
|
416
416
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
417
|
+
*
|
|
418
|
+
* @default true
|
|
417
419
|
*/
|
|
418
420
|
rangeValidation: boolean;
|
|
419
421
|
/**
|
|
@@ -253,6 +253,8 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
253
253
|
/**
|
|
254
254
|
* Determines whether the built-in min or max validators are enforced when validating a form
|
|
255
255
|
* ([see example](slug:dateranges_datetimepicker)).
|
|
256
|
+
*
|
|
257
|
+
* @default true
|
|
256
258
|
*/
|
|
257
259
|
rangeValidation: boolean;
|
|
258
260
|
/**
|
|
@@ -271,17 +271,17 @@ export class DateInputComponent {
|
|
|
271
271
|
/**
|
|
272
272
|
* Specifies the biggest date that is valid
|
|
273
273
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
274
|
-
* By default, the `max` value is `2099-12-31`.
|
|
275
274
|
*/
|
|
276
275
|
max;
|
|
277
276
|
/**
|
|
278
277
|
* Specifies the smallest date that is valid
|
|
279
278
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
280
|
-
* By default, the `min` value is `1900-1-1`.
|
|
281
279
|
*/
|
|
282
280
|
min;
|
|
283
281
|
/**
|
|
284
282
|
* Determines whether the built-in min or max validators are to be enforced when a form is being validated.
|
|
283
|
+
*
|
|
284
|
+
* @default true
|
|
285
285
|
*/
|
|
286
286
|
rangeValidation = true;
|
|
287
287
|
/**
|
|
@@ -633,6 +633,8 @@ export class DateInputComponent {
|
|
|
633
633
|
if (this.wrapper) {
|
|
634
634
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
635
635
|
}
|
|
636
|
+
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop;
|
|
637
|
+
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop;
|
|
636
638
|
}
|
|
637
639
|
/**
|
|
638
640
|
* @hidden
|
|
@@ -480,6 +480,8 @@ export class DatePickerComponent extends MultiTabStop {
|
|
|
480
480
|
_subtitle;
|
|
481
481
|
/**
|
|
482
482
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
483
|
+
*
|
|
484
|
+
* @default true
|
|
483
485
|
*/
|
|
484
486
|
rangeValidation = true;
|
|
485
487
|
/**
|
|
@@ -729,6 +731,8 @@ export class DatePickerComponent extends MultiTabStop {
|
|
|
729
731
|
});
|
|
730
732
|
}
|
|
731
733
|
this.focusableId = this.dateInput?.focusableId;
|
|
734
|
+
this.minValidateFn = this.rangeValidation ? minValidator(this.min) : noop;
|
|
735
|
+
this.maxValidateFn = this.rangeValidation ? maxValidator(this.max) : noop;
|
|
732
736
|
}
|
|
733
737
|
ngAfterViewInit() {
|
|
734
738
|
this.setComponentClasses();
|
|
@@ -330,6 +330,8 @@ export class DateTimePickerComponent extends MultiTabStop {
|
|
|
330
330
|
/**
|
|
331
331
|
* Determines whether the built-in min or max validators are enforced when validating a form
|
|
332
332
|
* ([see example](slug:dateranges_datetimepicker)).
|
|
333
|
+
*
|
|
334
|
+
* @default true
|
|
333
335
|
*/
|
|
334
336
|
rangeValidation = true;
|
|
335
337
|
/**
|
|
@@ -801,6 +803,8 @@ export class DateTimePickerComponent extends MultiTabStop {
|
|
|
801
803
|
})));
|
|
802
804
|
}
|
|
803
805
|
this.focusableId = this.dateInput?.focusableId;
|
|
806
|
+
this.minValidateFn = this.rangeValidation ? minValidator(this.min) : noop;
|
|
807
|
+
this.maxValidateFn = this.rangeValidation ? maxValidator(this.max) : noop;
|
|
804
808
|
}
|
|
805
809
|
ngAfterViewInit() {
|
|
806
810
|
this.setComponentClasses();
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '18.5.2-develop.
|
|
13
|
+
publishDate: 1744823982,
|
|
14
|
+
version: '18.5.2-develop.6',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -294,6 +294,8 @@ export class TimePickerComponent extends MultiTabStop {
|
|
|
294
294
|
_subtitle;
|
|
295
295
|
/**
|
|
296
296
|
* Determines whether the built-in min or max validators are enforced when a form is being validated.
|
|
297
|
+
*
|
|
298
|
+
* @default true
|
|
297
299
|
*/
|
|
298
300
|
rangeValidation = true;
|
|
299
301
|
/**
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCode: 'KENDOUIANGULAR',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '18.5.2-develop.
|
|
39
|
+
publishDate: 1744823982,
|
|
40
|
+
version: '18.5.2-develop.6',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -3770,6 +3770,8 @@ class MultiViewCalendarComponent {
|
|
|
3770
3770
|
}
|
|
3771
3771
|
/**
|
|
3772
3772
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
3773
|
+
*
|
|
3774
|
+
* @default false
|
|
3773
3775
|
*/
|
|
3774
3776
|
rangeValidation = false;
|
|
3775
3777
|
/**
|
|
@@ -6850,6 +6852,8 @@ class CalendarComponent {
|
|
|
6850
6852
|
}
|
|
6851
6853
|
/**
|
|
6852
6854
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
6855
|
+
*
|
|
6856
|
+
* @default false
|
|
6853
6857
|
*/
|
|
6854
6858
|
rangeValidation = false;
|
|
6855
6859
|
/**
|
|
@@ -8702,17 +8706,17 @@ class DateInputComponent {
|
|
|
8702
8706
|
/**
|
|
8703
8707
|
* Specifies the biggest date that is valid
|
|
8704
8708
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
8705
|
-
* By default, the `max` value is `2099-12-31`.
|
|
8706
8709
|
*/
|
|
8707
8710
|
max;
|
|
8708
8711
|
/**
|
|
8709
8712
|
* Specifies the smallest date that is valid
|
|
8710
8713
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
8711
|
-
* By default, the `min` value is `1900-1-1`.
|
|
8712
8714
|
*/
|
|
8713
8715
|
min;
|
|
8714
8716
|
/**
|
|
8715
8717
|
* Determines whether the built-in min or max validators are to be enforced when a form is being validated.
|
|
8718
|
+
*
|
|
8719
|
+
* @default true
|
|
8716
8720
|
*/
|
|
8717
8721
|
rangeValidation = true;
|
|
8718
8722
|
/**
|
|
@@ -9064,6 +9068,8 @@ class DateInputComponent {
|
|
|
9064
9068
|
if (this.wrapper) {
|
|
9065
9069
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
9066
9070
|
}
|
|
9071
|
+
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
9072
|
+
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
9067
9073
|
}
|
|
9068
9074
|
/**
|
|
9069
9075
|
* @hidden
|
|
@@ -10307,6 +10313,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10307
10313
|
_subtitle;
|
|
10308
10314
|
/**
|
|
10309
10315
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
10316
|
+
*
|
|
10317
|
+
* @default true
|
|
10310
10318
|
*/
|
|
10311
10319
|
rangeValidation = true;
|
|
10312
10320
|
/**
|
|
@@ -10556,6 +10564,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10556
10564
|
});
|
|
10557
10565
|
}
|
|
10558
10566
|
this.focusableId = this.dateInput?.focusableId;
|
|
10567
|
+
this.minValidateFn = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
10568
|
+
this.maxValidateFn = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
10559
10569
|
}
|
|
10560
10570
|
ngAfterViewInit() {
|
|
10561
10571
|
this.setComponentClasses();
|
|
@@ -13915,6 +13925,8 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13915
13925
|
_subtitle;
|
|
13916
13926
|
/**
|
|
13917
13927
|
* Determines whether the built-in min or max validators are enforced when a form is being validated.
|
|
13928
|
+
*
|
|
13929
|
+
* @default true
|
|
13918
13930
|
*/
|
|
13919
13931
|
rangeValidation = true;
|
|
13920
13932
|
/**
|
|
@@ -15712,6 +15724,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15712
15724
|
/**
|
|
15713
15725
|
* Determines whether the built-in min or max validators are enforced when validating a form
|
|
15714
15726
|
* ([see example](slug:dateranges_datetimepicker)).
|
|
15727
|
+
*
|
|
15728
|
+
* @default true
|
|
15715
15729
|
*/
|
|
15716
15730
|
rangeValidation = true;
|
|
15717
15731
|
/**
|
|
@@ -16183,6 +16197,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16183
16197
|
})));
|
|
16184
16198
|
}
|
|
16185
16199
|
this.focusableId = this.dateInput?.focusableId;
|
|
16200
|
+
this.minValidateFn = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
16201
|
+
this.maxValidateFn = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
16186
16202
|
}
|
|
16187
16203
|
ngAfterViewInit() {
|
|
16188
16204
|
this.setComponentClasses();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "18.5.2-develop.
|
|
3
|
+
"version": "18.5.2-develop.6",
|
|
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":
|
|
32
|
+
"publishDate": 1744823982,
|
|
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.5.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "18.5.2-develop.
|
|
44
|
-
"@progress/kendo-angular-common": "18.5.2-develop.
|
|
45
|
-
"@progress/kendo-angular-utils": "18.5.2-develop.
|
|
46
|
-
"@progress/kendo-angular-intl": "18.5.2-develop.
|
|
47
|
-
"@progress/kendo-angular-l10n": "18.5.2-develop.
|
|
48
|
-
"@progress/kendo-angular-icons": "18.5.2-develop.
|
|
49
|
-
"@progress/kendo-angular-popup": "18.5.2-develop.
|
|
50
|
-
"@progress/kendo-angular-navigation": "18.5.2-develop.
|
|
43
|
+
"@progress/kendo-angular-buttons": "18.5.2-develop.6",
|
|
44
|
+
"@progress/kendo-angular-common": "18.5.2-develop.6",
|
|
45
|
+
"@progress/kendo-angular-utils": "18.5.2-develop.6",
|
|
46
|
+
"@progress/kendo-angular-intl": "18.5.2-develop.6",
|
|
47
|
+
"@progress/kendo-angular-l10n": "18.5.2-develop.6",
|
|
48
|
+
"@progress/kendo-angular-icons": "18.5.2-develop.6",
|
|
49
|
+
"@progress/kendo-angular-popup": "18.5.2-develop.6",
|
|
50
|
+
"@progress/kendo-angular-navigation": "18.5.2-develop.6",
|
|
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.5.2-develop.
|
|
55
|
+
"@progress/kendo-angular-schematics": "18.5.2-develop.6",
|
|
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.4"
|
|
@@ -249,6 +249,8 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
|
|
|
249
249
|
private _subtitle;
|
|
250
250
|
/**
|
|
251
251
|
* Determines whether the built-in min or max validators are enforced when a form is being validated.
|
|
252
|
+
*
|
|
253
|
+
* @default true
|
|
252
254
|
*/
|
|
253
255
|
rangeValidation: boolean;
|
|
254
256
|
/**
|