Commit 2cacc8fa authored by Vladyslav_Prykhodko's avatar Vladyslav_Prykhodko

Safari browser support added, not supported DragEvent

parent e028f6cc
...@@ -1933,13 +1933,13 @@ ...@@ -1933,13 +1933,13 @@
__decorate([ __decorate([
core.HostListener('dragover', ['$event']), core.HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], NgxFlowchartComponent.prototype, "dragover", null); ], NgxFlowchartComponent.prototype, "dragover", null);
__decorate([ __decorate([
core.HostListener('drop', ['$event']), core.HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], NgxFlowchartComponent.prototype, "drop", null); ], NgxFlowchartComponent.prototype, "drop", null);
__decorate([ __decorate([
...@@ -2011,25 +2011,25 @@ ...@@ -2011,25 +2011,25 @@
__decorate([ __decorate([
core.HostListener('dragover', ['$event']), core.HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragover", null); ], FcMagnetDirective.prototype, "dragover", null);
__decorate([ __decorate([
core.HostListener('dragleave', ['$event']), core.HostListener('dragleave', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragleave", null); ], FcMagnetDirective.prototype, "dragleave", null);
__decorate([ __decorate([
core.HostListener('drop', ['$event']), core.HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "drop", null); ], FcMagnetDirective.prototype, "drop", null);
__decorate([ __decorate([
core.HostListener('dragend', ['$event']), core.HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragend", null); ], FcMagnetDirective.prototype, "dragend", null);
FcMagnetDirective = __decorate([ FcMagnetDirective = __decorate([
...@@ -2152,25 +2152,25 @@ ...@@ -2152,25 +2152,25 @@
__decorate([ __decorate([
core.HostListener('dragover', ['$event']), core.HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragover", null); ], FcConnectorDirective.prototype, "dragover", null);
__decorate([ __decorate([
core.HostListener('drop', ['$event']), core.HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "drop", null); ], FcConnectorDirective.prototype, "drop", null);
__decorate([ __decorate([
core.HostListener('dragend', ['$event']), core.HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragend", null); ], FcConnectorDirective.prototype, "dragend", null);
__decorate([ __decorate([
core.HostListener('dragstart', ['$event']), core.HostListener('dragstart', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragstart", null); ], FcConnectorDirective.prototype, "dragstart", null);
__decorate([ __decorate([
...@@ -2399,13 +2399,13 @@ ...@@ -2399,13 +2399,13 @@
__decorate([ __decorate([
core.HostListener('dragstart', ['$event']), core.HostListener('dragstart', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcNodeContainerComponent.prototype, "dragstart", null); ], FcNodeContainerComponent.prototype, "dragstart", null);
__decorate([ __decorate([
core.HostListener('dragend', ['$event']), core.HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcNodeContainerComponent.prototype, "dragend", null); ], FcNodeContainerComponent.prototype, "dragend", null);
__decorate([ __decorate([
......
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.
...@@ -36,25 +36,25 @@ __decorate([ ...@@ -36,25 +36,25 @@ __decorate([
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragover", null); ], FcMagnetDirective.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('dragleave', ['$event']), HostListener('dragleave', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragleave", null); ], FcMagnetDirective.prototype, "dragleave", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "drop", null); ], FcMagnetDirective.prototype, "drop", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragend", null); ], FcMagnetDirective.prototype, "dragend", null);
FcMagnetDirective = __decorate([ FcMagnetDirective = __decorate([
...@@ -65,4 +65,4 @@ FcMagnetDirective = __decorate([ ...@@ -65,4 +65,4 @@ FcMagnetDirective = __decorate([
__metadata("design:paramtypes", [ElementRef]) __metadata("design:paramtypes", [ElementRef])
], FcMagnetDirective); ], FcMagnetDirective);
export { FcMagnetDirective }; export { FcMagnetDirective };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJsaWIvbWFnbmV0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUE0QixrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBTXRGLElBQWEsaUJBQWlCLEdBQTlCLE1BQWEsaUJBQWlCO0lBUTVCLFlBQW1CLFVBQW1DO1FBQW5DLGVBQVUsR0FBVixVQUFV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RvcjogRmNDb25uZWN0b3I7XG5cbiAgY29uc3RydWN0b3IocHVibGljIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8SFRNTEVsZW1lbnQ+KSB7XG4gIH1cblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCBlbGVtZW50ID0gJCh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCk7XG4gICAgZWxlbWVudC5hZGRDbGFzcyhGbG93Y2hhcnRDb25zdGFudHMubWFnbmV0Q2xhc3MpO1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignZHJhZ292ZXInLCBbJyRldmVudCddKVxuICBkcmFnb3ZlcihldmVudDogRXZlbnQgfCBhbnkpIHtcbiAgICByZXR1cm4gdGhpcy5jYWxsYmFja3MuZWRnZURyYWdvdmVyTWFnbmV0KGV2ZW50LCB0aGlzLmNvbm5lY3Rvcik7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcmFnbGVhdmUnLCBbJyRldmVudCddKVxuICBkcmFnbGVhdmUoZXZlbnQ6IEV2ZW50IHwgYW55KSB7XG4gICAgdGhpcy5jYWxsYmFja3MuZWRnZURyYWdsZWF2ZU1hZ25ldChldmVudCk7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcm9wJywgWyckZXZlbnQnXSlcbiAgZHJvcChldmVudDogRXZlbnQgfCBhbnkpIHtcbiAgICByZXR1cm4gdGhpcy5jYWxsYmFja3MuZWRnZURyb3AoZXZlbnQsIHRoaXMuY29ubmVjdG9yKTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ2RyYWdlbmQnLCBbJyRldmVudCddKVxuICBkcmFnZW5kKGV2ZW50OiBFdmVudCB8IGFueSkge1xuICAgIHRoaXMuY2FsbGJhY2tzLmVkZ2VEcmFnZW5kKGV2ZW50KTtcbiAgfVxuXG59XG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -35,25 +35,25 @@ var FcMagnetDirective = /** @class */ (function () { ...@@ -35,25 +35,25 @@ var FcMagnetDirective = /** @class */ (function () {
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragover", null); ], FcMagnetDirective.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('dragleave', ['$event']), HostListener('dragleave', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragleave", null); ], FcMagnetDirective.prototype, "dragleave", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "drop", null); ], FcMagnetDirective.prototype, "drop", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragend", null); ], FcMagnetDirective.prototype, "dragend", null);
FcMagnetDirective = __decorate([ FcMagnetDirective = __decorate([
...@@ -66,4 +66,4 @@ var FcMagnetDirective = /** @class */ (function () { ...@@ -66,4 +66,4 @@ var FcMagnetDirective = /** @class */ (function () {
return FcMagnetDirective; return FcMagnetDirective;
}()); }());
export { FcMagnetDirective }; export { FcMagnetDirective };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnbmV0LmRpcmVjdGl2ZS5qcyIsInNvd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XMuY2FsbGJhY2tzLmVkZ2VEcmFnbGVhdmVNYWduZXQoZXZlbnQpO1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignZHJvcCcsIFsnJGV2ZW50J10pXG4gIGRyb3AoZXZlbnQ6IEV2ZW50IHwgYW55KSB7XG4gICAgcmV0dXJuIHRoaXMuY2FsbGJhY2tzLmVkZ2VEcm9wKGV2ZW50LCB0aGlzLmNvbm5lY3Rvcik7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcmFnZW5kJywgWyckZXZlbnQnXSlcbiAgZHJhZ2VuZChldmVudDogRXZlbnQgfCBhbnkpIHtcbiAgICB0aGlzLmNhbGxiYWNrcy5lZGdlRHJhZ2VuZChldmVudCk7XG4gIH1cblxufVxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -1566,13 +1566,13 @@ __decorate([ ...@@ -1566,13 +1566,13 @@ __decorate([
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], NgxFlowchartComponent.prototype, "dragover", null); ], NgxFlowchartComponent.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], NgxFlowchartComponent.prototype, "drop", null); ], NgxFlowchartComponent.prototype, "drop", null);
__decorate([ __decorate([
...@@ -1643,25 +1643,25 @@ __decorate([ ...@@ -1643,25 +1643,25 @@ __decorate([
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragover", null); ], FcMagnetDirective.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('dragleave', ['$event']), HostListener('dragleave', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragleave", null); ], FcMagnetDirective.prototype, "dragleave", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "drop", null); ], FcMagnetDirective.prototype, "drop", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragend", null); ], FcMagnetDirective.prototype, "dragend", null);
FcMagnetDirective = __decorate([ FcMagnetDirective = __decorate([
...@@ -1772,25 +1772,25 @@ __decorate([ ...@@ -1772,25 +1772,25 @@ __decorate([
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragover", null); ], FcConnectorDirective.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "drop", null); ], FcConnectorDirective.prototype, "drop", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragend", null); ], FcConnectorDirective.prototype, "dragend", null);
__decorate([ __decorate([
HostListener('dragstart', ['$event']), HostListener('dragstart', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragstart", null); ], FcConnectorDirective.prototype, "dragstart", null);
__decorate([ __decorate([
...@@ -1995,13 +1995,13 @@ __decorate([ ...@@ -1995,13 +1995,13 @@ __decorate([
__decorate([ __decorate([
HostListener('dragstart', ['$event']), HostListener('dragstart', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcNodeContainerComponent.prototype, "dragstart", null); ], FcNodeContainerComponent.prototype, "dragstart", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcNodeContainerComponent.prototype, "dragend", null); ], FcNodeContainerComponent.prototype, "dragend", null);
__decorate([ __decorate([
......
...@@ -1737,13 +1737,13 @@ var NgxFlowchartComponent = /** @class */ (function () { ...@@ -1737,13 +1737,13 @@ var NgxFlowchartComponent = /** @class */ (function () {
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], NgxFlowchartComponent.prototype, "dragover", null); ], NgxFlowchartComponent.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], NgxFlowchartComponent.prototype, "drop", null); ], NgxFlowchartComponent.prototype, "drop", null);
__decorate([ __decorate([
...@@ -1815,25 +1815,25 @@ var FcMagnetDirective = /** @class */ (function () { ...@@ -1815,25 +1815,25 @@ var FcMagnetDirective = /** @class */ (function () {
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragover", null); ], FcMagnetDirective.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('dragleave', ['$event']), HostListener('dragleave', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragleave", null); ], FcMagnetDirective.prototype, "dragleave", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "drop", null); ], FcMagnetDirective.prototype, "drop", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcMagnetDirective.prototype, "dragend", null); ], FcMagnetDirective.prototype, "dragend", null);
FcMagnetDirective = __decorate([ FcMagnetDirective = __decorate([
...@@ -1956,25 +1956,25 @@ var FcConnectorDirective = /** @class */ (function () { ...@@ -1956,25 +1956,25 @@ var FcConnectorDirective = /** @class */ (function () {
__decorate([ __decorate([
HostListener('dragover', ['$event']), HostListener('dragover', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragover", null); ], FcConnectorDirective.prototype, "dragover", null);
__decorate([ __decorate([
HostListener('drop', ['$event']), HostListener('drop', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "drop", null); ], FcConnectorDirective.prototype, "drop", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragend", null); ], FcConnectorDirective.prototype, "dragend", null);
__decorate([ __decorate([
HostListener('dragstart', ['$event']), HostListener('dragstart', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcConnectorDirective.prototype, "dragstart", null); ], FcConnectorDirective.prototype, "dragstart", null);
__decorate([ __decorate([
...@@ -2203,13 +2203,13 @@ var FcNodeContainerComponent = /** @class */ (function () { ...@@ -2203,13 +2203,13 @@ var FcNodeContainerComponent = /** @class */ (function () {
__decorate([ __decorate([
HostListener('dragstart', ['$event']), HostListener('dragstart', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcNodeContainerComponent.prototype, "dragstart", null); ], FcNodeContainerComponent.prototype, "dragstart", null);
__decorate([ __decorate([
HostListener('dragend', ['$event']), HostListener('dragend', ['$event']),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [DragEvent]), __metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0) __metadata("design:returntype", void 0)
], FcNodeContainerComponent.prototype, "dragend", null); ], FcNodeContainerComponent.prototype, "dragend", null);
__decorate([ __decorate([
......
...@@ -12,10 +12,10 @@ export declare class FcConnectorDirective implements OnInit, OnChanges { ...@@ -12,10 +12,10 @@ export declare class FcConnectorDirective implements OnInit, OnChanges {
ngOnInit(): void; ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void; ngOnChanges(changes: SimpleChanges): void;
private updateConnectorClass; private updateConnectorClass;
dragover(event: DragEvent): void; dragover(event: Event | any): void;
drop(event: DragEvent): boolean; drop(event: Event | any): boolean;
dragend(event: DragEvent): void; dragend(event: Event | any): void;
dragstart(event: DragEvent): void; dragstart(event: Event | any): void;
mouseenter(event: MouseEvent): void; mouseenter(event: MouseEvent): void;
mouseleave(event: MouseEvent): void; mouseleave(event: MouseEvent): void;
} }
...@@ -18,13 +18,13 @@ export declare class FcEdgeDraggingService { ...@@ -18,13 +18,13 @@ export declare class FcEdgeDraggingService {
private readonly dragAnimation; private readonly dragAnimation;
private readonly edgeStyle; private readonly edgeStyle;
constructor(modelValidation: FcModelValidationService, edgeDrawingService: FcEdgeDrawingService, modelService: FcModelService, model: FcModel, isValidEdgeCallback: (source: FcConnector, destination: FcConnector) => boolean, applyFunction: <T>(fn: (...args: any[]) => T) => T, dragAnimation: string, edgeStyle: string); constructor(modelValidation: FcModelValidationService, edgeDrawingService: FcEdgeDrawingService, modelService: FcModelService, model: FcModel, isValidEdgeCallback: (source: FcConnector, destination: FcConnector) => boolean, applyFunction: <T>(fn: (...args: any[]) => T) => T, dragAnimation: string, edgeStyle: string);
dragstart(event: DragEvent, connector: FcConnector): void; dragstart(event: Event | any, connector: FcConnector): void;
dragover(event: DragEvent): void; dragover(event: Event | any): void;
dragoverConnector(event: DragEvent, connector: FcConnector): boolean; dragoverConnector(event: Event | any, connector: FcConnector): boolean;
dragleaveMagnet(event: DragEvent): void; dragleaveMagnet(event: Event | any): void;
dragoverMagnet(event: DragEvent, connector: FcConnector): boolean; dragoverMagnet(event: Event | any, connector: FcConnector): boolean;
dragend(event: DragEvent): void; dragend(event: Event | any): void;
drop(event: DragEvent, targetConnector: FcConnector): boolean; drop(event: Event | any, targetConnector: FcConnector): boolean;
} }
export interface EdgeDragging { export interface EdgeDragging {
isDragging: boolean; isDragging: boolean;
......
...@@ -6,8 +6,8 @@ export declare class FcMagnetDirective implements OnInit { ...@@ -6,8 +6,8 @@ export declare class FcMagnetDirective implements OnInit {
connector: FcConnector; connector: FcConnector;
constructor(elementRef: ElementRef<HTMLElement>); constructor(elementRef: ElementRef<HTMLElement>);
ngOnInit(): void; ngOnInit(): void;
dragover(event: DragEvent): boolean; dragover(event: Event | any): boolean;
dragleave(event: DragEvent): void; dragleave(event: Event | any): void;
drop(event: DragEvent): boolean; drop(event: Event | any): boolean;
dragend(event: DragEvent): void; dragend(event: Event | any): void;
} }
...@@ -79,8 +79,8 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck { ...@@ -79,8 +79,8 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck {
edgeMouseOver(event: MouseEvent, edge: FcEdge): void; edgeMouseOver(event: MouseEvent, edge: FcEdge): void;
edgeMouseEnter(event: MouseEvent, edge: FcEdge): void; edgeMouseEnter(event: MouseEvent, edge: FcEdge): void;
edgeMouseLeave(event: MouseEvent, edge: FcEdge): void; edgeMouseLeave(event: MouseEvent, edge: FcEdge): void;
dragover(event: DragEvent): void; dragover(event: Event | any): void;
drop(event: DragEvent): void; drop(event: Event | any): void;
mousedown(event: MouseEvent): void; mousedown(event: MouseEvent): void;
mousemove(event: MouseEvent): void; mousemove(event: MouseEvent): void;
mouseup(event: MouseEvent): void; mouseup(event: MouseEvent): void;
......
...@@ -99,14 +99,14 @@ export interface UserNodeCallbacks { ...@@ -99,14 +99,14 @@ export interface UserNodeCallbacks {
mouseLeave?: (event: MouseEvent, node: FcNode) => void; mouseLeave?: (event: MouseEvent, node: FcNode) => void;
} }
export interface FcCallbacks { export interface FcCallbacks {
nodeDragstart: (event: DragEvent, node: FcNode) => void; nodeDragstart: (event: Event | any, node: FcNode) => void;
nodeDragend: (event: DragEvent) => void; nodeDragend: (event: Event | any) => void;
edgeDragstart: (event: DragEvent, connector: FcConnector) => void; edgeDragstart: (event: Event | any, connector: FcConnector) => void;
edgeDragend: (event: DragEvent) => void; edgeDragend: (event: Event | any) => void;
edgeDrop: (event: DragEvent, targetConnector: FcConnector) => boolean; edgeDrop: (event: Event | any, targetConnector: FcConnector) => boolean;
edgeDragoverConnector: (event: DragEvent, connector: FcConnector) => boolean; edgeDragoverConnector: (event: Event | any, connector: FcConnector) => boolean;
edgeDragoverMagnet: (event: DragEvent, connector: FcConnector) => boolean; edgeDragoverMagnet: (event: Event | any, connector: FcConnector) => boolean;
edgeDragleaveMagnet: (event: DragEvent) => void; edgeDragleaveMagnet: (event: Event | any) => void;
nodeMouseOver: (event: MouseEvent, node: FcNode) => void; nodeMouseOver: (event: MouseEvent, node: FcNode) => void;
nodeMouseOut: (event: MouseEvent, node: FcNode) => void; nodeMouseOut: (event: MouseEvent, node: FcNode) => void;
connectorMouseEnter: (event: MouseEvent, connector: FcConnector) => void; connectorMouseEnter: (event: MouseEvent, connector: FcConnector) => void;
......
...@@ -17,10 +17,10 @@ export declare class FcNodeDraggingService { ...@@ -17,10 +17,10 @@ export declare class FcNodeDraggingService {
private getYCoordinate; private getYCoordinate;
private resizeCanvas; private resizeCanvas;
isDraggingNode(node: FcNode): boolean; isDraggingNode(node: FcNode): boolean;
dragstart(event: DragEvent, node: FcNode): void; dragstart(event: Event | any, node: FcNode): void;
drop(event: DragEvent): boolean; drop(event: Event | any): boolean;
dragover(event: DragEvent): boolean; dragover(event: Event | any): boolean;
dragend(event: DragEvent): void; dragend(event: Event | any): void;
} }
export interface NodeDraggingScope { export interface NodeDraggingScope {
draggedNodes: Array<FcNode>; draggedNodes: Array<FcNode>;
......
...@@ -27,8 +27,8 @@ export declare class FcNodeContainerComponent implements OnInit, AfterViewInit, ...@@ -27,8 +27,8 @@ export declare class FcNodeContainerComponent implements OnInit, AfterViewInit,
private updateNodeComponent; private updateNodeComponent;
private toggleClass; private toggleClass;
mousedown(event: MouseEvent): void; mousedown(event: MouseEvent): void;
dragstart(event: DragEvent): void; dragstart(event: Event | any): void;
dragend(event: DragEvent): void; dragend(event: Event | any): void;
click(event: MouseEvent): void; click(event: MouseEvent): void;
mouseover(event: MouseEvent): void; mouseover(event: MouseEvent): void;
mouseout(event: MouseEvent): void; mouseout(event: MouseEvent): void;
......
import { AfterViewInit, Directive, ElementRef, HostListener, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { Directive, ElementRef, HostListener, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { FcCallbacks, FcConnector, FcConnectorRectInfo, FcNodeRectInfo, FlowchartConstants } from './ngx-flowchart.models'; import { FcCallbacks, FcConnector, FcConnectorRectInfo, FcNodeRectInfo, FlowchartConstants } from './ngx-flowchart.models';
import { FcModelService } from './model.service'; import { FcModelService } from './model.service';
...@@ -67,7 +67,7 @@ export class FcConnectorDirective implements OnInit, OnChanges { ...@@ -67,7 +67,7 @@ export class FcConnectorDirective implements OnInit, OnChanges {
} }
@HostListener('dragover', ['$event']) @HostListener('dragover', ['$event'])
dragover(event: DragEvent) { dragover(event: Event | any) {
// Skip - conflict with magnet // Skip - conflict with magnet
/* if (this.modelservice.isEditable()) { /* if (this.modelservice.isEditable()) {
return this.callbacks.edgeDragoverConnector(event, this.connector); return this.callbacks.edgeDragoverConnector(event, this.connector);
...@@ -75,21 +75,21 @@ export class FcConnectorDirective implements OnInit, OnChanges { ...@@ -75,21 +75,21 @@ export class FcConnectorDirective implements OnInit, OnChanges {
} }
@HostListener('drop', ['$event']) @HostListener('drop', ['$event'])
drop(event: DragEvent) { drop(event: Event | any) {
if (this.modelservice.isEditable()) { if (this.modelservice.isEditable()) {
return this.callbacks.edgeDrop(event, this.connector); return this.callbacks.edgeDrop(event, this.connector);
} }
} }
@HostListener('dragend', ['$event']) @HostListener('dragend', ['$event'])
dragend(event: DragEvent) { dragend(event: Event | any) {
if (this.modelservice.isEditable()) { if (this.modelservice.isEditable()) {
this.callbacks.edgeDragend(event); this.callbacks.edgeDragend(event);
} }
} }
@HostListener('dragstart', ['$event']) @HostListener('dragstart', ['$event'])
dragstart(event: DragEvent) { dragstart(event: Event | any) {
if (this.modelservice.isEditable()) { if (this.modelservice.isEditable()) {
this.callbacks.edgeDragstart(event, this.connector); this.callbacks.edgeDragstart(event, this.connector);
} }
......
...@@ -44,7 +44,7 @@ export class FcEdgeDraggingService { ...@@ -44,7 +44,7 @@ export class FcEdgeDraggingService {
this.edgeStyle = edgeStyle; this.edgeStyle = edgeStyle;
} }
public dragstart(event: DragEvent, connector: FcConnector) { public dragstart(event: Event | any, connector: FcConnector) {
let swapConnector: FcConnector; let swapConnector: FcConnector;
let dragLabel: string; let dragLabel: string;
let prevEdge: FcEdge; let prevEdge: FcEdge;
...@@ -82,7 +82,7 @@ export class FcEdgeDraggingService { ...@@ -82,7 +82,7 @@ export class FcEdgeDraggingService {
x: event.clientX + this.dragOffset.x, x: event.clientX + this.dragOffset.x,
y: event.clientY + this.dragOffset.y y: event.clientY + this.dragOffset.y
}; };
const originalEvent: DragEvent = (event as any).originalEvent || event; const originalEvent: Event | any = (event as any).originalEvent || event;
originalEvent.dataTransfer.setData('Text', 'Just to support firefox'); originalEvent.dataTransfer.setData('Text', 'Just to support firefox');
if (originalEvent.dataTransfer.setDragImage) { if (originalEvent.dataTransfer.setDragImage) {
...@@ -111,7 +111,7 @@ export class FcEdgeDraggingService { ...@@ -111,7 +111,7 @@ export class FcEdgeDraggingService {
event.stopPropagation(); event.stopPropagation();
} }
public dragover(event: DragEvent) { public dragover(event: Event | any) {
if (this.edgeDragging.isDragging) { if (this.edgeDragging.isDragging) {
if (!this.edgeDragging.magnetActive && this.dragAnimation === FlowchartConstants.dragAnimationShadow) { if (!this.edgeDragging.magnetActive && this.dragAnimation === FlowchartConstants.dragAnimationShadow) {
if (this.destinationHtmlElement !== null) { if (this.destinationHtmlElement !== null) {
...@@ -149,7 +149,7 @@ export class FcEdgeDraggingService { ...@@ -149,7 +149,7 @@ export class FcEdgeDraggingService {
} }
} }
public dragoverConnector(event: DragEvent, connector: FcConnector): boolean { public dragoverConnector(event: Event | any, connector: FcConnector): boolean {
if (this.edgeDragging.isDragging) { if (this.edgeDragging.isDragging) {
this.dragover(event); this.dragover(event);
try { try {
...@@ -172,11 +172,11 @@ export class FcEdgeDraggingService { ...@@ -172,11 +172,11 @@ export class FcEdgeDraggingService {
} }
} }
public dragleaveMagnet(event: DragEvent) { public dragleaveMagnet(event: Event | any) {
this.edgeDragging.magnetActive = false; this.edgeDragging.magnetActive = false;
} }
public dragoverMagnet(event: DragEvent, connector: FcConnector): boolean { public dragoverMagnet(event: Event | any, connector: FcConnector): boolean {
if (this.edgeDragging.isDragging) { if (this.edgeDragging.isDragging) {
this.dragover(event); this.dragover(event);
try { try {
...@@ -217,7 +217,7 @@ export class FcEdgeDraggingService { ...@@ -217,7 +217,7 @@ export class FcEdgeDraggingService {
} }
} }
public dragend(event: DragEvent) { public dragend(event: Event | any) {
if (this.edgeDragging.isDragging) { if (this.edgeDragging.isDragging) {
this.edgeDragging.isDragging = false; this.edgeDragging.isDragging = false;
this.edgeDragging.dragPoint1 = null; this.edgeDragging.dragPoint1 = null;
...@@ -238,7 +238,7 @@ export class FcEdgeDraggingService { ...@@ -238,7 +238,7 @@ export class FcEdgeDraggingService {
} }
} }
public drop(event: DragEvent, targetConnector: FcConnector): boolean { public drop(event: Event | any, targetConnector: FcConnector): boolean {
if (this.edgeDragging.isDragging) { if (this.edgeDragging.isDragging) {
try { try {
this.modelValidation.validateEdges(this.model.edges.concat([{ this.modelValidation.validateEdges(this.model.edges.concat([{
......
...@@ -22,22 +22,22 @@ export class FcMagnetDirective implements OnInit { ...@@ -22,22 +22,22 @@ export class FcMagnetDirective implements OnInit {
} }
@HostListener('dragover', ['$event']) @HostListener('dragover', ['$event'])
dragover(event: DragEvent) { dragover(event: Event | any) {
return this.callbacks.edgeDragoverMagnet(event, this.connector); return this.callbacks.edgeDragoverMagnet(event, this.connector);
} }
@HostListener('dragleave', ['$event']) @HostListener('dragleave', ['$event'])
dragleave(event: DragEvent) { dragleave(event: Event | any) {
this.callbacks.edgeDragleaveMagnet(event); this.callbacks.edgeDragleaveMagnet(event);
} }
@HostListener('drop', ['$event']) @HostListener('drop', ['$event'])
drop(event: DragEvent) { drop(event: Event | any) {
return this.callbacks.edgeDrop(event, this.connector); return this.callbacks.edgeDrop(event, this.connector);
} }
@HostListener('dragend', ['$event']) @HostListener('dragend', ['$event'])
dragend(event: DragEvent) { dragend(event: Event | any) {
this.callbacks.edgeDragend(event); this.callbacks.edgeDragend(event);
} }
......
...@@ -11,7 +11,7 @@ import { ...@@ -11,7 +11,7 @@ import {
FlowchartConstants FlowchartConstants
} from './ngx-flowchart.models'; } from './ngx-flowchart.models';
import { Observable, of, Subject } from 'rxjs'; import { Observable, of, Subject } from 'rxjs';
import { ChangeDetectorRef, EventEmitter } from '@angular/core'; import { EventEmitter } from '@angular/core';
import { debounceTime } from 'rxjs/operators'; import { debounceTime } from 'rxjs/operators';
export class FcModelService { export class FcModelService {
......
...@@ -281,13 +281,13 @@ export class NgxFlowchartComponent implements OnInit, DoCheck { ...@@ -281,13 +281,13 @@ export class NgxFlowchartComponent implements OnInit, DoCheck {
} }
@HostListener('dragover', ['$event']) @HostListener('dragover', ['$event'])
dragover(event: DragEvent) { dragover(event: Event | any) {
this.nodeDraggingService.dragover(event); this.nodeDraggingService.dragover(event);
this.edgeDraggingService.dragover(event); this.edgeDraggingService.dragover(event);
} }
@HostListener('drop', ['$event']) @HostListener('drop', ['$event'])
drop(event: DragEvent) { drop(event: Event | any) {
if (event.preventDefault) { if (event.preventDefault) {
event.preventDefault(); event.preventDefault();
} }
......
...@@ -119,14 +119,14 @@ export interface UserNodeCallbacks { ...@@ -119,14 +119,14 @@ export interface UserNodeCallbacks {
} }
export interface FcCallbacks { export interface FcCallbacks {
nodeDragstart: (event: DragEvent, node: FcNode) => void; nodeDragstart: (event: Event | any, node: FcNode) => void;
nodeDragend: (event: DragEvent) => void; nodeDragend: (event: Event | any) => void;
edgeDragstart: (event: DragEvent, connector: FcConnector) => void; edgeDragstart: (event: Event | any, connector: FcConnector) => void;
edgeDragend: (event: DragEvent) => void; edgeDragend: (event: Event | any) => void;
edgeDrop: (event: DragEvent, targetConnector: FcConnector) => boolean; edgeDrop: (event: Event | any, targetConnector: FcConnector) => boolean;
edgeDragoverConnector: (event: DragEvent, connector: FcConnector) => boolean; edgeDragoverConnector: (event: Event | any, connector: FcConnector) => boolean;
edgeDragoverMagnet: (event: DragEvent, connector: FcConnector) => boolean; edgeDragoverMagnet: (event: Event | any, connector: FcConnector) => boolean;
edgeDragleaveMagnet: (event: DragEvent) => void; edgeDragleaveMagnet: (event: Event | any) => void;
nodeMouseOver: (event: MouseEvent, node: FcNode) => void; nodeMouseOver: (event: MouseEvent, node: FcNode) => void;
nodeMouseOut: (event: MouseEvent, node: FcNode) => void; nodeMouseOut: (event: MouseEvent, node: FcNode) => void;
connectorMouseEnter: (event: MouseEvent, connector: FcConnector) => void; connectorMouseEnter: (event: MouseEvent, connector: FcConnector) => void;
......
...@@ -162,14 +162,14 @@ export class FcNodeContainerComponent implements OnInit, AfterViewInit, OnChange ...@@ -162,14 +162,14 @@ export class FcNodeContainerComponent implements OnInit, AfterViewInit, OnChange
} }
@HostListener('dragstart', ['$event']) @HostListener('dragstart', ['$event'])
dragstart(event: DragEvent) { dragstart(event: Event | any) {
if (!this.node.readonly) { if (!this.node.readonly) {
this.callbacks.nodeDragstart(event, this.node); this.callbacks.nodeDragstart(event, this.node);
} }
} }
@HostListener('dragend', ['$event']) @HostListener('dragend', ['$event'])
dragend(event: DragEvent) { dragend(event: Event | any) {
if (!this.node.readonly) { if (!this.node.readonly) {
this.callbacks.nodeDragend(event); this.callbacks.nodeDragend(event);
} }
......
import { AfterViewInit, Component, HostBinding, HostListener, ViewChild, ViewContainerRef } from '@angular/core'; import { AfterViewInit, Component, HostBinding, HostListener, ViewChild } from '@angular/core';
import { FcModel, FcNode, FlowchartConstants, NgxFlowchartComponent, UserCallbacks } from 'ngx-flowchart-dev'; import { FcModel, FcNode, FlowchartConstants, NgxFlowchartComponent, UserCallbacks } from 'ngx-flowchart-dev';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { A, CONTROL, DELETE, ESCAPE } from '@angular/cdk/keycodes'; import { DELETE } from '@angular/cdk/keycodes';
@Component({ @Component({
selector: 'app-root', selector: 'app-root',
......
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