winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
61 lines (60 loc) • 1.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
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"
];
exports.INPUT_EVENTS = INPUT_EVENTS;
exports.MESSAGE_TYPES = MESSAGE_TYPES;
exports.STATUSES = STATUSES;
exports.TRIGGER_EVENTS = TRIGGER_EVENTS;
exports.TRIGGER_POSITIONS = TRIGGER_POSITIONS;