Unverified Commit 078bfd2c authored by Igor Kulikov's avatar Igor Kulikov Committed by GitHub

Merge pull request #7 from vvlladd28/feature/upgrade-10

Upgrade to Angular 10
parents e3b694b7 aface773
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
import { __decorate, __metadata } from "tslib";
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { FcNodeComponent } from './node.component'; import { FcNodeComponent } from './node.component';
let DefaultFcNodeComponent = class DefaultFcNodeComponent extends FcNodeComponent { export class DefaultFcNodeComponent extends FcNodeComponent {
constructor() { constructor() {
super(); super();
} }
}; }
DefaultFcNodeComponent = __decorate([ DefaultFcNodeComponent.decorators = [
Component({ { type: Component, args: [{
selector: 'fc-default-node', selector: 'fc-default-node',
template: "<div\n (dblclick)=\"userNodeCallbacks.doubleClick($event, node)\">\n <div class=\"{{flowchartConstants.nodeOverlayClass}}\"></div>\n <div class=\"innerNode\">\n <p>{{ node.name }}</p>\n\n <div class=\"{{flowchartConstants.leftConnectorClass}}\">\n <div fc-magnet [connector]=\"connector\" [callbacks]=\"callbacks\"\n *ngFor=\"let connector of modelservice.nodes.getConnectorsByType(node, flowchartConstants.leftConnectorType)\">\n <div fc-connector [connector]=\"connector\"\n [nodeRectInfo]=\"nodeRectInfo\"\n [mouseOverConnector]=\"mouseOverConnector\"\n [callbacks]=\"callbacks\"\n [modelservice]=\"modelservice\"></div>\n </div>\n </div>\n <div class=\"{{flowchartConstants.rightConnectorClass}}\">\n <div fc-magnet [connector]=\"connector\" [callbacks]=\"callbacks\"\n *ngFor=\"let connector of modelservice.nodes.getConnectorsByType(node, flowchartConstants.rightConnectorType)\">\n <div fc-connector [connector]=\"connector\"\n [nodeRectInfo]=\"nodeRectInfo\"\n [mouseOverConnector]=\"mouseOverConnector\"\n [callbacks]=\"callbacks\"\n [modelservice]=\"modelservice\"></div>\n </div>\n </div>\n </div>\n <div *ngIf=\"modelservice.isEditable() && !node.readonly\" class=\"fc-nodeedit\" (click)=\"userNodeCallbacks.nodeEdit($event, node)\">\n <i class=\"fa fa-pencil\" aria-hidden=\"true\"></i>\n </div>\n <div *ngIf=\"modelservice.isEditable() && !node.readonly\" class=\"fc-nodedelete\" (click)=\"modelservice.nodes.delete(node)\">\n &times;\n </div>\n</div>\n", template: "<div\n (dblclick)=\"userNodeCallbacks.doubleClick($event, node)\">\n <div class=\"{{flowchartConstants.nodeOverlayClass}}\"></div>\n <div class=\"innerNode\">\n <p>{{ node.name }}</p>\n\n <div class=\"{{flowchartConstants.leftConnectorClass}}\">\n <div fc-magnet [connector]=\"connector\" [callbacks]=\"callbacks\"\n *ngFor=\"let connector of modelservice.nodes.getConnectorsByType(node, flowchartConstants.leftConnectorType)\">\n <div fc-connector [connector]=\"connector\"\n [nodeRectInfo]=\"nodeRectInfo\"\n [mouseOverConnector]=\"mouseOverConnector\"\n [callbacks]=\"callbacks\"\n [modelservice]=\"modelservice\"></div>\n </div>\n </div>\n <div class=\"{{flowchartConstants.rightConnectorClass}}\">\n <div fc-magnet [connector]=\"connector\" [callbacks]=\"callbacks\"\n *ngFor=\"let connector of modelservice.nodes.getConnectorsByType(node, flowchartConstants.rightConnectorType)\">\n <div fc-connector [connector]=\"connector\"\n [nodeRectInfo]=\"nodeRectInfo\"\n [mouseOverConnector]=\"mouseOverConnector\"\n [callbacks]=\"callbacks\"\n [modelservice]=\"modelservice\"></div>\n </div>\n </div>\n </div>\n <div *ngIf=\"modelservice.isEditable() && !node.readonly\" class=\"fc-nodeedit\" (click)=\"userNodeCallbacks.nodeEdit($event, node)\">\n <i class=\"fa fa-pencil\" aria-hidden=\"true\"></i>\n </div>\n <div *ngIf=\"modelservice.isEditable() && !node.readonly\" class=\"fc-nodedelete\" (click)=\"modelservice.nodes.delete(node)\">\n &times;\n </div>\n</div>\n",
styles: [":host .fc-node-overlay{position:absolute;pointer-events:none;left:0;top:0;right:0;bottom:0;background-color:#000;opacity:0}:host :host-context(.fc-hover) .fc-node-overlay{opacity:.25;transition:opacity .2s}:host :host-context(.fc-selected) .fc-node-overlay{opacity:.25}:host .innerNode{display:flex;justify-content:center;align-items:center;min-width:100px;border-radius:5px;background-color:#f15b26;color:#fff;font-size:16px;pointer-events:none}:host .innerNode p{padding:0 15px;text-align:center}"] styles: [":host .fc-node-overlay{background-color:#000;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}:host :host-context(.fc-hover) .fc-node-overlay{opacity:.25;transition:opacity .2s}:host :host-context(.fc-selected) .fc-node-overlay{opacity:.25}:host .innerNode{align-items:center;background-color:#f15b26;border-radius:5px;color:#fff;display:flex;font-size:16px;justify-content:center;min-width:100px;pointer-events:none}:host .innerNode p{padding:0 15px;text-align:center}"]
}), },] }
__metadata("design:paramtypes", []) ];
], DefaultFcNodeComponent); DefaultFcNodeComponent.ctorParameters = () => [];
export { DefaultFcNodeComponent }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1ub2RlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1mbG93Y2hhcnQvc3JjL2xpYi9kZWZhdWx0LW5vZGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBT25ELE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxlQUFlO0lBRXpEO1FBQ0UsS0FBSyxFQUFFLENBQUM7SUFDVixDQUFDOzs7WUFURixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLGlCQUFpQjtnQkFDM0IsMG5EQUE0Qzs7YUFFN0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcn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BQXNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGY05vZGVDb21wb25lbnQgfSBmcm9tICcuL25vZGUuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZmMtZGVmYXVsdC1ub2RlJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2RlZmF1bHQtbm9kZS5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2RlZmF1bHQtbm9kZS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERlZmF1bHRGY05vZGVDb21wb25lbnQgZXh0ZW5kcyBGY05vZGVDb21wb25lbnQge1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxufVxuIl19 \ No newline at end of file
\ No newline at end of file
import { __decorate, __metadata } from "tslib";
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { FlowchartConstants } from './ngx-flowchart.models'; import { FlowchartConstants } from './ngx-flowchart.models';
let FcEdgeDrawingService = class FcEdgeDrawingService { export class FcEdgeDrawingService {
constructor() { constructor() {
} }
getEdgeDAttribute(pt1, pt2, style) { getEdgeDAttribute(pt1, pt2, style) {
...@@ -37,10 +36,9 @@ let FcEdgeDrawingService = class FcEdgeDrawingService { ...@@ -37,10 +36,9 @@ let FcEdgeDrawingService = class FcEdgeDrawingService {
y: pt2.y - this.computeEdgeTangentOffset(pt1, pt2) y: pt2.y - this.computeEdgeTangentOffset(pt1, pt2)
}; };
} }
}; }
FcEdgeDrawingService = __decorate([ FcEdgeDrawingService.decorators = [
Injectable(), { type: Injectable }
__metadata("design:paramtypes", []) ];
], FcEdgeDrawingService); FcEdgeDrawingService.ctorParameters = () => [];
export { FcEdgeDrawingService }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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MpOiBudW1iZXIge1xuICAgIHJldHVybiAocHQyLnkgLSBwdDEueSkgLyAyO1xuICB9XG5cbiAgcHJpdmF0ZSBjb21wdXRlRWRnZVNvdXJjZVRhbmdlbnQocHQxOiBGY0Nvb3JkcywgcHQyOiBGY0Nvb3Jkcyk6IEZjQ29vcmRzIHtcbiAgICByZXR1cm4ge1xuICAgICAgeDogcHQxLngsXG4gICAgICB5OiBwdDEueSArIHRoaXMuY29tcHV0ZUVkZ2VUYW5nZW50T2Zmc2V0KHB0MSwgcHQyKVxuICAgIH07XG4gIH1cblxuICBwcml2YXRlIGNvbXB1dGVFZGdlRGVzdGluYXRpb25UYW5nZW50KHB0MTogRmNDb29yZHMsIHB0MjogRmNDb29yZHMpOiBGY0Nvb3JkcyB7XG4gICAgcmV0dXJuIHtcbiAgICAgIHg6IHB0Mi54LFxuICAgICAgeTogcHQyLnkgLSB0aGlzLmNvbXB1dGVFZGdlVGFuZ2VudE9mZnNldChwdDEsIHB0MilcbiAgICB9O1xuICB9XG5cbn1cbiJdfQ== \ No newline at end of file
\ No newline at end of file
import { __decorate, __metadata } from "tslib";
import { Directive, ElementRef, HostListener, Input } from '@angular/core'; import { Directive, ElementRef, HostListener, Input } from '@angular/core';
import { FlowchartConstants } from './ngx-flowchart.models'; import { FlowchartConstants } from './ngx-flowchart.models';
let FcMagnetDirective = class FcMagnetDirective { export class FcMagnetDirective {
constructor(elementRef) { constructor(elementRef) {
this.elementRef = elementRef; this.elementRef = elementRef;
} }
...@@ -21,48 +20,22 @@ let FcMagnetDirective = class FcMagnetDirective { ...@@ -21,48 +20,22 @@ let FcMagnetDirective = class FcMagnetDirective {
dragend(event) { dragend(event) {
this.callbacks.edgeDragend(event); this.callbacks.edgeDragend(event);
} }
}; }
FcMagnetDirective.decorators = [
{ type: Directive, args: [{
// tslint:disable-next-line:directive-selector
selector: '[fc-magnet]'
},] }
];
FcMagnetDirective.ctorParameters = () => [ FcMagnetDirective.ctorParameters = () => [
{ type: ElementRef } { type: ElementRef }
]; ];
__decorate([ FcMagnetDirective.propDecorators = {
Input(), callbacks: [{ type: Input }],
__metadata("design:type", Object) connector: [{ type: Input }],
], FcMagnetDirective.prototype, "callbacks", void 0); dragover: [{ type: HostListener, args: ['dragover', ['$event'],] }],
__decorate([ dragleave: [{ type: HostListener, args: ['dragleave', ['$event'],] }],
Input(), drop: [{ type: HostListener, args: ['drop', ['$event'],] }],
__metadata("design:type", Object) dragend: [{ type: HostListener, args: ['dragend', ['$event'],] }]
], FcMagnetDirective.prototype, "connector", void 0); };
__decorate([ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1mbG93Y2hhcnQvc3JjL2xpYi9tYWduZXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0UsT0FBTyxFQUE0QixrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBTXRGLE1BQU0sT0FBTyxpQkFBaUI7SUFRNUIsWUFBbUIsVUFBbUM7UUFBbkMsZUFBVSxHQUFWLFVBQVUsQ0FBeUI7SUFDdEQsQ0FBQztJQUVELFFBQVE7UUFDTixNQUFNLE9BQU8sR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxhQUFhLENBQUMsQ0FBQztRQUNqRCxPQUFPLENBQUMsUUFBUSxDQUFDLGtCQUFrQixDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQ25ELENBQUM7SUFHRCxRQUFRLENBQUMsS0FBa0I7UUFDekIsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLGtCQUFrQ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oZXZlbnQ6IEV2ZW50IHwgYW55KSB7XG4gICAgcmV0dXJuIHRoaXMuY2FsbGJhY2tzLmVkZ2VEcm9wKGV2ZW50LCB0aGlzLmNvbm5lY3Rvcik7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcmFnZW5kJywgWyckZXZlbnQnXSlcbiAgZHJhZ2VuZChldmVudDogRXZlbnQgfCBhbnkpIHtcbiAgICB0aGlzLmNhbGxiYWNrcy5lZGdlRHJhZ2VuZChldmVudCk7XG4gIH1cblxufVxuIl19
HostListener('dragover', ['$event']), \ No newline at end of file
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragover", null);
__decorate([
HostListener('dragleave', ['$event']),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragleave", null);
__decorate([
HostListener('drop', ['$event']),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "drop", null);
__decorate([
HostListener('dragend', ['$event']),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragend", null);
FcMagnetDirective = __decorate([
Directive({
// tslint:disable-next-line:directive-selector
selector: '[fc-magnet]'
}),
__metadata("design:paramtypes", [ElementRef])
], FcMagnetDirective);
export { FcMagnetDirective };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJsaWIvbWFnbmV0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSx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RvcihwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZjxIVE1MRWxlbWVudD4pIHtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGNvbnN0IGVsZW1lbnQgPSAkKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50KTtcbiAgICBlbGVtZW50LmFkZENsYXNzKEZsb3djaGFydENvbnN0YW50cy5tYWduZXRDbGFzcyk7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcmFnb3ZlcicsIFsnJGV2ZW50J10pXG4gIGRyYWdvdmVyKGV2ZW50OiBFdmVudCB8IGFueSkge1xuICAgIHJldHVybiB0aGlzLmNhbGxiYWNrcy5lZGdlRHJhZ292ZXJNYWduZXQoZXZlbnQsIHRoaXMuY29ubmVjdG9yKTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ2RyYWdsZWF2ZScsIFsnJGV2ZW50J10pXG4gIGRyYWdsZWF2ZShldmVudDogRXZlbnQgfCBhbnkpIHtcbiAgICB0aGlzLmNhbGxiYWNrcy5lZGdlRHJhZ2xlYXZlTWFnbmV0KGV2ZW50KTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ2Ryb3AnLCBbJyRldmVudCddKVxuICBkcm9wKGV2ZW50OiBFdmVudCB8IGFueSkge1xuICAgIHJldHVybiB0aGlzLmNhbGxiYWNrcy5lZGdlRHJvcChldmVudCwgdGhpcy5jb25uZWN0b3IpO1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignZHJhZ2VuZCcsIFsnJGV2ZW50J10pXG4gIGRyYWdlbmQoZXZlbnQ6IEV2ZW50IHwgYW55KSB7XG4gICAgdGhpcy5jYWxsYmFja3MuZWRnZURyYWdlbmQoZXZlbnQpO1xuICB9XG5cbn1cbiJdfQ==
\ No newline at end of file
...@@ -34,4 +34,4 @@ export class FcMouseOverService { ...@@ -34,4 +34,4 @@ export class FcMouseOverService {
this.mouseoverscope.edge = null; this.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mNFZGdlKSB7XG4gICAgdGhpcy5tb3VzZW92ZXJzY29wZS5lZGdlID0gZWRnZTtcbiAgfVxuXG4gIHB1YmxpYyBlZGdlTW91c2VMZWF2ZShldmVudDogTW91c2VFdmVudCwgZWRnZTogRmNFZGdlKSB7XG4gICAgdGhpcy5tb3VzZW92ZXJzY29wZS5lZGdlID0gbnVsbDtcbiAgfVxufVxuXG5leHBvcnQgaW50ZXJmYWNlIE1vdXNlT3ZlclNjb3BlIHtcbiAgY29ubmVjdG9yOiBGY0Nvbm5lY3RvcjtcbiAgZWRnZTogRmNFZGdlO1xuICBub2RlOiBGY05vZGU7XG59XG4iXX0=
\ No newline at end of file \ No newline at end of file
import { __decorate } from "tslib";
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { NgxFlowchartComponent } from './ngx-flowchart.component'; import { NgxFlowchartComponent } from './ngx-flowchart.component';
import { FcModelValidationService } from './modelvalidation.service'; import { FcModelValidationService } from './modelvalidation.service';
...@@ -12,35 +11,34 @@ import { DefaultFcNodeComponent } from './default-node.component'; ...@@ -12,35 +11,34 @@ import { DefaultFcNodeComponent } from './default-node.component';
const ɵ0 = { const ɵ0 = {
nodeComponentType: DefaultFcNodeComponent nodeComponentType: DefaultFcNodeComponent
}; };
let NgxFlowchartModule = class NgxFlowchartModule { export class NgxFlowchartModule {
}; }
NgxFlowchartModule = __decorate([ NgxFlowchartModule.decorators = [
NgModule({ { type: NgModule, args: [{
entryComponents: [ entryComponents: [
DefaultFcNodeComponent DefaultFcNodeComponent
], ],
declarations: [NgxFlowchartComponent, declarations: [NgxFlowchartComponent,
FcMagnetDirective, FcMagnetDirective,
FcConnectorDirective, FcConnectorDirective,
FcNodeContainerComponent, FcNodeContainerComponent,
DefaultFcNodeComponent], DefaultFcNodeComponent],
providers: [ providers: [
FcModelValidationService, FcModelValidationService,
FcEdgeDrawingService, FcEdgeDrawingService,
{ {
provide: FC_NODE_COMPONENT_CONFIG, provide: FC_NODE_COMPONENT_CONFIG,
useValue: ɵ0 useValue: ɵ0
} }
], ],
imports: [ imports: [
CommonModule CommonModule
], ],
exports: [NgxFlowchartComponent, exports: [NgxFlowchartComponent,
FcMagnetDirective, FcMagnetDirective,
FcConnectorDirective, FcConnectorDirective,
DefaultFcNodeComponent] DefaultFcNodeComponent]
}) },] }
], NgxFlowchartModule); ];
export { NgxFlowchartModule };
export { ɵ0 }; export { ɵ0 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZmxvd2NoYXJ0LyIsInNvdXJjZXMiOlsibGliL25neC1mbG93Y2hhcnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzlELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUM1RCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztXQWdCbEQ7SUFDUixpQ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xuZXhwb3J0IGNsYXNzIE5neEZsb3djaGFydE1vZHVsZSB7IH1cbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -13,4 +13,4 @@ const scrollparent = (node) => !node || node === document.body ...@@ -13,4 +13,4 @@ const scrollparent = (node) => !node || node === document.body
const ɵ2 = scrollparent; const ɵ2 = scrollparent;
export default scrollparent; export default scrollparent;
export { ɵ0, ɵ1, ɵ2 }; export { ɵ0, ɵ1, ɵ2 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xscGFyZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWZsb3djaGFydC8iLCJzb3VyY2VzIjpbImxpYi9zY3JvbGxwYXJlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxLQUFLLEdBQUcsZUFBZSxDQUFDO0FBRTlCLE1BQU0sS0FBSyxHQUFHLENBQUMsSUFBYSxFQUFFLElBQVksRUFBVSxFQUFFLENBQ3BELGdCQUFnQixDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQyxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsQ0FBQzs7QUFFdEQsTUFBTSxNQUFNLEdBQUcsQ0FBQyxJQUFhLEVBQUUsRUFBRSxDQUMvQixLQUFLLENBQUMsSUFBSSxDQUNSLEtBQUssQ0FBQyxJQUFJLEVBQUUsVUFBVSxDQUFDO0lBQ3ZCLEtBQUssQ0FBQyxJQUFJLEVBQUUsWUFBWSxDQUFDO0lBQ3pCLEtBQUssQ0FBQyxJQUFJLEVBQUUsWUFBWSxDQUFDLENBQUMsQ0FBQzs7QUFFL0IsTUFBTSxZQUFZLEdBQUcsQ0FBQyxJQUFpQixFQUFlLEVBQUUsQ0FDdEQsQ0FBQyxJQUFJLElBQUksSUFBSSxLQUFLLFFBQVEsQ0FBQyxJQUFJO0lBQzdCLENBQUMsQ0FBQyxRQUFRLENBQUMsSUFBSTtJQU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nQpID0+XG4gIHJlZ2V4LnRlc3QoXG4gICAgc3R5bGUobm9kZSwgJ292ZXJmbG93JykgK1xuICAgIHN0eWxlKG5vZGUsICdvdmVyZmxvdy15JykgK1xuICAgIHN0eWxlKG5vZGUsICdvdmVyZmxvdy14JykpO1xuXG5jb25zdCBzY3JvbGxwYXJlbnQgPSAobm9kZTogSFRNTEVsZW1lbnQpOiBIVE1MRWxlbWVudCA9PlxuICAhbm9kZSB8fCBub2RlID09PSBkb2N1bWVudC5ib2R5XG4gICAgPyBkb2N1bWVudC5ib2R5XG4gICAgOiBzY3JvbGwobm9kZSlcbiAgICA/IG5vZGVcbiAgICA6IHNjcm9sbHBhcmVudChub2RlLnBhcmVudE5vZGUgYXMgSFRNTEVsZW1lbnQpO1xuXG5leHBvcnQgZGVmYXVsdCBzY3JvbGxwYXJlbnQ7XG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -5,4 +5,4 @@ export * from './public-api'; ...@@ -5,4 +5,4 @@ export * from './public-api';
export { FcEdgeDrawingService as ɵc } from './lib/edge-drawing.service'; export { FcEdgeDrawingService as ɵc } from './lib/edge-drawing.service';
export { FcModelValidationService as ɵb } from './lib/modelvalidation.service'; export { FcModelValidationService as ɵb } from './lib/modelvalidation.service';
export { FcNodeContainerComponent as ɵa } from './lib/node.component'; export { FcNodeContainerComponent as ɵa } from './lib/node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJuZ3gtZmxvd2NoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBQ3RFLE9BQU8sRUFBQyx3Qk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xuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtGY0VkZ2VEcmF3aW5nU2VydmljZSBhcyDJtWN9IGZyb20gJy4vbGliL2VkZ2UtZHJhd2luZy5zZXJ2aWNlJztcbmV4cG9ydCB7RmNNb2RlbFZhbGlkYXRpb25TZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9saWIvbW9kZWx2YWxpZGF0aW9uLnNlcnZpY2UnO1xuZXhwb3J0IHtGY05vZGVDb250YWluZXJDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2xpYi9ub2RlLmNvbXBvbmVudCc7Il19
\ No newline at end of file \ No newline at end of file
...@@ -8,4 +8,4 @@ export { FcNodeComponent } from './lib/node.component'; ...@@ -8,4 +8,4 @@ export { FcNodeComponent } from './lib/node.component';
export { FcMagnetDirective } from './lib/magnet.directive'; export { FcMagnetDirective } from './lib/magnet.directive';
export { FcConnectorDirective } from './lib/connector.directive'; export { FcConnectorDirective } from './lib/connector.directive';
export { DefaultFcNodeComponent } from './lib/default-node.component'; export { DefaultFcNodeComponent } from './lib/default-node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHdCQUF3QixD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yxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDakUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1mbG93Y2hhcnRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0Lm1vZGVscyc7XG5leHBvcnQgeyBGY05vZGVDb21wb25lbnQgfSBmcm9tICcuL2xpYi9ub2RlLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGY01hZ25ldERpcmVjdGl2ZSB9IGZyb20gJy4vbGliL21hZ25ldC5kaXJlY3RpdmUnO1xuZXhwb3J0IHsgRmNDb25uZWN0b3JEaXJlY3RpdmUgfSBmcm9tICcuL2xpYi9jb25uZWN0b3IuZGlyZWN0aXZlJztcbmV4cG9ydCB7IERlZmF1bHRGY05vZGVDb21wb25lbnQgfSBmcm9tICcuL2xpYi9kZWZhdWx0LW5vZGUuY29tcG9uZW50JztcbiJdfQ==
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
import { __decorate, __extends, __metadata } from "tslib";
import { Component } from '@angular/core';
import { FcNodeComponent } from './node.component';
var DefaultFcNodeComponent = /** @class */ (function (_super) {
__extends(DefaultFcNodeComponent, _super);
function DefaultFcNodeComponent() {
return _super.call(this) || this;
}
DefaultFcNodeComponent = __decorate([
Component({
selector: 'fc-default-node',
template: "<div\n (dblclick)=\"userNodeCallbacks.doubleClick($event, node)\">\n <div class=\"{{flowchartConstants.nodeOverlayClass}}\"></div>\n <div class=\"innerNode\">\n <p>{{ node.name }}</p>\n\n <div class=\"{{flowchartConstants.leftConnectorClass}}\">\n <div fc-magnet [connector]=\"connector\" [callbacks]=\"callbacks\"\n *ngFor=\"let connector of modelservice.nodes.getConnectorsByType(node, flowchartConstants.leftConnectorType)\">\n <div fc-connector [connector]=\"connector\"\n [nodeRectInfo]=\"nodeRectInfo\"\n [mouseOverConnector]=\"mouseOverConnector\"\n [callbacks]=\"callbacks\"\n [modelservice]=\"modelservice\"></div>\n </div>\n </div>\n <div class=\"{{flowchartConstants.rightConnectorClass}}\">\n <div fc-magnet [connector]=\"connector\" [callbacks]=\"callbacks\"\n *ngFor=\"let connector of modelservice.nodes.getConnectorsByType(node, flowchartConstants.rightConnectorType)\">\n <div fc-connector [connector]=\"connector\"\n [nodeRectInfo]=\"nodeRectInfo\"\n [mouseOverConnector]=\"mouseOverConnector\"\n [callbacks]=\"callbacks\"\n [modelservice]=\"modelservice\"></div>\n </div>\n </div>\n </div>\n <div *ngIf=\"modelservice.isEditable() && !node.readonly\" class=\"fc-nodeedit\" (click)=\"userNodeCallbacks.nodeEdit($event, node)\">\n <i class=\"fa fa-pencil\" aria-hidden=\"true\"></i>\n </div>\n <div *ngIf=\"modelservice.isEditable() && !node.readonly\" class=\"fc-nodedelete\" (click)=\"modelservice.nodes.delete(node)\">\n &times;\n </div>\n</div>\n",
styles: [":host .fc-node-overlay{position:absolute;pointer-events:none;left:0;top:0;right:0;bottom:0;background-color:#000;opacity:0}:host :host-context(.fc-hover) .fc-node-overlay{opacity:.25;transition:opacity .2s}:host :host-context(.fc-selected) .fc-node-overlay{opacity:.25}:host .innerNode{display:flex;justify-content:center;align-items:center;min-width:100px;border-radius:5px;background-color:#f15b26;color:#fff;font-size:16px;pointer-events:none}:host .innerNode p{padding:0 15px;text-align:center}"]
}),
__metadata("design:paramtypes", [])
], DefaultFcNodeComponent);
return DefaultFcNodeComponent;
}(FcNodeComponent));
export { DefaultFcNodeComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1ub2RlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJsaWIvZGVmYXVsdC1ub2RlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFPbkQ7SUFBNEMsMENBQWU7SUFFekQ7ZUFDRSxpQkFBTztJQUNULENBQUM7SUFKVSxzQkFBc0I7UUFMbEMsU0FBUyxDQUFDO1lBQ1QsUUFBUSxFQUFFLGlCQUFpQjtZQUMzQiwwbkRBQTRDOztTQUU3QyxDQUFDOztPQUNXLHNCQUFzQixDQU1sQztJQUFELDZCQUFDO0NBQUEsQUFORCxDQUE0QyxlQUFlLEdBTTFEO1NBTlksc0JBQXNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGY05vZGVDb21wb25lbnQgfSBmcm9tICcuL25vZGUuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZmMtZGVmYXVsdC1ub2RlJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2RlZmF1bHQtbm9kZS5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2RlZmF1bHQtbm9kZS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERlZmF1bHRGY05vZGVDb21wb25lbnQgZXh0ZW5kcyBGY05vZGVDb21wb25lbnQge1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxufVxuIl19
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
var regex = /(auto|scroll)/;
var style = function (node, prop) {
return getComputedStyle(node, null).getPropertyValue(prop);
};
var ɵ0 = style;
var scroll = function (node) {
return regex.test(style(node, 'overflow') +
style(node, 'overflow-y') +
style(node, 'overflow-x'));
};
var ɵ1 = scroll;
var scrollparent = function (node) {
return !node || node === document.body
? document.body
: scroll(node)
? node
: scrollparent(node.parentNode);
};
var ɵ2 = scrollparent;
export default scrollparent;
export { ɵ0, ɵ1, ɵ2 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xscGFyZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWZsb3djaGFydC8iLCJzb3VyY2VzIjpbImxpYi9zY3JvbGxwYXJlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBTSxLQUFLLEdBQUcsZUFBZSxDQUFDO0FBRTlCLElBQU0sS0FBSyxHQUFHLFVBQUMsSUFBYSxFQUFFLElBQVk7SUFDeEMsT0FBQSxnQkFBZ0IsQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLENBQUMsZ0JBQWdCLENBQUMsSUFBSSxDQUFDO0FBQW5ELENBQW1ELENBQUM7O0FBRXRELElBQU0sTUFBTSxHQUFHLFVBQUMsSUFBYTtJQUMzQixPQUFBLEtBQUssQ0FBQyxJQUFJLENBQ1IsS0FBSyxDQUFDLElBQUksRUFBRSxVQUFVLENBQUM7UUFDdkIsS0FBSyxDQUFDLElBQUksRUFBRSxZQUFZLENBQUM7UUFDekIsS0FBSyxDQUFDLElBQUksRUFBRSxZ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HQgc2Nyb2xscGFyZW50O1xuIl19
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -8,16 +8,14 @@ ...@@ -8,16 +8,14 @@
"typescript": "^3.7.5" "typescript": "^3.7.5"
}, },
"main": "bundles/ngx-flowchart.umd.js", "main": "bundles/ngx-flowchart.umd.js",
"module": "fesm5/ngx-flowchart.js", "module": "fesm2015/ngx-flowchart.js",
"es2015": "fesm2015/ngx-flowchart.js", "es2015": "fesm2015/ngx-flowchart.js",
"esm5": "esm5/ngx-flowchart.js",
"esm2015": "esm2015/ngx-flowchart.js", "esm2015": "esm2015/ngx-flowchart.js",
"fesm5": "fesm5/ngx-flowchart.js",
"fesm2015": "fesm2015/ngx-flowchart.js", "fesm2015": "fesm2015/ngx-flowchart.js",
"typings": "ngx-flowchart.d.ts", "typings": "ngx-flowchart.d.ts",
"metadata": "ngx-flowchart.metadata.json", "metadata": "ngx-flowchart.metadata.json",
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
"tslib": "^1.10.0" "tslib": "^2.0.0"
} }
} }
This diff is collapsed.
...@@ -14,39 +14,39 @@ ...@@ -14,39 +14,39 @@
"jquery": "^3.5.1" "jquery": "^3.5.1"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.901.6", "@angular-devkit/build-angular": "^0.1000.6",
"@angular-devkit/build-ng-packagr": "~0.901.6", "@angular-devkit/build-ng-packagr": "^0.1000.6",
"@angular/animations": "^9.1.7", "@angular/animations": "^10.0.9",
"@angular/cdk": "^9.2.4", "@angular/cdk": "^10.1.3",
"@angular/cli": "~9.1.6", "@angular/cli": "^10.0.6",
"@angular/common": "^9.1.7", "@angular/common": "^10.0.9",
"@angular/compiler": "~9.1.7", "@angular/compiler": "^10.0.9",
"@angular/compiler-cli": "~9.1.7", "@angular/compiler-cli": "^10.0.9",
"@angular/core": "^9.1.7", "@angular/core": "^10.0.9",
"@angular/forms": "~9.1.7", "@angular/forms": "^10.0.9",
"@angular/language-service": "~9.1.7", "@angular/language-service": "^10.0.9",
"@angular/platform-browser": "~9.1.7", "@angular/platform-browser": "^10.0.9",
"@angular/platform-browser-dynamic": "~9.1.7", "@angular/platform-browser-dynamic": "^10.0.9",
"@angular/router": "~9.1.7", "@angular/router": "^10.0.9",
"@types/jasmine": "~3.5.10", "@types/jasmine": "^3.5.12",
"@types/jasminewd2": "~2.0.8", "@types/jasminewd2": "~2.0.8",
"@types/jquery": "^3.3.38", "@types/jquery": "^3.5.1",
"@types/node": "^14.0.3", "@types/node": "^14.0.27",
"codelyzer": "^5.2.2", "codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.2", "jasmine-spec-reporter": "~5.0.2",
"jquery": "^3.5.0", "jquery": "^3.5.1",
"karma": "~5.0.8", "karma": "^5.1.1",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2", "karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "~3.1.1", "karma-jasmine": "~3.1.1",
"karma-jasmine-html-reporter": "^1.5.4", "karma-jasmine-html-reporter": "^1.5.4",
"ng-packagr": "^9.1.5", "ng-packagr": "^10.0.4",
"protractor": "~5.4.4", "protractor": "~7.0.0",
"rxjs": "~6.5.5", "rxjs": "~6.6.2",
"ts-node": "~8.10.1", "ts-node": "^8.10.2",
"tslint": "^6.1.2", "tslint": "^6.1.3",
"typescript": "~3.7.5", "typescript": "~3.9.7",
"zone.js": "~0.10.3" "zone.js": "~0.10.3"
}, },
"dependencies": { "dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment