"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.imagesGroupSourceJSON = exports.getDefaultJSON = void 0;

var _uuid = require("uuid");

var imagesGroupSourceJSON = function imagesGroupSourceJSON() {
  var groupId = (0, _uuid.v4)();
  return {
    id: groupId,
    groupName: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      text: 'Image Name'
    },
    image: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      open: true,
      type: 'IMAGE',
      content: {
        h5Name: 'name2',
        pcName: 'name2',
        h5ImgSrc: '',
        pcImgSrc: '',
        clickUrl: ''
      },
      hover: {
        open: false,
        backgroundType: 'enlarge',
        magnification: 1.5,
        pcImgHoverUrl: '',
        h5ImgHoverUrl: ''
      }
    }
  };
};

exports.imagesGroupSourceJSON = imagesGroupSourceJSON;

var getDefaultJSON = function getDefaultJSON() {
  return {
    id: (0, _uuid.v4)(),
    type: 'IMAGEGALLERY',
    groupSource: [imagesGroupSourceJSON()],
    customize: {
      layout: 'layout1',
      align: 'left'
    },
    background: {
      opacity: 100,
      color: '#F2F2F2',
      image: '',
      bgType: 'color'
    }
  };
};

exports.getDefaultJSON = getDefaultJSON;