"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const popper = require("./popper.js");
const constants = require("./constants.js");
const vue = require("vue");
var popper_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
  name: "ElPopper",
  inheritAttrs: false,
  __name: "popper",
  props: popper.popperProps,
  setup(__props, { expose: __expose }) {
    const props = __props;
    const popperProvides = {
      triggerRef: vue.ref(),
      popperInstanceRef: vue.ref(),
      contentRef: vue.ref(),
      referenceRef: vue.ref(),
      role: vue.computed(() => props.role)
    };
    __expose(popperProvides);
    vue.provide(constants.POPPER_INJECTION_KEY, popperProvides);
    return (_ctx, _cache) => {
      return vue.renderSlot(_ctx.$slots, "default");
    };
  }
});
exports.default = popper_vue_vue_type_script_setup_true_lang_default;
