/*
  Note 工具类
 */
import {commonTool} from "../../common/common"
/*
Note 定义自定义属性，公共属性从common文件里读取
author 叶章浩
 */
let editors= [
    '属性(身份证)',
    {
        field: 'property.busiId',
        text: '标签',
        type: 'string',
        isShow:'hide'
    },
    '扩展属性',

   /* {
        field: 'extend.type',
        text: '类型',
        type: 'inputSelect'
    },
    {
        field: 'extend.rows',
        text: '行数',
        type: 'number'
    },*/
    {
        field: 'extend.birthdayKey',
        text: '出身年月字段',
        type: 'cellBirth'
    },
    '高级',
    {
        field: 'data.heightLevel',
        text: '是否显示',
        type: 'idCardHeightLevel'
    },
    /*'元素联动检查是否隐藏',
    {
        field: 'extend.showFlag',
        text: '',
        type: 'showFlag'
    },
    '校验',
    {
        field: 'extend.validate',
        text: '',
        type: 'validateArr'
    },
    '联动',
     {
         field: 'extend.linkageChangeValue',
         text: '',
         type: 'linkageChangeValue'
     }*/
];
commonTool.assembleData(editors);
console.log(editors);
export const editSetting = {
    key: 'gaea-inputIDCard',
    name: '身份证号',
    level:4,
    editors:editors,
};
