@daysnap/utils 0.0.93 → 0.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (887) hide show
  1. package/docs/interfaces/StorageManager.md +4 -4
  2. package/docs/interfaces/Trap.md +5 -5
  3. package/docs/modules.md +146 -122
  4. package/es/{ato.d.ts → ato.d.mts} +4 -2
  5. package/es/ato.mjs +6 -0
  6. package/es/base64ToBlob.d.mts +8 -0
  7. package/es/base64ToBlob.mjs +6 -0
  8. package/es/blobToBase64.d.mts +6 -0
  9. package/es/blobToBase64.mjs +6 -0
  10. package/es/cached.d.mts +7 -0
  11. package/es/cached.mjs +6 -0
  12. package/es/camelCase.d.mts +7 -0
  13. package/es/camelCase.mjs +6 -0
  14. package/es/canvasToBlob.d.mts +6 -0
  15. package/es/canvasToBlob.mjs +6 -0
  16. package/es/capitalize.d.mts +7 -0
  17. package/es/capitalize.mjs +6 -0
  18. package/es/chunk-2BCJGKPK.mjs +52 -0
  19. package/es/chunk-2YCUJDBN.mjs +55 -0
  20. package/es/chunk-2ZSYVROU.mjs +12 -0
  21. package/es/chunk-36BFA7SH.mjs +10 -0
  22. package/es/chunk-47AYSPDB.mjs +37 -0
  23. package/es/chunk-4FSOO7WE.mjs +8 -0
  24. package/es/chunk-4HDKZDZI.mjs +16 -0
  25. package/es/chunk-55VPNRDX.mjs +45 -0
  26. package/es/chunk-5FZDYL3X.mjs +14 -0
  27. package/es/chunk-67UQVOZK.mjs +22 -0
  28. package/es/chunk-6UG5VG67.mjs +8 -0
  29. package/es/chunk-7EYJRHPH.mjs +12 -0
  30. package/es/chunk-7K7LDQU5.mjs +8 -0
  31. package/es/chunk-AA7WCD7R.mjs +20 -0
  32. package/es/chunk-ACFNEWIA.mjs +17 -0
  33. package/es/chunk-ALUR2G5E.mjs +7 -0
  34. package/es/chunk-AQXI5M6E.mjs +8 -0
  35. package/es/chunk-AVYLSD4Y.mjs +12 -0
  36. package/es/chunk-B2QDZGN6.mjs +12 -0
  37. package/es/chunk-BI6NG2XY.mjs +8 -0
  38. package/es/chunk-BND7NHHZ.mjs +23 -0
  39. package/es/chunk-BZIKQDNP.mjs +25 -0
  40. package/es/chunk-C3VMHKA2.mjs +32 -0
  41. package/es/chunk-CH54B2NW.mjs +19 -0
  42. package/es/chunk-CIIM7WK6.mjs +12 -0
  43. package/es/chunk-DF4FZM53.mjs +8 -0
  44. package/es/chunk-DFNNXFNH.mjs +22 -0
  45. package/es/chunk-DKP76RFK.mjs +8 -0
  46. package/es/chunk-DPJQZSCQ.mjs +22 -0
  47. package/es/chunk-E3D4KBHK.mjs +11 -0
  48. package/es/chunk-EH5U26GD.mjs +8 -0
  49. package/es/chunk-EHZGMWKM.mjs +8 -0
  50. package/es/chunk-EJPQYVUM.mjs +8 -0
  51. package/es/chunk-FAZP7TZ2.mjs +8 -0
  52. package/es/chunk-FUPB76YN.mjs +8 -0
  53. package/es/chunk-GBEWSYLC.mjs +11 -0
  54. package/es/chunk-GGV2QLUA.mjs +17 -0
  55. package/es/chunk-GLR6PUBW.mjs +14 -0
  56. package/es/chunk-GSEIW3MZ.mjs +8 -0
  57. package/es/chunk-H4Q2L2Z7.mjs +8 -0
  58. package/es/chunk-H625225L.mjs +11 -0
  59. package/es/chunk-HMTKJUIX.mjs +22 -0
  60. package/es/chunk-HX6BTERO.mjs +8 -0
  61. package/es/chunk-IBD2BGUZ.mjs +17 -0
  62. package/es/chunk-IGSBQ6WF.mjs +15 -0
  63. package/es/chunk-IIW4U5AP.mjs +16 -0
  64. package/es/chunk-IQFJ5CYB.mjs +29 -0
  65. package/es/chunk-J3CV6URY.mjs +8 -0
  66. package/es/chunk-JHC77OJC.mjs +12 -0
  67. package/es/chunk-JNYC6ERK.mjs +21 -0
  68. package/es/chunk-KCWWH5WQ.mjs +30 -0
  69. package/es/chunk-KH4FBZOK.mjs +8 -0
  70. package/es/chunk-KH7NPF6I.mjs +15 -0
  71. package/es/chunk-KLSJ3VZG.mjs +10 -0
  72. package/es/chunk-KRWQWZSN.mjs +8 -0
  73. package/es/chunk-KZ3JDS2O.mjs +14 -0
  74. package/es/chunk-L7X3A3OQ.mjs +8 -0
  75. package/es/chunk-LXLIFUBR.mjs +43 -0
  76. package/es/chunk-MPSJ4FMD.mjs +16 -0
  77. package/es/chunk-MRUDDQHD.mjs +23 -0
  78. package/es/chunk-N4OGI2R3.mjs +19 -0
  79. package/es/chunk-N6IG3JYY.mjs +12 -0
  80. package/es/chunk-NPK3BLV3.mjs +30 -0
  81. package/es/chunk-NS4LR37B.mjs +8 -0
  82. package/es/chunk-NSD6JAKL.mjs +19 -0
  83. package/es/chunk-O6RUKPNP.mjs +9 -0
  84. package/es/chunk-ODB7KGAC.mjs +23 -0
  85. package/es/chunk-OG7NHU5G.mjs +42 -0
  86. package/es/chunk-OHCFFQNC.mjs +17 -0
  87. package/es/chunk-OL5ADAY4.mjs +57 -0
  88. package/es/chunk-OMH5TZIZ.mjs +13 -0
  89. package/es/chunk-OQG6GEL2.mjs +13 -0
  90. package/es/chunk-PGVJ5IPJ.mjs +8 -0
  91. package/es/chunk-PMNXLTUL.mjs +8 -0
  92. package/es/chunk-PUHUSCOJ.mjs +8 -0
  93. package/es/chunk-QI5FH522.mjs +11 -0
  94. package/es/chunk-QIYJY2OJ.mjs +8 -0
  95. package/es/chunk-REX225J2.mjs +10 -0
  96. package/es/chunk-RNR7ZEZT.mjs +12 -0
  97. package/es/chunk-SJCOWTEU.mjs +13 -0
  98. package/es/chunk-SLCAL4QM.mjs +8 -0
  99. package/es/chunk-SOAUJN2U.mjs +8 -0
  100. package/es/chunk-SWZD5EEJ.mjs +55 -0
  101. package/es/chunk-T2D2S2FY.mjs +8 -0
  102. package/es/chunk-T3MNPQVN.mjs +12 -0
  103. package/es/chunk-T53J6Z3W.mjs +8 -0
  104. package/es/chunk-TP4LCGUV.mjs +42 -0
  105. package/es/chunk-TZUHPRZ4.mjs +8 -0
  106. package/es/chunk-TZYPEK5T.mjs +34 -0
  107. package/es/chunk-UCRMI3XM.mjs +11 -0
  108. package/es/chunk-UCXP6JO2.mjs +14 -0
  109. package/es/chunk-UKTPML4E.mjs +14 -0
  110. package/es/chunk-USYDW5X4.mjs +8 -0
  111. package/es/chunk-UZ44S2T3.mjs +8 -0
  112. package/es/chunk-VLHC3FS7.mjs +20 -0
  113. package/es/chunk-VUU242QS.mjs +15 -0
  114. package/es/chunk-W56MFMAJ.mjs +16 -0
  115. package/es/chunk-W6L2LW6U.mjs +13 -0
  116. package/es/chunk-W72QWFLR.mjs +27 -0
  117. package/es/chunk-WLGNQDOA.mjs +8 -0
  118. package/es/chunk-WQFMRPXU.mjs +19 -0
  119. package/es/chunk-WTILX3PP.mjs +8 -0
  120. package/es/chunk-XJT6W4OH.mjs +15 -0
  121. package/es/chunk-XY5KATPF.mjs +12 -0
  122. package/es/chunk-Y2L4VRHX.mjs +10 -0
  123. package/es/chunk-Y6WZSPBK.mjs +13 -0
  124. package/es/chunk-YBK27UNT.mjs +24 -0
  125. package/es/chunk-YJKAHUCK.mjs +8 -0
  126. package/es/chunk-YMKK5EMJ.mjs +8 -0
  127. package/es/chunk-YO3WEMCZ.mjs +8 -0
  128. package/es/chunk-YWA5IBEK.mjs +8 -0
  129. package/es/chunk-YY5FUU2J.mjs +8 -0
  130. package/es/chunk-ZDX7R4RH.mjs +19 -0
  131. package/es/chunk-ZHLRSVIE.mjs +8 -0
  132. package/es/{clamp.d.ts → clamp.d.mts} +3 -1
  133. package/es/clamp.mjs +6 -0
  134. package/es/clone.d.mts +7 -0
  135. package/es/clone.mjs +8 -0
  136. package/es/{cloneSimple.d.ts → cloneSimple.d.mts} +3 -1
  137. package/es/cloneSimple.mjs +6 -0
  138. package/es/{compareVersion.d.ts → compareVersion.d.mts} +3 -1
  139. package/es/compareVersion.mjs +6 -0
  140. package/es/compressImage.d.mts +6 -0
  141. package/es/compressImage.mjs +7 -0
  142. package/es/createHexColorByHash.d.mts +6 -0
  143. package/es/createHexColorByHash.mjs +6 -0
  144. package/es/{createLinearFunction.d.ts → createLinearFunction.d.mts} +3 -1
  145. package/es/createLinearFunction.mjs +6 -0
  146. package/es/{createWithLoading.d.ts → createWithLoading.d.mts} +4 -2
  147. package/es/createWithLoading.mjs +6 -0
  148. package/es/debounce.d.mts +7 -0
  149. package/es/debounce.mjs +6 -0
  150. package/es/decode.d.mts +4 -0
  151. package/es/decode.mjs +8 -0
  152. package/es/downloadFile.d.mts +8 -0
  153. package/es/downloadFile.mjs +6 -0
  154. package/es/each.d.mts +7 -0
  155. package/es/each.mjs +6 -0
  156. package/es/{exitFullscreen.d.ts → exitFullscreen.d.mts} +3 -1
  157. package/es/exitFullscreen.mjs +6 -0
  158. package/es/filterBankCardNo.d.mts +6 -0
  159. package/es/filterBankCardNo.mjs +6 -0
  160. package/es/filterCRLF.d.mts +6 -0
  161. package/es/filterCRLF.mjs +6 -0
  162. package/es/filterEmoji.d.mts +6 -0
  163. package/es/filterEmoji.mjs +6 -0
  164. package/es/{filterEmptyValue.d.ts → filterEmptyValue.d.mts} +3 -1
  165. package/es/filterEmptyValue.mjs +14 -0
  166. package/es/filterIdCard.d.mts +7 -0
  167. package/es/filterIdCard.mjs +6 -0
  168. package/es/filterName.d.mts +6 -0
  169. package/es/filterName.mjs +6 -0
  170. package/es/{filterPhone.d.ts → filterPhone.d.mts} +3 -1
  171. package/es/filterPhone.mjs +6 -0
  172. package/es/filterString.d.mts +8 -0
  173. package/es/filterString.mjs +6 -0
  174. package/es/formartDateToZN.d.mts +3 -0
  175. package/es/formartDateToZN.mjs +119 -0
  176. package/es/formatAmount.d.mts +6 -0
  177. package/es/formatAmount.mjs +6 -0
  178. package/es/formatDate.d.mts +7 -0
  179. package/es/formatDate.mjs +8 -0
  180. package/es/{formatDateStr.d.ts → formatDateStr.d.mts} +3 -1
  181. package/es/formatDateStr.mjs +6 -0
  182. package/es/formatFileSize.d.mts +6 -0
  183. package/es/formatFileSize.mjs +6 -0
  184. package/es/{formatMessage.d.ts → formatMessage.d.mts} +3 -1
  185. package/es/formatMessage.mjs +10 -0
  186. package/es/{formatPathParams.d.ts → formatPathParams.d.mts} +3 -1
  187. package/es/formatPathParams.mjs +6 -0
  188. package/es/getBlobByUrl.d.mts +6 -0
  189. package/es/getBlobByUrl.mjs +6 -0
  190. package/es/getDayMillisecond.d.mts +6 -0
  191. package/es/getDayMillisecond.mjs +6 -0
  192. package/es/getImageInfo.d.mts +6 -0
  193. package/es/getImageInfo.mjs +6 -0
  194. package/es/{getRandom.d.ts → getRandom.d.mts} +3 -1
  195. package/es/getRandom.mjs +7 -0
  196. package/es/getRandomColor.d.mts +6 -0
  197. package/es/getRandomColor.mjs +6 -0
  198. package/es/{getRandomNumber.d.ts → getRandomNumber.d.mts} +3 -1
  199. package/es/getRandomNumber.mjs +8 -0
  200. package/es/getScrollTop.d.mts +6 -0
  201. package/es/getScrollTop.mjs +6 -0
  202. package/es/getVideoInfo.d.mts +6 -0
  203. package/es/getVideoInfo.mjs +6 -0
  204. package/es/inBrowser.d.mts +6 -0
  205. package/es/inBrowser.mjs +6 -0
  206. package/es/index.d.mts +115 -0
  207. package/es/index.mjs +470 -0
  208. package/es/insertLink.d.mts +7 -0
  209. package/es/insertLink.mjs +6 -0
  210. package/es/insertScript.d.mts +7 -0
  211. package/es/insertScript.mjs +6 -0
  212. package/es/insertStyle.d.mts +6 -0
  213. package/es/insertStyle.mjs +6 -0
  214. package/es/{isAmount.d.ts → isAmount.d.mts} +3 -1
  215. package/es/isAmount.mjs +6 -0
  216. package/es/isAndroid.d.mts +6 -0
  217. package/es/isAndroid.mjs +6 -0
  218. package/es/{isArray.d.ts → isArray.d.mts} +3 -1
  219. package/es/isArray.mjs +6 -0
  220. package/es/isBoolean.d.mts +7 -0
  221. package/es/isBoolean.mjs +6 -0
  222. package/es/isChinese.d.mts +6 -0
  223. package/es/isChinese.mjs +6 -0
  224. package/es/isDate.d.mts +6 -0
  225. package/es/isDate.mjs +6 -0
  226. package/es/isEmail.d.mts +6 -0
  227. package/es/isEmail.mjs +6 -0
  228. package/es/isEmpty.d.mts +6 -0
  229. package/es/isEmpty.mjs +8 -0
  230. package/es/isEmptyArray.d.mts +6 -0
  231. package/es/isEmptyArray.mjs +7 -0
  232. package/es/isEmptyObject.d.mts +7 -0
  233. package/es/isEmptyObject.mjs +6 -0
  234. package/es/isError.d.mts +6 -0
  235. package/es/isError.mjs +6 -0
  236. package/es/isFunction.d.mts +6 -0
  237. package/es/isFunction.mjs +6 -0
  238. package/es/{isIE.d.ts → isIE.d.mts} +3 -1
  239. package/es/isIE.mjs +6 -0
  240. package/es/isIOS.d.mts +6 -0
  241. package/es/isIOS.mjs +6 -0
  242. package/es/isIdCard.d.mts +6 -0
  243. package/es/isIdCard.mjs +6 -0
  244. package/es/isJSONString.d.mts +7 -0
  245. package/es/isJSONString.mjs +7 -0
  246. package/es/{isLan.d.ts → isLan.d.mts} +3 -1
  247. package/es/isLan.mjs +6 -0
  248. package/es/isLicenseCode.d.mts +7 -0
  249. package/es/isLicenseCode.mjs +6 -0
  250. package/es/isMobile.d.mts +6 -0
  251. package/es/isMobile.mjs +6 -0
  252. package/es/{isNativeFunction.d.ts → isNativeFunction.d.mts} +3 -1
  253. package/es/isNativeFunction.mjs +7 -0
  254. package/es/isNull.d.mts +6 -0
  255. package/es/isNull.mjs +6 -0
  256. package/es/isNumber.d.mts +7 -0
  257. package/es/isNumber.mjs +6 -0
  258. package/es/isObject.d.mts +6 -0
  259. package/es/isObject.mjs +6 -0
  260. package/es/isPhone.d.mts +6 -0
  261. package/es/isPhone.mjs +6 -0
  262. package/es/isPromise.d.mts +6 -0
  263. package/es/isPromise.mjs +6 -0
  264. package/es/isRegExp.d.mts +6 -0
  265. package/es/isRegExp.mjs +6 -0
  266. package/es/isString.d.mts +6 -0
  267. package/es/isString.mjs +6 -0
  268. package/es/isUndefined.d.mts +6 -0
  269. package/es/isUndefined.mjs +6 -0
  270. package/es/isUrl.d.mts +6 -0
  271. package/es/isUrl.mjs +6 -0
  272. package/es/{isWeChat.d.ts → isWeChat.d.mts} +4 -2
  273. package/es/isWeChat.mjs +8 -0
  274. package/es/{isWeChatMiniProgram.d.ts → isWeChatMiniProgram.d.mts} +3 -1
  275. package/es/isWeChatMiniProgram.mjs +6 -0
  276. package/es/isWindow.d.mts +7 -0
  277. package/es/isWindow.mjs +6 -0
  278. package/es/kebabCase.d.mts +7 -0
  279. package/es/kebabCase.mjs +6 -0
  280. package/es/listGenerator.d.mts +7 -0
  281. package/es/listGenerator.mjs +6 -0
  282. package/es/{mousewheel.d.ts → mousewheel.d.mts} +3 -2
  283. package/es/mousewheel.mjs +6 -0
  284. package/es/nf.d.mts +6 -0
  285. package/es/nf.mjs +6 -0
  286. package/es/normalizePath.d.mts +6 -0
  287. package/es/normalizePath.mjs +6 -0
  288. package/es/omit.d.mts +6 -0
  289. package/es/omit.mjs +6 -0
  290. package/es/{padding.d.ts → padding.d.mts} +3 -1
  291. package/es/padding.mjs +6 -0
  292. package/es/parseDate.d.mts +6 -0
  293. package/es/parseDate.mjs +6 -0
  294. package/es/parseError.d.mts +6 -0
  295. package/es/parseError.mjs +10 -0
  296. package/es/parseObject.d.mts +7 -0
  297. package/es/parseObject.mjs +6 -0
  298. package/es/parsePath.d.mts +6 -0
  299. package/es/parsePath.mjs +7 -0
  300. package/es/parseQuery.d.mts +8 -0
  301. package/es/parseQuery.mjs +8 -0
  302. package/es/parseQueryString.d.mts +8 -0
  303. package/es/parseQueryString.mjs +6 -0
  304. package/es/{pascalCase.d.ts → pascalCase.d.mts} +3 -1
  305. package/es/pascalCase.mjs +8 -0
  306. package/es/pick.d.mts +6 -0
  307. package/es/pick.mjs +6 -0
  308. package/es/replaceCrlf.d.mts +6 -0
  309. package/es/replaceCrlf.mjs +6 -0
  310. package/es/{requestFullScreen.d.ts → requestFullScreen.d.mts} +3 -1
  311. package/es/requestFullScreen.mjs +6 -0
  312. package/es/{reserve.d.ts → reserve.d.mts} +3 -1
  313. package/es/reserve.mjs +9 -0
  314. package/es/rgbToHex.d.mts +6 -0
  315. package/es/rgbToHex.mjs +6 -0
  316. package/es/{round.d.ts → round.d.mts} +3 -1
  317. package/es/round.mjs +6 -0
  318. package/es/scrollToTop.d.mts +6 -0
  319. package/es/scrollToTop.mjs +6 -0
  320. package/es/setScrollTop.d.mts +6 -0
  321. package/es/setScrollTop.mjs +6 -0
  322. package/es/{sleep.d.ts → sleep.d.mts} +3 -1
  323. package/es/sleep.mjs +6 -0
  324. package/es/splitArray.d.mts +6 -0
  325. package/es/splitArray.mjs +6 -0
  326. package/es/storage/{factory.d.ts → factory.d.mts} +4 -2
  327. package/es/storage/factory.mjs +8 -0
  328. package/es/storage/{index.d.ts → index.d.mts} +6 -3
  329. package/es/storage/index.mjs +14 -0
  330. package/es/{stringTrim.d.ts → stringTrim.d.mts} +3 -1
  331. package/es/stringTrim.mjs +6 -0
  332. package/es/stringifyQuery.d.mts +6 -0
  333. package/es/stringifyQuery.mjs +8 -0
  334. package/es/stringifyQueryString.d.mts +8 -0
  335. package/es/stringifyQueryString.mjs +6 -0
  336. package/es/throttle.d.mts +17 -0
  337. package/es/throttle.mjs +10 -0
  338. package/es/toCDB.d.mts +6 -0
  339. package/es/toCDB.mjs +6 -0
  340. package/es/toDBC.d.mts +6 -0
  341. package/es/toDBC.mjs +6 -0
  342. package/es/{trap.d.ts → trap.d.mts} +5 -3
  343. package/es/trap.mjs +9 -0
  344. package/es/{typeOf.d.ts → typeOf.d.mts} +3 -1
  345. package/es/typeOf.mjs +6 -0
  346. package/es/withPreventConsecutiveClicks.d.mts +6 -0
  347. package/es/withPreventConsecutiveClicks.mjs +6 -0
  348. package/lib/ato.d.ts +4 -2
  349. package/lib/ato.js +6 -10
  350. package/lib/base64ToBlob.d.ts +3 -1
  351. package/lib/base64ToBlob.js +6 -25
  352. package/lib/blobToBase64.d.ts +3 -1
  353. package/lib/blobToBase64.js +6 -18
  354. package/lib/cached.d.ts +3 -1
  355. package/lib/cached.js +6 -16
  356. package/lib/camelCase.d.ts +3 -1
  357. package/lib/camelCase.js +6 -11
  358. package/lib/canvasToBlob.d.ts +3 -1
  359. package/lib/canvasToBlob.js +6 -12
  360. package/lib/capitalize.d.ts +3 -1
  361. package/lib/capitalize.js +6 -11
  362. package/lib/chunk-2ZSZ4GDI.js +14 -0
  363. package/lib/chunk-3HR2GZUU.js +8 -0
  364. package/lib/chunk-3KRJNCKB.js +8 -0
  365. package/lib/chunk-3MBFDHEW.js +8 -0
  366. package/lib/chunk-3OUQEOSR.js +8 -0
  367. package/lib/chunk-3ZZPPKM3.js +17 -0
  368. package/lib/chunk-4BFL6RXS.js +45 -0
  369. package/lib/chunk-4N33UIAB.js +12 -0
  370. package/lib/chunk-4QMOXXPL.js +22 -0
  371. package/lib/chunk-53VI5KBY.js +17 -0
  372. package/lib/chunk-576ZRCUO.js +10 -0
  373. package/lib/chunk-5BVFSCCX.js +8 -0
  374. package/lib/chunk-5Z3KN6O2.js +8 -0
  375. package/lib/chunk-6EBFQIMY.js +14 -0
  376. package/lib/chunk-6GTFQZL4.js +12 -0
  377. package/lib/chunk-6UGTRW2S.js +8 -0
  378. package/lib/chunk-A4YRDVZ4.js +8 -0
  379. package/lib/chunk-ADGGLX7E.js +55 -0
  380. package/lib/chunk-ASYHV5B7.js +32 -0
  381. package/lib/chunk-AZFTV4OE.js +43 -0
  382. package/lib/chunk-BNF4U7EJ.js +12 -0
  383. package/lib/chunk-BULTIEJG.js +8 -0
  384. package/lib/chunk-CCZL3GEW.js +8 -0
  385. package/lib/chunk-CMP4T3ZH.js +8 -0
  386. package/lib/chunk-CNCI66H4.js +19 -0
  387. package/lib/chunk-CSZ7G34M.js +8 -0
  388. package/lib/chunk-D5O4LXN3.js +8 -0
  389. package/lib/chunk-D7OBO7J6.js +8 -0
  390. package/lib/chunk-DHYITZTI.js +13 -0
  391. package/lib/chunk-DOXFJNJO.js +16 -0
  392. package/lib/chunk-DWT2WM6H.js +11 -0
  393. package/lib/chunk-E2KNR3UG.js +20 -0
  394. package/lib/chunk-EFDRCKKS.js +8 -0
  395. package/lib/chunk-EJMUWNXI.js +30 -0
  396. package/lib/chunk-ELR2DZ56.js +12 -0
  397. package/lib/chunk-F4QMON2N.js +8 -0
  398. package/lib/chunk-FBJWICWM.js +14 -0
  399. package/lib/chunk-FIHEVMN6.js +23 -0
  400. package/lib/chunk-FY3PSILS.js +11 -0
  401. package/lib/chunk-GDCXWM7X.js +24 -0
  402. package/lib/chunk-GNGSV7F7.js +8 -0
  403. package/lib/chunk-GV4IJGB2.js +13 -0
  404. package/lib/chunk-GVPHHNDY.js +55 -0
  405. package/lib/chunk-GVYBTJDA.js +8 -0
  406. package/lib/chunk-HNVHVI6P.js +42 -0
  407. package/lib/chunk-HU5DI7IU.js +8 -0
  408. package/lib/chunk-IF7JMIDO.js +19 -0
  409. package/lib/chunk-IIIHPNUB.js +17 -0
  410. package/lib/chunk-IJCLLBSR.js +21 -0
  411. package/lib/chunk-IJD4RHXI.js +8 -0
  412. package/lib/chunk-IPAT3N4P.js +12 -0
  413. package/lib/chunk-IPIA4Z65.js +9 -0
  414. package/lib/chunk-J2Y5ZZA3.js +19 -0
  415. package/lib/chunk-JG33SHAK.js +17 -0
  416. package/lib/chunk-JKCLDPOC.js +10 -0
  417. package/lib/chunk-JMUWQLHE.js +8 -0
  418. package/lib/chunk-K4SQME6B.js +16 -0
  419. package/lib/chunk-KDND6GRD.js +22 -0
  420. package/lib/chunk-KEADPNJL.js +11 -0
  421. package/lib/chunk-KH7MPMQF.js +15 -0
  422. package/lib/chunk-KJX7IWF5.js +13 -0
  423. package/lib/chunk-KOOGLWJ5.js +8 -0
  424. package/lib/chunk-KYLBUCGC.js +8 -0
  425. package/lib/chunk-KZJIPHQB.js +11 -0
  426. package/lib/chunk-L52JSZDZ.js +16 -0
  427. package/lib/chunk-LJ4CEJ5C.js +8 -0
  428. package/lib/chunk-LOPD7SSH.js +52 -0
  429. package/lib/chunk-M3NXNABN.js +14 -0
  430. package/lib/chunk-M6B3UGFI.js +57 -0
  431. package/lib/chunk-MQDWCBXD.js +13 -0
  432. package/lib/chunk-MTF3ACKC.js +8 -0
  433. package/lib/chunk-NCFA5IXM.js +8 -0
  434. package/lib/chunk-OAVK23A3.js +16 -0
  435. package/lib/chunk-OC64NXZ2.js +22 -0
  436. package/lib/chunk-ONTP5SDE.js +19 -0
  437. package/lib/chunk-P7QW362C.js +12 -0
  438. package/lib/chunk-PAERS3SW.js +7 -0
  439. package/lib/chunk-PQE4SACQ.js +20 -0
  440. package/lib/chunk-QTKWJHHW.js +22 -0
  441. package/lib/chunk-QYCMY2T4.js +8 -0
  442. package/lib/chunk-S2FOFDX4.js +8 -0
  443. package/lib/chunk-S6UH3LMW.js +25 -0
  444. package/lib/chunk-S7PUCGCQ.js +15 -0
  445. package/lib/chunk-SCEONZUJ.js +23 -0
  446. package/lib/chunk-SN35EJZF.js +30 -0
  447. package/lib/chunk-SQ3L6IQW.js +8 -0
  448. package/lib/chunk-SWLGSN5X.js +8 -0
  449. package/lib/chunk-SZ7IZE42.js +12 -0
  450. package/lib/chunk-TNIIDDN4.js +10 -0
  451. package/lib/chunk-TSD6OV4A.js +8 -0
  452. package/lib/chunk-TSFGLHCP.js +11 -0
  453. package/lib/chunk-TT6AI5JN.js +37 -0
  454. package/lib/chunk-TXWIC3L7.js +12 -0
  455. package/lib/chunk-UCDNFQ3U.js +12 -0
  456. package/lib/chunk-UMUYJJ3M.js +15 -0
  457. package/lib/chunk-UXSZFM5G.js +10 -0
  458. package/lib/chunk-VMJHCN3P.js +19 -0
  459. package/lib/chunk-VTSGSUL2.js +29 -0
  460. package/lib/chunk-W52BRMSD.js +14 -0
  461. package/lib/chunk-WCZPEH7E.js +8 -0
  462. package/lib/chunk-WEWAC6GL.js +13 -0
  463. package/lib/chunk-WFPQI6HC.js +27 -0
  464. package/lib/chunk-WXXFRKUS.js +23 -0
  465. package/lib/chunk-XCSSSEK2.js +8 -0
  466. package/lib/chunk-XOQU757U.js +8 -0
  467. package/lib/chunk-XR4BSWOV.js +42 -0
  468. package/lib/chunk-Y4V5R7XA.js +8 -0
  469. package/lib/chunk-YBAHLKXR.js +34 -0
  470. package/lib/chunk-YGV2UKBN.js +15 -0
  471. package/lib/chunk-YGYLI2DC.js +12 -0
  472. package/lib/chunk-YKTD7CLE.js +8 -0
  473. package/lib/chunk-ZDRIUWKX.js +8 -0
  474. package/lib/chunk-ZGN3KUXE.js +8 -0
  475. package/lib/chunk-ZWXX326Y.js +8 -0
  476. package/lib/clamp.d.ts +3 -1
  477. package/lib/clamp.js +6 -20
  478. package/lib/clone.d.ts +3 -1
  479. package/lib/clone.js +8 -23
  480. package/lib/cloneSimple.d.ts +3 -1
  481. package/lib/cloneSimple.js +6 -13
  482. package/lib/compareVersion.d.ts +3 -1
  483. package/lib/compareVersion.js +6 -43
  484. package/lib/compressImage.d.ts +3 -1
  485. package/lib/compressImage.js +7 -20
  486. package/lib/createHexColorByHash.d.ts +3 -1
  487. package/lib/createHexColorByHash.js +6 -67
  488. package/lib/createLinearFunction.d.ts +3 -1
  489. package/lib/createLinearFunction.js +6 -24
  490. package/lib/createWithLoading.d.ts +4 -2
  491. package/lib/createWithLoading.js +6 -39
  492. package/lib/debounce.d.ts +3 -1
  493. package/lib/debounce.js +6 -18
  494. package/lib/decode.d.ts +4 -2
  495. package/lib/decode.js +8 -52
  496. package/lib/downloadFile.d.ts +3 -1
  497. package/lib/downloadFile.js +6 -15
  498. package/lib/each.d.ts +4 -2
  499. package/lib/each.js +6 -17
  500. package/lib/exitFullscreen.d.ts +3 -1
  501. package/lib/exitFullscreen.js +6 -31
  502. package/lib/filterBankCardNo.d.ts +3 -1
  503. package/lib/filterBankCardNo.js +6 -12
  504. package/lib/filterCRLF.d.ts +3 -1
  505. package/lib/filterCRLF.js +6 -10
  506. package/lib/filterEmoji.d.ts +3 -1
  507. package/lib/filterEmoji.js +6 -21
  508. package/lib/filterEmptyValue.d.ts +3 -1
  509. package/lib/filterEmptyValue.js +14 -35
  510. package/lib/filterIdCard.d.ts +3 -1
  511. package/lib/filterIdCard.js +6 -11
  512. package/lib/filterName.d.ts +3 -1
  513. package/lib/filterName.js +6 -20
  514. package/lib/filterPhone.d.ts +3 -1
  515. package/lib/filterPhone.js +6 -12
  516. package/lib/filterString.d.ts +3 -1
  517. package/lib/filterString.js +6 -20
  518. package/lib/formartDateToZN.d.ts +3 -1
  519. package/lib/formartDateToZN.js +119 -34
  520. package/lib/formatAmount.d.ts +3 -1
  521. package/lib/formatAmount.js +6 -25
  522. package/lib/formatDate.d.ts +3 -1
  523. package/lib/formatDate.js +8 -39
  524. package/lib/formatDateStr.d.ts +3 -1
  525. package/lib/formatDateStr.js +6 -11
  526. package/lib/formatFileSize.d.ts +6 -0
  527. package/lib/formatFileSize.js +6 -0
  528. package/lib/formatMessage.d.ts +3 -1
  529. package/lib/formatMessage.js +10 -29
  530. package/lib/formatPathParams.d.ts +3 -1
  531. package/lib/formatPathParams.js +6 -23
  532. package/lib/getBlobByUrl.d.ts +3 -1
  533. package/lib/getBlobByUrl.js +6 -25
  534. package/lib/getDayMillisecond.d.ts +3 -1
  535. package/lib/getDayMillisecond.js +6 -10
  536. package/lib/getImageInfo.d.ts +3 -1
  537. package/lib/getImageInfo.js +6 -18
  538. package/lib/getRandom.d.ts +3 -1
  539. package/lib/getRandom.js +7 -13
  540. package/lib/getRandomColor.d.ts +3 -1
  541. package/lib/getRandomColor.js +6 -10
  542. package/lib/getRandomNumber.d.ts +3 -1
  543. package/lib/getRandomNumber.js +8 -12
  544. package/lib/getScrollTop.d.ts +3 -1
  545. package/lib/getScrollTop.js +6 -10
  546. package/lib/getVideoInfo.d.ts +3 -1
  547. package/lib/getVideoInfo.js +6 -19
  548. package/lib/inBrowser.d.ts +3 -1
  549. package/lib/inBrowser.js +6 -10
  550. package/lib/index.d.ts +115 -112
  551. package/lib/index.js +470 -129
  552. package/lib/insertLink.d.ts +4 -2
  553. package/lib/insertLink.js +6 -19
  554. package/lib/insertScript.d.ts +4 -2
  555. package/lib/insertScript.js +6 -19
  556. package/lib/insertStyle.d.ts +3 -1
  557. package/lib/insertStyle.js +6 -13
  558. package/lib/isAmount.d.ts +3 -1
  559. package/lib/isAmount.js +6 -17
  560. package/lib/isAndroid.d.ts +3 -1
  561. package/lib/isAndroid.js +6 -10
  562. package/lib/isArray.d.ts +3 -1
  563. package/lib/isArray.js +6 -12
  564. package/lib/isBoolean.d.ts +3 -1
  565. package/lib/isBoolean.js +6 -11
  566. package/lib/isChinese.d.ts +3 -1
  567. package/lib/isChinese.js +6 -10
  568. package/lib/isDate.d.ts +3 -1
  569. package/lib/isDate.js +6 -10
  570. package/lib/isEmail.d.ts +3 -1
  571. package/lib/isEmail.js +6 -10
  572. package/lib/isEmpty.d.ts +3 -1
  573. package/lib/isEmpty.js +8 -12
  574. package/lib/isEmptyArray.d.ts +3 -1
  575. package/lib/isEmptyArray.js +7 -11
  576. package/lib/isEmptyObject.d.ts +3 -1
  577. package/lib/isEmptyObject.js +6 -11
  578. package/lib/isError.d.ts +3 -1
  579. package/lib/isError.js +6 -10
  580. package/lib/isFunction.d.ts +3 -1
  581. package/lib/isFunction.js +6 -10
  582. package/lib/isIE.d.ts +3 -1
  583. package/lib/isIE.js +6 -31
  584. package/lib/isIOS.d.ts +3 -1
  585. package/lib/isIOS.js +6 -10
  586. package/lib/isIdCard.d.ts +3 -1
  587. package/lib/isIdCard.js +6 -10
  588. package/lib/isJSONString.d.ts +3 -1
  589. package/lib/isJSONString.js +7 -18
  590. package/lib/isLan.d.ts +3 -1
  591. package/lib/isLan.js +6 -40
  592. package/lib/isLicenseCode.d.ts +3 -1
  593. package/lib/isLicenseCode.js +6 -11
  594. package/lib/isMobile.d.ts +3 -1
  595. package/lib/isMobile.js +6 -15
  596. package/lib/isNativeFunction.d.ts +3 -1
  597. package/lib/isNativeFunction.js +7 -12
  598. package/lib/isNull.d.ts +3 -1
  599. package/lib/isNull.js +6 -10
  600. package/lib/isNumber.d.ts +3 -1
  601. package/lib/isNumber.js +6 -11
  602. package/lib/isObject.d.ts +3 -1
  603. package/lib/isObject.js +6 -10
  604. package/lib/isPhone.d.ts +3 -1
  605. package/lib/isPhone.js +6 -10
  606. package/lib/isPromise.d.ts +3 -1
  607. package/lib/isPromise.js +6 -10
  608. package/lib/isRegExp.d.ts +3 -1
  609. package/lib/isRegExp.js +6 -10
  610. package/lib/isString.d.ts +3 -1
  611. package/lib/isString.js +6 -10
  612. package/lib/isUndefined.d.ts +3 -1
  613. package/lib/isUndefined.js +6 -10
  614. package/lib/isUrl.d.ts +3 -1
  615. package/lib/isUrl.js +6 -10
  616. package/lib/isWeChat.d.ts +4 -2
  617. package/lib/isWeChat.js +8 -18
  618. package/lib/isWeChatMiniProgram.d.ts +3 -1
  619. package/lib/isWeChatMiniProgram.js +6 -12
  620. package/lib/isWindow.d.ts +3 -1
  621. package/lib/isWindow.js +6 -11
  622. package/lib/kebabCase.d.ts +3 -1
  623. package/lib/kebabCase.js +6 -12
  624. package/lib/listGenerator.d.ts +3 -1
  625. package/lib/listGenerator.js +6 -11
  626. package/lib/mousewheel.d.ts +3 -2
  627. package/lib/mousewheel.js +6 -65
  628. package/lib/nf.d.ts +3 -1
  629. package/lib/nf.js +6 -10
  630. package/lib/normalizePath.d.ts +3 -1
  631. package/lib/normalizePath.js +6 -10
  632. package/lib/omit.d.ts +3 -1
  633. package/lib/omit.js +6 -14
  634. package/lib/padding.d.ts +3 -1
  635. package/lib/padding.js +6 -15
  636. package/lib/parseDate.d.ts +3 -1
  637. package/lib/parseDate.js +6 -15
  638. package/lib/parseError.d.ts +3 -1
  639. package/lib/parseError.js +10 -26
  640. package/lib/parseObject.d.ts +3 -1
  641. package/lib/parseObject.js +6 -17
  642. package/lib/parsePath.d.ts +3 -1
  643. package/lib/parsePath.js +7 -18
  644. package/lib/parseQuery.d.ts +3 -1
  645. package/lib/parseQuery.js +8 -31
  646. package/lib/parseQueryString.d.ts +3 -1
  647. package/lib/parseQueryString.js +6 -18
  648. package/lib/pascalCase.d.ts +3 -1
  649. package/lib/pascalCase.js +8 -13
  650. package/lib/pick.d.ts +3 -1
  651. package/lib/pick.js +6 -14
  652. package/lib/replaceCrlf.d.ts +3 -1
  653. package/lib/replaceCrlf.js +6 -10
  654. package/lib/requestFullScreen.d.ts +3 -1
  655. package/lib/requestFullScreen.js +6 -31
  656. package/lib/reserve.d.ts +3 -1
  657. package/lib/reserve.js +9 -14
  658. package/lib/rgbToHex.d.ts +3 -1
  659. package/lib/rgbToHex.js +6 -16
  660. package/lib/round.d.ts +3 -1
  661. package/lib/round.js +6 -51
  662. package/lib/scrollToTop.d.ts +3 -1
  663. package/lib/scrollToTop.js +6 -14
  664. package/lib/setScrollTop.d.ts +3 -1
  665. package/lib/setScrollTop.js +6 -10
  666. package/lib/sleep.d.ts +3 -1
  667. package/lib/sleep.js +6 -14
  668. package/lib/splitArray.d.ts +3 -1
  669. package/lib/splitArray.js +6 -14
  670. package/lib/storage/factory.d.ts +4 -2
  671. package/lib/storage/factory.js +8 -59
  672. package/lib/storage/index.d.ts +6 -3
  673. package/lib/storage/index.js +14 -30
  674. package/lib/stringTrim.d.ts +3 -1
  675. package/lib/stringTrim.js +6 -23
  676. package/lib/stringifyQuery.d.ts +3 -1
  677. package/lib/stringifyQuery.js +8 -20
  678. package/lib/stringifyQueryString.d.ts +3 -1
  679. package/lib/stringifyQueryString.js +6 -17
  680. package/lib/throttle.d.ts +5 -3
  681. package/lib/throttle.js +10 -45
  682. package/lib/toCDB.d.ts +3 -1
  683. package/lib/toCDB.js +6 -23
  684. package/lib/toDBC.d.ts +3 -1
  685. package/lib/toDBC.js +6 -23
  686. package/lib/trap.d.ts +5 -3
  687. package/lib/trap.js +9 -47
  688. package/lib/typeOf.d.ts +3 -1
  689. package/lib/typeOf.js +6 -12
  690. package/lib/withPreventConsecutiveClicks.d.ts +3 -1
  691. package/lib/withPreventConsecutiveClicks.js +6 -42
  692. package/package.json +16 -6
  693. package/es/ato.js +0 -6
  694. package/es/base64ToBlob.d.ts +0 -6
  695. package/es/base64ToBlob.js +0 -21
  696. package/es/blobToBase64.d.ts +0 -4
  697. package/es/blobToBase64.js +0 -14
  698. package/es/cached.d.ts +0 -5
  699. package/es/cached.js +0 -12
  700. package/es/camelCase.d.ts +0 -5
  701. package/es/camelCase.js +0 -7
  702. package/es/canvasToBlob.d.ts +0 -4
  703. package/es/canvasToBlob.js +0 -8
  704. package/es/capitalize.d.ts +0 -5
  705. package/es/capitalize.js +0 -7
  706. package/es/clamp.js +0 -16
  707. package/es/clone.d.ts +0 -5
  708. package/es/clone.js +0 -19
  709. package/es/cloneSimple.js +0 -9
  710. package/es/compareVersion.js +0 -39
  711. package/es/compressImage.d.ts +0 -4
  712. package/es/compressImage.js +0 -16
  713. package/es/createHexColorByHash.d.ts +0 -4
  714. package/es/createHexColorByHash.js +0 -63
  715. package/es/createLinearFunction.js +0 -20
  716. package/es/createWithLoading.js +0 -35
  717. package/es/debounce.d.ts +0 -5
  718. package/es/debounce.js +0 -14
  719. package/es/decode.d.ts +0 -2
  720. package/es/decode.js +0 -47
  721. package/es/downloadFile.d.ts +0 -6
  722. package/es/downloadFile.js +0 -11
  723. package/es/each.d.ts +0 -5
  724. package/es/each.js +0 -13
  725. package/es/exitFullscreen.js +0 -27
  726. package/es/filterBankCardNo.d.ts +0 -4
  727. package/es/filterBankCardNo.js +0 -8
  728. package/es/filterCRLF.d.ts +0 -4
  729. package/es/filterCRLF.js +0 -6
  730. package/es/filterEmoji.d.ts +0 -4
  731. package/es/filterEmoji.js +0 -17
  732. package/es/filterEmptyValue.js +0 -31
  733. package/es/filterIdCard.d.ts +0 -5
  734. package/es/filterIdCard.js +0 -7
  735. package/es/filterName.d.ts +0 -4
  736. package/es/filterName.js +0 -16
  737. package/es/filterPhone.js +0 -8
  738. package/es/filterString.d.ts +0 -6
  739. package/es/filterString.js +0 -16
  740. package/es/formartDateToZN.d.ts +0 -1
  741. package/es/formartDateToZN.js +0 -30
  742. package/es/formatAmount.d.ts +0 -4
  743. package/es/formatAmount.js +0 -21
  744. package/es/formatDate.d.ts +0 -5
  745. package/es/formatDate.js +0 -35
  746. package/es/formatDateStr.js +0 -7
  747. package/es/formatMessage.js +0 -25
  748. package/es/formatPathParams.js +0 -19
  749. package/es/getBlobByUrl.d.ts +0 -4
  750. package/es/getBlobByUrl.js +0 -21
  751. package/es/getDayMillisecond.d.ts +0 -4
  752. package/es/getDayMillisecond.js +0 -6
  753. package/es/getImageInfo.d.ts +0 -4
  754. package/es/getImageInfo.js +0 -14
  755. package/es/getRandom.js +0 -9
  756. package/es/getRandomColor.d.ts +0 -4
  757. package/es/getRandomColor.js +0 -6
  758. package/es/getRandomNumber.js +0 -8
  759. package/es/getScrollTop.d.ts +0 -4
  760. package/es/getScrollTop.js +0 -6
  761. package/es/getVideoInfo.d.ts +0 -4
  762. package/es/getVideoInfo.js +0 -15
  763. package/es/inBrowser.d.ts +0 -4
  764. package/es/inBrowser.js +0 -6
  765. package/es/index.d.ts +0 -112
  766. package/es/index.js +0 -113
  767. package/es/insertLink.d.ts +0 -5
  768. package/es/insertLink.js +0 -15
  769. package/es/insertScript.d.ts +0 -5
  770. package/es/insertScript.js +0 -15
  771. package/es/insertStyle.d.ts +0 -4
  772. package/es/insertStyle.js +0 -9
  773. package/es/isAmount.js +0 -13
  774. package/es/isAndroid.d.ts +0 -4
  775. package/es/isAndroid.js +0 -6
  776. package/es/isArray.js +0 -8
  777. package/es/isBoolean.d.ts +0 -5
  778. package/es/isBoolean.js +0 -7
  779. package/es/isChinese.d.ts +0 -4
  780. package/es/isChinese.js +0 -6
  781. package/es/isDate.d.ts +0 -4
  782. package/es/isDate.js +0 -6
  783. package/es/isEmail.d.ts +0 -4
  784. package/es/isEmail.js +0 -6
  785. package/es/isEmpty.d.ts +0 -4
  786. package/es/isEmpty.js +0 -8
  787. package/es/isEmptyArray.d.ts +0 -4
  788. package/es/isEmptyArray.js +0 -7
  789. package/es/isEmptyObject.d.ts +0 -5
  790. package/es/isEmptyObject.js +0 -7
  791. package/es/isError.d.ts +0 -4
  792. package/es/isError.js +0 -6
  793. package/es/isFunction.d.ts +0 -4
  794. package/es/isFunction.js +0 -6
  795. package/es/isIE.js +0 -27
  796. package/es/isIOS.d.ts +0 -4
  797. package/es/isIOS.js +0 -6
  798. package/es/isIdCard.d.ts +0 -4
  799. package/es/isIdCard.js +0 -6
  800. package/es/isJSONString.d.ts +0 -5
  801. package/es/isJSONString.js +0 -14
  802. package/es/isLan.js +0 -36
  803. package/es/isLicenseCode.d.ts +0 -5
  804. package/es/isLicenseCode.js +0 -7
  805. package/es/isMobile.d.ts +0 -4
  806. package/es/isMobile.js +0 -11
  807. package/es/isNativeFunction.js +0 -8
  808. package/es/isNull.d.ts +0 -4
  809. package/es/isNull.js +0 -6
  810. package/es/isNumber.d.ts +0 -5
  811. package/es/isNumber.js +0 -7
  812. package/es/isObject.d.ts +0 -4
  813. package/es/isObject.js +0 -6
  814. package/es/isPhone.d.ts +0 -4
  815. package/es/isPhone.js +0 -6
  816. package/es/isPromise.d.ts +0 -4
  817. package/es/isPromise.js +0 -6
  818. package/es/isRegExp.d.ts +0 -4
  819. package/es/isRegExp.js +0 -6
  820. package/es/isString.d.ts +0 -4
  821. package/es/isString.js +0 -6
  822. package/es/isUndefined.d.ts +0 -4
  823. package/es/isUndefined.js +0 -6
  824. package/es/isUrl.d.ts +0 -4
  825. package/es/isUrl.js +0 -6
  826. package/es/isWeChat.js +0 -13
  827. package/es/isWeChatMiniProgram.js +0 -8
  828. package/es/isWindow.d.ts +0 -5
  829. package/es/isWindow.js +0 -7
  830. package/es/kebabCase.d.ts +0 -5
  831. package/es/kebabCase.js +0 -8
  832. package/es/listGenerator.d.ts +0 -5
  833. package/es/listGenerator.js +0 -7
  834. package/es/mousewheel.js +0 -61
  835. package/es/nf.d.ts +0 -4
  836. package/es/nf.js +0 -6
  837. package/es/normalizePath.d.ts +0 -4
  838. package/es/normalizePath.js +0 -6
  839. package/es/omit.d.ts +0 -4
  840. package/es/omit.js +0 -10
  841. package/es/padding.js +0 -11
  842. package/es/parseDate.d.ts +0 -4
  843. package/es/parseDate.js +0 -11
  844. package/es/parseError.d.ts +0 -4
  845. package/es/parseError.js +0 -22
  846. package/es/parseObject.d.ts +0 -5
  847. package/es/parseObject.js +0 -13
  848. package/es/parsePath.d.ts +0 -4
  849. package/es/parsePath.js +0 -14
  850. package/es/parseQuery.d.ts +0 -6
  851. package/es/parseQuery.js +0 -27
  852. package/es/parseQueryString.d.ts +0 -6
  853. package/es/parseQueryString.js +0 -14
  854. package/es/pascalCase.js +0 -9
  855. package/es/pick.d.ts +0 -4
  856. package/es/pick.js +0 -10
  857. package/es/replaceCrlf.d.ts +0 -4
  858. package/es/replaceCrlf.js +0 -6
  859. package/es/requestFullScreen.js +0 -27
  860. package/es/reserve.js +0 -10
  861. package/es/rgbToHex.d.ts +0 -4
  862. package/es/rgbToHex.js +0 -12
  863. package/es/round.js +0 -47
  864. package/es/scrollToTop.d.ts +0 -4
  865. package/es/scrollToTop.js +0 -10
  866. package/es/setScrollTop.d.ts +0 -4
  867. package/es/setScrollTop.js +0 -6
  868. package/es/sleep.js +0 -10
  869. package/es/splitArray.d.ts +0 -4
  870. package/es/splitArray.js +0 -10
  871. package/es/storage/factory.js +0 -55
  872. package/es/storage/index.js +0 -13
  873. package/es/stringTrim.js +0 -19
  874. package/es/stringifyQuery.d.ts +0 -4
  875. package/es/stringifyQuery.js +0 -16
  876. package/es/stringifyQueryString.d.ts +0 -6
  877. package/es/stringifyQueryString.js +0 -13
  878. package/es/throttle.d.ts +0 -15
  879. package/es/throttle.js +0 -39
  880. package/es/toCDB.d.ts +0 -4
  881. package/es/toCDB.js +0 -19
  882. package/es/toDBC.d.ts +0 -4
  883. package/es/toDBC.js +0 -19
  884. package/es/trap.js +0 -43
  885. package/es/typeOf.js +0 -8
  886. package/es/withPreventConsecutiveClicks.d.ts +0 -4
  887. package/es/withPreventConsecutiveClicks.js +0 -38
