Extends
Index
Constructors
Protected Properties
Protected Accessors
Public Methods
Protected Methods
- adjustNewValue
- appear
- disappear
- fillMenuItemsList
- getClassesToAdd
- getContext
- getDisplayedElementText
- getEmptyText
- getListName
- getValue
- getValueText
- getValuesAsArray
- hideLoader
- isEditable
- isEmptyValue
- renderDisplayedText
- renderEditor
- renderMenuBlock
- setValue
- showLoader
- showValidationError
- takeDefaultValue
- validateInput
Constructors
constructor
⊕ new AttributeExpressionRenderer(panel: QueryPanel,expression: Expression,entitiesMenu: PopupMenu,slot?: HTMLDivElement
): AttributeExpressionRenderer
Parameters:
- panel: QueryPanel
- expression: Expression
- entitiesMenu: PopupMenu
- slot:
HTMLDivElement
, Optional
Protected Properties
displayedTextElement
● displayedTextElement: HTMLElement
element
● element: HTMLDivElement
expression
● expression: Expression
menu
● menu: PopupMenu | null
menuItemsList
● menuItemsList: MenuItem[] = []
panel
● panel: QueryPanel
showWhenReady
● showWhenReady: boolean
= false
valueEditor
● valueEditor: ValueEditor
Protected Accessors
cssPrefix
⇄ get cssPrefix(): string
Returns string
Public Methods
refresh
▸ refresh(): void
Returns void
render
▸ render(appeared?: boolean
): HTMLDivElement
Parameters:
- appeared:
boolean
, Default value =false
Returns HTMLDivElement
Protected Methods
adjustNewValue
▸ adjustNewValue(newValue: string
| string
[]): string
Parameters:
- newValue:
string
|string
[]
Returns string
appear
▸ appear(): void
Returns void
disappear
▸ disappear(): void
Returns void
fillMenuItemsList
▸ fillMenuItemsList(onComplete?: any
): void
Parameters:
- onComplete:
any
, Optional
Returns void
getClassesToAdd
▸ getClassesToAdd(): string
Returns string
getContext
▸ getContext(): EqContext
Returns EqContext
getDisplayedElementText
▸ getDisplayedElementText(): string
Returns string
getEmptyText
▸ getEmptyText(): string
Returns string
getListName
▸ getListName(): string
Returns string
getValue
▸ getValue(): string
Returns string
getValueText
▸ getValueText(value: string
| string
[]): string
Parameters:
- value:
string
|string
[]
Returns string
getValuesAsArray
▸ getValuesAsArray(): string
[]
Returns string
[]
hideLoader
▸ hideLoader(): void
Returns void
isEditable
▸ isEditable(): boolean
Returns boolean
isEmptyValue
▸ isEmptyValue(): boolean
Returns boolean
renderDisplayedText
▸ renderDisplayedText(): HTMLElement
Returns HTMLElement
renderEditor
▸ renderEditor(): void
Returns void
renderMenuBlock
▸ renderMenuBlock(): void
Returns void
setValue
▸ setValue(value: string
| string
[],silent?: boolean
): boolean
Parameters:
- value:
string
|string
[] - silent:
boolean
, Default value =false
Returns boolean
showLoader
▸ showLoader(): void
Returns void
showValidationError
▸ showValidationError(message: string
,target?: EventTarget
): void
Parameters:
- message:
string
- target:
EventTarget
, Optional
Returns void
takeDefaultValue
▸ takeDefaultValue(): void
Returns void
validateInput
▸ validateInput(value: string
): ValidationResult
Parameters:
- value:
string
Returns ValidationResult