/// import type { CustomQuery, FormItem } from '@sinoform/types'; import type { FormState } from '@sinoui/rx-form-state'; import type { RestPageResponseInfo } from '@sinoui/use-rest-page-api'; export interface DoneListPageContextType { /** * 表格数据源 */ dataSource: RestPageResponseInfo; /** * 表单id */ formId: string; /** * 查询区域formState */ searchConditionsForm: FormState; /** * 是否启用了列表定制 */ enableCustomColumn?: boolean; /** * 是否开启了查询项定制 */ enableCustomQuery?: boolean; /** * 展示列(通过自定义列转化为标准配置之后的列配置) */ columns?: FormItem[]; /** * 定制查询条件配置 */ customQuery?: CustomQuery[]; /** * 搜索 * */ onSearch?: () => void; /** * 重置 */ onReset?: () => void; /** * 所有可用于作为列表项的表单项 */ allFields?: FormItem[]; /** * 请求接口 */ url: string; /** * 查询条件是否默认展开: 0折叠 1展开 */ defaultExpandQuery?: '0' | '1'; } declare const DoneListPageContext: import("react").Context; export default DoneListPageContext;