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 { NgModule } from '@angular/core';
|
||||||
import { MaterialModule } from '../material.module';
|
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';
|
import { InfoDrawerComponent, InfoDrawerTabComponent } from './info-drawer.component';
|
||||||
|
|
||||||
|
export function declarations() {
|
||||||
|
return [
|
||||||
|
InfoDrawerLayoutComponent,
|
||||||
|
InfoDrawerTabComponent,
|
||||||
|
InfoDrawerComponent,
|
||||||
|
InfoDrawerTitleDirective,
|
||||||
|
InfoDrawerButtonsDirective,
|
||||||
|
InfoDrawerContentDirective
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
MaterialModule
|
MaterialModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: declarations(),
|
||||||
InfoDrawerLayoutComponent,
|
exports: declarations()
|
||||||
InfoDrawerTabComponent,
|
|
||||||
InfoDrawerComponent
|
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
InfoDrawerLayoutComponent,
|
|
||||||
InfoDrawerTabComponent,
|
|
||||||
InfoDrawerComponent
|
|
||||||
]
|
|
||||||
})
|
})
|
||||||
export class InfoDrawerModule {}
|
export class InfoDrawerModule {}
|
||||||
|
@@ -20,7 +20,16 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { MaterialModule } from '../material.module';
|
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({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@@ -28,11 +37,7 @@ import { SidebarActionMenuComponent } from './sidebar-action-menu.component';
|
|||||||
MaterialModule,
|
MaterialModule,
|
||||||
FlexLayoutModule
|
FlexLayoutModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: declarations(),
|
||||||
SidebarActionMenuComponent
|
exports: declarations()
|
||||||
],
|
|
||||||
exports: [
|
|
||||||
SidebarActionMenuComponent
|
|
||||||
]
|
|
||||||
})
|
})
|
||||||
export class SideBarActionModule {}
|
export class SideBarActionModule {}
|
||||||
|
Reference in New Issue
Block a user