import { Directive , ViewContainerRef , ContentChildren , ContentChild } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; import { ConnectorFixedUserHandlesDirective } from './connector-fixeduserhandle.directive' ; import { ConnectorAnnotationsDirective } from './connector-annotation.directive' ; let input = [ 'addInfo' , 'annotations' , 'bridgeSpace' , 'connectionPadding' , 'constraints' , 'cornerRadius' , 'dragSize' , 'excludeFromLayout' , 'fixedUserHandles' , 'flip' , 'hitPadding' , 'id' , 'margin' , 'previewSize' , 'segments' , 'shape' , 'sourceDecorator' , 'sourceID' , 'sourcePadding' , 'sourcePoint' , 'sourcePortID' , 'style' , 'symbolInfo' , 'targetDecorator' , 'targetID' , 'targetPadding' , 'targetPoint' , 'targetPortID' , 'tooltip' , 'type' , 'visible' , 'wrapper' , 'zIndex' ] ; let outputs = [ ] ; /**
 * Connectors Directive
 * ```html
 * <e-connectors>
 * <e-connector></e-connector>
 * </e-connectors>
 * ```
 */ @ Directive ( { selector : 'e-connectors>e-connector' , inputs : input , outputs : outputs , queries : { childFixedUserHandles : new ContentChild ( ConnectorFixedUserHandlesDirective ) , childAnnotations : new ContentChild ( ConnectorAnnotationsDirective ) } } ) export class ConnectorDirective extends ComplexBase < ConnectorDirective > { public directivePropList : any ; public childFixedUserHandles : any ; public childAnnotations : any ; public tags : string [ ] = [ 'fixedUserHandles' , 'annotations' ] ; default asptype public type : any ; aspdefaultvalueignore default public addInfo : any ; /**
     *
     */ public annotations : any ; default public bridgeSpace : any ; default public connectionPadding : any ; default aspnumberenum public constraints : any ; default public cornerRadius : any ; aspdefaultvalueignore default public dragSize : any ; default public excludeFromLayout : any ; aspdefaultvalueignore default public fixedUserHandles : any ; aspdefaultvalueignore default public flip : any ; default public hitPadding : any ; default public id : any ; default public margin : any ; aspdefaultvalueignore default public previewSize : any ; default asptype public segments : any ; default asptype public shape : any ; default public sourceDecorator : any ; default public sourceID : any ; default public sourcePadding : any ; default public sourcePoint : any ; default public sourcePortID : any ; default public style : any ; aspdefaultvalueignore default ignoreapilink public symbolInfo : any ; default public targetDecorator : any ; default public targetID : any ; default public targetPadding : any ; default public targetPoint : any ; default public targetPortID : any ; default public tooltip : any ; default public visible : 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-connectors' , queries : { children : new ContentChildren ( ConnectorDirective ) } , } ) export class ConnectorsDirective extends ArrayBase < ConnectorsDirective > { constructor ( ) { super ( 'connectors' ) ; } }