import * as React from 'react'; import { FormInstance } from 'kts-components-antd-x4/lib/form'; /** Props接口 */ interface IProps { } declare class UIComponents extends React.Component { formRef: React.RefObject>; constructor(props: any); componentDidMount(): void; onBatchDeleteProduct: () => void; onDeleteProduct: (ids: any) => Promise; onDelete: (id: any) => Promise; convertDateFormat(dateStr: string): string; onDeleteTime: (valueToRemove: any) => void; getAllTemplate: () => Promise; getTemplate: (uuid: any) => Promise; timeColumns: ({ title: string; dataIndex: string; render: (text: any, record: any, index: any) => any; width?: undefined; } | { title: string; dataIndex: string; width: number; render: (text: any, record: any) => JSX.Element; })[]; productsColumns: ({ title: string; dataIndex: string; render: (text: any) => JSX.Element; width?: undefined; } | { title: string; dataIndex: string; render: (text: any) => string; width?: undefined; } | { title: string; dataIndex: string; width: number; render: (text: any, record: any) => JSX.Element; })[]; /** * 更新schema和column数据 * @param data 模板数据 */ updateSchema: (data: any) => void; clearSelectedKeys: () => void; onUpdate: (record: any) => void; onPageChange: (pageNum: any, pageSize: any) => void; onProductPageChange: (pageNum: any, pageSize: any) => void; onRefresh: () => void; getData: (params: any) => Promise; getProductsData: (params?: any) => Promise; formatSingleDate: (dateString: any) => string; formatDateRange: (dateRange: any) => string; getTimeData: () => Promise; onAdd: () => void; onCloseAdd: () => void; onCloseTimeAdd: () => void; onRefreshTimes: () => void; onRefreshProducts: () => void; onSuccessTimeAdd: () => void; onSuccessProductAdd: () => void; onCloseProductAdd: () => void; onSuccessAdd: () => void; onCloseUpdate: () => void; onSuccessUpdate: () => void; onSearch: (data?: any) => void; templateChange: (e: any) => void; topExpand: () => false | JSX.Element; handleMenuClick: (e: any) => void; onBand: () => void; onExport: () => Promise; setHistory: (value: any) => void; onImport: () => void; onCloseExcel: () => void; creatTime: () => void; creatProduct: (record?: any) => void; render(): JSX.Element; } export default UIComponents;