@progress/kendo-angular-dateinputs 5.2.3-dev.202109021221 → 5.2.4-dev.202110261444

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.
Files changed (32) hide show
  1. package/dist/cdn/js/kendo-angular-dateinputs.js +1 -1
  2. package/dist/cdn/main.js +1 -1
  3. package/dist/es/calendar/calendar.component.js +4 -0
  4. package/dist/es/calendar/header.component.js +3 -4
  5. package/dist/es/calendar/horizontal-view-list.component.js +3 -1
  6. package/dist/es/calendar/multiview-calendar.component.js +1 -1
  7. package/dist/es/daterange/date-range-input.js +3 -3
  8. package/dist/es/daterange/date-range-popup.component.js +2 -2
  9. package/dist/es/daterange/date-range-selection.directive.js +1 -1
  10. package/dist/es/package-metadata.js +1 -1
  11. package/dist/es2015/calendar/calendar.component.d.ts +1 -0
  12. package/dist/es2015/calendar/calendar.component.js +4 -0
  13. package/dist/es2015/calendar/header.component.js +3 -4
  14. package/dist/es2015/calendar/horizontal-view-list.component.js +3 -1
  15. package/dist/es2015/calendar/multiview-calendar.component.js +1 -1
  16. package/dist/es2015/daterange/date-range-input.js +3 -3
  17. package/dist/es2015/daterange/date-range-popup.component.js +2 -2
  18. package/dist/es2015/daterange/date-range-selection.directive.js +1 -1
  19. package/dist/es2015/index.metadata.json +1 -1
  20. package/dist/es2015/package-metadata.js +1 -1
  21. package/dist/fesm2015/index.js +18 -13
  22. package/dist/fesm5/index.js +18 -13
  23. package/dist/npm/calendar/calendar.component.js +4 -0
  24. package/dist/npm/calendar/header.component.js +3 -4
  25. package/dist/npm/calendar/horizontal-view-list.component.js +3 -1
  26. package/dist/npm/calendar/multiview-calendar.component.js +1 -1
  27. package/dist/npm/daterange/date-range-input.js +3 -3
  28. package/dist/npm/daterange/date-range-popup.component.js +2 -2
  29. package/dist/npm/daterange/date-range-selection.directive.js +1 -1
  30. package/dist/npm/package-metadata.js +1 -1
  31. package/dist/systemjs/kendo-angular-dateinputs.js +1 -1
  32. package/package.json +5 -5
@@ -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: 1630585137,
12
+ publishDate: 1635259300,
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
  };
@@ -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: 1630585137,
26
+ publishDate: 1635259300,
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
  };
@@ -3155,6 +3155,10 @@ let CalendarComponent = class CalendarComponent {
3155
3155
  */
3156
3156
  set disabledDates(value) {
3157
3157
  this.disabledDatesService.initialize(value);
3158
+ this._disabledDates = value;
3159
+ }
3160
+ get disabledDates() {
3161
+ return this._disabledDates;
3158
3162
  }
3159
3163
  /**
3160
3164
  * Specifies the Calendar type.
@@ -9132,7 +9136,9 @@ __decorate([
9132
9136
  ], HorizontalViewListComponent.prototype, "activeDateChange", void 0);
9133
9137
  __decorate([
9134
9138
  HostBinding("class.k-calendar-view"),
9135
- HostBinding("class.k-justify-align-start"),
9139
+ HostBinding("class.k-hstack"),
9140
+ HostBinding("class.k-align-items-start"),
9141
+ HostBinding("class.k-justify-content-center"),
9136
9142
  __metadata("design:type", Boolean)
9137
9143
  ], HorizontalViewListComponent.prototype, "getComponentClass", void 0);
9138
9144
  __decorate([
@@ -9419,7 +9425,7 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
9419
9425
  this.minValidateFn = noop;
9420
9426
  this.maxValidateFn = noop;
9421
9427
  this.disabledDatesRangeValidateFn = noop;
9422
- this.subscriptions = new Subscription(() => { });
9428
+ this.subscriptions = new Subscription();
9423
9429
  this.setClasses(element.nativeElement);
9424
9430
  }
9425
9431
  /**
@@ -10463,8 +10469,8 @@ let DateRangePopupComponent = class DateRangePopupComponent {
10463
10469
  * @hidden
10464
10470
  */
10465
10471
  this.popupUID = guid();
10466
- this.calendarSubscriptions = new Subscription(() => { });
10467
- this.popupSubscriptions = new Subscription(() => { });
10472
+ this.calendarSubscriptions = new Subscription();
10473
+ this.popupSubscriptions = new Subscription();
10468
10474
  this.resolvedPromise = Promise.resolve();
10469
10475
  }
