mn-angular-lib 1.0.11 → 1.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -3915,6 +3915,8 @@ declare class CalendarViewComponent implements OnInit, OnDestroy {
3915
3915
  private destroy$;
3916
3916
  private formatter;
3917
3917
  protected config: CalendarConfig;
3918
+ /** Reference to the injected mn-config object (mutated in-place on locale change). */
3919
+ private readonly mnConfigRef;
3918
3920
  private readonly destroyRef;
3919
3921
  private readonly lang;
3920
3922
  constructor(formatter: CalendarDateFormatter | null, mnConfig: CalendarConfig | null, legacyConfig: CalendarConfig | null);
@@ -4217,7 +4219,7 @@ declare class CalendarEventDefaultComponent implements CalendarEventData, OnInit
4217
4219
  * Sidebar component that lists the next 10 upcoming events
4218
4220
  * (events whose end time is in the future), sorted by start time.
4219
4221
  */
4220
- declare class UpcomingEventsComponent implements OnInit, OnDestroy {
4222
+ declare class UpcomingEventsComponent implements OnInit, OnChanges, OnDestroy {
4221
4223
  /** Observable that emits the full event list whenever it changes. */
4222
4224
  eventsChanged: Observable<CalendarEvent[]>;
4223
4225
  /** Resolved calendar configuration passed from the parent view. */
@@ -4229,6 +4231,8 @@ declare class UpcomingEventsComponent implements OnInit, OnDestroy {
4229
4231
  noEventsMessage: string;
4230
4232
  private destroy$;
4231
4233
  constructor();
4234
+ /** Re-read labels when the config input changes (e.g. after a locale switch). */
4235
+ ngOnChanges(changes: SimpleChanges): void;
4232
4236
  ngOnInit(): void;
4233
4237
  ngOnDestroy(): void;
4234
4238
  /** trackBy for upcoming event rows. */