src/app/issue-list/issue-filter.component.ts
Edits an IssueFilter object.
selector | app-issue-filter |
styleUrls | ./issue-filter.component.scss |
templateUrl | ./issue-filter.component.html |
Properties |
Methods |
Inputs |
Outputs |
allLabelsList | |
Type : ListId
|
|
The list from which to source labels in the label picker. |
projectId | |
Type : string
|
|
Raw project ID. |
filterChange | |
Type : EventEmitter
|
|
Emitted every time the filter is changed. |
addPredicateAfter | ||||||||
addPredicateAfter(index: number)
|
||||||||
Adds a new predicate after the given index in activePredicates.
Parameters :
Returns :
void
|
applyIdChangeset | ||||||||
applyIdChangeset(id: string)
|
||||||||
Returns a function that can be passed to an app-set-editor to apply the changeset to the value of the id predicate.
Parameters :
Returns :
Promise<void>
|
buildFilter |
buildFilter()
|
Builds an IssueFilter from the search query and selected filters.
Returns :
IssueFilter
|
getRemainingTypes | ||||||||
getRemainingTypes(index: number)
|
||||||||
Returns all types of predicates that were not taken in previous items.
Parameters :
Returns :
string[]
|
removePredicateAt | ||||||||
removePredicateAt(index: number)
|
||||||||
Removes the predicate at the given index in activePredicates.
Parameters :
Returns :
void
|
setInEnumArray | ||||||||||||
setInEnumArray(array, item, inArray)
|
||||||||||||
Sets the presence of a value in an array of enum variants.
Parameters :
Returns :
void
|
setPredicateType | ||||||||||||
setPredicateType(index: number, type: string)
|
||||||||||||
Sets the type of the predicate at index in activePredicates.
Parameters :
Returns :
void
|
update |
update()
|
Emits a change event.
Returns :
void
|
activePredicates |
Type : string[]
|
Default value : []
|
The names of currently active predicates. |
predicateCount |
Default value : Object.keys(PREDICATES).length
|
predicates |
Default value : PREDICATES
|
predicateValues |
Type : literal type
|
Default value : {}
|
The values of currently active predicates. |
searchQuery |
Type : string
|
Default value : ''
|
Current search query. |
./issue-filter.component.scss