Skip to content

AdvancedSearchViewJQuery class

AdvancedSearchView


⊕ new AdvancedSearchViewJQuery(): AdvancedSearchViewJQuery



● chartWidget?: Widget


● clearQueryButton: HTMLElement


● columnsBarWidget?: Widget


● columnsPanelWidget?: Widget


● context: EqContext


● copyQueryButton: HTMLElement


● disabledClass: string = "eqjs-disabled"


● domRoots: Array<Document | ShadowRoot> = [ document ]


● dropdownButtonClass: string = "eqv-drop-button"


● dropdownContainerClass: string = "eqv-dropdown-container"


● dropdownContentClass: string = "eqv-dropdown-content"


● dropdownShowClass: string = "eqv-dropdown-show"


● enableExport: boolean = false


● entitiesPanelWidget?: Widget


● exportButtons: HTMLElement[] = []


● exportWidget?: Widget


● fetchDataButton: HTMLElement


● filterBarWidget?: Widget


● loadQueryButton: HTMLElement


● loadQueryFromFileButton: HTMLElement


● loadQueryFromFileInput: HTMLInputElement


● localeWidget?: Widget


● newQueryButton: HTMLElement


● processWidget?: Widget


● queryListPanel: HTMLElement


● queryListSelector: HTMLSelectElement


● queryNameLabel: HTMLElement


● queryNameWidget?: Widget


● queryPanelWidget?: Widget


● removeQueryButton: HTMLElement


● resultCountSlot?: HTMLElement


● resultFacetPanelWidget?: Widget


● resultGridWidget?: Widget


● resultOptions: EqResultOptions


● resultPanelSlot?: HTMLElement


● saveQueryButton: HTMLElement


● saveQueryToFileButton: HTMLElement


● sortingBarWidget?: Widget


● statementPanelWidget?: Widget


● statementWidget?: Widget


● storageDropButton: HTMLElement



▸ checkIfQueryModified(callback: any): void

  • callback: any

Returns void


▸ detach(): void

Returns void


▸ executeQuery(options?: any): void

  • options: any, Optional

Returns void


Fetches the data according to the query and other options defined in the context.

▸ fetchData(options?: any): void

  • options: any, Optional - The options.

Returns void


▸ getContext(): EqContext

Returns EqContext


▸ init(options?: EqViewOptions): void

Returns void


▸ loadQuery(queryId: string): void

  • queryId: string

Returns void


Sets dialog service for the view

▸ setDialogService(dialogService: DialogService): void

  • dialogService: DialogService - The dialog service.

Returns void


▸ showLoadQueryFromFileDialog(): void

Returns void


Sends current query to the backend.

▸ syncQuery(): void

Returns void



▸ clearQueryButtonClick(): void

Returns void


▸ copyQueryButtonClick(): void

Returns void


Creates the widget that represents Chart Widget.

▸ createChartWidget(slotElement: HTMLElement): Widget

  • slotElement: HTMLElement

Returns Widget - the created Widget object.


Creates the widget that represents Columns Bar.

▸ createColumnsBarWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Columns Panel.

▸ createColumnsPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Entity Panel.

▸ createEntitiesPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Export funcionality.

▸ createExportWidget(slot: HTMLElement): Widget

  • slot: HTMLElement -

Returns Widget


Creates the widget that represents Filter Bar.

▸ createFilterBarWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Locale Widget.

▸ createLocaleWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


▸ createNewQuery(options?: ContextNewQueryOptions): Query

Returns Query


Creates the widget that represents Process Widget.

▸ createProcessWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Query Name Widget.

▸ createQueryNameWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Query Panel.

▸ createQueryPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Result Facets Panel Widget.

▸ createResultFacetsPanel(slot: HTMLElement): Widget

  • slot: HTMLElement -

Returns Widget


Creates the widget that represents Grid Widget.

▸ createResultGridWidget(slotElement: HTMLElement): Widget

  • slotElement: HTMLElement

Returns Widget - the created Widget object.


Creates the widget that represents Sorting Bar.

▸ createSortingBarWidget(slot: HTMLElement): Widget

  • slot: HTMLElement - The HTMLElement to place the created widget in.

Returns Widget - the created Widget object.


Creates the widget that represents Statement Panel Widget.

▸ createStatementPanelWidget(slot: HTMLElement): Widget

  • slot: HTMLElement -

Returns Widget


Disables export buttons.

▸ disableExportButtons(): void

Returns void


Shows records count.

▸ displayRecordsCount(count: number): void

  • count: number - The value to show.

Returns void


Enables export buttons.

▸ enableExportButtons(): void

Returns void


▸ fetchDataButtonClick(): void

Returns void


▸ fillLoadQueryButtonMenu(queryList: any): void

  • queryList: any

Returns void


Hides export buttons.

▸ hideExportButtons(): void

Returns void


▸ hideResultSpinner(): void

Returns void


▸ initDone(): void

Returns void


▸ initOptions(options?: EqViewOptions): EqViewOptions

Returns EqViewOptions


▸ initWidgets(options?: EqViewOptions): void

Returns void


▸ loadQueryButtonClick(): void

Returns void


▸ loadQueryFromFileButtonClick(): void

Returns void


▸ loadQueryFromFileInputSelect(): void

Returns void


▸ newQueryButtonClick(): void

Returns void


▸ refreshQueryList(): void

Returns void


▸ removeCurrentQuery(): void

Returns void


▸ removeQueryButtonClick(): void

Returns void


▸ renderSaveToFileDialogBody(name: string,format?: string): HTMLElement

  • name: string
  • format: string, Default value = "json"

Returns HTMLElement


▸ resolveElement(elementOrId: string | HTMLElement): HTMLElement

  • elementOrId: string | HTMLElement

Returns HTMLElement


▸ resolveElementsByClassName(className: string): Element[]

  • className: string

Returns Element[]


▸ saveCurrentQuery(copyQuery?: boolean,callback?: any): void

  • copyQuery: boolean, Default value = false
  • callback: any, Optional

Returns void


▸ saveQuery(success: any,error?: any): void

  • success: any
  • error: any, Optional

Returns void


▸ saveQueryButtonClick(): void

Returns void


▸ saveQueryToFileButtonClick(): void

Returns void


▸ showNewQueryDialog(callback: (result: string) => Promise<DlgCallbackResult>): void

  • callback: (result: string) => Promise<DlgCallbackResult>

Returns void


▸ showQueryChangedDialog(callback: (result: boolean) => void): void

  • callback: (result: boolean) => void

Returns void


▸ showRemoveQueryDialog(callback: (result: boolean) => void): void

  • callback: (result: boolean) => void

Returns void


▸ showResultSpinner(): void

Returns void


▸ showSaveQueryDialog(callback: (result: string) => Promise<DlgCallbackResult>): void

  • callback: (result: string) => Promise<DlgCallbackResult>

Returns void


▸ showSaveQueryToFileDialog(callback: (fileName: string, format: string) => Promise<DlgCallbackResult>): void

  • callback: (fileName: string, format: string) => Promise<DlgCallbackResult>

Returns void


▸ storageDropButtonClick(): void

Returns void


▸ toggleExportButtons(): void

Returns void