Sync Integ to Master
[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 {PalettePopupPanelComponent} from "./palette-popup-panel/palette-popup-panel.component";
31 import {ZoneContainerComponent} from "./canvas-zone/zone-container.component";
32 import {ZoneInstanceComponent } from "./canvas-zone/zone-instance/zone-instance.component";
33 import {PaletteAnimationComponent} from "./palette-animation/palette-animation.component"
34 import {TabModule} from "./tabs/tabs.module";
35 import {TooltipModule} from "./tooltip/tooltip.module";
36 import {CommonModule} from "@angular/common";
37 import {FormsModule} from "@angular/forms";
38 import {BrowserModule} from "@angular/platform-browser";
39 import {MultiStepsWizardModule} from "./multi-steps-wizard/multi-steps-wizard.module";
40 import {MenuListModule} from "./menu/menu-list.module";
41 import {MenuListNg2Module} from "../downgrade-wrappers/menu-list-ng2/menu-list-ng2.module";
42 //import {SdcUiComponentsModule} from "sdc-ui/lib/angular";
43
44 @NgModule({
45   declarations: [
46     LoaderComponent,
47     SearchBarComponent,
48     SearchWithAutoCompleteComponent,
49     PalettePopupPanelComponent,
50     ZoneContainerComponent,
51     ZoneInstanceComponent,
52     PaletteAnimationComponent
53 ],
54
55   imports: [
56     //SdcUiComponentsModule,
57     BrowserModule,
58     FormsModule,
59     CommonModule,
60     DynamicElementModule,
61     NavbarModule,
62     FormElementsModule,
63     ModalModule,
64     PopoverModule,
65     TabModule,
66     TooltipModule,
67     MultiStepsWizardModule,
68     MenuListModule,
69     MenuListNg2Module
70   ],
71   exports: [
72     LoaderComponent,
73     MultiStepsWizardModule,
74     SearchBarComponent,
75     SearchWithAutoCompleteComponent,
76     PalettePopupPanelComponent,
77     ZoneContainerComponent,
78     ZoneInstanceComponent,
79     DynamicElementModule,
80     NavbarModule,
81     FormElementsModule,
82     ModalModule,
83     PopoverModule,
84     TabModule,
85     TooltipModule,
86     MenuListModule,
87     MenuListNg2Module,
88     PaletteAnimationComponent
89   ],
90   entryComponents: [SearchWithAutoCompleteComponent, PalettePopupPanelComponent, ZoneContainerComponent, ZoneInstanceComponent, PaletteAnimationComponent]
91 })
92
93 export class UiElementsModule {}