@datarailsshared/datarailsshared 1.4.126-rocket → 1.4.128-rocket

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.
@@ -4581,9 +4581,11 @@
4581
4581
  }
4582
4582
  return true;
4583
4583
  };
4584
- datePickerService.updatedQuarter$.pipe(operators.takeUntil(this.destroyed$)).subscribe(function (value) {
4585
- _this.setValueFromMoment(value);
4586
- });
4584
+ if (datePickerService && datePickerService.updatedQuarter$) {
4585
+ datePickerService.updatedQuarter$.pipe(operators.takeUntil(this.destroyed$)).subscribe(function (value) {
4586
+ _this.setValueFromMoment(value);
4587
+ });
4588
+ }
4587
4589
  }
4588
4590
  Object.defineProperty(DrDatePickerComponent.prototype, "format", {
4589
4591
  set: function (value) {
@@ -4619,6 +4621,14 @@
4619
4621
  enumerable: false,
4620
4622
  configurable: true
4621
4623
  });
4624
+ DrDatePickerComponent.prototype.ngOnInit = function () {
4625
+ var _this = this;
4626
+ if (this.datePickerService && this.datePickerService.updatedQuarter$) {
4627
+ this.datePickerService.updatedQuarter$.pipe(operators.takeUntil(this.destroyed$)).subscribe(function (value) {
4628
+ _this.setValueFromMoment(value);
4629
+ });
4630
+ }
4631
+ };
4622
4632
  DrDatePickerComponent.prototype.ngAfterViewInit = function () {
4623
4633
  this.datePickerService.fiscalYearMonthsModifier = this.fiscalYearMonthsModifier;
4624
4634
  this.datePickerService.datePickerInstance = this.datePicker;