'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 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({
      label: "label",
      key: "key",
      disabled: "disabled",
      children: "children"
    })
  }
});
const UnidirectionalTransferCheckedChangeFn = (value) => [value].every(shared.isArray);
const UnidirectionalTransferEmits = {
  [event.CHANGE_EVENT]: (value) => shared.isArray(value),
  [event.UPDATE_MODEL_EVENT]: (value) => shared.isArray(value)
};

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