Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | import { NgModule } from '@angular/core'; |
| 17 | import { CommonModule } from '@angular/common'; |
| 18 | import { UtilModule } from '../util/util.module'; |
| 19 | |
| 20 | import { GeoDataService } from './geodata.service'; |
| 21 | import { GlyphService } from './glyph.service'; |
| 22 | import { GlyphDataService } from './glyphdata.service'; |
| 23 | import { IconService } from './icon.service'; |
| 24 | import { MapService } from './map.service'; |
| 25 | import { SpriteService } from './sprite.service'; |
| 26 | import { SpriteDataService } from './spritedata.service'; |
| 27 | import { SvgUtilService } from './svgutil.service'; |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 28 | import { IconComponent } from './icon/icon.component'; |
| 29 | |
| 30 | /** |
| 31 | * ONOS GUI -- Scalable Vector Graphics Module |
| 32 | */ |
| 33 | @NgModule({ |
| 34 | exports: [ |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 35 | IconComponent |
| 36 | ], |
| 37 | imports: [ |
| 38 | CommonModule, |
| 39 | UtilModule |
| 40 | ], |
| 41 | declarations: [ |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 42 | IconComponent |
| 43 | ], |
| 44 | providers: [ |
| 45 | GeoDataService, |
| 46 | GlyphService, |
| 47 | GlyphDataService, |
| 48 | IconService, |
| 49 | MapService, |
| 50 | SpriteService, |
| 51 | SpriteDataService, |
| 52 | SvgUtilService |
| 53 | ] |
| 54 | }) |
| 55 | export class SvgModule { } |