10470
10476
  /**
@@ -10824,8 +10830,8 @@ class DateRangeInput {
10824
10830
  this.renderer = renderer;
10825
10831
  this.zone = zone;
10826
10832
  this.navigateCalendarOnFocus = false;
10827
- this.popupSubscriptions = new Subscription(() => { });
10828
- this.subscriptions = new Subscription(() => { });
10833
+ this.popupSubscriptions = new Subscription();
10834
+ this.subscriptions = new Subscription();
10829
10835
  }
10830
10836
  get isActiveEnd() {
10831
10837
  return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
@@ -10874,7 +10880,7 @@ class DateRangeInput {
10874
10880
  }
10875
10881
  unsubscribePopup() {
10876
10882
  this.popupSubscriptions.unsubscribe();
10877
- this.popupSubscriptions = new Subscription(() => { });
10883
+ this.popupSubscriptions = new Subscription();
10878
10884
  }
10879
10885
  activate() {
10880
10886
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -11112,7 +11118,7 @@ let DateRangeSelectionDirective = class DateRangeSelectionDirective {
11112
11118
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
11113
11119
  */
11114
11120
  this.selectionRangeChange = new EventEmitter();
11115
- this.calendarSubscriptions = new Subscription(() => { });
11121
+ this.calendarSubscriptions = new Subscription();
11116
11122
  this.dateRangeService = this.dateRangeService || new DateRangeService();
11117
11123
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
11118
11124
  }
@@ -11413,10 +11419,9 @@ let HeaderComponent = class HeaderComponent {
11413
11419
  this.subscriptions = new Subscription();
11414
11420
  }
11415
11421
  ngOnInit() {
11416
- this.subscriptions
11417
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
11418
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
11419
- .add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
11422
+ this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
11423
+ this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
11424
+ this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
11420
11425
  }
11421
11426
  ngOnChanges(_) {
11422
11427
  const service = this.bus.service(this.activeView);
@@ -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: 1630585137,
26
+ publishDate: 1635259300,
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
  };
@@ -3179,12 +3179,16 @@ var CalendarComponent = /** @class */ (function () {
3179
3179
  configurable: true
3180
3180
  });
