Skip to content

arlas-web-components / Exports / ResultFilterComponent

Class: ResultFilterComponent

Implements

  • OnInit
  • OnChanges

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ResultFilterComponent()

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:68

Properties

column

column: Column

Input

Description

The column to which the filter is applied.

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:37


columnChanged

columnChanged: Subject<Column>

Output

Description

Emits the column on change to notify the main component.

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:64


dropdownValues: string[]

Input

Description

The values of dropdown list.

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:53


filtersMap

filtersMap: Map<string, ItemDataType>

Input

Description

A map of columns to filter : key = column (or field) name & value = field value. This components sets directly this map.

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:43


inputValue

inputValue: string

Input

Description

The filter value.

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:48


selected

selected: any[]

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:66


setFiltersEvent

setFiltersEvent: Subject<Map<string, ItemDataType>>

Output

Description

Emits the map of filtered columns and the filters values (fieldName-fieldValue map).

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:58

Methods

ngOnChanges

ngOnChanges(changes): void

Parameters

Name Type
changes SimpleChanges

Returns

void

Implementation of

OnChanges.ngOnChanges

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:72


ngOnInit

ngOnInit(): void

Returns

void

Implementation of

OnInit.ngOnInit

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:70


selectionChange

selectionChange(event): void

Parameters

Name Type
event MatSelectChange

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:112


setFilter

setFilter(): void

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:98


setFilterOnKeyEnter

setFilterOnKeyEnter(event): void

Parameters

Name Type
event any

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-filter/result-filter.component.ts:91