@dxyl/utils 1.1.0 → 1.1.2

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 (649) hide show
  1. package/dist/index.es.js +8479 -4436
  2. package/dist/index.umd.js +38 -3
  3. package/package.json +1 -1
  4. package/types/events/eventTarget.d.ts +47 -80
  5. package/types/lodash/_DataView.d.ts +2 -0
  6. package/types/lodash/_Hash.d.ts +29 -0
  7. package/types/lodash/_LazyWrapper.d.ts +26 -0
  8. package/types/lodash/_ListCache.d.ts +29 -0
  9. package/types/lodash/_LodashWrapper.d.ts +24 -0
  10. package/types/lodash/_Map.d.ts +2 -0
  11. package/types/lodash/_MapCache.d.ts +29 -0
  12. package/types/lodash/_Promise.d.ts +2 -0
  13. package/types/lodash/_Set.d.ts +2 -0
  14. package/types/lodash/_SetCache.d.ts +28 -0
  15. package/types/lodash/_Stack.d.ts +32 -0
  16. package/types/lodash/_Symbol.d.ts +3 -0
  17. package/types/lodash/_Uint8Array.d.ts +3 -0
  18. package/types/lodash/_WeakMap.d.ts +2 -0
  19. package/types/lodash/_addMapEntry.d.ts +10 -0
  20. package/types/lodash/_addSetEntry.d.ts +10 -0
  21. package/types/lodash/_apply.d.ts +12 -0
  22. package/types/lodash/_arrayAggregator.d.ts +12 -0
  23. package/types/lodash/_arrayEach.d.ts +11 -0
  24. package/types/lodash/_arrayEachRight.d.ts +11 -0
  25. package/types/lodash/_arrayEvery.d.ts +12 -0
  26. package/types/lodash/_arrayFilter.d.ts +11 -0
  27. package/types/lodash/_arrayIncludes.d.ts +11 -0
  28. package/types/lodash/_arrayIncludesWith.d.ts +11 -0
  29. package/types/lodash/_arrayLikeKeys.d.ts +10 -0
  30. package/types/lodash/_arrayMap.d.ts +11 -0
  31. package/types/lodash/_arrayPush.d.ts +10 -0
  32. package/types/lodash/_arrayReduce.d.ts +14 -0
  33. package/types/lodash/_arrayReduceRight.d.ts +14 -0
  34. package/types/lodash/_arraySample.d.ts +9 -0
  35. package/types/lodash/_arraySampleSize.d.ts +10 -0
  36. package/types/lodash/_arrayShuffle.d.ts +9 -0
  37. package/types/lodash/_arraySome.d.ts +12 -0
  38. package/types/lodash/_asciiSize.d.ts +9 -0
  39. package/types/lodash/_asciiToArray.d.ts +9 -0
  40. package/types/lodash/_asciiWords.d.ts +9 -0
  41. package/types/lodash/_assignMergeValue.d.ts +11 -0
  42. package/types/lodash/_assignValue.d.ts +12 -0
  43. package/types/lodash/_assocIndexOf.d.ts +10 -0
  44. package/types/lodash/_baseAggregator.d.ts +13 -0
  45. package/types/lodash/_baseAssign.d.ts +11 -0
  46. package/types/lodash/_baseAssignIn.d.ts +11 -0
  47. package/types/lodash/_baseAssignValue.d.ts +11 -0
  48. package/types/lodash/_baseAt.d.ts +10 -0
  49. package/types/lodash/_baseClamp.d.ts +11 -0
  50. package/types/lodash/_baseClone.d.ts +18 -0
  51. package/types/lodash/_baseConforms.d.ts +9 -0
  52. package/types/lodash/_baseConformsTo.d.ts +10 -0
  53. package/types/lodash/_baseCreate.d.ts +2 -0
  54. package/types/lodash/_baseDelay.d.ts +12 -0
  55. package/types/lodash/_baseDifference.d.ts +13 -0
  56. package/types/lodash/_baseEach.d.ts +10 -0
  57. package/types/lodash/_baseEachRight.d.ts +10 -0
  58. package/types/lodash/_baseEvery.d.ts +11 -0
  59. package/types/lodash/_baseExtremum.d.ts +12 -0
  60. package/types/lodash/_baseFill.d.ts +12 -0
  61. package/types/lodash/_baseFilter.d.ts +10 -0
  62. package/types/lodash/_baseFindIndex.d.ts +13 -0
  63. package/types/lodash/_baseFindKey.d.ts +13 -0
  64. package/types/lodash/_baseFlatten.d.ts +13 -0
  65. package/types/lodash/_baseFor.d.ts +13 -0
  66. package/types/lodash/_baseForOwn.d.ts +10 -0
  67. package/types/lodash/_baseForOwnRight.d.ts +10 -0
  68. package/types/lodash/_baseForRight.d.ts +12 -0
  69. package/types/lodash/_baseFunctions.d.ts +11 -0
  70. package/types/lodash/_baseGet.d.ts +10 -0
  71. package/types/lodash/_baseGetAllKeys.d.ts +13 -0
  72. package/types/lodash/_baseGetTag.d.ts +9 -0
  73. package/types/lodash/_baseGt.d.ts +11 -0
  74. package/types/lodash/_baseHas.d.ts +10 -0
  75. package/types/lodash/_baseHasIn.d.ts +10 -0
  76. package/types/lodash/_baseInRange.d.ts +11 -0
  77. package/types/lodash/_baseIndexOf.d.ts +11 -0
  78. package/types/lodash/_baseIndexOfWith.d.ts +12 -0
  79. package/types/lodash/_baseIntersection.d.ts +12 -0
  80. package/types/lodash/_baseInverter.d.ts +13 -0
  81. package/types/lodash/_baseInvoke.d.ts +12 -0
  82. package/types/lodash/_baseIsArguments.d.ts +9 -0
  83. package/types/lodash/_baseIsArrayBuffer.d.ts +9 -0
  84. package/types/lodash/_baseIsDate.d.ts +9 -0
  85. package/types/lodash/_baseIsEqual.d.ts +16 -0
  86. package/types/lodash/_baseIsEqualDeep.d.ts +16 -0
  87. package/types/lodash/_baseIsMap.d.ts +9 -0
  88. package/types/lodash/_baseIsMatch.d.ts +12 -0
  89. package/types/lodash/_baseIsNaN.d.ts +9 -0
  90. package/types/lodash/_baseIsNative.d.ts +10 -0
  91. package/types/lodash/_baseIsRegExp.d.ts +9 -0
  92. package/types/lodash/_baseIsSet.d.ts +9 -0
  93. package/types/lodash/_baseIsTypedArray.d.ts +9 -0
  94. package/types/lodash/_baseIteratee.d.ts +9 -0
  95. package/types/lodash/_baseKeys.d.ts +9 -0
  96. package/types/lodash/_baseKeysIn.d.ts +9 -0
  97. package/types/lodash/_baseLodash.d.ts +7 -0
  98. package/types/lodash/_baseLt.d.ts +11 -0
  99. package/types/lodash/_baseMap.d.ts +10 -0
  100. package/types/lodash/_baseMatches.d.ts +9 -0
  101. package/types/lodash/_baseMatchesProperty.d.ts +10 -0
  102. package/types/lodash/_baseMean.d.ts +11 -0
  103. package/types/lodash/_baseMerge.d.ts +13 -0
  104. package/types/lodash/_baseMergeDeep.d.ts +17 -0
  105. package/types/lodash/_baseNth.d.ts +10 -0
  106. package/types/lodash/_baseOrderBy.d.ts +11 -0
  107. package/types/lodash/_basePick.d.ts +11 -0
  108. package/types/lodash/_basePickBy.d.ts +11 -0
  109. package/types/lodash/_baseProperty.d.ts +9 -0
  110. package/types/lodash/_basePropertyDeep.d.ts +9 -0
  111. package/types/lodash/_basePropertyOf.d.ts +9 -0
  112. package/types/lodash/_basePullAll.d.ts +13 -0
  113. package/types/lodash/_basePullAt.d.ts +11 -0
  114. package/types/lodash/_baseRandom.d.ts +11 -0
  115. package/types/lodash/_baseRange.d.ts +13 -0
  116. package/types/lodash/_baseReduce.d.ts +15 -0
  117. package/types/lodash/_baseRepeat.d.ts +10 -0
  118. package/types/lodash/_baseRest.d.ts +10 -0
  119. package/types/lodash/_baseSample.d.ts +9 -0
  120. package/types/lodash/_baseSampleSize.d.ts +10 -0
  121. package/types/lodash/_baseSet.d.ts +12 -0
  122. package/types/lodash/_baseSetData.d.ts +10 -0
  123. package/types/lodash/_baseSetToString.d.ts +10 -0
  124. package/types/lodash/_baseShuffle.d.ts +9 -0
  125. package/types/lodash/_baseSlice.d.ts +11 -0
  126. package/types/lodash/_baseSome.d.ts +11 -0
  127. package/types/lodash/_baseSortBy.d.ts +12 -0
  128. package/types/lodash/_baseSortedIndex.d.ts +14 -0
  129. package/types/lodash/_baseSortedIndexBy.d.ts +15 -0
  130. package/types/lodash/_baseSortedUniq.d.ts +11 -0
  131. package/types/lodash/_baseSum.d.ts +11 -0
  132. package/types/lodash/_baseTimes.d.ts +11 -0
  133. package/types/lodash/_baseToNumber.d.ts +10 -0
  134. package/types/lodash/_baseToPairs.d.ts +11 -0
  135. package/types/lodash/_baseToString.d.ts +10 -0
  136. package/types/lodash/_baseTrim.d.ts +9 -0
  137. package/types/lodash/_baseUnary.d.ts +9 -0
  138. package/types/lodash/_baseUniq.d.ts +11 -0
  139. package/types/lodash/_baseUnset.d.ts +10 -0
  140. package/types/lodash/_baseUpdate.d.ts +12 -0
  141. package/types/lodash/_baseValues.d.ts +12 -0
  142. package/types/lodash/_baseWhile.d.ts +13 -0
  143. package/types/lodash/_baseWrapperValue.d.ts +12 -0
  144. package/types/lodash/_baseXor.d.ts +12 -0
  145. package/types/lodash/_baseZipObject.d.ts +11 -0
  146. package/types/lodash/_cacheHas.d.ts +10 -0
  147. package/types/lodash/_castArrayLikeObject.d.ts +9 -0
  148. package/types/lodash/_castFunction.d.ts +9 -0
  149. package/types/lodash/_castPath.d.ts +10 -0
  150. package/types/lodash/_castRest.d.ts +11 -0
  151. package/types/lodash/_castSlice.d.ts +11 -0
  152. package/types/lodash/_charsEndIndex.d.ts +11 -0
  153. package/types/lodash/_charsStartIndex.d.ts +11 -0
  154. package/types/lodash/_cloneArrayBuffer.d.ts +9 -0
  155. package/types/lodash/_cloneBuffer.d.ts +10 -0
  156. package/types/lodash/_cloneDataView.d.ts +10 -0
  157. package/types/lodash/_cloneMap.d.ts +11 -0
  158. package/types/lodash/_cloneRegExp.d.ts +9 -0
  159. package/types/lodash/_cloneSet.d.ts +11 -0
  160. package/types/lodash/_cloneSymbol.d.ts +9 -0
  161. package/types/lodash/_cloneTypedArray.d.ts +10 -0
  162. package/types/lodash/_compareAscending.d.ts +10 -0
  163. package/types/lodash/_compareMultiple.d.ts +16 -0
  164. package/types/lodash/_composeArgs.d.ts +13 -0
  165. package/types/lodash/_composeArgsRight.d.ts +13 -0
  166. package/types/lodash/_copyArray.d.ts +10 -0
  167. package/types/lodash/_copyObject.d.ts +12 -0
  168. package/types/lodash/_copySymbols.d.ts +10 -0
  169. package/types/lodash/_copySymbolsIn.d.ts +10 -0
  170. package/types/lodash/_coreJsData.d.ts +3 -0
  171. package/types/lodash/_countHolders.d.ts +10 -0
  172. package/types/lodash/_createAggregator.d.ts +10 -0
  173. package/types/lodash/_createAssigner.d.ts +9 -0
  174. package/types/lodash/_createBaseEach.d.ts +10 -0
  175. package/types/lodash/_createBaseFor.d.ts +9 -0
  176. package/types/lodash/_createBind.d.ts +12 -0
  177. package/types/lodash/_createCaseFirst.d.ts +9 -0
  178. package/types/lodash/_createCompounder.d.ts +9 -0
  179. package/types/lodash/_createCtor.d.ts +10 -0
  180. package/types/lodash/_createCurry.d.ts +11 -0
  181. package/types/lodash/_createFind.d.ts +9 -0
  182. package/types/lodash/_createFlow.d.ts +9 -0
  183. package/types/lodash/_createHybrid.d.ts +21 -0
  184. package/types/lodash/_createInverter.d.ts +10 -0
  185. package/types/lodash/_createMathOperation.d.ts +10 -0
  186. package/types/lodash/_createOver.d.ts +9 -0
  187. package/types/lodash/_createPadding.d.ts +11 -0
  188. package/types/lodash/_createPartial.d.ts +14 -0
  189. package/types/lodash/_createRange.d.ts +9 -0
  190. package/types/lodash/_createRecurry.d.ts +19 -0
  191. package/types/lodash/_createRelationalOperation.d.ts +9 -0
  192. package/types/lodash/_createRound.d.ts +9 -0
  193. package/types/lodash/_createSet.d.ts +9 -0
  194. package/types/lodash/_createToPairs.d.ts +9 -0
  195. package/types/lodash/_createWrap.d.ts +27 -0
  196. package/types/lodash/_customDefaultsAssignIn.d.ts +14 -0
  197. package/types/lodash/_customDefaultsMerge.d.ts +16 -0
  198. package/types/lodash/_customOmitClone.d.ts +11 -0
  199. package/types/lodash/_deburrLetter.d.ts +10 -0
  200. package/types/lodash/_defineProperty.d.ts +2 -0
  201. package/types/lodash/_equalArrays.d.ts +15 -0
  202. package/types/lodash/_equalByTag.d.ts +19 -0
  203. package/types/lodash/_equalObjects.d.ts +15 -0
  204. package/types/lodash/_escapeHtmlChar.d.ts +9 -0
  205. package/types/lodash/_escapeStringChar.d.ts +9 -0
  206. package/types/lodash/_flatRest.d.ts +9 -0
  207. package/types/lodash/_freeGlobal.d.ts +3 -0
  208. package/types/lodash/_getAllKeys.d.ts +9 -0
  209. package/types/lodash/_getAllKeysIn.d.ts +10 -0
  210. package/types/lodash/_getData.d.ts +9 -0
  211. package/types/lodash/_getFuncName.d.ts +9 -0
  212. package/types/lodash/_getHolder.d.ts +9 -0
  213. package/types/lodash/_getMapData.d.ts +10 -0
  214. package/types/lodash/_getMatchData.d.ts +9 -0
  215. package/types/lodash/_getNative.d.ts +10 -0
  216. package/types/lodash/_getPrototype.d.ts +3 -0
  217. package/types/lodash/_getRawTag.d.ts +9 -0
  218. package/types/lodash/_getSymbols.d.ts +9 -0
  219. package/types/lodash/_getSymbolsIn.d.ts +9 -0
  220. package/types/lodash/_getTag.d.ts +10 -0
  221. package/types/lodash/_getValue.d.ts +10 -0
  222. package/types/lodash/_getView.d.ts +12 -0
  223. package/types/lodash/_getWrapDetails.d.ts +9 -0
  224. package/types/lodash/_hasPath.d.ts +11 -0
  225. package/types/lodash/_hasUnicode.d.ts +9 -0
  226. package/types/lodash/_hasUnicodeWord.d.ts +9 -0
  227. package/types/lodash/_hashClear.d.ts +13 -0
  228. package/types/lodash/_hashDelete.d.ts +12 -0
  229. package/types/lodash/_hashGet.d.ts +11 -0
  230. package/types/lodash/_hashHas.d.ts +11 -0
  231. package/types/lodash/_hashSet.d.ts +12 -0
  232. package/types/lodash/_initCloneArray.d.ts +9 -0
  233. package/types/lodash/_initCloneByTag.d.ts +14 -0
  234. package/types/lodash/_initCloneObject.d.ts +9 -0
  235. package/types/lodash/_insertWrapDetails.d.ts +10 -0
  236. package/types/lodash/_isFlattenable.d.ts +9 -0
  237. package/types/lodash/_isIndex.d.ts +10 -0
  238. package/types/lodash/_isIterateeCall.d.ts +12 -0
  239. package/types/lodash/_isKey.d.ts +10 -0
  240. package/types/lodash/_isKeyable.d.ts +9 -0
  241. package/types/lodash/_isLaziable.d.ts +10 -0
  242. package/types/lodash/_isMaskable.d.ts +9 -0
  243. package/types/lodash/_isMasked.d.ts +9 -0
  244. package/types/lodash/_isPrototype.d.ts +9 -0
  245. package/types/lodash/_isStrictComparable.d.ts +10 -0
  246. package/types/lodash/_iteratorToArray.d.ts +9 -0
  247. package/types/lodash/_lazyClone.d.ts +10 -0
  248. package/types/lodash/_lazyReverse.d.ts +10 -0
  249. package/types/lodash/_lazyValue.d.ts +10 -0
  250. package/types/lodash/_listCacheClear.d.ts +13 -0
  251. package/types/lodash/_listCacheDelete.d.ts +11 -0
  252. package/types/lodash/_listCacheGet.d.ts +11 -0
  253. package/types/lodash/_listCacheHas.d.ts +11 -0
  254. package/types/lodash/_listCacheSet.d.ts +12 -0
  255. package/types/lodash/_mapCacheClear.d.ts +18 -0
  256. package/types/lodash/_mapCacheDelete.d.ts +11 -0
  257. package/types/lodash/_mapCacheGet.d.ts +11 -0
  258. package/types/lodash/_mapCacheHas.d.ts +11 -0
  259. package/types/lodash/_mapCacheSet.d.ts +12 -0
  260. package/types/lodash/_mapToArray.d.ts +9 -0
  261. package/types/lodash/_matchesStrictComparable.d.ts +11 -0
  262. package/types/lodash/_memoizeCapped.d.ts +10 -0
  263. package/types/lodash/_mergeData.d.ts +18 -0
  264. package/types/lodash/_metaMap.d.ts +3 -0
  265. package/types/lodash/_nativeCreate.d.ts +2 -0
  266. package/types/lodash/_nativeKeys.d.ts +2 -0
  267. package/types/lodash/_nativeKeysIn.d.ts +11 -0
  268. package/types/lodash/_nodeUtil.d.ts +3 -0
  269. package/types/lodash/_objectToString.d.ts +9 -0
  270. package/types/lodash/_overArg.d.ts +10 -0
  271. package/types/lodash/_overRest.d.ts +11 -0
  272. package/types/lodash/_parent.d.ts +10 -0
  273. package/types/lodash/_reEscape.d.ts +3 -0
  274. package/types/lodash/_reEvaluate.d.ts +3 -0
  275. package/types/lodash/_reInterpolate.d.ts +3 -0
  276. package/types/lodash/_realNames.d.ts +3 -0
  277. package/types/lodash/_reorder.d.ts +12 -0
  278. package/types/lodash/_replaceHolders.d.ts +11 -0
  279. package/types/lodash/_root.d.ts +3 -0
  280. package/types/lodash/_safeGet.d.ts +10 -0
  281. package/types/lodash/_setCacheAdd.d.ts +12 -0
  282. package/types/lodash/_setCacheHas.d.ts +11 -0
  283. package/types/lodash/_setData.d.ts +16 -0
  284. package/types/lodash/_setToArray.d.ts +9 -0
  285. package/types/lodash/_setToPairs.d.ts +9 -0
  286. package/types/lodash/_setToString.d.ts +10 -0
  287. package/types/lodash/_setWrapToString.d.ts +12 -0
  288. package/types/lodash/_shortOut.d.ts +11 -0
  289. package/types/lodash/_shuffleSelf.d.ts +10 -0
  290. package/types/lodash/_stackClear.d.ts +14 -0
  291. package/types/lodash/_stackDelete.d.ts +24 -0
  292. package/types/lodash/_stackGet.d.ts +11 -0
  293. package/types/lodash/_stackHas.d.ts +11 -0
  294. package/types/lodash/_stackSet.d.ts +28 -0
  295. package/types/lodash/_strictIndexOf.d.ts +12 -0
  296. package/types/lodash/_strictLastIndexOf.d.ts +12 -0
  297. package/types/lodash/_stringSize.d.ts +9 -0
  298. package/types/lodash/_stringToArray.d.ts +9 -0
  299. package/types/lodash/_stringToPath.d.ts +9 -0
  300. package/types/lodash/_toKey.d.ts +9 -0
  301. package/types/lodash/_toSource.d.ts +9 -0
  302. package/types/lodash/_trimmedEndIndex.d.ts +10 -0
  303. package/types/lodash/_unescapeHtmlChar.d.ts +9 -0
  304. package/types/lodash/_unicodeSize.d.ts +9 -0
  305. package/types/lodash/_unicodeToArray.d.ts +9 -0
  306. package/types/lodash/_unicodeWords.d.ts +9 -0
  307. package/types/lodash/_updateWrapDetails.d.ts +10 -0
  308. package/types/lodash/_wrapperClone.d.ts +9 -0
  309. package/types/lodash/add.d.ts +2 -0
  310. package/types/lodash/after.d.ts +2 -0
  311. package/types/lodash/array.d.ts +66 -0
  312. package/types/lodash/array.default.d.ts +133 -0
  313. package/types/lodash/ary.d.ts +2 -0
  314. package/types/lodash/assign.d.ts +2 -0
  315. package/types/lodash/assignIn.d.ts +2 -0
  316. package/types/lodash/assignInWith.d.ts +2 -0
  317. package/types/lodash/assignWith.d.ts +2 -0
  318. package/types/lodash/at.d.ts +2 -0
  319. package/types/lodash/attempt.d.ts +2 -0
  320. package/types/lodash/before.d.ts +2 -0
  321. package/types/lodash/bind.d.ts +2 -0
  322. package/types/lodash/bindAll.d.ts +2 -0
  323. package/types/lodash/bindKey.d.ts +2 -0
  324. package/types/lodash/camelCase.d.ts +2 -0
  325. package/types/lodash/capitalize.d.ts +2 -0
  326. package/types/lodash/castArray.d.ts +2 -0
  327. package/types/lodash/ceil.d.ts +2 -0
  328. package/types/lodash/chain.d.ts +2 -0
  329. package/types/lodash/chunk.d.ts +2 -0
  330. package/types/lodash/clamp.d.ts +1 -1
  331. package/types/lodash/clone.d.ts +1 -1
  332. package/types/lodash/cloneDeep.d.ts +2 -0
  333. package/types/lodash/cloneDeepWith.d.ts +2 -0
  334. package/types/lodash/cloneWith.d.ts +2 -0
  335. package/types/lodash/collection.d.ts +29 -0
  336. package/types/lodash/collection.default.d.ts +59 -0
  337. package/types/lodash/commit.d.ts +28 -0
  338. package/types/lodash/compact.d.ts +2 -0
  339. package/types/lodash/concat.d.ts +2 -0
  340. package/types/lodash/cond.d.ts +2 -0
  341. package/types/lodash/conforms.d.ts +2 -0
  342. package/types/lodash/conformsTo.d.ts +2 -0
  343. package/types/lodash/constant.d.ts +2 -0
  344. package/types/lodash/countBy.d.ts +2 -0
  345. package/types/lodash/create.d.ts +2 -0
  346. package/types/lodash/curry.d.ts +2 -0
  347. package/types/lodash/curryRight.d.ts +2 -0
  348. package/types/lodash/date.d.ts +2 -0
  349. package/types/lodash/date.default.d.ts +5 -0
  350. package/types/lodash/debounce.d.ts +2 -1
  351. package/types/lodash/deburr.d.ts +2 -0
  352. package/types/lodash/defaultTo.d.ts +2 -0
  353. package/types/lodash/defaults.d.ts +2 -0
  354. package/types/lodash/defaultsDeep.d.ts +2 -0
  355. package/types/lodash/defer.d.ts +2 -0
  356. package/types/lodash/delay.d.ts +2 -0
  357. package/types/lodash/difference.d.ts +1 -10
  358. package/types/lodash/differenceBy.d.ts +2 -0
  359. package/types/lodash/differenceWith.d.ts +2 -0
  360. package/types/lodash/divide.d.ts +2 -0
  361. package/types/lodash/drop.d.ts +2 -0
  362. package/types/lodash/dropRight.d.ts +2 -0
  363. package/types/lodash/dropRightWhile.d.ts +2 -0
  364. package/types/lodash/dropWhile.d.ts +2 -0
  365. package/types/lodash/each.d.ts +1 -1
  366. package/types/lodash/eachRight.d.ts +2 -0
  367. package/types/lodash/endsWith.d.ts +2 -0
  368. package/types/lodash/entries.d.ts +2 -0
  369. package/types/lodash/entriesIn.d.ts +2 -0
  370. package/types/lodash/eq.d.ts +2 -0
  371. package/types/lodash/escape.d.ts +2 -0
  372. package/types/lodash/escapeRegExp.d.ts +2 -0
  373. package/types/lodash/every.d.ts +1 -6
  374. package/types/lodash/extend.d.ts +1 -1
  375. package/types/lodash/extendWith.d.ts +2 -0
  376. package/types/lodash/fill.d.ts +2 -0
  377. package/types/lodash/filter.d.ts +1 -1
  378. package/types/lodash/find.d.ts +1 -2
  379. package/types/lodash/findIndex.d.ts +2 -0
  380. package/types/lodash/findKey.d.ts +2 -0
  381. package/types/lodash/findLast.d.ts +2 -0
  382. package/types/lodash/findLastIndex.d.ts +2 -0
  383. package/types/lodash/findLastKey.d.ts +2 -0
  384. package/types/lodash/first.d.ts +2 -0
  385. package/types/lodash/flatMap.d.ts +2 -0
  386. package/types/lodash/flatMapDeep.d.ts +2 -0
  387. package/types/lodash/flatMapDepth.d.ts +2 -0
  388. package/types/lodash/flatten.d.ts +1 -10
  389. package/types/lodash/flattenDeep.d.ts +2 -0
  390. package/types/lodash/flattenDepth.d.ts +2 -0
  391. package/types/lodash/flip.d.ts +2 -0
  392. package/types/lodash/floor.d.ts +2 -0
  393. package/types/lodash/flow.d.ts +2 -0
  394. package/types/lodash/flowRight.d.ts +2 -0
  395. package/types/lodash/forEach.d.ts +2 -0
  396. package/types/lodash/forEachRight.d.ts +2 -0
  397. package/types/lodash/forIn.d.ts +2 -0
  398. package/types/lodash/forInRight.d.ts +2 -0
  399. package/types/lodash/forOwn.d.ts +2 -0
  400. package/types/lodash/forOwnRight.d.ts +2 -0
  401. package/types/lodash/fromPairs.d.ts +2 -0
  402. package/types/lodash/function.d.ts +24 -0
  403. package/types/lodash/function.default.d.ts +49 -0
  404. package/types/lodash/functions.d.ts +2 -0
  405. package/types/lodash/functionsIn.d.ts +2 -0
  406. package/types/lodash/get.d.ts +2 -8
  407. package/types/lodash/groupBy.d.ts +2 -0
  408. package/types/lodash/gt.d.ts +2 -0
  409. package/types/lodash/gte.d.ts +2 -0
  410. package/types/lodash/has.d.ts +2 -2
  411. package/types/lodash/hasIn.d.ts +2 -0
  412. package/types/lodash/head.d.ts +2 -1
  413. package/types/lodash/identity.d.ts +2 -2
  414. package/types/lodash/inRange.d.ts +2 -0
  415. package/types/lodash/includes.d.ts +2 -0
  416. package/types/lodash/index.d.ts +304 -108
  417. package/types/lodash/indexOf.d.ts +2 -0
  418. package/types/lodash/initial.d.ts +2 -0
  419. package/types/lodash/intersection.d.ts +2 -0
  420. package/types/lodash/intersectionBy.d.ts +2 -0
  421. package/types/lodash/intersectionWith.d.ts +2 -0
  422. package/types/lodash/invert.d.ts +2 -0
  423. package/types/lodash/invertBy.d.ts +2 -0
  424. package/types/lodash/invoke.d.ts +2 -0
  425. package/types/lodash/invokeMap.d.ts +2 -0
  426. package/types/lodash/isArguments.d.ts +2 -0
  427. package/types/lodash/isArray.d.ts +2 -0
  428. package/types/lodash/isArrayBuffer.d.ts +2 -0
  429. package/types/lodash/isArrayLike.d.ts +2 -0
  430. package/types/lodash/isArrayLikeObject.d.ts +2 -0
  431. package/types/lodash/isBoolean.d.ts +2 -0
  432. package/types/lodash/isBuffer.d.ts +2 -0
  433. package/types/lodash/isDate.d.ts +2 -0
  434. package/types/lodash/isElement.d.ts +2 -0
  435. package/types/lodash/isEmpty.d.ts +2 -0
  436. package/types/lodash/isEqual.d.ts +2 -0
  437. package/types/lodash/isEqualWith.d.ts +2 -0
  438. package/types/lodash/isError.d.ts +2 -0
  439. package/types/lodash/isFinite.d.ts +2 -0
  440. package/types/lodash/isFunction.d.ts +2 -0
  441. package/types/lodash/isInteger.d.ts +2 -0
  442. package/types/lodash/isLength.d.ts +2 -0
  443. package/types/lodash/isMap.d.ts +2 -0
  444. package/types/lodash/isMatch.d.ts +2 -0
  445. package/types/lodash/isMatchWith.d.ts +2 -0
  446. package/types/lodash/isNaN.d.ts +2 -0
  447. package/types/lodash/isNative.d.ts +2 -0
  448. package/types/lodash/isNil.d.ts +2 -0
  449. package/types/lodash/isNull.d.ts +2 -0
  450. package/types/lodash/isNumber.d.ts +2 -0
  451. package/types/lodash/isObject.d.ts +2 -0
  452. package/types/lodash/isObjectLike.d.ts +2 -0
  453. package/types/lodash/isPlainObject.d.ts +2 -0
  454. package/types/lodash/isRegExp.d.ts +2 -0
  455. package/types/lodash/isSafeInteger.d.ts +2 -0
  456. package/types/lodash/isSet.d.ts +2 -0
  457. package/types/lodash/isString.d.ts +2 -0
  458. package/types/lodash/isSymbol.d.ts +2 -0
  459. package/types/lodash/isTypedArray.d.ts +2 -0
  460. package/types/lodash/isUndefined.d.ts +2 -0
  461. package/types/lodash/isWeakMap.d.ts +2 -0
  462. package/types/lodash/isWeakSet.d.ts +2 -0
  463. package/types/lodash/iteratee.d.ts +2 -0
  464. package/types/lodash/join.d.ts +2 -0
  465. package/types/lodash/kebabCase.d.ts +2 -0
  466. package/types/lodash/keyBy.d.ts +2 -0
  467. package/types/lodash/keys.d.ts +1 -1
  468. package/types/lodash/keysIn.d.ts +2 -0
  469. package/types/lodash/lang.d.ts +57 -0
  470. package/types/lodash/lang.default.d.ts +115 -0
  471. package/types/lodash/last.d.ts +2 -1
  472. package/types/lodash/lastIndexOf.d.ts +2 -0
  473. package/types/lodash/lodash.d.ts +317 -0
  474. package/types/lodash/lodash.default.d.ts +2 -0
  475. package/types/lodash/lowerCase.d.ts +2 -0
  476. package/types/lodash/lowerFirst.d.ts +2 -0
  477. package/types/lodash/lt.d.ts +2 -0
  478. package/types/lodash/lte.d.ts +2 -0
  479. package/types/lodash/map.d.ts +1 -1
  480. package/types/lodash/mapKeys.d.ts +2 -0
  481. package/types/lodash/mapValues.d.ts +2 -0
  482. package/types/lodash/matches.d.ts +2 -0
  483. package/types/lodash/matchesProperty.d.ts +2 -0
  484. package/types/lodash/math.d.ts +16 -0
  485. package/types/lodash/math.default.d.ts +33 -0
  486. package/types/lodash/max.d.ts +2 -19
  487. package/types/lodash/maxBy.d.ts +2 -0
  488. package/types/lodash/mean.d.ts +2 -0
  489. package/types/lodash/meanBy.d.ts +2 -0
  490. package/types/lodash/memoize.d.ts +2 -11
  491. package/types/lodash/merge.d.ts +2 -7
  492. package/types/lodash/mergeWith.d.ts +2 -0
  493. package/types/lodash/method.d.ts +2 -0
  494. package/types/lodash/methodOf.d.ts +2 -0
  495. package/types/lodash/min.d.ts +2 -19
  496. package/types/lodash/minBy.d.ts +2 -0
  497. package/types/lodash/mixin.d.ts +2 -0
  498. package/types/lodash/multiply.d.ts +2 -0
  499. package/types/lodash/negate.d.ts +2 -0
  500. package/types/lodash/next.d.ts +27 -0
  501. package/types/lodash/noop.d.ts +2 -2
  502. package/types/lodash/now.d.ts +2 -0
  503. package/types/lodash/nth.d.ts +2 -0
  504. package/types/lodash/nthArg.d.ts +2 -0
  505. package/types/lodash/number.d.ts +4 -0
  506. package/types/lodash/number.default.d.ts +9 -0
  507. package/types/lodash/object.d.ts +48 -0
  508. package/types/lodash/object.default.d.ts +97 -0
  509. package/types/lodash/omit.d.ts +2 -3
  510. package/types/lodash/omitBy.d.ts +2 -0
  511. package/types/lodash/once.d.ts +2 -0
  512. package/types/lodash/orderBy.d.ts +2 -0
  513. package/types/lodash/over.d.ts +2 -0
  514. package/types/lodash/overArgs.d.ts +2 -0
  515. package/types/lodash/overEvery.d.ts +2 -0
  516. package/types/lodash/overSome.d.ts +2 -0
  517. package/types/lodash/pad.d.ts +2 -0
  518. package/types/lodash/padEnd.d.ts +2 -0
  519. package/types/lodash/padStart.d.ts +2 -0
  520. package/types/lodash/parseInt.d.ts +2 -0
  521. package/types/lodash/partial.d.ts +2 -0
  522. package/types/lodash/partialRight.d.ts +2 -0
  523. package/types/lodash/partition.d.ts +2 -0
  524. package/types/lodash/pick.d.ts +2 -16
  525. package/types/lodash/pickBy.d.ts +2 -0
  526. package/types/lodash/plant.d.ts +26 -0
  527. package/types/lodash/property.d.ts +3 -0
  528. package/types/lodash/propertyOf.d.ts +2 -0
  529. package/types/lodash/pull.d.ts +1 -1
  530. package/types/lodash/pullAll.d.ts +2 -0
  531. package/types/lodash/pullAllBy.d.ts +2 -0
  532. package/types/lodash/pullAllWith.d.ts +2 -0
  533. package/types/lodash/pullAt.d.ts +2 -0
  534. package/types/lodash/random.d.ts +2 -0
  535. package/types/lodash/range.d.ts +2 -0
  536. package/types/lodash/rangeRight.d.ts +2 -0
  537. package/types/lodash/rearg.d.ts +2 -0
  538. package/types/lodash/reduce.d.ts +1 -2
  539. package/types/lodash/reduceRight.d.ts +2 -0
  540. package/types/lodash/reject.d.ts +2 -0
  541. package/types/lodash/remove.d.ts +1 -1
  542. package/types/lodash/repeat.d.ts +2 -0
  543. package/types/lodash/replace.d.ts +2 -0
  544. package/types/lodash/rest.d.ts +2 -0
  545. package/types/lodash/result.d.ts +2 -0
  546. package/types/lodash/reverse.d.ts +2 -0
  547. package/types/lodash/round.d.ts +2 -0
  548. package/types/lodash/sample.d.ts +2 -0
  549. package/types/lodash/sampleSize.d.ts +2 -0
  550. package/types/lodash/seq.d.ts +15 -0
  551. package/types/lodash/seq.default.d.ts +31 -0
  552. package/types/lodash/set.d.ts +2 -8
  553. package/types/lodash/setWith.d.ts +2 -0
  554. package/types/lodash/shuffle.d.ts +2 -0
  555. package/types/lodash/size.d.ts +2 -1
  556. package/types/lodash/slice.d.ts +2 -0
  557. package/types/lodash/snakeCase.d.ts +2 -0
  558. package/types/lodash/some.d.ts +1 -6
  559. package/types/lodash/sortBy.d.ts +2 -0
  560. package/types/lodash/sortedIndex.d.ts +2 -0
  561. package/types/lodash/sortedIndexBy.d.ts +2 -0
  562. package/types/lodash/sortedIndexOf.d.ts +2 -0
  563. package/types/lodash/sortedLastIndex.d.ts +2 -0
  564. package/types/lodash/sortedLastIndexBy.d.ts +2 -0
  565. package/types/lodash/sortedLastIndexOf.d.ts +2 -0
  566. package/types/lodash/sortedUniq.d.ts +2 -0
  567. package/types/lodash/sortedUniqBy.d.ts +2 -0
  568. package/types/lodash/split.d.ts +2 -0
  569. package/types/lodash/spread.d.ts +2 -0
  570. package/types/lodash/startCase.d.ts +2 -0
  571. package/types/lodash/startsWith.d.ts +2 -0
  572. package/types/lodash/string.d.ts +32 -0
  573. package/types/lodash/string.default.d.ts +65 -0
  574. package/types/lodash/stubArray.d.ts +2 -0
  575. package/types/lodash/stubFalse.d.ts +2 -0
  576. package/types/lodash/stubObject.d.ts +2 -0
  577. package/types/lodash/stubString.d.ts +2 -0
  578. package/types/lodash/stubTrue.d.ts +2 -0
  579. package/types/lodash/subtract.d.ts +2 -0
  580. package/types/lodash/sum.d.ts +2 -0
  581. package/types/lodash/sumBy.d.ts +2 -0
  582. package/types/lodash/tail.d.ts +2 -0
  583. package/types/lodash/take.d.ts +2 -0
  584. package/types/lodash/takeRight.d.ts +2 -0
  585. package/types/lodash/takeRightWhile.d.ts +2 -0
  586. package/types/lodash/takeWhile.d.ts +2 -0
  587. package/types/lodash/tap.d.ts +2 -0
  588. package/types/lodash/template.d.ts +2 -0
  589. package/types/lodash/templateSettings.d.ts +2 -0
  590. package/types/lodash/throttle.d.ts +3 -6
  591. package/types/lodash/thru.d.ts +2 -0
  592. package/types/lodash/times.d.ts +2 -0
  593. package/types/lodash/toArray.d.ts +2 -0
  594. package/types/lodash/toFinite.d.ts +2 -0
  595. package/types/lodash/toInteger.d.ts +2 -0
  596. package/types/lodash/toIterator.d.ts +20 -0
  597. package/types/lodash/toJSON.d.ts +1 -0
  598. package/types/lodash/toLength.d.ts +2 -0
  599. package/types/lodash/toLower.d.ts +2 -0
  600. package/types/lodash/toNumber.d.ts +2 -0
  601. package/types/lodash/toPairs.d.ts +2 -0
  602. package/types/lodash/toPairsIn.d.ts +2 -0
  603. package/types/lodash/toPath.d.ts +2 -0
  604. package/types/lodash/toPlainObject.d.ts +2 -0
  605. package/types/lodash/toSafeInteger.d.ts +2 -0
  606. package/types/lodash/toString.d.ts +2 -0
  607. package/types/lodash/toUpper.d.ts +2 -0
  608. package/types/lodash/transform.d.ts +2 -0
  609. package/types/lodash/trim.d.ts +2 -0
  610. package/types/lodash/trimEnd.d.ts +2 -0
  611. package/types/lodash/trimStart.d.ts +2 -0
  612. package/types/lodash/truncate.d.ts +2 -0
  613. package/types/lodash/unary.d.ts +2 -0
  614. package/types/lodash/unescape.d.ts +2 -0
  615. package/types/lodash/union.d.ts +1 -1
  616. package/types/lodash/unionBy.d.ts +2 -0
  617. package/types/lodash/unionWith.d.ts +2 -0
  618. package/types/lodash/uniq.d.ts +2 -1
  619. package/types/lodash/uniqBy.d.ts +2 -0
  620. package/types/lodash/uniqWith.d.ts +2 -0
  621. package/types/lodash/uniqueId.d.ts +2 -0
  622. package/types/lodash/unset.d.ts +2 -0
  623. package/types/lodash/unzip.d.ts +2 -0
  624. package/types/lodash/unzipWith.d.ts +2 -0
  625. package/types/lodash/update.d.ts +2 -0
  626. package/types/lodash/updateWith.d.ts +2 -0
  627. package/types/lodash/upperCase.d.ts +2 -0
  628. package/types/lodash/upperFirst.d.ts +2 -0
  629. package/types/lodash/util.d.ts +33 -0
  630. package/types/lodash/util.default.d.ts +67 -0
  631. package/types/lodash/value.d.ts +1 -0
  632. package/types/lodash/valueOf.d.ts +1 -0
  633. package/types/lodash/values.d.ts +1 -1
  634. package/types/lodash/valuesIn.d.ts +2 -0
  635. package/types/lodash/without.d.ts +2 -0
  636. package/types/lodash/words.d.ts +2 -0
  637. package/types/lodash/wrap.d.ts +2 -0
  638. package/types/lodash/wrapperAt.d.ts +18 -0
  639. package/types/lodash/wrapperChain.d.ts +29 -0
  640. package/types/lodash/wrapperLodash.d.ts +239 -0
  641. package/types/lodash/wrapperReverse.d.ts +22 -0
  642. package/types/lodash/wrapperValue.d.ts +16 -0
  643. package/types/lodash/xor.d.ts +2 -0
  644. package/types/lodash/xorBy.d.ts +2 -0
  645. package/types/lodash/xorWith.d.ts +2 -0
  646. package/types/lodash/zip.d.ts +2 -0
  647. package/types/lodash/zipObject.d.ts +2 -0
  648. package/types/lodash/zipObjectDeep.d.ts +2 -0
  649. package/types/lodash/zipWith.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxyl/utils",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Collected many useful mathematical tools",
