2018-03-30 21:30:30 +02: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';
|
|
|
|
import {I18n} from '@ngx-translate/i18n-polyfill';
|
2017-07-15 14:27:12 +02:00
|
|
|
|
|
|
|
@Component({
|
2018-05-04 01:17:08 +02:00
|
|
|
selector: 'app-settings-search',
|
2017-07-15 14:27:12 +02:00
|
|
|
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,
|
2018-03-30 02:30:23 +02:00
|
|
|
notification: NotificationService,
|
|
|
|
i18n: I18n) {
|
2018-03-30 21:30:30 +02:00
|
|
|
super(i18n('Search'), _authService, _navigation, _settingsService, notification, i18n, s => s.Client.Search);
|
2017-07-15 14:27:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|