projects/m2-core/src/lib/shared/ui-components/value/constraint-cell-value/constraint-cell-value.component.ts
| selector | constraint-cell-value |
| templateUrl | ./constraint-cell-value.component.html |
Properties |
Methods |
Inputs |
Outputs |
Accessors |
constructor(constraintCellsService: ConstraintCellsService, constraintTableService: ConstraintTableService, propositionsService: PropositionsService, doubleParserService: DoubleParserService, tabService: TabService, actionsService: ActionsService)
|
|||||||||||||||||||||
|
Parameters :
|
| broadcastChanges |
Type : boolean
|
Default value : true
|
| cell |
| constraintTableId |
Type : number
|
| doublePrecision |
Type : any
|
Default value : APP_SETTINGS.DEFAULT_DOUBLE_PRECISION
|
| editModeON |
Type : boolean
|
| inputMask |
Type : string
|
| rowId |
Type : number
|
| showPropositionsOnInput |
Type : boolean
|
| unit |
Type : MeasurementUnit
|
| updateCellFn |
Type : function
|
Default value : (request => this.constraintTableService.updateCell(request))
|
| created |
Type : EventEmitter
|
| deleted |
Type : EventEmitter
|
| valueInput |
Type : EventEmitter
|
| focusValueInput |
focusValueInput()
|
|
Returns :
void
|
| onChangeValue | ||||||
onChangeValue(newValue: string)
|
||||||
|
Parameters :
Returns :
void
|
| onChangeValueUnit | ||||||
onChangeValueUnit(newValue: string)
|
||||||
|
Parameters :
Returns :
void
|
| onDeleteValueClick | ||||||
onDeleteValueClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onPropositionSelected | ||||||
onPropositionSelected(proposition: Proposition)
|
||||||
|
Parameters :
Returns :
void
|
| onValueInput | ||||||
onValueInput(input: string)
|
||||||
|
Parameters :
Returns :
void
|
| onValueInputKeyDown | ||||||
onValueInputKeyDown(params: literal type)
|
||||||
|
Parameters :
Returns :
void
|
| showValuePropositions |
showValuePropositions(input: string, immediately?: boolean)
|
|
Propositions
Returns :
void
|
| _cell |
Type : ConstraintTableCell
|
| Public _isFocused |
Type : boolean
|
| Optional maskValidation |
Type : MaskValidation
|
| propositionsDebounceTime |
Default value : APP_SETTINGS.PROPOSITIONS_DEBOUNCE_IN_MS
|
| restrictiveCondition |
Type : RestrictiveCondition
|
| valueComponent |
Type : ValueComponent
|
Decorators :
@ViewChild(ValueComponent)
|
| valueData |
Type : AttributeValueData
|
| valueId |
Type : number
|
| valuePropositionsComponent |
Type : ValuePropositionsComponent
|
Decorators :
@ViewChild(ValuePropositionsComponent)
|
| valueType |
Type : AttributeType
|
| cell | ||||||
getcell()
|
||||||
setcell(value: ConstraintTableCell)
|
||||||
|
Parameters :
Returns :
void
|
| isFocused | ||||||
getisFocused()
|
||||||
setisFocused(value: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| isIncompliant |
getisIncompliant()
|