Move gateway in a subfolder

This commit is contained in:
mauriziovitale84 2016-10-21 10:45:46 +01:00
parent 5516c8a28b
commit eb24465e77
4 changed files with 30 additions and 5 deletions

View File

@ -16,7 +16,7 @@
*/
import { Component, ElementRef, Input, Output, EventEmitter } from '@angular/core';
import { DiagramColorService } from './services/diagram-color.service';
import { DiagramColorService } from './../services/diagram-color.service';
@Component({
moduleId: module.id,
@ -24,7 +24,7 @@ import { DiagramColorService } from './services/diagram-color.service';
templateUrl: './diagram-exclusive-gateway.component.html',
styleUrls: ['./diagram-exclusive-gateway.component.css']
})
export class DiagramExclusiveGatwayComponent {
export class DiagramExclusiveGatewayComponent {
@Input()
data: any;

View File

@ -0,0 +1,25 @@
/*!
* @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 { DiagramExclusiveGatewayComponent } from './diagram-exclusive-gateway.component';
// primitives
export * from './diagram-exclusive-gateway.component';
export const DIAGRAM_GATEWAY_DIRECTIVES: any[] = [
DiagramExclusiveGatewayComponent
];

View File

@ -19,7 +19,8 @@ import { DiagramComponent } from './diagram.component';
import { DiagramEventComponent } from './diagram-event.component';
import { DiagramTaskComponent } from './diagram-task.component';
import { DiagramSequenceFlowComponent } from './diagram-sequence-flow.component';
import { DiagramExclusiveGatwayComponent } from './diagram-exclusive-gateway.component';
import { DIAGRAM_GATEWAY_DIRECTIVES } from './gateway/index';
import { DiagramColorService } from './services/diagram-color.service';
@ -28,14 +29,13 @@ export * from './diagram.component';
export * from './diagram-event.component';
export * from './diagram-task.component';
export * from './diagram-sequence-flow.component';
export * from './diagram-exclusive-gateway.component';
export const DIAGRAM_DIRECTIVES: any[] = [
DiagramComponent,
DiagramEventComponent,
DiagramTaskComponent,
DiagramSequenceFlowComponent,
DiagramExclusiveGatwayComponent
DIAGRAM_GATEWAY_DIRECTIVES
];
export const DIAGRAM_PROVIDERS: any[] = [