UNPKG

@knora/search

Version:
29 lines (28 loc) 1.08 kB
import { OnChanges } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { Constants } from '@knora/api'; import { ComparisonOperator, ComparisonOperatorAndValue, Property, PropertyValue } from '@knora/core'; export declare class SpecifyPropertyValueComponent implements OnChanges { private fb; Constants: typeof Constants; formGroup: FormGroup; propertyValueComponent: PropertyValue; property: Property; private _property; form: FormGroup; comparisonOperators: Array<ComparisonOperator>; comparisonOperatorSelected: ComparisonOperator; propertyValueType: any; constructor(fb: FormBuilder); /** * Resets the comparison operators for this._property. */ resetComparisonOperators(): void; ngOnChanges(): void; /** * Gets the specified comparison operator and value for the property. * * returns {ComparisonOperatorAndValue} the comparison operator and the specified value */ getComparisonOperatorAndValueLiteralForProperty(): ComparisonOperatorAndValue; }