8e0a66c8f5ed6efcb3dd20022e128d33bcb0462a
[sdc.git] / catalog-ui / src / app / ng2 / components / ui / ui-elements.module.ts
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 import {NgModule} from '@angular/core';
22 import {NavbarModule} from "./navbar/navbar.module";
23 import {DynamicElementModule} from "./dynamic-element/dynamic-element.module";
24 import {FormElementsModule} from "./form-components/form-elements.module";
25 import {LoaderComponent} from "./loader/loader.component";
26 import {ModalModule} from "./modal/modal.module";
27 import {PopoverModule} from "./popover/popover.module";
28 import {SearchBarComponent} from "./search-bar/search-bar.component";
29 import {SearchWithAutoCompleteComponent} from "./search-with-autocomplete/search-with-autocomplete.component";
30 import { PaletteAnimationComponent } from "app/ng2/pages/composition/palette/palette-animation/palette-animation.component";
31 import {TabModule} from "./tabs/tabs.module";
32 import {TooltipModule} from "./tooltip/tooltip.module";
33 import {CommonModule} from "@angular/common";
34 import {FormsModule} from "@angular/forms";
35 import {BrowserModule} from "@angular/platform-browser";
36 import {MultiStepsWizardModule} from "./multi-steps-wizard/multi-steps-wizard.module";
37 import {MenuListModule} from "./menu/menu-list.module";
38 import {MenuListNg2Module} from "../downgrade-wrappers/menu-list-ng2/menu-list-ng2.module";
39 import {ExpandCollapseComponent} from './expand-collapse/expand-collapse.component';
40 import {SdcUiComponentsModule} from "onap-ui-angular";
41 import {SdcTileModule} from "./tile/sdc-tile.module";
42 import {PerfectScrollbarDirective} from "./perfect-scroll-bar/perfect-scrollbar.directive";
43 import {FileOpenerComponent} from "./file-opener/file-opener.component";
44 import {DownloadArtifactComponent} from "app/ng2/components/ui/download-artifact/download-artifact.component";
45 import {SdcElementIconComponent} from "./sdc-element-icon/sdc-element-icon.component";
46 import {PanelWrapperComponent} from "./panel-wrapper/panel-wrapper.component";
47 import { ModalImportTypeComponent } from './modal-import-type/modal-import-type.component';
48
49 @NgModule({
50     declarations: [
51         LoaderComponent,
52         SearchBarComponent,
53         SearchWithAutoCompleteComponent,
54         PaletteAnimationComponent,
55         ExpandCollapseComponent,
56         PerfectScrollbarDirective,
57         FileOpenerComponent,
58         SdcElementIconComponent,
59         DownloadArtifactComponent,
60         PanelWrapperComponent,
61         ModalImportTypeComponent
62     ],
63
64     imports: [
65         SdcUiComponentsModule,
66         BrowserModule,
67         FormsModule,
68         CommonModule,
69         DynamicElementModule,
70         NavbarModule,
71         FormElementsModule,
72         ModalModule,
73         PopoverModule,
74         TabModule,
75         TooltipModule,
76         MultiStepsWizardModule,
77         MenuListModule,
78         MenuListNg2Module,
79         SdcTileModule
80     ],
81     exports: [
82         LoaderComponent,
83         MultiStepsWizardModule,
84         SearchBarComponent,
85         SearchWithAutoCompleteComponent,
86         DynamicElementModule,
87         NavbarModule,
88         FormElementsModule,
89         ModalModule,
90         PopoverModule,
91         TabModule,
92         TooltipModule,
93         MenuListModule,
94         MenuListNg2Module,
95         PaletteAnimationComponent,
96         ExpandCollapseComponent,
97         SdcTileModule,
98         PerfectScrollbarDirective,
99         SdcElementIconComponent,
100         FileOpenerComponent,
101         DownloadArtifactComponent,
102         PanelWrapperComponent,
103         ModalImportTypeComponent
104     ],
105     entryComponents: [SearchWithAutoCompleteComponent, SdcElementIconComponent, PaletteAnimationComponent]
106 })
107
108 export class UiElementsModule {
109 }