import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from 'vue'; import { _ as _sfc_main$1 } from '../Popper/PopperAnchor.js'; import { u as useForwardExpose } from '../shared/useForwardExpose.js'; import { P as Primitive } from '../Primitive/Primitive.js'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "ComboboxAnchor", props: { reference: {}, asChild: { type: Boolean }, as: {} }, setup(__props) { const { forwardRef } = useForwardExpose(); return (_ctx, _cache) => { return openBlock(), createBlock(unref(_sfc_main$1), { "as-child": "", reference: _ctx.reference }, { default: withCtx(() => [ createVNode(unref(Primitive), mergeProps({ ref: unref(forwardRef), "as-child": _ctx.asChild, as: _ctx.as }, _ctx.$attrs), { default: withCtx(() => [ renderSlot(_ctx.$slots, "default") ]), _: 3 }, 16, ["as-child", "as"]) ]), _: 3 }, 8, ["reference"]); }; } }); export { _sfc_main as _ }; //# sourceMappingURL=ComboboxAnchor.js.map