import '../../../utils/index.mjs';
import { theme } from 'ant-design-vue';
import { buildProps, definePropType } from '../../../utils/props/runtime.mjs';

"use strict";
const componentSize = ["small", "middle", "large"];
var THEME_ENUM = /* @__PURE__ */ ((THEME_ENUM2) => {
  THEME_ENUM2["technology-blue"] = "technology-blue";
  THEME_ENUM2["cyan-blue"] = "cyan-blue";
  THEME_ENUM2["dark"] = "dark";
  THEME_ENUM2["gray"] = "gray";
  return THEME_ENUM2;
})(THEME_ENUM || {});
const DEFAULT_THEME_MODE = "technology-blue" /* technology-blue */;
const { defaultAlgorithm } = theme;
const configProviderProps = buildProps({
  // buildProps和defineprops一样
  /**
   * @description 设置为 false 时，移除按钮中 2 个汉字之间的空格
   */
  autoInsertSpaceInButton: {
    type: Boolean,
    default: false
  },
  /**
   * @description 设置 antd 组件大小
   */
  componentSize: {
    type: String,
    values: componentSize
  },
  /**
   * @description 设置 antd主题
   */
  theme: {
    type: definePropType(Object),
    default: () => ({
      type: DEFAULT_THEME_MODE,
      extraToken: {},
      inherit: true,
      algorithm: defaultAlgorithm
    })
  },
  /**
   * @description 多语言
   */
  locale: {
    type: definePropType(Object)
  }
});

export { DEFAULT_THEME_MODE, THEME_ENUM, configProviderProps };
//# sourceMappingURL=config-provider.mjs.map
