"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _vue = require("vue");
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
const Palette = (0, _vue.defineComponent)({
  name: 'Palette',
  inheritAttrs: false,
  props: {
    style: Object,
    prefixCls: String
  },
  setup(props, {
    slots
  }) {
    return () => {
      var _a;
      return (0, _vue.createVNode)("div", {
        "class": `${props.prefixCls}-palette`,
        "style": (0, _extends2.default)({
          position: 'relative'
        }, props.style)
      }, [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]);
    };
  }
});
var _default = exports.default = Palette;