@@ -1,16 +0,0 @@
1
- /**
2
- * 过滤字符串
3
- * const str = filterString('13188888888', '*', 3, 7)
4
- * str = '131****8888'
5
- */
6
- export function filterString(val, sep = '*', start = 0, end) {
7
- return val
8
- .split('')
9
- .map((s, index) => {
10
- if (index >= start && index < (end !== null && end !== void 0 ? end : val.length)) {
11
- return sep;
12
- }
13
- return s;
14
- })
15
- .join('');
16
- }
@@ -1 +0,0 @@
1
- export declare function formatDateToZN(v: string | number): string;
@@ -1,30 +0,0 @@
1
- import { formatDateStr, formatDate, isNumber } from './index';
2
- export function formatDateToZN(v) {
3
- const timestamp = isNumber(v) ? v : new Date(formatDateStr(v + '')).getTime();
4
- const now = Date.now(); // 获取当前时间的时间戳
5
- const diff = now - timestamp; // 计算时间差
6
- // 计算分钟、小时、天、周等
7
- const seconds = Math.floor(diff / 1000);
8
- const minutes = Math.floor(diff / (1000 * 60));
9
- const hours = Math.floor(minutes / 60);
10
- const days = Math.floor(hours / 24);
11
- const weeks = Math.floor(days / 7);
12
- // 判断时间间隔,并返回相应的表示方式
13
- if (weeks >= 4) {
14
- return formatDate(timestamp, 'yyyy-MM-dd hh:mm');
15
- }
16
- else if (days >= 7) {
17
- return `${weeks}周前`;
18
- }
19
- else if (hours >= 24) {
20
- return `${days}天前`;
21
- }
22
- else if (minutes >= 60) {
23
- return `${hours}小时前`;
24
- }
25
- else if (seconds >= 60) {
26
- return `${minutes}分钟前`;
27
- }
28
- else
29
- return '刚刚';
30
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 格式化金额,默认元
3
- */
4
- export declare function formatAmount(s: string | number, radix?: number): string;
@@ -1,21 +0,0 @@
1
- /**
2
- * 格式化金额,默认元
3
- */
4
- export function formatAmount(s, radix = 1) {
5
- const money = parseFloat(s === null || s === void 0 ? void 0 : s.toString());
6
- if (money) {
7
- // eslint-disable-next-line no-param-reassign
8
- s = `${(money / radix).toFixed(2)}`;
9
- const l = s.split('.')[0].split('').reverse();
10
- const r = s.split('.')[1];
11
- let t = '';
12
- l.forEach((_, key) => {
13
- t += l[key] + ((key + 1) % 3 === 0 && key + 1 !== l.length ? ',' : '');
14
- });
15
- return `${t.split('').reverse().join('')}.${r}`;
16
- }
17
- if (+s === 0) {
18
- return '0.00';
19
- }
20
- return '---';
21
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * 格式化日期
3
- * 默认的当前日期 yyyy-MM-dd hh:mm:ss
4
- */
5
- export declare function formatDate(val?: string | Date | number, fmt?: string): string;
package/es/formatDate.js DELETED
@@ -1,35 +0,0 @@
1
- import { isString } from './isString';
2
- import { formatDateStr } from './formatDateStr';
3
- /**
4
- * 格式化日期
5
- * 默认的当前日期 yyyy-MM-dd hh:mm:ss
6
- */
7
- export function formatDate(val = new Date(), fmt = 'yyyy-MM-dd hh:mm:ss') {
8
- let v = val;
9
- if (isString(v)) {
10
- // fix iOS new Date() 不支持 2020-01-01 格式,需转换为 2020/01/01
11
- v = formatDateStr(v);
12
- }
13
- const date = new Date(v);
14
- const o = {
15
- 'M+': date.getMonth() + 1,
16
- 'd+': date.getDate(),
17
- 'h+': date.getHours(),
18
- 'm+': date.getMinutes(),
19
- 's+': date.getSeconds(),
20
- 'q+': Math.floor((date.getMonth() + 3) / 3),
21
- S: date.getMilliseconds(),
22
- };
23
- if (/(y+)/.test(fmt)) {
24
- // eslint-disable-next-line no-param-reassign
25
- fmt = fmt.replace(RegExp.$1, `${date.getFullYear()}`.substr(4 - RegExp.$1.length));
26
- }
27
- // eslint-disable-next-line no-restricted-syntax
28
- for (const k in o) {
29
- if (new RegExp(`(${k})`).test(fmt)) {
30
- // eslint-disable-next-line no-param-reassign
31
- fmt = fmt.replace(RegExp.$1, RegExp.$1.length === 1 ? o[k] : `00${o[k]}`.substr(`${o[k]}`.length));
32
- }
33
- }
34
- return fmt;
35
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * str 转换成 date
3
- * fix iOS 日期时间格式如果是 - 就会报错的问题
4
- */
5
- export function formatDateStr(v) {
6
- return new Date(v.replace(/-/g, '/'));
7
- }
@@ -1,25 +0,0 @@
1
- import { isNull } from './isNull';
2
- import { isObject } from './isObject';
3
- import { isUndefined } from './isUndefined';
4
- import { parsePath } from './parsePath';
5
- /**
6
- * 格式化消息
7
- * formatMessage({ a: '123', b: { ba: '456' } }, ['a']) => '123'
8
- * formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
9
- */
10
- export function formatMessage(message, keys = ['message', 'msg', 'errMsg', 'errorMsg']) {
11
- if (isNull(message) || isUndefined(message)) {
12
- return '';
13
- }
14
- if (!isObject(message)) {
15
- return `${message}`;
16
- }
17
- for (let i = 0, len = keys.length; i < len; i++) {
18
- const key = keys[i];
19
- const val = parsePath(message, key);
20
- if (!isUndefined(val)) {
21
- return `${val}`;
22
- }
23
- }
24
- return JSON.stringify(message);
25
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * 格式化字符串参数,一般用来处理 api path params
3
- * const url = 'api/v1/user/{id}'
4
- * const { path, rest } = formatPathParams(url, { id: 123, xxx: 1 })
5
- * path = 'api/v1/user/123'
6
- * rest = { xxx: 1 }
7
- */
8
- export function formatPathParams(path, params = {}) {
9
- const rest = Object.assign({}, params);
10
- if (path.includes('{')) {
11
- Object.keys(rest).forEach((key) => {
12
- if (path.includes(`{${key}}`)) {
13
- path = path.replace(`{${key}}`, rest[key]);
14
- delete rest[key];
15
- }
16
- });
17
- }
18
- return { path, rest };
19
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 根据在线 url 返回 blob
3
- */
4
- export declare function getBlobByUrl(url: string): Promise<Blob>;
@@ -1,21 +0,0 @@
1
- /**
2
- * 根据在线 url 返回 blob
3
- */
4
- export function getBlobByUrl(url) {
5
- return new Promise((resolve, reject) => {
6
- const xhr = new XMLHttpRequest();
7
- xhr.open('GET', url, true);
8
- xhr.setRequestHeader('Access-Control-Allow-Origin', '*');
9
- xhr.responseType = 'blob';
10
- xhr.onload = () => {
11
- const { status, response, statusText } = xhr;
12
- if (status >= 200 && status < 300) {
13
- resolve(response);
14
- }
15
- else {
16
- reject(new Error(`${statusText}[${status}]`));
17
- }
18
- };
19
- xhr.send();
20
- });
21
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 获取多少天的毫秒数 默认获取1天的
3
- */
4
- export declare function getDayMillisecond(day?: number): number;
@@ -1,6 +0,0 @@
1
- /**
2
- * 获取多少天的毫秒数 默认获取1天的
3
- */
4
- export function getDayMillisecond(day = 1) {
5
- return day * 24 * 60 * 60 * 1000;
6
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 获取图片信息
3
- */
4
- export declare function getImageInfo(src: string): Promise<HTMLImageElement>;
@@ -1,14 +0,0 @@
1
- /**
2
- * 获取图片信息
3
- */
4
- export function getImageInfo(src) {
5
- return new Promise((resolve, reject) => {
6
- const image = new Image();
7
- image.onload = () => {
8
- resolve(image);
9
- };
10
- image.onerror = reject;
11
- image.setAttribute('crossOrigin', 'Anonymous');
12
- image.src = src;
13
- });
14
- }
package/es/getRandom.js DELETED
@@ -1,9 +0,0 @@
1
- import { listGenerator } from './listGenerator';
2
- /**
3
- * 生成一个随机字符串
4
- * @param length 生成随机字符串的长度
5
- * @param alphabet 字母表
6
- */
7
- export function getRandom(length, alphabet = '1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM') {
8
- return listGenerator(length, () => alphabet[Math.floor(Math.random() * alphabet.length)]).join('');
9
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 随机颜色
3
- */
4
- export declare function getRandomColor(): string;
@@ -1,6 +0,0 @@
1
- /**
2
- * 随机颜色
3
- */
4
- export function getRandomColor() {
5
- return `#${Math.floor(Math.random() * 0xffffff).toString(16)}`;
6
- }
@@ -1,8 +0,0 @@
1
- import { getRandom } from './getRandom';
2
- /**
3
- * 生成一个随机数字
4
- * @param length 生成一个随机数字的长度
5
- */
6
- export function getRandomNumber(length) {
7
- return getRandom(length, '1234567890');
8
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 获取 scrollTop
3
- */
4
- export declare function getScrollTop(): number;
@@ -1,6 +0,0 @@
1
- /**
2
- * 获取 scrollTop
3
- */
4
- export function getScrollTop() {
5
- return document.documentElement.scrollTop || document.body.scrollTop || 0;
6
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 获取 video 信息
3
- */
4
- export declare function getVideoInfo(src: string): Promise<HTMLVideoElement>;
@@ -1,15 +0,0 @@
1
- /**
2
- * 获取 video 信息
3
- */
4
- export function getVideoInfo(src) {
5
- return new Promise((resolve, reject) => {
6
- const video = document.createElement('video');
7
- video.preload = 'metadata';
8
- video.muted = true;
9
- video.onerror = reject;
10
- video.onloadedmetadata = () => {
11
- resolve(video);
12
- };
13
- video.src = src;
14
- });
15
- }
package/es/inBrowser.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * 判断是否是浏览器环境
3
- */
4
- export declare function inBrowser(): boolean;
package/es/inBrowser.js DELETED
@@ -1,6 +0,0 @@
1
- /**
2
- * 判断是否是浏览器环境
3
- */
4
- export function inBrowser() {
5
- return typeof window !== 'undefined';
6
- }
package/es/index.d.ts DELETED
@@ -1,112 +0,0 @@
1
- export * from './ato';
2
- export * from './base64ToBlob';
3
- export * from './blobToBase64';
4
- export * from './cached';
5
- export * from './camelCase';
6
- export * from './canvasToBlob';
7
- export * from './capitalize';
8
- export * from './clamp';
9
- export * from './clone';
10
- export * from './cloneSimple';
11
- export * from './compareVersion';
12
- export * from './compressImage';
13
- export * from './createHexColorByHash';
14
- export * from './createLinearFunction';
15
- export * from './createWithLoading';
16
- export * from './debounce';
17
- export * from './decode';
18
- export * from './downloadFile';
19
- export * from './each';
20
- export * from './exitFullscreen';
21
- export * from './filterBankCardNo';
22
- export * from './filterCRLF';
23
- export * from './filterEmoji';
24
- export * from './filterEmptyValue';
25
- export * from './filterIdCard';
26
- export * from './filterName';
27
- export * from './filterPhone';
28
- export * from './filterString';
29
- export * from './formartDateToZN';
30
- export * from './formatAmount';
31
- export * from './formatDate';
32
- export * from './formatDateStr';
33
- export * from './formatMessage';
34
- export * from './formatPathParams';
35
- export * from './getBlobByUrl';
36
- export * from './getDayMillisecond';
37
- export * from './getImageInfo';
38
- export * from './getRandom';
39
- export * from './getRandomColor';
40
- export * from './getRandomNumber';
41
- export * from './getScrollTop';
42
- export * from './getVideoInfo';
43
- export * from './inBrowser';
44
- export * from './insertLink';
45
- export * from './insertScript';
46
- export * from './insertStyle';
47
- export * from './isAmount';
48
- export * from './isAndroid';
49
- export * from './isArray';
50
- export * from './isBoolean';
51
- export * from './isChinese';
52
- export * from './isDate';
53
- export * from './isEmail';
54
- export * from './isEmpty';
55
- export * from './isEmptyArray';
56
- export * from './isEmptyObject';
57
- export * from './isError';
58
- export * from './isFunction';
59
- export * from './isIE';
60
- export * from './isIOS';
61
- export * from './isIdCard';
62
- export * from './isJSONString';
63
- export * from './isLan';
64
- export * from './isLicenseCode';
65
- export * from './isMobile';
66
- export * from './isNativeFunction';
67
- export * from './isNull';
68
- export * from './isNumber';
69
- export * from './isObject';
70
- export * from './isPhone';
71
- export * from './isPromise';
72
- export * from './isRegExp';
73
- export * from './isString';
74
- export * from './isUndefined';
75
- export * from './isUrl';
76
- export * from './isWeChat';
77
- export * from './isWeChatMiniProgram';
78
- export * from './isWindow';
79
- export * from './kebabCase';
80
- export * from './listGenerator';
81
- export * from './mousewheel';
82
- export * from './nf';
83
- export * from './normalizePath';
84
- export * from './omit';
85
- export * from './padding';
86
- export * from './parseDate';
87
- export * from './parseError';
88
- export * from './parseObject';
89
- export * from './parsePath';
90
- export * from './parseQuery';
91
- export * from './parseQueryString';
92
- export * from './pascalCase';
93
- export * from './pick';
94
- export * from './replaceCrlf';
95
- export * from './requestFullScreen';
96
- export * from './reserve';
97
- export * from './rgbToHex';
98
- export * from './round';
99
- export * from './scrollToTop';
100
- export * from './setScrollTop';
101
- export * from './sleep';
102
- export * from './splitArray';
103
- export * from './storage';
104
- export * from './stringTrim';
105
- export * from './stringifyQuery';
106
- export * from './stringifyQueryString';
107
- export * from './throttle';
108
- export * from './toCDB';
109
- export * from './toDBC';
110
- export * from './trap';
111
- export * from './typeOf';
112
- export * from './withPreventConsecutiveClicks';
package/es/index.js DELETED
@@ -1,113 +0,0 @@
1
- /* 本文件自动生成 './scripts/entry.js' */
2
- export * from './ato';
3
- export * from './base64ToBlob';
4
- export * from './blobToBase64';
5
- export * from './cached';
6
- export * from './camelCase';
7
- export * from './canvasToBlob';
8
- export * from './capitalize';
9
- export * from './clamp';
10
- export * from './clone';
11
- export * from './cloneSimple';
12
- export * from './compareVersion';
13
- export * from './compressImage';
14
- export * from './createHexColorByHash';
15
- export * from './createLinearFunction';
16
- export * from './createWithLoading';
17
- export * from './debounce';
18
- export * from './decode';
19
- export * from './downloadFile';
20
- export * from './each';
21
- export * from './exitFullscreen';
22
- export * from './filterBankCardNo';
23
- export * from './filterCRLF';
24
- export * from './filterEmoji';
25
- export * from './filterEmptyValue';
26
- export * from './filterIdCard';
27
- export * from './filterName';
28
- export * from './filterPhone';
29
- export * from './filterString';
30
- export * from './formartDateToZN';
31
- export * from './formatAmount';
32
- export * from './formatDate';
33
- export * from './formatDateStr';
34
- export * from './formatMessage';
35
- export * from './formatPathParams';
36
- export * from './getBlobByUrl';
37
- export * from './getDayMillisecond';
38
- export * from './getImageInfo';
39
- export * from './getRandom';
40
- export * from './getRandomColor';
41
- export * from './getRandomNumber';
42
- export * from './getScrollTop';
43
- export * from './getVideoInfo';
44
- export * from './inBrowser';
45
- export * from './insertLink';
46
- export * from './insertScript';
47
- export * from './insertStyle';
48
- export * from './isAmount';
49
- export * from './isAndroid';
50
- export * from './isArray';
51
- export * from './isBoolean';
52
- export * from './isChinese';
53
- export * from './isDate';
54
- export * from './isEmail';
55
- export * from './isEmpty';
56
- export * from './isEmptyArray';
57
- export * from './isEmptyObject';
58
- export * from './isError';
59
- export * from './isFunction';
60
- export * from './isIE';
61
- export * from './isIOS';
62
- export * from './isIdCard';
63
- export * from './isJSONString';
64
- export * from './isLan';
65
- export * from './isLicenseCode';
66
- export * from './isMobile';
67
- export * from './isNativeFunction';
68
- export * from './isNull';
69
- export * from './isNumber';
70
- export * from './isObject';
71
- export * from './isPhone';
72
- export * from './isPromise';
73
- export * from './isRegExp';
74
- export * from './isString';
75
- export * from './isUndefined';
76
- export * from './isUrl';
77
- export * from './isWeChat';
78
- export * from './isWeChatMiniProgram';
79
- export * from './isWindow';
80
- export * from './kebabCase';
81
- export * from './listGenerator';
82
- export * from './mousewheel';
83
- export * from './nf';
84
- export * from './normalizePath';
85
- export * from './omit';
86
- export * from './padding';
87
- export * from './parseDate';
88
- export * from './parseError';
89
- export * from './parseObject';
90
- export * from './parsePath';
91
- export * from './parseQuery';
92
- export * from './parseQueryString';
93
- export * from './pascalCase';
94
- export * from './pick';
95
- export * from './replaceCrlf';
96
- export * from './requestFullScreen';
97
- export * from './reserve';
98
- export * from './rgbToHex';
99
- export * from './round';
100
- export * from './scrollToTop';
101
- export * from './setScrollTop';
102
- export * from './sleep';
103
- export * from './splitArray';
104
- export * from './storage';
105
- export * from './stringTrim';
106
- export * from './stringifyQuery';
107
- export * from './stringifyQueryString';
108
- export * from './throttle';
109
- export * from './toCDB';
110
- export * from './toDBC';
111
- export * from './trap';
112
- export * from './typeOf';
113
- export * from './withPreventConsecutiveClicks';
@@ -1,5 +0,0 @@
1
- /**
2
- * 插入 link
3
- */
4
- export declare function insertLink(href: string): Promise<HTMLLinkElement>;
5
- export declare function insertLink(href: string, callback: (err: unknown, el: HTMLLinkElement) => void): void;
package/es/insertLink.js DELETED
@@ -1,15 +0,0 @@
1
- export function insertLink(href, callback) {
2
- const linkElement = document.createElement('link');
3
- linkElement.href = href;
4
- const insert = (success, fail) => {
5
- document.body.appendChild(linkElement);
6
- linkElement.onload = success;
7
- linkElement.onerror = fail;
8
- };
9
- if (callback) {
10
- return insert(() => callback(null, linkElement), (err) => callback(err, linkElement));
11
- }
12
- return new Promise((resolve, reject) => {
13
- insert(() => resolve(linkElement), reject);
14
- });
15
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * 插入外部 script 标签
3
- */
4
- export declare function insertScript(src: string): Promise<HTMLScriptElement>;
5
- export declare function insertScript(src: string, callback: (err: unknown, el: HTMLScriptElement) => void): void;
@@ -1,15 +0,0 @@
1
- export function insertScript(src, callback) {
2
- const scriptElement = document.createElement('script');
3
- scriptElement.src = src;
4
- const insert = (success, fail) => {
5
- document.body.appendChild(scriptElement);
6
- scriptElement.onload = success;
7
- scriptElement.onerror = fail;
8
- };
9
- if (callback) {
10
- return insert(() => callback(null, scriptElement), (err) => callback(err, scriptElement));
11
- }
12
- return new Promise((resolve, reject) => {
13
- insert(() => resolve(scriptElement), reject);
14
- });
15
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * 插入样式
3
- */
4
- export declare function insertStyle(content: string): HTMLStyleElement;
package/es/insertStyle.js DELETED
@@ -1,9 +0,0 @@
1
- /**
2
- * 插入样式
3
- */
4
- export function insertStyle(content) {
5
- const styleElement = document.createElement('style');
6
- document.head.appendChild(styleElement);
7
- styleElement.innerText = content;
8
- return styleElement;
9
- }
package/es/isAmount.js DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * 判断是否是合法金额
3
- * 只能是数字,小数点后只能保留两位或一位
4
- * isAmount(0) => true
5
- * isAmount('01') => false
6
- * isAmount('1.') => true
7
- * isAmount('1.1') => true
8
- * isAmount('1.12') => true
9
- * isAmount('1.123') => false
10
- */
11
- export function isAmount(val) {
12
- return /^([1-9]\d*|0)([.]?|(\.\d{1,2})?)$/.test(val);
13
- }
package/es/isAndroid.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * 校验是否是安卓
3
- */
4
- export declare function isAndroid(): boolean;
package/es/isAndroid.js DELETED
@@ -1,6 +0,0 @@
1
- /**
2
- * 校验是否是安卓
3
- */
4
- export function isAndroid() {
5
- return /android/.test(navigator.userAgent.toLowerCase());
6
- }
package/es/isArray.js DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * 判断是否是数组
3
- * @param val 待判断值
4
- * @returns 是否
5
- */
6
- export function isArray(val) {
7
- return Array.isArray(val);
8
- }
package/es/isBoolean.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * 判断是否是布尔值
3
- * @param val 需要判断的值
4
- */
5
- export declare function isBoolean(val: unknown): val is boolean;