mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
renaming
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AlfrescoLoginComponent } from './src/components/alfresco-login';
|
||||
import { AlfrescoAuthenticationService } from './src/services/alfresco-authentication';
|
||||
import { AlfrescoLoginComponent } from './src/components/alfresco-login.component';
|
||||
import { AlfrescoAuthenticationService } from './src/services/alfresco-authentication.service';
|
||||
|
||||
export * from './src/components/alfresco-login';
|
||||
export * from './src/services/alfresco-authentication';
|
||||
export * from './src/components/alfresco-login.component';
|
||||
export * from './src/services/alfresco-authentication.service';
|
||||
|
||||
export default {
|
||||
directives: [AlfrescoLoginComponent],
|
||||
|
@@ -18,7 +18,7 @@
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { provide } from 'angular2/core';
|
||||
|
||||
import { AlfrescoAuthenticationService } from '../../src/services/alfresco-authentication';
|
||||
import { AlfrescoAuthenticationService } from './../services/alfresco-authentication.service';
|
||||
|
||||
export class AuthenticationMock {
|
||||
|
||||
|
@@ -32,9 +32,9 @@ import { Location, Router, RouteRegistry, ROUTER_PRIMARY_COMPONENT, Route } from
|
||||
import { RootRouter } from 'angular2/src/router/router';
|
||||
import { SpyLocation } from 'angular2/src/mock/location_mock';
|
||||
import { TranslateService } from 'ng2-translate/ng2-translate';
|
||||
import { AlfrescoLoginComponent } from './components/alfresco-login.component';
|
||||
import { AuthenticationMock } from '../assets/authentication.service.mock';
|
||||
import { TranslationMock } from '../assets/translation.service.mock';
|
||||
import { AlfrescoLoginComponent } from './alfresco-login.component';
|
||||
import { AuthenticationMock } from './../assets/authentication.service.mock';
|
||||
import { TranslationMock } from './../assets/translation.service.mock';
|
||||
|
||||
describe('AlfrescoLogin', () => {
|
||||
let authService, location, router;
|
||||
|
@@ -18,7 +18,7 @@
|
||||
import { Component, Output, EventEmitter } from 'angular2/core';
|
||||
import { Router, ROUTER_DIRECTIVES } from 'angular2/router';
|
||||
import { FORM_DIRECTIVES, ControlGroup, FormBuilder, Validators } from 'angular2/common';
|
||||
import { AlfrescoAuthenticationService } from '../services/alfresco-authentication';
|
||||
import { AlfrescoAuthenticationService } from './../services/alfresco-authentication.service';
|
||||
import { TranslateService, TranslatePipe } from 'ng2-translate/ng2-translate';
|
||||
declare let componentHandler;
|
||||
declare let __moduleName: string;
|
||||
|
@@ -19,7 +19,7 @@ import { it, describe } from 'angular2/testing';
|
||||
import { provide, Injector } from 'angular2/core';
|
||||
import { Http, HTTP_PROVIDERS, XHRBackend, Response, ResponseOptions } from 'angular2/http';
|
||||
import { MockBackend } from 'angular2/http/testing';
|
||||
import { AlfrescoAuthenticationService } from '../../src/services/alfresco-authentication';
|
||||
import { AlfrescoAuthenticationService } from './alfresco-authentication.service';
|
||||
|
||||
|
||||
describe('AlfrescoAuthentication', () => {
|
Reference in New Issue
Block a user