export const response = {
  metaEntities: [
    {
      _id: "5a1ca34159a2c83f49e324b8",
      type: "LAYOUT",
      definition: {
        standalone: {
          sections: [
            {
              type: 'parent',
              childSections: [
                {
                  type: "multicols",
                  width: 16,
                  inputFields: [
                    {
                      cols: [


                      ],
                    },
                  ],
                  actionFields: [

                  ],
                },
                {
                  type: "parent",

                  childSections: [
                    {

                      width: 14,
                      type: "parent",
                      childSections: [
                        {
                          type: "multicols",
                          inputFields: [
                            {
                              cols: [
                                {
                                  id: "template-name",
                                  placeholder: "Enter template name",
                                  type: "input",
                                  label: "Creative name",
                                  metaType: "text",
                                  datatype: "string",
                                  required: true,
                                  fluid: true,
                                  styling: "semantic",
                                  order: 1,
                                  width: 18,
                                  customComponent: false,
                                  standalone: true,
                                  onlyDisplay: false,
                                  errorMessage: "Template name cannot be empty.",
                                  supportedEvents: [
                                    "onChange",
                                  ],
                                },
                              ],
                            },
                          ],
                        },
                        {
                          type: "multicols",
                          inputFields: [
                            {
                              rowClassName: 'tag-container',
                              cols: [
                                {
                                  style: {marginBottom: 'unset', height: '24px'},
                                  width: 18,
                                  id: "tagList",
                                  label: "Add label",
                                  className: 'add-label',
                                  type: "tag-list",
                                  metaType: "List",
                                  datatype: "select",
                                  required: true,
                                  fluid: true,
                                  onlyDisplay: true,
                                  styling: "semantic",
                                  order: 1,
                                  customComponent: true,
                                  supportedEvents: [
                                    "onTagSelect",
                                  ],
                                },
                              ],
                            },
                          ],
                        },
                        {
                          type: "multicols",

                          inputFields: [
                            {
                              rowClassName: 'sms-message-content',
                              cols: [
                                {
                                  id: "sms-editor",
                                  label: 'Message',
                                  type: "textarea",
                                  metaType: "text",
                                  datatype: "string",
                                  style: {marginBottom: '16px'},
                                  required: true,
                                  errorMessage: "Template content has unsupported/missing tags!",
                                  placeholder: "Please input sms template content.",
                                  fluid: true,
                                  styling: "semantic",
                                  onlyDisplay: false,
                                  width: 18,
                                  autosize: true,
                                  autosizeParams: {
                                    maxRows: 18,
                                    minRows: 3,
                                  },
                                  order: 2,
                                  customComponent: true,
                                  supportedEvents: [
                                    "onChange",
                                  ],
                                },
                              ],
                            }, {
                              rowClassName: 'sms-count-container',
                              rowStyle: {
                                bottom: '8px',
                                fontSize: '12px',
                              },
                              cols: [
                                {
                                  id: 'sms-count',
                                  type: 'div',
                                  props: {type: 'label3'},
                                  onlyDisplay: true,
                                  metaType: "label",
                                  value: "",
                                  primitive: true,
                                  width: 18,
                                  style: {
                                    float: 'right',
                                  },
                                },
                              ],
                            },
                            {
                              cols: [
                                {
                                  id: "unicode-validity",
                                  label: "Allow Unicode characters",
                                  supportedEvents: [
                                    "onChange",
                                  ],
                                  labelStyle: {
                                    backgroundColor: "white",
                                  },


                                  type: "checkbox",
                                  metaType: "text",
                                  datatype: "boolean",
                                  required: true,
                                  fluid: true,
                                  styling: "semantic",
                                  order: 1,
                                  width: 18,
                                  onlyDisplay: false,
                                  errorMessage: "Unicode characters were detected in your content.",
                                  customComponent: false,
                                },
                              ],
                            },
                          ],
                          actionFields: [

                          ],
                        },
                      ],
                    },
                    {
                      width: 8,
                      type: "multicols",

                      inputFields: [
                        {
                          cols: [
                            {
                              id: "sms-preview",
                              type: "sms-preview",
                              customComponent: true,
                              customStyling: {
                                padding: "0",
                              },
                              metaType: "preview",
                              required: true,
                              fluid: true,
                              styling: "semantic",
                              order: 1,
                              onlyDisplay: true,
                              offset: 7,
                              channel: "SMS",
                              charCounterEnabled: true,
                            },
                          ],
                        },
                      ],
                    },
                  ],
                },
                {
                  type: "multicols",
                  inputFields: [
                    {
                      rowClassName: 'creatives-sms-footer',
                      cols: [
                        {
                          id: "save-button",
                          metaType: "submit-button",
                          colStyle: {marginRight: '16px'},
                          type: "button",
                          buttonType: "primary",
                          value: "Save",
                          customComponent: false,
                          styling: "semantic",
                          order: 3,
                          fluid: true,
                          standalone: true,
                          onlyDisplay: true,
                          submitAction: "saveFormData",
                          supportedEvents: [
                            "saveFormData",
                          ],
                        },
                        {
                          id: "test-and-preview-button",
                          metaType: "submit-button",
                          colStyle: {marginRight: '16px'},
                          type: "button",
                          buttonType: "secondary",
                          value: "Preview and Test",
                          customComponent: false,
                          styling: "semantic",
                          order: 4,
                          fluid: true,
                          standalone: true,
                          onlyDisplay: true,
                          submitAction: "onClick",
                          supportedEvents: [
                            "onClick",
                          ],
                        },
                        // {
                        //   id: "discard-button",
                        //   metaType: "submit-button",

                        //   type: "button",
                        //   buttonType: "secondary",
                        //   value: "Discard changes",
                        //   customComponent: false,
                        //   standalone: true,
                        //   styling: "semantic",
                        //   order: 3,
                        //   fluid: true,
                        //   submitAction: "discardValues",
                        //   onlyDisplay: true,
                        //   supportedEvents: [
                        //     "discardValues",
                        //   ],
                        // },


                      ],
                    },
                  ],
                  actionFields: [

                  ],
                },

              ],
            },

          ],

        },
        channel: "SMS",
      },
      isActive: true,
      createdBy: 4,
      updatedBy: 15000449,
      createdAt: "2017-11-27T23:44:01.112Z",
      updatedAt: "2017-12-21T12:27:34.626Z",
    },
  ],
};
