/*
 * @Author: zhoux zhouxia@supervision.ltd
 * @Date: 2023-11-13 14:19:57
 * @LastEditors: zhoux zhouxia@supervision.ltd
 * @LastEditTime: 2023-11-16 16:30:31
 * @FilePath: \general-ai-platform-web\config\defaultForm.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE2
 */


// 通用表单配置
export const proFormCommonOptions: Record<string,any> = {
}

const formBoxMargin = 2 * 24
const formItemGap = 16
// Small 560
export const proFormSmallModelWidth: number = 560;
export const proFormSmallItemStyleProps: Record<string, any> = {
  width: proFormSmallModelWidth - formBoxMargin,  // 一列
  // column2Width: (proFormSmallModelWidth -  2 * formBoxMargin)/2 , // 两列
};

// normal 804
export const proFormModelWidth: number = 804;
export const proFormItemStyleProps: Record<string, any> = {
  width: proFormModelWidth - formBoxMargin,  // 一列
  column2Width: (proFormModelWidth - formBoxMargin - formItemGap)/2 , // 两列
};

// max 968
export const proFormMaxModelWidth: number = 968;
export const proFormMaxItemStyleProps: Record<string, any> = {
  width: proFormMaxModelWidth - formBoxMargin,
  column2Width: (proFormMaxModelWidth - formBoxMargin - formItemGap)/2 , // 两列
};