mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
Merge branch 'w2p-89741_Add-themeable-components_conntribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch
This commit is contained in:
@@ -7,6 +7,7 @@ import { CoreModule } from '../core/core.module';
|
||||
import { NavbarEffects } from './navbar.effects';
|
||||
import { NavbarSectionComponent } from './navbar-section/navbar-section.component';
|
||||
import { ExpandableNavbarSectionComponent } from './expandable-navbar-section/expandable-navbar-section.component';
|
||||
import { ThemedExpandableNavbarSectionComponent } from './expandable-navbar-section/themed-expandable-navbar-section.component';
|
||||
import { NavbarComponent } from './navbar.component';
|
||||
import { MenuModule } from '../shared/menu/menu.module';
|
||||
import { SharedModule } from '../shared/shared.module';
|
||||
@@ -20,30 +21,31 @@ const effects = [
|
||||
const ENTRY_COMPONENTS = [
|
||||
// put only entry components that use custom decorator
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent,
|
||||
ThemedExpandableNavbarSectionComponent,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
SharedModule,
|
||||
MenuModule,
|
||||
FormsModule,
|
||||
EffectsModule.forFeature(effects),
|
||||
CoreModule.forRoot()
|
||||
],
|
||||
declarations: [
|
||||
NavbarComponent,
|
||||
ThemedNavbarComponent,
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent
|
||||
],
|
||||
providers: [],
|
||||
exports: [
|
||||
ThemedNavbarComponent,
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent
|
||||
]
|
||||
imports: [
|
||||
CommonModule,
|
||||
SharedModule,
|
||||
MenuModule,
|
||||
FormsModule,
|
||||
EffectsModule.forFeature(effects),
|
||||
CoreModule.forRoot()
|
||||
],
|
||||
declarations: [
|
||||
NavbarComponent,
|
||||
ThemedNavbarComponent,
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent,
|
||||
ThemedExpandableNavbarSectionComponent,
|
||||
],
|
||||
providers: [],
|
||||
exports: [
|
||||
ThemedNavbarComponent,
|
||||
NavbarSectionComponent,
|
||||
ThemedExpandableNavbarSectionComponent
|
||||
]
|
||||
})
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user