UNPKG

element-plus

Version:

A Component Library for Vue 3

43 lines (38 loc) 920 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); require('../../../utils/index.js'); require('../../../constants/index.js'); var props = require('../../../utils/vue/props.js'); var size = require('../../../constants/size.js'); const tagProps = props.buildProps({ closable: Boolean, type: { type: String, values: ["success", "info", "warning", "danger", ""], default: "" }, hit: Boolean, disableTransitions: Boolean, color: { type: String, default: "" }, size: { type: String, values: size.componentSizes, default: "" }, effect: { type: String, values: ["dark", "light", "plain"], default: "light" }, round: Boolean }); const tagEmits = { close: (evt) => evt instanceof MouseEvent, click: (evt) => evt instanceof MouseEvent }; exports.tagEmits = tagEmits; exports.tagProps = tagProps; //# sourceMappingURL=tag.js.map