'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('../../../utils/index.js');
require('../../../constants/index.js');
var runtime = require('../../../utils/vue/props/runtime.js');
var typescript = require('../../../utils/typescript.js');
var shared = require('@vue/shared');
var event = require('../../../constants/event.js');

const DEFAULT_PROPS = {
  label: "label",
  key: "key",
  disabled: "disabled",
  children: "children"
};
const UnidirectionalTransferProps = runtime.buildProps({
  data: {
    type: runtime.definePropType(Array),
    default: () => []
  },
  filterPlaceholder: String,
  filterMethod: {
    type: runtime.definePropType(Function)
  },
  modelValue: {
    type: runtime.definePropType(Array),
    default: () => []
  },
  filterable: Boolean,
  props: {
    type: runtime.definePropType(Object),
    default: () => typescript.mutable(DEFAULT_PROPS)
  },
  renderContent: {
    type: Function,
    default: void 0
  }
});
const UnidirectionalTransferCheckedChangeFn = (value) => [value].every(shared.isArray);
const UnidirectionalTransferEmits = {
  [event.CHANGE_EVENT]: (value) => shared.isArray(value),
  [event.UPDATE_MODEL_EVENT]: (value) => shared.isArray(value),
  "change-nonexistent": (value) => shared.isArray(value)
};

exports.DEFAULT_PROPS = DEFAULT_PROPS;
exports.UnidirectionalTransferCheckedChangeFn = UnidirectionalTransferCheckedChangeFn;
exports.UnidirectionalTransferEmits = UnidirectionalTransferEmits;
exports.UnidirectionalTransferProps = UnidirectionalTransferProps;
//# sourceMappingURL=transfer.js.map
