@unicom-cloud/utils 0.1.11 → 0.1.12

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 (107) hide show
  1. package/date/index.js +22 -0
  2. package/date.js +9 -0
  3. package/index.js +56 -54
  4. package/lunar/index.js +36 -0
  5. package/lunar/lib/Holiday.js +42 -0
  6. package/lunar/lib/HolidayUtil.js +128 -0
  7. package/lunar/lib/I18n.js +1005 -0
  8. package/lunar/lib/JieQi.js +40 -0
  9. package/lunar/lib/Lunar.js +1035 -0
  10. package/lunar/lib/LunarMonth.js +150 -0
  11. package/lunar/lib/LunarTime.js +138 -0
  12. package/lunar/lib/LunarUtil.js +1752 -0
  13. package/lunar/lib/LunarYear.js +616 -0
  14. package/lunar/lib/ShouXingUtil.js +6915 -0
  15. package/lunar/lib/Solar.js +311 -0
  16. package/lunar/lib/SolarHalfYear.js +45 -0
  17. package/lunar/lib/SolarMonth.js +55 -0
  18. package/lunar/lib/SolarSeason.js +42 -0
  19. package/lunar/lib/SolarUtil.js +256 -0
  20. package/lunar/lib/SolarWeek.js +153 -0
  21. package/lunar/lib/SolarYear.js +35 -0
  22. package/lunar/lib/index.js +35 -0
  23. package/lunar.js +36 -0
  24. package/package.json +1 -1
  25. package/snapdom/src/api/preCache.js +26 -36
  26. package/snapdom/src/api/snapdom.js +78 -61
  27. package/snapdom/src/core/capture.js +54 -54
  28. package/snapdom/src/core/prepare.js +46 -37
  29. package/snapdom/src/modules/fonts.js +90 -92
  30. package/snapdom/src/modules/iconFonts.js +28 -0
  31. package/snapdom/src/modules/images.js +6 -6
  32. package/snapdom/src/modules/pseudo.js +51 -49
  33. package/snapdom/src/modules/styles.js +27 -7
  34. package/snapdom/src/modules/svgDefs.js +26 -0
  35. package/snapdom/src/utils/helpers.js +150 -103
  36. package/tinycolor/index.js +46 -0
  37. package/tinycolor/src/conversion.js +143 -0
  38. package/tinycolor/src/css-color-names.js +153 -0
  39. package/tinycolor/src/format-input.js +77 -0
  40. package/tinycolor/src/from-ratio.js +21 -0
  41. package/tinycolor/src/index.js +404 -0
  42. package/tinycolor/src/random.js +221 -0
  43. package/tinycolor/src/readability.js +37 -0
  44. package/tinycolor/src/to-ms-filter.js +15 -0
  45. package/tinycolor/src/util.js +32 -0
  46. package/tinycolor.js +46 -0
  47. package/tree/index.js +10 -8
  48. package/tree.js +9 -7
  49. package/types/date/index.d.ts +4 -0
  50. package/types/index.d.ts +4 -3
  51. package/types/lunar/index.d.ts +3 -0
  52. package/types/lunar/lib/Holiday.d.ts +17 -0
  53. package/types/lunar/lib/HolidayUtil.d.ts +23 -0
  54. package/types/lunar/lib/I18n.d.ts +23 -0
  55. package/types/lunar/lib/JieQi.d.ts +15 -0
  56. package/types/lunar/lib/Lunar.d.ts +245 -0
  57. package/types/lunar/lib/LunarMonth.d.ts +35 -0
  58. package/types/lunar/lib/LunarTime.d.ts +40 -0
  59. package/types/lunar/lib/LunarUtil.d.ts +128 -0
  60. package/types/lunar/lib/LunarYear.d.ts +61 -0
  61. package/types/lunar/lib/ShouXingUtil.d.ts +38 -0
  62. package/types/lunar/lib/Solar.d.ts +51 -0
  63. package/types/lunar/lib/SolarHalfYear.d.ts +15 -0
  64. package/types/lunar/lib/SolarMonth.d.ts +16 -0
  65. package/types/lunar/lib/SolarSeason.d.ts +15 -0
  66. package/types/lunar/lib/SolarUtil.d.ts +20 -0
  67. package/types/lunar/lib/SolarWeek.d.ts +23 -0
  68. package/types/lunar/lib/SolarYear.d.ts +12 -0
  69. package/types/lunar/lib/index.d.ts +17 -0
  70. package/types/snapdom/src/core/prepare.d.ts +1 -1
  71. package/types/snapdom/src/modules/fonts.d.ts +1 -3
  72. package/types/snapdom/src/modules/iconFonts.d.ts +2 -0
  73. package/types/snapdom/src/modules/pseudo.d.ts +1 -1
  74. package/types/snapdom/src/modules/styles.d.ts +1 -10
  75. package/types/snapdom/src/modules/svgDefs.d.ts +19 -0
  76. package/types/snapdom/src/utils/helpers.d.ts +1 -1
  77. package/types/tinycolor/index.d.ts +2 -0
  78. package/types/tinycolor/src/conversion.d.ts +79 -0
  79. package/types/tinycolor/src/css-color-names.d.ts +4 -0
  80. package/types/tinycolor/src/format-input.d.ts +38 -0
  81. package/types/tinycolor/src/from-ratio.d.ts +14 -0
  82. package/types/tinycolor/src/index.d.ts +214 -0
  83. package/types/tinycolor/src/interfaces.d.ts +57 -0
  84. package/types/tinycolor/src/public_api.d.ts +10 -0
  85. package/types/tinycolor/src/random.d.ts +24 -0
  86. package/types/tinycolor/src/readability.d.ts +46 -0
  87. package/types/tinycolor/src/to-ms-filter.d.ts +5 -0
  88. package/types/tinycolor/src/umd_api.d.ts +22 -0
  89. package/types/tinycolor/src/util.d.ts +36 -0
  90. package/types/tree/index.d.ts +1 -0
  91. package/types/ui-color/compareColorByRange.d.ts +2 -0
  92. package/types/ui-color/index.d.ts +183 -0
  93. package/ui-color/compareColorByRange.js +9 -0
  94. package/ui-color/index.js +155 -0
  95. package/uiColor.js +28 -0
  96. package/convertTime.js +0 -4
  97. package/dayjs/index.js +0 -15
  98. package/dayjs.js +0 -5
  99. package/lunar-converter/index.js +0 -641
  100. package/lunarConverter.js +0 -4
  101. package/searchTree.js +0 -4
  102. package/types/dayjs/index.d.ts +0 -1
  103. package/types/lunar-converter/index.d.ts +0 -113
  104. /package/{convert-time/index.js → date/convertTime.js} +0 -0
  105. /package/{search-tree/index.js → tree/searchTree.js} +0 -0
  106. /package/types/{convert-time/index.d.ts → date/convertTime.d.ts} +0 -0
  107. /package/types/{search-tree/index.d.ts → tree/searchTree.d.ts} +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.