index.d.ts 4.5 KB

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