import { Directive , ViewContainerRef , ContentChildren , ContentChild } from '@angular/core' ; import { ComplexBase , ArrayBase , setValue } from '@syncfusion/ej2-angular-base' ; import { Template } from '@syncfusion/ej2-angular-base' ; let input = [ 'axisIndex' , 'axisValue' , 'content' , 'font' , 'horizontalAlignment' , 'verticalAlignment' , 'x' , 'y' , 'zIndex' ] ; let outputs = [ ] ; /**
 * Annotation directive
 * ```html
 * <e-annotations><e-annotation></e-annotation></e-annotations>
 * ```
 */ @ Directive ( { selector : 'e-annotations>e-annotation' , inputs : input , outputs : outputs , queries : { } } ) export class AnnotationDirective extends ComplexBase < AnnotationDirective > { public directivePropList : any ; aspdefaultvalueignore public axisIndex : any ; aspdefaultvalueignore public axisValue : any ; /**
     * Sets and gets the options to customize the font of the annotation in linear gauge.
     */ public font : any ; default public horizontalAlignment : any ; default public verticalAlignment : any ; /**
     * Sets and gets the x position for the annotation in linear gauge.
     */ public x : any ; /**
     * Sets and gets the y position for the annotation in linear gauge.
     */ public y : any ; default public zIndex : any ; /**
     * Sets and gets the content for the annotations.
     */ @ ContentChild ( 'content' ) @ Template ( ) public content : any ; constructor ( private viewContainerRef ) { super ( ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . registerEvents ( outputs ) ; this . directivePropList = input ; } } private @ Directive ( { selector : 'ej-linear-gauge>e-annotations' , queries : { children : new ContentChildren ( AnnotationDirective ) } , } ) export class AnnotationsDirective extends ArrayBase < AnnotationsDirective > { constructor ( ) { super ( 'annotations' ) ; } }