/**
 * tdesign v0.32.0
 * (c) 2021 tdesign
 * @license MIT
 */

var props = {
  attach: {
    type: [String, Function],
    "default": ""
  },
  body: {
    type: [String, Function],
    "default": ""
  },
  cancelBtn: {
    type: [String, Object, Function],
    "default": ""
  },
  closeBtn: {
    type: [String, Boolean, Function],
    "default": true
  },
  closeOnEscKeydown: {
    type: Boolean,
    "default": true
  },
  closeOnOverlayClick: {
    type: Boolean,
    "default": true
  },
  confirmBtn: {
    type: [String, Object, Function],
    "default": ""
  },
  "default": {
    type: [String, Function]
  },
  destroyOnClose: Boolean,
  draggable: Boolean,
  footer: {
    type: [Boolean, Function],
    "default": true
  },
  header: {
    type: [String, Boolean, Function],
    "default": true
  },
  mode: {
    type: String,
    "default": "modal",
    validator: function validator(val) {
      return ["modal", "modeless", "normal"].includes(val);
    }
  },
  placement: {
    type: String,
    "default": "top",
    validator: function validator(val) {
      return ["top", "center"].includes(val);
    }
  },
  preventScrollThrough: {
    type: Boolean,
    "default": true
  },
  showOverlay: {
    type: Boolean,
    "default": true
  },
  theme: {
    type: String,
    "default": "default",
    validator: function validator(val) {
      return ["default", "info", "warning", "danger", "success"].includes(val);
    }
  },
  top: {
    type: [String, Number]
  },
  visible: Boolean,
  defaultVisible: Boolean,
  width: {
    type: [String, Number]
  },
  zIndex: {
    type: Number
  },
  onCancel: Function,
  onClose: Function,
  onCloseBtnClick: Function,
  onClosed: Function,
  onConfirm: Function,
  onEscKeydown: Function,
  onOpened: Function,
  onOverlayClick: Function
};

export { props as default };
//# sourceMappingURL=props.js.map
