feat: Add SwitchOperatorOptions to Select of Switch #1739 (#2033)

### What problem does this PR solve?

feat: Add SwitchOperatorOptions to Select of Switch #1739
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-21 15:01:11 +08:00
committed by GitHub
parent 17ada637db
commit 85247e6837
7 changed files with 110 additions and 10 deletions

View File

@ -2635,3 +2635,20 @@ export const ExeSQLOptions = ['mysql', 'postgresql', 'mariadb'].map((x) => ({
}));
export const SwitchElseTo = 'end_cpn_id';
export const SwitchOperatorOptions = [
{ value: '=', label: 'equal' },
{ value: '≠', label: 'notEqual' },
{ value: '>', label: 'gt' },
{ value: '≥', label: 'ge' },
{ value: '<', label: 'lt' },
{ value: '≤', label: 'le' },
{ value: 'contains', label: 'contains' },
{ value: 'not contains', label: 'notContains' },
{ value: 'start with', label: 'startWith' },
{ value: 'end with', label: 'endWith' },
{ value: 'empty', label: 'empty' },
{ value: 'not empty', label: 'notEmpty' },
];
export const SwitchLogicOperatorOptions = ['and', 'or'];