@progress/kendo-angular-dateinputs 5.2.2-dev.202108200743 → 5.2.4-dev.202110060847
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/README.md +9 -7
- package/dist/cdn/js/kendo-angular-dateinputs.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/calendar/calendar.component.js +4 -0
- package/dist/es/calendar/view-list.component.js +1 -4
- package/dist/es/datepicker/datepicker.component.js +5 -5
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/calendar/calendar.component.d.ts +1 -0
- package/dist/es2015/calendar/calendar.component.js +4 -0
- package/dist/es2015/calendar/view-list.component.js +1 -4
- package/dist/es2015/datepicker/datepicker.component.d.ts +5 -5
- package/dist/es2015/datepicker/datepicker.component.js +5 -5
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +10 -9
- package/dist/fesm5/index.js +10 -9
- package/dist/npm/calendar/calendar.component.js +4 -0
- package/dist/npm/calendar/view-list.component.js +0 -3
- package/dist/npm/datepicker/datepicker.component.js +5 -5
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-dateinputs.js +1 -1
- package/package.json +16 -4
|
@@ -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:
|
|
12
|
+
publishDate: 1633509845,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -23,7 +23,7 @@ const packageMetadata = {
|
|
|
23
23
|
name: '@progress/kendo-angular-dateinputs',
|
|
24
24
|
productName: 'Kendo UI for Angular',
|
|
25
25
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
26
|
-
publishDate:
|
|
26
|
+
publishDate: 1633509845,
|
|
27
27
|
version: '',
|
|
28
28
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
29
29
|
};
|
|
@@ -2148,9 +2148,6 @@ let ViewListComponent = class ViewListComponent {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
setActiveDate(index) {
|
|
2150
2150
|
const candidate = this.service.addToDate(this.min, index);
|
|
2151
|
-
if (isEqual(this.activeDate, candidate)) {
|
|
2152
|
-
return;
|
|
2153
|
-
}
|
|
2154
2151
|
this.activeDate = candidate;
|
|
2155
2152
|
this.activeDateChange.emit(candidate);
|
|
2156
2153
|
this.cdr.detectChanges();
|
|
@@ -3158,6 +3155,10 @@ let CalendarComponent = class CalendarComponent {
|
|
|
3158
3155
|
*/
|
|
3159
3156
|
set disabledDates(value) {
|
|
3160
3157
|
this.disabledDatesService.initialize(value);
|
|
3158
|
+
this._disabledDates = value;
|
|
3159
|
+
}
|
|
3160
|
+
get disabledDates() {
|
|
3161
|
+
return this._disabledDates;
|
|
3161
3162
|
}
|
|
3162
3163
|
/**
|
|
3163
3164
|
* Specifies the Calendar type.
|
|
@@ -5514,7 +5515,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
|
|
|
5514
5515
|
this.focusableId = `k-${guid()}`;
|
|
5515
5516
|
/**
|
|
5516
5517
|
* Defines the active view that the Calendar initially renders
|
|
5517
|
-
* ([see example]({% slug
|
|
5518
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
|
|
5518
5519
|
* By default, the active view is `month`.
|
|
5519
5520
|
*
|
|
5520
5521
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -5522,12 +5523,12 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
|
|
|
5522
5523
|
this.activeView = CalendarViewEnum[CalendarViewEnum.month];
|
|
5523
5524
|
/**
|
|
5524
5525
|
* Defines the bottommost Calendar view to which the user can navigate
|
|
5525
|
-
* ([see example]({% slug
|
|
5526
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
5526
5527
|
*/
|
|
5527
5528
|
this.bottomView = CalendarViewEnum[CalendarViewEnum.month];
|
|
5528
5529
|
/**
|
|
5529
5530
|
* Defines the topmost Calendar view to which the user can navigate
|
|
5530
|
-
* ([see example]({% slug
|
|
5531
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
5531
5532
|
*/
|
|
5532
5533
|
this.topView = CalendarViewEnum[CalendarViewEnum.century];
|
|
5533
5534
|
/**
|
|
@@ -5588,7 +5589,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
|
|
|
5588
5589
|
this.incompleteDateValidation = false;
|
|
5589
5590
|
/**
|
|
5590
5591
|
* Specifies the focused date of the Calendar component
|
|
5591
|
-
* ([see example]({% slug
|
|
5592
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
5592
5593
|
*/
|
|
5593
5594
|
this.focusedDate = null;
|
|
5594
5595
|
/**
|
|
@@ -5644,7 +5645,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
|
|
|
5644
5645
|
this.disabledDatesValidation = true;
|
|
5645
5646
|
/**
|
|
5646
5647
|
* Determines whether to display a week number column in the `month` view of the Calendar
|
|
5647
|
-
* ([see example]({% slug
|
|
5648
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-week-number-column)).
|
|
5648
5649
|
*/
|
|
5649
5650
|
this.weekNumber = false;
|
|
5650
5651
|
/**
|
package/dist/fesm5/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var packageMetadata = {
|
|
|
23
23
|
name: '@progress/kendo-angular-dateinputs',
|
|
24
24
|
productName: 'Kendo UI for Angular',
|
|
25
25
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
26
|
-
publishDate:
|
|
26
|
+
publishDate: 1633509845,
|
|
27
27
|
version: '',
|
|
28
28
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
29
29
|
};
|
|
@@ -2198,9 +2198,6 @@ var ViewListComponent = /** @class */ (function () {
|
|
|
2198
2198
|
};
|
|
2199
2199
|
ViewListComponent.prototype.setActiveDate = function (index) {
|
|
2200
2200
|
var candidate = this.service.addToDate(this.min, index);
|
|
2201
|
-
if (isEqual(this.activeDate, candidate)) {
|
|
2202
|
-
return;
|
|
2203
|
-
}
|
|
2204
2201
|
this.activeDate = candidate;
|
|
2205
2202
|
this.activeDateChange.emit(candidate);
|
|
2206
2203
|
this.cdr.detectChanges();
|
|
@@ -3182,12 +3179,16 @@ var CalendarComponent = /** @class */ (function () {
|
|
|
3182
3179
|
configurable: true
|
|
3183
3180
|
});
|
|
3184
3181
|
Object.defineProperty(CalendarComponent.prototype, "disabledDates", {
|
|
3182
|
+
get: function () {
|
|
3183
|
+
return this._disabledDates;
|
|
3184
|
+
},
|
|
3185
3185
|
/**
|
|
3186
3186
|
* Sets the dates of the Calendar that will be disabled
|
|
3187
3187
|
* ([see example]({% slug disabled_dates_calendar %})).
|
|
3188
3188
|
*/
|
|
3189
3189
|
set: function (value) {
|
|
3190
3190
|
this.disabledDatesService.initialize(value);
|
|
3191
|
+
this._disabledDates = value;
|
|
3191
3192
|
},
|
|
3192
3193
|
enumerable: true,
|
|
3193
3194
|
configurable: true
|
|
@@ -5529,7 +5530,7 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
5529
5530
|
this.focusableId = "k-" + guid();
|
|
5530
5531
|
/**
|
|
5531
5532
|
* Defines the active view that the Calendar initially renders
|
|
5532
|
-
* ([see example]({% slug
|
|
5533
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
|
|
5533
5534
|
* By default, the active view is `month`.
|
|
5534
5535
|
*
|
|
5535
5536
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -5537,12 +5538,12 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
5537
5538
|
this.activeView = CalendarViewEnum[CalendarViewEnum.month];
|
|
5538
5539
|
/**
|
|
5539
5540
|
* Defines the bottommost Calendar view to which the user can navigate
|
|
5540
|
-
* ([see example]({% slug
|
|
5541
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
5541
5542
|
*/
|
|
5542
5543
|
this.bottomView = CalendarViewEnum[CalendarViewEnum.month];
|
|
5543
5544
|
/**
|
|
5544
5545
|
* Defines the topmost Calendar view to which the user can navigate
|
|
5545
|
-
* ([see example]({% slug
|
|
5546
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
5546
5547
|
*/
|
|
5547
5548
|
this.topView = CalendarViewEnum[CalendarViewEnum.century];
|
|
5548
5549
|
/**
|
|
@@ -5603,7 +5604,7 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
5603
5604
|
this.incompleteDateValidation = false;
|
|
5604
5605
|
/**
|
|
5605
5606
|
* Specifies the focused date of the Calendar component
|
|
5606
|
-
* ([see example]({% slug
|
|
5607
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
5607
5608
|
*/
|
|
5608
5609
|
this.focusedDate = null;
|
|
5609
5610
|
/**
|
|
@@ -5659,7 +5660,7 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
5659
5660
|
this.disabledDatesValidation = true;
|
|
5660
5661
|
/**
|
|
5661
5662
|
* Determines whether to display a week number column in the `month` view of the Calendar
|
|
5662
|
-
* ([see example]({% slug
|
|
5663
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-week-number-column)).
|
|
5663
5664
|
*/
|
|
5664
5665
|
this.weekNumber = false;
|
|
5665
5666
|
/**
|
|
@@ -295,12 +295,16 @@ var CalendarComponent = /** @class */ (function () {
|
|
|
295
295
|
configurable: true
|
|
296
296
|
});
|
|
297
297
|
Object.defineProperty(CalendarComponent.prototype, "disabledDates", {
|
|
298
|
+
get: function () {
|
|
299
|
+
return this._disabledDates;
|
|
300
|
+
},
|
|
298
301
|
/**
|
|
299
302
|
* Sets the dates of the Calendar that will be disabled
|
|
300
303
|
* ([see example]({% slug disabled_dates_calendar %})).
|
|
301
304
|
*/
|
|
302
305
|
set: function (value) {
|
|
303
306
|
this.disabledDatesService.initialize(value);
|
|
307
|
+
this._disabledDates = value;
|
|
304
308
|
},
|
|
305
309
|
enumerable: true,
|
|
306
310
|
configurable: true
|
|
@@ -157,9 +157,6 @@ var ViewListComponent = /** @class */ (function () {
|
|
|
157
157
|
};
|
|
158
158
|
ViewListComponent.prototype.setActiveDate = function (index) {
|
|
159
159
|
var candidate = this.service.addToDate(this.min, index);
|
|
160
|
-
if (kendo_date_math_1.isEqual(this.activeDate, candidate)) {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
160
|
this.activeDate = candidate;
|
|
164
161
|
this.activeDateChange.emit(candidate);
|
|
165
162
|
this.cdr.detectChanges();
|
|
@@ -61,7 +61,7 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
61
61
|
this.focusableId = "k-" + kendo_angular_common_1.guid();
|
|
62
62
|
/**
|
|
63
63
|
* Defines the active view that the Calendar initially renders
|
|
64
|
-
* ([see example]({% slug
|
|
64
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
|
|
65
65
|
* By default, the active view is `month`.
|
|
66
66
|
*
|
|
67
67
|
* > You have to set `activeView` within the `topView`-`bottomView` range.
|
|
@@ -69,12 +69,12 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
69
69
|
this.activeView = view_enum_1.CalendarViewEnum[view_enum_1.CalendarViewEnum.month];
|
|
70
70
|
/**
|
|
71
71
|
* Defines the bottommost Calendar view to which the user can navigate
|
|
72
|
-
* ([see example]({% slug
|
|
72
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
73
73
|
*/
|
|
74
74
|
this.bottomView = view_enum_1.CalendarViewEnum[view_enum_1.CalendarViewEnum.month];
|
|
75
75
|
/**
|
|
76
76
|
* Defines the topmost Calendar view to which the user can navigate
|
|
77
|
-
* ([see example]({% slug
|
|
77
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
78
78
|
*/
|
|
79
79
|
this.topView = view_enum_1.CalendarViewEnum[view_enum_1.CalendarViewEnum.century];
|
|
80
80
|
/**
|
|
@@ -135,7 +135,7 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
135
135
|
this.incompleteDateValidation = false;
|
|
136
136
|
/**
|
|
137
137
|
* Specifies the focused date of the Calendar component
|
|
138
|
-
* ([see example]({% slug
|
|
138
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-focused-dates)).
|
|
139
139
|
*/
|
|
140
140
|
this.focusedDate = null;
|
|
141
141
|
/**
|
|
@@ -191,7 +191,7 @@ var DatePickerComponent = /** @class */ (function () {
|
|
|
191
191
|
this.disabledDatesValidation = true;
|
|
192
192
|
/**
|
|
193
193
|
* Determines whether to display a week number column in the `month` view of the Calendar
|
|
194
|
-
* ([see example]({% slug
|
|
194
|
+
* ([see example]({% slug calendar_type_datepicker %}#toc-week-number-column)).
|
|
195
195
|
*/
|
|
196
196
|
this.weekNumber = false;
|
|
197
197
|
/**
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-dateinputs',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1633509845,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|