The EasyQuery client-side view that represents the UI for advanced search page
Index
Public Properties
Protected Properties
- clearQueryButton
- copyQueryButton
- disabledClass
- dropdownButtonClass
- dropdownContainerClass
- dropdownContentClass
- dropdownShowClass
- executeQueryButton
- loadQueryButton
- newQueryButton
- queryListSelector
- queryNameLabel
- removeQueryButton
- saveQueryButton
- storageDropButton
Public Methods
Protected Methods
- checkIfQueryModified
- createChartWidget
- createColumnsPanelWidget
- createEntitiesPanelWidget
- createLocaleWidget
- createQueryPanelWidget
- createResultGridWidget
- disableExportButtons
- displayRecordsCount
- enableExportButtons
- fillLoadQueryButtonMenu
- hideExportButtons
- initDone
- saveCurrentQuery
- showNewQueryDialog
- showQueryChangedDialog
- showRemoveQueryDialog
- showSaveQueryDialog
- updateQuerySelector
Public Properties
context
● context: EqContext = new EqContext()
Protected Properties
clearQueryButton
● clearQueryButton: HTMLElement
copyQueryButton
● copyQueryButton: HTMLElement
disabledClass
Name of the class to add to disabled elements.
● disabledClass: string
= "eqjs-disabled"
dropdownButtonClass
● dropdownButtonClass: string
= "eqv-drop-button"
dropdownContainerClass
● dropdownContainerClass: string
= "eqv-dropdown-container"
dropdownContentClass
● dropdownContentClass: string
= "eqv-dropdown-content"
dropdownShowClass
● dropdownShowClass: string
= "eqv-dropdown-show"
executeQueryButton
● executeQueryButton: HTMLElement
loadQueryButton
● loadQueryButton: HTMLElement
newQueryButton
● newQueryButton: HTMLElement
queryListSelector
● queryListSelector: HTMLSelectElement
queryNameLabel
● queryNameLabel: HTMLElement
removeQueryButton
● removeQueryButton: HTMLElement
saveQueryButton
● saveQueryButton: HTMLElement
storageDropButton
● storageDropButton: HTMLElement
Public Methods
executeQuery
Builds and executes current query.
▸ executeQuery(options?: any
): void
Parameters:
- options:
any
, Optional - The options. In particular,options.page
defines what page of data to query.
Returns void
getContext
Returns the context.
▸ getContext(): EqContext
Returns EqContext - [[EqContext]] object.
init
Initializes the view.
▸ init(options?: EqViewOptions): void
Parameters:
- options: EqViewOptions, Optional - The [[EqViewOptions]] object.
Returns void
loadQuery
▸ loadQuery(queryId: string
): void
Parameters:
- queryId:
string
Returns void
setDialogService
Sets dialog service for the view
▸ setDialogService(dialogService: DialogService): void
Parameters:
- dialogService: DialogService - The dialog service.
Returns void
syncQuery
Sends current query to back-end.
▸ syncQuery(): void
Returns void
Protected Methods
checkIfQueryModified
▸ checkIfQueryModified(callback: any
): void
Parameters:
- callback:
any
Returns void
createChartWidget
▸ createChartWidget(slotElement: HTMLElement
): Widget
Parameters:
- slotElement:
HTMLElement
Returns Widget
createColumnsPanelWidget
Creates the widget that represents Columns Panel.
▸ createColumnsPanelWidget(placeholderElement: HTMLElement
): Widget
Parameters:
- placeholderElement:
HTMLElement
- The [[HTMLElement]] to place the created widget in.
Returns Widget - the created [[Widget]] object.
createEntitiesPanelWidget
Creates the widget that represents Entity Panel.
▸ createEntitiesPanelWidget(placeholderElement: HTMLElement
): Widget
Parameters:
- placeholderElement:
HTMLElement
- The [[HTMLElement]] to place the created widget in.
Returns Widget - the created [[Widget]] object.
createLocaleWidget
▸ createLocaleWidget(placeholderElement: HTMLElement
): Widget
Parameters:
- placeholderElement:
HTMLElement
Returns Widget
createQueryPanelWidget
Creates the widget that represents Query Panel.
▸ createQueryPanelWidget(placeholderElement: HTMLElement
): Widget
Parameters:
- placeholderElement:
HTMLElement
- The [[HTMLElement]] to place the created widget in.
Returns Widget - the created [[Widget]] object.
createResultGridWidget
▸ createResultGridWidget(slotElement: HTMLElement
): Widget
Parameters:
- slotElement:
HTMLElement
Returns Widget
disableExportButtons
Disables export buttons.
▸ disableExportButtons(): void
Returns void
displayRecordsCount
Shows records count.
▸ displayRecordsCount(count: number
): void
Parameters:
- count:
number
- The value to show.
Returns void
enableExportButtons
Enables export buttons.
▸ enableExportButtons(): void
Returns void
fillLoadQueryButtonMenu
▸ fillLoadQueryButtonMenu(queryList: any
,onQuerySelect: (queryId: string
) => void
): void
Parameters:
- queryList:
any
- onQuerySelect: (queryId:
string
) =>void
Returns void
hideExportButtons
Hides export buttons.
▸ hideExportButtons(): void
Returns void
initDone
▸ initDone(): void
Returns void
saveCurrentQuery
▸ saveCurrentQuery(copyQuery?: boolean
,callback?: any
): void
Parameters:
- copyQuery:
boolean
, Default value =false
- callback:
any
, Optional
Returns void
showNewQueryDialog
▸ showNewQueryDialog(callback: any
): void
Parameters:
- callback:
any
Returns void
showQueryChangedDialog
▸ showQueryChangedDialog(callback: any
): void
Parameters:
- callback:
any
Returns void
showRemoveQueryDialog
▸ showRemoveQueryDialog(callback: any
): void
Parameters:
- callback:
any
Returns void
showSaveQueryDialog
▸ showSaveQueryDialog(callback: any
): void
Parameters:
- callback:
any
Returns void
updateQuerySelector
▸ updateQuerySelector(): void
Returns void