UNPKG

@bokeh/bokehjs

Version:

Interactive, novel data visualization

73 lines 7.1 kB
import { Enum } from "./kinds"; export const Align = Enum("start", "center", "end"); export const HAlign = Enum("left", "center", "right"); export const VAlign = Enum("top", "center", "bottom"); export const Anchor = Enum("top_left", "top_center", "top_right", "center_left", "center_center", "center_right", "bottom_left", "bottom_center", "bottom_right", "top", "left", "center", "right", "bottom"); export const AngleUnits = Enum("deg", "rad", "grad", "turn"); export const AlternationPolicy = Enum("none", "even", "odd", "every"); export const BoxOrigin = Enum("corner", "center"); export const ButtonType = Enum("default", "primary", "success", "warning", "danger", "light"); export const CalendarPosition = Enum("auto", "above", "below"); export const Clock = Enum("12h", "24h"); export const CoordinateUnits = Enum("canvas", "screen", "data"); export const ContextWhich = Enum("start", "center", "end", "all"); export const Dimension = Enum("width", "height"); export const Dimensions = Enum("width", "height", "both"); export const Direction = Enum("clock", "anticlock"); export const Distribution = Enum("uniform", "normal"); export const Face = Enum("front", "back"); export const FlowMode = Enum("block", "inline"); export const FontStyle = Enum("normal", "italic", "bold", "bold italic"); export const HatchPatternType = Enum("blank", "dot", "ring", "horizontal_line", "vertical_line", "cross", "horizontal_dash", "vertical_dash", "spiral", "right_diagonal_line", "left_diagonal_line", "diagonal_cross", "right_diagonal_dash", "left_diagonal_dash", "horizontal_wave", "vertical_wave", "criss_cross", " ", ".", "o", "-", "|", "+", '"', ":", "@", "/", "\\", "x", ",", "`", "v", ">", "*"); export const BuiltinFormatter = Enum("raw", "basic", "numeral", "printf", "datetime"); export const HTTPMethod = Enum("POST", "GET"); export const HexTileOrientation = Enum("pointytop", "flattop"); export const HoverMode = Enum("mouse", "hline", "vline"); export const ImageOrigin = Enum("bottom_left", "top_left", "bottom_right", "top_right"); export const LatLon = Enum("lat", "lon"); export const LegendClickPolicy = Enum("none", "hide", "mute"); export const LegendLocation = Anchor; export const LineCap = Enum("butt", "round", "square"); export const LineDash = Enum("solid", "dashed", "dotted", "dotdash", "dashdot"); export const LineJoin = Enum("miter", "round", "bevel"); export const LinePolicy = Enum("prev", "next", "nearest", "interp", "none"); export const Location = Enum("above", "below", "left", "right"); export const Logo = Enum("normal", "grey"); export const MapType = Enum("satellite", "roadmap", "terrain", "hybrid"); export const MarkerType = Enum("asterisk", "circle", "circle_cross", "circle_dot", "circle_x", "circle_y", "cross", "dash", "diamond", "diamond_cross", "diamond_dot", "dot", "hex", "hex_dot", "inverted_triangle", "plus", "square", "square_cross", "square_dot", "square_pin", "square_x", "star", "star_dot", "triangle", "triangle_dot", "triangle_pin", "x", "y"); export const MutedPolicy = Enum("show", "ignore"); export const Orientation = Enum("vertical", "horizontal"); export const OutlineShapeName = Enum("none", "box", "rectangle", "square", "circle", "ellipse", "trapezoid", "parallelogram", "diamond", "triangle"); export const OutputBackend = Enum("canvas", "svg", "webgl"); export const PaddingUnits = Enum("percent", "absolute"); export const PanDirection = Enum("left", "right", "up", "down", "west", "east", "north", "south"); export const Place = Enum("above", "below", "left", "right", "center"); export const PointPolicy = Enum("snap_to_data", "follow_mouse", "none"); export const RadiusDimension = Enum("x", "y", "max", "min"); export const RenderLevel = Enum("image", "underlay", "glyph", "guide", "annotation", "overlay"); export const ResetPolicy = Enum("standard", "event_only"); export const ResolutionType = Enum("microseconds", "milliseconds", "seconds", "minsec", "minutes", "hourmin", "hours", "days", "months", "years"); export const RoundingFunction = Enum("round", "nearest", "floor", "rounddown", "ceil", "roundup"); export const ScrollbarPolicy = Enum("auto", "visible", "hidden"); export const RegionSelectionMode = Enum("replace", "append", "intersect", "subtract", "xor"); export const SelectionMode = Enum(...RegionSelectionMode, "toggle"); export const Side = Enum("above", "below", "left", "right"); export const SizingMode = Enum("stretch_width", "stretch_height", "stretch_both", "scale_width", "scale_height", "scale_both", "fixed", "inherit"); export const Sort = Enum("ascending", "descending"); export const SpatialUnits = Enum("screen", "data"); export const StartEnd = Enum("start", "end"); export const StepMode = Enum("after", "before", "center"); export const TapBehavior = Enum("select", "inspect"); export const TapGesture = Enum("tap", "doubletap"); export const TextAlign = Enum("left", "right", "center"); export const TextBaseline = Enum("top", "middle", "bottom", "alphabetic", "hanging", "ideographic"); export const TextureRepetition = Enum("repeat", "repeat_x", "repeat_y", "no_repeat"); export const LabelOrientation = Enum("vertical", "horizontal", "parallel", "normal"); export const TooltipAttachment = Enum("horizontal", "vertical", "left", "right", "above", "below"); export const UpdateMode = Enum("replace", "append"); export const VerticalAlign = Enum("top", "middle", "bottom"); export const WindowAxis = Enum("none", "x", "y"); // Keep this in sync with bokehjs/src/less/icons.less export const ToolIcon = Enum("append_mode", "arrow_down_to_bar", "arrow_up_from_bar", "auto_box_zoom", "bold", "box_edit", "box_select", "box_zoom", "caret_down", "caret_left", "caret_right", "caret_up", "check", "chevron_down", "chevron_left", "chevron_right", "chevron_up", "clear_selection", "copy", "crosshair", "dark_theme", "delete", "freehand_draw", "fullscreen", "help", "hover", "intersect_mode", "invert_selection", "italic", "lasso_select", "light_theme", "line_edit", "maximize", "minimize", "pan", "pin", "point_draw", "pointer", "poly_draw", "poly_edit", "polygon_select", "range", "redo", "replace_mode", "reset", "save", "see_off", "see_on", "settings", "square", "square_check", "subtract_mode", "tap_select", "text_align_center", "text_align_left", "text_align_right", "undo", "unknown", "unpin", "wheel_pan", "wheel_zoom", "x_box_select", "x_box_zoom", "x_grip", "x_pan", "xor_mode", "y_box_select", "y_box_zoom", "y_grip", "y_pan", "zoom_in", "zoom_out"); export const ToolName = Enum("auto_box_zoom", "box_select", "box_zoom", "click", "copy", "crosshair", "doubletap", "examine", "freehand_draw", "fullscreen", "help", "hover", "lasso_select", "pan", "pan_down", "pan_east", "pan_left", "pan_north", "pan_right", "pan_south", "pan_up", "pan_west", "poly_select", "redo", "reset", "save", "tap", "undo", "wheel_zoom", "xbox_select", "xbox_zoom", "xcrosshair", "xpan", "xwheel_pan", "xwheel_zoom", "xzoom_in", "xzoom_out", "ybox_select", "ybox_zoom", "ycrosshair", "ypan", "ywheel_pan", "ywheel_zoom", "yzoom_in", "yzoom_out", "zoom_in", "zoom_out"); //# sourceMappingURL=enums.js.map