UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

40 lines (39 loc) 1.38 kB
import React from 'react'; import { RendererProps } from '../../../../../factory'; import { FormControlProps, FormBaseControl } from '../../../../Form/Item'; import { UploadProps } from 'antd/lib/Upload'; import '../../../font/iconfont.css'; interface IState { fileList: any[]; showfilelist: any; params: string; turtyfilelist: any[]; current: any; visible: boolean; } export interface LionShowFileSchema extends FormBaseControl { type: 'lion-show-file'; } export interface LionShowFileProps extends FormControlProps, Omit<LionShowFileSchema, 'type' | 'className' | 'descriptionClassName' | 'inputClassName'> { } export declare class LionShowFile extends React.PureComponent<LionShowFileProps & UploadProps & RendererProps, IState> { state: { visible: boolean; current: any; fileList: never[]; showfilelist: any; params: string; turtyfilelist: any; }; componentDidMount(): void; componentDidUpdate(prevProps: any, prevState: any): void; initFileData(): void; handleOpenPdf: (file: any) => void; matchLocalhost: (str: string) => boolean; openDownloadDialog: (url: any, saveName: string) => Promise<void>; getThatDom(): any; render(): JSX.Element; } export declare class LionShowFileRenderer extends LionShowFile { } export {};