"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.colorPickerProps = exports.FORMAT_RGB = exports.FORMAT_HSB = exports.FORMAT_HEX = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _omit = _interopRequireDefault(require("../_util/omit"));
require("../tooltip");
var _vcColorPicker = require("../vc-color-picker");
require("../config-provider");
var _lodash = require("lodash");
var _popover = require("../popover");
const FORMAT_HEX = exports.FORMAT_HEX = 'hex';
const FORMAT_RGB = exports.FORMAT_RGB = 'rgb';
const FORMAT_HSB = exports.FORMAT_HSB = 'hsb';
const colorPickerProps = () => (0, _extends2.default)((0, _extends2.default)((0, _extends2.default)({}, (0, _omit.default)((0, _vcColorPicker.colorPickerProps)(), ['onChange', 'value', 'defaultValue', 'panelRender', 'disabledAlpha', 'onChangeComplete', 'components'])), (0, _lodash.pick)((0, _popover.popoverProps)(), ['getPopupContainer', 'autoAdjustOverflow', 'destroyTooltipOnHide'])), {
  mode: [String, Array],
  value: [String, Array, Object],
  defaultValue: [String, Array, Object],
  open: Boolean,
  disabled: Boolean,
  placement: String,
  trigger: String,
  format: String,
  defaultFormat: String,
  allowClear: Boolean,
  presets: Array,
  arrow: [Boolean, Object],
  panelRender: Function,
  showText: [Boolean, Function],
  size: String,
  styles: Object,
  rootClassName: String,
  disabledAlpha: Boolean,
  onOpenChange: Function,
  onFormatChange: Function,
  onChange: Function,
  'onUpdate:value': Function,
  onClear: Function,
  onChangeComplete: Function,
  disabledFormat: Boolean
});
exports.colorPickerProps = colorPickerProps;