/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

'use strict';

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

var props = {
  closeBtn: {
    type: [String, Boolean, Function],
    default: true
  },
  colorModes: {
    type: Array,
    default: () => ["monochrome", "linear-gradient"]
  },
  disabled: Boolean,
  enableAlpha: Boolean,
  format: {
    type: String,
    default: "RGB",
    validator(val) {
      if (!val) return true;
      return ["RGB", "RGBA", "HSL", "HSLA", "HSB", "HSV", "HSVA", "HEX", "CMYK", "CSS"].includes(val);
    }
  },
  inputProps: {
    type: Object
  },
  multiple: Boolean,
  popupProps: {
    type: Object
  },
  recentColors: {
    type: Array,
    default: () => []
  },
  defaultRecentColors: {
    type: Array,
    default: () => []
  },
  selectInputProps: {
    type: Object
  },
  swatchColors: {
    type: Array
  },
  value: {
    type: String,
    default: ""
  },
  defaultValue: {
    type: String,
    default: ""
  },
  onChange: Function,
  onPaletteBarChange: Function,
  onRecentColorsChange: Function
};

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