'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
require('../../../utils/index.js');
require('../../../hooks/index.js');
require('../../../constants/index.js');
var props = require('../../../utils/vue/props.js');
var size = require('../../../constants/size.js');
var index = require('../../../hooks/use-global-config/index.js');

const configProviderProps = props.buildProps({
  a11y: {
    type: Boolean,
    default: true
  },
  locale: {
    type: props.definePropType(Object)
  },
  size: {
    type: String,
    values: size.componentSizes,
    default: ""
  },
  button: {
    type: props.definePropType(Object)
  },
  experimentalFeatures: {
    type: props.definePropType(Object)
  },
  keyboardNavigation: {
    type: Boolean,
    default: true
  },
  zIndex: {
    type: Number
  },
  namespace: {
    type: String,
    default: "el"
  }
});
var ConfigProvider = vue.defineComponent({
  name: "PsConfigProvider",
  props: configProviderProps,
  setup(props, { slots }) {
    const config = index.provideGlobalConfig(props);
    return () => vue.renderSlot(slots, "default", { config: config == null ? void 0 : config.value });
  }
});

exports.configProviderProps = configProviderProps;
exports["default"] = ConfigProvider;
//# sourceMappingURL=config-provider.js.map
