mn-angular-lib 0.0.60 → 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,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[]>;
|
|
@@ -3056,9 +3056,17 @@ declare class MnTable<T = any> implements OnInit, OnDestroy {
|
|
|
3056
3056
|
loadingMoreRows: boolean;
|
|
3057
3057
|
currentSort: SortState | null;
|
|
3058
3058
|
selectedIds: Set<string>;
|
|
3059
|
+
private cdr;
|
|
3059
3060
|
private dataSubscription?;
|
|
3060
3061
|
private searchSubject;
|
|
3061
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;
|
|
3062
3070
|
ngOnInit(): void;
|
|
3063
3071
|
ngOnDestroy(): void;
|
|
3064
3072
|
onSearch(searchString: string): void;
|