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 = [ 'annotationAngle' , 'annotationRadius' , 'content' ] ; let outputs = [ ] ; /**
 * ProgressBarAnnotations Directive
 * ```html
 * <e-progressbar-annotations>
 * <e-progressbar-annotation></e-progressbar-annotation>
 * </e-progressbar-annotations>
 * ```
 */ @ Directive ( { selector : 'e-progressbar-annotations>e-progressbar-annotation' , inputs : input , outputs : outputs , queries : { } } ) export class ProgressBarAnnotationDirective extends ComplexBase < ProgressBarAnnotationDirective > { public directivePropList : any ; default public annotationAngle : any ; default public annotationRadius : any ; default @ 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-progressbar>e-progressbar-annotations' , queries : { children : new ContentChildren ( ProgressBarAnnotationDirective ) } , } ) export class ProgressBarAnnotationsDirective extends ArrayBase < ProgressBarAnnotationsDirective > { constructor ( ) { super ( 'annotations' ) ; } }