-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e888d67
commit 2101a89
Showing
21 changed files
with
27 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
import {NgModule, ModuleWithProviders} from '@angular/core'; | ||
import {CommonModule} from '@angular/common'; | ||
|
||
import {NGB_ALERT_DIRECTIVES, NgbAlert} from './alert'; | ||
import {NgbAlert} from './alert'; | ||
import {NgbAlertConfig} from './alert-config'; | ||
|
||
export {NgbAlert} from './alert'; | ||
export {NgbAlertConfig} from './alert-config'; | ||
|
||
@NgModule({ | ||
declarations: NGB_ALERT_DIRECTIVES, | ||
exports: NGB_ALERT_DIRECTIVES, | ||
imports: [CommonModule], | ||
entryComponents: [NgbAlert] | ||
}) | ||
@NgModule({declarations: [NgbAlert], exports: [NgbAlert], imports: [CommonModule], entryComponents: [NgbAlert]}) | ||
export class NgbAlertModule { | ||
static forRoot(): ModuleWithProviders { return {ngModule: NgbAlertModule, providers: [NgbAlertConfig]}; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import {NgModule, ModuleWithProviders} from '@angular/core'; | ||
import {CommonModule} from '@angular/common'; | ||
|
||
import {NGB_PAGINATION_DIRECTIVES} from './pagination'; | ||
import {NgbPagination} from './pagination'; | ||
import {NgbPaginationConfig} from './pagination-config'; | ||
|
||
export {NgbPagination} from './pagination'; | ||
export {NgbPaginationConfig} from './pagination-config'; | ||
|
||
@NgModule({declarations: NGB_PAGINATION_DIRECTIVES, exports: NGB_PAGINATION_DIRECTIVES, imports: [CommonModule]}) | ||
@NgModule({declarations: [NgbPagination], exports: [NgbPagination], imports: [CommonModule]}) | ||
export class NgbPaginationModule { | ||
static forRoot(): ModuleWithProviders { return {ngModule: NgbPaginationModule, providers: [NgbPaginationConfig]}; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import {NgModule, ModuleWithProviders} from '@angular/core'; | ||
|
||
import {NGB_POPOVER_DIRECTIVES, NgbPopoverWindow} from './popover'; | ||
import {NgbPopover, NgbPopoverWindow} from './popover'; | ||
import {NgbPopoverConfig} from './popover-config'; | ||
|
||
export {NgbPopover} from './popover'; | ||
export {NgbPopoverConfig} from './popover-config'; | ||
|
||
@NgModule({declarations: NGB_POPOVER_DIRECTIVES, exports: NGB_POPOVER_DIRECTIVES, entryComponents: [NgbPopoverWindow]}) | ||
@NgModule({declarations: [NgbPopover, NgbPopoverWindow], exports: [NgbPopover], entryComponents: [NgbPopoverWindow]}) | ||
export class NgbPopoverModule { | ||
static forRoot(): ModuleWithProviders { return {ngModule: NgbPopoverModule, providers: [NgbPopoverConfig]}; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import {NgModule, ModuleWithProviders} from '@angular/core'; | ||
import {NGB_PROGRESSBAR_DIRECTIVES} from './progressbar'; | ||
import {NgbProgressbar} from './progressbar'; | ||
import {NgbProgressbarConfig} from './progressbar-config'; | ||
|
||
export {NgbProgressbar} from './progressbar'; | ||
export {NgbProgressbarConfig} from './progressbar-config'; | ||
|
||
@NgModule({declarations: NGB_PROGRESSBAR_DIRECTIVES, exports: NGB_PROGRESSBAR_DIRECTIVES}) | ||
@NgModule({declarations: [NgbProgressbar], exports: [NgbProgressbar]}) | ||
export class NgbProgressbarModule { | ||
static forRoot(): ModuleWithProviders { return {ngModule: NgbProgressbarModule, providers: [NgbProgressbarConfig]}; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,5 +140,3 @@ export class NgbRating implements OnInit, | |
return range; | ||
} | ||
} | ||
|
||
export const NGB_RATING_DIRECTIVES = [NgbRating]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import {NgModule, ModuleWithProviders} from '@angular/core'; | ||
import {CommonModule} from '@angular/common'; | ||
|
||
import {NGB_TIMEPICKER_DIRECTIVES} from './timepicker'; | ||
import {NgbTimepicker} from './timepicker'; | ||
import {NgbTimepickerConfig} from './timepicker-config'; | ||
|
||
export {NgbTimepicker} from './timepicker'; | ||
export {NgbTimepickerConfig} from './timepicker-config'; | ||
export {NgbTimeStruct} from './ngb-time-struct'; | ||
|
||
@NgModule({declarations: NGB_TIMEPICKER_DIRECTIVES, exports: NGB_TIMEPICKER_DIRECTIVES, imports: [CommonModule]}) | ||
@NgModule({declarations: [NgbTimepicker], exports: [NgbTimepicker], imports: [CommonModule]}) | ||
export class NgbTimepickerModule { | ||
static forRoot(): ModuleWithProviders { return {ngModule: NgbTimepickerModule, providers: [NgbTimepickerConfig]}; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters