feat(core): changes condition script for passed by and coming in clauses#93
feat(core): changes condition script for passed by and coming in clauses#93VipulSha99 wants to merge 3 commits intomasterfrom
Conversation
139a718 to
92fbdf8
Compare
|
better description |
|
|
||
| @Output() | ||
| eventRemoved = new EventEmitter<unknown>(); | ||
| nodeRemoved = new EventEmitter<unknown>(); |
| if (nodeWithInput.node.state.get('email')) { | ||
| (value as AllowedValuesMap).body = ( | ||
| (value as AllowedValuesMap).body as string | ||
| ).replace(/\\"/g, '"'); |
There was a problem hiding this comment.
'"' added by end user in value part of xml need to be esaped becasue it breaks the xml
| display: inline-block; | ||
| overflow: hidden; | ||
| max-width: 45%; | ||
| max-width: 15rem; |
There was a problem hiding this comment.
why a hard coded width? and why can't you override this in the target project
| [disabled]="!emailInput.subject || !emailInput.body" | ||
| > | ||
| {{ localizedStringKeys.SetLbl | localization }} | ||
| {{ setLbl }} |
| */ | ||
| element.node.elements.splice(-NUMBER.TWO, NUMBER.TWO); | ||
| // element.inputs[1].prefix = ''; | ||
| //this.enableActionIcon = false; |
| formatter: <S extends RecordOfAnyType>(state: State<S>) => { | ||
| if (typeof state.get('value') === 'object') { | ||
| return `'${JSON.stringify(state.get('value'))}'`; | ||
| switch (state.get('valueInputType')) { |
There was a problem hiding this comment.
looks like project specific implementation
| } | ||
|
|
||
| private intervalBodyPrepare(state: State<RecordOfAnyType>) { | ||
| if ( |
There was a problem hiding this comment.
move this out to a separate parser service or utility
| const tmp = params[key]; | ||
| if (isFormattedParam(tmp)) { | ||
| return `${p}\njson.prop("${key}", ${tmp.formatter(state)});`; | ||
| return `${p}\njson["${key}"] = ${tmp.formatter(state)};`; |
There was a problem hiding this comment.
Undo this, should not return stringified json from for object type variable
| import {InputTypes} from '../../../enum'; | ||
| import {RecordOfAnyType} from '../../../types'; | ||
|
|
||
| export class CriteriaInput extends WorkflowPrompt { |
There was a problem hiding this comment.
looks project specific?
There was a problem hiding this comment.
I have now updated the name to ListOptionInput. It is intended to support various types of lists, allowing users to create customized lists that can include options nested within other options.
| import {InputTypes} from '../../../enum'; | ||
| import {RecordOfAnyType} from '../../../types'; | ||
|
|
||
| export class StepperInput extends WorkflowPrompt { |
There was a problem hiding this comment.
what is a stepper input? explain

Description
changes condition script for passed by and coming in clauses
Fixes # (PRJ-7375)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: