UNPKG

sparnatural

Version:

Visual client-side SPARQL query builder and knowledge graph exploration tool

27 lines (26 loc) 1.02 kB
import { SelectedVal } from "../SelectedVal"; import { AddUserInputBtn } from "../buttons/AddUserInputBtn"; import { AbstractWidget, WidgetValue } from "./AbstractWidget"; import { InfoBtn } from "../buttons/InfoBtn"; import { HTMLComponent } from "../HtmlComponent"; export declare class SearchRegexWidgetValue implements WidgetValue { value: { label: string; regex: string; }; key(): string; constructor(v: SearchRegexWidgetValue["value"]); } export interface SearchConfiguration { widgetType: string; } export declare class SearchRegexWidget extends AbstractWidget { #private; configuration: SearchConfiguration; addValueBtn: AddUserInputBtn; searchInput: JQuery<HTMLElement>; infoBtn: InfoBtn; constructor(configuration: SearchConfiguration, parentComponent: HTMLComponent, startClassVal: SelectedVal, objectPropVal: SelectedVal, endClassVal: SelectedVal); render(): this; parseInput(input: SearchRegexWidgetValue["value"]): SearchRegexWidgetValue; }