ato-water-lib 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,8 +11,8 @@ export class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
11
11
  get data() {
12
12
  return this._data;
13
13
  }
14
- constructor() {
15
- super();
14
+ constructor(_elRef) {
15
+ super(_elRef);
16
16
  this._data = null;
17
17
  this.isLoading = false;
18
18
  this.actions = [
@@ -53,12 +53,12 @@ export class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
53
53
  this.myDiagram.select(this.myDiagram.findNodeForKey(key));
54
54
  }
55
55
  }
56
- AtoFlowDiagramLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ AtoFlowDiagramLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
57
57
  AtoFlowDiagramLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: { showNotificationIcon: "showNotificationIcon", data: "data", isLoading: "isLoading" }, viewQueries: [{ propertyName: "myDiagramDivTemp", first: true, predicate: ["myDiagramDivTemp"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" style=\"height: 100%\">\n <!-- tqlSpin [spinning]=\"data === null || !!isLoading\" -->\n <div class=\"w-100 h-100 d-flex\" style=\"height: 100%\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\" style=\"height: 100%\"></div>\n <!-- <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div> -->\n </div>\n</div>\n", styles: [""] });
58
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{ selector: 'ato-flow-diagram-lib', template: "<div class=\"w-100 h-100 gj-flow-diagram-wrapper\" style=\"height: 100%\">\n <!-- tqlSpin [spinning]=\"data === null || !!isLoading\" -->\n <div class=\"w-100 h-100 d-flex\" style=\"height: 100%\">\n <!-- <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu> -->\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\" style=\"height: 100%\"></div>\n <!-- <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div> -->\n </div>\n</div>\n" }]
61
- }], ctorParameters: function () { return []; }, propDecorators: { myDiagramDivTemp: [{
61
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { myDiagramDivTemp: [{
62
62
  type: ViewChild,
63
63
  args: ['myDiagramDivTemp']
64
64
  }], showNotificationIcon: [{
@@ -68,4 +68,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
68
68
  }], isLoading: [{
69
69
  type: Input
70
70
  }] } });
71
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvdy1kaWFncmFtLWxpYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvY29tcG9uZW50cy9mbG93LWRpYWdyYW0tbGliL2Zsb3ctZGlhZ3JhbS1saWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXRvLXdhdGVyLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvZmxvdy1kaWFncmFtLWxpYi9mbG93LWRpYWdyYW0tbGliLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLENBQUMsTUFBTSxRQUFRLENBQUM7QUFFdkIsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDOUUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7O0FBT3BFLE1BQU0sT0FBTywwQkFBMkIsU0FBUSxvQkFBb0I7SUFJbEUsSUFBYSxJQUFJLENBQUMsQ0FBQztRQUNmLElBQUksQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFDO1FBQ2YsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO0lBQ3ZCLENBQUM7SUFJRCxJQUFJLElBQUk7UUFDSixPQUFPLElBQU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5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgICB0aGlzLmFkZFN1YnNjcmliZXMoXG4gICAgICAgICAgdGhpcy5jb21taXR0ZWRUcmFuc2FjdGlvblN1YmplY3Q/LnN1YnNjcmliZSgoZSkgPT4ge1xuICAgICAgICAgICAgICB0aGlzLm9uTW9kZWxDaGFuZ2VMaXN0ZW5lckV2ZW50LmVtaXQoZSk7XG4gICAgICAgICAgfSksXG4gICAgICAgICAgLy8gdGhpcy5fR2pVdGlsc1NlcnZpY2U/LnVwZGF0ZU5hbWVEYXRhQm94JD8uc3Vic2NyaWJlKChycykgPT4ge1xuICAgICAgICAgIC8vICAgICBpZiAocnMgJiYgcnM/LmtleSkge1xuICAgICAgICAgIC8vICAgICAgICAgY29uc3Qgbm9kZSA9IHRoaXMubXlEaWFncmFtLmZpbmROb2RlRm9yS2V5KHJzPy5rZXkpO1xuICAgICAgICAgIC8vICAgICAgICAgdGhpcy5teURpYWdyYW0ubW9kZWwuc2V0RGF0YVByb3BlcnR5KG5vZGU/LmRhdGEsICduYW1lJywgcnM/Lm5hbWUpO1xuICAgICAgICAgIC8vICAgICB9XG4gICAgICAgICAgLy8gfSksXG4gICAgICApO1xuICB9XG5cblxuXG5cbiAgbG9hZERpYWdyYW0oKSB7XG4gICAgICBpZiAodGhpcy5kYXRhPy5ub2RlRGF0YUFycmF5Py5sZW5ndGggJiYgISF0aGlzLnNob3dOb3RpZmljYXRpb25JY29uKSB7XG4gICAgICAgICAgXy5tYXAodGhpcy5kYXRhPy5ub2RlRGF0YUFycmF5LCAobm9kZSkgPT4ge1xuICAgICAgICAgICAgICAvLyBpZiAobm9kZT8udHlwZSA9PT0gR29qc0VkaXRvck1vZGVsLkVOVU1fVEVNUExBVEVTLlRFWFRfTk9ERSkge1xuICAgICAgICAgICAgICAvLyAgICAgbm9kZS5yZWNvbW1lbmRhdGlvbiA9IF8uc29tZShcbiAgICAgICAgICAgICAgLy8gICAgICAgICB0aGlzLl9SZWNvbW1l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ljb24pIHtcbiAgICAgICAgICBfLm1hcCh0aGlzLmRhdGE/Lm5vZGVEYXRhQXJyYXksIChub2RlKSA9PiB7XG4gICAgICAgICAgICAgIC8vIGlmIChub2RlPy50eXBlID09PSBHb2pzRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuVEVYVF9OT0RFKSB7XG4gICAgICAgICAgICAgIC8vICAgICBub2RlLnJlY29tbWVuZGF0aW9uID0gXy5zb21lKFxuICAgICAgICAgICAgICAvLyAgICAgICAgIHRoaXMuX1JlY29tbWVuZGF0aW9uc1NlcnZpY2UuYWN0aXZlUmVjb21tZW5kYXRpb25zJD8udmFsdWUsXG4gICAgICAgICAgICAgIC8vICAgICAgICAgKHgpID0+IHg/LkJveElkID09PSBub2RlPy5pZCxcbiAgICAgICAgICAgICAgLy8gICAgICk7XG4gICAgICAgICAgICAgIC8vICAgICAvLyBub2RlLmRpc2NvdmVyaWVzID0gISFfLmdldChcbiAgICAgICAgICAgICAgLy8gICAgIC8vICAgICB0aGlzLl9SZWNvbW1lbmRhdGlvbnNTZXJ2aWNlLmFjdGl2ZURpc2NvdmVyaWVzJD8udmFsdWUsXG4gICAgICAgICAgICAgIC8vICAgICAvLyAgICAgYCR7RU5VTV9LUElfTUVUUklDLlRPUE9MT0dZfS0ke25vZGU/LmlkfS4wYCxcbiAgICAgICAgICAgICAgLy8gICAgIC8vICAgICBudWxsLFxuICAgICAgICAgICAgICAvLyAgICAgLy8gKTtcbiAgICAgICAgICAgICAgLy8gfVxuICAgICAgICAgIH0pO1xuICAgICAgfVxuICAgICAgLy8gc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICB0aGlzLmVkaXRvciA9IG5ldyBBdG9Hb2pzRWRpdG9yTW9kZWwoe1xuICAgICAgICAgIGNsYXNzOiAnZ28uR3JhcGhMaW5rc01vZGVsJyxcbiAgICAgICAgICBub2RlQ2F0ZWdvcnlQcm9wZXJ0eTogJ3R5cGUnLFxuICAgICAgICAgIC4uLnRoaXMuZGF0Y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