fastlion-amis
Version:
一种MIS页面生成工具
49 lines (48 loc) • 1.48 kB
TypeScript
import { RendererProps } from '../../../../factory';
import { BaseSchema } from '../../../../Schema';
import React from 'react';
import './LionCellFile.css';
interface IState {
current: any;
visible: boolean;
_print_visible: boolean;
ctx: {
items: Array<any>;
rows: Array<any>;
selectedItems: Array<any>;
unSelectedItems: Array<any>;
ids: string;
primaryField?: string;
[key: string]: any;
};
}
export interface LionCellFileSchema extends BaseSchema {
type: 'lion-cell-file';
title: string;
}
export interface LionCellFileProps extends RendererProps, Omit<LionCellFileSchema, 'type' | 'className'> {
}
export declare class LionCellFile extends React.Component<LionCellFileProps, IState> {
state: {
visible: boolean;
current: any;
_print_visible: boolean;
ctx: {
items: never[];
rows: never[];
selectedItems: never[];
unSelectedItems: never[];
ids: string;
};
};
constructor(props: LionCellFileProps);
handleOpenPdf: (current: any) => void;
componentDidMount(): void;
matchPdfImg: (str: string) => boolean;
handleLabelPrint: (current: any) => void;
handlePreview(info: Array<object>, index: number): void;
render(): JSX.Element;
}
export declare class LionCellFileRenderer extends LionCellFile {
}
export {};