arlas-web-components > "components/results/result-list/result-list.component" > ResultListComponent

Class: ResultListComponent

Hierarchy

ResultListComponent

Implements

  • OnInit
  • DoCheck
  • OnChanges

Index

Constructors

Properties

Methods

Object literals


Constructors

constructor

new ResultListComponent(iterableRowsDiffer: IterableDiffers, iterableColumnsDiffer: IterableDiffers, el: ElementRef, colorService: ArlasColorService, translate: TranslateService): ResultListComponent

Defined in components/results/result-list/result-list.component.ts:449

Parameters:

Name Type
iterableRowsDiffer IterableDiffers
iterableColumnsDiffer IterableDiffers
el ElementRef
colorService ArlasColorService
translate TranslateService

Returns: ResultListComponent


Properties

CHECK_ALL

● CHECK_ALL: string = "Check all visible items"

Defined in components/results/result-list/result-list.component.ts:76


CHECK_INBETWEEN

● CHECK_INBETWEEN: string = "Check in between"

Defined in components/results/result-list/result-list.component.ts:72


COLUMN_ACTIONS_HEIGHT

● COLUMN_ACTIONS_HEIGHT: number = 50

Defined in components/results/result-list/result-list.component.ts:103


COLUMN_NAME_HEIGHT

● COLUMN_NAME_HEIGHT: number = 25

Defined in components/results/result-list/result-list.component.ts:104


CONTAIN_FIT

● CONTAIN_FIT: string = "Fit the whole thumbnail to the tile"

Defined in components/results/result-list/result-list.component.ts:95


FILTERS_HEIGHT

● FILTERS_HEIGHT: number = 50

Defined in components/results/result-list/result-list.component.ts:105


FILTER_ON

● FILTER_ON: string = "Filter on"

Defined in components/results/result-list/result-list.component.ts:68


GEOSORT_ACTION

● GEOSORT_ACTION: string = "Geo sort action"

Defined in components/results/result-list/result-list.component.ts:84


GEOSORT_BUTTON

● GEOSORT_BUTTON: string = "Geo-sort"

Defined in components/results/result-list/result-list.component.ts:102


GEO_DISTANCE

● GEO_DISTANCE: string = "geodistance"

Defined in components/results/result-list/result-list.component.ts:55


GLOBAL_ACTIONS

● GLOBAL_ACTIONS: string = "Global actions"

Defined in components/results/result-list/result-list.component.ts:80


GRID_MODE

● GRID_MODE: string = "Grid mode"

Defined in components/results/result-list/result-list.component.ts:88


HEIGHT_FIT

● HEIGHT_FIT: string = "Fit the thumbnail's height to the tile"

Defined in components/results/result-list/result-list.component.ts:97


LIST_MODE

● LIST_MODE: string = "List mode"

Defined in components/results/result-list/result-list.component.ts:92


ModeEnum

● ModeEnum: ModeEnum = ModeEnum

Defined in components/results/result-list/result-list.component.ts:427


PageEnum

● PageEnum: PageEnum = PageEnum

Defined in components/results/result-list/result-list.component.ts:429


SORT_ASCENDING

● SORT_ASCENDING: string = "click for ascending sort"

Defined in components/results/result-list/result-list.component.ts:64


SORT_DESCENDING

● SORT_DESCENDING: string = "click for descending sort"

Defined in components/results/result-list/result-list.component.ts:60


SortEnum

● SortEnum: SortEnum = SortEnum

Defined in components/results/result-list/result-list.component.ts:430


TAIL_HEIGHT

● TAIL_HEIGHT: number = 30

Defined in components/results/result-list/result-list.component.ts:106


ThumbnailFitEnum

● ThumbnailFitEnum: ThumbnailFitEnum = ThumbnailFitEnum

Defined in components/results/result-list/result-list.component.ts:428


WIDTH_FIT

● WIDTH_FIT: string = "Fit the thumbnail's width to the tile"

Defined in components/results/result-list/result-list.component.ts:96


actionOnItemEvent

● actionOnItemEvent: Subject<object> = new Subject<{ action: Action, elementidentifier: ElementIdentifier }>()

Defined in components/results/result-list/result-list.component.ts:374


allItemsChecked

● allItemsChecked: boolean = false

Defined in components/results/result-list/result-list.component.ts:439


borderStyle

● borderStyle: string = "solid"

Defined in components/results/result-list/result-list.component.ts:443


cellBackgroundStyle

● cellBackgroundStyle: CellBackgroundStyleEnum = CellBackgroundStyleEnum.filled

Defined in components/results/result-list/result-list.component.ts:291


changeResultMode

● changeResultMode: Subject<ModeEnum> = new Subject()

Defined in components/results/result-list/result-list.component.ts:399


clickOnTile

