fastlion-amis
Version:
一种MIS页面生成工具
19 lines (18 loc) • 1.03 kB
TypeScript
declare const uuid: () => string;
declare const classNames: (...names: any[]) => string;
declare const extractTemplate: (str: {}) => string[];
declare const singleAndDoubleClick: (obj: {
singleClick?: Function | undefined;
doubleClick?: Function | undefined;
params?: any;
}) => any;
declare const isImg: (fileName: string) => boolean;
declare const isCon: (fileName: string) => boolean;
declare const isPdf: (str: string) => boolean;
declare const getMediaIcon: (fileName: string) => string;
declare const downFile: (chunk: any, url: any, name: string | undefined | null, percent: any) => Promise<void>;
declare const downloadFile: (url: any, name: string | undefined | null) => Promise<void>;
declare const copy: (text: string) => void;
declare const createRandomValue: () => string;
declare const byteSize: (limit: number) => string;
export { extractTemplate, classNames, singleAndDoubleClick, isImg, getMediaIcon, downloadFile, uuid, copy, isCon, isPdf, downFile, createRandomValue, byteSize };