@for (element of selectionModel.queries; track element.id; let i = $index) {
@switch (element.type) { @case (CustomFieldQueryComponentType.Atom) { } @case (CustomFieldQueryComponentType.Expression) { } }
}
@if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Date) { } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Float || getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Integer) { } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Boolean) { } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Select) { } @else { }
@switch (atom.operator) { @case (CustomFieldQueryOperator.Exists) { } @case (CustomFieldQueryOperator.IsNull) { } @case (CustomFieldQueryOperator.GreaterThanOrEqual) { } @case (CustomFieldQueryOperator.LessThanOrEqual) { } @case (CustomFieldQueryOperator.GreaterThan) { } @case (CustomFieldQueryOperator.LessThan) { } @case (CustomFieldQueryOperator.Contains) { } @case (CustomFieldQueryOperator.In) { } @case (CustomFieldQueryOperator.Exact) { } @default { } }
@if (expression.negatable) { }
@for (element of expression.value; track element.id; let i = $index) {
@switch (element.type) { @case (CustomFieldQueryComponentType.Atom) { } @case (CustomFieldQueryComponentType.Expression) { } }
}
@if (expression.depth > 0) { }