arlas-wui-toolkit / Exports / SearchDialogComponent
Class: SearchDialogComponent
Table of contents
Constructors
Properties
- data
- dialogRef
- filteredSearch
- onLastBackSpace
- searchContributor
- searchCtrl
- searchPlaceholder
- searching
- translate
Methods
Constructors
constructor
• new SearchDialogComponent(dialogRef
, data
, collaborativeService
, translate
)
Parameters
Name | Type |
---|---|
dialogRef |
MatDialogRef <SearchDialogComponent , any > |
data |
Object |
data.searchContributor |
ChipsSearchContributor |
data.value |
string |
collaborativeService |
ArlasCollaborativesearchService |
translate |
TranslateService |
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:187
Properties
data
• data: Object
Type declaration
Name | Type |
---|---|
searchContributor |
ChipsSearchContributor |
value |
string |
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:189
dialogRef
• dialogRef: MatDialogRef
<SearchDialogComponent
, any
>
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:188
filteredSearch
• filteredSearch: Observable
<any
[]>
Description
List of results displayed in the autocomplete
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:173
onLastBackSpace
• onLastBackSpace: Subject
<boolean
>
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:163
searchContributor
• searchContributor: ChipsSearchContributor
Description
Search contributor
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:161
searchCtrl
• searchCtrl: UntypedFormControl
Description
Form for the search
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:168
searchPlaceholder
• searchPlaceholder: string
Description
Placeholder value as retrieved from the search contributor
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:180
searching
• searching: boolean
= false
Description
Indicates whether a search request has been launched
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:185
translate
• translate: TranslateService
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:191
Methods
clearSearch
▸ clearSearch(): void
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:277
clickItemSearch
▸ clickItemSearch(event
): void
Parameters
Name | Type |
---|---|
event |
string |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:273
filterSearch
▸ filterSearch(search
): Observable
<AggregationResponse
>
Parameters
Name | Type |
---|---|
search |
string |
Returns
Observable
<AggregationResponse
>
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:239
onKeyUp
▸ onKeyUp(event
): void
Parameters
Name | Type |
---|---|
event |
KeyboardEvent |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/search/search.component.ts:264