UNPKG

hansen-tool

Version:

web的一些工具集函数,包括(树形菜单转换、本地存储、文件下载、文件大小单位转换、金额格式化、浏览器判断)等

16 lines 1.48 kB
import Storage from "./storage.js"; import { getBetweenYearsArr } from "./betweenYear.js"; import { detectDeviceType, checkBrowser } from "./checkBrowser.js"; import { colorRgbaToHex, colorHexToRgba, colorHexToRgb } from "./colorToTran.js"; import { convertFileSize, formatFileSize } from "./convertFileSize.js"; import { fileDownload, fileDownloadByRes, fileDownloadByType } from "./fileDownload.js"; import { formatPrice, convertCurrency } from "./formatPrice.js"; import { getExt } from "./getExt.js"; import { hasDuplicates } from "./hasDuplicates.js"; import { phoneEncryption } from "./phoneEncryption.js"; import { randomNum, randomRange, randomRgbColor, randomString } from "./randomValue.js"; import { scrollToBottom, scrollToTop } from "./scroll.js"; import { sleepFn, sleep } from "./sleep.js"; import { findParentNodeList, treeToList, listToTree, findNodeInTree, findNodeInTreeByCondition, findNodesInTreeByCondition } from "./treeTran.js"; export { Storage, getBetweenYearsArr, detectDeviceType, checkBrowser, convertFileSize, formatFileSize, colorRgbaToHex, colorHexToRgba, colorHexToRgb, fileDownload, fileDownloadByRes, fileDownloadByType, formatPrice, convertCurrency, getExt, hasDuplicates, phoneEncryption, randomNum, randomRange, randomRgbColor, randomString, scrollToBottom, scrollToTop, sleepFn, sleep, findParentNodeList, treeToList, listToTree, findNodeInTree, findNodeInTreeByCondition, findNodesInTreeByCondition }; //# sourceMappingURL=index.d.ts.map