//  一些排版等基本配置值项 （后期可参考是否放入 locales内)
export default {
  // 表单 响应式排版
  formLayout: {
    labelCol: {
      xs: {
        span: 24
      },
      sm: {
        span: 5
      },
      md: {
        span: 4
      }
    },
    wrapperCol: {
      xs: {
        span: 24
      },
      sm: {
        span: 19
      },
      md: {
        span: 20
      }
    }
  },
  // 表单提交按钮位置排版
  submitFormLayout: {
    wrapperCol: {
      xs: {
        span: 24,
        offset: 0
      },
      sm: {
        span: 10,
        offset: 5
      },
      md: {
        span: 10,
        offset: 4
      }
    }
  },
  // 表单域宽度
  formItemStyle: {
    xs: {
      width: '60px'
    },
    sm: {
      width: '120px'
    },
    xsm: {
      width: '180px'
    },
    md: {
      width: '200px'
    },
    xmd: {
      width: '240px'
    },
    lg: {
      width: '300px'
    },
    xlg: {
      width: '450px'
    },
    xxlg: {
      width: '450px'
    },
    wide: {
      width: '100%'
    }
  },
  // layout为inline时的表单域宽度
  inlineFormItemStyle: {
    xs: {
      width: '100px'
    },
    sm: {
      width: '120px'
    },
    xsm: {
      width: '180px'
    },
    md: {
      width: '200px'
    },
    xmd: {
      width: '240px'
    },
    lg: {
      width: '260px'
    },
    xlg: {
      width: '280px'
    },
    xxlg: {
      width: '280px'
    },
    wide: {
      width: '100%'
    }
  },
  // 弹窗梯度大小及对应的表单栅格
  modalSize: {
    xs: {
      columnNumber: 1,
      // 栅格列数量
      width: 420,
      formLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      }
    },
    sm: {
      columnNumber: 1,
      // 栅格列数量
      width: 560,
      formLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      }
    },
    md: {
      columnNumber: 2,
      // 栅格列数量
      width: 780,
      formLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 14
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 19
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 16
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 20
        }
      }
    },
    // 宽度大，1000px下
    lg: {
      columnNumber: 3,
      // 栅格列数量
      width: 1000,
      formLayout: {
        labelCol: {
          span: 9
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 3
        },
        wrapperCol: {
          span: 21
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 16
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 20
        }
      }
    },
    // 超级宽度大，1200px下
    xlg: {
      columnNumber: 3,
      // 栅格列数量
      width: 1200,
      formLayout: {
        labelCol: {
          span: 9
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 3
        },
        wrapperCol: {
          span: 21
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 16
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 20
        }
      }
    },
    xxlg: {
      columnNumber: 4,
      // 栅格列数量
      width: 1400,
      formLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 16
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 2
        },
        wrapperCol: {
          span: 22
        }
      }
    }
  },
  // Drawer抽屉梯度大小及对应的表单栅格
  drawerSize: {
    // 同官方的default
    sm: {
      columnNumber: 1,
      // 栅格列数量
      width: 384,
      formLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      }
    },
    md: {
      columnNumber: 1,
      // 栅格列数量
      width: 576,
      formLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 7
        },
        wrapperCol: {
          span: 15
        }
      }
    },
    // 同官方的large
    lg: {
      columnNumber: 2,
      // 栅格列数量
      width: 768,
      formLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 14
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 19
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 16
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 20
        }
      }
    },
    // 宽度大，960px下
    xlg: {
      columnNumber: 3,
      // 栅格列数量
      width: 960,
      formLayout: {
        labelCol: {
          span: 9
        },
        wrapperCol: {
          span: 15
        }
      },
      formBlockLayout: {
        labelCol: {
          span: 3
        },
        wrapperCol: {
          span: 21
        }
      },
      filterFormLayout: {
        labelCol: {
          span: 8
        },
        wrapperCol: {
          span: 16
        }
      },
      filterFormBlockLayout: {
        labelCol: {
          span: 4
        },
        wrapperCol: {
          span: 20
        }
      }
    }
  }
};