import { Directive , ViewContainerRef , ContentChildren } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; let input = [ 'shapePath' , 'shapeValue' ] ; let outputs = [ ] ; /**
 * Layer Directive
 * ```html
 * <e-layers>
 * <e-layer>
 * <e-initialShapeSelections>
 * <e-initialShapeSelection>
 * </e-initialShapeSelection>
 * </e-initialShapeSelections>
 * </e-layer>
 * </e-layers>
 * ```
 */ @ Directive ( { selector : 'e-layer>e-initialShapeSelections>e-initialShapeSelection' , inputs : input , outputs : outputs , queries : { } } ) export class InitialShapeSelectionDirective extends ComplexBase < InitialShapeSelectionDirective > { public directivePropList : any ; default public shapePath : any ; default public shapeValue : any ; constructor ( private viewContainerRef ) { super ( ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . registerEvents ( outputs ) ; this . directivePropList = input ; } } private @ Directive ( { selector : 'e-layer>e-initialShapeSelections' , queries : { children : new ContentChildren ( InitialShapeSelectionDirective ) } , } ) export class InitialShapeSelectionsDirective extends ArrayBase < InitialShapeSelectionsDirective > { constructor ( ) { super ( 'initialshapeselection' ) ; } }