import { Directive , ViewContainerRef , ContentChildren } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; let input = [ 'addInfo' , 'constraints' , 'height' , 'horizontalAlignment' , 'id' , 'inEdges' , 'margin' , 'offset' , 'outEdges' , 'pathData' , 'shape' , 'style' , 'verticalAlignment' , 'visibility' , 'width' ] ; let outputs = [ ] ; /**
 * Nodes Directive
 * ```html
 * <e-nodes>
 * <e-node>
 * <e-node-ports>
 * <e-node-port>
 * </e-node-port>
 * </e-node-ports>
 * </e-node>
 * </e-nodes>
 * ```
 */ @ Directive ( { selector : 'e-node>e-node-ports>e-node-port' , inputs : input , outputs : outputs , queries : { } } ) export class PortDirective extends ComplexBase < PortDirective > { public directivePropList : any ; aspdefaultvalueignore default public addInfo : any ; default aspnumberenum public constraints : any ; default public height : any ; default public horizontalAlignment : any ; default public id : any ; default blazordefaultvalue public inEdges : any ; default public margin : any ; default blazortype public offset : any ; default blazordefaultvalue public outEdges : any ; default public pathData : any ; default public shape : any ; default public style : any ; default public verticalAlignment : any ; default aspnumberenum public visibility : any ; default public width : any ; constructor ( private viewContainerRef ) { super ( ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . registerEvents ( outputs ) ; this . directivePropList = input ; } } private @ Directive ( { selector : 'e-node>e-node-ports' , queries : { children : new ContentChildren ( PortDirective ) } , } ) export class PortsDirective extends ArrayBase < PortsDirective > { constructor ( ) { super ( 'ports' ) ; } }