re base code
[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 { ExpandCollapseComponent } from './expand-collapse/expand-collapse.component';
43 import { SdcUiComponentsModule } from "sdc-ui/lib/angular";
44 import { TileModule } from "./tile/tile.module";
45
46 @NgModule({
47   declarations: [
48     LoaderComponent,
49     SearchBarComponent,
50     SearchWithAutoCompleteComponent,
51     PalettePopupPanelComponent,
52     ZoneContainerComponent,
53     ZoneInstanceComponent,
54     PaletteAnimationComponent,
55     ExpandCollapseComponent
56 ],
57   
58   imports: [
59     SdcUiComponentsModule,
60     BrowserModule,
61     FormsModule,
62     CommonModule,
63     DynamicElementModule,
64     NavbarModule,
65     FormElementsModule,
66     ModalModule,
67     PopoverModule,
68     TabModule,
69     TooltipModule,
70     MultiStepsWizardModule,
71     MenuListModule,
72     MenuListNg2Module,
73     TileModule
74   ],
75   exports: [
76     LoaderComponent,
77     MultiStepsWizardModule,
78     SearchBarComponent,
79     SearchWithAutoCompleteComponent,
80     PalettePopupPanelComponent,
81     ZoneContainerComponent,
82     ZoneInstanceComponent,
83     DynamicElementModule,
84     NavbarModule,
85     FormElementsModule,
86     ModalModule,
87     PopoverModule,
88     TabModule,
89     TooltipModule,
90     MenuListModule,
91     MenuListNg2Module,
92     PaletteAnimationComponent,
93     ExpandCollapseComponent,
94     TileModule
95   ],
96   entryComponents: [SearchWithAutoCompleteComponent, PalettePopupPanelComponent, ZoneContainerComponent, ZoneInstanceComponent, PaletteAnimationComponent]
97 })
98
99 export class UiElementsModule {}