@vchatcloud/vue-ui-kit
Version:
VChatCloud UI Kit for vue integration
47 lines (46 loc) • 1.41 kB
TypeScript
/**
* style 에 들어갈 태그를 입력한다.
*/
declare function addCustomStyle(html: string): void;
export interface IDownloadProps {
url: string;
name: string;
}
declare function download({ url, name }: IDownloadProps): void;
declare function dataEmailPaser(text: string): any;
declare function encrypt(text: any, cry?: string | undefined): any;
declare function decrypt(text: string, cry?: string | undefined): string;
declare function formatK(val: number, decimals?: number): string | 0;
declare function max_count(max: number, tag: string, tag2: string, event: Function): void;
declare const Util: {
addCustomStyle: typeof addCustomStyle;
download: typeof download;
max_count: typeof max_count;
Crypto: {
encrypt: typeof encrypt;
decrypt: typeof decrypt;
};
formatK: typeof formatK;
Config: {
env: string;
host: string;
prePath: string;
hostpath: string;
chatUrl: string;
};
Version: {
version: string;
user: string;
date: string;
};
masking: {
_checkNull: (str: any) => boolean;
email: (str: string) => any;
phone: (str: string) => any;
rrn: (str: string) => any;
name: (str: string) => string;
};
randomPassword: (num: number, level: number) => string;
dataEmailPaser: typeof dataEmailPaser;
};
export default Util;