1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/settings/map/map.settings.component.ts

33 lines
1.2 KiB
TypeScript
Raw Normal View History

2017-07-14 05:39:09 +08:00
import {Component} from "@angular/core";
import {MapSettingsService} from "./map.settings.service";
import {SettingsComponent} from "../_abstract/abstract.settings.component";
import {AuthenticationService} from "../../model/network/authentication.service";
import {NavigationService} from "../../model/navigation.service";
import {NotificationService} from "../../model/notification.service";
2017-07-15 18:47:11 +08:00
import {ClientConfig} from "../../../../common/config/public/ConfigClass";
2018-03-30 08:30:23 +08:00
import {I18n} from "@ngx-translate/i18n-polyfill";
2017-07-14 05:39:09 +08:00
@Component({
selector: 'settings-map',
templateUrl: './map.settings.component.html',
2017-07-15 18:47:11 +08:00
styleUrls: ['./map.settings.component.css',
'./../_abstract/abstract.settings.component.css'],
2017-07-14 05:39:09 +08:00
providers: [MapSettingsService],
})
2017-07-15 18:47:11 +08:00
export class MapSettingsComponent extends SettingsComponent<ClientConfig.MapConfig> {
2017-07-14 05:39:09 +08:00
constructor(_authService: AuthenticationService,
_navigation: NavigationService,
2017-07-15 20:27:12 +08:00
_settingsService: MapSettingsService,
2018-03-30 08:30:23 +08:00
notification: NotificationService,
i18n: I18n) {
super(i18n("Map"), _authService, _navigation, <any>_settingsService, notification, i18n, s => s.Client.Map);
2017-07-14 05:39:09 +08:00
}
}