5
5
  "keywords": [
6
6
  "graphic",
@@ -1,93 +1,60 @@
1
- export interface EventListener<T = any> {
2
- (evt: Event<T>): void;
3
- }
4
- interface EventListenerObject<T = any> {
5
- handleEvent(object: Event<T>): void;
6
- }
7
- interface EventInit {
8
- bubbles?: boolean;
9
- cancelable?: boolean;
10
- composed?: boolean;
11
- }
12
- interface EventListenerOptions {
13
- capture?: boolean;
14
- }
15
- type EventListenerOrEventListenerObject<T = any> = EventListener<T> | EventListenerObject<T>;
16
- interface AddEventListenerOptions extends EventListenerOptions {
1
+ interface EventOptions {
17
2
  once?: boolean;
18
- passive?: boolean;
19
- signal?: AbortSignal;
3
+ capture?: boolean;
20
4
  }
21
- export declare class Event<T = any> {
22
- readonly NONE = 0;
23
- readonly CAPTURING_PHASE = 1;
24
- readonly AT_TARGET = 2;
25
- readonly BUBBLING_PHASE = 3;
5
+ type EventCallback<T> = (event: Event<T>) => void;
6
+ export declare const EventPhase: {
7
+ readonly NONE: 0;
8
+ readonly CAPTURING_PHASE: 1;
9
+ readonly AT_TARGET: 2;
10
+ readonly BUBBLING_PHASE: 3;
11
+ };
12
+ export type EventPhase = typeof EventPhase[keyof typeof EventPhase];
13
+ export declare const NONE: 0;
14
+ export declare const CAPTURING_PHASE: 1;
15
+ export declare const AT_TARGET: 2;
16
+ export declare const BUBBLING_PHASE: 3;
17
+ export declare class Event<T = any, E extends Extract<keyof Record<string, any>, string> = ''> {
18
+ static create<T = any, E extends Extract<keyof Record<string, any>, string> = ''>(type: E, bubbles?: boolean, cancelable?: boolean): Event<T, E>;
19
+ type: E;
20
+ parentNode: null;
21
+ target: EventTarget | null;
22
+ currentTarget: EventTarget | null;
26
23
  data: T | null;
27
- /** 事件类型 */
28
- type: string;
29
- /** 事件是否冒泡 */
24
+ eventPhase: number;
30
25
  bubbles: boolean;
31
- /** 阻止事件冒泡的标志 */
32
- cancelBubble: boolean;
33
- /** 事件是否可以取消 */
34
26
  cancelable: boolean;
35
- /** 事件是否支持跨文档冒泡 */
36
- composed: boolean;
37
- /** 事件是否被默认行为阻止 */
38
27
  defaultPrevented: boolean;
39
- /** 事件是否由用户操作生成 */
40
- isTrusted: boolean;
41
- /** 事件的目标对象 */
42
- target: EventTarget | null;
43
- /** 当前正在处理事件的对象 */
44
- currentTarget: EventTarget | null;
45
- /** 事件阶段 */
46
- eventPhase: number;
47
- /** 事件的时间戳 */
48
- timeStamp: number;
49
- /**
50
- * 标记事件是否应该立即停止传播
51
- */
52
- stopImmediatePropagationInternal: boolean;
53
- /**
54
- * 构造函数
55
- * @param type 事件类型
56
- * @param eventInitDict 可选的事件初始化字典
57
- */
58
- constructor(type: string, eventInitDict?: EventInit);
59
- setData(data: T): this;
60
- /**
61
- * 初始化事件对象的属性
62
- * @param type 事件类型
63
- * @param bubbles 是否冒泡
64
- * @param cancelable 是否可以取消
65
- */
66
- initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
67
- /**
68
- * 阻止事件冒泡
69
- */
70
- stopPropagation(): void;
28
+ cancelBubble: boolean;
29
+ immediateCancelBubble: boolean;
30
+ constructor(type: E, bubbles?: boolean, cancelable?: boolean);
31
+ setData(data: T | null): this;
32
+ initEvent(type: E, bubbles?: boolean, cancelable?: boolean): void;
71
33
  /**
72
- * 阻止事件的默认行为
34
+ *
35
+ * @returns {EventTarget[]}
73
36
  */
37
+ composedPath(): EventTarget<{}>[];
74
38
  preventDefault(): void;
75
- /**
76
- * 阻止事件冒泡并停止调用事件监听器
77
- */
39
+ stopPropagation(): void;
78
40
  stopImmediatePropagation(): void;
79
- /**
80
- * 返回事件的目标对象及其祖先对象的路径
81
- * @returns 事件路径的数组
82
- */
83
- composedPath(): EventTarget[];
84
41
  }
85
- export declare class EventTarget<Events extends Record<string, any> = any> {
86
- private listeners;
42
+ export interface EventTarget<Events extends Record<string, any> = {}> {
43
+ on<K extends keyof Events>(type: K, fn: EventCallback<Events[K]>, options?: EventOptions | boolean): void;
44
+ off<K extends keyof Events>(type: K, fn: EventCallback<Events[K]>, options?: EventOptions | boolean): void;
45
+ emit<K extends Extract<keyof Events, string>>(e: Event<Events[K], K>): void;
46
+ }
47
+ export declare class EventTarget<Events extends Record<string, any> = {}> {
87
48
  parentNode: EventTarget | null;
88
- constructor();
89
- addEventListener<E extends keyof Events>(type: E, callback: EventListenerOrEventListenerObject<Events[E]>, options?: AddEventListenerOptions | boolean): void;
90
- dispatchEvent<E extends keyof Events>(event: Event<Events[E]>): boolean;
91
- removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
49
+ private _bubble_emitter;
50
+ private _capture_emitter;
51
+ addEventListener<K extends keyof Events>(type: K, fn: EventCallback<Events[K]>, options?: EventOptions | boolean): void;
52
+ removeEventListener<K extends keyof Events>(type: K, fn: EventCallback<Events[K]>, options?: EventOptions | boolean): void;
53
+ /**
54
+ *
55
+ * @param {Event} e
56
+ */
57
+ dispatchEvent<K extends Extract<keyof Events, string>>(e: Event<Events[K], K>): boolean;
58
+ removeAllListeners(): void;
92
59
  }
93
- export {};
60
+ export { EventTarget as EventPropagation };
@@ -0,0 +1,2 @@
1
+ export default DataView;
2
+ declare var DataView: any;
@@ -0,0 +1,29 @@
1
+ import { default as hashClear } from './_hashClear.js';
2
+ import { default as hashDelete } from './_hashDelete.js';
3
+ import { default as hashGet } from './_hashGet.js';
4
+ import { default as hashHas } from './_hashHas.js';
5
+ import { default as hashSet } from './_hashSet.js';
6
+ export default Hash;
7
+ /**
8
+ * Creates a hash object.
9
+ *
10
+ * @private
11
+ * @constructor
12
+ * @param {Array} [entries] The key-value pairs to cache.
13
+ */
14
+ declare function Hash(entries?: any[]): void;
15
+ declare class Hash {
16
+ /**
17
+ * Creates a hash object.
18
+ *
19
+ * @private
20
+ * @constructor
21
+ * @param {Array} [entries] The key-value pairs to cache.
22
+ */
23
+ private constructor();
24
+ clear: typeof hashClear;
25
+ delete: typeof hashDelete;
26
+ get: typeof hashGet;
27
+ has: typeof hashHas;
28
+ set: typeof hashSet;
29
+ }
@@ -0,0 +1,26 @@
1
+ export default LazyWrapper;
2
+ /**
3
+ * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
4
+ *
5
+ * @private
6
+ * @constructor
7
+ * @param {*} value The value to wrap.
8
+ */
9
+ declare function LazyWrapper(value: any): void;
10
+ declare class LazyWrapper {
11
+ /**
12
+ * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
13
+ *
14
+ * @private
15
+ * @constructor
16
+ * @param {*} value The value to wrap.
17
+ */
18
+ private constructor();
19
+ __wrapped__: any;
20
+ __actions__: any[];
21
+ __dir__: number;
22
+ __filtered__: boolean;
23
+ __iteratees__: any[];
24
+ __takeCount__: number;
25
+ __views__: any[];
26
+ }
@@ -0,0 +1,29 @@
1
+ import { default as listCacheClear } from './_listCacheClear.js';
2
+ import { default as listCacheDelete } from './_listCacheDelete.js';
3
+ import { default as listCacheGet } from './_listCacheGet.js';
4
+ import { default as listCacheHas } from './_listCacheHas.js';
5
+ import { default as listCacheSet } from './_listCacheSet.js';
6
+ export default ListCache;
7
+ /**
8
+ * Creates an list cache object.
9
+ *
10
+ * @private
11
+ * @constructor
12
+ * @param {Array} [entries] The key-value pairs to cache.
13
+ */
14
+ declare function ListCache(entries?: any[]): void;
15
+ declare class ListCache {
16
+ /**
17
+ * Creates an list cache object.
18
+ *
19
+ * @private
20
+ * @constructor
21
+ * @param {Array} [entries] The key-value pairs to cache.
22
+ */
23
+ private constructor();
24
+ clear: typeof listCacheClear;
25
+ delete: typeof listCacheDelete;
26
+ get: typeof listCacheGet;
27
+ has: typeof listCacheHas;
28
+ set: typeof listCacheSet;
29
+ }
@@ -0,0 +1,24 @@
1
+ export default LodashWrapper;
2
+ /**
3
+ * The base constructor for creating `lodash` wrapper objects.
4
+ *
5
+ * @private
6
+ * @param {*} value The value to wrap.
7
+ * @param {boolean} [chainAll] Enable explicit method chain sequences.
8
+ */
9
+ declare function LodashWrapper(value: any, chainAll?: boolean): void;
10
+ declare class LodashWrapper {
11
+ /**
12
+ * The base constructor for creating `lodash` wrapper objects.
13
+ *
14
+ * @private
15
+ * @param {*} value The value to wrap.
16
+ * @param {boolean} [chainAll] Enable explicit method chain sequences.
17
+ */
18
+ private constructor();
19
+ __wrapped__: any;
20
+ __actions__: any[];
21
+ __chain__: boolean;
22
+ __index__: number;
23
+ __values__: any;
24
+ }
@@ -0,0 +1,2 @@
1
+ export default Map;
2
+ declare var Map: any;
@@ -0,0 +1,29 @@
1
+ import { default as mapCacheClear } from './_mapCacheClear.js';
2
+ import { default as mapCacheDelete } from './_mapCacheDelete.js';
3
+ import { default as mapCacheGet } from './_mapCacheGet.js';
4
+ import { default as mapCacheHas } from './_mapCacheHas.js';
5
+ import { default as mapCacheSet } from './_mapCacheSet.js';
6
+ export default MapCache;
7
+ /**
8
+ * Creates a map cache object to store key-value pairs.
9
+ *
10
+ * @private
11
+ * @constructor
12
+ * @param {Array} [entries] The key-value pairs to cache.
13
+ */
14
+ declare function MapCache(entries?: any[]): void;
15
+ declare class MapCache {
16
+ /**
17
+ * Creates a map cache object to store key-value pairs.
18
+ *
19
+ * @private
20
+ * @constructor
21
+ * @param {Array} [entries] The key-value pairs to cache.
22
+ */
23
+ private constructor();
24
+ clear: typeof mapCacheClear;
25
+ delete: typeof mapCacheDelete;
26
+ get: typeof mapCacheGet;
27
+ has: typeof mapCacheHas;
28
+ set: typeof mapCacheSet;
29
+ }
@@ -0,0 +1,2 @@
1
+ export default Promise;
2
+ declare var Promise: any;
@@ -0,0 +1,2 @@
1
+ export default Set;
2
+ declare var Set: any;
@@ -0,0 +1,28 @@
1
+ import { default as MapCache } from './_MapCache.js';
2
+ import { default as setCacheAdd } from './_setCacheAdd.js';
3
+ import { default as setCacheHas } from './_setCacheHas.js';
4
+ export default SetCache;
5
+ /**
6
+ *
7
+ * Creates an array cache object to store unique values.
8
+ *
9
+ * @private
10
+ * @constructor
11
+ * @param {Array} [values] The values to cache.
12
+ */
13
+ declare function SetCache(values?: any[]): void;
14
+ declare class SetCache {
15
+ /**
16
+ *
17
+ * Creates an array cache object to store unique values.
18
+ *
19
+ * @private
20
+ * @constructor
21
+ * @param {Array} [values] The values to cache.
22
+ */
23
+ private constructor();
24
+ __data__: MapCache;
25
+ add: typeof setCacheAdd;
26
+ push: typeof setCacheAdd;
27
+ has: typeof setCacheHas;
28
+ }
@@ -0,0 +1,32 @@
1
+ import { default as ListCache } from './_ListCache.js';
2
+ import { default as stackClear } from './_stackClear.js';
3
+ import { default as stackDelete } from './_stackDelete.js';
4
+ import { default as stackGet } from './_stackGet.js';
5
+ import { default as stackHas } from './_stackHas.js';
6
+ import { default as stackSet } from './_stackSet.js';
7
+ export default Stack;
8
+ /**
9
+ * Creates a stack cache object to store key-value pairs.
10
+ *
11
+ * @private
12
+ * @constructor
13
+ * @param {Array} [entries] The key-value pairs to cache.
14
+ */
15
+ declare function Stack(entries?: any[]): void;
16
+ declare class Stack {
17
+ /**
18
+ * Creates a stack cache object to store key-value pairs.
19
+ *
20
+ * @private
21
+ * @constructor
22
+ * @param {Array} [entries] The key-value pairs to cache.
23
+ */
24
+ private constructor();
25
+ __data__: ListCache;
26
+ size: any;
27
+ clear: typeof stackClear;
28
+ delete: typeof stackDelete;
29
+ get: typeof stackGet;
30
+ has: typeof stackHas;
31
+ set: typeof stackSet;
32
+ }
@@ -0,0 +1,3 @@
1
+ export default Symbol;
2
+ /** Built-in value references. */
3
+ declare var Symbol: any;
@@ -0,0 +1,3 @@
1
+ export default Uint8Array;
2
+ /** Built-in value references. */
3
+ declare var Uint8Array: any;
@@ -0,0 +1,2 @@
1
+ export default WeakMap;
2
+ declare var WeakMap: any;
@@ -0,0 +1,10 @@
1
+ export default addMapEntry;
2
+ /**
3
+ * Adds the key-value `pair` to `map`.
4
+ *
5
+ * @private
6
+ * @param {Object} map The map to modify.
7
+ * @param {Array} pair The key-value pair to add.
8
+ * @returns {Object} Returns `map`.
9
+ */
10
+ declare function addMapEntry(map: Object, pair: any[]): Object;
@@ -0,0 +1,10 @@
1
+ export default addSetEntry;
2
+ /**
3
+ * Adds `value` to `set`.
4
+ *
5
+ * @private
6
+ * @param {Object} set The set to modify.
7
+ * @param {*} value The value to add.
8
+ * @returns {Object} Returns `set`.
9
+ */
10
+ declare function addSetEntry(set: Object, value: any): Object;
@@ -0,0 +1,12 @@
1
+ export default apply;
2
+ /**
3
+ * A faster alternative to `Function#apply`, this function invokes `func`
4
+ * with the `this` binding of `thisArg` and the arguments of `args`.
5
+ *
6
+ * @private
7
+ * @param {Function} func The function to invoke.
8
+ * @param {*} thisArg The `this` binding of `func`.
9
+ * @param {Array} args The arguments to invoke `func` with.
10
+ * @returns {*} Returns the result of `func`.
11
+ */
12
+ declare function apply(func: Function, thisArg: any, args: any[]): any;
@@ -0,0 +1,12 @@
1
+ export default arrayAggregator;
2
+ /**
3
+ * A specialized version of `baseAggregator` for arrays.
4
+ *
5
+ * @private
6
+ * @param {Array} [array] The array to iterate over.
7
+ * @param {Function} setter The function to set `accumulator` values.
8
+ * @param {Function} iteratee The iteratee to transform keys.
9
+ * @param {Object} accumulator The initial aggregated object.
10
+ * @returns {Function} Returns `accumulator`.
11
+ */
12
+ declare function arrayAggregator(array?: any[], setter: Function, iteratee: Function, accumulator: Object): Function;
@@ -0,0 +1,11 @@
1
+ export default arrayEach;
2
+ /**
3
+ * A specialized version of `_.forEach` for arrays without support for
4
+ * iteratee shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} iteratee The function invoked per iteration.
9
+ * @returns {Array} Returns `array`.
10
+ */
11
+ declare function arrayEach(array?: any[], iteratee: Function): any[];
@@ -0,0 +1,11 @@
1
+ export default arrayEachRight;
2
+ /**
3
+ * A specialized version of `_.forEachRight` for arrays without support for
4
+ * iteratee shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} iteratee The function invoked per iteration.
9
+ * @returns {Array} Returns `array`.
10
+ */
11
+ declare function arrayEachRight(array?: any[], iteratee: Function): any[];
@@ -0,0 +1,12 @@
1
+ export default arrayEvery;
2
+ /**
3
+ * A specialized version of `_.every` for arrays without support for
4
+ * iteratee shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} predicate The function invoked per iteration.
9
+ * @returns {boolean} Returns `true` if all elements pass the predicate check,
10
+ * else `false`.
11
+ */
12
+ declare function arrayEvery(array?: any[], predicate: Function): boolean;
@@ -0,0 +1,11 @@
1
+ export default arrayFilter;
2
+ /**
3
+ * A specialized version of `_.filter` for arrays without support for
4
+ * iteratee shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} predicate The function invoked per iteration.
9
+ * @returns {Array} Returns the new filtered array.
10
+ */
11
+ declare function arrayFilter(array?: any[], predicate: Function): any[];
@@ -0,0 +1,11 @@
1
+ export default arrayIncludes;
2
+ /**
3
+ * A specialized version of `_.includes` for arrays without support for
4
+ * specifying an index to search from.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to inspect.
8
+ * @param {*} target The value to search for.
9
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
10
+ */
11
+ declare function arrayIncludes(array?: any[], value: any): boolean;
@@ -0,0 +1,11 @@
1
+ export default arrayIncludesWith;
2
+ /**
3
+ * This function is like `arrayIncludes` except that it accepts a comparator.
4
+ *
5
+ * @private
6
+ * @param {Array} [array] The array to inspect.
7
+ * @param {*} target The value to search for.
8
+ * @param {Function} comparator The comparator invoked per element.
9
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
10
+ */
11
+ declare function arrayIncludesWith(array?: any[], value: any, comparator: Function): boolean;
@@ -0,0 +1,10 @@
1
+ export default arrayLikeKeys;
2
+ /**
3
+ * Creates an array of the enumerable property names of the array-like `value`.
4
+ *
5
+ * @private
6
+ * @param {*} value The value to query.
7
+ * @param {boolean} inherited Specify returning inherited property names.
8
+ * @returns {Array} Returns the array of property names.
9
+ */
10
+ declare function arrayLikeKeys(value: any, inherited: boolean): any[];
@@ -0,0 +1,11 @@
1
+ export default arrayMap;
2
+ /**
3
+ * A specialized version of `_.map` for arrays without support for iteratee
4
+ * shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} iteratee The function invoked per iteration.
9
+ * @returns {Array} Returns the new mapped array.
10
+ */
11
+ declare function arrayMap(array?: any[], iteratee: Function): any[];
@@ -0,0 +1,10 @@
1
+ export default arrayPush;
2
+ /**
3
+ * Appends the elements of `values` to `array`.
4
+ *
5
+ * @private
6
+ * @param {Array} array The array to modify.
7
+ * @param {Array} values The values to append.
8
+ * @returns {Array} Returns `array`.
9
+ */
10
+ declare function arrayPush(array: any[], values: any[]): any[];
@@ -0,0 +1,14 @@
1
+ export default arrayReduce;
2
+ /**
3
+ * A specialized version of `_.reduce` for arrays without support for
4
+ * iteratee shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} iteratee The function invoked per iteration.
9
+ * @param {*} [accumulator] The initial value.
10
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
11
+ * the initial value.
12
+ * @returns {*} Returns the accumulated value.
13
+ */
14
+ declare function arrayReduce(array?: any[], iteratee: Function, accumulator?: any, initAccum?: boolean): any;
@@ -0,0 +1,14 @@
1
+ export default arrayReduceRight;
2
+ /**
3
+ * A specialized version of `_.reduceRight` for arrays without support for
4
+ * iteratee shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} iteratee The function invoked per iteration.
9
+ * @param {*} [accumulator] The initial value.
10
+ * @param {boolean} [initAccum] Specify using the last element of `array` as
11
+ * the initial value.
12
+ * @returns {*} Returns the accumulated value.
13
+ */
14
+ declare function arrayReduceRight(array?: any[], iteratee: Function, accumulator?: any, initAccum?: boolean): any;
@@ -0,0 +1,9 @@
1
+ export default arraySample;
2
+ /**
3
+ * A specialized version of `_.sample` for arrays.
4
+ *
5
+ * @private
6
+ * @param {Array} array The array to sample.
7
+ * @returns {*} Returns the random element.
8
+ */
9
+ declare function arraySample(array: any[]): any;
@@ -0,0 +1,10 @@
1
+ export default arraySampleSize;
2
+ /**
3
+ * A specialized version of `_.sampleSize` for arrays.
4
+ *
5
+ * @private
6
+ * @param {Array} array The array to sample.
7
+ * @param {number} n The number of elements to sample.
8
+ * @returns {Array} Returns the random elements.
9
+ */
10
+ declare function arraySampleSize(array: any[], n: number): any[];
@@ -0,0 +1,9 @@
1
+ export default arrayShuffle;
2
+ /**
3
+ * A specialized version of `_.shuffle` for arrays.
4
+ *
5
+ * @private
6
+ * @param {Array} array The array to shuffle.
7
+ * @returns {Array} Returns the new shuffled array.
8
+ */
9
+ declare function arrayShuffle(array: any[]): any[];
@@ -0,0 +1,12 @@
1
+ export default arraySome;
2
+ /**
3
+ * A specialized version of `_.some` for arrays without support for iteratee
4
+ * shorthands.
5
+ *
6
+ * @private
7
+ * @param {Array} [array] The array to iterate over.
8
+ * @param {Function} predicate The function invoked per iteration.
9
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
10
+ * else `false`.
11
+ */
12
+ declare function arraySome(array?: any[], predicate: Function): boolean;
@@ -0,0 +1,9 @@
1
+ export default asciiSize;
2
+ /**
3
+ * Gets the size of an ASCII `string`.
4
+ *
5
+ * @private
6
+ * @param {string} string The string inspect.
7
+ * @returns {number} Returns the string size.
8
+ */
9
+ declare var asciiSize: Function;
@@ -0,0 +1,9 @@
1
+ export default asciiToArray;
2
+ /**
3
+ * Converts an ASCII `string` to an array.
4
+ *
5
+ * @private
6
+ * @param {string} string The string to convert.
7
+ * @returns {Array} Returns the converted array.
8
+ */
9
+ declare function asciiToArray(string: string): any[];
@@ -0,0 +1,9 @@
1
+ export default asciiWords;
2
+ /**
3
+ * Splits an ASCII `string` into an array of its words.
4
+ *
5
+ * @private
6
+ * @param {string} The string to inspect.
7
+ * @returns {Array} Returns the words of `string`.
8
+ */
9
+ declare function asciiWords(string: any): any[];