SqlListExpressionRenderer class

Extends

CustomListExpressionRenderer

Index

Constructors

Public Properties

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

⊕ new SqlListExpressionRenderer(panel: QueryPanel,expression: Expression,valueEditor: EqValueEditor,slot?: HTMLDivElement): SqlListExpressionRenderer

Parameters:


Public Properties


loaderElement

● loaderElement: HTMLElement | null


Protected Properties


element

● element: HTMLDivElement


expression

● expression: Expression


labelElement

● labelElement: HTMLElement


● menu: PopupMenu | null


● menuItemsList: MenuItem[] = []


panel

● panel: QueryPanel


showWhenReady

● showWhenReady: boolean = false


valueEditor

● valueEditor: EqValueEditor


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


Public Methods


adjustWidth

▸ adjustWidth(): void

Returns void


refresh

▸ refresh(): void

Returns void


render

▸ render(isEditMode?: boolean): HTMLDivElement

Parameters:

  • isEditMode: boolean, Default value = false

Returns HTMLDivElement


Protected Methods


adjustNewValue

▸ adjustNewValue(newValue: string | string[]): string

Parameters:

  • newValue: string | string[]

Returns string


closeEditor

▸ closeEditor(): void

Returns void


fillMenuItemsList

▸ fillMenuItemsList(onComplete?: any): void

Parameters:

  • onComplete: any, Optional

Returns void


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getContext

▸ getContext(): EqContext

Returns EqContext


getEmptyText

▸ getEmptyText(): string

Returns string


getLabelText

▸ getLabelText(): 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


isReadOnly

▸ isReadOnly(): boolean

Returns boolean


renderEditor

▸ renderEditor(): void

Returns void


renderLabelElement

▸ renderLabelElement(): HTMLElement

Returns HTMLElement


renderMenuBlock

▸ renderMenuBlock(): void

Returns void


setValue

▸ setValue(value: string | string[],silent?: boolean): boolean

Parameters:

  • value: string | string[]
  • silent: boolean, Default value = false

Returns boolean


showEditor

▸ showEditor(): void

Returns void


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