mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1968] [IE11] The login page is not loading and import fix (#2679)
* fix viewer script export insights and diagram remove requires svg fix new data adapter path dist working with diagrams commented out change use of minimatch fix unused import remove unused component fix test new import moment es6 and throw rxjs fix import analytics test fix imports rxjs new pacakging * fix after rebase * fix test upload services * exclude temporarily button event test * restore commented demo shell files * fix process spy
This commit is contained in:
@@ -1,69 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramAlfrescoPublishTaskComponent } from './diagram-alfresco-publish-task.component';
|
||||
import { DiagramBoxPublishTaskComponent } from './diagram-box-publish-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
|
||||
export * from './diagram-container-service-task.component';
|
||||
export * from './diagram-task.component';
|
||||
export * from './diagram-service-task.component';
|
||||
export * from './diagram-send-task.component';
|
||||
export * from './diagram-user-task.component';
|
||||
export * from './diagram-manual-task.component';
|
||||
export * from './diagram-camel-task.component';
|
||||
export * from './diagram-mule-task.component';
|
||||
export * from './diagram-alfresco-publish-task.component';
|
||||
export * from './diagram-rest-call-task.component';
|
||||
export * from './diagram-google-drive-publish-task.component';
|
||||
export * from './diagram-box-publish-task.component';
|
||||
export * from './diagram-receive-task.component';
|
||||
export * from './diagram-script-task.component';
|
||||
export * from './diagram-business-rule-task.component';
|
||||
|
||||
export const DIAGRAM_ACTIVITIES_DIRECTIVES: any[] = [
|
||||
DiagramContainerServiceTaskComponent,
|
||||
DiagramTaskComponent,
|
||||
DiagramServiceTaskComponent,
|
||||
DiagramSendTaskComponent,
|
||||
DiagramUserTaskComponent,
|
||||
DiagramManualTaskComponent,
|
||||
DiagramCamelTaskComponent,
|
||||
DiagramMuleTaskComponent,
|
||||
DiagramAlfrescoPublishTaskComponent,
|
||||
DiagramRestCallTaskComponent,
|
||||
DiagramGoogleDrivePublishTaskComponent,
|
||||
DiagramBoxPublishTaskComponent,
|
||||
DiagramReceiveTaskComponent,
|
||||
DiagramScriptTaskComponent,
|
||||
DiagramBusinessRuleTaskComponent
|
||||
];
|
@@ -1,30 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramBoundaryEventComponent } from './diagram-boundary-event.component';
|
||||
import { DiagramThrowEventComponent } from './diagram-throw-event.component';
|
||||
|
||||
// primitives
|
||||
export * from './diagram-boundary-event.component';
|
||||
export * from './diagram-throw-event.component';
|
||||
|
||||
export const DIAGRAM_BOUNDARY_EVENTS_DIRECTIVES: any[] = [
|
||||
DiagramBoundaryEventComponent,
|
||||
DiagramThrowEventComponent
|
||||
];
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as diagramsActivitiesMock from '../../mock/diagram/diagramActivities.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,27 +27,17 @@ describe('Diagrams activities', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
]
|
||||
imports: [DiagramsModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as boundaryEventMock from '../../mock/diagram/diagramBoundary.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,19 +27,12 @@ describe('Diagrams boundary', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
imports: [
|
||||
DiagramsModule
|
||||
]
|
||||
}).compileComponents();
|
||||
}));
|
||||
@@ -49,7 +40,6 @@ describe('Diagrams boundary', () => {
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as intermediateCatchingMock from '../../mock/diagram/diagramIntermediate.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,27 +27,17 @@ describe('Diagrams Catching', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
]
|
||||
imports: [DiagramsModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as diagramsEventsMock from '../../mock/diagram/diagramEvents.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,19 +27,12 @@ describe('Diagrams events', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
imports: [
|
||||
DiagramsModule
|
||||
]
|
||||
}).compileComponents();
|
||||
}));
|
||||
@@ -49,7 +40,6 @@ describe('Diagrams events', () => {
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as flowsMock from '../../mock/diagram/diagramFlows.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,27 +27,17 @@ describe('Diagrams flows', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
]
|
||||
imports: [DiagramsModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as diagramsGatewaysMock from '../../mock/diagram/diagramGateways.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,27 +27,17 @@ describe('Diagrams gateways', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
]
|
||||
imports: [DiagramsModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as structuralMock from '../../mock/diagram/diagramStructural.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,27 +27,17 @@ describe('Diagrams structural', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
]
|
||||
imports: [DiagramsModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as swimLanesMock from '../../mock/diagram/diagramSwimlanes.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,19 +27,14 @@ describe('Diagrams swim', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
imports: [
|
||||
DiagramsModule
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
declarations: [
|
||||
]
|
||||
}).compileComponents();
|
||||
}));
|
||||
@@ -49,7 +42,6 @@ describe('Diagrams swim', () => {
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -17,11 +17,9 @@
|
||||
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import * as throwEventMock from '../../mock/diagram/diagramThrow.mock';
|
||||
import { DiagramComponent } from './index';
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './index';
|
||||
import { RAPHAEL_DIRECTIVES, RAPHAEL_PROVIDERS } from './raphael/index';
|
||||
import { DiagramComponent } from './diagram.component';
|
||||
import { DiagramsModule } from '../diagram.module';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
@@ -29,19 +27,16 @@ describe('Diagrams throw', () => {
|
||||
|
||||
let component: any;
|
||||
let fixture: ComponentFixture<DiagramComponent>;
|
||||
let debug: DebugElement;
|
||||
let element: HTMLElement;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
DiagramsModule
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
|
||||
]
|
||||
}).compileComponents();
|
||||
}));
|
||||
@@ -49,7 +44,6 @@ describe('Diagrams throw', () => {
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DiagramComponent);
|
||||
component = fixture.componentInstance;
|
||||
debug = fixture.debugElement;
|
||||
element = fixture.nativeElement;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -1,33 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramEndEventComponent } from './diagram-end-event.component';
|
||||
import { DiagramEventComponent } from './diagram-event.component';
|
||||
import { DiagramStartEventComponent } from './diagram-start-event.component';
|
||||
|
||||
// primitives
|
||||
export * from './diagram-event.component';
|
||||
export * from './diagram-start-event.component';
|
||||
export * from './diagram-end-event.component';
|
||||
|
||||
export const DIAGRAM_EVENTS_DIRECTIVES: any[] = [
|
||||
DiagramEventComponent,
|
||||
DiagramStartEventComponent,
|
||||
DiagramEndEventComponent
|
||||
];
|
@@ -1,39 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramEventGatewayComponent } from './diagram-event-gateway.component';
|
||||
import { DiagramExclusiveGatewayComponent } from './diagram-exclusive-gateway.component';
|
||||
import { DiagramGatewayComponent } from './diagram-gateway.component';
|
||||
import { DiagramInclusiveGatewayComponent } from './diagram-inclusive-gateway.component';
|
||||
import { DiagramParallelGatewayComponent } from './diagram-parallel-gateway.component';
|
||||
|
||||
// primitives
|
||||
export * from './diagram-gateway.component';
|
||||
export * from './diagram-exclusive-gateway.component';
|
||||
export * from './diagram-inclusive-gateway.component';
|
||||
export * from './diagram-parallel-gateway.component';
|
||||
export * from './diagram-event-gateway.component';
|
||||
|
||||
export const DIAGRAM_GATEWAY_DIRECTIVES: any[] = [
|
||||
DiagramGatewayComponent,
|
||||
DiagramExclusiveGatewayComponent,
|
||||
DiagramInclusiveGatewayComponent,
|
||||
DiagramParallelGatewayComponent,
|
||||
DiagramEventGatewayComponent
|
||||
];
|
@@ -1,78 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramContainerIconEventTaskComponent } from './diagram-container-icon-event.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 { 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 { 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
|
||||
export * from './diagram-icon-service-task.component';
|
||||
export * from './diagram-icon-send-task.component';
|
||||
export * from './diagram-icon-user-task.component';
|
||||
export * from './diagram-icon-manual-task.component';
|
||||
export * from './diagram-icon-camel-task.component';
|
||||
export * from './diagram-icon-mule-task.component';
|
||||
export * from './diagram-icon-alfresco-publish-task.component';
|
||||
export * from './diagram-icon-rest-call-task.component';
|
||||
export * from './diagram-icon-google-drive-publish-task.component';
|
||||
export * from './diagram-icon-box-publish-task.component';
|
||||
export * from './diagram-icon-receive-task.component';
|
||||
export * from './diagram-icon-script-task.component';
|
||||
export * from './diagram-icon-business-rule-task.component';
|
||||
export * from './diagram-container-icon-event.component';
|
||||
export * from './diagram-icon-timer.component';
|
||||
export * from './diagram-icon-error.component';
|
||||
export * from './diagram-icon-signal.component';
|
||||
export * from './diagram-icon-message.component';
|
||||
|
||||
export const DIAGRAM_ICONS_DIRECTIVES: any[] = [
|
||||
DiagramIconServiceTaskComponent,
|
||||
DiagramIconSendTaskComponent,
|
||||
DiagramIconUserTaskComponent,
|
||||
DiagramIconManualTaskComponent,
|
||||
DiagramIconCamelTaskComponent,
|
||||
DiagramIconMuleTaskComponent,
|
||||
DiagramIconAlfrescoPublishTaskComponent,
|
||||
DiagramIconRestCallTaskComponent,
|
||||
DiagramIconGoogleDrivePublishTaskComponent,
|
||||
DiagramIconBoxPublishTaskComponent,
|
||||
DiagramIconReceiveTaskComponent,
|
||||
DiagramIconScriptTaskComponent,
|
||||
DiagramIconBusinessRuleTaskComponent,
|
||||
DiagramContainerIconEventTaskComponent,
|
||||
DiagramIconTimerComponent,
|
||||
DiagramIconErrorComponent,
|
||||
DiagramIconSignalComponent,
|
||||
DiagramIconMessageComponent
|
||||
];
|
@@ -1,61 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
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_GATEWAY_DIRECTIVES } from './gateways/index';
|
||||
import { DIAGRAM_ICONS_DIRECTIVES } from './icons/index';
|
||||
import { DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES } from './intermediate-catching-events/index';
|
||||
import { DIAGRAM_STRUCTURAL_DIRECTIVES } from './structural/index';
|
||||
import { DIAGRAM_SWIMLANES_DIRECTIVES } from './swimlanes/index';
|
||||
import { DiagramTooltipComponent } from './tooltip/index';
|
||||
|
||||
import { DiagramColorService } from '../services/diagram-color.service';
|
||||
import { DiagramsService } from '../services/diagrams.service';
|
||||
|
||||
// primitives
|
||||
export * from './diagram.component';
|
||||
export * from './events/index';
|
||||
export * from './activities/index';
|
||||
export * from './icons/index';
|
||||
export * from './diagram-sequence-flow.component';
|
||||
export * from './boundary-events/index';
|
||||
export * from './intermediate-catching-events/index';
|
||||
export * from './structural/index';
|
||||
export * from './swimlanes/index';
|
||||
|
||||
export const DIAGRAM_DIRECTIVES: any[] = [
|
||||
DiagramComponent,
|
||||
DIAGRAM_EVENTS_DIRECTIVES,
|
||||
DIAGRAM_ACTIVITIES_DIRECTIVES,
|
||||
DiagramSequenceFlowComponent,
|
||||
DIAGRAM_GATEWAY_DIRECTIVES,
|
||||
DIAGRAM_ICONS_DIRECTIVES,
|
||||
DIAGRAM_BOUNDARY_EVENTS_DIRECTIVES,
|
||||
DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES,
|
||||
DIAGRAM_STRUCTURAL_DIRECTIVES,
|
||||
DIAGRAM_SWIMLANES_DIRECTIVES,
|
||||
DiagramTooltipComponent
|
||||
];
|
||||
|
||||
export const DIAGRAM_PROVIDERS: any[] = [
|
||||
DiagramsService,
|
||||
DiagramColorService
|
||||
];
|
@@ -1,27 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramIntermediateCatchingEventComponent } from './diagram-intermediate-catching-event.component';
|
||||
|
||||
// primitives
|
||||
export * from './diagram-intermediate-catching-event.component';
|
||||
|
||||
export const DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES: any[] = [
|
||||
DiagramIntermediateCatchingEventComponent
|
||||
];
|
@@ -1,73 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { RaphaelIconAlfrescoPublishDirective } from './raphael-icon-alfresco-publish.component';
|
||||
import { RaphaelIconBoxPublishDirective } from './raphael-icon-box-publish.component';
|
||||
import { RaphaelIconBusinessRuleDirective } from './raphael-icon-business-rule.component';
|
||||
import { RaphaelIconCamelDirective } from './raphael-icon-camel.component';
|
||||
import { RaphaelIconErrorDirective } from './raphael-icon-error.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 { 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
|
||||
export * from './raphael-icon-service.component';
|
||||
export * from './raphael-icon-send.component';
|
||||
export * from './raphael-icon-user.component';
|
||||
export * from './raphael-icon-manual.component';
|
||||
export * from './raphael-icon-camel.component';
|
||||
export * from './raphael-icon-mule.component';
|
||||
export * from './raphael-icon-alfresco-publish.component';
|
||||
export * from './raphael-icon-rest-call.component';
|
||||
export * from './raphael-icon-google-drive-publish.component';
|
||||
export * from './raphael-icon-box-publish.component';
|
||||
export * from './raphael-icon-receive.component';
|
||||
export * from './raphael-icon-script.component';
|
||||
export * from './raphael-icon-business-rule.component';
|
||||
export * from './raphael-icon-timer.component';
|
||||
export * from './raphael-icon-error.component';
|
||||
export * from './raphael-icon-signal.component';
|
||||
export * from './raphael-icon-message.component';
|
||||
|
||||
export const RAPHAEL_ICONS_DIRECTIVES: any[] = [
|
||||
RaphaelIconServiceDirective,
|
||||
RaphaelIconSendDirective,
|
||||
RaphaelIconUserDirective,
|
||||
RaphaelIconManualDirective,
|
||||
RaphaelIconCamelDirective,
|
||||
RaphaelIconMuleDirective,
|
||||
RaphaelIconAlfrescoPublishDirective,
|
||||
RaphaelIconRestCallDirective,
|
||||
RaphaelIconGoogleDrivePublishDirective,
|
||||
RaphaelIconBoxPublishDirective,
|
||||
RaphaelIconReceiveDirective,
|
||||
RaphaelIconScriptDirective,
|
||||
RaphaelIconBusinessRuleDirective,
|
||||
RaphaelIconTimerDirective,
|
||||
RaphaelIconErrorDirective,
|
||||
RaphaelIconSignalDirective,
|
||||
RaphaelIconMessageDirective
|
||||
];
|
@@ -1,61 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { RaphaelCircleDirective } from './raphael-circle.component';
|
||||
import { RaphaelCrossDirective } from './raphael-cross.component';
|
||||
import { RaphaelFlowArrowDirective } from './raphael-flow-arrow.component';
|
||||
import { RaphaelMultilineTextDirective } from './raphael-multiline-text.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
|
||||
import { RaphaelService } from './raphael.service';
|
||||
|
||||
// icons
|
||||
import { RAPHAEL_ICONS_DIRECTIVES } from './icons/index';
|
||||
|
||||
// primitives
|
||||
export * from './raphael-circle.component';
|
||||
export * from './raphael-rect.component';
|
||||
export * from './raphael-text.component';
|
||||
export * from './raphael-multiline-text.component';
|
||||
export * from './raphael-flow-arrow.component';
|
||||
export * from './raphael-cross.component';
|
||||
export * from './raphael-plus.component';
|
||||
export * from './raphael-rhombus.component';
|
||||
export * from './raphael-pentagon.component';
|
||||
export * from './icons/index';
|
||||
|
||||
export const RAPHAEL_DIRECTIVES: any[] = [
|
||||
RaphaelCircleDirective,
|
||||
RaphaelRectDirective,
|
||||
RaphaelTextDirective,
|
||||
RaphaelMultilineTextDirective,
|
||||
RaphaelFlowArrowDirective,
|
||||
RaphaelCrossDirective,
|
||||
RaphaelPlusDirective,
|
||||
RaphaelRhombusDirective,
|
||||
RaphaelPentagonDirective,
|
||||
RAPHAEL_ICONS_DIRECTIVES
|
||||
];
|
||||
|
||||
export const RAPHAEL_PROVIDERS: any[] = [
|
||||
RaphaelService
|
||||
];
|
@@ -148,13 +148,11 @@ export class Polyline {
|
||||
}
|
||||
|
||||
pushAnchor(type, x, y) {
|
||||
var index, typeIndex;
|
||||
var index;
|
||||
if (type === Anchor.ANCHOR_TYPE.first) {
|
||||
index = 0;
|
||||
typeIndex = 0;
|
||||
} else if (type === Anchor.ANCHOR_TYPE.last) {
|
||||
index = this.getAnchorsCount();
|
||||
typeIndex = 0;
|
||||
} else if (!index) {
|
||||
index = this.anchors.length;
|
||||
} else {
|
||||
|
@@ -22,7 +22,7 @@ export class RaphaelBase {
|
||||
|
||||
paper: any;
|
||||
|
||||
private element: ElementRef;
|
||||
public element: ElementRef;
|
||||
|
||||
public constructor(element: ElementRef,
|
||||
private raphaelService: RaphaelService) {
|
||||
|
@@ -45,7 +45,7 @@ export class RaphaelService implements OnDestroy {
|
||||
|
||||
public getPaperBuilder(ctx: any): any {
|
||||
if (typeof Raphael === 'undefined') {
|
||||
throw new Error('ng2-charts configuration issue: Embedding Chart.js lib is mandatory');
|
||||
throw new Error('insights configuration issue: Embedding Chart.js lib is mandatory');
|
||||
}
|
||||
let paper = new Raphael(ctx, this.width, this.height);
|
||||
// paper.setViewBox(0, 0, 583, 344.08374193550003, false);
|
||||
|
@@ -1,30 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramEventSubprocessComponent } from './diagram-event-subprocess.component';
|
||||
import { DiagramSubprocessComponent } from './diagram-subprocess.component';
|
||||
|
||||
// primitives
|
||||
export * from './diagram-subprocess.component';
|
||||
export * from './diagram-event-subprocess.component';
|
||||
|
||||
export const DIAGRAM_STRUCTURAL_DIRECTIVES: any[] = [
|
||||
DiagramSubprocessComponent,
|
||||
DiagramEventSubprocessComponent
|
||||
];
|
@@ -1,37 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DiagramPoolComponent } from './diagram-pool.component';
|
||||
import { DiagramPoolsComponent } from './diagram-pools.component';
|
||||
|
||||
import { DiagramLaneComponent } from './diagram-lane.component';
|
||||
import { DiagramLanesComponent } from './diagram-lanes.component';
|
||||
|
||||
// primitives
|
||||
export * from './diagram-pools.component';
|
||||
export * from './diagram-pool.component';
|
||||
export * from './diagram-lanes.component';
|
||||
export * from './diagram-lane.component';
|
||||
|
||||
export const DIAGRAM_SWIMLANES_DIRECTIVES: any[] = [
|
||||
DiagramPoolsComponent,
|
||||
DiagramPoolComponent,
|
||||
DiagramLanesComponent,
|
||||
DiagramLaneComponent
|
||||
];
|
@@ -112,8 +112,6 @@ describe('DiagramTooltipComponent', () => {
|
||||
describe('Tooltip functionality', () => {
|
||||
|
||||
let fixture: ComponentFixture<TestHostComponent>;
|
||||
let component: TestHostComponent;
|
||||
let event: MouseEvent;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
@@ -123,8 +121,6 @@ describe('DiagramTooltipComponent', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(TestHostComponent);
|
||||
component = fixture.componentInstance;
|
||||
event = new MouseEvent('mouseenter');
|
||||
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@@ -1,20 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
export * from './diagram-tooltip.component';
|
@@ -19,10 +19,102 @@ import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
import { DIAGRAM_DIRECTIVES, DIAGRAM_PROVIDERS } from './components/index';
|
||||
import { DiagramEndEventComponent } from './components/events/diagram-end-event.component';
|
||||
import { DiagramEventComponent } from './components/events/diagram-event.component';
|
||||
import { DiagramStartEventComponent } from './components/events/diagram-start-event.component';
|
||||
|
||||
import { RAPHAEL_DIRECTIVES } from './components/raphael/index';
|
||||
import { RAPHAEL_PROVIDERS } from './components/raphael/index';
|
||||
import { DiagramAlfrescoPublishTaskComponent } from './components/activities/diagram-alfresco-publish-task.component';
|
||||
import { DiagramBoxPublishTaskComponent } from './components/activities/diagram-box-publish-task.component';
|
||||
import { DiagramBusinessRuleTaskComponent } from './components/activities/diagram-business-rule-task.component';
|
||||
import { DiagramCamelTaskComponent } from './components/activities/diagram-camel-task.component';
|
||||
import { DiagramContainerServiceTaskComponent } from './components/activities/diagram-container-service-task.component';
|
||||
import { DiagramGoogleDrivePublishTaskComponent } from './components/activities/diagram-google-drive-publish-task.component';
|
||||
import { DiagramManualTaskComponent } from './components/activities/diagram-manual-task.component';
|
||||
import { DiagramMuleTaskComponent } from './components/activities/diagram-mule-task.component';
|
||||
import { DiagramReceiveTaskComponent } from './components/activities/diagram-receive-task.component';
|
||||
import { DiagramRestCallTaskComponent } from './components/activities/diagram-rest-call-task.component';
|
||||
import { DiagramScriptTaskComponent } from './components/activities/diagram-script-task.component';
|
||||
import { DiagramSendTaskComponent } from './components/activities/diagram-send-task.component';
|
||||
import { DiagramServiceTaskComponent } from './components/activities/diagram-service-task.component';
|
||||
import { DiagramTaskComponent } from './components/activities/diagram-task.component';
|
||||
import { DiagramUserTaskComponent } from './components/activities/diagram-user-task.component';
|
||||
|
||||
import { DiagramBoundaryEventComponent } from './components/boundary-events/diagram-boundary-event.component';
|
||||
import { DiagramThrowEventComponent } from './components/boundary-events/diagram-throw-event.component';
|
||||
|
||||
import { DiagramIntermediateCatchingEventComponent } from './components/intermediate-catching-events/diagram-intermediate-catching-event.component';
|
||||
|
||||
import { DiagramEventGatewayComponent } from './components/gateways/diagram-event-gateway.component';
|
||||
import { DiagramExclusiveGatewayComponent } from './components/gateways/diagram-exclusive-gateway.component';
|
||||
import { DiagramGatewayComponent } from './components/gateways/diagram-gateway.component';
|
||||
import { DiagramInclusiveGatewayComponent } from './components/gateways/diagram-inclusive-gateway.component';
|
||||
import { DiagramParallelGatewayComponent } from './components/gateways/diagram-parallel-gateway.component';
|
||||
|
||||
import { DiagramSequenceFlowComponent } from './components/diagram-sequence-flow.component';
|
||||
import { DiagramComponent } from './components/diagram.component';
|
||||
|
||||
import { DiagramContainerIconEventTaskComponent } from './components/icons/diagram-container-icon-event.component';
|
||||
import { DiagramIconAlfrescoPublishTaskComponent } from './components/icons/diagram-icon-alfresco-publish-task.component';
|
||||
import { DiagramIconBoxPublishTaskComponent } from './components/icons/diagram-icon-box-publish-task.component';
|
||||
import { DiagramIconBusinessRuleTaskComponent } from './components/icons/diagram-icon-business-rule-task.component';
|
||||
import { DiagramIconCamelTaskComponent } from './components/icons/diagram-icon-camel-task.component';
|
||||
import { DiagramIconErrorComponent } from './components/icons/diagram-icon-error.component';
|
||||
import { DiagramIconGoogleDrivePublishTaskComponent } from './components/icons/diagram-icon-google-drive-publish-task.component';
|
||||
import { DiagramIconManualTaskComponent } from './components/icons/diagram-icon-manual-task.component';
|
||||
import { DiagramIconMessageComponent } from './components/icons/diagram-icon-message.component';
|
||||
import { DiagramIconMuleTaskComponent } from './components/icons/diagram-icon-mule-task.component';
|
||||
import { DiagramIconReceiveTaskComponent } from './components/icons/diagram-icon-receive-task.component';
|
||||
import { DiagramIconRestCallTaskComponent } from './components/icons/diagram-icon-rest-call-task.component';
|
||||
import { DiagramIconScriptTaskComponent } from './components/icons/diagram-icon-script-task.component';
|
||||
import { DiagramIconSendTaskComponent } from './components/icons/diagram-icon-send-task.component';
|
||||
import { DiagramIconServiceTaskComponent } from './components/icons/diagram-icon-service-task.component';
|
||||
import { DiagramIconSignalComponent } from './components/icons/diagram-icon-signal.component';
|
||||
import { DiagramIconTimerComponent } from './components/icons/diagram-icon-timer.component';
|
||||
import { DiagramIconUserTaskComponent } from './components/icons/diagram-icon-user-task.component';
|
||||
|
||||
import { DiagramEventSubprocessComponent } from './components/structural/diagram-event-subprocess.component';
|
||||
import { DiagramSubprocessComponent } from './components/structural/diagram-subprocess.component';
|
||||
|
||||
import { DiagramPoolComponent } from './components/swimlanes/diagram-pool.component';
|
||||
import { DiagramPoolsComponent } from './components/swimlanes/diagram-pools.component';
|
||||
|
||||
import { DiagramLaneComponent } from './components/swimlanes/diagram-lane.component';
|
||||
import { DiagramLanesComponent } from './components/swimlanes/diagram-lanes.component';
|
||||
|
||||
import { DiagramTooltipComponent } from './components/tooltip/diagram-tooltip.component';
|
||||
|
||||
import { DiagramColorService } from './services/diagram-color.service';
|
||||
import { DiagramsService } from './services/diagrams.service';
|
||||
|
||||
import { RaphaelService } from './components/raphael/raphael.service';
|
||||
|
||||
import { RaphaelCircleDirective } from './components/raphael/raphael-circle.component';
|
||||
import { RaphaelCrossDirective } from './components/raphael/raphael-cross.component';
|
||||
import { RaphaelFlowArrowDirective } from './components/raphael/raphael-flow-arrow.component';
|
||||
import { RaphaelMultilineTextDirective } from './components/raphael/raphael-multiline-text.component';
|
||||
import { RaphaelPentagonDirective } from './components/raphael/raphael-pentagon.component';
|
||||
import { RaphaelPlusDirective } from './components/raphael/raphael-plus.component';
|
||||
import { RaphaelRectDirective } from './components/raphael/raphael-rect.component';
|
||||
import { RaphaelRhombusDirective } from './components/raphael/raphael-rhombus.component';
|
||||
import { RaphaelTextDirective } from './components/raphael/raphael-text.component';
|
||||
|
||||
import { RaphaelIconAlfrescoPublishDirective } from './components/raphael/icons/raphael-icon-alfresco-publish.component';
|
||||
import { RaphaelIconBoxPublishDirective } from './components/raphael/icons/raphael-icon-box-publish.component';
|
||||
import { RaphaelIconBusinessRuleDirective } from './components/raphael/icons/raphael-icon-business-rule.component';
|
||||
import { RaphaelIconCamelDirective } from './components/raphael/icons/raphael-icon-camel.component';
|
||||
import { RaphaelIconErrorDirective } from './components/raphael/icons/raphael-icon-error.component';
|
||||
import { RaphaelIconGoogleDrivePublishDirective } from './components/raphael/icons/raphael-icon-google-drive-publish.component';
|
||||
import { RaphaelIconManualDirective } from './components/raphael/icons/raphael-icon-manual.component';
|
||||
import { RaphaelIconMessageDirective } from './components/raphael/icons/raphael-icon-message.component';
|
||||
import { RaphaelIconMuleDirective } from './components/raphael/icons/raphael-icon-mule.component';
|
||||
import { RaphaelIconReceiveDirective } from './components/raphael/icons/raphael-icon-receive.component';
|
||||
import { RaphaelIconRestCallDirective } from './components/raphael/icons/raphael-icon-rest-call.component';
|
||||
import { RaphaelIconScriptDirective } from './components/raphael/icons/raphael-icon-script.component';
|
||||
import { RaphaelIconSendDirective } from './components/raphael/icons/raphael-icon-send.component';
|
||||
import { RaphaelIconServiceDirective } from './components/raphael/icons/raphael-icon-service.component';
|
||||
import { RaphaelIconSignalDirective } from './components/raphael/icons/raphael-icon-signal.component';
|
||||
import { RaphaelIconTimerDirective } from './components/raphael/icons/raphael-icon-timer.component';
|
||||
import { RaphaelIconUserDirective } from './components/raphael/icons/raphael-icon-user.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -30,15 +122,171 @@ import { RAPHAEL_PROVIDERS } from './components/raphael/index';
|
||||
TranslateModule
|
||||
],
|
||||
declarations: [
|
||||
...DIAGRAM_DIRECTIVES,
|
||||
...RAPHAEL_DIRECTIVES
|
||||
DiagramComponent,
|
||||
DiagramEventComponent,
|
||||
DiagramStartEventComponent,
|
||||
DiagramEndEventComponent,
|
||||
DiagramContainerServiceTaskComponent,
|
||||
DiagramTaskComponent,
|
||||
DiagramServiceTaskComponent,
|
||||
DiagramSendTaskComponent,
|
||||
DiagramUserTaskComponent,
|
||||
DiagramManualTaskComponent,
|
||||
DiagramCamelTaskComponent,
|
||||
DiagramMuleTaskComponent,
|
||||
DiagramAlfrescoPublishTaskComponent,
|
||||
DiagramRestCallTaskComponent,
|
||||
DiagramGoogleDrivePublishTaskComponent,
|
||||
DiagramBoxPublishTaskComponent,
|
||||
DiagramReceiveTaskComponent,
|
||||
DiagramScriptTaskComponent,
|
||||
DiagramBusinessRuleTaskComponent,
|
||||
DiagramSequenceFlowComponent,
|
||||
DiagramGatewayComponent,
|
||||
DiagramExclusiveGatewayComponent,
|
||||
DiagramInclusiveGatewayComponent,
|
||||
DiagramParallelGatewayComponent,
|
||||
DiagramEventGatewayComponent,
|
||||
DiagramIconServiceTaskComponent,
|
||||
DiagramIconSendTaskComponent,
|
||||
DiagramIconUserTaskComponent,
|
||||
DiagramIconManualTaskComponent,
|
||||
DiagramIconCamelTaskComponent,
|
||||
DiagramIconMuleTaskComponent,
|
||||
DiagramIconAlfrescoPublishTaskComponent,
|
||||
DiagramIconRestCallTaskComponent,
|
||||
DiagramIconGoogleDrivePublishTaskComponent,
|
||||
DiagramIconBoxPublishTaskComponent,
|
||||
DiagramIconReceiveTaskComponent,
|
||||
DiagramIconScriptTaskComponent,
|
||||
DiagramIconBusinessRuleTaskComponent,
|
||||
DiagramContainerIconEventTaskComponent,
|
||||
DiagramIconTimerComponent,
|
||||
DiagramIconErrorComponent,
|
||||
DiagramIconSignalComponent,
|
||||
DiagramIconMessageComponent,
|
||||
DiagramBoundaryEventComponent,
|
||||
DiagramThrowEventComponent,
|
||||
DiagramIntermediateCatchingEventComponent,
|
||||
DiagramSubprocessComponent,
|
||||
DiagramEventSubprocessComponent,
|
||||
DiagramPoolsComponent,
|
||||
DiagramPoolComponent,
|
||||
DiagramLanesComponent,
|
||||
DiagramLaneComponent,
|
||||
DiagramTooltipComponent,
|
||||
RaphaelCircleDirective,
|
||||
RaphaelRectDirective,
|
||||
RaphaelTextDirective,
|
||||
RaphaelMultilineTextDirective,
|
||||
RaphaelFlowArrowDirective,
|
||||
RaphaelCrossDirective,
|
||||
RaphaelPlusDirective,
|
||||
RaphaelRhombusDirective,
|
||||
RaphaelPentagonDirective,
|
||||
RaphaelIconServiceDirective,
|
||||
RaphaelIconSendDirective,
|
||||
RaphaelIconUserDirective,
|
||||
RaphaelIconManualDirective,
|
||||
RaphaelIconCamelDirective,
|
||||
RaphaelIconMuleDirective,
|
||||
RaphaelIconAlfrescoPublishDirective,
|
||||
RaphaelIconRestCallDirective,
|
||||
RaphaelIconGoogleDrivePublishDirective,
|
||||
RaphaelIconBoxPublishDirective,
|
||||
RaphaelIconReceiveDirective,
|
||||
RaphaelIconScriptDirective,
|
||||
RaphaelIconBusinessRuleDirective,
|
||||
RaphaelIconTimerDirective,
|
||||
RaphaelIconErrorDirective,
|
||||
RaphaelIconSignalDirective,
|
||||
RaphaelIconMessageDirective
|
||||
],
|
||||
providers: [
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
DiagramsService,
|
||||
DiagramColorService,
|
||||
RaphaelService
|
||||
],
|
||||
exports: [
|
||||
...DIAGRAM_DIRECTIVES
|
||||
DiagramComponent,
|
||||
DiagramEventComponent,
|
||||
DiagramStartEventComponent,
|
||||
DiagramEndEventComponent,
|
||||
DiagramContainerServiceTaskComponent,
|
||||
DiagramTaskComponent,
|
||||
DiagramServiceTaskComponent,
|
||||
DiagramSendTaskComponent,
|
||||
DiagramUserTaskComponent,
|
||||
DiagramManualTaskComponent,
|
||||
DiagramCamelTaskComponent,
|
||||
DiagramMuleTaskComponent,
|
||||
DiagramAlfrescoPublishTaskComponent,
|
||||
DiagramRestCallTaskComponent,
|
||||
DiagramGoogleDrivePublishTaskComponent,
|
||||
DiagramBoxPublishTaskComponent,
|
||||
DiagramReceiveTaskComponent,
|
||||
DiagramScriptTaskComponent,
|
||||
DiagramBusinessRuleTaskComponent,
|
||||
DiagramSequenceFlowComponent,
|
||||
DiagramGatewayComponent,
|
||||
DiagramExclusiveGatewayComponent,
|
||||
DiagramInclusiveGatewayComponent,
|
||||
DiagramParallelGatewayComponent,
|
||||
DiagramEventGatewayComponent,
|
||||
DiagramIconServiceTaskComponent,
|
||||
DiagramIconSendTaskComponent,
|
||||
DiagramIconUserTaskComponent,
|
||||
DiagramIconManualTaskComponent,
|
||||
DiagramIconCamelTaskComponent,
|
||||
DiagramIconMuleTaskComponent,
|
||||
DiagramIconAlfrescoPublishTaskComponent,
|
||||
DiagramIconRestCallTaskComponent,
|
||||
DiagramIconGoogleDrivePublishTaskComponent,
|
||||
DiagramIconBoxPublishTaskComponent,
|
||||
DiagramIconReceiveTaskComponent,
|
||||
DiagramIconScriptTaskComponent,
|
||||
DiagramIconBusinessRuleTaskComponent,
|
||||
DiagramContainerIconEventTaskComponent,
|
||||
DiagramIconTimerComponent,
|
||||
DiagramIconErrorComponent,
|
||||
DiagramIconSignalComponent,
|
||||
DiagramIconMessageComponent,
|
||||
DiagramBoundaryEventComponent,
|
||||
DiagramThrowEventComponent,
|
||||
DiagramIntermediateCatchingEventComponent,
|
||||
DiagramSubprocessComponent,
|
||||
DiagramEventSubprocessComponent,
|
||||
DiagramPoolsComponent,
|
||||
DiagramPoolComponent,
|
||||
DiagramLanesComponent,
|
||||
DiagramLaneComponent,
|
||||
DiagramTooltipComponent,
|
||||
RaphaelCircleDirective,
|
||||
RaphaelRectDirective,
|
||||
RaphaelTextDirective,
|
||||
RaphaelMultilineTextDirective,
|
||||
RaphaelFlowArrowDirective,
|
||||
RaphaelCrossDirective,
|
||||
RaphaelPlusDirective,
|
||||
RaphaelRhombusDirective,
|
||||
RaphaelPentagonDirective,
|
||||
RaphaelIconServiceDirective,
|
||||
RaphaelIconSendDirective,
|
||||
RaphaelIconUserDirective,
|
||||
RaphaelIconManualDirective,
|
||||
RaphaelIconCamelDirective,
|
||||
RaphaelIconMuleDirective,
|
||||
RaphaelIconAlfrescoPublishDirective,
|
||||
RaphaelIconRestCallDirective,
|
||||
RaphaelIconGoogleDrivePublishDirective,
|
||||
RaphaelIconBoxPublishDirective,
|
||||
RaphaelIconReceiveDirective,
|
||||
RaphaelIconScriptDirective,
|
||||
RaphaelIconBusinessRuleDirective,
|
||||
RaphaelIconTimerDirective,
|
||||
RaphaelIconErrorDirective,
|
||||
RaphaelIconSignalDirective,
|
||||
RaphaelIconMessageDirective
|
||||
]
|
||||
})
|
||||
export class DiagramsModule {}
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import * as moment from 'moment';
|
||||
import moment from 'moment-es6';
|
||||
|
||||
export class Chart {
|
||||
id: string;
|
||||
|
@@ -1,19 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './chart.model';
|
||||
export * from './report.model';
|
@@ -15,8 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './components/index';
|
||||
export * from './components/raphael/index';
|
||||
export * from './models/index';
|
||||
export * from './components/diagram-sequence-flow.component';
|
||||
export * from './components/diagram.component';
|
||||
|
||||
export * from './diagram.module';
|
||||
export * from './services/diagram-color.service';
|
||||
export * from './services/diagrams.service';
|
||||
|
||||
export * from './models/diagram.model';
|
||||
export * from './models/chart.model';
|
||||
export * from './models/report.model';
|
||||
|
@@ -17,7 +17,8 @@
|
||||
|
||||
import { AlfrescoApiService, LogService } from '@alfresco/adf-core';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import 'rxjs/add/observable/throw';
|
||||
|
||||
@Injectable()
|
||||
export class DiagramsService {
|
||||
|
Reference in New Issue
Block a user