projects/m2-core/src/lib/shared/ui-components/value/item-status-value.component.ts
| selector | [item-status-value] |
| template | |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| editModeON |
Type : boolean
|
| itemStatus |
| onStatusChangedFn |
Type : function
|
| class.cell-focused |
Type : boolean
|
| changeStatusIfNeeded | ||||||
changeStatusIfNeeded(newStatus: ItemStatus)
|
||||||
|
Parameters :
Returns :
void
|
| _itemStatus |
Type : ItemStatus
|
| getPropositionsFn |
Default value : (async () => ITEM_STATUS_PROPOSITIONS
.filter(s =>
s.data != null
&& s.data !== ItemStatus.Duplicate // 'Duplicate' status can't be set manually
)
)
|
| isValueFocused |
Type : boolean
|
Decorators :
@HostBinding('class.cell-focused')
|
| primitiveValueComponent |
Type : PrimitiveValueComponent
|
Decorators :
@ViewChild(PrimitiveValueComponent)
|
| statusIndicator |
Type : string
|
| statusStr |
Type : string
|
| itemStatus | ||||||
getitemStatus()
|
||||||
setitemStatus(value: ItemStatus)
|
||||||
|
Parameters :
Returns :
void
|