From: Arundathi Patil Date: Mon, 7 Jan 2019 10:57:32 +0000 (+0530) Subject: Shared module X-Git-Tag: 0.4.2~325^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F75355%2F1;p=ccsdk%2Fcds.git Shared module This module bundles all the common components, directivs and pipes used across the application Issue-ID: CCSDK-816 Change-Id: I3d833558fb20722699ddc4a65bca8e8756ca925e Signed-off-by: Arundathi Patil --- diff --git a/cds-ui/client/src/app/common/shared/shared.module.ts b/cds-ui/client/src/app/common/shared/shared.module.ts new file mode 100644 index 000000000..202a41870 --- /dev/null +++ b/cds-ui/client/src/app/common/shared/shared.module.ts @@ -0,0 +1,59 @@ +/* +============LICENSE_START========================================== +=================================================================== +Copyright (C) 2018 IBM Intellectual Property. All rights reserved. +=================================================================== + +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the License); +you may not use this software except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END============================================ +*/ + +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +// import { HomeComponent } from './components/home/home.component'; +import { CBAWizardComponent } from './components/cbawizard/cbawizard.component'; +import { MatToolbarModule,MatIconModule, MatButtonModule, MatSidenavModule, MatListModule, MatGridListModule, MatCardModule, MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatInputModule, MatSelectModule, MatRadioModule, MatFormFieldModule, MatStepperModule} from '@angular/material'; +import { RouterModule } from "@angular/router"; + +@NgModule({ + declarations: [ + // HomeComponent, + CBAWizardComponent + ], + exports: [ + // HomeComponent, + CBAWizardComponent + ], + imports: [ + CommonModule, + MatToolbarModule, + MatButtonModule, + MatSidenavModule, + MatIconModule, + MatListModule, + MatGridListModule, + MatCardModule, + MatMenuModule, + MatTableModule, + MatPaginatorModule, + MatSortModule, + MatInputModule, + MatSelectModule, + MatRadioModule, + MatFormFieldModule, + MatStepperModule, + RouterModule + ] +}) +export class SharedModule { }