'use strict';

require('../../../utils/index.js');
var runtime = require('../../../utils/props/runtime.js');

"use strict";
const modalProps = runtime.buildProps({
  /**
   * @description 开启弹窗
   */
  open: {
    type: Boolean,
    default: false
  },
  /**
   * @description 标题
   */
  title: {
    type: String,
    default: "\u63D0\u793A"
  },
  /**
   * @description 加载状态
   */
  loading: {
    type: Boolean,
    default: false
  },
  /**
   * @description 弹窗类型
   */
  type: {
    type: runtime.definePropType(String),
    default: "operate"
  },
  isConfirmModel: {
    type: Boolean,
    default: false
  },
  /**
   * @description 弹窗class
   */
  class: {
    type: String,
    default: ""
  },
  /**
   * @description 弹窗外层容器的类名
   */
  wrapClassName: {
    type: String,
    default: ""
  },
  /**
   * @description 确认按钮文字
   */
  confirmText: {
    type: String,
    default: ""
  },
  /**
   * @description 取消按钮文字
   */
  cancelText: {
    type: String,
    default: ""
  },
  /**
   * @description 显示取消按钮
   */
  showCancel: {
    type: Boolean,
    default: true
  },
  /**
   * @description 显示底部
   */
  showFooter: {
    type: Boolean,
    default: true
  },
  /**
   * @description 是否使用esc关闭
   */
  keyboard: {
    type: Boolean,
    default: true
  }
});
const modalEmits = {
  /**
   * @description 点击取消时触发
   */
  cancel: () => true,
  /**
   * @description 点击确认时触发
   */
  ok: () => true,
  "update:open": () => true
};

exports.modalEmits = modalEmits;
exports.modalProps = modalProps;
//# sourceMappingURL=modal.js.map
