UNPKG

winbox-ui-next

Version:

We Design Vue 2.0: A Vue.js 3 UI Library

54 lines (53 loc) 870 B
const STATUSES = ["normal", "success", "warning", "danger"]; const MESSAGE_TYPES = ["info", "success", "warning", "error"]; const TRIGGER_POSITIONS = [ "top", "tl", "tr", "bottom", "bl", "br", "left", "lt", "lb", "right", "rt", "rb" ]; const TRIGGER_EVENTS = [ "hover", "click", "focus", "contextMenu" ]; const INPUT_EVENTS = [ "onFocus", "onFocusin", "onFocusout", "onBlur", "onChange", "onBeforeinput", "onInput", "onReset", "onSubmit", "onInvalid", "onKeydown", "onKeypress", "onKeyup", "onCopy", "onCut", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onSelect", "autocomplete", "autofocus", "maxlength", "minlength", "name", "pattern", "readonly", "required" ]; export { INPUT_EVENTS, MESSAGE_TYPES, STATUSES, TRIGGER_EVENTS, TRIGGER_POSITIONS };