mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-865] codelyzer diagrams and analytics (#2072)
* fix codelyzer diagrams and analytics * fix test
This commit is contained in:
@@ -43,7 +43,8 @@ module.exports = {
|
|||||||
loader: 'tslint-loader',
|
loader: 'tslint-loader',
|
||||||
options: {
|
options: {
|
||||||
emitErrors: true,
|
emitErrors: true,
|
||||||
failOnHint: true
|
failOnHint: true,
|
||||||
|
fix: true
|
||||||
},
|
},
|
||||||
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
||||||
},
|
},
|
||||||
@@ -63,8 +64,17 @@ module.exports = {
|
|||||||
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.component.scss$/,
|
test: /\.scss$/,
|
||||||
use: ['to-string-loader', 'raw-loader', 'sass-loader'],
|
use: [{
|
||||||
|
loader: "to-string-loader"
|
||||||
|
}, {
|
||||||
|
loader: "raw-loader"
|
||||||
|
}, {
|
||||||
|
loader: "sass-loader",
|
||||||
|
options: {
|
||||||
|
includePaths: [ path.resolve(__dirname, '../../ng2-alfresco-core/styles')]
|
||||||
|
}
|
||||||
|
}],
|
||||||
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -88,7 +88,7 @@
|
|||||||
<div class="mdl-dialog__content">
|
<div class="mdl-dialog__content">
|
||||||
<div *ngIf="isSaveAction()" id="save-title-submessage" class="export-message">{{'DIALOG.SAVE_MESSAGE' | translate}}</div>
|
<div *ngIf="isSaveAction()" id="save-title-submessage" class="export-message">{{'DIALOG.SAVE_MESSAGE' | translate}}</div>
|
||||||
<div class="mdl-textfield mdl-js-textfield save-export-input">
|
<div class="mdl-textfield mdl-js-textfield save-export-input">
|
||||||
<label id="report-name-label" [attr.for]="repname">Report Name</label>
|
<label id="report-name-label" [attr.for]="reportName">Report Name</label>
|
||||||
<input class="mdl-textfield__input"
|
<input class="mdl-textfield__input"
|
||||||
type="text"
|
type="text"
|
||||||
id="repName"
|
id="repName"
|
||||||
|
@@ -94,13 +94,16 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
|
|||||||
|
|
||||||
reportForm: FormGroup;
|
reportForm: FormGroup;
|
||||||
|
|
||||||
|
action: string;
|
||||||
|
|
||||||
|
isEditable: boolean = false;
|
||||||
|
|
||||||
|
reportName: string;
|
||||||
|
|
||||||
private dropDownSub;
|
private dropDownSub;
|
||||||
private reportParamsSub;
|
private reportParamsSub;
|
||||||
private paramOpts;
|
private paramOpts;
|
||||||
private isEditable: boolean = false;
|
|
||||||
private action: string;
|
|
||||||
private reportParamQuery: ReportQuery;
|
private reportParamQuery: ReportQuery;
|
||||||
private reportName: string;
|
|
||||||
private hideParameters: boolean = true;
|
private hideParameters: boolean = true;
|
||||||
private formValidState: boolean = false;
|
private formValidState: boolean = false;
|
||||||
|
|
||||||
|
@@ -6,4 +6,4 @@
|
|||||||
[(ngModel)]="field.value"
|
[(ngModel)]="field.value"
|
||||||
(ngModelChange)="changeValue(field)">
|
(ngModelChange)="changeValue(field)">
|
||||||
<span class="mdl-checkbox__label">{{field.nameKey | translate}}</span>
|
<span class="mdl-checkbox__label">{{field.nameKey | translate}}</span>
|
||||||
</label>
|
</label>
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* tslint:disable:no-access-missing-member */
|
||||||
import { Component, ElementRef, Input } from '@angular/core';
|
import { Component, ElementRef, Input } from '@angular/core';
|
||||||
import { FormGroup } from '@angular/forms';
|
import { FormGroup } from '@angular/forms';
|
||||||
import { WidgetComponent } from './../widget.component';
|
import { WidgetComponent } from './../widget.component';
|
||||||
@@ -23,7 +24,7 @@ import { WidgetComponent } from './../widget.component';
|
|||||||
selector: 'checkbox-widget',
|
selector: 'checkbox-widget',
|
||||||
templateUrl: './checkbox.widget.html'
|
templateUrl: './checkbox.widget.html'
|
||||||
})
|
})
|
||||||
export class CheckboxWidget extends WidgetComponent {
|
export class CheckboxWidgetComponent extends WidgetComponent {
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
field: any;
|
field: any;
|
||||||
|
@@ -45,4 +45,4 @@
|
|||||||
<p>FormGroup status : {{dateRange && dateRange.errors | json }}</p>
|
<p>FormGroup status : {{dateRange && dateRange.errors | json }}</p>
|
||||||
<p>FormGroup start status : {{dateRange && dateRange.controls.startDate && dateRange.controls.startDate.errors | json }}</p>
|
<p>FormGroup start status : {{dateRange && dateRange.controls.startDate && dateRange.controls.startDate.errors | json }}</p>
|
||||||
<p>FormGroup end status: {{dateRange && dateRange.controls.endDate.errors | json }}</p>
|
<p>FormGroup end status: {{dateRange && dateRange.controls.endDate.errors | json }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -15,7 +15,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
/* tslint:disable::no-access-missing-member */
|
||||||
|
import { Component, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output, ViewChild } from '@angular/core';
|
||||||
import { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
|
import { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
|
||||||
import * as moment from 'moment';
|
import * as moment from 'moment';
|
||||||
import { WidgetComponent } from './../widget.component';
|
import { WidgetComponent } from './../widget.component';
|
||||||
@@ -34,7 +35,7 @@ declare let mdDateTimePicker: any;
|
|||||||
templateUrl: './date-range.widget.html',
|
templateUrl: './date-range.widget.html',
|
||||||
styleUrls: ['./date-range.widget.css']
|
styleUrls: ['./date-range.widget.css']
|
||||||
})
|
})
|
||||||
export class DateRangeWidget extends WidgetComponent {
|
export class DateRangeWidgetComponent extends WidgetComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
public static FORMAT_DATE_ACTIVITI: string = 'YYYY-MM-DD';
|
public static FORMAT_DATE_ACTIVITI: string = 'YYYY-MM-DD';
|
||||||
|
|
||||||
@@ -97,7 +98,7 @@ export class DateRangeWidget extends WidgetComponent {
|
|||||||
future: moment().add(100, 'years')
|
future: moment().add(100, 'years')
|
||||||
};
|
};
|
||||||
|
|
||||||
settings.init = moment(date, DateRangeWidget.FORMAT_DATE_ACTIVITI);
|
settings.init = moment(date, DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI);
|
||||||
|
|
||||||
this.dialogStart = new mdDateTimePicker.default(settings);
|
this.dialogStart = new mdDateTimePicker.default(settings);
|
||||||
this.dialogStart.trigger = this.startElement.nativeElement;
|
this.dialogStart.trigger = this.startElement.nativeElement;
|
||||||
@@ -145,7 +146,7 @@ export class DateRangeWidget extends WidgetComponent {
|
|||||||
future: moment().add(100, 'years')
|
future: moment().add(100, 'years')
|
||||||
};
|
};
|
||||||
|
|
||||||
settings.init = moment(date, DateRangeWidget.FORMAT_DATE_ACTIVITI);
|
settings.init = moment(date, DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI);
|
||||||
|
|
||||||
this.dialogEnd = new mdDateTimePicker.default(settings);
|
this.dialogEnd = new mdDateTimePicker.default(settings);
|
||||||
this.dialogEnd.trigger = this.endElement.nativeElement;
|
this.dialogEnd.trigger = this.endElement.nativeElement;
|
||||||
@@ -157,7 +158,7 @@ export class DateRangeWidget extends WidgetComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onOkStart(inputEl: HTMLInputElement) {
|
onOkStart(inputEl: HTMLInputElement) {
|
||||||
let date = this.dialogStart.time.format(DateRangeWidget.FORMAT_DATE_ACTIVITI);
|
let date = this.dialogStart.time.format(DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI);
|
||||||
this.dateRange.patchValue({
|
this.dateRange.patchValue({
|
||||||
startDate: date
|
startDate: date
|
||||||
});
|
});
|
||||||
@@ -168,7 +169,7 @@ export class DateRangeWidget extends WidgetComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onOkEnd(inputEl: HTMLInputElement) {
|
onOkEnd(inputEl: HTMLInputElement) {
|
||||||
let date = this.dialogEnd.time.format(DateRangeWidget.FORMAT_DATE_ACTIVITI);
|
let date = this.dialogEnd.time.format(DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI);
|
||||||
this.dateRange.patchValue({
|
this.dateRange.patchValue({
|
||||||
endDate: date
|
endDate: date
|
||||||
});
|
});
|
||||||
@@ -188,14 +189,14 @@ export class DateRangeWidget extends WidgetComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public convertToMomentDateWithTime(date: string) {
|
public convertToMomentDateWithTime(date: string) {
|
||||||
return moment(date, DateRangeWidget.FORMAT_DATE_ACTIVITI, true).format(DateRangeWidget.FORMAT_DATE_ACTIVITI) + 'T00:00:00.000Z';
|
return moment(date, DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI, true).format(DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI) + 'T00:00:00.000Z';
|
||||||
}
|
}
|
||||||
|
|
||||||
private convertToMomentDate(date: string) {
|
private convertToMomentDate(date: string) {
|
||||||
if (date) {
|
if (date) {
|
||||||
return moment(date).format(DateRangeWidget.FORMAT_DATE_ACTIVITI);
|
return moment(date).format(DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI);
|
||||||
} else {
|
} else {
|
||||||
return moment().format(DateRangeWidget.FORMAT_DATE_ACTIVITI);
|
return moment().format(DateRangeWidgetComponent.FORMAT_DATE_ACTIVITI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -5,4 +5,4 @@
|
|||||||
<option *ngIf="showDefaultOption" value="null">{{defaultOptionText}}</option>
|
<option *ngIf="showDefaultOption" value="null">{{defaultOptionText}}</option>
|
||||||
<option *ngFor="let opt of field.options" [value]="opt.id">{{opt.label}}</option>
|
<option *ngFor="let opt of field.options" [value]="opt.id">{{opt.label}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -15,7 +15,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
/* tslint:disable::no-access-missing-member */
|
||||||
|
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
||||||
import { WidgetComponent } from './../widget.component';
|
import { WidgetComponent } from './../widget.component';
|
||||||
|
|
||||||
@@ -24,7 +25,7 @@ import { WidgetComponent } from './../widget.component';
|
|||||||
templateUrl: './dropdown.widget.html',
|
templateUrl: './dropdown.widget.html',
|
||||||
styleUrls: ['./dropdown.widget.css']
|
styleUrls: ['./dropdown.widget.css']
|
||||||
})
|
})
|
||||||
export class DropdownWidget extends WidgetComponent {
|
export class DropdownWidgetComponent extends WidgetComponent implements OnInit {
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
field: any;
|
field: any;
|
||||||
|
@@ -15,17 +15,18 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* tslint:disable::no-access-missing-member */
|
||||||
import { Component, ElementRef, Input, OnInit } from '@angular/core';
|
import { Component, ElementRef, Input, OnInit } from '@angular/core';
|
||||||
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
||||||
import { ParameterValueModel, ReportParameterDetailsModel } from './../../../models/report.model';
|
import { ParameterValueModel, ReportParameterDetailsModel } from './../../../models/report.model';
|
||||||
import { NumberWidget } from './../number/number.widget';
|
import { NumberWidgetComponent } from './../number/number.widget';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'duration-widget',
|
selector: 'duration-widget',
|
||||||
templateUrl: './duration.widget.html',
|
templateUrl: './duration.widget.html',
|
||||||
styleUrls: ['./duration.widget.css']
|
styleUrls: ['./duration.widget.css']
|
||||||
})
|
})
|
||||||
export class DurationWidget extends NumberWidget implements OnInit {
|
export class DurationWidgetComponent extends NumberWidgetComponent implements OnInit {
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
field: any;
|
field: any;
|
||||||
|
@@ -15,11 +15,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { CheckboxWidget } from './checkbox/checkbox.widget';
|
import { CheckboxWidgetComponent } from './checkbox/checkbox.widget';
|
||||||
import { DateRangeWidget } from './date-range/date-range.widget';
|
import { DateRangeWidgetComponent } from './date-range/date-range.widget';
|
||||||
import { DropdownWidget } from './dropdown/dropdown.widget';
|
import { DropdownWidgetComponent } from './dropdown/dropdown.widget';
|
||||||
import { DurationWidget } from './duration/duration.widget';
|
import { DurationWidgetComponent } from './duration/duration.widget';
|
||||||
import { NumberWidget } from './number/number.widget';
|
import { NumberWidgetComponent } from './number/number.widget';
|
||||||
|
|
||||||
// primitives
|
// primitives
|
||||||
export * from './dropdown/dropdown.widget';
|
export * from './dropdown/dropdown.widget';
|
||||||
@@ -29,9 +29,9 @@ export * from './checkbox/checkbox.widget';
|
|||||||
export * from './date-range/date-range.widget';
|
export * from './date-range/date-range.widget';
|
||||||
|
|
||||||
export const WIDGET_DIRECTIVES: any[] = [
|
export const WIDGET_DIRECTIVES: any[] = [
|
||||||
DropdownWidget,
|
DropdownWidgetComponent,
|
||||||
NumberWidget,
|
NumberWidgetComponent,
|
||||||
DurationWidget,
|
DurationWidgetComponent,
|
||||||
CheckboxWidget,
|
CheckboxWidgetComponent,
|
||||||
DateRangeWidget
|
DateRangeWidgetComponent
|
||||||
];
|
];
|
||||||
|
@@ -7,4 +7,4 @@
|
|||||||
[(ngModel)]="field.value"
|
[(ngModel)]="field.value"
|
||||||
(ngModelChange)="changeValue(field)">
|
(ngModelChange)="changeValue(field)">
|
||||||
<label class="mdl-textfield__label" [attr.for]="field.id">{{field.nameKey | translate}}</label>
|
<label class="mdl-textfield__label" [attr.for]="field.id">{{field.nameKey | translate}}</label>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -15,7 +15,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, Input } from '@angular/core';
|
/* tslint:disable::no-access-missing-member */
|
||||||
|
import { Component, ElementRef, Input, OnInit } from '@angular/core';
|
||||||
import { FormGroup, Validators } from '@angular/forms';
|
import { FormGroup, Validators } from '@angular/forms';
|
||||||
import { WidgetComponent } from './../widget.component';
|
import { WidgetComponent } from './../widget.component';
|
||||||
|
|
||||||
@@ -24,7 +25,7 @@ import { WidgetComponent } from './../widget.component';
|
|||||||
templateUrl: './number.widget.html',
|
templateUrl: './number.widget.html',
|
||||||
styleUrls: ['./number.widget.css']
|
styleUrls: ['./number.widget.css']
|
||||||
})
|
})
|
||||||
export class NumberWidget extends WidgetComponent {
|
export class NumberWidgetComponent extends WidgetComponent implements OnInit {
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
field: any;
|
field: any;
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"rulesDirectory": [
|
||||||
|
"node_modules/codelyzer"
|
||||||
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"align": [
|
"align": [
|
||||||
true,
|
true,
|
||||||
@@ -105,14 +108,50 @@
|
|||||||
"allow-leading-underscore",
|
"allow-leading-underscore",
|
||||||
"ban-keywords"
|
"ban-keywords"
|
||||||
],
|
],
|
||||||
|
"callable-types": true,
|
||||||
|
"import-blacklist": [
|
||||||
|
true,
|
||||||
|
"rxjs"
|
||||||
|
],
|
||||||
|
"import-spacing": true,
|
||||||
|
"interface-over-type-literal": true,
|
||||||
|
"member-access": false,
|
||||||
|
"no-empty-interface": true,
|
||||||
|
"no-string-literal": false,
|
||||||
|
"no-string-throw": true,
|
||||||
|
"prefer-const": false,
|
||||||
|
"typeof-compare": true,
|
||||||
|
"unified-signatures": true,
|
||||||
"whitespace": [
|
"whitespace": [
|
||||||
true,
|
true,
|
||||||
"check-branch",
|
"check-branch",
|
||||||
|
"check-decl",
|
||||||
"check-operator",
|
"check-operator",
|
||||||
"check-separator",
|
"check-separator",
|
||||||
"check-type",
|
"check-type"
|
||||||
"check-module",
|
],
|
||||||
"check-decl"
|
"directive-selector": [
|
||||||
]
|
true,
|
||||||
|
"attribute",
|
||||||
|
"app",
|
||||||
|
"camelCase"
|
||||||
|
],
|
||||||
|
"component-selector": [
|
||||||
|
true,
|
||||||
|
"element",
|
||||||
|
"app",
|
||||||
|
"kebab-case"
|
||||||
|
],
|
||||||
|
"ordered-imports": true,
|
||||||
|
"use-input-property-decorator": true,
|
||||||
|
"use-output-property-decorator": true,
|
||||||
|
"use-host-property-decorator": true,
|
||||||
|
"use-life-cycle-interface": true,
|
||||||
|
"use-pipe-transform-interface": true,
|
||||||
|
"component-class-suffix": true,
|
||||||
|
"directive-class-suffix": true,
|
||||||
|
"no-access-missing-member": false,
|
||||||
|
"templates-use-public": true,
|
||||||
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -42,7 +42,8 @@ module.exports = {
|
|||||||
loader: 'tslint-loader',
|
loader: 'tslint-loader',
|
||||||
options: {
|
options: {
|
||||||
emitErrors: true,
|
emitErrors: true,
|
||||||
failOnHint: true
|
failOnHint: true,
|
||||||
|
fix: true
|
||||||
},
|
},
|
||||||
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
||||||
},
|
},
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-diagram-publish-task, diagram-alfresco-publish-task',
|
selector: 'adf-diagram-publish-task, diagram-alfresco-publish-task',
|
||||||
templateUrl: './diagram-alfresco-publish-task.component.html'
|
templateUrl: './diagram-alfresco-publish-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramAlfrescoPublishTaskComponent {
|
export class DiagramAlfrescoPublishTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-box-publish-task',
|
selector: 'diagram-box-publish-task',
|
||||||
templateUrl: './diagram-box-publish-task.component.html'
|
templateUrl: './diagram-box-publish-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramBoxPublishTaskComponent {
|
export class DiagramBoxPublishTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-business-rule-task',
|
selector: 'diagram-business-rule-task',
|
||||||
templateUrl: './diagram-business-rule-task.component.html'
|
templateUrl: './diagram-business-rule-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramBusinessRuleTaskComponent {
|
export class DiagramBusinessRuleTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-camel-task',
|
selector: 'diagram-camel-task',
|
||||||
templateUrl: './diagram-camel-task.component.html'
|
templateUrl: './diagram-camel-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramCamelTaskComponent {
|
export class DiagramCamelTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-container-service-task',
|
selector: 'diagram-container-service-task',
|
||||||
templateUrl: './diagram-container-service-task.component.html'
|
templateUrl: './diagram-container-service-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramContainerServiceTaskComponent {
|
export class DiagramContainerServiceTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-google-drive-publish-task',
|
selector: 'diagram-google-drive-publish-task',
|
||||||
templateUrl: './diagram-google-drive-publish-task.component.html'
|
templateUrl: './diagram-google-drive-publish-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramGoogleDrivePublishTaskComponent {
|
export class DiagramGoogleDrivePublishTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-manual-task',
|
selector: 'diagram-manual-task',
|
||||||
templateUrl: './diagram-manual-task.component.html'
|
templateUrl: './diagram-manual-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramManualTaskComponent {
|
export class DiagramManualTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
@@ -30,7 +30,8 @@ export class DiagramManualTaskComponent {
|
|||||||
onError = new EventEmitter();
|
onError = new EventEmitter();
|
||||||
|
|
||||||
constructor(public elementRef: ElementRef,
|
constructor(public elementRef: ElementRef,
|
||||||
private diagramColorService: DiagramColorService) {}
|
private diagramColorService: DiagramColorService) {
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-mule-task',
|
selector: 'diagram-mule-task',
|
||||||
templateUrl: './diagram-mule-task.component.html'
|
templateUrl: './diagram-mule-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramMuleTaskComponent {
|
export class DiagramMuleTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-receive-task',
|
selector: 'diagram-receive-task',
|
||||||
templateUrl: './diagram-receive-task.component.html'
|
templateUrl: './diagram-receive-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramReceiveTaskComponent {
|
export class DiagramReceiveTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-rest-call-task',
|
selector: 'diagram-rest-call-task',
|
||||||
templateUrl: './diagram-rest-call-task.component.html'
|
templateUrl: './diagram-rest-call-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramRestCallTaskComponent {
|
export class DiagramRestCallTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-script-task',
|
selector: 'diagram-script-task',
|
||||||
templateUrl: './diagram-script-task.component.html'
|
templateUrl: './diagram-script-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramScriptTaskComponent {
|
export class DiagramScriptTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-send-task',
|
selector: 'diagram-send-task',
|
||||||
templateUrl: './diagram-send-task.component.html'
|
templateUrl: './diagram-send-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramSendTaskComponent {
|
export class DiagramSendTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-service-task',
|
selector: 'diagram-service-task',
|
||||||
templateUrl: './diagram-service-task.component.html'
|
templateUrl: './diagram-service-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramServiceTaskComponent {
|
export class DiagramServiceTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-task',
|
selector: 'diagram-task',
|
||||||
templateUrl: './diagram-task.component.html'
|
templateUrl: './diagram-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramTaskComponent {
|
export class DiagramTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-user-task',
|
selector: 'diagram-user-task',
|
||||||
templateUrl: './diagram-user-task.component.html'
|
templateUrl: './diagram-user-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramUserTaskComponent {
|
export class DiagramUserTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-boundary-event',
|
selector: 'diagram-boundary-event',
|
||||||
templateUrl: './diagram-boundary-event.component.html'
|
templateUrl: './diagram-boundary-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramBoundaryEventComponent {
|
export class DiagramBoundaryEventComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-throw-event',
|
selector: 'diagram-throw-event',
|
||||||
templateUrl: './diagram-throw-event.component.html'
|
templateUrl: './diagram-throw-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramThrowEventComponent {
|
export class DiagramThrowEventComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
@@ -38,7 +38,8 @@ export class DiagramThrowEventComponent {
|
|||||||
circleRadiusOuter: number;
|
circleRadiusOuter: number;
|
||||||
|
|
||||||
constructor(public elementRef: ElementRef,
|
constructor(public elementRef: ElementRef,
|
||||||
private diagramColorService: DiagramColorService) {}
|
private diagramColorService: DiagramColorService) {
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.center.x = this.data.x + (this.data.width / 2);
|
this.center.x = this.data.x + (this.data.width / 2);
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-sequence-flow',
|
selector: 'diagram-sequence-flow',
|
||||||
templateUrl: './diagram-sequence-flow.component.html'
|
templateUrl: './diagram-sequence-flow.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramSequenceFlowComponent {
|
export class DiagramSequenceFlowComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
flow: any;
|
flow: any;
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output, SimpleChanges } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
|
||||||
import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core';
|
import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core';
|
||||||
import { DiagramElementModel, DiagramModel } from '../models/diagram.model';
|
import { DiagramElementModel, DiagramModel } from '../models/diagram.model';
|
||||||
import { DiagramColorService } from '../services/diagram-color.service';
|
import { DiagramColorService } from '../services/diagram-color.service';
|
||||||
@@ -27,7 +27,7 @@ import { RaphaelService } from './raphael/raphael.service';
|
|||||||
styleUrls: ['./diagram.component.css'],
|
styleUrls: ['./diagram.component.css'],
|
||||||
templateUrl: './diagram.component.html'
|
templateUrl: './diagram.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramComponent {
|
export class DiagramComponent implements OnChanges {
|
||||||
@Input()
|
@Input()
|
||||||
processDefinitionId: any;
|
processDefinitionId: any;
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ export class DiagramComponent {
|
|||||||
PADDING_WIDTH: number = 60;
|
PADDING_WIDTH: number = 60;
|
||||||
PADDING_HEIGHT: number = 60;
|
PADDING_HEIGHT: number = 60;
|
||||||
|
|
||||||
private diagram: DiagramModel;
|
diagram: DiagramModel;
|
||||||
|
|
||||||
constructor(private elementRef: ElementRef,
|
constructor(private elementRef: ElementRef,
|
||||||
private translateService: AlfrescoTranslationService,
|
private translateService: AlfrescoTranslationService,
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-end-event',
|
selector: 'diagram-end-event',
|
||||||
templateUrl: './diagram-end-event.component.html'
|
templateUrl: './diagram-end-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramEndEventComponent {
|
export class DiagramEndEventComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-event',
|
selector: 'diagram-event',
|
||||||
templateUrl: './diagram-event.component.html'
|
templateUrl: './diagram-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramEventComponent {
|
export class DiagramEventComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-start-event',
|
selector: 'diagram-start-event',
|
||||||
templateUrl: './diagram-start-event.component.html'
|
templateUrl: './diagram-start-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramStartEventComponent {
|
export class DiagramStartEventComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-event-gateway',
|
selector: 'diagram-event-gateway',
|
||||||
templateUrl: './diagram-event-gateway.component.html'
|
templateUrl: './diagram-event-gateway.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramEventGatewayComponent {
|
export class DiagramEventGatewayComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-exclusive-gateway',
|
selector: 'diagram-exclusive-gateway',
|
||||||
templateUrl: './diagram-exclusive-gateway.component.html'
|
templateUrl: './diagram-exclusive-gateway.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramExclusiveGatewayComponent {
|
export class DiagramExclusiveGatewayComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-gateway',
|
selector: 'diagram-gateway',
|
||||||
templateUrl: './diagram-gateway.component.html'
|
templateUrl: './diagram-gateway.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramGatewayComponent {
|
export class DiagramGatewayComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-inclusive-gateway',
|
selector: 'diagram-inclusive-gateway',
|
||||||
templateUrl: './diagram-inclusive-gateway.component.html'
|
templateUrl: './diagram-inclusive-gateway.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramInclusiveGatewayComponent {
|
export class DiagramInclusiveGatewayComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-parallel-gateway',
|
selector: 'diagram-parallel-gateway',
|
||||||
templateUrl: './diagram-parallel-gateway.component.html'
|
templateUrl: './diagram-parallel-gateway.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramParallelGatewayComponent {
|
export class DiagramParallelGatewayComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-container-icon-event',
|
selector: 'diagram-container-icon-event',
|
||||||
templateUrl: './diagram-container-icon-event.component.html'
|
templateUrl: './diagram-container-icon-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramContainerIconEventTaskComponent {
|
export class DiagramContainerIconEventTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-diagram-icon-publish-task, diagram-icon-alfresco-publish-task',
|
selector: 'adf-diagram-icon-publish-task, diagram-icon-alfresco-publish-task',
|
||||||
templateUrl: './diagram-icon-alfresco-publish-task.component.html'
|
templateUrl: './diagram-icon-alfresco-publish-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconAlfrescoPublishTaskComponent {
|
export class DiagramIconAlfrescoPublishTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-box-publish-task',
|
selector: 'diagram-icon-box-publish-task',
|
||||||
templateUrl: './diagram-icon-box-publish-task.component.html'
|
templateUrl: './diagram-icon-box-publish-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconBoxPublishTaskComponent {
|
export class DiagramIconBoxPublishTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-business-rule-task',
|
selector: 'diagram-icon-business-rule-task',
|
||||||
templateUrl: './diagram-icon-business-rule-task.component.html'
|
templateUrl: './diagram-icon-business-rule-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconBusinessRuleTaskComponent {
|
export class DiagramIconBusinessRuleTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-camel-task',
|
selector: 'diagram-icon-camel-task',
|
||||||
templateUrl: './diagram-icon-camel-task.component.html'
|
templateUrl: './diagram-icon-camel-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconCamelTaskComponent {
|
export class DiagramIconCamelTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-error',
|
selector: 'diagram-icon-error',
|
||||||
templateUrl: './diagram-icon-error.component.html'
|
templateUrl: './diagram-icon-error.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconErrorComponent {
|
export class DiagramIconErrorComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-google-drive-publish-task',
|
selector: 'diagram-icon-google-drive-publish-task',
|
||||||
templateUrl: './diagram-icon-google-drive-publish-task.component.html'
|
templateUrl: './diagram-icon-google-drive-publish-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconGoogleDrivePublishTaskComponent {
|
export class DiagramIconGoogleDrivePublishTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-manual-task',
|
selector: 'diagram-icon-manual-task',
|
||||||
templateUrl: './diagram-icon-manual-task.component.html'
|
templateUrl: './diagram-icon-manual-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconManualTaskComponent {
|
export class DiagramIconManualTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-message',
|
selector: 'diagram-icon-message',
|
||||||
templateUrl: './diagram-icon-message.component.html'
|
templateUrl: './diagram-icon-message.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconMessageComponent {
|
export class DiagramIconMessageComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-mule-task',
|
selector: 'diagram-icon-mule-task',
|
||||||
templateUrl: './diagram-icon-mule-task.component.html'
|
templateUrl: './diagram-icon-mule-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconMuleTaskComponent {
|
export class DiagramIconMuleTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-receive-task',
|
selector: 'diagram-icon-receive-task',
|
||||||
templateUrl: './diagram-icon-receive-task.component.html'
|
templateUrl: './diagram-icon-receive-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconReceiveTaskComponent {
|
export class DiagramIconReceiveTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-rest-call-task',
|
selector: 'diagram-icon-rest-call-task',
|
||||||
templateUrl: './diagram-icon-rest-call-task.component.html'
|
templateUrl: './diagram-icon-rest-call-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconRestCallTaskComponent {
|
export class DiagramIconRestCallTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-script-task',
|
selector: 'diagram-icon-script-task',
|
||||||
templateUrl: './diagram-icon-script-task.component.html'
|
templateUrl: './diagram-icon-script-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconScriptTaskComponent {
|
export class DiagramIconScriptTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-send-task',
|
selector: 'diagram-icon-send-task',
|
||||||
templateUrl: './diagram-icon-send-task.component.html'
|
templateUrl: './diagram-icon-send-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconSendTaskComponent {
|
export class DiagramIconSendTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-service-task',
|
selector: 'diagram-icon-service-task',
|
||||||
templateUrl: './diagram-icon-service-task.component.html'
|
templateUrl: './diagram-icon-service-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconServiceTaskComponent {
|
export class DiagramIconServiceTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-signal',
|
selector: 'diagram-icon-signal',
|
||||||
templateUrl: './diagram-icon-signal.component.html'
|
templateUrl: './diagram-icon-signal.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconSignalComponent {
|
export class DiagramIconSignalComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-timer',
|
selector: 'diagram-icon-timer',
|
||||||
templateUrl: './diagram-icon-timer.component.html'
|
templateUrl: './diagram-icon-timer.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconTimerComponent {
|
export class DiagramIconTimerComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-icon-user-task',
|
selector: 'diagram-icon-user-task',
|
||||||
templateUrl: './diagram-icon-user-task.component.html'
|
templateUrl: './diagram-icon-user-task.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIconUserTaskComponent {
|
export class DiagramIconUserTaskComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@ import { DIAGRAM_ICONS_DIRECTIVES } from './icons/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';
|
||||||
import { DiagramTooltip } from './tooltip/index';
|
import { DiagramTooltipComponent } from './tooltip/index';
|
||||||
|
|
||||||
import { DiagramColorService } from '../services/diagram-color.service';
|
import { DiagramColorService } from '../services/diagram-color.service';
|
||||||
import { DiagramsService } from '../services/diagrams.service';
|
import { DiagramsService } from '../services/diagrams.service';
|
||||||
@@ -52,7 +52,7 @@ export const DIAGRAM_DIRECTIVES: any[] = [
|
|||||||
DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES,
|
DIAGRAM_INTERMEDIATE_EVENTS_DIRECTIVES,
|
||||||
DIAGRAM_STRUCTURAL_DIRECTIVES,
|
DIAGRAM_STRUCTURAL_DIRECTIVES,
|
||||||
DIAGRAM_SWIMLANES_DIRECTIVES,
|
DIAGRAM_SWIMLANES_DIRECTIVES,
|
||||||
DiagramTooltip
|
DiagramTooltipComponent
|
||||||
];
|
];
|
||||||
|
|
||||||
export const DIAGRAM_PROVIDERS: any[] = [
|
export const DIAGRAM_PROVIDERS: any[] = [
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-intermediate-catching-event',
|
selector: 'diagram-intermediate-catching-event',
|
||||||
templateUrl: './diagram-intermediate-catching-event.component.html'
|
templateUrl: './diagram-intermediate-catching-event.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramIntermediateCatchingEventComponent {
|
export class DiagramIntermediateCatchingEventComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,12 +15,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable , OnDestroy} from '@angular/core';
|
||||||
|
|
||||||
declare let Raphael: any;
|
declare let Raphael: any;
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class RaphaelService {
|
export class RaphaelService implements OnDestroy {
|
||||||
|
|
||||||
paper: any;
|
paper: any;
|
||||||
width: number = 300;
|
width: number = 300;
|
||||||
@@ -53,7 +53,7 @@ export class RaphaelService {
|
|||||||
return paper;
|
return paper;
|
||||||
}
|
}
|
||||||
|
|
||||||
private ngOnDestroy(): any {
|
public ngOnDestroy(): any {
|
||||||
if (this.paper) {
|
if (this.paper) {
|
||||||
this.paper.clear();
|
this.paper.clear();
|
||||||
this.paper = void 0;
|
this.paper = void 0;
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output} from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-event-subprocess',
|
selector: 'diagram-event-subprocess',
|
||||||
templateUrl: './diagram-event-subprocess.component.html'
|
templateUrl: './diagram-event-subprocess.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramEventSubprocessComponent {
|
export class DiagramEventSubprocessComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-subprocess',
|
selector: 'diagram-subprocess',
|
||||||
templateUrl: './diagram-subprocess.component.html'
|
templateUrl: './diagram-subprocess.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramSubprocessComponent {
|
export class DiagramSubprocessComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
data: any;
|
data: any;
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-lane',
|
selector: 'diagram-lane',
|
||||||
templateUrl: './diagram-lane.component.html'
|
templateUrl: './diagram-lane.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramLaneComponent {
|
export class DiagramLaneComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
lane: any;
|
lane: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-lanes',
|
selector: 'diagram-lanes',
|
||||||
templateUrl: './diagram-lanes.component.html'
|
templateUrl: './diagram-lanes.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramLanesComponent {
|
export class DiagramLanesComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
lanes: any [];
|
lanes: any [];
|
||||||
|
|
||||||
|
@@ -15,14 +15,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
import { DiagramColorService } from '../../services/diagram-color.service';
|
import { DiagramColorService } from '../../services/diagram-color.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-pool',
|
selector: 'diagram-pool',
|
||||||
templateUrl: './diagram-pool.component.html'
|
templateUrl: './diagram-pool.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramPoolComponent {
|
export class DiagramPoolComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
pool: any;
|
pool: any;
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';
|
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'diagram-pools',
|
selector: 'diagram-pools',
|
||||||
templateUrl: './diagram-pools.component.html'
|
templateUrl: './diagram-pools.component.html'
|
||||||
})
|
})
|
||||||
export class DiagramPoolsComponent {
|
export class DiagramPoolsComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
pools: any [];
|
pools: any [];
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { By } from '@angular/platform-browser';
|
import { By } from '@angular/platform-browser';
|
||||||
import { DiagramTooltip } from './diagram-tooltip.component';
|
import { DiagramTooltipComponent } from './diagram-tooltip.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
template: `
|
template: `
|
||||||
@@ -31,23 +31,23 @@ class TestHostComponent {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('DiagramTooltip', () => {
|
describe('DiagramTooltipComponent', () => {
|
||||||
|
|
||||||
describe('Template', () => {
|
describe('Template', () => {
|
||||||
|
|
||||||
let fixture: ComponentFixture<DiagramTooltip>;
|
let fixture: ComponentFixture<DiagramTooltipComponent>;
|
||||||
let component: DiagramTooltip;
|
let component: DiagramTooltipComponent;
|
||||||
let data;
|
let data;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(async(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ DiagramTooltip ],
|
declarations: [ DiagramTooltipComponent ],
|
||||||
providers: []
|
providers: []
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fixture = TestBed.createComponent(DiagramTooltip);
|
fixture = TestBed.createComponent(DiagramTooltipComponent);
|
||||||
component = fixture.componentInstance;
|
component = fixture.componentInstance;
|
||||||
data = {
|
data = {
|
||||||
type: 'awesome-diagram-element',
|
type: 'awesome-diagram-element',
|
||||||
@@ -117,7 +117,7 @@ describe('DiagramTooltip', () => {
|
|||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(async(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ DiagramTooltip, TestHostComponent ]
|
declarations: [ DiagramTooltipComponent, TestHostComponent ]
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ const IS_ACTIVE_CLASS = 'is-active';
|
|||||||
templateUrl: './diagram-tooltip.component.html',
|
templateUrl: './diagram-tooltip.component.html',
|
||||||
styleUrls: ['./diagram-tooltip.component.scss']
|
styleUrls: ['./diagram-tooltip.component.scss']
|
||||||
})
|
})
|
||||||
export class DiagramTooltip implements AfterViewInit, OnDestroy {
|
export class DiagramTooltipComponent implements AfterViewInit, OnDestroy {
|
||||||
|
|
||||||
private tooltipElement: any;
|
private tooltipElement: any;
|
||||||
private targetElement: any;
|
private targetElement: any;
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"rulesDirectory": [
|
||||||
|
"node_modules/codelyzer"
|
||||||
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"align": [
|
"align": [
|
||||||
true,
|
true,
|
||||||
@@ -105,14 +108,50 @@
|
|||||||
"allow-leading-underscore",
|
"allow-leading-underscore",
|
||||||
"ban-keywords"
|
"ban-keywords"
|
||||||
],
|
],
|
||||||
|
"callable-types": true,
|
||||||
|
"import-blacklist": [
|
||||||
|
true,
|
||||||
|
"rxjs"
|
||||||
|
],
|
||||||
|
"import-spacing": true,
|
||||||
|
"interface-over-type-literal": true,
|
||||||
|
"member-access": false,
|
||||||
|
"no-empty-interface": true,
|
||||||
|
"no-string-literal": false,
|
||||||
|
"no-string-throw": true,
|
||||||
|
"prefer-const": false,
|
||||||
|
"typeof-compare": true,
|
||||||
|
"unified-signatures": true,
|
||||||
"whitespace": [
|
"whitespace": [
|
||||||
true,
|
true,
|
||||||
"check-branch",
|
"check-branch",
|
||||||
|
"check-decl",
|
||||||
"check-operator",
|
"check-operator",
|
||||||
"check-separator",
|
"check-separator",
|
||||||
"check-type",
|
"check-type"
|
||||||
"check-module",
|
],
|
||||||
"check-decl"
|
"directive-selector": [
|
||||||
]
|
true,
|
||||||
|
"attribute",
|
||||||
|
"app",
|
||||||
|
"camelCase"
|
||||||
|
],
|
||||||
|
"component-selector": [
|
||||||
|
true,
|
||||||
|
"element",
|
||||||
|
"app",
|
||||||
|
"kebab-case"
|
||||||
|
],
|
||||||
|
"ordered-imports": true,
|
||||||
|
"use-input-property-decorator": true,
|
||||||
|
"use-output-property-decorator": true,
|
||||||
|
"use-host-property-decorator": true,
|
||||||
|
"use-life-cycle-interface": true,
|
||||||
|
"use-pipe-transform-interface": true,
|
||||||
|
"component-class-suffix": true,
|
||||||
|
"directive-class-suffix": true,
|
||||||
|
"no-access-missing-member": false,
|
||||||
|
"templates-use-public": true,
|
||||||
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -42,7 +42,8 @@ module.exports = {
|
|||||||
loader: 'tslint-loader',
|
loader: 'tslint-loader',
|
||||||
options: {
|
options: {
|
||||||
emitErrors: true,
|
emitErrors: true,
|
||||||
failOnHint: true
|
failOnHint: true,
|
||||||
|
fix: true
|
||||||
},
|
},
|
||||||
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
|
||||||
},
|
},
|
||||||
|
@@ -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;
|
||||||
|
@@ -16,13 +16,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { DebugElement } from '@angular/core';
|
import { DebugElement } from '@angular/core';
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { MdProgressSpinnerModule } from '@angular/material';
|
import { MdProgressSpinnerModule } from '@angular/material';
|
||||||
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
|
|
||||||
import { CoreModule } from 'ng2-alfresco-core';
|
import { CoreModule } from 'ng2-alfresco-core';
|
||||||
import { FileUploadingDialogComponent } from './file-uploading-dialog.component';
|
|
||||||
import { FileUploadingListComponent } from './file-uploading-list.component';
|
|
||||||
import { FileModel, FileUploadStatus } from 'ng2-alfresco-core';
|
import { FileModel, FileUploadStatus } from 'ng2-alfresco-core';
|
||||||
import { FileUploadCompleteEvent, FileUploadEvent, UploadService } from 'ng2-alfresco-core';
|
import { FileUploadCompleteEvent, FileUploadEvent, UploadService } from 'ng2-alfresco-core';
|
||||||
|
import { FileUploadingDialogComponent } from './file-uploading-dialog.component';
|
||||||
|
import { FileUploadingListComponent } from './file-uploading-list.component';
|
||||||
|
|
||||||
describe('FileUploadingDialogComponent', () => {
|
describe('FileUploadingDialogComponent', () => {
|
||||||
|
|
||||||
|
@@ -32,10 +32,10 @@ export class FileUploadingDialogComponent implements OnInit, OnDestroy {
|
|||||||
totalCompleted: number = 0;
|
totalCompleted: number = 0;
|
||||||
totalCompletedMsg: string = 'FILE_UPLOAD.MESSAGES.SINGLE_COMPLETED';
|
totalCompletedMsg: string = 'FILE_UPLOAD.MESSAGES.SINGLE_COMPLETED';
|
||||||
isDialogMinimized: boolean = false;
|
isDialogMinimized: boolean = false;
|
||||||
|
showCloseButton: boolean = false;
|
||||||
|
|
||||||
private listSubscription: any;
|
private listSubscription: any;
|
||||||
private counterSubscription: any;
|
private counterSubscription: any;
|
||||||
private showCloseButton: boolean = false;
|
|
||||||
|
|
||||||
constructor(translateService: AlfrescoTranslationService, private uploadService: UploadService) {
|
constructor(translateService: AlfrescoTranslationService, private uploadService: UploadService) {
|
||||||
if (translateService) {
|
if (translateService) {
|
||||||
|
@@ -16,11 +16,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { DebugElement, SimpleChange } from '@angular/core';
|
import { DebugElement, SimpleChange } from '@angular/core';
|
||||||
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { UploadButtonComponent } from './upload-button.component';
|
import { AlfrescoContentService, AlfrescoTranslationService, CoreModule, UploadService } from 'ng2-alfresco-core';
|
||||||
import { CoreModule, AlfrescoTranslationService, AlfrescoContentService, UploadService } from 'ng2-alfresco-core';
|
|
||||||
import { TranslationMock } from '../assets/translation.service.mock';
|
|
||||||
import { Observable } from 'rxjs/Rx';
|
import { Observable } from 'rxjs/Rx';
|
||||||
|
import { TranslationMock } from '../assets/translation.service.mock';
|
||||||
|
import { UploadButtonComponent } from './upload-button.component';
|
||||||
|
|
||||||
describe('UploadButtonComponent', () => {
|
describe('UploadButtonComponent', () => {
|
||||||
|
|
||||||
|
@@ -15,13 +15,13 @@
|
|||||||
* 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 { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { AlfrescoTranslationService, CoreModule, FileModel, LogService, LogServiceMock, UploadService } from 'ng2-alfresco-core';
|
import { AlfrescoTranslationService, CoreModule, FileModel, LogService, LogServiceMock, UploadService } from 'ng2-alfresco-core';
|
||||||
|
|
||||||
import { UploadDragAreaComponent } from './upload-drag-area.component';
|
|
||||||
import { FileDraggableDirective } from '../directives/file-draggable.directive';
|
|
||||||
import { TranslationMock } from '../assets/translation.service.mock';
|
import { TranslationMock } from '../assets/translation.service.mock';
|
||||||
|
import { FileDraggableDirective } from '../directives/file-draggable.directive';
|
||||||
|
import { UploadDragAreaComponent } from './upload-drag-area.component';
|
||||||
|
|
||||||
let fakeShareDataRow = {
|
let fakeShareDataRow = {
|
||||||
obj: {
|
obj: {
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"rulesDirectory": [
|
||||||
|
"node_modules/codelyzer"
|
||||||
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"align": [
|
"align": [
|
||||||
true,
|
true,
|
||||||
@@ -105,14 +108,50 @@
|
|||||||
"allow-leading-underscore",
|
"allow-leading-underscore",
|
||||||
"ban-keywords"
|
"ban-keywords"
|
||||||
],
|
],
|
||||||
|
"callable-types": true,
|
||||||
|
"import-blacklist": [
|
||||||
|
true,
|
||||||
|
"rxjs"
|
||||||
|
],
|
||||||
|
"import-spacing": true,
|
||||||
|
"interface-over-type-literal": true,
|
||||||
|
"member-access": false,
|
||||||
|
"no-empty-interface": true,
|
||||||
|
"no-string-literal": false,
|
||||||
|
"no-string-throw": true,
|
||||||
|
"prefer-const": false,
|
||||||
|
"typeof-compare": true,
|
||||||
|
"unified-signatures": true,
|
||||||
"whitespace": [
|
"whitespace": [
|
||||||
true,
|
true,
|
||||||
"check-branch",
|
"check-branch",
|
||||||
|
"check-decl",
|
||||||
"check-operator",
|
"check-operator",
|
||||||
"check-separator",
|
"check-separator",
|
||||||
"check-type",
|
"check-type"
|
||||||
"check-module",
|
],
|
||||||
"check-decl"
|
"directive-selector": [
|
||||||
]
|
true,
|
||||||
|
"attribute",
|
||||||
|
"app",
|
||||||
|
"camelCase"
|
||||||
|
],
|
||||||
|
"component-selector": [
|
||||||
|
true,
|
||||||
|
"element",
|
||||||
|
"app",
|
||||||
|
"kebab-case"
|
||||||
|
],
|
||||||
|
"ordered-imports": true,
|
||||||
|
"use-input-property-decorator": true,
|
||||||
|
"use-output-property-decorator": true,
|
||||||
|
"use-host-property-decorator": true,
|
||||||
|
"use-life-cycle-interface": true,
|
||||||
|
"use-pipe-transform-interface": true,
|
||||||
|
"component-class-suffix": true,
|
||||||
|
"directive-class-suffix": true,
|
||||||
|
"no-access-missing-member": false,
|
||||||
|
"templates-use-public": true,
|
||||||
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
"use-pipe-transform-interface": true,
|
"use-pipe-transform-interface": true,
|
||||||
"component-class-suffix": true,
|
"component-class-suffix": true,
|
||||||
"directive-class-suffix": true,
|
"directive-class-suffix": true,
|
||||||
"no-access-missing-member": true,
|
"no-access-missing-member": false,
|
||||||
"templates-use-public": true,
|
"templates-use-public": true,
|
||||||
"invoke-injectable": true
|
"invoke-injectable": true
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user