● clickOnTile: Subject<Item> = new Subject()

Defined in components/results/result-list/result-list.component.ts:393


colorsSaturationWeight

● colorsSaturationWeight: number = 1 / 2

Defined in components/results/result-list/result-list.component.ts:279


columnFilterChanged

● columnFilterChanged: Subject<Column> = new Subject()

Defined in components/results/result-list/result-list.component.ts:387


columns

● columns: Array<Column>

Defined in components/results/result-list/result-list.component.ts:417


consultedItemEvent

● consultedItemEvent: Subject<ElementIdentifier> = new Subject()

Defined in components/results/result-list/result-list.component.ts:347


currentSortedColumn

● currentSortedColumn: Column

Defined in components/results/result-list/result-list.component.ts:246


defautMode

● defautMode: ModeEnum

Defined in components/results/result-list/result-list.component.ts:224


detailedDataRetriever

● detailedDataRetriever: DetailedDataRetriever = null

Defined in components/results/result-list/result-list.component.ts:200


detailedGridHeight

● detailedGridHeight: number = 300

Defined in components/results/result-list/result-list.component.ts:181


displayFilters

● displayFilters: boolean = true

Defined in components/results/result-list/result-list.component.ts:235


displayListGrid

● displayListGrid: string = "inline"

Defined in components/results/result-list/result-list.component.ts:444


displayThead

● displayThead: boolean = true

Defined in components/results/result-list/result-list.component.ts:265


● dropDownMapValues: Map<string, Observable<Array<string>>>

Defined in components/results/result-list/result-list.component.ts:260


fieldsConfiguration

● fieldsConfiguration: FieldsConfiguration

Defined in components/results/result-list/result-list.component.ts:152


fieldsList

● fieldsList: Array<object>

Defined in components/results/result-list/result-list.component.ts:133


filtersMap

● filtersMap: Map<string, string | number | Date>

Defined in components/results/result-list/result-list.component.ts:253


geoAutoSortEvent

● geoAutoSortEvent: Subject<boolean> = new Subject()

Defined in components/results/result-list/result-list.component.ts:334


geoSortEvent

● geoSortEvent: Subject<string> = new Subject()

Defined in components/results/result-list/result-list.component.ts:328


globalActionEvent

● globalActionEvent: Subject<Action> = new Subject()

Defined in components/results/result-list/result-list.component.ts:381


globalActionsList

● globalActionsList: Action[] = new Array()

Defined in components/results/result-list/result-list.component.ts:193


hasGridMode

● hasGridMode: boolean = false

Defined in components/results/result-list/result-list.component.ts:437


highlightItems

● highlightItems: Set<string> = new Set()

Defined in components/results/result-list/result-list.component.ts:218


indeterminatedItems

● indeterminatedItems: Set<string> = new Set()

Defined in components/results/result-list/result-list.component.ts:206


isBodyHidden

● isBodyHidden: boolean

Defined in components/results/result-list/result-list.component.ts:230


isDetailledGridOpen

● isDetailledGridOpen: boolean = false

Defined in components/results/result-list/result-list.component.ts:306


isGeoSortActivated

● isGeoSortActivated: boolean = false

Defined in components/results/result-list/result-list.component.ts:243


isGeoSortEnabled

● isGeoSortEnabled: boolean = false

Defined in components/results/result-list/result-list.component.ts:241


isNextPageRequested

● isNextPageRequested: boolean = false

Defined in components/results/result-list/result-list.component.ts:435


isPreviousPageRequested

● isPreviousPageRequested: boolean = false

Defined in components/results/result-list/result-list.component.ts:436


isShiftDown

● isShiftDown: boolean = false

Defined in components/results/result-list/result-list.component.ts:445


items

● items: Array<Item> = new Array()

Defined in components/results/result-list/result-list.component.ts:418


keysToColors

● keysToColors: Array<[string, string]>

Defined in components/results/result-list/result-list.component.ts:271


lastSortedColumn

● lastSortedColumn: Column

Defined in components/results/result-list/result-list.component.ts:420


moreDataEvent

● moreDataEvent: Subject<number> = new Subject()

Defined in components/results/result-list/result-list.component.ts:360


nLastLines

● nLastLines: number = 5

Defined in components/results/result-list/result-list.component.ts:167


nbGridColumns

● nbGridColumns: number = 4

Defined in components/results/result-list/result-list.component.ts:187


nbLinesBeforeFetch

● nbLinesBeforeFetch: any

Defined in components/results/result-list/result-list.component.ts:175


onChangeItems

● onChangeItems: Subject<Array<any>> = new Subject>()

Defined in components/results/result-list/result-list.component.ts:411


options

● options: ResultListOptions

Defined in components/results/result-list/result-list.component.ts:121


paginationEvent

