arlas-web-components / Exports / ResultDetailedGridComponent
Class: ResultDetailedGridComponent
Implements
OnChanges
OnDestroy
Table of contents
Constructors
Properties
- CLOSE_DETAILS
- SHOW_DETAILS
- SHOW_IMAGE
- VIEW_IMAGE
- actionOnItemEvent
- activatedActionsPerItem
- closeDetail
- currentImageIndex
- detailHeight
- detailWidth
- detailedDataRetriever
- gridTile
- idFieldName
- imageViewer
- imgSrc
- isDetailShowed
- isDetailedDataShowed
- isFullScreen
- isLoading
- showEmptyGroup
- useHttp
Methods
- closeDetailedData
- destroyViewer
- ngOnChanges
- ngOnDestroy
- onNext
- onPrevious
- showHideDetailedData
- showOverlay
- triggerActionOnItem
Constructors
constructor
• new ResultDetailedGridComponent(changeDetectorRef
, http
)
Parameters
Name | Type |
---|---|
changeDetectorRef |
ChangeDetectorRef |
http |
HttpClient |
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:145
Properties
CLOSE_DETAILS
• CLOSE_DETAILS: "Close details"
Constant
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:53
SHOW_DETAILS
• SHOW_DETAILS: "Show details"
Constant
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:41
SHOW_IMAGE
• SHOW_IMAGE: "Show image"
Constant
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:49
VIEW_IMAGE
• VIEW_IMAGE: "View in full screen"
Constant
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:45
actionOnItemEvent
• actionOnItemEvent: Subject
<{ action
: Action
; elementidentifier
: ElementIdentifier
}>
Output
Description
Emits the event of applying the specified action on the specified item.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:110
activatedActionsPerItem
• activatedActionsPerItem: Map
<string
, Set
<string
>>
Input
: Angular
Description
List of active actions per item.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:97
closeDetail
• closeDetail: Subject
<boolean
>
Output
Description
Emits the event of closing details.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:116
currentImageIndex
• currentImageIndex: number
= 0
Description
In the case of multiple images, indicates which one is selected
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:136
detailHeight
• detailHeight: number
Input
Description
Height of the detailed grid.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:70
detailWidth
• detailWidth: number
Input
Description
Width of the detailed grid.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:65
detailedDataRetriever
• detailedDataRetriever: DetailedDataRetriever
Input
Description
A detailed-data-retriever object that implements DetailedDataRetriever interface.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:104
gridTile
• gridTile: Item
Input
Description
An object representing an Item and that contains the detailed data.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:60
idFieldName
• idFieldName: string
Input
Description
Name of the id field.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:75
imageViewer
• imageViewer: ElementRef
<any
>
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:118
imgSrc
• imgSrc: string
| ArrayBuffer
Description
The image source to display. Either is an url or the content of the image.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:126
isDetailShowed
• isDetailShowed: boolean
Input
Description
Whether the detail is visible.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:80
isDetailedDataShowed
• isDetailedDataShowed: boolean
= false
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:121
isFullScreen
• isFullScreen: boolean
= false
Description
Whether the viewer is in full screen mode
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:141
isLoading
• isLoading: boolean
= false
Description
Whether the request for the image is being processed
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:131
showEmptyGroup
• showEmptyGroup: boolean
= false
Input
Description
Whether display group with no detail.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:85
useHttp
• useHttp: boolean
= false
Input
: Angular
Description
Whether to use a http request to query detailed image instead of relying on img tag internal mechanism.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:91
Methods
closeDetailedData
▸ closeDetailedData(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:233
destroyViewer
▸ destroyViewer(isComponentDestroy?
): void
Parameters
Name | Type |
---|---|
isComponentDestroy? |
boolean |
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:213
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-detailed-grid/result-detailed-grid.component.ts:154
ngOnDestroy
▸ ngOnDestroy(): void
Returns
void
Implementation of
OnDestroy.ngOnDestroy
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:150
onNext
▸ onNext(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:282
onPrevious
▸ onPrevious(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:274
showHideDetailedData
▸ showHideDetailedData(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:227
showOverlay
▸ showOverlay(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:243
triggerActionOnItem
▸ triggerActionOnItem(actionOnItem
): void
Parameters
Name | Type |
---|---|
actionOnItem |
Object |
actionOnItem.action |
Action |
actionOnItem.elementidentifier |
ElementIdentifier |
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-grid/result-detailed-grid.component.ts:239