import { jsx } from 'react/jsx-runtime';
import Select from '../Select/index.js';
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
import '../_verture/defineProperty-62acccfc.js';
import '../_verture/typeof-498dd2b1.js';
import '../_verture/toConsumableArray-81040c9e.js';
import '../_verture/unsupportedIterableToArray-cb478f24.js';
import '../_verture/slicedToArray-76060636.js';
import 'react';
import '../Empty/index.js';
import 'clsx';
import '../_verture/useFormatMessage-703f8b20.js';
import '@para-ui/core/GlobalContext';
import '../_verture/useGlobalProps-1b846a65.js';
import '../_verture/style-inject.es-300983ab.js';
import '../Label/index.js';
import '../_verture/tslib.es6-55ed4bd2.js';
import '../Help/index.js';
import '../Tooltip/index.js';
import 'rc-tooltip';
import 'rc-tooltip/lib/placements';
import '@iam-com/icons/Help';
import '../_verture/index-fac03ce3.js';
import 'rc-dropdown';
import '../_verture/usePopupContainer-87febeb9.js';
import 'dayjs';
import '@iam-com/lib';
import '@iam-com/icons/Close';
import '@iam-com/icons/CloseCircle';
import '@iam-com/icons/Down';
import '@iam-com/icons/Check';
import '@iam-com/icons/Search';
import '../AutoTips/index.js';
import '../Loading/index.js';
import '@iam-com/icons/LoadingF';
import '../Popover/index.js';
import '../HelperText/index.js';

var SelectInput = function SelectInput(props) {
  var handClass = function handClass() {
    var str = $prefixCls + '-select-input';
    if (props.className) str += ' ' + props.className;
    return str;
  };
  return jsx(Select, Object.assign({}, props, {
    list: props.list || [],
    className: handClass(),
    showSelect: props.showSelect,
    searchModel: props.showSelect === false ? 'outside' : props.searchModel,
    search: true,
    input: true
  }));
};

export { SelectInput, SelectInput as default };
