import '../../../hooks/index.mjs';
import { buildProps, definePropType } from '../../../utils/props.mjs';
import { useFormItemProps } from '../../../hooks/use-form-item/index.mjs';

const buttonType = [
  "default",
  "primary",
  "success",
  "warning",
  "danger",
  "text",
  ""
];
const buttonSize = ["", "large", "medium", "small"];
const buttonNativeType = ["button", "submit", "reset"];
const buttonProps = buildProps({
  ...useFormItemProps,
  type: {
    type: String,
    values: buttonType,
    default: ""
  },
  icon: {
    type: definePropType([String, Object]),
    default: ""
  },
  nativeType: {
    type: String,
    values: buttonNativeType,
    default: "button"
  },
  loading: Boolean,
  plain: Boolean,
  autofocus: Boolean,
  round: Boolean,
  circle: Boolean,
  border: Boolean,
  color: String,
  autoInsertSpace: {
    type: Boolean
  }
});
const buttonEmits = {
  click: (evt) => evt instanceof MouseEvent
};

export { buttonEmits, buttonNativeType, buttonProps, buttonSize, buttonType };
//# sourceMappingURL=button.mjs.map
