@nova-ui/bits
Version:
SolarWinds Nova Framework
23 lines (22 loc) • 997 B
TypeScript
import { Moment } from "moment/moment";
import { ElementFinder } from "protractor";
import { Atom } from "../../../atom";
import { ButtonAtom } from "../../button/button.atom";
import { PopoverAtom } from "../../popover/popover.atom";
import { QuickPickerAtom } from "../../time-frame-picker/quick-picker.atom";
import { TimeFramePickerAtom } from "../../time-frame-picker/time-frame-picker.atom";
export declare class TimeFrameBarAtom extends Atom {
static CSS_SELECTOR: string;
readonly prevButton: ButtonAtom;
readonly nextButton: ButtonAtom;
readonly undoButton: ButtonAtom;
readonly clearButton: ButtonAtom;
readonly popover: PopoverAtom;
quickPicker: QuickPickerAtom;
timeFramePicker: TimeFramePickerAtom;
timeFramePickerCancelButton: ButtonAtom;
timeFramePickerUseButton: ButtonAtom;
constructor(rootElement: ElementFinder);
quickPickPreset(presetTitle: string): Promise<void>;
pickTimeFrame(start: Moment, end: Moment): Promise<void>;
}