export const MOCK_1 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Nome",
            name: "name",
            type: "text",
            value: "",
            placeholder: "",
            maxLength: 100,
            required: true,
            validations: { minLength: 3 },
            validationErrors: {
              isDefaultRequiredValue: "O nome é obrigatório",
              minLength: "Deve possuir no minimo 3 caracteres"
            },
            width: 4
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "basicForm"
};

export const MOCK_2 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Senha",
            name: "password",
            type: "password",
            value: "",
            placeholder: "",
            maxLength: 100,
            required: true,
            validations: { minLength: 3 },
            validationErrors: {
              isDefaultRequiredValue: "A senha é obrigatória",
              minLength: "Deve possuir no minimo 3 caracteres"
            },
            width: 4
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "anotherForm"
};

export const MOCK_3 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Número do pedido",
            name: "orderNumber",
            type: "number",
            value: "",
            placeholder: "",
            maxLength: 100,
            required: false,
            validations: { minLength: 1, isNumeric: true },
            validationErrors: {
              minLength: "O pedido deve possuir número válido"
            },
            width: 4
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "numberForm"
};

export const MOCK_4 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Selecione o status",
            name: "status",
            type: "select",
            value: "",
            placeholder: "",
            required: true,
            validationErrors: {
              isDefaultRequiredValue: "O status é obrigatório"
            },
            width: 4,
            data: [
              {
                key: 1,
                text: "Ativo",
                value: 1
              },
              {
                key: 2,
                text: "Desativado",
                value: 2
              }
            ],
            multiple: false
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "numberForm"
};

export const MOCK_5 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Selecione suas habilidades",
            name: "multipleItens",
            type: "multiSelect",
            value: "images",
            placeholder: "",
            required: true,
            validationErrors: {
              isDefaultRequiredValue: "Selecione ao menos uma habilidade"
            },
            width: 4,
            data: [
              { key: 1, text: "CSS", value: "CSS" },
              { key: 2, text: "Go", value: "Go" },
              { key: 3, text: "HTML", value: "HTML" },
              { key: 4, text: "Java", value: "Java" },
              { key: 5, text: "JavaScript", value: "JavaScript" },
              { key: 6, text: "Python", value: "Python" }
            ],
            multiple: true
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "numberForm"
};

export const MOCK_6 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Descrição",
            name: "description",
            type: "textArea",
            value: "",
            placeholder: "",
            required: true,
            validations: { minLength: 3 },
            validationErrors: {
              isDefaultRequiredValue: "A descrição é obrigatório",
              minLength: "Deve possuir no minimo 3 caracteres"
            },
            width: 8
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "numberForm"
};

export const MOCK_7 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Aceito os termos de uso",
            name: "agree",
            type: "checkbox",
            value: "",
            placeholder: "",
            required: true,
            defaultChecked: false,
            validations: { isTrue: true },
            validationErrors: {
              isTrue: "Isso não é negociável",
              isDefaultRequiredValue: "Você precisa marcar essa seleção"
            },
            width: 16
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "numberForm"
};

export const MOCK_8 = {
  formTemplate: [
    {
      row: {
        fields: [
          {
            label: "Salvar",
            name: "phone",
            type: "submit",
            value: "",
            placeholder: "",
            color: "green",
            icon: "save",
            floated: "right",
            required: false,
            validations: {},
            validationErrors: {},
            width: 16
          }
        ]
      }
    }
  ],
  loading: false,
  refForm: "numberForm"
};
