"use strict";

var _react = _interopRequireDefault(require("react"));
var _react2 = require("@storybook/react");
var _index = _interopRequireDefault(require("./index"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var colorPalettes = [{
  colors: [{
    identifier: 'black',
    hex_value: '000000',
    title: 'schwarz'
  }, {
    identifier: 'white',
    hex_value: 'ffffff',
    title: 'weiß'
  }, {
    identifier: 'yellow',
    hex_value: 'ffb800',
    title: 'gelb'
  }, {
    identifier: 'red',
    hex_value: 'f73429',
    title: 'rot'
  }, {
    identifier: 'blue',
    hex_value: '0078b8',
    title: 'blau'
  }, {
    identifier: 'pink',
    hex_value: 'ca0f86',
    title: 'rosa'
  }, {
    identifier: 'green',
    hex_value: '007755',
    title: 'grün'
  }, {
    identifier: 'brown',
    hex_value: '7e4531',
    title: 'braun'
  }, {
    identifier: 'gold',
    hex_value: '917b4c',
    title: 'gold'
  }, {
    identifier: 'silver',
    hex_value: '84888b',
    title: 'silber'
  }],
  identifier: 'default',
  title: 'Standardfarben'
}];
var vectorizeColorsMap = {
  '#fbc01f': '#fbc01f',
  '#fcb70f': '#fcb70f',
  '#fcca35': '#fcca35',
  '#fcd653': '#fcd653',
  '#feac0d': '#feac0d',
  '#ffffff': '#ffffff'
};
//Object.assign(vectorizeColorsMap, {key3: "value3"});
(0, _react2.storiesOf)('ImageColorize', module).add('default', function () {
  return /*#__PURE__*/_react["default"].createElement(_index["default"], {
    colorPalettes: colorPalettes,
    vectorizeThreshold: 5,
    vectorizeMonochrome: false,
    vectorizeColorsMap: vectorizeColorsMap,
    maxColorAmount: "4"
  });
});