@if (_isServer) { }
@for (item of items; track item; let index = $index) { @if (_isGroup(item)) {
close
add
@for (groupOperation of groupOperations; track groupOperation.id) { {{ groupOperation.name }} }
@if (item['value'].length > 0) { } } @else if (_isCondition(item)) {
close
@if (editItem && editItem === item) {
@switch (getFieldType(editItem)) { @case ('array') { @switch (editItem['value'][1]) { @case ('equals') { @for (option of getOptions(editItem); track option.id) { {{ option.name }} } } @case ('isAnyOf') { @for (option of getOptions(editItem); track option.id) { {{ option.name }} } } } } @case ('number') { @switch (editItem['value'][1]) { @case ('isBetween') {
} @default { } } } @default { } }
} @else { @if (item['value'][1] !== 'isBlank' && item['value'][1] !== 'isNotBlank') { @if (isValueNotEmpty(item)) { @if (getFieldType(item) === 'array') { @if (item['value'][1] === 'equals') { } @else { } } @else { @if (item['value'][1] === 'isBetween') { } @else { } } } @else { } } }
@for (fieldDef of fieldDefs; track fieldDef) { {{ fieldDef.name }} }
@for (operation of _operationDefs; track operation.id) {
@if (operation.operationIcon()) { }
}
} }
add
@for (groupOperation of groupOperations; track groupOperation.id) { {{ groupOperation.name }} }
Contains Does not contain Starts with Ends with Equals Not equals Is less then Is less then or equal to Is greater then Is greater then or equal to Is blank Is not blank Is between Is any of