mn-angular-lib 0.0.61 → 0.0.63
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';
|
|
@@ -17,6 +17,7 @@ declare const mnAlertVariants: tailwind_variants.TVReturnType<{
|
|
|
17
17
|
warning: string;
|
|
18
18
|
error: string;
|
|
19
19
|
default: string;
|
|
20
|
+
accent: string;
|
|
20
21
|
};
|
|
21
22
|
variant: {
|
|
22
23
|
fill: string;
|
|
@@ -30,6 +31,7 @@ declare const mnAlertVariants: tailwind_variants.TVReturnType<{
|
|
|
30
31
|
warning: string;
|
|
31
32
|
error: string;
|
|
32
33
|
default: string;
|
|
34
|
+
accent: string;
|
|
33
35
|
};
|
|
34
36
|
variant: {
|
|
35
37
|
fill: string;
|
|
@@ -43,6 +45,7 @@ declare const mnAlertVariants: tailwind_variants.TVReturnType<{
|
|
|
43
45
|
warning: string;
|
|
44
46
|
error: string;
|
|
45
47
|
default: string;
|
|
48
|
+
accent: string;
|
|
46
49
|
};
|
|
47
50
|
variant: {
|
|
48
51
|
fill: string;
|
|
@@ -160,6 +163,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
160
163
|
danger: string;
|
|
161
164
|
warning: string;
|
|
162
165
|
success: string;
|
|
166
|
+
accent: string;
|
|
163
167
|
};
|
|
164
168
|
borderRadius: {
|
|
165
169
|
none: string;
|
|
@@ -192,6 +196,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
192
196
|
danger: string;
|
|
193
197
|
warning: string;
|
|
194
198
|
success: string;
|
|
199
|
+
accent: string;
|
|
195
200
|
};
|
|
196
201
|
borderRadius: {
|
|
197
202
|
none: string;
|
|
@@ -224,6 +229,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
224
229
|
danger: string;
|
|
225
230
|
warning: string;
|
|
226
231
|
success: string;
|
|
232
|
+
accent: string;
|
|
227
233
|
};
|
|
228
234
|
borderRadius: {
|
|
229
235
|
none: string;
|
|
@@ -3046,7 +3052,7 @@ declare class MnCustomBodyHostComponent implements OnInit {
|
|
|
3046
3052
|
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
3053
|
}
|
|
3048
3054
|
|
|
3049
|
-
declare class MnTable<T = any> implements OnInit, OnDestroy {
|
|
3055
|
+
declare class MnTable<T = any> implements OnInit, OnDestroy, DoCheck {
|
|
3050
3056
|
dataSource: TableDataSource<T>;
|
|
3051
3057
|
sortChange: EventEmitter<SortState | null>;
|
|
3052
3058
|
selectionChange: EventEmitter<T[]>;
|
|
@@ -3060,6 +3066,13 @@ declare class MnTable<T = any> implements OnInit, OnDestroy {
|
|
|
3060
3066
|
private dataSubscription?;
|
|
3061
3067
|
private searchSubject;
|
|
3062
3068
|
private searchSubscription?;
|
|
3069
|
+
/** Tracks the previous toolbar template reference for change detection. */
|
|
3070
|
+
private previousToolbarTemplate?;
|
|
3071
|
+
/**
|
|
3072
|
+
* Checks for changes to dataSource properties that are not covered
|
|
3073
|
+
* by Angular's default change detection (e.g. toolbarTemplate).
|
|
3074
|
+
*/
|
|
3075
|
+
ngDoCheck(): void;
|
|
3063
3076
|
ngOnInit(): void;
|
|
3064
3077
|
ngOnDestroy(): void;
|
|
3065
3078
|
onSearch(searchString: string): void;
|