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 = [ 'col' , 'content' , 'cssClass' , 'enabled' , 'header' , 'id' , 'maxSizeX' , 'maxSizeY' , 'minSizeX' , 'minSizeY' , 'row' , 'sizeX' , 'sizeY' , 'zIndex' ] ; let outputs = [ ] ; /**
 * 'e-panels' directive represent a panels of angular dashboardlayout
 * It must be contained in a dashboardlayout component(`ej-dashboardlayout`).
 * ```html
 * <ejs-dashboardlayout>
 *   <e-panels>
 *    <e-panel></e-panel>
 *    <e-panel></e-panel>
 *   </e-panels>
 * </ejs-dashboardlayout>
 * ```
 */ @ Directive ( { selector : 'e-panels>e-panel' , inputs : input , outputs : outputs , queries : { } } ) export class PanelDirective extends ComplexBase < PanelDirective > { public directivePropList : any ; default asptype public col : any ; default public cssClass : any ; default public enabled : any ; default public id : any ; default asptype public maxSizeX : any ; default asptype public maxSizeY : any ; default public minSizeX : any ; default public minSizeY : any ; default asptype public row : any ; default public sizeX : any ; default public sizeY : any ; default asptype public zIndex : any ; /**
     * Defines the template value that should be displayed as the panel's header.
     */ @ ContentChild ( 'header' ) @ Template ( ) public header : any ; /**
     * Defines the template value that should be displayed as the panel's content.
     */ @ ContentChild ( 'content' ) @ Template ( ) public content : any ; constructor ( private viewContainerRef ) { super ( ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . registerEvents ( outputs ) ; this . directivePropList = input ; } } private @ Directive ( { selector : 'ejs-dashboardlayout>e-panels' , queries : { children : new ContentChildren ( PanelDirective ) } , } ) export class PanelsDirective extends ArrayBase < PanelsDirective > { constructor ( ) { super ( 'panels' ) ; } }