import { defineComponent, createBlock, openBlock, mergeProps, unref, withCtx, renderSlot } from 'vue'; import { _ as _sfc_main$1 } from './MenuContentImpl.js'; import { u as useForwardPropsEmits } from '../shared/useForwardPropsEmits.js'; import { i as injectMenuContext } from './MenuRoot.js'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "MenuRootContentNonModal", props: { loop: { type: Boolean }, side: {}, sideOffset: {}, align: {}, alignOffset: {}, avoidCollisions: { type: Boolean }, collisionBoundary: {}, collisionPadding: {}, arrowPadding: {}, sticky: {}, hideWhenDetached: { type: Boolean }, positionStrategy: {}, updatePositionStrategy: {}, disableUpdateOnLayoutShift: { type: Boolean }, prioritizePosition: { type: Boolean }, reference: {}, asChild: { type: Boolean }, as: {} }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"], setup(__props, { emit: __emit }) { const props = __props; const emits = __emit; const forwarded = useForwardPropsEmits(props, emits); const menuContext = injectMenuContext(); return (_ctx, _cache) => { return openBlock(), createBlock(_sfc_main$1, mergeProps(unref(forwarded), { "trap-focus": false, "disable-outside-pointer-events": false, "disable-outside-scroll": false, onDismiss: _cache[0] || (_cache[0] = ($event) => unref(menuContext).onOpenChange(false)) }), { default: withCtx(() => [ renderSlot(_ctx.$slots, "default") ]), _: 3 }, 16); }; } }); export { _sfc_main as _ }; //# sourceMappingURL=MenuRootContentNonModal.js.map