Skip to content

arlas-wui-toolkit / Exports / SearchDialogComponent

Class: SearchDialogComponent

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SearchDialogComponent(arlasColorService, collaborativeService, dialogRef, data, translate)

Parameters

Name Type
arlasColorService ArlasColorService
collaborativeService ArlasCollaborativesearchService
dialogRef MatDialogRef<SearchDialogComponent, any>
data Object
data.collections { checked: boolean ; color: string ; label: string }[]
data.collectionsState Map<string, boolean>
data.displayCollectionSettings boolean
data.searchContributors SearchContributor[]
data.value string
translate TranslateService

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:253

Properties

collections

collections: { checked: boolean ; color: string ; label: string }[]

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:251


collectionsState

collectionsState: Map<string, boolean>

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:250


data

data: Object

Type declaration

Name Type
collections { checked: boolean ; color: string ; label: string }[]
collectionsState Map<string, boolean>
displayCollectionSettings boolean
searchContributors SearchContributor[]
value string

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:257


dialogRef

dialogRef: MatDialogRef<SearchDialogComponent, any>

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:256


displayCollectionSettings

displayCollectionSettings: boolean = false

Description

Indicates whether display the collections settings button

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:248


filteredSearch

filteredSearch: Observable<any[]>

Description

List of results displayed in the autocomplete

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:231


onLastBackSpace

onLastBackSpace: Subject<boolean>

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:221


searchContributors

searchContributors: SearchContributor[]

Description

Search contributor

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:219


searchCtrl

searchCtrl: UntypedFormControl

Description

Form for the search

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:226


searchPlaceholder

searchPlaceholder: string

Description

Placeholder value as retrieved from the search contributor

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:238


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:243


translate

translate: TranslateService

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:264


updateAutoCompleteResult

updateAutoCompleteResult: Subject<void>

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:252

Methods

clearSearch

clearSearch(): void

Returns

void

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:338


clickItemSearch

clickItemSearch(keyAsString): void

Parameters

Name Type
keyAsString string

Returns

void

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:330


onChangeCollection

onChangeCollection(event): void

Parameters

Name Type
event any

Returns

void

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:341


onKeyUp

onKeyUp(event): void

Parameters

Name Type
event KeyboardEvent

Returns

void

Defined in

projects/arlas-toolkit/src/lib/components/search/search.component.ts:316