methods.d.ts 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. // 按需加载依赖
  2. // object
  3. export * from 'xe-utils/assign'
  4. export * from 'xe-utils/objectEach'
  5. // export * from 'xe-utils/lastObjectEach'
  6. export * from 'xe-utils/objectMap'
  7. export * from 'xe-utils/merge'
  8. // array
  9. export * from 'xe-utils/map'
  10. export * from 'xe-utils/some'
  11. // export * from 'xe-utils/every'
  12. export * from 'xe-utils/includeArrays'
  13. export * from 'xe-utils/arrayEach'
  14. // export * from 'xe-utils/lastArrayEach'
  15. // export * from 'xe-utils/uniq'
  16. // export * from 'xe-utils/union'
  17. // export * from 'xe-utils/toArray'
  18. export * from 'xe-utils/orderBy'
  19. // export * from 'xe-utils/shuffle'
  20. // export * from 'xe-utils/sample'
  21. export * from 'xe-utils/slice'
  22. export * from 'xe-utils/filter'
  23. // export * from 'xe-utils/findKey'
  24. // export * from 'xe-utils/includes'
  25. export * from 'xe-utils/find'
  26. // export * from 'xe-utils/reduce'
  27. // export * from 'xe-utils/copyWithin'
  28. // export * from 'xe-utils/chunk'
  29. // export * from 'xe-utils/zip'
  30. // export * from 'xe-utils/unzip'
  31. // export * from 'xe-utils/zipObject'
  32. // export * from 'xe-utils/pluck'
  33. // export * from 'xe-utils/invoke'
  34. export * from 'xe-utils/toArrayTree'
  35. export * from 'xe-utils/toTreeArray'
  36. export * from 'xe-utils/findTree'
  37. export * from 'xe-utils/eachTree'
  38. export * from 'xe-utils/mapTree'
  39. export * from 'xe-utils/filterTree'
  40. export * from 'xe-utils/searchTree'
  41. // export * from 'xe-utils/arrayIndexOf'
  42. // export * from 'xe-utils/arrayLastIndexOf'
  43. // base
  44. // import hasOwnProp from 'xe-utils/hasOwnProp'
  45. export * from 'xe-utils/isArray'
  46. export * from 'xe-utils/isNull'
  47. // export * from 'xe-utils/isNaN'
  48. export * from 'xe-utils/isUndefined'
  49. export * from 'xe-utils/isFunction'
  50. export * from 'xe-utils/isObject'
  51. export * from 'xe-utils/isString'
  52. export * from 'xe-utils/isPlainObject'
  53. // export * from 'xe-utils/isLeapYear'
  54. export * from 'xe-utils/isDate'
  55. export * from 'xe-utils/eqNull'
  56. export * from 'xe-utils/each'
  57. // export * from 'xe-utils/forOf'
  58. // export * from 'xe-utils/lastForOf'
  59. export * from 'xe-utils/indexOf'
  60. // export * from 'xe-utils/lastIndexOf'
  61. // export * from 'xe-utils/keys'
  62. // export * from 'xe-utils/values'
  63. export * from 'xe-utils/clone'
  64. export * from 'xe-utils/getSize'
  65. // export * from 'xe-utils/lastEach'
  66. export * from 'xe-utils/remove'
  67. export * from 'xe-utils/clear'
  68. // export * from 'xe-utils/isFinite'
  69. // export * from 'xe-utils/isFloat'
  70. // export * from 'xe-utils/isInteger'
  71. export * from 'xe-utils/isBoolean'
  72. export * from 'xe-utils/isNumber'
  73. export * from 'xe-utils/isRegExp'
  74. export * from 'xe-utils/isError'
  75. // export * from 'xe-utils/isTypeError'
  76. export * from 'xe-utils/isEmpty'
  77. // iexport * from 'xe-utils/isSymbol'
  78. // export * from 'xe-utils/isArguments'
  79. // export * from 'xe-utils/isElement'
  80. // export * from 'xe-utils/isDocument'
  81. // export * from 'xe-utils/isWindow'
  82. // export * from 'xe-utils/isFormData'
  83. // export * from 'xe-utils/isMap'
  84. // export * from 'xe-utils/isWeakMap'
  85. // export * from 'xe-utils/isSet'
  86. // export * from 'xe-utils/isWeakSet'
  87. // export * from 'xe-utils/isMatch'
  88. export * from 'xe-utils/isEqual'
  89. export * from 'xe-utils/isEqualWith'
  90. // export * from 'xe-utils/getType'
  91. export * from 'xe-utils/uniqueId'
  92. export * from 'xe-utils/findIndexOf'
  93. // export * from 'xe-utils/findLastIndexOf'
  94. export * from 'xe-utils/toStringJSON'
  95. export * from 'xe-utils/toJSONString'
  96. // export * from 'xe-utils/entries'
  97. // export * from 'xe-utils/pick'
  98. // export * from 'xe-utils/omit'
  99. // export * from 'xe-utils/first'
  100. // export * from 'xe-utils/last'
  101. export * from 'xe-utils/has'
  102. export * from 'xe-utils/get'
  103. export * from 'xe-utils/set'
  104. // export * from 'xe-utils/groupBy'
  105. // export * from 'xe-utils/countBy'
  106. // export * from 'xe-utils/range'
  107. export * from 'xe-utils/destructuring'
  108. // number
  109. // export * from 'xe-utils/random'
  110. // export * from 'xe-utils/max'
  111. // export * from 'xe-utils/min'
  112. // export * from 'xe-utils/commafy'
  113. export * from 'xe-utils/commafy'
  114. export * from 'xe-utils/round'
  115. export * from 'xe-utils/ceil'
  116. export * from 'xe-utils/floor'
  117. export * from 'xe-utils/toFixed'
  118. export * from 'xe-utils/toInteger'
  119. export * from 'xe-utils/toNumber'
  120. export * from 'xe-utils/add'
  121. export * from 'xe-utils/subtract'
  122. // export * from 'xe-utils/multiply'
  123. // export * from 'xe-utils/divide'
  124. // export * from 'xe-utils/sum'
  125. // export * from 'xe-utils/mean'
  126. // date
  127. export * from 'xe-utils/getWhatYear'
  128. export * from 'xe-utils/getWhatMonth'
  129. export * from 'xe-utils/getWhatDay'
  130. export * from 'xe-utils/toStringDate'
  131. export * from 'xe-utils/toDateString'
  132. // export * 'xe-utils/now'
  133. // export * from 'xe-utils/timestamp'
  134. export * from 'xe-utils/isDateSame'
  135. export * from 'xe-utils/getWhatWeek'
  136. // export * from 'xe-utils/getYearDay'
  137. export * from 'xe-utils/getYearWeek'
  138. // export * from 'xe-utils/getMonthWeek'
  139. // export * from 'xe-utils/getDayOfYear'
  140. // export * from 'xe-utils/getDayOfMonth'
  141. // export * from 'xe-utils/getDateDiff'
  142. // string
  143. // export * from 'xe-utils/padEnd'
  144. // export * from 'xe-utils/padStart'
  145. // export * from 'xe-utils/repeat'
  146. // export * from 'xe-utils/trim'
  147. // export * from 'xe-utils/trimRight'
  148. // export * from 'xe-utils/trimLeft'
  149. export * from 'xe-utils/escape'
  150. // export * from 'xe-utils/unescape'
  151. export * from 'xe-utils/camelCase'
  152. export * from 'xe-utils/kebabCase'
  153. // export * from 'xe-utils/startsWith'
  154. // export * from 'xe-utils/endsWith'
  155. export * from 'xe-utils/template'
  156. export * from 'xe-utils/toValueString'
  157. // function
  158. // export * from 'xe-utils/property'
  159. // export * from 'xe-utils/bind'
  160. // export * from 'xe-utils/once'
  161. // export * from 'xe-utils/after'
  162. // export * from 'xe-utils/before'
  163. export * from 'xe-utils/throttle'
  164. export * from 'xe-utils/debounce'
  165. // export * from 'xe-utils/delay'
  166. // url
  167. // export * from 'xe-utils/unserialize'
  168. // export * from 'xe-utils/serialize'
  169. // export * from 'xe-utils/parseUrl'
  170. // browse
  171. // export * from 'xe-utils/getBaseURL'
  172. // export * from 'xe-utils/locat'
  173. // export * from 'xe-utils/cookie'
  174. export * from 'xe-utils/browse'