mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#1370 Remove use of AlfrescoSettingsService
This commit is contained in:
@@ -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');
|
||||
|
@@ -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
|
||||
]
|
||||
|
@@ -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
|
||||
]
|
||||
|
@@ -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
|
||||
]
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user