|
|
|
@ -32,7 +32,8 @@ import { |
|
|
|
EntityKeyValueType, |
|
|
|
FilterPredicateValue, |
|
|
|
getDynamicSourcesForAllowUser, |
|
|
|
inheritModeForDynamicValueSourceType |
|
|
|
inheritModeForDynamicValueSourceType, |
|
|
|
StringOperation |
|
|
|
} from '@shared/models/query/query.models'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
@ -81,6 +82,15 @@ export class FilterPredicateValueComponent implements ControlValueAccessor, Vali |
|
|
|
return this.onlyUserDynamicSourceValue; |
|
|
|
} |
|
|
|
|
|
|
|
@Input() |
|
|
|
set operation(operation: StringOperation) { |
|
|
|
if (operation && (operation === StringOperation.IN || operation === StringOperation.NOT_IN)) { |
|
|
|
this.hintText = 'filter.default-coma-separated-values'; |
|
|
|
} else { |
|
|
|
this.hintText = 'filter.default-value'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Input() |
|
|
|
valueType: EntityKeyValueType; |
|
|
|
|
|
|
|
@ -98,6 +108,8 @@ export class FilterPredicateValueComponent implements ControlValueAccessor, Vali |
|
|
|
|
|
|
|
inheritMode = false; |
|
|
|
|
|
|
|
hintText = 'filter.default-value'; |
|
|
|
|
|
|
|
private propagateChange = null; |
|
|
|
private propagateChangePending = false; |
|
|
|
|
|
|
|
|