import _extends from "@babel/runtime/helpers/esm/extends";
import omit from '../_util/omit';
import '../tooltip';
import { colorPickerProps as vcColorPickerProps } from '../vc-color-picker';
import '../config-provider';
import { pick } from 'lodash';
import { popoverProps } from '../popover';
export const FORMAT_HEX = 'hex';
export const FORMAT_RGB = 'rgb';
export const FORMAT_HSB = 'hsb';
export const colorPickerProps = () => _extends(_extends(_extends({}, omit(vcColorPickerProps(), ['onChange', 'value', 'defaultValue', 'panelRender', 'disabledAlpha', 'onChangeComplete', 'components'])), pick(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
});