@ -5,20 +5,19 @@ import {
Component ,
Component ,
computed ,
computed ,
ContentChild ,
ContentChild ,
EventEmitter ,
inject ,
inject ,
Injector ,
Injector ,
Input ,
Input ,
LOCALE_ID ,
LOCALE_ID ,
OnChanges ,
OnChanges ,
OnDestroy ,
OnDestroy ,
Output ,
PLATFORM_ID ,
PLATFORM_ID ,
signal ,
signal ,
SimpleChanges ,
SimpleChanges ,
TemplateRef ,
TemplateRef ,
TrackByFunction ,
TrackByFunction ,
ViewChild ,
ViewChild ,
output
} from '@angular/core' ;
} from '@angular/core' ;
import { AsyncPipe , isPlatformBrowser , NgComponentOutlet , NgTemplateOutlet } from '@angular/common' ;
import { AsyncPipe , isPlatformBrowser , NgComponentOutlet , NgTemplateOutlet } from '@angular/common' ;
@ -118,7 +117,7 @@ export class ExtensibleTableComponent<R = any> implements OnChanges, AfterViewIn
@Input ( ) actionsTemplate? : TemplateRef < any > ;
@Input ( ) actionsTemplate? : TemplateRef < any > ;
@Output ( ) tableActivate = new EventEmitter ( ) ;
readonly tableActivate = output ( ) ;
@Input ( ) selectable = false ;
@Input ( ) selectable = false ;
@ -128,18 +127,18 @@ export class ExtensibleTableComponent<R = any> implements OnChanges, AfterViewIn
_selectionType : SelectionType = SelectionType . multiClick ;
_selectionType : SelectionType = SelectionType . multiClick ;
@Input ( ) selected : any [ ] = [ ] ;
@Input ( ) selected : any [ ] = [ ] ;
@Output ( ) selectionChange = new EventEmitter < any [ ] > ( ) ;
readonly selectionChange = output < any [ ] > ( ) ;
// Infinite scroll configuration
// Infinite scroll configuration
@Input ( ) infiniteScroll = false ;
@Input ( ) infiniteScroll = false ;
@Input ( ) isLoading = false ;
@Input ( ) isLoading = false ;
@Input ( ) scrollThreshold = 10 ;
@Input ( ) scrollThreshold = 10 ;
@Output ( ) loadMore = new EventEmitter < void > ( ) ;
readonly loadMore = output < void > ( ) ;
@Input ( ) tableHeight : number ;
@Input ( ) tableHeight : number ;
@Input ( ) rowDetailTemplate? : TemplateRef < RowDetailContext < R > > ;
@Input ( ) rowDetailTemplate? : TemplateRef < RowDetailContext < R > > ;
@Input ( ) rowDetailHeight : string | number = '100%' ;
@Input ( ) rowDetailHeight : string | number = '100%' ;
@Output ( ) rowDetailToggle = new EventEmitter < R > ( ) ;
readonly rowDetailToggle = output < R > ( ) ;
@ContentChild ( ExtensibleTableRowDetailComponent )
@ContentChild ( ExtensibleTableRowDetailComponent )
rowDetailComponent? : ExtensibleTableRowDetailComponent < R > ;
rowDetailComponent? : ExtensibleTableRowDetailComponent < R > ;