import { Directive , ViewContainerRef , ContentChildren , ContentChild } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; import { NodeFixedUserHandlesDirective } from './node-fixeduserhandle.directive' ; import { NodeAnnotationsDirective } from './node-annotation.directive' ; import { PortsDirective } from './ports.directive' ; let input = [ 'addInfo' , 'annotations' , 'backgroundColor' , 'borderColor' , 'borderWidth' , 'branch' , 'children' , 'collapseIcon' , 'columnIndex' , 'columnSpan' , 'columns' , 'constraints' , 'container' , 'data' , 'dragSize' , 'excludeFromLayout' , 'expandIcon' , 'fixedUserHandles' , 'flip' , 'height' , 'horizontalAlignment' , 'id' , 'isExpanded' , 'layoutInfo' , 'margin' , 'maxHeight' , 'maxWidth' , 'minHeight' , 'minWidth' , 'offsetX' , 'offsetY' , 'pivot' , 'ports' , 'previewSize' , 'rotateAngle' , 'rowIndex' , 'rowSpan' , 'rows' , 'shadow' , 'shape' , 'style' , 'symbolInfo' , 'tooltip' , 'verticalAlignment' , 'visible' , 'width' , 'wrapper' , 'zIndex' ] ; let outputs = [ ] ; /**
 * Nodes Directive
 * ```html
 * <e-nodes>
 * <e-node></e-node>
 * </e-nodes>
 * ```
 */ @ Directive ( { selector : 'e-nodes>e-node' , inputs : input , outputs : outputs , queries : { childFixedUserHandles : new ContentChild ( NodeFixedUserHandlesDirective ) , childAnnotations : new ContentChild ( NodeAnnotationsDirective ) , childPorts : new ContentChild ( PortsDirective ) } } ) export class NodeDirective extends ComplexBase < NodeDirective > { public directivePropList : any ; public childFixedUserHandles : any ; public childAnnotations : any ; public childPorts : any ; public tags : string [ ] = [ 'fixedUserHandles' , 'annotations' , 'ports' ] ; aspdefaultvalueignore default public addInfo : any ; aspdefaultvalueignore default public annotations : any ; default public backgroundColor : any ; deprecated default public borderColor : any ; deprecated default public borderWidth : any ; aspdefaultvalueignore default public branch : any ; aspdefaultvalueignore default public children : any ; default public collapseIcon : any ; aspdefaultvalueignore default public columnIndex : any ; aspdefaultvalueignore default public columnSpan : any ; aspdefaultvalueignore default public columns : any ; default aspnumberenum public constraints : any ; aspdefaultvalueignore default deprecated public container : any ; /**
     * Sets the data source of the node
     */ public data : any ; aspdefaultvalueignore default public dragSize : any ; default public excludeFromLayout : any ; default public expandIcon : any ; aspdefaultvalueignore default public fixedUserHandles : any ; aspdefaultvalueignore default public flip : any ; aspdefaultvalueignore default public height : any ; default public horizontalAlignment : any ; default public id : any ; default public isExpanded : any ; default asptype public layoutInfo : any ; default public margin : any ; aspdefaultvalueignore default public maxHeight : any ; aspdefaultvalueignore default public maxWidth : any ; aspdefaultvalueignore default public minHeight : any ; aspdefaultvalueignore default public minWidth : any ; default public offsetX : any ; default public offsetY : any ; default public pivot : any ; aspdefaultvalueignore default public ports : any ; aspdefaultvalueignore default public previewSize : any ; default public rotateAngle : any ; aspdefaultvalueignore default public rowIndex : any ; aspdefaultvalueignore default public rowSpan : any ; aspdefaultvalueignore deprecated default public rows : any ; default public shadow : any ; default asptype public shape : any ; default asptype public style : any ; aspdefaultvalueignore default ignoreapilink public symbolInfo : any ; default public tooltip : any ; default public verticalAlignment : any ; default public visible : any ; aspdefaultvalueignore default public width : any ; default deprecated public wrapper : 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-nodes' , queries : { children : new ContentChildren ( NodeDirective ) } , } ) export class NodesDirective extends ArrayBase < NodesDirective > { constructor ( ) { super ( 'nodes' ) ; } }