@fmdevui/fm-dev
Version:
Page level components developed based on Element Plus.
27 lines (26 loc) • 1.22 kB
TypeScript
import { default as commonFunction } from './commonFunction';
import { EmptyArrayType } from 'fm-dev';
export * from './toolsValidate';
export * from './formatTime';
export * from './theme';
export * from './download';
export * from './data-signature';
export * from './uploadfileurl';
export * from './gloabdata';
declare const commonFunctionObj: {
percentFormat: (row: EmptyArrayType, column: number, cellValue: string) => string;
dateFormatYMD: (row: EmptyArrayType, column: number, cellValue: string) => string;
dateFormatYMDHMS: (row: EmptyArrayType, column: number, cellValue: string) => string;
dateFormatHMS: (row: EmptyArrayType, column: number, cellValue: string) => string;
scaleFormat: (value?: string, scale?: number) => string;
scale2Format: (value?: string) => string;
groupSeparator: (value: number, minimumFractionDigits?: number) => string;
copyText: (text: string) => Promise<unknown>;
removeHtmlSub: (value: string) => string;
removeHtml: (value: string) => string;
getEnumDesc: (key: any, lstEnum: any) => any;
appendQueryParams: (url: string, params: {
[key: string]: any;
}) => string;
};
export { commonFunction, commonFunctionObj, };