"use strict";

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

var _uuid = require("uuid");

var ImageTextGroupSourceJSON = function ImageTextGroupSourceJSON() {
  var groupId = (0, _uuid.v4)();
  return {
    id: groupId,
    image: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      open: false,
      type: 'IMAGE',
      content: {
        h5Name: 'name2',
        pcName: 'name2',
        h5ImgSrc: '',
        pcImgSrc: '',
        clickUrl: ''
      },
      hover: {
        open: false,
        backgroundType: 'enlarge',
        magnification: 1.5,
        pcImgHoverUrl: '',
        h5ImgHoverUrl: ''
      }
    },
    title: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      open: true,
      type: 'TEXT',
      specialContent: [],
      text: 'Title of this group',
      content: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 600,
        fontSize: 12,
        color: '#232F46',
        width: 400
      },
      underline: {
        open: false,
        textDecorationColor: '',
        textDecorationStyle: 'solid'
      },
      vertical: {}
    },
    text: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      open: true,
      type: 'TEXT',
      specialContent: [],
      text: 'Please enter a description',
      content: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 400,
        fontSize: 10,
        color: '#8493AF',
        width: 500
      },
      underline: {},
      vertical: {}
    },
    button: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      open: true,
      type: 'BUTTON',
      text: 'Button',
      content: {
        url: '',
        backgroundColor: '#2F54EB'
      },
      buttonText: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 400,
        fontSize: 10,
        fontStyle: 'normal',
        color: '#fff',
        padding: '4px 6px'
      },
      buttonBorder: {
        open: true,
        borderColor: '',
        borderRadius: 6
      },
      buttonIcon: {
        iconUrl: '',
        layout: 'right'
      },
      hover: {
        open: false,
        content: {
          backgroundColor: '#0d39ed'
        },
        buttonText: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 600,
          fontSize: 14,
          fontStyle: 'normal',
          color: '#fff'
        },
        buttonBorder: {
          open: true,
          borderColor: '',
          borderRadius: 6
        },
        buttonIcon: {
          iconUrl: '',
          layout: 'right'
        }
      }
    },
    secondButton: {
      parentId: groupId,
      id: (0, _uuid.v4)(),
      open: false,
      type: 'BUTTON',
      text: 'More',
      content: {
        url: '',
        backgroundColor: '#fff'
      },
      buttonText: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 400,
        fontSize: 10,
        fontStyle: 'normal',
        color: '#2F54EB',
        padding: '4px 6px'
      },
      buttonBorder: {
        open: true,
        borderColor: '#2F54EB',
        borderRadius: 6
      },
      buttonIcon: {
        iconUrl: '',
        layout: 'right'
      },
      hover: {
        open: false,
        content: {
          backgroundColor: '#E9F0FF'
        },
        buttonText: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 600,
          fontSize: 14,
          fontStyle: 'normal',
          color: '#2F54EB'
        },
        buttonBorder: {
          open: true,
          borderColor: '#2F54EB',
          borderRadius: 6
        },
        buttonIcon: {
          iconUrl: '',
          layout: 'right'
        }
      }
    },
    background: {
      opacity: 100,
      // color: '#232F46',
      color: '#FFFFFF',
      image: '',
      bgType: 'color'
    },
    hover: {
      open: false,
      image: {
        parentId: groupId,
        id: (0, _uuid.v4)(),
        open: false,
        type: 'IMAGE',
        content: {
          h5Name: 'name2',
          pcName: 'name2',
          h5ImgSrc: '',
          pcImgSrc: '',
          clickUrl: ''
        },
        hover: {
          open: false,
          backgroundType: 'enlarge',
          magnification: 1.5,
          pcImgHoverUrl: '',
          h5ImgHoverUrl: ''
        }
      },
      title: {
        parentId: groupId,
        id: (0, _uuid.v4)(),
        open: false,
        type: 'TEXT',
        specialContent: [],
        text: '',
        content: {
          fontFamily: 'Open Sans',
          fontWeight: 700,
          fontSize: 28,
          color: '#232F46',
          width: 400
        },
        underline: {
          open: false,
          textDecorationColor: '',
          textDecorationStyle: 'solid'
        },
        vertical: {}
      },
      text: {
        id: (0, _uuid.v4)(),
        open: false,
        type: 'TEXT',
        specialContent: [],
        text: '',
        content: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 400,
          fontSize: 18,
          color: '#232F46',
          width: 500
        },
        underline: {},
        vertical: {}
      },
      button: {
        id: (0, _uuid.v4)(),
        open: false,
        type: 'BUTTON',
        text: 'Button',
        content: {
          url: '',
          backgroundColor: '#2F54EB'
        },
        buttonText: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 600,
          fontSize: 14,
          fontStyle: 'normal',
          color: '#fff'
        },
        buttonBorder: {
          open: false,
          borderColor: '',
          borderRadius: 6
        },
        buttonIcon: {
          iconUrl: '',
          layout: 'right'
        },
        hover: {
          open: false,
          content: {
            backgroundColor: '#0d39ed'
          },
          buttonText: {
            sizeType: 'Headline 1',
            fontFamily: 'Open Sans',
            fontWeight: 600,
            fontSize: 14,
            fontStyle: 'normal',
            color: '#fff'
          },
          buttonBorder: {
            open: true,
            borderColor: '',
            borderRadius: 6
          },
          buttonIcon: {
            iconUrl: '',
            layout: 'right'
          }
        }
      },
      secondButton: {
        id: (0, _uuid.v4)(),
        open: false,
        type: 'BUTTON',
        text: 'More',
        content: {
          url: '',
          backgroundColor: '#fff'
        },
        buttonText: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 600,
          fontSize: 14,
          fontStyle: 'normal',
          color: '#2F54EB'
        },
        buttonBorder: {
          open: true,
          borderColor: '#2F54EB',
          borderRadius: 6
        },
        buttonIcon: {
          iconUrl: '',
          layout: 'right'
        },
        hover: {
          open: false,
          content: {
            backgroundColor: '#E9F0FF'
          },
          buttonText: {
            sizeType: 'Headline 1',
            fontFamily: 'Open Sans',
            fontWeight: 600,
            fontSize: 14,
            fontStyle: 'normal',
            color: '#2F54EB'
          },
          buttonBorder: {
            open: true,
            borderColor: '#2F54EB',
            borderRadius: 6
          },
          buttonIcon: {
            iconUrl: '',
            layout: 'right'
          }
        }
      },
      background: {
        opacity: 100,
        color: '#232F46',
        image: '',
        bgType: 'color'
      }
    }
  };
};

