import { Component , ElementRef , ViewContainerRef , Renderer2 , Injector , ChangeDetectionStrategy , QueryList , ValueProvider } from '@angular/core' ; import { ComponentBase , ComponentMixins , IComponentBase , applyMixins , PropertyCollectionInfo , setValue } from '@syncfusion/ej2-angular-base' ; import { Sidebar } from '@syncfusion/ej2-navigations' ; export const inputs = [ 'animate' , 'closeOnDocumentClick' , 'dockSize' , 'enableDock' , 'enableGestures' , 'enablePersistence' , 'enableRtl' , 'height' , 'isOpen' , 'locale' , 'mediaQuery' , 'position' , 'showBackdrop' , 'target' , 'type' , 'width' , 'zIndex' ] ; export const outputs = [ 'change' , 'close' , 'created' , 'destroyed' , 'open' , 'isOpenChange' ] ; export const twoWays = [ 'isOpen' ] ; /**
 * Represents the Essential JS 2 Angular Sidebar Component.
 * ```html
 * <ejs-sidebar></ejs-sidebar>
 * ```
 */ @ Component ( { selector : 'ejs-sidebar' , inputs : inputs , outputs : outputs , template : `<ng-content ></ng-content>` , changeDetection : ChangeDetectionStrategy . OnPush , queries : { } } ) @ ComponentMixins ( [ ComponentBase ] ) export class SidebarComponent extends Sidebar implements IComponentBase { public containerContext : any ; public tagObjects : any ; change : any ; close : any ; created : any ; destroyed : any ; open : any ; public isOpenChange : any ; constructor ( private ngEle , private srenderer , private viewContainerRef , private injector ) { super ( ) ; this . element = this . ngEle . nativeElement ; this . injectedModules = this . injectedModules || [ ] ; this . registerEvents ( outputs ) ; this . addTwoWay . call ( this , twoWays ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . containerContext = new ComponentBase ( ) ; } public ngOnInit ( ) { this . containerContext . ngOnInit ( this ) ; } public ngAfterViewInit ( ) { this . containerContext . ngAfterViewInit ( this ) ; } public ngOnDestroy ( ) { this . containerContext . ngOnDestroy ( this ) ; } public ngAfterContentChecked ( ) { this . containerContext . ngAfterContentChecked ( this ) ; } public registerEvents : ( eventList : string [ ] ) => void ; public addTwoWay : ( propList : string [ ] ) => void ; }