projects/m2-core/src/lib/shared/ui-components/value/value-state/value-state.component.ts
| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | value-state |
| styles |
.modal-container {
width: 20em;
}
.state-icon-wrapper {
position: absolute;
top: 0;
left: 0;
}
:host-context(.cell-tools) .state-icon-wrapper {
position: static;
display: inline-block;
padding-right: .2em;
}
.state-icon {
margin-left: 10px;
font-size: 1.1em;
}
:host-context(.card-row) .state-icon {
line-height: 36px;
}
:host-context(.cell-tools) .state-icon {
margin: 0 1px 0 5px;
}
.state-icon.attention-msg:before {
content: "\f05a";
}
|
| template | |
Properties |
Methods |
Inputs |
Accessors |
constructor(cd: ChangeDetectorRef, dataReadService: DataReadService)
|
|||||||||
|
Parameters :
|
| checkIncompliantConstraints |
Type : boolean
|
| maskValidation |
Type : MaskValidation
|
| ownerItemId |
Type : number
|
| propertyId |
Type : number
|
| restrictiveConditions |
Type : string[]
|
| statusInCompliance |
| getConstraintQueryParams | ||||||
getConstraintQueryParams(constraint: Constraint)
|
||||||
|
Parameters :
Returns :
Params
|
| onIconEnter | ||||||
onIconEnter(event: MouseEvent)
|
||||||
|
Overlay triggers
Parameters :
Returns :
void
|
| onIconOrPanelLeave |
onIconOrPanelLeave()
|
|
Returns :
void
|
| onPanelEnter |
onPanelEnter()
|
|
Returns :
void
|
| _statusInCompliance |
Type : StatusInCompliance
|
| constraintRouterLink |
Default value : CONSTANTS.CONSTRAINTS_EDITOR_ROUTER_LINK
|
| cssClass |
Type : string
|
Default value : ''
|
| Optional incompliantConstraints |
Type : Constraint[]
|
| Optional itemParentNodeId |
Type : number
|
| overlayPanelComponent |
Type : OverlayPanel
|
Decorators :
@ViewChild(OverlayPanel)
|
| statusInCompliance | ||||||
setstatusInCompliance(value: StatusInCompliance)
|
||||||
|
Parameters :
Returns :
void
|