● paginationEvent: Subject<PageQuery> = new Subject()

Defined in components/results/result-list/result-list.component.ts:368


resultMode

● resultMode: ModeEnum

Defined in components/results/result-list/result-list.component.ts:438


rowItemList

● rowItemList: Array<Map<string, string | number | Date>>

Defined in components/results/result-list/result-list.component.ts:145


selectedGridItem

● selectedGridItem: Item

Defined in components/results/result-list/result-list.component.ts:296


selectedItems

● selectedItems: Set<string> = new Set()

Defined in components/results/result-list/result-list.component.ts:212


selectedItemsEvent

● selectedItemsEvent: Subject<Array<string>> = new Subject>()

Defined in components/results/result-list/result-list.component.ts:340


setFiltersEvent

● setFiltersEvent: Subject<Map<string, string | number | Date>> = new Subject>()

Defined in components/results/result-list/result-list.component.ts:353


showEmptyGroup

● showEmptyGroup: boolean = false

Defined in components/results/result-list/result-list.component.ts:301


sortColumnEvent

● sortColumnEvent: Subject<object> = new Subject<{ fieldName: string, sortDirection: SortEnum }>()

Defined in components/results/result-list/result-list.component.ts:321


tableWidth

● tableWidth: number = null

Defined in components/results/result-list/result-list.component.ts:159


tbodyHeight

● tbodyHeight: number = null

Defined in components/results/result-list/result-list.component.ts:424


theadHeight

● theadHeight: number = null

Defined in components/results/result-list/result-list.component.ts:425


thumbnailFit

● thumbnailFit: ThumbnailFitEnum = ThumbnailFitEnum.contain

Defined in components/results/result-list/result-list.component.ts:315


thumbnailFitEvent

● thumbnailFitEvent: Subject<ThumbnailFitEnum> = new Subject()

Defined in components/results/result-list/result-list.component.ts:414


translate

● translate: TranslateService

Defined in components/results/result-list/result-list.component.ts:453


useColorService

● useColorService: boolean = false

Defined in components/results/result-list/result-list.component.ts:285


visibleItems

● visibleItems: Subject<Array<Item>> = new Subject>()

Defined in components/results/result-list/result-list.component.ts:405


Methods

byFieldName

byFieldName(item1: Column, item2: Column): boolean

Defined in components/results/result-list/result-list.component.ts:892

Parameters:

Name Type
item1 Column
item2 Column

Returns: boolean


clearSelection

clearSelection(): void

Defined in components/results/result-list/result-list.component.ts:863

Returns: void


closeDetail

closeDetail(isClosed: boolean): void

Defined in components/results/result-list/result-list.component.ts:783

Parameters:

Name Type
isClosed boolean

Returns: void


columnChanged

columnChanged(colum: Column): void

Defined in components/results/result-list/result-list.component.ts:856

Parameters:

Name Type
colum Column

Returns: void


emitThumbnailsFitStatus

emitThumbnailsFitStatus(fitChange: MatButtonToggleChange): void

Defined in components/results/result-list/result-list.component.ts:493

Parameters:

Name Type
fitChange MatButtonToggleChange

Returns: void


emitVisibleItems

emitVisibleItems(items: Array<Item>): void

Defined in components/results/result-list/result-list.component.ts:614

Parameters:

Name Type
items Array<Item>

Returns: void


geoSort

geoSort(): void

Defined in components/results/result-list/result-list.component.ts:722

Returns: void


ngDoCheck

ngDoCheck(): void

Defined in components/results/result-list/result-list.component.ts:570

Returns: void


ngOnChanges

ngOnChanges(changes: SimpleChanges): void

Defined in components/results/result-list/result-list.component.ts:498

Parameters:

Name Type
changes SimpleChanges

Returns: void


ngOnInit

ngOnInit(): void

Defined in components/results/result-list/result-list.component.ts:478

Returns: void


onEnterItem

onEnterItem(item: Item): void

Defined in components/results/result-list/result-list.component.ts:750

Parameters:

Name Type Description
item Item hovered item

Returns: void


onLeaveItem

onLeaveItem(item: Item): void

Defined in components/results/result-list/result-list.component.ts:759

Parameters:

Name Type Description
item Item item previously hovered

Returns: void


paginate

paginate(itemData: Map<string, string | number | Date>, whichPage: PageEnum): void

Defined in components/results/result-list/result-list.component.ts:623

Parameters:

Name Type Description
itemData Map<string, string number
whichPage PageEnum : Whether to fetch the `next` or `previous` page

Returns: void


selectAllItems

selectAllItems(): void

Defined in components/results/result-list/result-list.component.ts:809

Returns: void


selectInBetween

selectInBetween(): void

Defined in components/results/result-list/result-list.component.ts:825

Returns: void


setBorderStyle

