"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = ImageGalleryConfig;

var _react = _interopRequireDefault(require("react"));

var _ImageGalleryConfigImageGroup = _interopRequireDefault(require("./ImageGalleryConfigImageGroup"));

var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));

var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));

var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-panels/CustomizeConfig"));

var _layout = require("../../../../constants/layout");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function ImageGalleryConfig(props) {
  var data = props.data;
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
    divider: "bold",
    headerSize: "large",
    source: [{
      key: '1',
      name: 'Image',
      value: /*#__PURE__*/_react["default"].createElement(_ImageGalleryConfigImageGroup["default"], {
        source: data.groupSource
      })
    }, // { key: '2', name: 'Spacing', value: <CustomizeConfig data={data.customize} layoutSource={imageGalleryLayout} /> },
    {
      key: '5',
      name: 'Customize',
      value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
        data: data.customize,
        layoutSource: _layout.imageGalleryLayout
      })
    }, {
      key: '6',
      name: 'Background',
      value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
        data: data.background
      })
    }],
    type: "triangle"
  }));
}