File

src/lib/shared/interfaces/filter-search-sort.interface.ts

Description

IFilterSortSearch is used to define what kind of filters, sort and searched text are used in the inbox.

Example :
import { IFilterSortSearch } from '@talenra/inbox';

filterSortSearch: IFilterSortSearch = { searchText: 'searched text', sortAttributes: [{identifier: 'caseId', sort: 'asc'}], filterAttributes: [{ identifier: 'animal.mammal', value: [{ key: 'landAnimalMonkey', label: 'Monkey' }, { key: 'waterAnimalWhale', label: 'Whale' }] }, { identifier: 'animal.mammal', value: { start: 'AR', end: 'JAB' } }], iconAttributes: [{ icon: "error", identifier: "icon_error_insuree.partnerFlags" }], };

Index

Properties

Properties

filterAttributes
filterAttributes: IQueryBuilderQuery
Type : IQueryBuilderQuery

FilterAttributes is used to define which attributes are used to filter the items in the inbox.

iconAttributes
iconAttributes: IIconFiltersInput[]
Type : IIconFiltersInput[]

IconAttributes is used to define which icon filters are active in the inbox.

numberMainAttributesChosenByUser
numberMainAttributesChosenByUser: number
Type : number

Number of main attributes chosen by user.

searchText
searchText: string
Type : string

Searched text in the search bar.

selectedDetailAttributes
selectedDetailAttributes: string[]
Type : string[]

The selected detail attributes identifiers.

selectedMainAttributes
selectedMainAttributes: string[]
Type : string[]

The selected main attributes identifiers.

simpleFilterAttributes
simpleFilterAttributes: IFilterAttribute[]
Type : IFilterAttribute[]
Optional

SimpleFilterAttributes is used to define which attributes are used to filter the items in the inbox. #Important: only temporary, will be removed after rc phase

sortAttributes
sortAttributes: ISortAttributesInput[]
Type : ISortAttributesInput[]

SortAttributes is used to define which attributes are used to sort the items in the inbox.

results matching ""

    No results matching ""