'use strict';

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

var vue = require('vue');
var KeyCode = require('../../../_util/KeyCode.js');

const onKeyDown = (event) => {
  const {
    keyCode
  } = event;
  if (keyCode === KeyCode.default.ENTER)
    event.stopPropagation();
};
const FilterDropdownMenuWrapper = (_props, {
  slots
}) => {
  var _a;
  return vue.createVNode("div", {
    "onClick": (e) => e.stopPropagation(),
    "onKeydown": onKeyDown
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
};

exports.default = FilterDropdownMenuWrapper;
//# sourceMappingURL=FilterWrapper.js.map
