import { PropType, ExtractPropTypes } from 'vue'; import { UserComponent } from '../ele-app/types'; import { EleMessageOptions } from '../ele-app/plus'; import { DataItem } from '../ele-data-table/types'; import { Datasource } from '../ele-pro-table/types'; import { ProFormItemTypeData, ScreenSize } from '../ele-pro-form/types'; import { CrudField, ListConfig, SearchConfig, EditConfig, PageConfig, DeleteApi, EditApi, TreeListApi, CrudLocale } from './types'; /** * 属性 */ export declare const crudProps: { /** 字段数据 */ fields: PropType; /** 列表配置 */ listConfig: PropType; /** 搜索栏配置 */ searchConfig: { type: PropType; default: () => null; }; /** 添加配置 */ addConfig: { type: PropType; default: () => null; }; /** 修改配置 */ editConfig: { type: PropType; default: () => null; }; /** 页面配置 */ pageConfig: PropType; /** 高级表单组件 */ proFormComponent: PropType; /** 表格数据接口 */ listApi: PropType; /** 删除数据接口 */ deleteApi: PropType; /** 添加数据接口 */ addApi: PropType; /** 修改数据接口 */ editApi: PropType; /** 侧栏树组件数据接口 */ treeListApi: PropType> | TreeListApi | string>; /** 消息提示组件属性 */ messageOptions: PropType; /** 高级表单组件类型数据 */ itemTypeData: PropType; /** 远程数据源请求工具 */ httpRequest: (ObjectConstructor | FunctionConstructor)[]; /** 屏幕尺寸 */ screenSize: PropType; /** 国际化 */ locale: PropType>; }; export type CrudProps = ExtractPropTypes; /** * 事件 */ export declare const crudEmits: { /** 表格多选数据改变事件 */ tableSelectionsChange: (_selections: DataItem[]) => boolean; };