@datarailsshared/datarailsshared 1.4.126-rocket → 1.4.129-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.
- package/bundles/datarailsshared-datarailsshared.umd.js +16 -4
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.129-rocket.tgz +0 -0
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.js +16 -5
- package/fesm2015/datarailsshared-datarailsshared.js +15 -4
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +3 -2
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.126-rocket.tgz +0 -0
|
@@ -4581,13 +4581,17 @@
|
|
|
4581
4581
|
}
|
|
4582
4582
|
return true;
|
|
4583
4583
|
};
|
|
4584
|
-
datePickerService.updatedQuarter
|
|
4585
|
-
|
|
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) {
|
|
4590
|
-
this.datePickerService
|
|
4592
|
+
if (this.datePickerService) {
|
|
4593
|
+
this.datePickerService.updateTimeframeAndFormat(value);
|
|
4594
|
+
}
|
|
4591
4595
|
},
|
|
4592
4596
|
enumerable: false,
|
|
4593
4597
|
configurable: true
|
|
@@ -4619,6 +4623,14 @@
|
|
|
4619
4623
|
enumerable: false,
|
|
4620
4624
|
configurable: true
|
|
4621
4625
|
});
|
|
4626
|
+
DrDatePickerComponent.prototype.ngOnInit = function () {
|
|
4627
|
+
var _this = this;
|
|
4628
|
+
if (this.datePickerService && this.datePickerService.updatedQuarter$) {
|
|
4629
|
+
this.datePickerService.updatedQuarter$.pipe(operators.takeUntil(this.destroyed$)).subscribe(function (value) {
|
|
4630
|
+
_this.setValueFromMoment(value);
|
|
4631
|
+
});
|
|
4632
|
+
}
|
|
4633
|
+
};
|
|
4622
4634
|
DrDatePickerComponent.prototype.ngAfterViewInit = function () {
|
|
4623
4635
|
this.datePickerService.fiscalYearMonthsModifier = this.fiscalYearMonthsModifier;
|
|
4624
4636
|
this.datePickerService.datePickerInstance = this.datePicker;
|