diff --git a/src/app/components/workflow-diagram/workflow-diagram.component.html b/src/app/components/workflow-diagram/workflow-diagram.component.html index 2b39273..1da0bed 100644 --- a/src/app/components/workflow-diagram/workflow-diagram.component.html +++ b/src/app/components/workflow-diagram/workflow-diagram.component.html @@ -7,9 +7,9 @@ - +
@@ -32,102 +32,128 @@ - @switch (data.addInfo.chatWorkflowBlockId){ + @switch (data.addInfo[0].chatWorkflowBlockId){ @case(chatWorkflowBlockTypeEnum.GetPickerInput){ - @switch (data.addInfo.chatWorkflowEditorTypeId){ + @switch (data.addInfo[0].chatWorkflowEditorTypeId){ @case (chatWorkflowEditorTypeEnum.Boolean){ -
+
} @case (chatWorkflowEditorTypeEnum.Buttons){ -
-
+
+
} @case (chatWorkflowEditorTypeEnum.DropDown){ -
- +
+
} @case(chatWorkflowEditorTypeEnum.MultiSelect){ -
- +
+
} @case(chatWorkflowEditorTypeEnum.List){ -
-
+
} } } @case(chatWorkflowBlockTypeEnum.GetTextInput){ - @switch (data.addInfo.chatWorkflowEditorTypeId){ + @switch (data.addInfo[0].chatWorkflowEditorTypeId){ @case(chatWorkflowEditorTypeEnum.Text){ -
- +
+
} @case(chatWorkflowEditorTypeEnum.TextArea){ -
- +
+
} @case(chatWorkflowEditorTypeEnum.Date){ -
- +
+
} @case(chatWorkflowEditorTypeEnum.DateTime){ -
- +
} @case(chatWorkflowEditorTypeEnum.Number){ -
- +
} @case(chatWorkflowEditorTypeEnum.Decimal){ -
- +
} @case(chatWorkflowEditorTypeEnum.Regex){ -
- +
+
} } } + @case(chatWorkflowBlockTypeEnum.SendTextMessage){ + +
+
+ } + @case(chatWorkflowBlockTypeEnum.GetCustomerDetails){ + + +
+ @switch (info.chatWorkflowEditorTypeId){ + @case(chatWorkflowEditorTypeEnum.Email){ + + + } + @case(chatWorkflowEditorTypeEnum.PhoneNumber){ + + + } + @case(chatWorkflowEditorTypeEnum.Name){ + + + } + } +
+
+ } }
@@ -145,380 +171,485 @@
{{sidebarHeader}}
- @switch(nodeEditType){ - @case(chatWorkflowEditorTypeEnum.Boolean){ -
- - + @switch(nodeBlockType){ + @case(chatWorkflowBlockTypeEnum.GetPickerInput){ + @switch(nodeEditType){ + @case(chatWorkflowEditorTypeEnum.Boolean){
+ + +
+
-
- } - @case(chatWorkflowEditorTypeEnum.Buttons){ -
- - -
+ } + @case(chatWorkflowEditorTypeEnum.Buttons){ +
+ + +
- - + +
-
- -
+
+ +
- +
- +
- +
+
-
- } - @case(chatWorkflowEditorTypeEnum.DropDown){ -
-