Commit c19cc135 authored by Igor Kulikov's avatar Igor Kulikov

Upgrade to Angular 9

parent bbbd564a
...@@ -141,8 +141,7 @@ ...@@ -141,8 +141,7 @@
"configurations": { "configurations": {
"production": { "production": {
"project": "projects/ngx-flowchart/ng-package.prod.json" "project": "projects/ngx-flowchart/ng-package.prod.json"
, "tsConfig": "projects/ngx-flowchart/tsconfig.lib.prod.json" }
}
} }
}, },
"test": { "test": {
......
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.
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
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';
import * as i0 from "@angular/core";
export class FcMagnetDirective { export class FcMagnetDirective {
/**
* @param {?} elementRef
*/
constructor(elementRef) { constructor(elementRef) {
this.elementRef = elementRef; this.elementRef = elementRef;
} }
/**
* @return {?}
*/
ngOnInit() { ngOnInit() {
/** @type {?} */
const element = $(this.elementRef.nativeElement); const element = $(this.elementRef.nativeElement);
element.addClass(FlowchartConstants.magnetClass); element.addClass(FlowchartConstants.magnetClass);
} }
/**
* @param {?} event
* @return {?}
*/
dragover(event) { dragover(event) {
return this.callbacks.edgeDragoverMagnet(event, this.connector); return this.callbacks.edgeDragoverMagnet(event, this.connector);
} }
/**
* @param {?} event
* @return {?}
*/
dragleave(event) { dragleave(event) {
this.callbacks.edgeDragleaveMagnet(event); this.callbacks.edgeDragleaveMagnet(event);
} }
/**
* @param {?} event
* @return {?}
*/
drop(event) { drop(event) {
return this.callbacks.edgeDrop(event, this.connector); return this.callbacks.edgeDrop(event, this.connector);
} }
/**
* @param {?} event
* @return {?}
*/
dragend(event) { dragend(event) {
this.callbacks.edgeDragend(event); this.callbacks.edgeDragend(event);
} }
} }
FcMagnetDirective.decorators = [ FcMagnetDirective.ɵfac = function FcMagnetDirective_Factory(t) { return new (t || FcMagnetDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
{ type: Directive, args: [{ FcMagnetDirective.ɵdir = i0.ɵɵdefineDirective({ type: FcMagnetDirective, selectors: [["", "fc-magnet", ""]], hostBindings: function FcMagnetDirective_HostBindings(rf, ctx) { if (rf & 1) {
i0.ɵɵlistener("dragover", function FcMagnetDirective_dragover_HostBindingHandler($event) { return ctx.dragover($event); })("dragleave", function FcMagnetDirective_dragleave_HostBindingHandler($event) { return ctx.dragleave($event); })("drop", function FcMagnetDirective_drop_HostBindingHandler($event) { return ctx.drop($event); })("dragend", function FcMagnetDirective_dragend_HostBindingHandler($event) { return ctx.dragend($event); });
} }, inputs: { callbacks: "callbacks", connector: "connector" } });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(FcMagnetDirective, [{
type: Directive,
args: [{
// tslint:disable-next-line:directive-selector // tslint:disable-next-line:directive-selector
selector: '[fc-magnet]' selector: '[fc-magnet]'
},] } }]
]; }], function () { return [{ type: i0.ElementRef }]; }, { callbacks: [{
/** @nocollapse */ type: Input
FcMagnetDirective.ctorParameters = () => [ }], connector: [{
{ type: ElementRef } type: Input
]; }], dragover: [{
FcMagnetDirective.propDecorators = { type: HostListener,
callbacks: [{ type: Input }], args: ['dragover', ['$event']]
connector: [{ type: Input }], }], dragleave: [{
dragover: [{ type: HostListener, args: ['dragover', ['$event'],] }], type: HostListener,
dragleave: [{ type: HostListener, args: ['dragleave', ['$event'],] }], args: ['dragleave', ['$event']]
drop: [{ type: HostListener, args: ['drop', ['$event'],] }], }], drop: [{
dragend: [{ type: HostListener, args: ['dragend', ['$event'],] }] type: HostListener,
}; args: ['drop', ['$event']]
if (false) { }], dragend: [{
/** @type {?} */ type: HostListener,
FcMagnetDirective.prototype.callbacks; args: ['dragend', ['$event']]
/** @type {?} */ }] }); })();
FcMagnetDirective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6IEZjQ29ubmVjdG9yO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBlbGVtZW50UmVmOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50Pikge1xuICB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgY29uc3QgZWxlbWVudCA9ICQodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQpO1xuICAgIGVsZW1lbnQuYWRkQ2xhc3MoRmxvd2NoYXJ0Q29uc3RhbnRzLm1hZ25ldENsYXNzKTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ2RyYWdvdmVyJywgWyckZXZlbnQnXSlcbiAgZHJhZ292ZXIoZXZlbnQ6IERyYWdFdmVudCkge1xuICAgIHJldHVybiB0aGlzLmNhbGxiYWNrcy5lZGdlRHJhZ292ZXJNYWduZXQoZXZlbnQsIHRoaXMuY29ubmVjdG9yKTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ2RyYWdsZWF2ZScsIFsnJGV2ZW50J10pXG4gIGRyYWdsZWF2ZShldmVudDogRHJhZ0V2ZW50KSB7XG4gICAgdGhpcy5jYWxsYmFja3MuZWRnZURyYWdsZWF2ZU1hZ25ldChldmVudCk7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcm9wJywgWyckZXZlbnQnXSlcbiAgZHJvcChldmVudDogRHJhZ0V2ZW50KSB7XG4gICAgcmV0dXJuIHRoaXMuY2FsbGJhY2tzLmVkZ2VEcm9wKGV2ZW50LCB0aGlzLmNvbm5lY3Rvcik7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdkcmFnZW5kJywgWyckZXZlbnQnXSlcbiAgZHJhZ2VuZChldmVudDogRHJhZ0V2ZW50KSB7XG4gICAgdGhpcy5jYWxsYmFja3MuZWRnZURyYWdlbmQoZXZlbnQpO1xuICB9XG5cbn1cbiJdfQ==
/** @type {?} */ \ No newline at end of file
FcMagnetDirective.prototype.elementRef;
}
//# sourceMappingURL=data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* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
export class FcMouseOverService { export class FcMouseOverService {
/**
* @param {?} applyFunction
*/
constructor(applyFunction) { constructor(applyFunction) {
this.mouseoverscope = { this.mouseoverscope = {
connector: null, connector: null,
...@@ -14,94 +7,31 @@ export class FcMouseOverService { ...@@ -14,94 +7,31 @@ export class FcMouseOverService {
}; };
this.applyFunction = applyFunction; this.applyFunction = applyFunction;
} }
/**
* @param {?} event
* @param {?} node
* @return {?}
*/
nodeMouseOver(event, node) { nodeMouseOver(event, node) {
return this.applyFunction((/** return this.applyFunction(() => {
* @return {?}
*/
() => {
this.mouseoverscope.node = node; this.mouseoverscope.node = node;
})); });
} }
/**
* @param {?} event
* @param {?} node
* @return {?}
*/
nodeMouseOut(event, node) { nodeMouseOut(event, node) {
return this.applyFunction((/** return this.applyFunction(() => {
* @return {?}
*/
() => {
this.mouseoverscope.node = null; this.mouseoverscope.node = null;
})); });
} }
/**
* @param {?} event
* @param {?} connector
* @return {?}
*/
connectorMouseEnter(event, connector) { connectorMouseEnter(event, connector) {
return this.applyFunction((/** return this.applyFunction(() => {
* @return {?}
*/
() => {
this.mouseoverscope.connector = connector; this.mouseoverscope.connector = connector;
})); });
} }
/**
* @param {?} event
* @param {?} connector
* @return {?}
*/
connectorMouseLeave(event, connector) { connectorMouseLeave(event, connector) {
return this.applyFunction((/** return this.applyFunction(() => {
* @return {?}
*/
() => {
this.mouseoverscope.connector = null; this.mouseoverscope.connector = null;
})); });
} }
/**
* @param {?} event
* @param {?} edge
* @return {?}
*/
edgeMouseEnter(event, edge) { edgeMouseEnter(event, edge) {
this.mouseoverscope.edge = edge; this.mouseoverscope.edge = edge;
} }
/**
* @param {?} event
* @param {?} edge
* @return {?}
*/
edgeMouseLeave(event, edge) { edgeMouseLeave(event, edge) {
this.mouseoverscope.edge = null; this.mouseoverscope.edge = null;
} }
} }
if (false) { //# sourceMappingURL=data:application/json;base64,eyJ2Z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cblxuZXhwb3J0IGludGVyZmFjZSBNb3VzZU92ZXJTY29wZSB7XG4gIGNvbm5lY3RvcjogRmNDb25uZWN0b3I7XG4gIGVkZ2U6IEZjRWRnZTtcbiAgbm9kZTogRmNOb2RlO1xufVxuIl19
/** @type {?} */ \ No newline at end of file
FcMouseOverService.prototype.mouseoverscope;
/**
* @type {?}
* @private
*/
FcMouseOverService.prototype.applyFunction;
}
/**
* @record
*/
export function MouseOverScope() { }
if (false) {
/** @type {?} */
MouseOverScope.prototype.connector;
/** @type {?} */
MouseOverScope.prototype.edge;
/** @type {?} */
MouseOverScope.prototype.node;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW91c2VvdmVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZmxvd2NoYXJ0LyIsInNvdXJjZXMiOlsibGliL21vdXNlb3Zlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxNQUFNLE9BQU8sa0JBQWtCOzs7O0lBVTdCLFlBQVksYUFBa0Q7UUFSOUQsbUJBQWMsR0FBbUI7WUFDL0IsU0FBUyxFQUFFLElBQUk7WUFDZixJQUFJLEVBQUUsSUFBSTtZQUNWLElBQUksRUFBRSxJQUFJO1NBQ1gsQ0FBQztRQUtBLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO0lBQ3JDLENBQUM7Ozs7OztJQUVNLGFBQWEsQ0FBQyxLQUFpQixFQUFFLElBQVk7UUFDbEQsT0FBTyxJQUFJLENBQUMsYUFBYTs7O1FBQUMsR0FBRyxFQUFFO1lBQzdCLElBQUksQ0FBQyxjQUFjLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNsQyxDQUFDLEVBQUMsQ0FBQztJQUNMLENBQUM7Ozs7OztJQUVNLFlBQVksQ0FBQyxLQUFpQixFQUFFLElBQVk7UUFDakQsT0FBTyxJQUF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gIH0pO1xuICB9XG5cbiAgcHVibGljIGNvbm5lY3Rvck1vdXNlTGVhdmUoZXZlbnQ6IE1vdXNlRXZlbnQsIGNvbm5lY3RvcjogRmNDb25uZWN0b3IpIHtcbiAgICByZXR1cm4gdGhpcy5hcHBseUZ1bmN0aW9uKCgpID0+IHtcbiAgICAgIHRoaXMubW91c2VvdmVyc2NvcGUuY29ubmVjdG9yID0gbnVsbDtcbiAgICB9KTtcbiAgfVxuXG4gIHB1YmxpYyBlZGdlTW91c2VFbnRlcihldmVudDogTW91c2VFdmVudCwgZWRnZTogRmNFZGdlKSB7XG4gICAgdGhpcy5tb3VzZW92ZXJzY29wZS5lZGdlID0gZWRnZTtcbiAgfVxuXG4gIHB1YmxpYyBlZGdlTW91c2VMZWF2ZShldmVudDogTW91c2VFdmVudCwgZWRnZTogRmNFZGdlKSB7XG4gICAgdGhpcy5tb3VzZW92ZXJzY29wZS5lZGdlID0gbnVsbDtcbiAgfVxufVxuXG5leHBvcnQgaW50ZXJmYWNlIE1vdXNlT3ZlclNjb3BlIHtcbiAgY29ubmVjdG9yOiBGY0Nvbm5lY3RvcjtcbiAgZWRnZTogRmNFZGdlO1xuICBub2RlOiBGY05vZGU7XG59XG4iXX0=
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
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,13 +8,33 @@ import { FcConnectorDirective } from './connector.directive'; ...@@ -12,13 +8,33 @@ import { FcConnectorDirective } from './connector.directive';
import { FcNodeContainerComponent } from './node.component'; import { FcNodeContainerComponent } from './node.component';
import { FC_NODE_COMPONENT_CONFIG } from './ngx-flowchart.models'; import { FC_NODE_COMPONENT_CONFIG } from './ngx-flowchart.models';
import { DefaultFcNodeComponent } from './default-node.component'; import { DefaultFcNodeComponent } from './default-node.component';
const ɵ0 = { import * as i0 from "@angular/core";
nodeComponentType: DefaultFcNodeComponent
};
export class NgxFlowchartModule { export class NgxFlowchartModule {
} }
NgxFlowchartModule.decorators = [ NgxFlowchartModule.ɵmod = i0.ɵɵdefineNgModule({ type: NgxFlowchartModule });
{ type: NgModule, args: [{ NgxFlowchartModule.ɵinj = i0.ɵɵdefineInjector({ factory: function NgxFlowchartModule_Factory(t) { return new (t || NgxFlowchartModule)(); }, providers: [
FcModelValidationService,
FcEdgeDrawingService,
{
provide: FC_NODE_COMPONENT_CONFIG,
useValue: {
nodeComponentType: DefaultFcNodeComponent
}
}
], imports: [[
CommonModule
]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NgxFlowchartModule, { declarations: [NgxFlowchartComponent,
FcMagnetDirective,
FcConnectorDirective,
FcNodeContainerComponent,
DefaultFcNodeComponent], imports: [CommonModule], exports: [NgxFlowchartComponent,
FcMagnetDirective,
FcConnectorDirective,
DefaultFcNodeComponent] }); })();
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(NgxFlowchartModule, [{
type: NgModule,
args: [{
entryComponents: [ entryComponents: [
DefaultFcNodeComponent DefaultFcNodeComponent
], ],
...@@ -32,7 +48,9 @@ NgxFlowchartModule.decorators = [ ...@@ -32,7 +48,9 @@ NgxFlowchartModule.decorators = [
FcEdgeDrawingService, FcEdgeDrawingService,
{ {
provide: FC_NODE_COMPONENT_CONFIG, provide: FC_NODE_COMPONENT_CONFIG,
useValue: ɵ0 useValue: {
nodeComponentType: DefaultFcNodeComponent
}
} }
], ],
imports: [ imports: [
...@@ -42,7 +60,6 @@ NgxFlowchartModule.decorators = [ ...@@ -42,7 +60,6 @@ NgxFlowchartModule.decorators = [
FcMagnetDirective, FcMagnetDirective,
FcConnectorDirective, FcConnectorDirective,
DefaultFcNodeComponent] DefaultFcNodeComponent]
},] } }]
]; }], null, null); })();
export { ɵ0 }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZmxvd2NoYXJ0LyIsInNvdXJjZXMiOlsibGliL25neC1mbG93Y2hhcnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDckUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzdELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQzVELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQTZCbEUsTUFBTSxPQUFPLGtCQUFrQjs7c0RBQWxCLGtCQUFrQjttSEFBbEIsa0JBQWtCLG1CQWxCbEI7UUFDVCx3QkFBd0I7UUFDeEIsb0JBQW9CO1FBQ3BCO1lBQ0UsT0FBTyxFQUFFLHdCQUF3QjtZQUNqQyxRQUFRLEVBQUU7Z0JBQ1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uICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlXG4gIF0sXG4gIGV4cG9ydHM6IFtOZ3hGbG93Y2hhcnRDb21wb25lbnQsXG4gICAgRmNNYWduZXREaXJlY3RpdmUsXG4gICAgRmNDb25uZWN0b3JEaXJlY3RpdmUsXG4gICAgRGVmYXVsdEZjTm9kZUNvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgTmd4Rmxvd2NoYXJ0TW9kdWxlIHsgfVxuIl19 \ No newline at end of file
\ No newline at end of file
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
const regex = /(auto|scroll)/; const regex = /(auto|scroll)/;
/** @type {?} */ const style = (node, prop) => getComputedStyle(node, null).getPropertyValue(prop);
const style = (/** const scroll = (node) => regex.test(style(node, 'overflow') +
* @param {?} node
* @param {?} prop
* @return {?}
*/
(node, prop) => getComputedStyle(node, null).getPropertyValue(prop));
const ɵ0 = style;
/** @type {?} */
const scroll = (/**
* @param {?} node
* @return {?}
*/
(node) => regex.test(style(node, 'overflow') +
style(node, 'overflow-y') + style(node, 'overflow-y') +
style(node, 'overflow-x'))); style(node, 'overflow-x'));
const ɵ1 = scroll; const scrollparent = (node) => !node || node === document.body
/** @type {?} */
const scrollparent = (/**
* @param {?} node
* @return {?}
*/
(node) => !node || node === document.body
? document.body ? document.body
: scroll(node) : scroll(node)
? node ? node
: scrollparent((/** @type {?} */ (node.parentNode)))); : scrollparent(node.parentNode);
const ɵ2 = scrollparent;
export default scrollparent; export default scrollparent;
export { ɵ0, ɵ1, ɵ2 }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xscGFyZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWZsb3djaGFydC8iLCJzb3VyY2VzIjpbImxpYi9zY3JvbGxwYXJlbnQudHMiXSwibmFtZXMiOltdLCJ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xuIl19 \ No newline at end of file
\ No newline at end of file
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** /**
* Generated bundle index. Do not edit. * Generated bundle index. Do not edit.
*/ */
export { FcNodeComponent, NgxFlowchartComponent, NgxFlowchartModule, fcTopSort, FC_NODE_COMPONENT_CONFIG, FlowchartConstants, ModelvalidationError } from './public-api'; export * from './public-api';
export { FcConnectorDirective as ɵf } from './lib/connector.directive'; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJuZ3gtZmxvd2NoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
export { DefaultFcNodeComponent as ɵd } from './lib/default-node.component'; \ No newline at end of file
export { FcEdgeDrawingService as ɵc } from './lib/edge-drawing.service';
export { FcMagnetDirective as ɵe } from './lib/magnet.directive';
export { FcModelValidationService as ɵb } from './lib/modelvalidation.service';
export { FcNodeContainerComponent as ɵa } from './lib/node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJuZ3gtZmxvd2NoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSwwSkFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxF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0IHtGY05vZGVDb250YWluZXJDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2xpYi9ub2RlLmNvbXBvbmVudCc7Il19
\ No newline at end of file
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/* /*
* Public API Surface of ngx-flowchart * Public API Surface of ngx-flowchart
*/ */
export { NgxFlowchartComponent } from './lib/ngx-flowchart.component'; export * from './lib/ngx-flowchart.component';
export { NgxFlowchartModule } from './lib/ngx-flowchart.module'; export * from './lib/ngx-flowchart.module';
export { fcTopSort, FC_NODE_COMPONENT_CONFIG, FlowchartConstants, ModelvalidationError } from './lib/ngx-flowchart.models'; export * from './lib/ngx-flowchart.models';
export { FcNodeComponent } from './lib/node.component'; export { FcNodeComponent } from './lib/node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxzQ0FBYywrQkFBK0IsQ0FBQztBQUM5QyxtQ0FBYyw0QkFBNEIsQ0FBQztBQUMzQyw4RkFBYyw0QkFBNEIsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1mbG93Y2hhcnRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0Lm1vZGVscyc7XG5leHBvcnQgeyBGY05vZGVDb21wb25lbnQgfSBmcm9tICcuL2xpYi9ub2RlLmNvbXBvbmVudCc7XG4iXX0= export { FcMagnetDirective } from './lib/magnet.directive';
\ No newline at end of file export { FcConnectorDirective } from './lib/connector.directive';
export { DefaultFcNodeComponent } from './lib/default-node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzNELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtZmxvd2NoYXJ0XG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWZsb3djaGFydC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWZsb3djaGFydC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWZsb3djaGFydC5tb2RlbHMnO1xuZXhwb3J0IHsgRmNOb2RlQ29tcG9uZW50IH0gZnJvbSAnLi9saWIvbm9kZS5jb21wb25lbnQnO1xuZXhwb3J0IHsgRmNNYWduZXREaXJlY3RpdmUgfSBmcm9tICcuL2xpYi9tYWduZXQuZGlyZWN0aXZlJztcbmV4cG9ydCB7IEZjQ29ubmVjdG9yRGlyZWN0aXZlIH0gZnJvbSAnLi9saWIvY29ubmVjdG9yLmRpcmVjdGl2ZSc7XG5leHBvcnQgeyBEZWZhdWx0RmNOb2RlQ29tcG9uZW50IH0gZnJvbSAnLi9saWIvZGVmYXVsdC1ub2RlLmNvbXBvbmVudCc7XG4iXX0=
\ No newline at end of file
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
var regex = /(auto|scroll)/; var regex = /(auto|scroll)/;
/** @type {?} */ var style = function (node, prop) {
var style = (/**
* @param {?} node
* @param {?} prop
* @return {?}
*/
function (node, prop) {
return getComputedStyle(node, null).getPropertyValue(prop); return getComputedStyle(node, null).getPropertyValue(prop);
}); };
var ɵ0 = style; var scroll = function (node) {
/** @type {?} */
var scroll = (/**
* @param {?} node
* @return {?}
*/
function (node) {
return regex.test(style(node, 'overflow') + return regex.test(style(node, 'overflow') +
style(node, 'overflow-y') + style(node, 'overflow-y') +
style(node, 'overflow-x')); style(node, 'overflow-x'));
}); };
var ɵ1 = scroll; var scrollparent = function (node) {
/** @type {?} */
var scrollparent = (/**
* @param {?} node
* @return {?}
*/
function (node) {
return !node || node === document.body return !node || node === document.body
? document.body ? document.body
: scroll(node) : scroll(node)
? node ? node
: scrollparent((/** @type {?} */ (node.parentNode))); : scrollparent(node.parentNode);
}); };
var ɵ2 = scrollparent;
export default scrollparent; export default scrollparent;
export { ɵ0, ɵ1, ɵ2 }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xscGFyZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWZsb3djaGFydC8iLCJzb3VyY2VzIjpbImxpYi9zY3JvbGxwYXJlbnQudHMiXS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UxFbGVtZW50KTtcblxuZXhwb3J0IGRlZmF1bHQgc2Nyb2xscGFyZW50O1xuIl19 \ No newline at end of file
\ No newline at end of file
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** /**
* Generated bundle index. Do not edit. * Generated bundle index. Do not edit.
*/ */
export { FcNodeComponent, NgxFlowchartComponent, NgxFlowchartModule, fcTopSort, FC_NODE_COMPONENT_CONFIG, FlowchartConstants, ModelvalidationError } from './public-api'; export * from './public-api';
export { FcConnectorDirective as ɵf } from './lib/connector.directive'; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJuZ3gtZmxvd2NoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
export { DefaultFcNodeComponent as ɵd } from './lib/default-node.component'; \ No newline at end of file
export { FcEdgeDrawingService as ɵc } from './lib/edge-drawing.service';
export { FcMagnetDirective as ɵe } from './lib/magnet.directive';
export { FcModelValidationService as ɵb } from './lib/modelvalidation.service';
export { FcNodeContainerComponent as ɵa } from './lib/node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZsb3djaGFydC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJuZ3gtZmxvd2NoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI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bSAnLi9saWIvbW9kZWx2YWxpZGF0aW9uLnNlcnZpY2UnO1xuZXhwb3J0IHtGY05vZGVDb250YWluZXJDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2xpYi9ub2RlLmNvbXBvbmVudCc7Il19
\ No newline at end of file
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/* /*
* Public API Surface of ngx-flowchart * Public API Surface of ngx-flowchart
*/ */
export { NgxFlowchartComponent } from './lib/ngx-flowchart.component'; export * from './lib/ngx-flowchart.component';
export { NgxFlowchartModule } from './lib/ngx-flowchart.module'; export * from './lib/ngx-flowchart.module';
export { fcTopSort, FC_NODE_COMPONENT_CONFIG, FlowchartConstants, ModelvalidationError } from './lib/ngx-flowchart.models'; export * from './lib/ngx-flowchart.models';
export { FcNodeComponent } from './lib/node.component'; export { FcNodeComponent } from './lib/node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxzQ0FBYywrQkFBK0IsQ0FBQztBQUM5QyxtQ0FBYyw0QkFBNEIsQ0FBQztBQUMzQyw4RkFBYyw0QkFBNEIsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1mbG93Y2hhcnRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZmxvd2NoYXJ0Lm1vZGVscyc7XG5leHBvcnQgeyBGY05vZGVDb21wb25lbnQgfSBmcm9tICcuL2xpYi9ub2RlLmNvbXBvbmVudCc7XG4iXX0= export { FcMagnetDirective } from './lib/magnet.directive';
\ No newline at end of file export { FcConnectorDirective } from './lib/connector.directive';
export { DefaultFcNodeComponent } from './lib/default-node.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1mbG93Y2hhcnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzNELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtZmxvd2NoYXJ0XG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWZsb3djaGFydC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWZsb3djaGFydC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWZsb3djaGFydC5tb2RlbHMnO1xuZXhwb3J0IHsgRmNOb2RlQ29tcG9uZW50IH0gZnJvbSAnLi9saWIvbm9kZS5jb21wb25lbnQnO1xuZXhwb3J0IHsgRmNNYWduZXREaXJlY3RpdmUgfSBmcm9tICcuL2xpYi9tYWduZXQuZGlyZWN0aXZlJztcbmV4cG9ydCB7IEZjQ29ubmVjdG9yRGlyZWN0aXZlIH0gZnJvbSAnLi9saWIvY29ubmVjdG9yLmRpcmVjdGl2ZSc7XG5leHBvcnQgeyBEZWZhdWx0RmNOb2RlQ29tcG9uZW50IH0gZnJvbSAnLi9saWIvZGVmYXVsdC1ub2RlLmNvbXBvbmVudCc7XG4iXX0=
\ No newline at end of file
This diff is collapsed.
import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { FcCallbacks, FcConnector, FcNodeRectInfo } from './ngx-flowchart.models'; import { FcCallbacks, FcConnector, FcNodeRectInfo } from './ngx-flowchart.models';
import { FcModelService } from './model.service'; import { FcModelService } from './model.service';
import * as i0 from "@angular/core";
export declare class FcConnectorDirective implements OnInit, OnChanges { export declare class FcConnectorDirective implements OnInit, OnChanges {
elementRef: ElementRef<HTMLElement>; elementRef: ElementRef<HTMLElement>;
callbacks: FcCallbacks; callbacks: FcCallbacks;
...@@ -18,4 +19,6 @@ export declare class FcConnectorDirective implements OnInit, OnChanges { ...@@ -18,4 +19,6 @@ export declare class FcConnectorDirective implements OnInit, OnChanges {
dragstart(event: DragEvent): void; dragstart(event: DragEvent): void;
mouseenter(event: MouseEvent): void; mouseenter(event: MouseEvent): void;
mouseleave(event: MouseEvent): void; mouseleave(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDef<FcConnectorDirective>;
static ɵdir: i0.ɵɵDirectiveDefWithMeta<FcConnectorDirective, "[fc-connector]", never, { "callbacks": "callbacks"; "modelservice": "modelservice"; "connector": "connector"; "nodeRectInfo": "nodeRectInfo"; "mouseOverConnector": "mouseOverConnector"; }, {}, never>;
} }
import { FcNodeComponent } from './node.component'; import { FcNodeComponent } from './node.component';
import * as i0 from "@angular/core";
export declare class DefaultFcNodeComponent extends FcNodeComponent { export declare class DefaultFcNodeComponent extends FcNodeComponent {
constructor(); constructor();
static ɵfac: i0.ɵɵFactoryDef<DefaultFcNodeComponent>;
static ɵcmp: i0.ɵɵComponentDefWithMeta<DefaultFcNodeComponent, "fc-default-node", never, {}, {}, never>;
} }
import { FcCoords } from './ngx-flowchart.models'; import { FcCoords } from './ngx-flowchart.models';
import * as i0 from "@angular/core";
export declare class FcEdgeDrawingService { export declare class FcEdgeDrawingService {
constructor(); constructor();
getEdgeDAttribute(pt1: FcCoords, pt2: FcCoords, style: string): string; getEdgeDAttribute(pt1: FcCoords, pt2: FcCoords, style: string): string;
...@@ -6,4 +7,6 @@ export declare class FcEdgeDrawingService { ...@@ -6,4 +7,6 @@ export declare class FcEdgeDrawingService {
private computeEdgeTangentOffset; private computeEdgeTangentOffset;
private computeEdgeSourceTangent; private computeEdgeSourceTangent;
private computeEdgeDestinationTangent; private computeEdgeDestinationTangent;
static ɵfac: i0.ɵɵFactoryDef<FcEdgeDrawingService>;
static ɵprov: i0.ɵɵInjectableDef<FcEdgeDrawingService>;
} }
import { ElementRef, OnInit } from '@angular/core'; import { ElementRef, OnInit } from '@angular/core';
import { FcCallbacks, FcConnector } from './ngx-flowchart.models'; import { FcCallbacks, FcConnector } from './ngx-flowchart.models';
import * as i0 from "@angular/core";
export declare class FcMagnetDirective implements OnInit { export declare class FcMagnetDirective implements OnInit {
elementRef: ElementRef<HTMLElement>; elementRef: ElementRef<HTMLElement>;
callbacks: FcCallbacks; callbacks: FcCallbacks;
...@@ -10,4 +11,6 @@ export declare class FcMagnetDirective implements OnInit { ...@@ -10,4 +11,6 @@ export declare class FcMagnetDirective implements OnInit {
dragleave(event: DragEvent): void; dragleave(event: DragEvent): void;
drop(event: DragEvent): boolean; drop(event: DragEvent): boolean;
dragend(event: DragEvent): void; dragend(event: DragEvent): void;
static ɵfac: i0.ɵɵFactoryDef<FcMagnetDirective>;
static ɵdir: i0.ɵɵDirectiveDefWithMeta<FcMagnetDirective, "[fc-magnet]", never, { "callbacks": "callbacks"; "connector": "connector"; }, {}, never>;
} }
import { FcConnector, FcEdge, FcModel, FcNode } from './ngx-flowchart.models'; import { FcConnector, FcEdge, FcModel, FcNode } from './ngx-flowchart.models';
import * as i0 from "@angular/core";
export declare class FcModelValidationService { export declare class FcModelValidationService {
constructor(); constructor();
validateModel(model: FcModel): FcModel; validateModel(model: FcModel): FcModel;
...@@ -9,4 +10,6 @@ export declare class FcModelValidationService { ...@@ -9,4 +10,6 @@ export declare class FcModelValidationService {
private _validateEdge; private _validateEdge;
validateEdge(edge: FcEdge, nodes: Array<FcNode>): FcEdge; validateEdge(edge: FcEdge, nodes: Array<FcNode>): FcEdge;
validateConnector(connector: FcConnector): FcConnector; validateConnector(connector: FcConnector): FcConnector;
static ɵfac: i0.ɵɵFactoryDef<FcModelValidationService>;
static ɵprov: i0.ɵɵInjectableDef<FcModelValidationService>;
} }
...@@ -7,6 +7,7 @@ import { FcEdgeDrawingService } from './edge-drawing.service'; ...@@ -7,6 +7,7 @@ import { FcEdgeDrawingService } from './edge-drawing.service';
import { FcEdgeDraggingService } from './edge-dragging.service'; import { FcEdgeDraggingService } from './edge-dragging.service';
import { FcMouseOverService } from './mouseover.service'; import { FcMouseOverService } from './mouseover.service';
import { FcRectangleSelectService } from './rectangleselect.service'; import { FcRectangleSelectService } from './rectangleselect.service';
import * as i0 from "@angular/core";
export declare class NgxFlowchartComponent implements OnInit, DoCheck { export declare class NgxFlowchartComponent implements OnInit, DoCheck {
private elementRef; private elementRef;
private differs; private differs;
...@@ -14,7 +15,7 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck { ...@@ -14,7 +15,7 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck {
edgeDrawingService: FcEdgeDrawingService; edgeDrawingService: FcEdgeDrawingService;
private cd; private cd;
private zone; private zone;
readonly canvasClass: string; get canvasClass(): string;
model: FcModel; model: FcModel;
selectedObjects: any[]; selectedObjects: any[];
edgeStyle: string; edgeStyle: string;
...@@ -26,7 +27,8 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck { ...@@ -26,7 +27,8 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck {
dropTargetId: string; dropTargetId: string;
modelChanged: EventEmitter<any>; modelChanged: EventEmitter<any>;
private fitModelSizeByDefaultValue; private fitModelSizeByDefaultValue;
fitModelSizeByDefault: boolean; get fitModelSizeByDefault(): boolean;
set fitModelSizeByDefault(value: boolean);
callbacks: FcCallbacks; callbacks: FcCallbacks;
userNodeCallbacks: UserNodeCallbacks; userNodeCallbacks: UserNodeCallbacks;
modelService: FcModelService; modelService: FcModelService;
...@@ -83,4 +85,6 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck { ...@@ -83,4 +85,6 @@ export declare class NgxFlowchartComponent implements OnInit, DoCheck {
mousedown(event: MouseEvent): void; mousedown(event: MouseEvent): void;
mousemove(event: MouseEvent): void; mousemove(event: MouseEvent): void;
mouseup(event: MouseEvent): void; mouseup(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDef<NgxFlowchartComponent>;
static ɵcmp: i0.ɵɵComponentDefWithMeta<NgxFlowchartComponent, "fc-canvas", never, { "model": "model"; "selectedObjects": "selectedObjects"; "edgeStyle": "edgeStyle"; "userCallbacks": "userCallbacks"; "automaticResize": "automaticResize"; "dragAnimation": "dragAnimation"; "nodeWidth": "nodeWidth"; "nodeHeight": "nodeHeight"; "dropTargetId": "dropTargetId"; "fitModelSizeByDefault": "fitModelSizeByDefault"; }, { "modelChanged": "modelChanged"; }, never>;
} }
import * as i0 from "@angular/core";
import * as i1 from "./ngx-flowchart.component";
import * as i2 from "./magnet.directive";
import * as i3 from "./connector.directive";
import * as i4 from "./node.component";
import * as i5 from "./default-node.component";
import * as i6 from "@angular/common";
export declare class NgxFlowchartModule { export declare class NgxFlowchartModule {
static ɵmod: i0.ɵɵNgModuleDefWithMeta<NgxFlowchartModule, [typeof i1.NgxFlowchartComponent, typeof i2.FcMagnetDirective, typeof i3.FcConnectorDirective, typeof i4.FcNodeContainerComponent, typeof i5.DefaultFcNodeComponent], [typeof i6.CommonModule], [typeof i1.NgxFlowchartComponent, typeof i2.FcMagnetDirective, typeof i3.FcConnectorDirective, typeof i5.DefaultFcNodeComponent]>;
static ɵinj: i0.ɵɵInjectorDef<NgxFlowchartModule>;
} }
import { AfterViewInit, ComponentFactoryResolver, ElementRef, OnChanges, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core'; import { AfterViewInit, ComponentFactoryResolver, ElementRef, OnChanges, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
import { FcCallbacks, FcConnector, FcNode, FcNodeComponentConfig, FcNodeRectInfo, UserNodeCallbacks } from './ngx-flowchart.models'; import { FcCallbacks, FcConnector, FcNode, FcNodeComponentConfig, FcNodeRectInfo, UserNodeCallbacks } from './ngx-flowchart.models';
import { FcModelService } from './model.service'; import { FcModelService } from './model.service';
import * as i0 from "@angular/core";
export declare class FcNodeContainerComponent implements OnInit, AfterViewInit, OnChanges { export declare class FcNodeContainerComponent implements OnInit, AfterViewInit, OnChanges {
private nodeComponentConfig; private nodeComponentConfig;
private elementRef; private elementRef;
...@@ -14,9 +15,9 @@ export declare class FcNodeContainerComponent implements OnInit, AfterViewInit, ...@@ -14,9 +15,9 @@ export declare class FcNodeContainerComponent implements OnInit, AfterViewInit,
mouseOverConnector: FcConnector; mouseOverConnector: FcConnector;
modelservice: FcModelService; modelservice: FcModelService;
dragging: boolean; dragging: boolean;
readonly nodeId: string; get nodeId(): string;
readonly top: string; get top(): string;
readonly left: string; get left(): string;
nodeComponent: FcNodeComponent; nodeComponent: FcNodeComponent;
nodeContentContainer: ViewContainerRef; nodeContentContainer: ViewContainerRef;
constructor(nodeComponentConfig: FcNodeComponentConfig, elementRef: ElementRef<HTMLElement>, componentFactoryResolver: ComponentFactoryResolver); constructor(nodeComponentConfig: FcNodeComponentConfig, elementRef: ElementRef<HTMLElement>, componentFactoryResolver: ComponentFactoryResolver);
...@@ -32,6 +33,8 @@ export declare class FcNodeContainerComponent implements OnInit, AfterViewInit, ...@@ -32,6 +33,8 @@ export declare class FcNodeContainerComponent implements OnInit, AfterViewInit,
click(event: MouseEvent): void; click(event: MouseEvent): void;
mouseover(event: MouseEvent): void; mouseover(event: MouseEvent): void;
mouseout(event: MouseEvent): void; mouseout(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDef<FcNodeContainerComponent>;
static ɵcmp: i0.ɵɵComponentDefWithMeta<FcNodeContainerComponent, "fc-node", never, { "callbacks": "callbacks"; "userNodeCallbacks": "userNodeCallbacks"; "node": "node"; "selected": "selected"; "edit": "edit"; "underMouse": "underMouse"; "mouseOverConnector": "mouseOverConnector"; "modelservice": "modelservice"; "dragging": "dragging"; }, {}, never>;
} }
export declare abstract class FcNodeComponent implements OnInit { export declare abstract class FcNodeComponent implements OnInit {
callbacks: FcCallbacks; callbacks: FcCallbacks;
...@@ -72,4 +75,6 @@ export declare abstract class FcNodeComponent implements OnInit { ...@@ -72,4 +75,6 @@ export declare abstract class FcNodeComponent implements OnInit {
height: number; height: number;
nodeRectInfo: FcNodeRectInfo; nodeRectInfo: FcNodeRectInfo;
ngOnInit(): void; ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDef<FcNodeComponent>;
static ɵdir: i0.ɵɵDirectiveDefWithMeta<FcNodeComponent, never, never, { "callbacks": "callbacks"; "userNodeCallbacks": "userNodeCallbacks"; "node": "node"; "selected": "selected"; "edit": "edit"; "underMouse": "underMouse"; "mouseOverConnector": "mouseOverConnector"; "modelservice": "modelservice"; "dragging": "dragging"; }, {}, never>;
} }
/** /**
* Generated bundle index. Do not edit. * Generated bundle index. Do not edit.
*/ */
/// <amd-module name="ngx-flowchart" />
export * from './public-api'; export * from './public-api';
export { FcConnectorDirective as ɵf } from './lib/connector.directive';
export { DefaultFcNodeComponent as ɵd } from './lib/default-node.component';
export { FcEdgeDrawingService as ɵc } from './lib/edge-drawing.service';
export { FcMagnetDirective as ɵe } from './lib/magnet.directive';
export { FcModelValidationService as ɵb } from './lib/modelvalidation.service';
export { FcNodeContainerComponent as ɵa } from './lib/node.component';
This diff is collapsed.
...@@ -2,13 +2,11 @@ ...@@ -2,13 +2,11 @@
"name": "ngx-flowchart", "name": "ngx-flowchart",
"version": "0.0.1", "version": "0.0.1",
"peerDependencies": { "peerDependencies": {
"@angular/common": "^8.0.3", "@angular/common": "^9.0.0",
"@angular/core": "^8.0.3", "@angular/core": "^9.0.0",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"typescript": "^3.1" "typescript": "^3.7.5",
}, "tslib": "^1.10.0"
"devDependencies": {
"@types/jquery": "^3.3.31"
}, },
"main": "bundles/ngx-flowchart.umd.js", "main": "bundles/ngx-flowchart.umd.js",
"module": "fesm5/ngx-flowchart.js", "module": "fesm5/ngx-flowchart.js",
...@@ -18,9 +16,8 @@ ...@@ -18,9 +16,8 @@
"fesm5": "fesm5/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",
"sideEffects": false, "sideEffects": false,
"dependencies": { "scripts": {
"tslib": "^1.9.0" "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\\nPlease delete and rebuild the package, without compiling with Ivy, before attempting to publish.\\n')\" && exit 1"
} }
} }
...@@ -2,3 +2,6 @@ export * from './lib/ngx-flowchart.component'; ...@@ -2,3 +2,6 @@ export * from './lib/ngx-flowchart.component';
export * from './lib/ngx-flowchart.module'; export * from './lib/ngx-flowchart.module';
export * from './lib/ngx-flowchart.models'; export * from './lib/ngx-flowchart.models';
export { FcNodeComponent } from './lib/node.component'; export { FcNodeComponent } from './lib/node.component';
export { FcMagnetDirective } from './lib/magnet.directive';
export { FcConnectorDirective } from './lib/connector.directive';
export { DefaultFcNodeComponent } from './lib/default-node.component';
...@@ -6,3 +6,6 @@ export * from './lib/ngx-flowchart.component'; ...@@ -6,3 +6,6 @@ export * from './lib/ngx-flowchart.component';
export * from './lib/ngx-flowchart.module'; export * from './lib/ngx-flowchart.module';
export * from './lib/ngx-flowchart.models'; export * from './lib/ngx-flowchart.models';
export { FcNodeComponent } from './lib/node.component'; export { FcNodeComponent } from './lib/node.component';
export { FcMagnetDirective } from './lib/magnet.directive';
export { FcConnectorDirective } from './lib/connector.directive';
export { DefaultFcNodeComponent } from './lib/default-node.component';
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}
\ No newline at end of file
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
<div class="button-overlay"> <div class="button-overlay">
<button (click)="addNewNode()" title="Add a new node to then chart">Add Node</button> <button (click)="addNewNode()" title="Add a new node to then chart">Add Node</button>
<button (click)="deleteSelected()" <button (click)="deleteSelected()"
[disabled]="fcCanvas.modelService.nodes.getSelectedNodes().length === 0 && [disabled]="!fcCanvas.modelService || (fcCanvas.modelService.nodes.getSelectedNodes().length === 0 &&
fcCanvas.modelService.edges.getSelectedEdges().length === 0" fcCanvas.modelService.edges.getSelectedEdges().length === 0)"
title="Delete selected nodes and connections">Delete Selected</button> title="Delete selected nodes and connections">Delete Selected</button>
<button (click)="activateWorkflow()"> <button (click)="activateWorkflow()">
Activate Workflow Activate Workflow
......
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