import '../../../utils/index.mjs';
import { validateSearch, filterOption } from './util.mjs';
import { tuple, arrayType } from '../../../utils/vue/propType.mjs';
import PropTypes from '../../../utils/vue/vueTypes.mjs';
import { initDefaultProps } from '../../../utils/vue/initDefaultProps.mjs';

const PlaceMent = tuple("top", "bottom");
const mentionsProps = {
  autofocus: { type: Boolean, default: void 0 },
  prefix: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),
  prefixCls: String,
  value: String,
  disabled: { type: Boolean, default: void 0 },
  split: String,
  transitionName: String,
  placement: PropTypes.oneOf(PlaceMent),
  character: PropTypes.any,
  characterRender: Function,
  filterOption: {
    type: [Boolean, Function]
  },
  validateSearch: Function,
  getPopupContainer: {
    type: Function
  },
  options: arrayType(),
  loading: { type: Boolean, default: void 0 },
  rows: [Number, String],
  direction: { type: String }
};
const vcMentionsProps = {
  ...mentionsProps,
  dropdownClassName: String
};
const defaultProps = {
  prefix: "@",
  split: " ",
  rows: 1,
  validateSearch: validateSearch,
  filterOption: () => filterOption
};
var mentionsProps$1 = initDefaultProps(vcMentionsProps, defaultProps);

export { PlaceMent, mentionsProps$1 as default, defaultProps, mentionsProps, vcMentionsProps };
//# sourceMappingURL=mentionsProps.mjs.map
