Refactoring of directories

This commit is contained in:
mauriziovitale84
2016-10-31 10:29:33 +00:00
parent e673cd0cd9
commit 0f3c0b425a
18 changed files with 59 additions and 10 deletions
@@ -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,
@@ -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 { DiagramTaskComponent } from './diagram-task.component';
// primitives
export * from './diagram-task.component';
export const DIAGRAM_ACTIVITIES_DIRECTIVES: any[] = [
DiagramTaskComponent
];
@@ -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,
@@ -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 { DiagramEventComponent } from './diagram-event.component';
// primitives
export * from './diagram-event.component';
export const DIAGRAM_EVENTS_DIRECTIVES: any[] = [
DiagramEventComponent
];
@@ -16,24 +16,23 @@
*/
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 { DIAGRAM_GATEWAY_DIRECTIVES } from './gateway/index';
import { DIAGRAM_ACTIVITIES_DIRECTIVES } from './activities/index';
import { DIAGRAM_EVENTS_DIRECTIVES } from './events/index';
import { DIAGRAM_GATEWAY_DIRECTIVES } from './gateways/index';
import { DiagramColorService } from './services/diagram-color.service';
// primitives
export * from './diagram.component';
export * from './diagram-event.component';
export * from './diagram-task.component';
export * from './events/index';
export * from './activities/index';
export * from './diagram-sequence-flow.component';
export const DIAGRAM_DIRECTIVES: any[] = [
DiagramComponent,
DiagramEventComponent,
DiagramTaskComponent,
DIAGRAM_EVENTS_DIRECTIVES,
DIAGRAM_ACTIVITIES_DIRECTIVES,
DiagramSequenceFlowComponent,
DIAGRAM_GATEWAY_DIRECTIVES
];