import { createVNode } from 'vue';
import KeyCode from '../../../_util/KeyCode.mjs';

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

export { FilterDropdownMenuWrapper as default };
//# sourceMappingURL=FilterWrapper.mjs.map
