|
|
|
@ -11,6 +11,7 @@ import { formatDate } from '@angular/common'; |
|
|
|
import { |
|
|
|
ChangeDetectionStrategy, |
|
|
|
Component, |
|
|
|
EventEmitter, |
|
|
|
Inject, |
|
|
|
InjectFlags, |
|
|
|
InjectionToken, |
|
|
|
@ -18,6 +19,7 @@ import { |
|
|
|
Input, |
|
|
|
LOCALE_ID, |
|
|
|
OnChanges, |
|
|
|
Output, |
|
|
|
SimpleChanges, |
|
|
|
TemplateRef, |
|
|
|
TrackByFunction, |
|
|
|
@ -63,6 +65,8 @@ export class ExtensibleTableComponent<R = any> implements OnChanges { |
|
|
|
} |
|
|
|
@Input() actionsTemplate: TemplateRef<any>; |
|
|
|
|
|
|
|
@Output() tableActivate = new EventEmitter(); |
|
|
|
|
|
|
|
getInjected: <T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T, flags?: InjectFlags) => T; |
|
|
|
|
|
|
|
hasAtLeastOnePermittedAction: boolean; |
|
|
|
@ -158,7 +162,6 @@ export class ExtensibleTableComponent<R = any> implements OnChanges { |
|
|
|
value, |
|
|
|
}; |
|
|
|
if (prop.value.component) { |
|
|
|
|
|
|
|
const injector = Injector.create({ |
|
|
|
providers: [ |
|
|
|
{ |
|
|
|
|