3181
3181
  Object.defineProperty(CalendarComponent.prototype, "disabledDates", {
3182
+ get: function () {
3183
+ return this._disabledDates;
3184
+ },
3182
3185
  /**
3183
3186
  * Sets the dates of the Calendar that will be disabled
3184
3187
  * ([see example]({% slug disabled_dates_calendar %})).
3185
3188
  */
3186
3189
  set: function (value) {
3187
3190
  this.disabledDatesService.initialize(value);
3191
+ this._disabledDates = value;
3188
3192
  },
3189
3193
  enumerable: true,
3190
3194
  configurable: true
@@ -8997,7 +9001,9 @@ var HorizontalViewListComponent = /** @class */ (function () {
8997
9001
  ], HorizontalViewListComponent.prototype, "activeDateChange", void 0);
8998
9002
  __decorate([
8999
9003
  HostBinding("class.k-calendar-view"),
9000
- HostBinding("class.k-justify-align-start"),
9004
+ HostBinding("class.k-hstack"),
9005
+ HostBinding("class.k-align-items-start"),
9006
+ HostBinding("class.k-justify-content-center"),
9001
9007
  __metadata("design:type", Boolean)
9002
9008
  ], HorizontalViewListComponent.prototype, "getComponentClass", void 0);
9003
9009
  __decorate([
@@ -9217,7 +9223,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
9217
9223
  this.minValidateFn = noop;
9218
9224
  this.maxValidateFn = noop;
9219
9225
  this.disabledDatesRangeValidateFn = noop;
9220
- this.subscriptions = new Subscription(function () { });
9226
+ this.subscriptions = new Subscription();
9221
9227
  this.setClasses(element.nativeElement);
9222
9228
  }
9223
9229
  Object.defineProperty(MultiViewCalendarComponent.prototype, "focusedDate", {
@@ -10324,8 +10330,8 @@ var DateRangePopupComponent = /** @class */ (function () {
10324
10330
  * @hidden
10325
10331
  */
10326
10332
  this.popupUID = guid();
10327
- this.calendarSubscriptions = new Subscription(function () { });
10328
- this.popupSubscriptions = new Subscription(function () { });
10333
+ this.calendarSubscriptions = new Subscription();
10334
+ this.popupSubscriptions = new Subscription();
10329
10335
  this.resolvedPromise = Promise.resolve();
10330
10336
  }
10331
10337
  Object.defineProperty(DateRangePopupComponent.prototype, "calendar", {
@@ -10714,8 +10720,8 @@ var DateRangeInput = /** @class */ (function () {
10714
10720
  this.renderer = renderer;
10715
10721
  this.zone = zone;
10716
10722
  this.navigateCalendarOnFocus = false;
10717
- this.popupSubscriptions = new Subscription(function () { });
10718
- this.subscriptions = new Subscription(function () { });
10723
+ this.popupSubscriptions = new Subscription();
10724
+ this.subscriptions = new Subscription();
10719
10725
  }
10720
10726
  Object.defineProperty(DateRangeInput.prototype, "isActiveEnd", {
10721
10727
  get: function () {
@@ -10774,7 +10780,7 @@ var DateRangeInput = /** @class */ (function () {
10774
10780
  };
10775
10781
  DateRangeInput.prototype.unsubscribePopup = function () {
10776
10782
  this.popupSubscriptions.unsubscribe();
10777
- this.popupSubscriptions = new Subscription(function () { });
10783
+ this.popupSubscriptions = new Subscription();
10778
10784
  };
10779
10785
  DateRangeInput.prototype.activate = function () {
10780
10786
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -11021,7 +11027,7 @@ var DateRangeSelectionDirective = /** @class */ (function () {
11021
11027
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
11022
11028
  */
11023
11029
  this.selectionRangeChange = new EventEmitter();
11024
- this.calendarSubscriptions = new Subscription(function () { });
11030
+ this.calendarSubscriptions = new Subscription();
11025
11031
  this.dateRangeService = this.dateRangeService || new DateRangeService();
11026
11032
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
11027
11033
  }
@@ -11363,10 +11369,9 @@ var HeaderComponent = /** @class */ (function () {
11363
11369
  this.subscriptions = new Subscription();
11364
11370
  }
11365
11371
  HeaderComponent.prototype.ngOnInit = function () {
11366
- this.subscriptions
11367
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
11368
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
11369
- .add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
11372
+ this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
11373
+ this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
11374
+ this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
11370
11375
  };
11371
11376
  HeaderComponent.prototype.ngOnChanges = function (_) {
11372
11377
  var service = this.bus.service(this.activeView);
@@ -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
@@ -40,10 +40,9 @@ var HeaderComponent = /** @class */ (function () {
40
40
  this.subscriptions = new rxjs_1.Subscription();
41
41
  }
42
42
  HeaderComponent.prototype.ngOnInit = function () {
43
- this.subscriptions
44
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
45
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
46
- .add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
43
+ this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
44
+ this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
45
+ this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
47
46
  };
48
47
  HeaderComponent.prototype.ngOnChanges = function (_) {
49
48
  var service = this.bus.service(this.activeView);
@@ -322,7 +322,9 @@ var HorizontalViewListComponent = /** @class */ (function () {
322
322
  ], HorizontalViewListComponent.prototype, "activeDateChange", void 0);
323
323
  tslib_1.__decorate([
324
324
  core_1.HostBinding("class.k-calendar-view"),
325
- core_1.HostBinding("class.k-justify-align-start"),
325
+ core_1.HostBinding("class.k-hstack"),
326
+ core_1.HostBinding("class.k-align-items-start"),
327
+ core_1.HostBinding("class.k-justify-content-center"),
326
328
  tslib_1.__metadata("design:type", Boolean)
327
329
  ], HorizontalViewListComponent.prototype, "getComponentClass", void 0);
328
330
  tslib_1.__decorate([
@@ -192,7 +192,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
192
192
  this.minValidateFn = util_1.noop;
193
193
  this.maxValidateFn = util_1.noop;
194
194
  this.disabledDatesRangeValidateFn = util_1.noop;
195
- this.subscriptions = new rxjs_1.Subscription(function () { });
195
+ this.subscriptions = new rxjs_1.Subscription();
196
196
  this.setClasses(element.nativeElement);
197
197
  }
198
198
  Object.defineProperty(MultiViewCalendarComponent.prototype, "focusedDate", {
@@ -21,8 +21,8 @@ var DateRangeInput = /** @class */ (function () {
21
21
  this.renderer = renderer;
22
22
  this.zone = zone;
23
23
  this.navigateCalendarOnFocus = false;
24
- this.popupSubscriptions = new rxjs_1.Subscription(function () { });
25
- this.subscriptions = new rxjs_1.Subscription(function () { });
24
+ this.popupSubscriptions = new rxjs_1.Subscription();
25
+ this.subscriptions = new rxjs_1.Subscription();
26
26
  }
27
27
  Object.defineProperty(DateRangeInput.prototype, "isActiveEnd", {
28
28
  get: function () {
@@ -81,7 +81,7 @@ var DateRangeInput = /** @class */ (function () {
81
81
  };
82
82
  DateRangeInput.prototype.unsubscribePopup = function () {
83
83
  this.popupSubscriptions.unsubscribe();
84
- this.popupSubscriptions = new rxjs_1.Subscription(function () { });
84
+ this.popupSubscriptions = new rxjs_1.Subscription();
85
85
  };
86
86
  DateRangeInput.prototype.activate = function () {
87
87
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -86,8 +86,8 @@ var DateRangePopupComponent = /** @class */ (function () {
86
86
  * @hidden
87
87
  */
88
88
  this.popupUID = kendo_angular_common_1.guid();
89
- this.calendarSubscriptions = new rxjs_1.Subscription(function () { });
90
- this.popupSubscriptions = new rxjs_1.Subscription(function () { });
89
+ this.calendarSubscriptions = new rxjs_1.Subscription();
90
+ this.popupSubscriptions = new rxjs_1.Subscription();
91
91
  this.resolvedPromise = Promise.resolve();
92
92
  }
93
93
  Object.defineProperty(DateRangePopupComponent.prototype, "calendar", {
@@ -40,7 +40,7 @@ var DateRangeSelectionDirective = /** @class */ (function () {
40
40
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
41
41
  */
42
42
  this.selectionRangeChange = new core_1.EventEmitter();
43
- this.calendarSubscriptions = new rxjs_1.Subscription(function () { });
43
+ this.calendarSubscriptions = new rxjs_1.Subscription();
44
44
  this.dateRangeService = this.dateRangeService || new date_range_service_1.DateRangeService();
45
45
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
46
46
  }
@@ -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: 1630585137,
14
+ publishDate: 1635259300,
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
  };