diff --git a/demo-shell-ng2/app/app.component.ts b/demo-shell-ng2/app/app.component.ts index 766bbdd6fd..47329d1491 100644 --- a/demo-shell-ng2/app/app.component.ts +++ b/demo-shell-ng2/app/app.component.ts @@ -21,7 +21,7 @@ import { Router } from '@angular/router'; import { AlfrescoTranslationService, AlfrescoAuthenticationService, - AlfrescoSettingsService, + SettingsService, StorageService } from 'ng2-alfresco-core'; @@ -40,7 +40,7 @@ export class AppComponent { constructor(public auth: AlfrescoAuthenticationService, public router: Router, - public alfrescoSettingsService: AlfrescoSettingsService, + public settingsService: SettingsService, private translate: AlfrescoTranslationService, private storage: StorageService) { this.setEcmHost(); @@ -118,25 +118,25 @@ export class AppComponent { private setEcmHost() { if (this.storage.hasItem(`ecmHost`)) { - this.alfrescoSettingsService.ecmHost = this.storage.getItem(`ecmHost`); + this.settingsService.ecmHost = this.storage.getItem(`ecmHost`); this.ecmHost = this.storage.getItem(`ecmHost`); } else { - this.alfrescoSettingsService.ecmHost = this.ecmHost; + this.settingsService.ecmHost = this.ecmHost; } } private setBpmHost() { if (this.storage.hasItem(`bpmHost`)) { - this.alfrescoSettingsService.bpmHost = this.storage.getItem(`bpmHost`); + this.settingsService.bpmHost = this.storage.getItem(`bpmHost`); this.bpmHost = this.storage.getItem(`bpmHost`); } else { - this.alfrescoSettingsService.bpmHost = this.bpmHost; + this.settingsService.bpmHost = this.bpmHost; } } private setProvider() { if (this.storage.hasItem(`providers`)) { - this.alfrescoSettingsService.setProviders(this.storage.getItem(`providers`)); + this.settingsService.setProviders(this.storage.getItem(`providers`)); } } } diff --git a/demo-shell-ng2/app/components/setting/setting.component.ts b/demo-shell-ng2/app/components/setting/setting.component.ts index 3fd9278643..f5c96045aa 100644 --- a/demo-shell-ng2/app/components/setting/setting.component.ts +++ b/demo-shell-ng2/app/components/setting/setting.component.ts @@ -16,7 +16,7 @@ */ import { Component } from '@angular/core'; -import { AlfrescoSettingsService, StorageService } from 'ng2-alfresco-core'; +import { SettingsService, StorageService } from 'ng2-alfresco-core'; @Component({ selector: 'alfresco-setting-demo', @@ -28,23 +28,23 @@ export class SettingComponent { ecmHost: string; bpmHost: string; - constructor(public alfrescoSettingsService: AlfrescoSettingsService, + constructor(public settingsService: SettingsService, private storage: StorageService) { - this.ecmHost = this.alfrescoSettingsService.ecmHost; - this.bpmHost = this.alfrescoSettingsService.bpmHost; + this.ecmHost = this.settingsService.ecmHost; + this.bpmHost = this.settingsService.bpmHost; } public onChangeECMHost(event: KeyboardEvent): void { console.log((event.target).value); this.ecmHost = (event.target).value; - this.alfrescoSettingsService.ecmHost = this.ecmHost; + this.settingsService.ecmHost = this.ecmHost; this.storage.setItem(`ecmHost`, this.ecmHost); } public onChangeBPMHost(event: KeyboardEvent): void { console.log((event.target).value); this.bpmHost = (event.target).value; - this.alfrescoSettingsService.bpmHost = this.bpmHost; + this.settingsService.bpmHost = this.bpmHost; this.storage.setItem(`bpmHost`, this.bpmHost); } diff --git a/ng2-components/ng2-activiti-analytics/demo/src/main.ts b/ng2-components/ng2-activiti-analytics/demo/src/main.ts index 67e19a017f..32438783c9 100644 --- a/ng2-components/ng2-activiti-analytics/demo/src/main.ts +++ b/ng2-components/ng2-activiti-analytics/demo/src/main.ts @@ -18,7 +18,7 @@ import { NgModule, Component, OnInit } 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 { AnalyticsModule } from 'ng2-activiti-analytics'; @Component({ @@ -61,7 +61,7 @@ export class AnalyticsDemoComponent implements OnInit { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.bpmHost = this.host; settingsService.setProviders('BPM'); diff --git a/ng2-components/ng2-activiti-diagrams/demo/src/main.ts b/ng2-components/ng2-activiti-diagrams/demo/src/main.ts index cf673fabdb..4b54e4470e 100644 --- a/ng2-components/ng2-activiti-diagrams/demo/src/main.ts +++ b/ng2-components/ng2-activiti-diagrams/demo/src/main.ts @@ -19,7 +19,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 { DiagramsModule } from 'ng2-activiti-diagrams'; @Component({ @@ -51,7 +51,7 @@ export class DiagramDemoComponent { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.bpmHost = this.host; settingsService.setProviders('BPM'); diff --git a/ng2-components/ng2-activiti-diagrams/src/services/diagrams.service.ts b/ng2-components/ng2-activiti-diagrams/src/services/diagrams.service.ts index 0beda69bd6..67fbb7f83b 100644 --- a/ng2-components/ng2-activiti-diagrams/src/services/diagrams.service.ts +++ b/ng2-components/ng2-activiti-diagrams/src/services/diagrams.service.ts @@ -25,11 +25,11 @@ export class DiagramsService { constructor(private authService: AuthService, private http: Http, - private alfrescoSettingsService: SettingsService) { + private settingsService: SettingsService) { } getProcessDefinitionModel(processDefinitionId: string): Observable { - let url = `${this.alfrescoSettingsService.getBPMApiBaseUrl()}/app/rest/process-definitions/${processDefinitionId}/model-json`; + let url = `${this.settingsService.getBPMApiBaseUrl()}/app/rest/process-definitions/${processDefinitionId}/model-json`; let options = this.getRequestOptions(); return this.http .get(url, options) diff --git a/ng2-components/ng2-activiti-form/demo/src/main.ts b/ng2-components/ng2-activiti-form/demo/src/main.ts index c933643a38..a896591d5f 100644 --- a/ng2-components/ng2-activiti-form/demo/src/main.ts +++ b/ng2-components/ng2-activiti-form/demo/src/main.ts @@ -18,7 +18,7 @@ import { NgModule, Component, OnInit } 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 { ActivitiFormModule } from 'ng2-activiti-form'; @Component({ @@ -50,7 +50,7 @@ export class FormDemoComponent implements OnInit { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.bpmHost = this.host; settingsService.setProviders('BPM'); diff --git a/ng2-components/ng2-activiti-processlist/demo/src/main.ts b/ng2-components/ng2-activiti-processlist/demo/src/main.ts index 07aa099838..aed9811da8 100644 --- a/ng2-components/ng2-activiti-processlist/demo/src/main.ts +++ b/ng2-components/ng2-activiti-processlist/demo/src/main.ts @@ -28,7 +28,7 @@ import { ActivitiStartProcessInstance, ProcessInstance } from 'ng2-activiti-processlist'; -import { AlfrescoAuthenticationService, AlfrescoSettingsService, StorageService } from 'ng2-alfresco-core'; +import { AlfrescoAuthenticationService, SettingsService, StorageService } from 'ng2-alfresco-core'; import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable'; const currentProcessIdNew = '__NEW__'; @@ -161,7 +161,7 @@ class MyDemoApp implements OnInit { dataProcesses: ObjectDataTableAdapter; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.bpmHost = this.host; settingsService.setProviders('BPM'); diff --git a/ng2-components/ng2-activiti-processlist/src/components/activiti-process-instance-header.component.spec.ts b/ng2-components/ng2-activiti-processlist/src/components/activiti-process-instance-header.component.spec.ts index de16f4629c..28bb4e5f65 100644 --- a/ng2-components/ng2-activiti-processlist/src/components/activiti-process-instance-header.component.spec.ts +++ b/ng2-components/ng2-activiti-processlist/src/components/activiti-process-instance-header.component.spec.ts @@ -22,7 +22,7 @@ import { AlfrescoTranslationService, CoreModule, AlfrescoAuthenticationService, - AlfrescoSettingsService, + SettingsService, AlfrescoApiService } from 'ng2-alfresco-core'; import { ActivitiProcessInstanceHeader } from './activiti-process-instance-header.component'; @@ -48,7 +48,7 @@ describe('ActivitiProcessInstanceHeader', () => { ActivitiProcessComments ], providers: [ - AlfrescoSettingsService, + SettingsService, AlfrescoAuthenticationService, AlfrescoApiService, ActivitiProcessService, diff --git a/ng2-components/ng2-activiti-tasklist/demo/src/main.ts b/ng2-components/ng2-activiti-tasklist/demo/src/main.ts index 7708062fca..9361a88752 100644 --- a/ng2-components/ng2-activiti-tasklist/demo/src/main.ts +++ b/ng2-components/ng2-activiti-tasklist/demo/src/main.ts @@ -26,7 +26,7 @@ import { ActivitiTaskList } from 'ng2-activiti-tasklist'; import { CoreModule } from 'ng2-alfresco-core'; -import { AlfrescoAuthenticationService, AlfrescoSettingsService, StorageService } from 'ng2-alfresco-core'; +import { AlfrescoAuthenticationService, SettingsService, StorageService } from 'ng2-alfresco-core'; import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable'; @Component({ @@ -145,7 +145,7 @@ class MyDemoApp implements OnInit { dataTasks: ObjectDataTableAdapter; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.bpmHost = this.host; settingsService.setProviders('BPM'); diff --git a/ng2-components/ng2-alfresco-core/src/services/settings.service.spec.ts b/ng2-components/ng2-alfresco-core/src/services/settings.service.spec.ts index 56759c77a8..ec5b7452c8 100644 --- a/ng2-components/ng2-alfresco-core/src/services/settings.service.spec.ts +++ b/ng2-components/ng2-alfresco-core/src/services/settings.service.spec.ts @@ -17,7 +17,7 @@ import { SettingsService } from './settings.service'; -describe('AlfrescoSettingsService', () => { +describe('SettingsService', () => { let service: SettingsService; diff --git a/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts b/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts index 20286d923b..7999fb140a 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts @@ -19,7 +19,7 @@ import { NgModule, Component, OnInit, ViewChild } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { DocumentListModule, DocumentList, DocumentActionsService } from 'ng2-alfresco-documentlist'; -import { CoreModule, StorageService, SettingsService, AuthService, AlfrescoTranslateService } from 'ng2-alfresco-core'; +import { CoreModule, StorageService, SettingsService, AuthService, AlfrescoTranslationService } from 'ng2-alfresco-core'; @Component({ selector: 'alfresco-app-demo', @@ -129,7 +129,7 @@ class DocumentListDemo implements OnInit { constructor(private authService: AuthService, private settingsService: SettingsService, - private translateService: AlfrescoTranslateService, + private translateService: AlfrescoTranslationService, private documentActions: DocumentActionsService, private storage: StorageService) { diff --git a/ng2-components/ng2-alfresco-documentlist/src/assets/document-list.service.mock.ts b/ng2-components/ng2-alfresco-documentlist/src/assets/document-list.service.mock.ts index d3851e8a61..414087c380 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/assets/document-list.service.mock.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/assets/document-list.service.mock.ts @@ -20,7 +20,7 @@ import { NodePaging } from './../models/document-library.model'; import { PageNode } from './document-library.model.mock'; import { DocumentListService } from './../services/document-list.service'; import { - AlfrescoSettingsService, + SettingsService, AlfrescoAuthenticationService, AlfrescoContentService, AlfrescoApiService @@ -33,7 +33,7 @@ export class DocumentListServiceMock extends DocumentListService { getFolderRejectError: string = 'Error'; constructor( - settings?: AlfrescoSettingsService, + settings?: SettingsService, authService?: AlfrescoAuthenticationService, contentService?: AlfrescoContentService, apiService?: AlfrescoApiService diff --git a/ng2-components/ng2-alfresco-login/demo/src/main.ts b/ng2-components/ng2-alfresco-login/demo/src/main.ts index 186f595ee5..307a669e32 100644 --- a/ng2-components/ng2-alfresco-login/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-login/demo/src/main.ts @@ -19,7 +19,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 { LoginModule } from 'ng2-alfresco-login'; @Component({ @@ -74,7 +74,7 @@ export class AppComponent { public disableCsrf: boolean = false; constructor(public auth: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.ecmHost = this.ecmHost; diff --git a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.spec.ts b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.spec.ts index d32d9d5fd9..dddc4c9d30 100644 --- a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.spec.ts +++ b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.spec.ts @@ -19,7 +19,7 @@ import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { DebugElement } from '@angular/core'; import { AlfrescoAuthenticationService, - AlfrescoSettingsService, + SettingsService, AlfrescoApiService, CoreModule } from 'ng2-alfresco-core'; @@ -43,7 +43,7 @@ describe('AlfrescoLogin', () => { ], declarations: [AlfrescoLoginComponent], providers: [ - AlfrescoSettingsService, + SettingsService, AlfrescoAuthenticationService, AlfrescoApiService, {provide: AlfrescoAuthenticationService, useClass: AuthenticationMock}, diff --git a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.ts b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.ts index af1cb015d3..e9df2f563e 100644 --- a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.ts +++ b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.ts @@ -20,7 +20,7 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms'; import { AlfrescoTranslationService, AlfrescoAuthenticationService, - AlfrescoSettingsService + SettingsService } from 'ng2-alfresco-core'; import { FormSubmitEvent } from '../models/form-submit-event.model'; @@ -80,7 +80,7 @@ export class AlfrescoLoginComponent implements OnInit { */ constructor(private _fb: FormBuilder, public authService: AlfrescoAuthenticationService, - public settingsService: AlfrescoSettingsService, + public settingsService: SettingsService, private translate: AlfrescoTranslationService) { translate.addTranslationFolder('ng2-alfresco-login', 'node_modules/ng2-alfresco-login/src'); diff --git a/ng2-components/ng2-alfresco-search/demo/src/main.ts b/ng2-components/ng2-alfresco-search/demo/src/main.ts index df8ea13e5f..f08ef8e5e2 100644 --- a/ng2-components/ng2-alfresco-search/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-search/demo/src/main.ts @@ -23,7 +23,7 @@ import { CoreModule } from 'ng2-alfresco-core'; import { SearchModule } from 'ng2-alfresco-search'; import { - AlfrescoSettingsService, + SettingsService, AlfrescoAuthenticationService, AlfrescoTranslationService } from 'ng2-alfresco-core'; @@ -58,7 +58,7 @@ class SearchDemo implements OnInit { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, translation: AlfrescoTranslationService) { settingsService.ecmHost = this.ecmHost; diff --git a/ng2-components/ng2-alfresco-tag/demo/src/main.ts b/ng2-components/ng2-alfresco-tag/demo/src/main.ts index 774505635c..43b17511ce 100644 --- a/ng2-components/ng2-alfresco-tag/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-tag/demo/src/main.ts @@ -19,7 +19,7 @@ import { NgModule, Component, Input, OnInit } 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 { TagModule } from 'ng2-alfresco-tag'; @Component({ @@ -60,7 +60,7 @@ class TagDemo implements OnInit { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.ecmHost = this.ecmHost; diff --git a/ng2-components/ng2-alfresco-tag/src/services/tag.service.spec.ts b/ng2-components/ng2-alfresco-tag/src/services/tag.service.spec.ts index 440d376cb9..7ed1e03aed 100644 --- a/ng2-components/ng2-alfresco-tag/src/services/tag.service.spec.ts +++ b/ng2-components/ng2-alfresco-tag/src/services/tag.service.spec.ts @@ -18,7 +18,7 @@ import { ReflectiveInjector } from '@angular/core'; import { AlfrescoAuthenticationService, - AlfrescoSettingsService, + SettingsService, AlfrescoApiService, StorageService } from 'ng2-alfresco-core'; @@ -32,7 +32,7 @@ describe('Tag service', () => { beforeEach(() => { injector = ReflectiveInjector.resolveAndCreate([ - AlfrescoSettingsService, + SettingsService, AlfrescoApiService, AlfrescoAuthenticationService, TagService, diff --git a/ng2-components/ng2-alfresco-upload/demo/src/main.ts b/ng2-components/ng2-alfresco-upload/demo/src/main.ts index 2331aa3d29..d53fa954a3 100644 --- a/ng2-components/ng2-alfresco-upload/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-upload/demo/src/main.ts @@ -19,7 +19,7 @@ import { NgModule, Component, OnInit } 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 { UploadModule } from 'ng2-alfresco-upload'; @Component({ @@ -114,7 +114,7 @@ export class MyDemoApp implements OnInit { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.ecmHost = this.ecmHost; settingsService.setProviders('ECM'); diff --git a/ng2-components/ng2-alfresco-userinfo/demo/src/main.ts b/ng2-components/ng2-alfresco-userinfo/demo/src/main.ts index f2c4b9d6df..cf67e2fc78 100644 --- a/ng2-components/ng2-alfresco-userinfo/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-userinfo/demo/src/main.ts @@ -21,7 +21,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { UserInfoComponentModule } from 'ng2-alfresco-userinfo'; import { CoreModule } from 'ng2-alfresco-core'; import { LoginModule } from 'ng2-alfresco-login'; -import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core'; +import { AlfrescoAuthenticationService, SettingsService } from 'ng2-alfresco-core'; @Component({ selector: 'alfresco-app-demo', @@ -93,7 +93,7 @@ class UserInfoDemo implements OnInit { public disableCsrf: boolean = false; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService) { + private settingsService: SettingsService) { settingsService.ecmHost = this.ecmHost; settingsService.bpmHost = this.bpmHost; } diff --git a/ng2-components/ng2-alfresco-viewer/demo/src/main.ts b/ng2-components/ng2-alfresco-viewer/demo/src/main.ts index 68ffbaa99a..de0597bc5b 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-viewer/demo/src/main.ts @@ -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'); diff --git a/ng2-components/ng2-alfresco-viewer/src/componets/imgViewer.component.spec.ts b/ng2-components/ng2-alfresco-viewer/src/componets/imgViewer.component.spec.ts index f7fc9c562f..9acd3784e9 100644 --- a/ng2-components/ng2-alfresco-viewer/src/componets/imgViewer.component.spec.ts +++ b/ng2-components/ng2-alfresco-viewer/src/componets/imgViewer.component.spec.ts @@ -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 ] diff --git a/ng2-components/ng2-alfresco-viewer/src/componets/mediaPlayer.component.spec.ts b/ng2-components/ng2-alfresco-viewer/src/componets/mediaPlayer.component.spec.ts index 7f9600dda9..126b66ffe8 100644 --- a/ng2-components/ng2-alfresco-viewer/src/componets/mediaPlayer.component.spec.ts +++ b/ng2-components/ng2-alfresco-viewer/src/componets/mediaPlayer.component.spec.ts @@ -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 ] diff --git a/ng2-components/ng2-alfresco-viewer/src/componets/notSupportedFormat.component.spec.ts b/ng2-components/ng2-alfresco-viewer/src/componets/notSupportedFormat.component.spec.ts index 4e87868bd8..748e9d3870 100644 --- a/ng2-components/ng2-alfresco-viewer/src/componets/notSupportedFormat.component.spec.ts +++ b/ng2-components/ng2-alfresco-viewer/src/componets/notSupportedFormat.component.spec.ts @@ -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 ] diff --git a/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.spec.ts b/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.spec.ts index c99b5e9532..fb996e5064 100644 --- a/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.spec.ts +++ b/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.spec.ts @@ -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 diff --git a/ng2-components/ng2-alfresco-viewer/src/componets/viewer.component.spec.ts b/ng2-components/ng2-alfresco-viewer/src/componets/viewer.component.spec.ts index e610f0b329..63b46cfd5e 100644 --- a/ng2-components/ng2-alfresco-viewer/src/componets/viewer.component.spec.ts +++ b/ng2-components/ng2-alfresco-viewer/src/componets/viewer.component.spec.ts @@ -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 diff --git a/ng2-components/ng2-alfresco-webscript/demo/src/main.ts b/ng2-components/ng2-alfresco-webscript/demo/src/main.ts index 9cf2f155ae..31b4052e2f 100644 --- a/ng2-components/ng2-alfresco-webscript/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-webscript/demo/src/main.ts @@ -19,7 +19,7 @@ import { NgModule, Component, OnInit } 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 { DataTableModule } from 'ng2-alfresco-datatable'; import { WebScriptModule } from 'ng2-alfresco-webscript'; @@ -63,7 +63,7 @@ class WebscriptDemo implements OnInit { ticket: string; constructor(private authService: AlfrescoAuthenticationService, - private settingsService: AlfrescoSettingsService, + private settingsService: SettingsService, private storage: StorageService) { settingsService.ecmHost = this.ecmHost;