#1370 Remove use of AlfrescoSettingsService

This commit is contained in:
mauriziovitale84
2017-01-04 13:30:43 +00:00
parent 61b94488d8
commit 58af422d62
27 changed files with 62 additions and 62 deletions

View File

@@ -18,7 +18,7 @@
import { NgModule, Component } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { CoreModule, AlfrescoSettingsService, AlfrescoAuthenticationService, StorageService } from 'ng2-alfresco-core';
import { CoreModule, SettingsService, AlfrescoAuthenticationService, StorageService } from 'ng2-alfresco-core';
import { ViewerModule } from 'ng2-alfresco-viewer';
@Component({
@@ -55,7 +55,7 @@ class MyDemoApp {
ticket: string;
constructor(private authService: AlfrescoAuthenticationService,
private settingsService: AlfrescoSettingsService,
private settingsService: SettingsService,
private storage: StorageService) {
settingsService.ecmHost = this.ecmHost;
settingsService.setProviders('ECM');

View File

@@ -20,7 +20,7 @@ import { ImgViewerComponent } from './imgViewer.component';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AlfrescoSettingsService,
SettingsService,
AlfrescoApiService,
CoreModule
} from 'ng2-alfresco-core';
@@ -39,7 +39,7 @@ describe('Test ng2-alfresco-viewer Img viewer component ', () => {
],
declarations: [ImgViewerComponent],
providers: [
AlfrescoSettingsService,
SettingsService,
AlfrescoAuthenticationService,
AlfrescoApiService
]

View File

@@ -20,7 +20,7 @@ import { MediaPlayerComponent } from './mediaPlayer.component';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AlfrescoSettingsService,
SettingsService,
AlfrescoApiService,
CoreModule
} from 'ng2-alfresco-core';
@@ -39,7 +39,7 @@ describe('Test ng2-alfresco-viewer Media player component ', () => {
],
declarations: [MediaPlayerComponent],
providers: [
AlfrescoSettingsService,
SettingsService,
AlfrescoAuthenticationService,
AlfrescoApiService
]

View File

@@ -20,7 +20,7 @@ import { NotSupportedFormat } from './notSupportedFormat.component';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AlfrescoSettingsService,
SettingsService,
AlfrescoApiService,
CoreModule
} from 'ng2-alfresco-core';
@@ -39,7 +39,7 @@ describe('Test ng2-alfresco-viewer Not Supported Format View component', () => {
],
declarations: [NotSupportedFormat],
providers: [
AlfrescoSettingsService,
SettingsService,
AlfrescoAuthenticationService,
AlfrescoApiService
]

View File

@@ -22,7 +22,7 @@ import { EventMock } from '../assets/event.mock';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AlfrescoSettingsService,
SettingsService,
AlfrescoApiService,
CoreModule
} from 'ng2-alfresco-core';
@@ -41,7 +41,7 @@ describe('Test ng2-alfresco-viewer PdfViewer component', () => {
],
declarations: [PdfViewerComponent],
providers: [
AlfrescoSettingsService,
SettingsService,
AlfrescoAuthenticationService,
AlfrescoApiService,
RenderingQueueServices

View File

@@ -26,7 +26,7 @@ import { EventMock } from '../assets/event.mock';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AlfrescoSettingsService,
SettingsService,
AlfrescoApiService,
CoreModule
} from 'ng2-alfresco-core';
@@ -53,7 +53,7 @@ describe('Test ng2-alfresco-viewer ViewerComponent', () => {
ImgViewerComponent
],
providers: [
AlfrescoSettingsService,
SettingsService,
AlfrescoAuthenticationService,
AlfrescoApiService,
RenderingQueueServices