@progress/kendo-angular-dateinputs 5.2.4-dev.202110081056 → 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.
@@ -38,10 +38,9 @@ var HeaderComponent = /** @class */ (function () {
38
38
  this.subscriptions = new Subscription();
39
39
  }
40
40
  HeaderComponent.prototype.ngOnInit = function () {
41
- this.subscriptions
42
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
43
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
44
- .add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
41
+ this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
42
+ this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
43
+ this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
45
44
  };
46
45
  HeaderComponent.prototype.ngOnChanges = function (_) {
47
46
  var service = this.bus.service(this.activeView);
@@ -190,7 +190,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
190
190
  this.minValidateFn = noop;
191
191
  this.maxValidateFn = noop;
192
192
  this.disabledDatesRangeValidateFn = noop;
193
- this.subscriptions = new Subscription(function () { });
193
+ this.subscriptions = new Subscription();
194
194
  this.setClasses(element.nativeElement);
195
195
  }
196
196
  Object.defineProperty(MultiViewCalendarComponent.prototype, "focusedDate", {
@@ -19,8 +19,8 @@ var DateRangeInput = /** @class */ (function () {
19
19
  this.renderer = renderer;
20
20
  this.zone = zone;
21
21
  this.navigateCalendarOnFocus = false;
22
- this.popupSubscriptions = new Subscription(function () { });
23
- this.subscriptions = new Subscription(function () { });
22
+ this.popupSubscriptions = new Subscription();
23
+ this.subscriptions = new Subscription();
24
24
  }
25
25
  Object.defineProperty(DateRangeInput.prototype, "isActiveEnd", {
26
26
  get: function () {
@@ -79,7 +79,7 @@ var DateRangeInput = /** @class */ (function () {
79
79
  };
80
80
  DateRangeInput.prototype.unsubscribePopup = function () {
81
81
  this.popupSubscriptions.unsubscribe();
82
- this.popupSubscriptions = new Subscription(function () { });
82
+ this.popupSubscriptions = new Subscription();
83
83
  };
84
84
  DateRangeInput.prototype.activate = function () {
85
85
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -84,8 +84,8 @@ var DateRangePopupComponent = /** @class */ (function () {
84
84
  * @hidden
85
85
  */
86
86
  this.popupUID = guid();
87
- this.calendarSubscriptions = new Subscription(function () { });
88
- this.popupSubscriptions = new Subscription(function () { });
87
+ this.calendarSubscriptions = new Subscription();
88
+ this.popupSubscriptions = new Subscription();
89
89
  this.resolvedPromise = Promise.resolve();
90
90
  }
91
91
  Object.defineProperty(DateRangePopupComponent.prototype, "calendar", {
@@ -38,7 +38,7 @@ var DateRangeSelectionDirective = /** @class */ (function () {
38
38
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
39
39
  */
40
40
  this.selectionRangeChange = new EventEmitter();
41
- this.calendarSubscriptions = new Subscription(function () { });
41
+ this.calendarSubscriptions = new Subscription();
42
42
  this.dateRangeService = this.dateRangeService || new DateRangeService();
43
43
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
44
44
  }
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-dateinputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1633690377,
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
  };
@@ -38,10 +38,9 @@ let HeaderComponent = class HeaderComponent {
38
38
  this.subscriptions = new Subscription();
39
39
  }
40
40
  ngOnInit() {
41
- this.subscriptions
42
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
43
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
44
- .add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
41
+ this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
42
+ this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
43
+ this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
45
44
  }
46
45
  ngOnChanges(_) {
47
46
  const service = this.bus.service(this.activeView);
@@ -190,7 +190,7 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
190
190
  this.minValidateFn = noop;
191
191
  this.maxValidateFn = noop;
192
192
  this.disabledDatesRangeValidateFn = noop;
193
- this.subscriptions = new Subscription(() => { });
193
+ this.subscriptions = new Subscription();
194
194
  this.setClasses(element.nativeElement);
195
195
  }
196
196
  /**
@@ -19,8 +19,8 @@ export class DateRangeInput {
19
19
  this.renderer = renderer;
20
20
  this.zone = zone;
21
21
  this.navigateCalendarOnFocus = false;
22
- this.popupSubscriptions = new Subscription(() => { });
23
- this.subscriptions = new Subscription(() => { });
22
+ this.popupSubscriptions = new Subscription();
23
+ this.subscriptions = new Subscription();
24
24
  }
25
25
  get isActiveEnd() {
26
26
  return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
@@ -69,7 +69,7 @@ export class DateRangeInput {
69
69
  }
70
70
  unsubscribePopup() {
71
71
  this.popupSubscriptions.unsubscribe();
72
- this.popupSubscriptions = new Subscription(() => { });
72
+ this.popupSubscriptions = new Subscription();
73
73
  }
74
74
  activate() {
75
75
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -84,8 +84,8 @@ let DateRangePopupComponent = class DateRangePopupComponent {
84
84
  * @hidden
85
85
  */
86
86
  this.popupUID = guid();
87
- this.calendarSubscriptions = new Subscription(() => { });
88
- this.popupSubscriptions = new Subscription(() => { });
87
+ this.calendarSubscriptions = new Subscription();
88
+ this.popupSubscriptions = new Subscription();
89
89
  this.resolvedPromise = Promise.resolve();
90
90
  }
91
91
  /**
@@ -38,7 +38,7 @@ let DateRangeSelectionDirective = class DateRangeSelectionDirective {
38
38
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
39
39
  */
40
40
  this.selectionRangeChange = new EventEmitter();
41
- this.calendarSubscriptions = new Subscription(() => { });
41
+ this.calendarSubscriptions = new Subscription();
42
42
  this.dateRangeService = this.dateRangeService || new DateRangeService();
43
43
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
44
44
  }
@@ -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: 1633690377,
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: 1633690377,
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
  };
@@ -9425,7 +9425,7 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
9425
9425
  this.minValidateFn = noop;
9426
9426
  this.maxValidateFn = noop;
9427
9427
  this.disabledDatesRangeValidateFn = noop;
9428
- this.subscriptions = new Subscription(() => { });
9428
+ this.subscriptions = new Subscription();
9429
9429
  this.setClasses(element.nativeElement);
9430
9430
  }
9431
9431
  /**
@@ -10469,8 +10469,8 @@ let DateRangePopupComponent = class DateRangePopupComponent {
10469
10469
  * @hidden
10470
10470
  */
10471
10471
  this.popupUID = guid();
10472
- this.calendarSubscriptions = new Subscription(() => { });
10473
- this.popupSubscriptions = new Subscription(() => { });
10472
+ this.calendarSubscriptions = new Subscription();
10473
+ this.popupSubscriptions = new Subscription();
10474
10474
  this.resolvedPromise = Promise.resolve();
10475
10475
  }
10476
10476
  /**
@@ -10830,8 +10830,8 @@ class DateRangeInput {
10830
10830
  this.renderer = renderer;
10831
10831
  this.zone = zone;
10832
10832
  this.navigateCalendarOnFocus = false;
10833
- this.popupSubscriptions = new Subscription(() => { });
10834
- this.subscriptions = new Subscription(() => { });
10833
+ this.popupSubscriptions = new Subscription();
10834
+ this.subscriptions = new Subscription();
10835
10835
  }
10836
10836
  get isActiveEnd() {
10837
10837
  return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
@@ -10880,7 +10880,7 @@ class DateRangeInput {
10880
10880
  }
10881
10881
  unsubscribePopup() {
10882
10882
  this.popupSubscriptions.unsubscribe();
10883
- this.popupSubscriptions = new Subscription(() => { });
10883
+ this.popupSubscriptions = new Subscription();
10884
10884
  }
10885
10885
  activate() {
10886
10886
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -11118,7 +11118,7 @@ let DateRangeSelectionDirective = class DateRangeSelectionDirective {
11118
11118
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
11119
11119
  */
11120
11120
  this.selectionRangeChange = new EventEmitter();
11121
- this.calendarSubscriptions = new Subscription(() => { });
11121
+ this.calendarSubscriptions = new Subscription();
11122
11122
  this.dateRangeService = this.dateRangeService || new DateRangeService();
11123
11123
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
11124
11124
  }
@@ -11419,10 +11419,9 @@ let HeaderComponent = class HeaderComponent {
11419
11419
  this.subscriptions = new Subscription();
11420
11420
  }
11421
11421
  ngOnInit() {
11422
- this.subscriptions
11423
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
11424
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
11425
- .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)));
11426
11425
  }
11427
11426
  ngOnChanges(_) {
11428
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: 1633690377,
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
  };
@@ -9223,7 +9223,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
9223
9223
  this.minValidateFn = noop;
9224
9224
  this.maxValidateFn = noop;
9225
9225
  this.disabledDatesRangeValidateFn = noop;
9226
- this.subscriptions = new Subscription(function () { });
9226
+ this.subscriptions = new Subscription();
9227
9227
  this.setClasses(element.nativeElement);
9228
9228
  }
9229
9229
  Object.defineProperty(MultiViewCalendarComponent.prototype, "focusedDate", {
@@ -10330,8 +10330,8 @@ var DateRangePopupComponent = /** @class */ (function () {
10330
10330
  * @hidden
10331
10331
  */
10332
10332
  this.popupUID = guid();
10333
- this.calendarSubscriptions = new Subscription(function () { });
10334
- this.popupSubscriptions = new Subscription(function () { });
10333
+ this.calendarSubscriptions = new Subscription();
10334
+ this.popupSubscriptions = new Subscription();
10335
10335
  this.resolvedPromise = Promise.resolve();
10336
10336
  }
10337
10337
  Object.defineProperty(DateRangePopupComponent.prototype, "calendar", {
@@ -10720,8 +10720,8 @@ var DateRangeInput = /** @class */ (function () {
10720
10720
  this.renderer = renderer;
10721
10721
  this.zone = zone;
10722
10722
  this.navigateCalendarOnFocus = false;
10723
- this.popupSubscriptions = new Subscription(function () { });
10724
- this.subscriptions = new Subscription(function () { });
10723
+ this.popupSubscriptions = new Subscription();
10724
+ this.subscriptions = new Subscription();
10725
10725
  }
10726
10726
  Object.defineProperty(DateRangeInput.prototype, "isActiveEnd", {
10727
10727
  get: function () {
@@ -10780,7 +10780,7 @@ var DateRangeInput = /** @class */ (function () {
10780
10780
  };
10781
10781
  DateRangeInput.prototype.unsubscribePopup = function () {
10782
10782
  this.popupSubscriptions.unsubscribe();
10783
- this.popupSubscriptions = new Subscription(function () { });
10783
+ this.popupSubscriptions = new Subscription();
10784
10784
  };
10785
10785
  DateRangeInput.prototype.activate = function () {
10786
10786
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
@@ -11027,7 +11027,7 @@ var DateRangeSelectionDirective = /** @class */ (function () {
11027
11027
  * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
11028
11028
  */
11029
11029
  this.selectionRangeChange = new EventEmitter();
11030
- this.calendarSubscriptions = new Subscription(function () { });
11030
+ this.calendarSubscriptions = new Subscription();
11031
11031
  this.dateRangeService = this.dateRangeService || new DateRangeService();
11032
11032
  renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
11033
11033
  }
@@ -11369,10 +11369,9 @@ var HeaderComponent = /** @class */ (function () {
11369
11369
  this.subscriptions = new Subscription();
11370
11370
  }
11371
11371
  HeaderComponent.prototype.ngOnInit = function () {
11372
- this.subscriptions
11373
- .add(this.intl.changes.subscribe(this.intlChange.bind(this)))
11374
- .add(this.localization.changes.subscribe(this.l10nChange.bind(this)))
11375
- .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)));
11376
11375
  };
11377
11376
  HeaderComponent.prototype.ngOnChanges = function (_) {
11378
11377
  var service = this.bus.service(this.activeView);
@@ -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);
@@ -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: 1633690377,
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
  };