import { Directive , ViewContainerRef , ContentChildren } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; let input = [ 'addInfo' , 'id' , 'lock' , 'objects' , 'visible' , 'zIndex' ] ; let outputs = [ ] ; /**
 * Layers Directive
 * ```html
 * <e-layers>
 * <e-layer></e-layer>
 * </e-layers>
 * ```
 */ @ Directive ( { selector : 'e-layers>e-layer' , inputs : input , outputs : outputs , queries : { } } ) export class LayerDirective extends ComplexBase < LayerDirective > { public directivePropList : any ; aspdefaultvalueignore default public addInfo : any ; default public id : any ; default public lock : any ; aspdefaultvalueignore default public objects : any ; default public visible : any ; default public zIndex : any ; constructor ( private viewContainerRef ) { super ( ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . registerEvents ( outputs ) ; this . directivePropList = input ; } } private @ Directive ( { selector : 'ej-diagram>e-layers' , queries : { children : new ContentChildren ( LayerDirective ) } , } ) export class LayersDirective extends ArrayBase < LayersDirective > { constructor ( ) { super ( 'layers' ) ; } }