mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix imports (#5769)
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { Params } from '@angular/router/src/shared';
|
||||
import { ActivatedRoute, Params } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-form-viewer',
|
||||
|
@@ -16,8 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Component } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { Params } from '@angular/router/src/shared';
|
||||
import { ActivatedRoute, Router, Params } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-show-diagram',
|
||||
|
@@ -15,16 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import path = require('path');
|
||||
import fs = require('fs');
|
||||
import remote = require('selenium-webdriver/remote');
|
||||
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import * as remote from 'selenium-webdriver/remote';
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { ImageUploadRepresentation } from '@alfresco/js-api';
|
||||
import { ImageUploadRepresentation, UserRepresentation } from '@alfresco/js-api';
|
||||
import { ApiService, IdentityService, UserModel, Logger } from '@alfresco/adf-testing';
|
||||
import { Tenant } from '../models/APS/tenant';
|
||||
import { UserRepresentation } from '@alfresco/js-api/src/api/activiti-rest-api/model/userRepresentation';
|
||||
|
||||
export class UsersActions {
|
||||
|
||||
|
@@ -21,8 +21,8 @@ import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import path = require('path');
|
||||
import fs = require('fs');
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
|
||||
describe('User Info component', () => {
|
||||
|
||||
|
@@ -21,7 +21,7 @@ import { CreateLibraryDialogPage } from './dialog/create-library-dialog.page';
|
||||
import { FolderDialogPage } from './dialog/folder-dialog.page';
|
||||
import { NavigationBarPage } from './navigation-bar.page';
|
||||
|
||||
import path = require('path');
|
||||
import * as path from 'path';
|
||||
|
||||
export class ContentServicesPage {
|
||||
|
||||
|
@@ -16,9 +16,8 @@
|
||||
*/
|
||||
|
||||
import { element, by, protractor, browser, ElementFinder } from 'protractor';
|
||||
|
||||
import path = require('path');
|
||||
import remote = require('selenium-webdriver/remote');
|
||||
import * as path from 'path';
|
||||
import * as remote from 'selenium-webdriver/remote';
|
||||
import { BrowserVisibility, BrowserActions } from '@alfresco/adf-testing';
|
||||
|
||||
export class AttachmentListPage {
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import path = require('path');
|
||||
import * as path from 'path';
|
||||
import { BrowserActions, BrowserVisibility, TogglePage } from '@alfresco/adf-testing';
|
||||
import { browser, by, element, ElementFinder } from 'protractor';
|
||||
|
||||
|
@@ -23,8 +23,8 @@ import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import fs = require('fs');
|
||||
import path = require('path');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
|
||||
describe('Checklist component', () => {
|
||||
|
@@ -22,8 +22,8 @@ import { ProcessServicesPage } from '../pages/adf/process-services/process-servi
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import { browser } from 'protractor';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import fs = require('fs');
|
||||
import path = require('path');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
|
||||
describe('People component', () => {
|
||||
|
@@ -23,8 +23,8 @@ import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import Task = require('../models/APS/Task');
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import fs = require('fs');
|
||||
import path = require('path');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
|
||||
|
@@ -25,8 +25,8 @@ import { ChecklistDialog } from '../pages/adf/process-services/dialog/create-che
|
||||
import { ProcessServiceTabBarPage } from '../pages/adf/process-services/process-service-tab-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import fs = require('fs');
|
||||
import path = require('path');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
|
||||
describe('Start Task - Task App', () => {
|
||||
|
@@ -21,8 +21,8 @@ import { NavigationBarPage } from '../pages/adf/navigation-bar.page';
|
||||
import { TasksPage } from '../pages/adf/process-services/tasks.page';
|
||||
import { AttachmentListPage } from '../pages/adf/process-services/attachment-list.page';
|
||||
import CONSTANTS = require('../util/constants');
|
||||
import path = require('path');
|
||||
import fs = require('fs');
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { UsersActions } from '../actions/users.actions';
|
||||
import { FileModel } from '../models/ACS/file.model';
|
||||
import { TaskRepresentation } from '@alfresco/js-api';
|
||||
|
Reference in New Issue
Block a user