mn-angular-lib 0.0.71 → 0.0.72
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.
|
@@ -5625,9 +5625,8 @@ class CalendarWeekComponent {
|
|
|
5625
5625
|
this.layoutService = layoutService;
|
|
5626
5626
|
this.formatter = new DefaultCalendarDateFormatter();
|
|
5627
5627
|
}
|
|
5628
|
-
|
|
5628
|
+
ngOnInit() {
|
|
5629
5629
|
this.resolvedConfig = this.config ? resolveCalendarConfig(this.config) : { ...DEFAULT_CALENDAR_CONFIG };
|
|
5630
|
-
await this.buildHourRows();
|
|
5631
5630
|
this.buildColumns();
|
|
5632
5631
|
this.updateCurrentTime();
|
|
5633
5632
|
this.currentTimeInterval = setInterval(() => this.updateCurrentTime(), 60000);
|
|
@@ -5645,6 +5644,8 @@ class CalendarWeekComponent {
|
|
|
5645
5644
|
this.updateCurrentTime();
|
|
5646
5645
|
});
|
|
5647
5646
|
}
|
|
5647
|
+
// Build hour rows asynchronously (formatTimeI returns a Promise).
|
|
5648
|
+
this.buildHourRows();
|
|
5648
5649
|
}
|
|
5649
5650
|
ngOnDestroy() {
|
|
5650
5651
|
this.destroy$.next();
|
|
@@ -5841,9 +5842,8 @@ class CalendarDayComponent {
|
|
|
5841
5842
|
this.layoutService = layoutService;
|
|
5842
5843
|
this.formatter = new DefaultCalendarDateFormatter();
|
|
5843
5844
|
}
|
|
5844
|
-
|
|
5845
|
+
ngOnInit() {
|
|
5845
5846
|
this.resolvedConfig = this.config ? resolveCalendarConfig(this.config) : { ...DEFAULT_CALENDAR_CONFIG };
|
|
5846
|
-
await this.buildHourRows();
|
|
5847
5847
|
this.updateDayInfo();
|
|
5848
5848
|
this.updateCurrentTime();
|
|
5849
5849
|
this.currentTimeInterval = setInterval(() => this.updateCurrentTime(), 60000);
|
|
@@ -5861,6 +5861,8 @@ class CalendarDayComponent {
|
|
|
5861
5861
|
this.updateCurrentTime();
|
|
5862
5862
|
});
|
|
5863
5863
|
}
|
|
5864
|
+
// Build hour rows asynchronously (formatTimeI returns a Promise).
|
|
5865
|
+
this.buildHourRows();
|
|
5864
5866
|
}
|
|
5865
5867
|
ngOnDestroy() {
|
|
5866
5868
|
this.destroy$.next();
|