
// 基础控件 【左面板】
export const basicComponents = [
  {
    config: {
      label: "单行输入",
      tagIcon: "icon-ym icon-ym-generator-input",
      dragDisabled: false
    },
    info: {
      fieldType: "INPUT",
      fieldTypeMscode: "INPUT",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '单行输入',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "多行输入",
      tagIcon: "icon-ym icon-ym-generator-textarea",
      dragDisabled: false,
    },
    info: {
      fieldType: "TEXTAREA",
      fieldTypeMscode: "TEXTAREA",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '多行输入',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },

  },
  {
    config: {
      label: "数字输入",
      tagIcon: "icon-ym icon-ym-generator-number",
      dragDisabled: false,
    },
    info: {
      fieldType: "NUMBER",
      fieldTypeMscode: "NUMBER",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '数字输入',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },

  },
  {
    config: {
      label: "单选框组",
      tagIcon: "icon-ym icon-ym-generator-radio",
      dragDisabled: false,
    },
    info: {
      fieldType: "RADIO",
      fieldTypeMscode: "RADIO",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '单选框组',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "多选框组",
      tagIcon: "icon-ym icon-ym-generator-checkbox",
    },
    info: {
      fieldType: "CHECKBOX",
      fieldTypeMscode: "CHECKBOX",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '多选框组',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "下拉选择",
      tagIcon: "icon-ym icon-ym-generator-select",
      dragDisabled: false,
    },
    info: {
      fieldType: "SELECT",
      fieldTypeMscode: "SELECT",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '下拉选择',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "日期选择",
      tagIcon: "icon-ym icon-ym-generator-date",
      dragDisabled: false
    },
    info: {
      fieldType: "DATE",
      fieldTypeMscode: "DATE",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '日期选择',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "时间选择",
      tagIcon: "icon-ym icon-ym-generator-time",
      dragDisabled: false
    },
    info: {
      fieldType: "DATETIME",
      fieldTypeMscode: "DATETIME",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '时间选择',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "文件上传",
      tagIcon: "icon-ym icon-ym-generator-upload",
      dragDisabled: false,
    },
    info: {
      fieldType: "UPLOAD",
      fieldTypeMscode: "UPLOAD",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '文件上传',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
  {
    config: {
      label: "文本提示",
      tagIcon: "icon-ym icon-ym-generator-textarea",
      dragDisabled: false,
    },
    info: {
      fieldType: "INPUT",
      fieldTypeMscode: "INPUT",
      itsmFormCode: "",
      parentFieldCode: "0",
      version: null,
      itsmProNum: '',
      itsmProName: '',
      itsmFieldName: '文本提示',
      sort: null,
      fieldOperantConfig: null,
      valueType: null,
      fieldValue: null,
      isHidden: "2",
      isDisable: "2",
      isRequired: "2",
      isDisplay: "1",
      isApi: null,
      fieldApi: null,
      regex: null,
      fieldModule: null,
      moduleSort: null,
      minValue: null,
      minValueUnit: null,
      maxValue: null,
      maxValueUnit: null,
      placeholder: null,
      moduleFileId: null,
      moduleFileName: null,
      fileCount: null,
      changeCode: null,
      parentDefault: null
    },
  },
];


