From 843c46f598a407ead0554ccc3b17a4114779b536 Mon Sep 17 00:00:00 2001 From: assimbly Date: Fri, 11 Dec 2020 14:33:23 +0100 Subject: [PATCH] Fixes some bugs in edit all page --- .../flow/flow-edit-all.component.html | 404 ++--------- .../entities/flow/flow-edit-all.component.ts | 648 +++++++----------- 2 files changed, 284 insertions(+), 768 deletions(-) diff --git a/src/main/webapp/app/entities/flow/flow-edit-all.component.html b/src/main/webapp/app/entities/flow/flow-edit-all.component.html index d1e0be1c..bc2581f3 100644 --- a/src/main/webapp/app/entities/flow/flow-edit-all.component.html +++ b/src/main/webapp/app/entities/flow/flow-edit-all.component.html @@ -15,6 +15,7 @@

General

+
@@ -105,10 +106,7 @@

General

- +
@@ -130,14 +128,8 @@

General

- -
-
- -
-
- -
+ +
@@ -189,171 +181,25 @@ - - - - - From - - - - -
- -
- - -
- -
-
- - - - - - -
-
-
URI 
- -
-
- - : - - -
-
-
-
ComponentType is required. Please select one.
-
-
-
Context path is required.
-
-
- - -
- - -
{{item.displayName}}
- -
- Description: {{item.description}}

Group: {{item.group}}
DataType: {{item.type}}
DefaultValue: {{item.defaultValue}} -
-
-
-
- - - -
-
-
Option key is required.
-
-
-
-
-
Option value is required.
-
-
-
-
-
-
Header & Service
-
- - -
- - - - -
-
-
- - -
- - - - -
-
-
-
Service is required for this component
-
-
-
-
+ - - - To ({{toIndex+1}}) - + + + {{endpoint.endpointType}} -
+
- + -
+
- + + +
URI 
- - : - -
-
-
ComponentType is required. Please select one.
+
+
ComponentType is required. Please select one.
-
-
Context path is required.
+
+
Context path is required.
-
- +
+ -
{{item.displayName}}
- +
{{item.displayName}}
+
Description: {{item.description}}

Group: {{item.group}}
DataType: {{item.type}}
DefaultValue: {{item.defaultValue}}
- - - - + + +
-
-
Option key is required.
+
+
Option key is required.
-
-
Option value is required.
+
+
Option value is required.

-
Header & Service
+
Header
- -
- - - -
+
Header
- -
- - - -
-
-
Service is required for this component
+
+
Service is required for this component
-
- -
-
- - - - - - Error - - - -
- -
- - -
- -
-
- - - - - - -
-
-
URI 
- -
-
- - : - - -
-
-
-
Type is required. Please select one.
-
-
-
Context path is required.
-
-
- - -
- - - - -
{{item.displayName}}
- -
- Description: {{item.description}}

Group: {{item.group}}
DataType: {{item.type}}
DefaultValue: {{item.defaultValue}} -
-
-
-
- - - - -
-
-
Option key is required.
-
-
-
-
-
Option value is required.
-
-
-
-
-
-
Header & Service
-
- - -
- - - - -
-
-
- - -
- - - - -
-
-
-
Service is required for this component
-
-
+
diff --git a/src/main/webapp/app/entities/flow/flow-edit-all.component.ts b/src/main/webapp/app/entities/flow/flow-edit-all.component.ts index 358e4b3f..5c0b6f39 100644 --- a/src/main/webapp/app/entities/flow/flow-edit-all.component.ts +++ b/src/main/webapp/app/entities/flow/flow-edit-all.component.ts @@ -35,17 +35,14 @@ import * as moment from 'moment'; export class FlowEditAllComponent implements OnInit, OnDestroy { flow: IFlow; - endpoints: IEndpoint[] = new Array(); services: Service[]; headers: IHeader[]; - fromEndpoint: IEndpoint; - fromEndpointOptions: Array