/** 字典Props配置 */ export interface DicProps { /** 行主键, 默认: 'id' */ rowKey: string; /** 行上级主键, 默认: 'parentId' */ rowParentKey: string; /** 节点主键, 默认: 'id' */ nodeKey: string; /** 名称属性值, 默认: 'label' */ label: string; /** 值属性值, 默认: 'value' */ value: string; /** , 默认: 'type' */ type: string; /** 降序, 默认: 'desc' */ desc: string; /** 分组, 默认: 'groups' */ groups: string; /** 标题, 默认: 'title' */ title: string; /** 是否为叶子节点, 默认: 'leaf' */ leaf: string; /** 子属性值, 默认: 'children' */ children: string; /** 是否有子节点, 默认: 'hasChildren' */ hasChildren: string; /** label文字, 默认: '名称' */ labelText: string; /** 禁用, 默认: 'disabled' */ disabled: string; } /** 接口请求Props配置 */ export interface DicHttpProps { /** 文件名Key, 默认: 'name' */ name: string; /** 文件路径Key, 默认: 'url' */ url: string; /** 文件类型, 默认: 'type' */ fileType: string; /** 文件上传时的文件字段名Key, 默认: 'file' */ fileName: string; /** 返回的数据格式, 默认: '' */ res: string; /** 文件路径前缀, 默认: '' */ home: string; } export namespace Variable { /** 字典Props配置 */ export const DIC_PROPS: DicProps; /** 接口请求Props配置 */ export const DIC_HTTP_PROPS: Omit; /** 时间单选类组件类型 */ export const SINGLE_DATE_LIST: string; /** 时间区间类组件类型 */ export const DATE_ARRAY_LIST: string; /** 时间类组件类型 */ export const DATE_LIST: string; /** 含子组件的带值组件类型 */ export const CHILDREN_LIST: string; /** input-开头的组件类型 */ export const INPUT_LIST: string; /** 纯数组的组件类型 */ export const ARRAY_LIST: string; /** 可单选/多选的组件类型 */ export const MULTIPLE_LIST: string; /** 范围组件类型 */ export const RANGE_LIST: string; /** 值为数组的组件类型 */ export const ARRAY_VALUE_LIST: string; /** 选择类的组件类型 */ export const SELECT_LIST: string; /** 数组转展示的分隔字符 */ export const DIC_SHOW_SPLIT: string; /** 数组转字符串的分隔字符 */ export const DIC_SPLIT: string; /** 媒体类型正则索引 */ export const typeList: Record; }