import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { ContainersModule } from 'chipmunk-client-material' ; import { LayoutComponent } from './component' ; import { LayoutStatusBarComponent } from './bar.status/component' ; import { LayoutFocusHolderComponent } from './focus.holder/component' ; import { LayoutContextMenuComponent } from './contextmenu/component' ; import { LayoutSessionSidebarComponent } from './area.sidebar/component' ; import { LayoutSessionSidebarCaptionComponent } from './area.sidebar.caption/component' ; import { LayoutSessionSidebarControlsComponent } from './area.sidebar/controls/component' ; import { LayoutPrimaryAreaComponent } from './area.primary/component' ; import { LayoutPrimiryAreaControlsComponent } from './area.primary/controls/component' ; import { LayoutPrimiryAreaNoTabsComponent } from './area.primary/no-tabs-content/component' ; import { LayoutSecondaryAreaComponent } from './area.secondary/component' ; import { LayoutSecondaryAreaControlsComponent } from './area.secondary/controls/component' ; import { EnvironmentComponentsModule } from '../components/module' ; import { AppsBarStatusModule } from '../apps/bar.status/module' ; const entryComponents = [ LayoutStatusBarComponent , LayoutFocusHolderComponent , LayoutContextMenuComponent , LayoutSessionSidebarComponent , LayoutSessionSidebarCaptionComponent , LayoutSessionSidebarControlsComponent , LayoutPrimaryAreaComponent , LayoutPrimiryAreaControlsComponent , LayoutPrimiryAreaNoTabsComponent , LayoutSecondaryAreaComponent , LayoutSecondaryAreaControlsComponent , ] ; const components = [ LayoutComponent , ... entryComponents ] ; @ NgModule ( { entryComponents : [ ... entryComponents ] , imports : [ CommonModule , ContainersModule , EnvironmentComponentsModule , AppsBarStatusModule ] , declarations : [ ... components ] , exports : [ ... components ] , } ) export class LayoutModule { constructor ( ) { } }