mn-angular-lib 0.0.70 → 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.
@@ -5627,7 +5627,6 @@ class CalendarWeekComponent {
5627
5627
  }
5628
5628
  ngOnInit() {
5629
5629
  this.resolvedConfig = this.config ? resolveCalendarConfig(this.config) : { ...DEFAULT_CALENDAR_CONFIG };
5630
- 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();
@@ -5843,7 +5844,6 @@ class CalendarDayComponent {
5843
5844
  }
5844
5845
  ngOnInit() {
5845
5846
  this.resolvedConfig = this.config ? resolveCalendarConfig(this.config) : { ...DEFAULT_CALENDAR_CONFIG };
5846
- 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();