

export type BaseOptions = {
  width: string
  isWidth: boolean
  defaultValue: string
  dataType: string
  validateType: string
  advancedProperty: string
  placeholder: string
  basicsProperty: string
  validate: string
  isCountDate: boolean
  showCondition: {
    target: string
    fieldPath: string
    value: string
  }
  isStartDate: string
  isEndDate: string
  countFormat: string
  bindIdentityjson: {}
  isBindPreAndSufFix: boolean
  validateList: any[]
  disabled: boolean
  formulasDiyJs: string
  lableColor: string
  mathExp: string
  bindPreAndSufFixjson: {
    preFix: string
    sufSix: string
  }
}
export type BaseWidgets = {
  icon: string
  ctrlType: string
  name: string
  desc: string
  key: string
  target: string
  boDefId: string
  boAttrId: string
  fieldPath: string
  title: string
  entId: string
  boDefAlias: string
  tableName: string
  columnType: string
  options: BaseOptions | {}
}

export type GridColumns = {
  span: number
  list: BaseWidgets[]
}
export type GridLayoutWidgets= {
  name: string
  isLayout: boolean
  ctrlType: string
  icon: string
  desc: string
  columns: GridColumns[]
  options: {
    gutter: number
    justify: string
    align: string
  }
  key: stirng
}

