Shelf Name
Shelf Icon
@if (isAdmin) {
Public
}
Condition: @if (group.parent) { }
@for (ruleCtrl of group.get('rules')['controls']; let i = $index; track trackByFn(ruleCtrl, i)) {
@if (isGroup(ruleCtrl)) { } @else { @if (!['is_empty', 'is_not_empty'].includes(ruleCtrl.get('operator')?.value)) { @if (ruleCtrl.get('operator')?.value === 'in_between') { @if (ruleCtrl.get('field')?.value === 'publishedDate') { } @else if (ruleCtrl.get('field')?.value === 'dateFinished') { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'number') { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'decimal') { } @else { } } @else { @if (ruleCtrl.get('field')?.value === 'publishedDate') { } @else if (ruleCtrl.get('field')?.value === 'dateFinished') { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'number') { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'decimal') { } @else if (['includes_any', 'includes_all', 'excludes_all'].includes(ruleCtrl.get('operator')?.value)) { @if (ruleCtrl.get('field')?.value === 'readStatus') { } @else if (ruleCtrl.get('field')?.value === 'fileType') { } @else if (ruleCtrl.get('field')?.value === 'library') { } @else {
} } @else if (ruleCtrl.get('field')?.value === 'readStatus') { } @else if (ruleCtrl.get('field')?.value === 'fileType') { } @else if (ruleCtrl.get('field')?.value === 'library') { } @else { } } } }
}