import '../../../utils/index.mjs';
import '../../../constants/index.mjs';
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
import { mutable } from '../../../utils/typescript.mjs';
import { isArray } from '@vue/shared';
import { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';

const UnidirectionalTransferProps = buildProps({
  data: {
    type: definePropType(Array),
    default: () => []
  },
  filterPlaceholder: String,
  filterMethod: {
    type: definePropType(Function)
  },
  modelValue: {
    type: definePropType(Array),
    default: () => []
  },
  filterable: Boolean,
  props: {
    type: definePropType(Object),
    default: () => mutable({
      label: "label",
      key: "key",
      disabled: "disabled",
      children: "children"
    })
  }
});
const UnidirectionalTransferCheckedChangeFn = (value) => [value].every(isArray);
const UnidirectionalTransferEmits = {
  [CHANGE_EVENT]: (value) => isArray(value),
  [UPDATE_MODEL_EVENT]: (value) => isArray(value)
};

export { UnidirectionalTransferCheckedChangeFn, UnidirectionalTransferEmits, UnidirectionalTransferProps };
//# sourceMappingURL=transfer.mjs.map
