From c9534fd161dc0c32fba17152d412dc9139e22dc5 Mon Sep 17 00:00:00 2001 From: Xing Date: Tue, 10 Jan 2017 11:07:34 -0800 Subject: [PATCH] chore(package): update ng2-bootstrap to 1.3.0 --- package.json | 2 +- src/app/pages/forms/forms.module.ts | 4 ++-- src/app/pages/ui/ui.module.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b3953004..0f051c4c 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "leaflet": "^0.7.7", "leaflet-map": "^0.2.1", "lodash": "^4.12.0", - "ng2-bootstrap": "1.1.14", + "ng2-bootstrap": "^1.3.0", "ng2-ckeditor": "1.0.7", "ng2-smart-table": "^0.3.2", "ng2-tree": "^0.0.2-7", diff --git a/src/app/pages/forms/forms.module.ts b/src/app/pages/forms/forms.module.ts index 40fe484c..0619f5a1 100644 --- a/src/app/pages/forms/forms.module.ts +++ b/src/app/pages/forms/forms.module.ts @@ -5,7 +5,7 @@ import { NgaModule } from '../../theme/nga.module'; import { routing } from './forms.routing'; -import { RatingModule } from 'ng2-bootstrap/ng2-bootstrap'; +import { RatingModule } from 'ng2-bootstrap'; import { Forms } from './forms.component'; import { Inputs } from './components/inputs'; import { Layouts } from './components/layouts'; @@ -28,7 +28,7 @@ import { WithoutLabelsForm } from './components/layouts/components/withoutLabels CommonModule, AngularFormsModule, NgaModule, - RatingModule, + RatingModule.forRoot(), routing ], declarations: [ diff --git a/src/app/pages/ui/ui.module.ts b/src/app/pages/ui/ui.module.ts index 83c4619e..5ed69b2b 100644 --- a/src/app/pages/ui/ui.module.ts +++ b/src/app/pages/ui/ui.module.ts @@ -4,7 +4,7 @@ import { FormsModule } from '@angular/forms'; import { NgaModule } from '../../theme/nga.module'; import { routing } from './ui.routing'; -import { DropdownModule, ModalModule } from 'ng2-bootstrap/ng2-bootstrap'; +import { DropdownModule, ModalModule } from 'ng2-bootstrap'; import { Ui } from './ui.component'; import { Buttons } from './components/buttons/buttons.component'; import { Grid } from './components/grid/grid.component'; @@ -28,8 +28,8 @@ import { IconsService } from './components/icons/icons.service'; CommonModule, FormsModule, NgaModule, - DropdownModule, - ModalModule, + DropdownModule.forRoot(), + ModalModule.forRoot(), routing ], declarations: [