## {{ editMode ? t('header.titleEdit') : t('header.titleCreate') }}

{{ t('header.description') }}

{{ t('form.shelfName') }}
{{ t('form.shelfIcon') }} @if (selectedIcon) {
{{ t('form.clickToChange') }}
} @else {
{{ t('form.selectIcon') }}
}
@if (isAdmin) {
{{ t('form.public') }}
}
@if (showImportPanel) {
}
{{ t('group.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 (['within_last', 'older_than'].includes(ruleCtrl.get('operator')?.value)) { } @else if (ruleCtrl.get('operator')?.value === 'this_period') { } @else if (ruleCtrl.get('operator')?.value === 'in_between') { @if (ruleCtrl.get('field')?.value === 'publishedDate') { } @else if (['dateFinished', 'addedOn', 'lastReadTime'].includes(ruleCtrl.get('field')?.value)) { } @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 (['dateFinished', 'addedOn', 'lastReadTime'].includes(ruleCtrl.get('field')?.value)) { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'boolean') { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'number') { } @else if (numericFieldConfigMap.get(ruleCtrl.get('field')?.value)?.type === 'decimal') { } @else if (ruleCtrl.get('field')?.value === 'seriesStatus') { } @else if (ruleCtrl.get('field')?.value === 'seriesGaps') { } @else if (ruleCtrl.get('field')?.value === 'seriesPosition') { } @else if (ruleCtrl.get('field')?.value === 'metadataPresence') { } @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 if (ruleCtrl.get('field')?.value === 'shelf') { } @else if (ruleCtrl.get('field')?.value === 'categories') { } @else if (ruleCtrl.get('field')?.value === 'contentRating') { } @else {
} } @else if (ruleCtrl.get('field')?.value === 'readStatus') { } @else if (ruleCtrl.get('field')?.value === 'fileType') { } @else if (ruleCtrl.get('field')?.value === 'library') { } @else if (ruleCtrl.get('field')?.value === 'shelf') { } @else if (ruleCtrl.get('field')?.value === 'categories') { } @else if (ruleCtrl.get('field')?.value === 'contentRating') { } @else { } } } }
}