sparnatural
Version:
Visual client-side SPARQL query builder and knowledge graph exploration tool
27 lines (26 loc) • 1.12 kB
TypeScript
import { ISparnaturalSpecification } from "../../spec-providers/ISparnaturalSpecification";
import { DisplayBtn } from "../buttons/DisplayBtn";
import { HTMLComponent } from "../HtmlComponent";
import VariableOrderMenu from "./variableorder/VariableOrderMenu";
import VariableSortOption from "./variablesort/VariableSortOptions";
import { DraggableComponentState } from "./variableorder/DraggableComponent";
import { Order } from "../../SparnaturalQueryIfc";
declare class VariableSection extends HTMLComponent {
#private;
displayBtn: DisplayBtn;
variableSortOption: VariableSortOption;
variableOrderMenu: VariableOrderMenu;
linesWrapper: JQuery<HTMLElement>;
specProvider: ISparnaturalSpecification;
constructor(ParentComponent: HTMLComponent, specProvider: ISparnaturalSpecification);
render(): this;
/**
* @returns the states of draggable components from the variable selection part of the UI
*/
listVariables(): DraggableComponentState[];
/**
* @returns the order option selected from the UI
*/
getOrder(): Order;
}
export default VariableSection;