xdesign-vue-next
Version:
XDesign Component for vue-next
94 lines (89 loc) • 1.77 kB
JavaScript
/**
* xdesign v1.0.6
* (c) 2023 xdesign
* @license MIT
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
/* unplugin-vue-components disabled */var props = {
attach: {
type: [String, Function],
"default": ""
},
body: {
type: [String, Function]
},
cancelBtn: {
type: [String, Object, Function],
"default": ""
},
closeBtn: {
type: [String, Boolean, Function]
},
closeOnEscKeydown: {
type: Boolean,
"default": void 0
},
closeOnOverlayClick: {
type: Boolean,
"default": void 0
},
confirmBtn: {
type: [String, Object, Function],
"default": ""
},
"default": {
type: [String, Function]
},
destroyOnClose: Boolean,
footer: {
type: [Boolean, Function],
"default": true
},
header: {
type: [String, Boolean, Function],
"default": true
},
mode: {
type: String,
"default": "overlay",
validator: function validator(val) {
if (!val) return true;
return ["overlay", "push"].includes(val);
}
},
placement: {
type: String,
"default": "right",
validator: function validator(val) {
if (!val) return true;
return ["left", "right", "top", "bottom"].includes(val);
}
},
preventScrollThrough: {
type: Boolean,
"default": true
},
showInAttachedElement: Boolean,
showOverlay: {
type: Boolean,
"default": true
},
size: {
type: String,
"default": void 0
},
sizeDraggable: Boolean,
visible: Boolean,
zIndex: {
type: Number
},
onCancel: Function,
onClose: Function,
onCloseBtnClick: Function,
onConfirm: Function,
onEscKeydown: Function,
onOverlayClick: Function
};
exports["default"] = props;
//# sourceMappingURL=props.js.map