import '../../../utils/index.mjs';
import { buildProps } from '../../../utils/props/runtime.mjs';

"use strict";
const drawerOptions = {
  destroyOnClose: true,
  width: "560px",
  keyboard: false,
  maskClosable: false,
  mask: true
};
const drawerProps = buildProps({
  /**
   * @description 开启抽屉
   */
  open: {
    type: Boolean,
    default: false
  },
  /**
   * @description 标题
   */
  title: {
    type: String,
    default: "\u65B0\u589E"
  },
  /**
   * @description 加载状态
   */
  loading: {
    type: Boolean,
    default: false
  },
  /**
   * @description 确认按钮文字
   */
  confirmText: {
    type: String,
    default: "\u786E\u8BA4"
  },
  /**
   * @description 取消按钮文字
   */
  cancelText: {
    type: String,
    default: "\u53D6\u6D88"
  },
  /**
   * @description 显示取消按钮
   */
  showCancel: {
    type: Boolean,
    default: true
  },
  /**
   * @description 显示底部
   */
  showFooter: {
    type: Boolean,
    default: true
  },
  /**
   * @description 区分关闭与取消方法
   */
  useClose: {
    type: Boolean,
    default: false
  },
  /**
   * @description 显示取消二次确认
   */
  cancelConfirm: {
    type: Boolean,
    default: false
  },
  /**
   * @description 二次确认属性
   */
  cancelConfirmOptions: {
    type: Object,
    default: null
  },
  /**
   * @description 是否使用esc关闭
   */
  keyboard: {
    type: Boolean,
    default: true
  }
});
const drawerEmits = {
  /**
   * @description 点击取消时触发
   */
  cancel: () => true,
  /**
   * @description 点击确认时触发
   */
  confirm: () => true,
  /**
   * @description 抽屉关闭时触发
   */
  close: () => true,
  "update:open": () => true
};

export { drawerEmits, drawerOptions, drawerProps };
//# sourceMappingURL=drawer.mjs.map
