'use strict';

var elementPlus = require('element-plus');

const buttonProps = {
  ...elementPlus.buttonProps,
  loading: {
    type: Boolean,
    default: void 0
    // 默认undefined，表示不使用loading
  },
  /**
   * Clarity 事件名称
   * 点击成功时发送 Clarity 事件，事件名格式：{路由title|name|path} - {eventName|button文字}
   * 如果没有 eventName 且 button 没有文字内容，则不发送事件
   */
  eventName: {
    type: String,
    default: void 0
  }
};
const buttonEmits = {
  ...elementPlus.buttonEmits
  // 自定义事件
  // submit: (value: any) => !!value,
};
const buttonTypes = [...elementPlus.buttonTypes];
const buttonNativeTypes = [...elementPlus.buttonNativeTypes];

exports.buttonEmits = buttonEmits;
exports.buttonNativeTypes = buttonNativeTypes;
exports.buttonProps = buttonProps;
exports.buttonTypes = buttonTypes;
//# sourceMappingURL=button.js.map
