sparnatural
Version:
Visual client-side SPARQL query builder and knowledge graph exploration tool
30 lines (29 loc) • 982 B
TypeScript
import { SelectedVal } from "../SelectedVal";
import { AddUserInputBtn } from "../buttons/AddUserInputBtn";
import { AbstractWidget, WidgetValue } from "./AbstractWidget";
import { HTMLComponent } from "../HtmlComponent";
export declare class DateValue implements WidgetValue {
value: {
label: string;
start: string;
stop: string;
};
key(): string;
constructor(v: DateValue["value"]);
}
/**
* Old time period widget
* @deprecated
*/
export declare class DatesWidget extends AbstractWidget {
#private;
datesHandler: any;
addWidgetValueBtn: AddUserInputBtn;
input: JQuery<HTMLElement>;
inputStart: JQuery<HTMLElement>;
inputEnd: JQuery<HTMLElement>;
inputValue: JQuery<HTMLElement>;
constructor(parentComponent: HTMLComponent, datesHandler: any, startClassVal: SelectedVal, objectPropVal: SelectedVal, endClassVal: SelectedVal);
render(): this;
parseInput(dateValue: DateValue["value"]): DateValue;
}