[ADF-859] add codelyzer in core and datatable (#2056)

* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
This commit is contained in:
Eugenio Romano
2017-07-07 10:20:41 +02:00
committed by Eugenio Romano
parent 9870964c0e
commit 53a614bfbf
388 changed files with 9335 additions and 2242 deletions

View File

@@ -81,8 +81,10 @@ module.exports = {
test: /\.ts$/, test: /\.ts$/,
loader: 'tslint-loader', loader: 'tslint-loader',
options: { options: {
configFile : helpers.root('tslint.json'),
emitErrors: true, emitErrors: true,
failOnHint: true failOnHint: true,
fix: true
}, },
exclude: [/node_modules/, /bundles/, /dist/, /demo/] exclude: [/node_modules/, /bundles/, /dist/, /demo/]
}, },

View File

@@ -15,18 +15,18 @@
* limitations under the License. * limitations under the License.
*/ */
import { NgModule, ModuleWithProviders } from '@angular/core'; import { ModuleWithProviders, NgModule } from '@angular/core';
import { MdTooltipModule, MdButtonModule, MdIconModule } from '@angular/material'; import { MdButtonModule, MdIconModule, MdTooltipModule } from '@angular/material';
import { CoreModule } from 'ng2-alfresco-core';
import { DiagramsModule } from 'ng2-activiti-diagrams'; import { DiagramsModule } from 'ng2-activiti-diagrams';
import { CoreModule } from 'ng2-alfresco-core';
import { ChartsModule } from 'ng2-charts';
import { AnalyticsGeneratorComponent } from './src/components/analytics-generator.component';
import { AnalyticsReportHeatMapComponent } from './src/components/analytics-report-heat-map.component';
import { AnalyticsReportListComponent } from './src/components/analytics-report-list.component'; import { AnalyticsReportListComponent } from './src/components/analytics-report-list.component';
import { AnalyticsReportParametersComponent } from './src/components/analytics-report-parameters.component'; import { AnalyticsReportParametersComponent } from './src/components/analytics-report-parameters.component';
import { AnalyticsComponent } from './src/components/analytics.component'; import { AnalyticsComponent } from './src/components/analytics.component';
import { AnalyticsGeneratorComponent } from './src/components/analytics-generator.component';
import { AnalyticsReportHeatMapComponent } from './src/components/analytics-report-heat-map.component';
import { AnalyticsService } from './src/services/analytics.service'; import { AnalyticsService } from './src/services/analytics.service';
import { ChartsModule } from 'ng2-charts';
import { WIDGET_DIRECTIVES } from './src/components/widgets/index'; import { WIDGET_DIRECTIVES } from './src/components/widgets/index';

View File

