@if (useDropdown) {
} @else { }
@for (element of 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 if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.DocumentLink) { } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Monetary) { } @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 { } }
Any All @if (expression.negatable) { Not }
@for (element of expression.value; track element.id; let i = $index) {
@switch (element.type) { @case (CustomFieldQueryComponentType.Atom) { } @case (CustomFieldQueryComponentType.Expression) { } }
}
@if (expression.depth > 0) {
}