arlas-web-components / Exports / ResultDetailedItemComponent
Class: ResultDetailedItemComponent
Implements
OnInit
Table of contents
Constructors
Properties
- NUMBER_FORMAT_CHAR
- actionOnItemEvent
- activatedActionsPerItem
- containerType
- detailColspan
- detailedDataRetriever
- idFieldName
- rowItem
- showEmptyGroup
- translate
Methods
Constructors
constructor
• new ResultDetailedItemComponent(translate
)
Parameters
Name | Type |
---|---|
translate |
TranslateService |
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:81
Properties
NUMBER_FORMAT_CHAR
• NUMBER_FORMAT_CHAR: string
= NUMBER_FORMAT_CHAR
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:79
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-item/result-detailed-item.component.ts:64
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-item/result-detailed-item.component.ts:77
containerType
• containerType: string
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:46
detailColspan
• detailColspan: number
Input
Description
Number of columns in the parent table so that this component occupies the entire line.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:38
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-item/result-detailed-item.component.ts:72
idFieldName
• idFieldName: string
Input
Description
Name of the id field.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:43
rowItem
• rowItem: 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-item/result-detailed-item.component.ts:52
showEmptyGroup
• showEmptyGroup: boolean
= false
Input
Description
Whether display group with no detail.
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:58
translate
• translate: TranslateService
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:81
Methods
getAttachmentDescription
▸ getAttachmentDescription(attachment
): string
Parameters
Name | Type |
---|---|
attachment |
Attachment |
Returns
string
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:102
getAttachmentLabel
▸ getAttachmentLabel(attachment
, index
): string
Parameters
Name | Type |
---|---|
attachment |
Attachment |
index |
number |
Returns
string
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:94
getGroups
▸ getGroups(): { details
: { key
: string
; value
: string
}[] ; group
: string
}[]
Returns
{ details
: { key
: string
; value
: string
}[] ; group
: string
}[]
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:90
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:83
triggerActionOnItem
▸ triggerActionOnItem(action
): void
Parameters
Name | Type |
---|---|
action |
Action |
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-detailed-item/result-detailed-item.component.ts:86