tass-ui
Version:
A high quality UI Toolkit built on Vue.js3+.
60 lines (59 loc) • 1.11 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Props = {
type: {
type: String,
default: () => "default",
validator(value) {
return ["default", "primary", "success", "info", "danger", "warning"].includes(
value
);
}
},
size: {
type: String,
validator(value) {
return ["default", "medium", "small", "mini", "tiny"].includes(value);
}
},
plain: {
type: Boolean,
default: () => false
},
round: {
type: Boolean,
default: () => false
},
circle: {
type: Boolean,
default: () => false
},
loading: {
type: Boolean,
default: () => false
},
disabled: {
type: Boolean,
default: () => false
},
icon: {
type: String,
default: () => ""
},
autoFocus: {
type: Boolean,
default: () => false
},
nativeType: {
type: String,
default: () => "button",
validator(value) {
return ["button", "submit", "reset"].includes(value);
}
}
};
const Emits = {
click: (evt) => evt
};
exports.Emits = Emits;
exports.Props = Props;