From e6df8ac7ba13228c6a44ea3565b0aeb2b53d2157 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 7 Jan 2019 16:27:32 +0530 Subject: 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 --- .../client/src/app/common/shared/shared.module.ts | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 cds-ui/client/src/app/common/shared/shared.module.ts (limited to 'cds-ui/client') 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 { } -- cgit 1.2.3-korg