/**
 * ldesign v0.2.2
 * (c) 2022年9月20日 swimly
 * @license MIT
 */

'use strict';

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

var VueCompositionAPI = require('@vue/composition-api');
var hooks_useConfig = require('../../../hooks/use-config.js');
require('../../config-provider/useConfig.js');
require('../../config-provider/context.js');
require('lodash');
require('../../../chunks/zh_CN.js');

var BASE_COMPONENT_NAME = "color-picker";
var useBaseClassName = function useBaseClassName(className) {
  var baseClassName = hooks_useConfig.usePrefixClass(BASE_COMPONENT_NAME);
  return VueCompositionAPI.computed(function () {
    return className ? "".concat(baseClassName.value, "-").concat(className) : baseClassName.value;
  });
};

exports["default"] = useBaseClassName;
exports.useBaseClassName = useBaseClassName;
//# sourceMappingURL=index.js.map