setBorderStyle(borderStyle: any): void

Defined in components/results/result-list/result-list.component.ts:766

Parameters:

Name Type
borderStyle any

Returns: void


setConsultedItem

setConsultedItem(identifier: string): void

Defined in components/results/result-list/result-list.component.ts:738

Parameters:

Name Type
identifier string

Returns: void


setDirection

setDirection(direction: string): void

Defined in components/results/result-list/result-list.component.ts:699

Parameters:

Name Type
direction string

Returns: void


setFilters

setFilters(filtersMap: Map<string, string | number | Date>): void

Defined in components/results/result-list/result-list.component.ts:656

Parameters:

Name Type
filtersMap Map<string, string

Returns: void


setGeoSortAction

setGeoSortAction(): void

Defined in components/results/result-list/result-list.component.ts:644

Returns: void


setGlobalAction

setGlobalAction(action: Action): void

Defined in components/results/result-list/result-list.component.ts:640

Parameters:

Name Type
action Action

Returns: void


setItemActions

setItemActions(item: Item): void

Defined in components/results/result-list/result-list.component.ts:875

Parameters:

Name Type Description
item Item

Returns: void


setSelectedGridItem

setSelectedGridItem(item: Item): void

Defined in components/results/result-list/result-list.component.ts:773

Parameters:

Name Type
item Item

Returns: void


setSelectedItems

setSelectedItems(selectedItems: Set<string>, stopPropagation?: boolean): void

Defined in components/results/result-list/result-list.component.ts:664

Parameters:

Name Type
selectedItems Set<string>
Optional stopPropagation boolean

Returns: void


setSortedColumn

setSortedColumn(event: MatSelectChange): void

Defined in components/results/result-list/result-list.component.ts:706

Parameters:

Name Type
event MatSelectChange

Returns: void


shiftDown

shiftDown(_: any): void

Defined in components/results/result-list/result-list.component.ts:469

Parameters:

Name Type
_ any

Returns: void


shiftUp

shiftUp(event: KeyboardEvent): void

Defined in components/results/result-list/result-list.component.ts:474

Parameters:

Name Type
event KeyboardEvent

Returns: void


sort

sort(paramSortedColumn: Column): void

Defined in components/results/result-list/result-list.component.ts:684

Parameters:

Name Type
paramSortedColumn Column

Returns: void


triggerActionOnItem

triggerActionOnItem(actionOnItem: object): void

Defined in components/results/result-list/result-list.component.ts:633

Parameters:

actionOnItem: object

Name Type
action Action
elementidentifier ElementIdentifier

Returns: void


whichMode

whichMode(toggleChangeEvent: MatButtonToggleChange): void

Defined in components/results/result-list/result-list.component.ts:794

Parameters:

Name Type
toggleChangeEvent MatButtonToggleChange

Returns: void


Object literals

fetchState

fetchState: object

Defined in components/results/result-list/result-list.component.ts:123

endListDown

● endListDown: boolean = false

Defined in components/results/result-list/result-list.component.ts:123


endListUp

● endListUp: boolean = true

Defined in components/results/result-list/result-list.component.ts:123



loadAnimationConfig

loadAnimationConfig: object

Defined in components/results/result-list/result-list.component.ts:110

animationType

● animationType: string = ANIMATION_TYPES.threeBounce

Defined in components/results/result-list/result-list.component.ts:111


backdropBackgroundColour

● backdropBackgroundColour: string = "rgba(100,100,100,0.5)"

Defined in components/results/result-list/result-list.component.ts:111


backdropBorderRadius

● backdropBorderRadius: string = "0"

Defined in components/results/result-list/result-list.component.ts:112


primaryColour

● primaryColour: string = "#ffffff"

Defined in components/results/result-list/result-list.component.ts:112


secondaryColour

● secondaryColour: string = "#ffffff"

Defined in components/results/result-list/result-list.component.ts:112


tertiaryColour

● tertiaryColour: string = "#ffffff"

Defined in components/results/result-list/result-list.component.ts:112



scrollOptions

scrollOptions: object

Defined in components/results/result-list/result-list.component.ts:115

maintainScrollDownPosition

● maintainScrollDownPosition: boolean = true

Defined in components/results/result-list/result-list.component.ts:115


maintainScrollUpPosition

● maintainScrollUpPosition: boolean = true

Defined in components/results/result-list/result-list.component.ts:115


nbLines

● nbLines: number = 0

Defined in components/results/result-list/result-list.component.ts:115



sortedColumn

sortedColumn: object

Defined in components/results/result-list/result-list.component.ts:419

fieldName

● fieldName: string = ""

Defined in components/results/result-list/result-list.component.ts:419


sortDirection

● sortDirection: asc = SortEnum.asc

Defined in components/results/result-list/result-list.component.ts:419