import '../../../utils/index.mjs';
import { arrayType, booleanType, functionType, someType, objectType, stringType } from '../../../utils/vue/propType.mjs';
import PropTypes from '../../../utils/vue/vueTypes.mjs';

function transferProps() {
  return {
    "id": String,
    "prefixCls": String,
    "dataSource": arrayType([]),
    "disabled": booleanType(),
    "targetKeys": arrayType(),
    "selectedKeys": arrayType(),
    "render": functionType(),
    "listStyle": someType(
      [Function, Object],
      () => ({})
    ),
    "operationStyle": objectType(void 0),
    "titles": arrayType(),
    "operations": arrayType(),
    "showSearch": booleanType(false),
    "filterOption": functionType(),
    "searchPlaceholder": String,
    "notFoundContent": PropTypes.any,
    "locale": objectType(),
    "rowKey": functionType(),
    "showSelectAll": booleanType(),
    "selectAllLabels": arrayType(),
    "children": functionType(),
    "oneWay": booleanType(),
    "pagination": someType([Object, Boolean]),
    "status": stringType(),
    "onChange": functionType(),
    "onSelectChange": functionType(),
    "onSearch": functionType(),
    "onScroll": functionType(),
    "onUpdate:targetKeys": functionType(),
    "onUpdate:selectedKeys": functionType()
  };
}
function transferListBodyProps() {
  return {
    prefixCls: String,
    filteredRenderItems: PropTypes.array.def([]),
    selectedKeys: PropTypes.array,
    disabled: booleanType(),
    showRemove: booleanType(),
    pagination: PropTypes.any,
    onItemSelect: Function,
    onScroll: Function,
    onItemRemove: Function
  };
}
function transferListItemProps() {
  return {
    renderedText: PropTypes.any,
    renderedEl: PropTypes.any,
    item: PropTypes.any,
    checked: booleanType(),
    prefixCls: String,
    disabled: booleanType(),
    showRemove: booleanType(),
    onClick: Function,
    onRemove: Function
  };
}
const transferListProps = {
  prefixCls: String,
  dataSource: arrayType([]),
  filter: String,
  filterOption: Function,
  checkedKeys: PropTypes.arrayOf(PropTypes.string),
  handleFilter: Function,
  handleClear: Function,
  renderItem: Function,
  showSearch: booleanType(false),
  searchPlaceholder: String,
  notFoundContent: PropTypes.any,
  itemUnit: String,
  itemsUnit: String,
  renderList: PropTypes.any,
  disabled: booleanType(),
  direction: stringType(),
  showSelectAll: booleanType(),
  remove: String,
  selectAll: String,
  selectCurrent: String,
  selectInvert: String,
  removeAll: String,
  removeCurrent: String,
  selectAllLabel: PropTypes.any,
  showRemove: booleanType(),
  pagination: PropTypes.any,
  onItemSelect: Function,
  onItemSelectAll: Function,
  onItemRemove: Function,
  onScroll: Function
};
function transferSearchProps() {
  return {
    prefixCls: String,
    placeholder: String,
    value: String,
    handleClear: Function,
    disabled: { type: Boolean, default: void 0 },
    onChange: Function
  };
}

export { transferListBodyProps, transferListItemProps, transferListProps, transferProps, transferSearchProps };
//# sourceMappingURL=props.mjs.map
