2018-03-31 03:30:30 +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 {ShareSettingsService} from './share.settings.service';
|
|
|
|
import {I18n} from '@ngx-translate/i18n-polyfill';
|
2017-07-15 21:29:04 +08:00
|
|
|
|
|
|
|
@Component({
|
2018-05-04 07:17:08 +08:00
|
|
|
selector: 'app-settings-share',
|
2017-07-15 21:29:04 +08:00
|
|
|
templateUrl: './share.settings.component.html',
|
|
|
|
styleUrls: ['./share.settings.component.css',
|
|
|
|
'./../_abstract/abstract.settings.component.css'],
|
|
|
|
providers: [ShareSettingsService],
|
|
|
|
})
|
|
|
|
export class ShareSettingsComponent extends SettingsComponent<ClientConfig.SharingConfig> {
|
|
|
|
|
|
|
|
constructor(_authService: AuthenticationService,
|
|
|
|
_navigation: NavigationService,
|
|
|
|
_settingsService: ShareSettingsService,
|
2018-03-30 08:30:23 +08:00
|
|
|
notification: NotificationService,
|
|
|
|
i18n: I18n) {
|
2018-03-31 03:30:30 +08:00
|
|
|
super(i18n('Share'), _authService, _navigation, _settingsService, notification, i18n, s => s.Client.Sharing);
|
2017-07-15 21:29:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|