projects/m2-components/src/lib/application/attribute/value/application-attribute-value.component.ts
| selector | application-attribute-value |
| styleUrls | ./application-attribute-value.component.scss |
| templateUrl | ./application-attribute-value.component.html |
constructor(layerService: LayerService, applicationReadService: ApplicationReadService, applicationEditService: ApplicationEditService, applicationsService: ApplicationsService, applicationTemplateReadService: ApplicationTemplateReadService, applicationTemplateEditService: ApplicationTemplateEditService, propositionsService: PropositionsService, attributeClassifierService: AttributeClassifierService, dataReadService: DataReadService, taxonomyReadService: TaxonomyReadService, resourceReadService: ResourceReadService, globalModalsService: GlobalModalsService, notificationService: NotificationService, backgroundService: BackgroundService)
|
|||||||||||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| appendNameValue |
Type : boolean
|
| appendUnit |
Type : boolean
|
| applicationAttributeRow |
Type : ApplicationAttributeRow
|
| attribute |
Type : ApplicationAttributePrototype
|
| classifiableTarget |
Type : string
|
Default value : '_blank'
|
| deprecated |
Type : boolean
|
| editModeON |
Type : boolean
|
| hasPropositions |
Type : boolean
|
| isFocused |
Type : boolean
|
| isHistorical |
Type : boolean
|
| isTemplateValue |
Type : boolean
|
Default value : false
|
| postUpdateFn |
Type : function
|
| showPropositionsOnInput |
Type : boolean
|
| unit |
Type : MeasurementUnit
|
| useParsedDoubleParams |
Type : boolean
|
| attributesSetChanged |
Type : EventEmitter
|
| isFocusedChange |
Type : EventEmitter
|
| valueClear |
Type : EventEmitter
|
| valueCreate |
Type : EventEmitter
|
| changeApplicationAttributeValueIfNeeded | |||||||||
changeApplicationAttributeValueIfNeeded(newValue, userInput)
|
|||||||||
|
Application attribute value
Parameters :
Returns :
void
|
| changeItemAttributeValue | ||||
changeItemAttributeValue(newValue)
|
||||
|
Application item attribute value
Parameters :
Returns :
void
|
| changeItemAttributeValueNameIfNeeded | ||||||
changeItemAttributeValueNameIfNeeded(newValue: string)
|
||||||
|
Name value #16530
Parameters :
Returns :
void
|
| changeReferenceInputIfNeeded | ||||||
changeReferenceInputIfNeeded(newValue: string | number | ConstraintTableCell)
|
||||||
|
Reference input
Parameters :
Returns :
void
|
| cleanAttribute |
cleanAttribute()
|
|
Returns :
Promise<void>
|
| Public focusValueInput |
focusValueInput()
|
|
Returns :
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| ngOnInit |
ngOnInit()
|
|
Returns :
void
|
| onChangeValueUnit | ||||||
onChangeValueUnit(newValue: string)
|
||||||
|
Parameters :
Returns :
void
|
| onElementLinkDblClick | ||||||
onElementLinkDblClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onFormulaEdited | ||||||
onFormulaEdited(rule: FormulaRule)
|
||||||
|
Parameters :
Returns :
Promise<any>
|
| onOpenFormulaEditorClick |
onOpenFormulaEditorClick()
|
|
Formula
Returns :
void
|
| onPropositionSelected | ||||||
onPropositionSelected(proposition: Proposition)
|
||||||
|
Parameters :
Returns :
void
|
| onSelectElementClick | ||||||
onSelectElementClick(event: MouseEvent)
|
||||||
|
Element link
Parameters :
Returns :
void
|
| onValueInput | ||||||
onValueInput(input: string)
|
||||||
|
Parameters :
Returns :
void
|
| onValueInputKeyDown | ||||||
onValueInputKeyDown(params: literal type)
|
||||||
|
Parameters :
Returns :
void
|
| showValuePropositions |
showValuePropositions(input: string, immediately?: boolean)
|
|
Item attribute value propositions
Returns :
void
|
| updateValueMultipart | ||||||
updateValueMultipart(file: File)
|
||||||
|
Multipart values
Parameters :
Returns :
void
|
| Optional cellValueStatus |
Type : string
|
| currentValue |
Type : any
|
| debounceTimeInMs |
Type : number
|
Default value : 0
|
| fileAccept |
Default value : CONSTANTS.INPUT_ACCEPT.any
|
| fromPropositionsOnly |
Default value : false
|
| getNamePropositionsFn |
Default value : ((searchQuery?: string, noFilterOnValues?: boolean) => this.propositionsService.getNamedValuePropositions(this.attribute.propertyId, searchQuery))
|
| Optional getPathFn |
Type : function
|
| Optional getPropositionsFn |
Type : function
|
| highlightOnly |
Default value : false
|
| isFocusedValue |
Type : boolean
|
| itemValuePlaceholder |
Type : string
|
Default value : ''
|
| maskConfig |
Type : any
|
| Optional maskValidation |
Type : MaskValidation
|
| nonDeletable |
Default value : false
|
| placeholder |
Type : string
|
Default value : ''
|
| primitiveValueComponent |
Type : PrimitiveValueComponent
|
Decorators :
@ViewChild(PrimitiveValueComponent)
|
| progress |
Default value : -1
|
| propertyPropositionTmpl |
Type : TemplateRef<any>
|
Decorators :
@ViewChild('propertyPropositionTmpl')
|
| Optional propositionTemplate |
Type : TemplateRef<any>
|
| queryParams |
Type : Params
|
| readonlyInput |
Default value : false
|
| refFaIconClass |
Type : string
|
| reloadOnShow |
Default value : false
|
| routerLink |
Type : string
|
| selectBtnTitle |
Type : string
|
| Optional toolButtons |
Type : SdiButton[]
|
| valueComponent |
Type : ValueComponent
|
Decorators :
@ViewChild(ValueComponent)
|
| valuePropositionsComponent |
Type : ValuePropositionsComponent
|
Decorators :
@ViewChild(ValuePropositionsComponent)
|
| valueType |
Type : AttributeType
|
Default value : 'STRING'
|
| isFocused | ||||||
getisFocused()
|
||||||
setisFocused(value: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| isIncompliant |
getisIncompliant()
|