mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add missing exports and declarations (#2901)
This commit is contained in:
committed by
Eugenio Romano
parent
5c4aaa4f92
commit
8cd2190f37
@@ -19,23 +19,26 @@ import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { MaterialModule } from '../material.module';
|
||||
|
||||
import { InfoDrawerLayoutComponent } from './info-drawer-layout.component';
|
||||
import { InfoDrawerLayoutComponent, InfoDrawerTitleDirective, InfoDrawerButtonsDirective, InfoDrawerContentDirective } from './info-drawer-layout.component';
|
||||
import { InfoDrawerComponent, InfoDrawerTabComponent } from './info-drawer.component';
|
||||
|
||||
export function declarations() {
|
||||
return [
|
||||
InfoDrawerLayoutComponent,
|
||||
InfoDrawerTabComponent,
|
||||
InfoDrawerComponent,
|
||||
InfoDrawerTitleDirective,
|
||||
InfoDrawerButtonsDirective,
|
||||
InfoDrawerContentDirective
|
||||
];
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
MaterialModule
|
||||
],
|
||||
declarations: [
|
||||
InfoDrawerLayoutComponent,
|
||||
InfoDrawerTabComponent,
|
||||
InfoDrawerComponent
|
||||
],
|
||||
exports: [
|
||||
InfoDrawerLayoutComponent,
|
||||
InfoDrawerTabComponent,
|
||||
InfoDrawerComponent
|
||||
]
|
||||
declarations: declarations(),
|
||||
exports: declarations()
|
||||
})
|
||||
export class InfoDrawerModule {}
|
||||
|
@@ -20,7 +20,16 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { MaterialModule } from '../material.module';
|
||||
|
||||
import { SidebarActionMenuComponent } from './sidebar-action-menu.component';
|
||||
import { SidebarActionMenuComponent, SidebarMenuDirective, SidebarMenuExpandIconDirective, SidebarMenuTitleIconDirective } from './sidebar-action-menu.component';
|
||||
|
||||
export function declarations() {
|
||||
return [
|
||||
SidebarActionMenuComponent,
|
||||
SidebarMenuDirective,
|
||||
SidebarMenuExpandIconDirective,
|
||||
SidebarMenuTitleIconDirective
|
||||
];
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -28,11 +37,7 @@ import { SidebarActionMenuComponent } from './sidebar-action-menu.component';
|
||||
MaterialModule,
|
||||
FlexLayoutModule
|
||||
],
|
||||
declarations: [
|
||||
SidebarActionMenuComponent
|
||||
],
|
||||
exports: [
|
||||
SidebarActionMenuComponent
|
||||
]
|
||||
declarations: declarations(),
|
||||
exports: declarations()
|
||||
})
|
||||
export class SideBarActionModule {}
|
||||
|
Reference in New Issue
Block a user