@@ -15,23 +15,23 @@
* limitations under the License. * limitations under the License.
*/ */
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { DebugElement } from '@angular/core'; import { DebugElement } from '@angular/core';
import { MdTooltipModule, MdButtonModule, MdIconModule } from '@angular/material'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Observable } from 'rxjs/Rx'; import { MdButtonModule, MdIconModule, MdTooltipModule } from '@angular/material';
import { ChartsModule } from 'ng2-charts';
import { CoreModule, AlfrescoTranslationService } from 'ng2-alfresco-core';
import { DiagramsModule } from 'ng2-activiti-diagrams'; import { DiagramsModule } from 'ng2-activiti-diagrams';
import { AlfrescoTranslationService, CoreModule } from 'ng2-alfresco-core';
import { ChartsModule } from 'ng2-charts';
import { Observable } from 'rxjs/Rx';
import { AnalyticsReportListComponent } from '../components/analytics-report-list.component'; import * as analyticMock from '../assets/analyticsComponent.mock';
import { AnalyticsGeneratorComponent } from '../components/analytics-generator.component'; import { AnalyticsGeneratorComponent } from '../components/analytics-generator.component';
import { AnalyticsReportParametersComponent } from '../components/analytics-report-parameters.component';
import { AnalyticsReportHeatMapComponent } from '../components/analytics-report-heat-map.component'; import { AnalyticsReportHeatMapComponent } from '../components/analytics-report-heat-map.component';
import { AnalyticsReportListComponent } from '../components/analytics-report-list.component';
import { AnalyticsReportParametersComponent } from '../components/analytics-report-parameters.component';
import { WIDGET_DIRECTIVES } from '../components/widgets/index'; import { WIDGET_DIRECTIVES } from '../components/widgets/index';
import { Chart } from '../models/chart.model'; import { Chart } from '../models/chart.model';
import { AnalyticsService } from '../services/analytics.service';
import { ReportQuery } from '../models/report.model'; import { ReportQuery } from '../models/report.model';
import * as analyticMock from '../assets/analyticsComponent.mock'; import { AnalyticsService } from '../services/analytics.service';
export const ANALYTICS_DIRECTIVES: any[] = [ export const ANALYTICS_DIRECTIVES: any[] = [
AnalyticsGeneratorComponent, AnalyticsGeneratorComponent,

View File

@@ -15,11 +15,11 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, EventEmitter, OnChanges, Input, Output, SimpleChanges } from '@angular/core'; import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core'; import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core';
import { AnalyticsService } from '../services/analytics.service';
import { ReportQuery } from '../models/report.model';
import { Chart } from '../models/chart.model'; import { Chart } from '../models/chart.model';
import { ReportQuery } from '../models/report.model';
import { AnalyticsService } from '../services/analytics.service';
@Component({ @Component({
selector: 'adf-analytics-generator, activiti-analytics-generator', selector: 'adf-analytics-generator, activiti-analytics-generator',

View File

@@ -16,10 +16,10 @@
*/ */
import { DebugElement } from '@angular/core'; import { DebugElement } from '@angular/core';
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Observable } from 'rxjs/Rx';
import { CoreModule, AlfrescoTranslationService } from 'ng2-alfresco-core';
import { DiagramsModule } from 'ng2-activiti-diagrams'; import { DiagramsModule } from 'ng2-activiti-diagrams';
import { AlfrescoTranslationService, CoreModule } from 'ng2-alfresco-core';
import { Observable } from 'rxjs/Rx';
import { AnalyticsReportHeatMapComponent } from '../components/analytics-report-heat-map.component'; import { AnalyticsReportHeatMapComponent } from '../components/analytics-report-heat-map.component';
import { WIDGET_DIRECTIVES } from '../components/widgets/index'; import { WIDGET_DIRECTIVES } from '../components/widgets/index';
import { AnalyticsService } from '../services/analytics.service'; import { AnalyticsService } from '../services/analytics.service';

View File

@@ -15,10 +15,10 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
import { AlfrescoTranslationService } from 'ng2-alfresco-core'; import { AlfrescoTranslationService } from 'ng2-alfresco-core';
import { AnalyticsService } from '../services/analytics.service'; import { AnalyticsService } from '../services/analytics.service';
import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
@Component({ @Component({
selector: 'analytics-report-heat-map', selector: 'analytics-report-heat-map',

View File

@@ -16,12 +16,12 @@
*/ */
import { DebugElement } from '@angular/core'; import { DebugElement } from '@angular/core';
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AlfrescoTranslationService, AppConfigModule, CoreModule } from 'ng2-alfresco-core';
import { Observable } from 'rxjs/Rx'; import { Observable } from 'rxjs/Rx';
import { CoreModule, AlfrescoTranslationService, AppConfigModule } from 'ng2-alfresco-core';
import { AnalyticsReportListComponent } from '../components/analytics-report-list.component'; import { AnalyticsReportListComponent } from '../components/analytics-report-list.component';
import { AnalyticsService } from '../services/analytics.service';
import { ReportParametersModel } from '../models/report.model'; import { ReportParametersModel } from '../models/report.model';
import { AnalyticsService } from '../services/analytics.service';
declare let jasmine: any; declare let jasmine: any;

View File

@@ -15,11 +15,11 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, EventEmitter, OnInit, Output, Input } from '@angular/core'; import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Observer, Observable } from 'rxjs/Rx';
import { LogService } from 'ng2-alfresco-core'; import { LogService } from 'ng2-alfresco-core';
import { AnalyticsService } from '../services/analytics.service'; import { Observable, Observer } from 'rxjs/Rx';
import { ReportParametersModel } from '../models/report.model'; import { ReportParametersModel } from '../models/report.model';
import { AnalyticsService } from '../services/analytics.service';
@Component({ @Component({
selector: 'analytics-report-list', selector: 'analytics-report-list',

View File

@@ -15,18 +15,18 @@
* limitations under the License. * limitations under the License.
*/ */
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { DebugElement, SimpleChange } from '@angular/core'; import { DebugElement, SimpleChange } from '@angular/core';
import { MdTooltipModule, MdButtonModule, OVERLAY_PROVIDERS } from '@angular/material'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Observable } from 'rxjs/Rx'; import { MdButtonModule, MdTooltipModule, OVERLAY_PROVIDERS } from '@angular/material';
import * as moment from 'moment'; import * as moment from 'moment';
import { CoreModule, AlfrescoTranslationService, AppConfigModule } from 'ng2-alfresco-core'; import { AlfrescoTranslationService, AppConfigModule, CoreModule } from 'ng2-alfresco-core';
import { Observable } from 'rxjs/Rx';
import * as analyticParamsMock from '../assets/analyticsParamsReportComponent.mock';
import { AnalyticsReportParametersComponent } from '../components/analytics-report-parameters.component'; import { AnalyticsReportParametersComponent } from '../components/analytics-report-parameters.component';
import { WIDGET_DIRECTIVES } from '../components/widgets/index'; import { WIDGET_DIRECTIVES } from '../components/widgets/index';
import { AnalyticsService } from '../services/analytics.service';
import { ReportParametersModel } from '../models/report.model'; import { ReportParametersModel } from '../models/report.model';
import * as analyticParamsMock from '../assets/analyticsParamsReportComponent.mock'; import { AnalyticsService } from '../services/analytics.service';
declare let jasmine: any; declare let jasmine: any;
declare let mdDateTimePicker: any; declare let mdDateTimePicker: any;

View File

@@ -16,28 +16,28 @@
*/ */
import { import {
AfterContentChecked,
AfterViewChecked,
Component, Component,
EventEmitter, EventEmitter,
OnInit,
OnChanges,
Input, Input,
OnChanges,
OnDestroy,
OnInit,
Output, Output,
SimpleChanges, SimpleChanges,
OnDestroy,
AfterViewChecked,
AfterContentChecked,
ViewChild ViewChild
} from '@angular/core'; } from '@angular/core';
import { FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms'; import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import * as moment from 'moment'; import * as moment from 'moment';
import { AlfrescoTranslationService, LogService, ContentService } from 'ng2-alfresco-core'; import { AlfrescoTranslationService, ContentService, LogService } from 'ng2-alfresco-core';
import { AnalyticsService } from '../services/analytics.service';
import { import {
ReportParametersModel,
ReportQuery,
ParameterValueModel, ParameterValueModel,
ReportParameterDetailsModel ReportParameterDetailsModel,
ReportParametersModel,
ReportQuery
} from '../models/report.model'; } from '../models/report.model';
import { AnalyticsService } from '../services/analytics.service';
declare var componentHandler; declare var componentHandler;
declare let dialogPolyfill: any; declare let dialogPolyfill: any;
@@ -156,37 +156,37 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
case 'processDefinition': case 'processDefinition':
formBuilderGroup.processDefGroup = new FormGroup({ formBuilderGroup.processDefGroup = new FormGroup({
processDefinitionId: new FormControl(null, Validators.required, null) processDefinitionId: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
case 'duration': case 'duration':
formBuilderGroup.durationGroup = new FormGroup({ formBuilderGroup.durationGroup = new FormGroup({
duration: new FormControl(null, Validators.required, null) duration: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
case 'dateInterval': case 'dateInterval':
formBuilderGroup.dateIntervalGroup = new FormGroup({ formBuilderGroup.dateIntervalGroup = new FormGroup({
dateRangeInterval: new FormControl(null, Validators.required, null) dateRangeInterval: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
case 'boolean': case 'boolean':
formBuilderGroup.typeFilteringGroup = new FormGroup({ formBuilderGroup.typeFilteringGroup = new FormGroup({
typeFiltering: new FormControl(null, Validators.required, null) typeFiltering: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
case 'task': case 'task':
formBuilderGroup.taskGroup = new FormGroup({ formBuilderGroup.taskGroup = new FormGroup({
taskName: new FormControl(null, Validators.required, null) taskName: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
case 'integer': case 'integer':
formBuilderGroup.processInstanceGroup = new FormGroup({ formBuilderGroup.processInstanceGroup = new FormGroup({
slowProcessInstanceInteger: new FormControl(null, Validators.required, null) slowProcessInstanceInteger: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
case 'status': case 'status':
formBuilderGroup.statusGroup = new FormGroup({ formBuilderGroup.statusGroup = new FormGroup({
status: new FormControl(null, Validators.required, null) status: new FormControl(null, Validators.required, null)
}, Validators.required); }, Validators.required);
break; break;
default: default:
return; return;
@@ -379,7 +379,7 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
deleteReport(reportId: string) { deleteReport(reportId: string) {
this.analyticsService.deleteReport(reportId).subscribe(() => { this.analyticsService.deleteReport(reportId).subscribe(() => {
this.deleteReportSuccess.emit(reportId); this.deleteReportSuccess.emit(reportId);
}, error => this.logService.error(error)); }, error => this.logService.error(error));
} }
ngAfterViewChecked() { ngAfterViewChecked() {

View File

@@ -15,18 +15,18 @@
* limitations under the License. * limitations under the License.
*/ */
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { DebugElement } from '@angular/core'; import { DebugElement } from '@angular/core';
import { Observable } from 'rxjs/Rx'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ChartsModule } from 'ng2-charts';
import { CoreModule, AlfrescoTranslationService } from 'ng2-alfresco-core';
import { DiagramsModule } from 'ng2-activiti-diagrams'; import { DiagramsModule } from 'ng2-activiti-diagrams';
import { AlfrescoTranslationService, CoreModule } from 'ng2-alfresco-core';
import { ChartsModule } from 'ng2-charts';
import { Observable } from 'rxjs/Rx';
import { AnalyticsReportListComponent } from '../components/analytics-report-list.component';
import { AnalyticsComponent } from '../components/analytics.component';
import { AnalyticsGeneratorComponent } from '../components/analytics-generator.component'; import { AnalyticsGeneratorComponent } from '../components/analytics-generator.component';
import { AnalyticsReportParametersComponent } from '../components/analytics-report-parameters.component';
import { AnalyticsReportHeatMapComponent } from '../components/analytics-report-heat-map.component'; import { AnalyticsReportHeatMapComponent } from '../components/analytics-report-heat-map.component';
import { AnalyticsReportListComponent } from '../components/analytics-report-list.component';
import { AnalyticsReportParametersComponent } from '../components/analytics-report-parameters.component';
import { AnalyticsComponent } from '../components/analytics.component';
import { WIDGET_DIRECTIVES } from '../components/widgets/index'; import { WIDGET_DIRECTIVES } from '../components/widgets/index';
import { AnalyticsService } from '../services/analytics.service'; import { AnalyticsService } from '../services/analytics.service';

View File

@@ -15,10 +15,10 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, EventEmitter, OnChanges, Input, Output, SimpleChanges, ViewChild } from '@angular/core'; import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, ViewChild } from '@angular/core';
import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core'; import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core';
import { AnalyticsService } from '../services/analytics.service';
import { ReportQuery } from '../models/report.model'; import { ReportQuery } from '../models/report.model';
import { AnalyticsService } from '../services/analytics.service';
import { AnalyticsGeneratorComponent } from './analytics-generator.component'; import { AnalyticsGeneratorComponent } from './analytics-generator.component';
@Component({ @Component({

View File

@@ -16,8 +16,8 @@
*/ */
import { Component, ElementRef, Input } from '@angular/core'; import { Component, ElementRef, Input } from '@angular/core';
import { WidgetComponent } from './../widget.component';
import { FormGroup } from '@angular/forms'; import { FormGroup } from '@angular/forms';
import { WidgetComponent } from './../widget.component';
@Component({ @Component({
selector: 'checkbox-widget', selector: 'checkbox-widget',

View File

@@ -15,10 +15,10 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, Input, Output, EventEmitter, ViewChild, ElementRef } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';
import { AbstractControl, FormGroup, FormBuilder, FormControl, Validators } from '@angular/forms'; import { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { WidgetComponent } from './../widget.component';
import * as moment from 'moment'; import * as moment from 'moment';
import { WidgetComponent } from './../widget.component';
function dateCheck(c: AbstractControl) { function dateCheck(c: AbstractControl) {
let startDate = moment(c.get('startDate').value); let startDate = moment(c.get('startDate').value);

View File

@@ -15,8 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, Input, Output, EventEmitter } from '@angular/core'; import { Component, EventEmitter, Input, Output } from '@angular/core';
import { FormGroup, Validators, FormControl } from '@angular/forms'; import { FormControl, FormGroup, Validators } from '@angular/forms';
import { WidgetComponent } from './../widget.component'; import { WidgetComponent } from './../widget.component';
@Component({ @Component({

View File

@@ -15,10 +15,10 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, OnInit, Input } from '@angular/core'; import { Component, ElementRef, Input, OnInit } from '@angular/core';
import { NumberWidget } from './../number/number.widget';
import { ReportParameterDetailsModel, ParameterValueModel } from './../../../models/report.model';
import { FormControl, FormGroup, Validators } from '@angular/forms'; import { FormControl, FormGroup, Validators } from '@angular/forms';
import { ParameterValueModel, ReportParameterDetailsModel } from './../../../models/report.model';
import { NumberWidget } from './../number/number.widget';
@Component({ @Component({
selector: 'duration-widget', selector: 'duration-widget',

View File

@@ -15,11 +15,11 @@
* limitations under the License. * limitations under the License.
*/ */
import { DropdownWidget } from './dropdown/dropdown.widget';
import { NumberWidget } from './number/number.widget';
import { DurationWidget } from './duration/duration.widget';
import { CheckboxWidget } from './checkbox/checkbox.widget'; import { CheckboxWidget } from './checkbox/checkbox.widget';
import { DateRangeWidget } from './date-range/date-range.widget'; import { DateRangeWidget } from './date-range/date-range.widget';
import { DropdownWidget } from './dropdown/dropdown.widget';
import { DurationWidget } from './duration/duration.widget';
import { NumberWidget } from './number/number.widget';
// primitives // primitives
export * from './dropdown/dropdown.widget'; export * from './dropdown/dropdown.widget';

View File

@@ -16,8 +16,8 @@
*/ */
import { Component, ElementRef, Input } from '@angular/core'; import { Component, ElementRef, Input } from '@angular/core';
import { WidgetComponent } from './../widget.component';
import { FormGroup, Validators } from '@angular/forms'; import { FormGroup, Validators } from '@angular/forms';
import { WidgetComponent } from './../widget.component';
@Component({ @Component({
selector: 'number-widget', selector: 'number-widget',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Input, AfterViewInit, Output, EventEmitter, SimpleChanges, OnChanges } from '@angular/core'; import { AfterViewInit, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
let componentHandler: any; let componentHandler: any;

View File

@@ -16,9 +16,9 @@
*/ */
import { TestBed } from '@angular/core/testing'; import { TestBed } from '@angular/core/testing';
import { CoreModule, AlfrescoApiService } from 'ng2-alfresco-core'; import { AlfrescoApiService, CoreModule } from 'ng2-alfresco-core';
import { AnalyticsService } from './analytics.service';
import { fakeReportList } from '../assets/analytics.service.mock'; import { fakeReportList } from '../assets/analytics.service.mock';
import { AnalyticsService } from './analytics.service';
declare let jasmine: any; declare let jasmine: any;

View File

@@ -16,19 +16,19 @@
*/ */
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Rx';
import { Response } from '@angular/http'; import { Response } from '@angular/http';
import { AlfrescoApiService, LogService } from 'ng2-alfresco-core'; import { AlfrescoApiService, LogService } from 'ng2-alfresco-core';
import { ReportParametersModel, ParameterValueModel } from '../models/report.model'; import { Observable } from 'rxjs/Rx';
import { import {
Chart,
PieChart,
TableChart,
BarChart, BarChart,
Chart,
DetailsTableChart,
HeatMapChart, HeatMapChart,
MultiBarChart, MultiBarChart,
DetailsTableChart PieChart,
TableChart
} from '../models/chart.model'; } from '../models/chart.model';
import { ParameterValueModel, ReportParametersModel } from '../models/report.model';
@Injectable() @Injectable()
export class AnalyticsService { export class AnalyticsService {

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { NgModule, ModuleWithProviders } from '@angular/core'; import { ModuleWithProviders, NgModule } from '@angular/core';
import { CoreModule } from 'ng2-alfresco-core'; import { CoreModule } from 'ng2-alfresco-core';
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './src/components/index'; import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './src/components/index';

View File

@@ -15,8 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
import { Observable } from 'rxjs/Rx';
import { EventEmitter } from '@angular/core'; import { EventEmitter } from '@angular/core';
import { Observable } from 'rxjs/Rx';
export interface LangChangeEvent { export interface LangChangeEvent {
lang: string; lang: string;

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'adf-diagram-publish-task, diagram-alfresco-publish-task', selector: 'adf-diagram-publish-task, diagram-alfresco-publish-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-box-publish-task', selector: 'diagram-box-publish-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-camel-task', selector: 'diagram-camel-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-container-service-task', selector: 'diagram-container-service-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-google-drive-publish-task', selector: 'diagram-google-drive-publish-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-mule-task', selector: 'diagram-mule-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-rest-call-task', selector: 'diagram-rest-call-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-send-task', selector: 'diagram-send-task',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,21 +15,21 @@
* limitations under the License. * limitations under the License.
*/ */
import { DiagramContainerServiceTaskComponent } from './diagram-container-service-task.component';
import { DiagramTaskComponent } from './diagram-task.component';
import { DiagramServiceTaskComponent } from './diagram-service-task.component';
import { DiagramSendTaskComponent } from './diagram-send-task.component';
import { DiagramUserTaskComponent } from './diagram-user-task.component';
import { DiagramManualTaskComponent } from './diagram-manual-task.component';
import { DiagramCamelTaskComponent } from './diagram-camel-task.component';
import { DiagramMuleTaskComponent } from './diagram-mule-task.component';
import { DiagramAlfrescoPublishTaskComponent } from './diagram-alfresco-publish-task.component'; import { DiagramAlfrescoPublishTaskComponent } from './diagram-alfresco-publish-task.component';
import { DiagramRestCallTaskComponent } from './diagram-rest-call-task.component';
import { DiagramGoogleDrivePublishTaskComponent } from './diagram-google-drive-publish-task.component';
import { DiagramBoxPublishTaskComponent } from './diagram-box-publish-task.component'; import { DiagramBoxPublishTaskComponent } from './diagram-box-publish-task.component';
import { DiagramReceiveTaskComponent } from './diagram-receive-task.component';
import { DiagramScriptTaskComponent } from './diagram-script-task.component';
import { DiagramBusinessRuleTaskComponent } from './diagram-business-rule-task.component'; import { DiagramBusinessRuleTaskComponent } from './diagram-business-rule-task.component';
import { DiagramCamelTaskComponent } from './diagram-camel-task.component';
import { DiagramContainerServiceTaskComponent } from './diagram-container-service-task.component';
import { DiagramGoogleDrivePublishTaskComponent } from './diagram-google-drive-publish-task.component';
import { DiagramManualTaskComponent } from './diagram-manual-task.component';
import { DiagramMuleTaskComponent } from './diagram-mule-task.component';
import { DiagramReceiveTaskComponent } from './diagram-receive-task.component';
import { DiagramRestCallTaskComponent } from './diagram-rest-call-task.component';
import { DiagramScriptTaskComponent } from './diagram-script-task.component';
import { DiagramSendTaskComponent } from './diagram-send-task.component';
import { DiagramServiceTaskComponent } from './diagram-service-task.component';
import { DiagramTaskComponent } from './diagram-task.component';
import { DiagramUserTaskComponent } from './diagram-user-task.component';
// primitives // primitives
export * from './diagram-container-service-task.component'; export * from './diagram-container-service-task.component';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
@Component({ @Component({
selector: 'diagram-sequence-flow', selector: 'diagram-sequence-flow',

View File

@@ -15,23 +15,23 @@
* limitations under the License. * limitations under the License.
*/ */
import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CoreModule, AlfrescoTranslationService } from 'ng2-alfresco-core'; import { AlfrescoTranslationService, CoreModule } from 'ng2-alfresco-core';
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
import { DiagramComponent } from './index';
import { DebugElement } from '@angular/core'; import { DebugElement } from '@angular/core';
import { TranslationMock } from '../assets/translation.service.mock';
import * as diagramsEventsMock from '../assets/diagramEvents.mock';
import * as diagramsActivitiesMock from '../assets/diagramActivities.mock'; import * as diagramsActivitiesMock from '../assets/diagramActivities.mock';
import * as boundaryEventMock from '../assets/diagramBoundary.mock';
import * as diagramsEventsMock from '../assets/diagramEvents.mock';
import * as flowsMock from '../assets/diagramFlows.mock';
import * as diagramsGatewaysMock from '../assets/diagramGateways.mock'; import * as diagramsGatewaysMock from '../assets/diagramGateways.mock';
import * as intermediateCatchingMock from '../assets/diagramIntermediate.mock'; import * as intermediateCatchingMock from '../assets/diagramIntermediate.mock';
import * as boundaryEventMock from '../assets/diagramBoundary.mock';
import * as throwEventMock from '../assets/diagramThrow.mock';
import * as structuralMock from '../assets/diagramStructural.mock'; import * as structuralMock from '../assets/diagramStructural.mock';
import * as swimLanesMock from '../assets/diagramSwimlanes.mock'; import * as swimLanesMock from '../assets/diagramSwimlanes.mock';
import * as flowsMock from '../assets/diagramFlows.mock'; import * as throwEventMock from '../assets/diagramThrow.mock';
import { TranslationMock } from '../assets/translation.service.mock';
import { DiagramComponent } from './index';
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
declare let jasmine: any; declare let jasmine: any;

View File

@@ -15,12 +15,12 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter, SimpleChanges } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output, SimpleChanges } from '@angular/core';
import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core'; import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core';
import { DiagramsService } from '../services/diagrams.service'; import { DiagramElementModel, DiagramModel } from '../models/diagram.model';
import { DiagramColorService } from '../services/diagram-color.service'; import { DiagramColorService } from '../services/diagram-color.service';
import { DiagramsService } from '../services/diagrams.service';
import { RaphaelService } from './raphael/raphael.service'; import { RaphaelService } from './raphael/raphael.service';
import { DiagramModel, DiagramElementModel } from '../models/diagram.model';
@Component({ @Component({
selector: 'adf-diagram, activiti-diagram', selector: 'adf-diagram, activiti-diagram',

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,9 +15,9 @@
* limitations under the License. * limitations under the License.
*/ */
import { DiagramEndEventComponent } from './diagram-end-event.component';
import { DiagramEventComponent } from './diagram-event.component'; import { DiagramEventComponent } from './diagram-event.component';
import { DiagramStartEventComponent } from './diagram-start-event.component'; import { DiagramStartEventComponent } from './diagram-start-event.component';
import { DiagramEndEventComponent } from './diagram-end-event.component';
// primitives // primitives
export * from './diagram-event.component'; export * from './diagram-event.component';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,11 +15,11 @@
* limitations under the License. * limitations under the License.
*/ */
import { DiagramGatewayComponent } from './diagram-gateway.component'; import { DiagramEventGatewayComponent } from './diagram-event-gateway.component';
import { DiagramExclusiveGatewayComponent } from './diagram-exclusive-gateway.component'; import { DiagramExclusiveGatewayComponent } from './diagram-exclusive-gateway.component';
import { DiagramGatewayComponent } from './diagram-gateway.component';
import { DiagramInclusiveGatewayComponent } from './diagram-inclusive-gateway.component'; import { DiagramInclusiveGatewayComponent } from './diagram-inclusive-gateway.component';
import { DiagramParallelGatewayComponent } from './diagram-parallel-gateway.component'; import { DiagramParallelGatewayComponent } from './diagram-parallel-gateway.component';
import { DiagramEventGatewayComponent } from './diagram-event-gateway.component';
// primitives // primitives
export * from './diagram-gateway.component'; export * from './diagram-gateway.component';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,24 +15,24 @@
* limitations under the License. * limitations under the License.
*/ */
import { DiagramIconServiceTaskComponent } from './diagram-icon-service-task.component';
import { DiagramIconSendTaskComponent } from './diagram-icon-send-task.component';
import { DiagramIconUserTaskComponent } from './diagram-icon-user-task.component';
import { DiagramIconManualTaskComponent } from './diagram-icon-manual-task.component';
import { DiagramIconCamelTaskComponent } from './diagram-icon-camel-task.component';
import { DiagramIconMuleTaskComponent } from './diagram-icon-mule-task.component';
import { DiagramIconAlfrescoPublishTaskComponent } from './diagram-icon-alfresco-publish-task.component';
import { DiagramIconRestCallTaskComponent } from './diagram-icon-rest-call-task.component';
import { DiagramIconGoogleDrivePublishTaskComponent } from './diagram-icon-google-drive-publish-task.component';
import { DiagramIconBoxPublishTaskComponent } from './diagram-icon-box-publish-task.component';
import { DiagramIconReceiveTaskComponent } from './diagram-icon-receive-task.component';
import { DiagramIconScriptTaskComponent } from './diagram-icon-script-task.component';
import { DiagramIconBusinessRuleTaskComponent } from './diagram-icon-business-rule-task.component';
import { DiagramContainerIconEventTaskComponent } from './diagram-container-icon-event.component'; import { DiagramContainerIconEventTaskComponent } from './diagram-container-icon-event.component';
import { DiagramIconTimerComponent } from './diagram-icon-timer.component'; import { DiagramIconAlfrescoPublishTaskComponent } from './diagram-icon-alfresco-publish-task.component';
import { DiagramIconBoxPublishTaskComponent } from './diagram-icon-box-publish-task.component';
import { DiagramIconBusinessRuleTaskComponent } from './diagram-icon-business-rule-task.component';
import { DiagramIconCamelTaskComponent } from './diagram-icon-camel-task.component';
import { DiagramIconErrorComponent } from './diagram-icon-error.component'; import { DiagramIconErrorComponent } from './diagram-icon-error.component';
import { DiagramIconSignalComponent } from './diagram-icon-signal.component'; import { DiagramIconGoogleDrivePublishTaskComponent } from './diagram-icon-google-drive-publish-task.component';
import { DiagramIconManualTaskComponent } from './diagram-icon-manual-task.component';
import { DiagramIconMessageComponent } from './diagram-icon-message.component'; import { DiagramIconMessageComponent } from './diagram-icon-message.component';
import { DiagramIconMuleTaskComponent } from './diagram-icon-mule-task.component';
import { DiagramIconReceiveTaskComponent } from './diagram-icon-receive-task.component';
import { DiagramIconRestCallTaskComponent } from './diagram-icon-rest-call-task.component';
import { DiagramIconScriptTaskComponent } from './diagram-icon-script-task.component';
import { DiagramIconSendTaskComponent } from './diagram-icon-send-task.component';
import { DiagramIconServiceTaskComponent } from './diagram-icon-service-task.component';
import { DiagramIconSignalComponent } from './diagram-icon-signal.component';
import { DiagramIconTimerComponent } from './diagram-icon-timer.component';
import { DiagramIconUserTaskComponent } from './diagram-icon-user-task.component';
// primitives // primitives
export * from './diagram-icon-service-task.component'; export * from './diagram-icon-service-task.component';

View File

@@ -15,13 +15,13 @@
* limitations under the License. * limitations under the License.
*/ */
import { DiagramComponent } from './diagram.component';
import { DiagramSequenceFlowComponent } from './diagram-sequence-flow.component';
import { DIAGRAM_ACTIVITIES_DIRECTIVES } from './activities/index'; import { DIAGRAM_ACTIVITIES_DIRECTIVES } from './activities/index';
import { DIAGRAM_BOUNDARY_EVENTS_DIRECTIVES } from './boundary-events/index';
import { DiagramSequenceFlowComponent } from './diagram-sequence-flow.component';
import { DiagramComponent } from './diagram.component';
import { DIAGRAM_EVENTS_DIRECTIVES } from './events/index'; import { DIAGRAM_EVENTS_DIRECTIVES } from './events/index';
import { DIAGRAM_GATEWAY_DIRECTIVES } from './gateways/index'; import { DIAGRAM_GATEWAY_DIRECTIVES } from './gateways/index';
import { DIAGRAM_ICONS_DIRECTIVES } from './icons/index'; import { DIAGRAM_ICONS_DIRECTIVES } from './icons/index';
import { DIAGRAM_BOUNDARY_EVENTS_DIRECTIVES } from './boundary-events/index';
import { DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES } from './intermediate-catching-events/index'; import { DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES } from './intermediate-catching-events/index';
import { DIAGRAM_STRUCTURAL_DIRECTIVES } from './structural/index'; import { DIAGRAM_STRUCTURAL_DIRECTIVES } from './structural/index';
import { DIAGRAM_SWIMLANES_DIRECTIVES } from './swimlanes/index'; import { DIAGRAM_SWIMLANES_DIRECTIVES } from './swimlanes/index';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
import { DiagramColorService } from '../../services/diagram-color.service'; import { DiagramColorService } from '../../services/diagram-color.service';
@Component({ @Component({

View File

@@ -15,23 +15,23 @@
* limitations under the License. * limitations under the License.
*/ */
import { RaphaelIconServiceDirective } from './raphael-icon-service.component';
import { RaphaelIconSendDirective } from './raphael-icon-send.component';
import { RaphaelIconUserDirective } from './raphael-icon-user.component';
import { RaphaelIconManualDirective } from './raphael-icon-manual.component';
import { RaphaelIconCamelDirective } from './raphael-icon-camel.component';
import { RaphaelIconMuleDirective } from './raphael-icon-mule.component';
import { RaphaelIconAlfrescoPublishDirective } from './raphael-icon-alfresco-publish.component'; import { RaphaelIconAlfrescoPublishDirective } from './raphael-icon-alfresco-publish.component';
import { RaphaelIconRestCallDirective } from './raphael-icon-rest-call.component';
import { RaphaelIconGoogleDrivePublishDirective } from './raphael-icon-google-drive-publish.component';
import { RaphaelIconBoxPublishDirective } from './raphael-icon-box-publish.component'; import { RaphaelIconBoxPublishDirective } from './raphael-icon-box-publish.component';
import { RaphaelIconReceiveDirective } from './raphael-icon-receive.component';
import { RaphaelIconScriptDirective } from './raphael-icon-script.component';
import { RaphaelIconBusinessRuleDirective } from './raphael-icon-business-rule.component'; import { RaphaelIconBusinessRuleDirective } from './raphael-icon-business-rule.component';
import { RaphaelIconTimerDirective } from './raphael-icon-timer.component'; import { RaphaelIconCamelDirective } from './raphael-icon-camel.component';
import { RaphaelIconErrorDirective } from './raphael-icon-error.component'; import { RaphaelIconErrorDirective } from './raphael-icon-error.component';
import { RaphaelIconSignalDirective } from './raphael-icon-signal.component'; import { RaphaelIconGoogleDrivePublishDirective } from './raphael-icon-google-drive-publish.component';
import { RaphaelIconManualDirective } from './raphael-icon-manual.component';
import { RaphaelIconMessageDirective } from './raphael-icon-message.component'; import { RaphaelIconMessageDirective } from './raphael-icon-message.component';
import { RaphaelIconMuleDirective } from './raphael-icon-mule.component';
import { RaphaelIconReceiveDirective } from './raphael-icon-receive.component';
import { RaphaelIconRestCallDirective } from './raphael-icon-rest-call.component';
import { RaphaelIconScriptDirective } from './raphael-icon-script.component';
import { RaphaelIconSendDirective } from './raphael-icon-send.component';
import { RaphaelIconServiceDirective } from './raphael-icon-service.component';
import { RaphaelIconSignalDirective } from './raphael-icon-signal.component';
import { RaphaelIconTimerDirective } from './raphael-icon-timer.component';
import { RaphaelIconUserDirective } from './raphael-icon-user.component';
// primitives // primitives
export * from './raphael-icon-service.component'; export * from './raphael-icon-service.component';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './../models/point'; import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base'; import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service'; import { RaphaelService } from './../raphael.service';

View File

@@ -16,14 +16,14 @@
*/ */
import { RaphaelCircleDirective } from './raphael-circle.component'; import { RaphaelCircleDirective } from './raphael-circle.component';
import { RaphaelRectDirective } from './raphael-rect.component';
import { RaphaelTextDirective } from './raphael-text.component';
import { RaphaelMultilineTextDirective } from './raphael-multiline-text.component';
import { RaphaelFlowArrowDirective } from './raphael-flow-arrow.component';
import { RaphaelCrossDirective } from './raphael-cross.component'; import { RaphaelCrossDirective } from './raphael-cross.component';
import { RaphaelPlusDirective } from './raphael-plus.component'; import { RaphaelFlowArrowDirective } from './raphael-flow-arrow.component';
import { RaphaelRhombusDirective } from './raphael-rhombus.component'; import { RaphaelMultilineTextDirective } from './raphael-multiline-text.component';
import { RaphaelPentagonDirective } from './raphael-pentagon.component'; import { RaphaelPentagonDirective } from './raphael-pentagon.component';
import { RaphaelPlusDirective } from './raphael-plus.component';
import { RaphaelRectDirective } from './raphael-rect.component';
import { RaphaelRhombusDirective } from './raphael-rhombus.component';
import { RaphaelTextDirective } from './raphael-text.component';
// services // services
import { RaphaelService } from './raphael.service'; import { RaphaelService } from './raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './models/point'; import { Point } from './models/point';
import { RaphaelBase } from './raphael-base'; import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service'; import { RaphaelService } from './raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './models/point'; import { Point } from './models/point';
import { RaphaelBase } from './raphael-base'; import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service'; import { RaphaelService } from './raphael.service';

View File

@@ -15,10 +15,10 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Polyline } from './polyline';
import { RaphaelBase } from './raphael-base'; import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service'; import { RaphaelService } from './raphael.service';
import { Polyline } from './polyline';
declare let Raphael: any; declare let Raphael: any;

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { LogService } from 'ng2-alfresco-core'; import { LogService } from 'ng2-alfresco-core';
import { Point } from './models/point'; import { Point } from './models/point';
import { RaphaelBase } from './raphael-base'; import { RaphaelBase } from './raphael-base';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './models/point'; import { Point } from './models/point';
import { RaphaelBase } from './raphael-base'; import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service'; import { RaphaelService } from './raphael.service';

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Point } from './models/point'; import { Point } from './models/point';
import { RaphaelBase } from './raphael-base'; import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service'; import { RaphaelService } from './raphael.service';

Some files were not shown because too many files have changed in this diff Show More