'use strict';

var vue = require('vue');

const OverflowContextProviderKey = Symbol("OverflowContextProviderKey");
const OverflowContextProvider = vue.defineComponent({
  compatConfig: { MODE: 3 },
  name: "OverflowContextProvider",
  inheritAttrs: false,
  props: {
    value: { type: Object }
  },
  setup(props, { slots }) {
    vue.provide(
      OverflowContextProviderKey,
      vue.computed(() => props.value)
    );
    return () => {
      var _a;
      return (_a = slots.default) == null ? void 0 : _a.call(slots);
    };
  }
});
function useInjectOverflowContext() {
  return vue.inject(
    OverflowContextProviderKey,
    vue.computed(() => null)
  );
}

exports.OverflowContextProvider = OverflowContextProvider;
exports.useInjectOverflowContext = useInjectOverflowContext;
//# sourceMappingURL=context.cjs.map
