@whitesev/utils 1.0.3 → 1.0.5

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 (57) hide show
  1. package/dist/index.amd.js +11 -0
  2. package/dist/index.amd.js.map +1 -1
  3. package/dist/index.cjs.js +11 -0
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.esm.js +11 -0
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.iife.js +11 -0
  9. package/dist/index.iife.js.map +1 -1
  10. package/dist/index.system.js +11 -0
  11. package/dist/index.system.js.map +1 -1
  12. package/dist/index.umd.js +11 -0
  13. package/dist/index.umd.js.map +1 -1
  14. package/dist/src/UtilsCore.d.ts +7 -0
  15. package/dist/src/{Utils.d.ts → index.d.ts} +206 -1
  16. package/index.ts +1 -1
  17. package/package.json +36 -35
  18. package/rollup.config.js +10 -1
  19. package/src/GBKEncoder.ts +2 -0
  20. package/src/UtilsCore.ts +9 -0
  21. package/src/UtilsGMCookie.ts +1 -1
  22. package/src/{ajaxHooker.js → ajaxHooker/ajaxHooker.js} +1 -0
  23. package/src/{Utils.ts → index.ts} +266 -16
  24. package/tsconfig.json +1 -2
  25. package/src/GBKEncoder.js +0 -111
  26. package/src/types/DOMUtils.d.ts +0 -188
  27. package/src/types/UtilsCore.d.ts +0 -7
  28. package/src/types/global.d.ts +0 -58
  29. /package/dist/src/{Dictionary.d.ts → Dictionary/Dictionary.d.ts} +0 -0
  30. /package/dist/src/{Hooks.d.ts → Hooks/Hooks.d.ts} +0 -0
  31. /package/dist/src/{Httpx.d.ts → Httpx/Httpx.d.ts} +0 -0
  32. /package/dist/src/{LockFunction.d.ts → LockFunction/LockFunction.d.ts} +0 -0
  33. /package/dist/src/{Log.d.ts → Log/Log.d.ts} +0 -0
  34. /package/dist/src/{Progress.d.ts → Progress/Progress.d.ts} +0 -0
  35. /package/dist/src/{UtilsGMMenu.d.ts → UtilsGMMenu/UtilsGMMenu.d.ts} +0 -0
  36. /package/dist/src/{ajaxHooker.d.ts → ajaxHooker/ajaxHooker.d.ts} +0 -0
  37. /package/dist/src/{indexedDB.d.ts → indexedDB/indexedDB.d.ts} +0 -0
  38. /package/dist/src/{tryCatch.d.ts → tryCatch/tryCatch.d.ts} +0 -0
  39. /package/src/{Dictionary.js → Dictionary/Dictionary.js} +0 -0
  40. /package/src/{types/Dictionary.d.ts → Dictionary/index.d.ts} +0 -0
  41. /package/src/{Hooks.js → Hooks/Hooks.js} +0 -0
  42. /package/src/{types/Hook.d.ts → Hooks/index.d.ts} +0 -0
  43. /package/src/{Httpx.js → Httpx/Httpx.js} +0 -0
  44. /package/src/{types/Httpx.d.ts → Httpx/index.d.ts} +0 -0
  45. /package/src/{LockFunction.js → LockFunction/LockFunction.js} +0 -0
  46. /package/src/{types/LockFunction.d.ts → LockFunction/index.d.ts} +0 -0
  47. /package/src/{Log.js → Log/Log.js} +0 -0
  48. /package/src/{types/Log.d.ts → Log/index.d.ts} +0 -0
  49. /package/src/{Progress.js → Progress/Progress.js} +0 -0
  50. /package/src/{types/Progress.d.ts → Progress/index.d.ts} +0 -0
  51. /package/src/{UtilsGMMenu.js → UtilsGMMenu/UtilsGMMenu.js} +0 -0
  52. /package/src/{types/UtilsGMMenu.d.ts → UtilsGMMenu/index.d.ts} +0 -0
  53. /package/src/{types/AjaxHooker.d.ts → ajaxHooker/index.d.ts} +0 -0
  54. /package/src/{types/Indexdb.d.ts → indexedDB/index.d.ts} +0 -0
  55. /package/src/{indexedDB.js → indexedDB/indexedDB.js} +0 -0
  56. /package/src/{types/TryCatch.d.ts → tryCatch/index.d.ts} +0 -0
  57. /package/src/{tryCatch.js → tryCatch/tryCatch.js} +0 -0
package/dist/index.cjs.js CHANGED
@@ -370,6 +370,7 @@ class UtilsGMCookie {
370
370
  }
371
371
  }
372
372
 
373
+ /// <reference path="./index.d.ts" />
373
374
  // @name ajaxHooker
374
375
  // @author cxxjackie
375
376
  // @version 1.4.1
@@ -3208,6 +3209,16 @@ class UtilsDictionary {
3208
3209
  }
3209
3210
  }
3210
3211
 
3212
+ /// <reference path="./ajaxHooker/index.d.ts" />
3213
+ /// <reference path="./Dictionary/index.d.ts" />
3214
+ /// <reference path="./Hooks/index.d.ts" />
3215
+ /// <reference path="./Httpx/index.d.ts" />
3216
+ /// <reference path="./indexedDB/index.d.ts" />
3217
+ /// <reference path="./LockFunction/index.d.ts" />
3218
+ /// <reference path="./Log/index.d.ts" />
3219
+ /// <reference path="./Progress/index.d.ts" />
3220
+ /// <reference path="./tryCatch/index.d.ts" />
3221
+ /// <reference path="./UtilsGMMenu/index.d.ts" />
3211
3222
  let Utils$1 = class Utils {
3212
3223
  /** 版本号 */
3213
3224
  version = "2024.5.25";