exports.ImageTextGroupSourceJSON = ImageTextGroupSourceJSON;

var getDefaultJSON = function getDefaultJSON() {
  return {
    id: (0, _uuid.v4)(),
    type: 'IMAGE_TEXT',
    headline: {
      id: (0, _uuid.v4)(),
      open: true,
      type: 'TEXT',
      specialContent: [],
      text: 'Digital Maturity',
      content: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 600,
        fontSize: 28,
        color: '#232F46',
        width: 400
      },
      underline: {
        open: false,
        textDecorationColor: '',
        textDecorationStyle: 'solid'
      },
      vertical: {}
    },
    subtitle: {
      id: (0, _uuid.v4)(),
      open: true,
      type: 'TEXT',
      specialContent: [],
      text: 'Freedom to innovate and create with ODA compliant B/OSS solutions',
      content: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 400,
        textAlign: 'center',
        fontSize: 16,
        color: '#232F46',
        width: 400
      },
      underline: {
        open: false,
        textDecorationColor: '',
        textDecorationStyle: 'solid'
      },
      vertical: {}
    },
    button: {
      id: (0, _uuid.v4)(),
      open: true,
      type: 'BUTTON',
      text: 'Button',
      content: {
        url: '',
        backgroundColor: '#2F54EB'
      },
      buttonText: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 600,
        fontSize: 14,
        fontStyle: 'normal',
        color: '#fff',
        padding: '12px 20px'
      },
      buttonBorder: {
        open: true,
        borderColor: '',
        borderRadius: 6
      },
      buttonIcon: {
        iconUrl: '',
        layout: 'right'
      },
      hover: {
        open: false,
        content: {
          backgroundColor: '#0d39ed'
        },
        buttonText: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 600,
          fontSize: 14,
          fontStyle: 'normal',
          color: '#fff'
        },
        buttonBorder: {
          open: true,
          borderColor: '',
          borderRadius: 6
        },
        buttonIcon: {
          iconUrl: '',
          layout: 'right'
        }
      }
    },
    secondButton: {
      id: (0, _uuid.v4)(),
      open: false,
      type: 'BUTTON',
      text: 'Button',
      content: {
        url: '',
        backgroundColor: '#2F54EB'
      },
      buttonText: {
        sizeType: 'Headline 1',
        fontFamily: 'Open Sans',
        fontWeight: 600,
        fontSize: 14,
        fontStyle: 'normal',
        color: '#fff',
        padding: '12px 20px'
      },
      buttonBorder: {
        open: true,
        borderColor: '',
        borderRadius: 6
      },
      buttonIcon: {
        iconUrl: '',
        layout: 'right'
      },
      hover: {
        open: false,
        content: {
          backgroundColor: '#0d39ed'
        },
        buttonText: {
          sizeType: 'Headline 1',
          fontFamily: 'Open Sans',
          fontWeight: 600,
          fontSize: 14,
          fontStyle: 'normal',
          color: '#fff'
        },
        buttonBorder: {
          open: true,
          borderColor: '',
          borderRadius: 6
        },
        buttonIcon: {
          iconUrl: '',
          layout: 'right'
        }
      }
    },
    customize: {
      layout: {
        pcLayout: 'layout3',
        h5Layout: 'layout3-2'
      },
      align: 'center',
      rowNum: 2
    },
    background: {
      opacity: 100,
      color: '#FFFFFF',
      image: '',
      bgType: 'color'
    },
    groupSource: [ImageTextGroupSourceJSON()]
  };
};

exports.getDefaultJSON = getDefaultJSON;