@datarailsshared/datarailsshared 1.4.305 → 1.4.308
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 +9 -5
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.308.tgz +0 -0
- package/esm2015/lib/date-tags/forecast-tag/forecast-tag.component.js +5 -4
- package/esm2015/lib/date-tags/quarter-tag/quarter-tag.component.js +6 -3
- package/fesm2015/datarailsshared-datarailsshared.js +9 -5
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/date-tags/forecast-tag/forecast-tag.component.d.ts +2 -2
- package/lib/date-tags/quarter-tag/quarter-tag.component.d.ts +2 -2
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.305.tgz +0 -0
|
@@ -441,9 +441,10 @@
|
|
|
441
441
|
_this.initDateValue = null;
|
|
442
442
|
return _this;
|
|
443
443
|
}
|
|
444
|
-
ForecastTagComponent.prototype.ngOnChanges = function () {
|
|
445
|
-
|
|
446
|
-
|
|
444
|
+
ForecastTagComponent.prototype.ngOnChanges = function (changes) {
|
|
445
|
+
if (changes.lockedDate) {
|
|
446
|
+
this.updateLockedDate();
|
|
447
|
+
}
|
|
447
448
|
};
|
|
448
449
|
ForecastTagComponent.prototype.isNeedToIncrementYear = function (dateObj, fiscalYearStartsFrom) {
|
|
449
450
|
return dateObj.month() + 1 >= fiscalYearStartsFrom;
|
|
@@ -690,8 +691,11 @@
|
|
|
690
691
|
enumerable: false,
|
|
691
692
|
configurable: true
|
|
692
693
|
});
|
|
693
|
-
QuarterTagComponent.prototype.ngOnChanges = function () {
|
|
694
|
-
|
|
694
|
+
QuarterTagComponent.prototype.ngOnChanges = function (changes) {
|
|
695
|
+
if (changes.lockedDate) {
|
|
696
|
+
this.initName();
|
|
697
|
+
this.initTags();
|
|
698
|
+
}
|
|
695
699
|
};
|
|
696
700
|
QuarterTagComponent.prototype.ngOnInit = function () {
|
|
697
701
|
this.initName();
|