2017-07-15 20:27:12 +08:00
|
|
|
import {Component} from "@angular/core";
|
|
|
|
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";
|
|
|
|
import {ClientConfig} from "../../../../common/config/public/ConfigClass";
|
|
|
|
import {SearchSettingsService} from "./search.settings.service";
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'settings-search',
|
|
|
|
templateUrl: './search.settings.component.html',
|
|
|
|
styleUrls: ['./search.settings.component.css',
|
|
|
|
'./../_abstract/abstract.settings.component.css'],
|
|
|
|
providers: [SearchSettingsService],
|
|
|
|
})
|
|
|
|
export class SearchSettingsComponent extends SettingsComponent<ClientConfig.SearchConfig> {
|
|
|
|
|
|
|
|
constructor(_authService: AuthenticationService,
|
|
|
|
_navigation: NavigationService,
|
|
|
|
_settingsService: SearchSettingsService,
|
|
|
|
notification: NotificationService) {
|
2017-07-15 23:29:40 +08:00
|
|
|
super("Search", _authService, _navigation, _settingsService, notification, s => s.Client.Search);
|
2017-07-15 20:27:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|