File

core/data-grid/filter-chip/filter-mapper.service.ts

Index

Methods

Constructor

constructor(alert: AlertService, jsonschema: C8yJSONSchema, filterMapperFactory: FilterMapperFactory)
Parameters :
Name Type Optional
alert AlertService No
jsonschema C8yJSONSchema No
filterMapperFactory FilterMapperFactory No

Methods

getChipFromFactory
getChipFromFactory(resultChips: FilterChip[], field: FormlyFieldConfig, filterChip: FilterChip)
Parameters :
Name Type Optional
resultChips FilterChip[] No
field FormlyFieldConfig No
filterChip FilterChip No
Returns : Observable<FilterChip[]>
getMappedFilterValues
getMappedFilterValues(filter: FilterChip)
Parameters :
Name Type Optional
filter FilterChip No
Returns : Observable<FilterChip[]>
mapFieldsToFilter
mapFieldsToFilter(filterChip: FilterChip, formlyFields: FormlyFieldConfig[], path: string[], result: Observable)
Parameters :
Name Type Optional Default value
filterChip FilterChip No
formlyFields FormlyFieldConfig[] No
path string[] No []
result Observable<FilterChip[]> No of([])
Returns : Observable<FilterChip[]>
processField
processField(filterChip: FilterChip, field: FormlyFieldConfig, path: string[], resultChips: FilterChip[])
Parameters :
Name Type Optional
filterChip FilterChip No
field FormlyFieldConfig No
path string[] No
resultChips FilterChip[] No
Returns : Observable<FilterChip[]>
removeChip
removeChip(chip)
Parameters :
Name Optional
chip No

results matching ""

    No results matching ""