t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
73 lines (72 loc) • 1.22 kB
JavaScript
const t = {
visible: {
type: Boolean,
default: () => !1,
required: !0
},
appendToBody: {
type: Boolean,
default: () => !1
},
showMask: {
type: Boolean,
default: () => !0
},
maskClose: {
type: Boolean,
default: () => !0
},
maskBlur: {
type: Boolean,
default: () => !1
},
zIndex: {
type: Number,
default: () => 1999,
validator: (e) => e >= 0
},
maskBackground: {
type: String,
default: () => ""
},
maskOpacity: {
type: Number,
default: () => null,
validator: (e) => e >= 0 && e <= 1
},
direction: {
type: String,
default: () => "center",
validator: (e) => ["left", "right", "top", "bottom", "center"].includes(e)
},
popupSize: {
type: [String, Number],
default: () => ""
},
padding: {
type: [String, Number],
default: () => ""
},
open: {
type: Function,
default: () => null
},
close: {
type: Function,
default: () => null
},
openEnd: {
type: Function,
default: () => null
},
closeEnd: {
type: Function,
default: () => null
}
}, l = {
"update:visible": (e) => typeof e == "boolean"
};
export {
l as Emits,
t as Props
};