mn-angular-lib 0.0.61 → 0.0.62

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": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Provider, TemplateRef, OnInit, Type, ComponentRef, AfterViewInit, OnDestroy, ElementRef, EventEmitter, QueryList, ChangeDetectorRef, ViewContainerRef, OnChanges, SimpleChanges, PipeTransform } from '@angular/core';
2
+ import { InjectionToken, Provider, TemplateRef, OnInit, Type, ComponentRef, AfterViewInit, OnDestroy, ElementRef, EventEmitter, QueryList, ChangeDetectorRef, ViewContainerRef, DoCheck, OnChanges, SimpleChanges, PipeTransform } from '@angular/core';
3
3
  export { TemplateRef, Type } from '@angular/core';
4
4
  import * as tailwind_variants from 'tailwind-variants';
5
5
  import { VariantProps } from 'tailwind-variants';
@@ -3046,7 +3046,7 @@ declare class MnCustomBodyHostComponent implements OnInit {
3046
3046
  static ɵcmp: i0.ɵɵComponentDeclaration<MnCustomBodyHostComponent, "mn-custom-body-host", never, { "config": { "alias": "config"; "required": false; }; "modalRef": { "alias": "modalRef"; "required": false; }; }, {}, never, never, true, never>;
3047
3047
  }
3048
3048
 
3049
- declare class MnTable<T = any> implements OnInit, OnDestroy {
3049
+ declare class MnTable<T = any> implements OnInit, OnDestroy, DoCheck {
3050
3050
  dataSource: TableDataSource<T>;
3051
3051
  sortChange: EventEmitter<SortState | null>;
3052
3052
  selectionChange: EventEmitter<T[]>;
@@ -3060,6 +3060,13 @@ declare class MnTable<T = any> implements OnInit, OnDestroy {
3060
3060
  private dataSubscription?;
3061
3061
  private searchSubject;
3062
3062
  private searchSubscription?;
3063
+ /** Tracks the previous toolbar template reference for change detection. */
3064
+ private previousToolbarTemplate?;
3065
+ /**
3066
+ * Checks for changes to dataSource properties that are not covered
3067
+ * by Angular's default change detection (e.g. toolbarTemplate).
3068
+ */
3069
+ ngDoCheck(): void;
3063
3070
  ngOnInit(): void;
3064
3071
  ngOnDestroy(): void;
3065
3072
  onSearch(searchString: string): void;