import '../../button/index.mjs';
import { QuestionFilled } from '@element-plus/icons-vue';
import { buildProps, definePropType } from '../../../utils/props.mjs';
import { buttonType } from '../../button/src/button2.mjs';

const popconfirmProps = buildProps({
  title: {
    type: String
  },
  content: {
    type: String
  },
  confirmButtonText: {
    type: String
  },
  cancelButtonText: {
    type: String
  },
  confirmButtonType: {
    type: String,
    values: buttonType,
    default: "primary"
  },
  cancelButtonType: {
    type: String,
    values: buttonType
  },
  icon: {
    type: definePropType([String, Object]),
    default: QuestionFilled
  },
  iconColor: {
    type: String,
    default: "#f90"
  },
  hideIcon: {
    type: Boolean,
    default: false
  }
});
const popconfirmEmits = {
  confirm: () => true,
  cancel: () => true
};

export { popconfirmEmits, popconfirmProps };
//# sourceMappingURL=popconfirm2.mjs.map
