@daiso-tech/core 0.0.1 → 0.1.1

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 (431) hide show
  1. package/.changeset/config.json +11 -11
  2. package/.gitattributes +5 -5
  3. package/.github/workflows/main.yaml +53 -53
  4. package/.github/workflows/release.yaml +31 -31
  5. package/.prettierignore +3 -3
  6. package/.prettierrc.json +3 -3
  7. package/.vscode/settings.json +45 -45
  8. package/CHANGELOG.md +13 -0
  9. package/LICENSE.md +193 -193
  10. package/dist/cjs/_module.js +19 -0
  11. package/dist/cjs/_module.js.map +1 -0
  12. package/dist/cjs/collection/_module.js +21 -0
  13. package/dist/cjs/collection/_module.js.map +1 -0
  14. package/dist/cjs/collection/_shared.js +28 -0
  15. package/dist/cjs/collection/_shared.js.map +1 -0
  16. package/dist/cjs/collection/async-iterable-collection/_module.js +18 -0
  17. package/dist/cjs/collection/async-iterable-collection/_module.js.map +1 -0
  18. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +678 -0
  19. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +1 -0
  20. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/_module.js +52 -0
  21. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/_module.js.map +1 -0
  22. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js +25 -0
  23. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js.map +1 -0
  24. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js +43 -0
  25. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js.map +1 -0
  26. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js +43 -0
  27. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js.map +1 -0
  28. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js +32 -0
  29. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js.map +1 -0
  30. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js +39 -0
  31. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js.map +1 -0
  32. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js +43 -0
  33. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js.map +1 -0
  34. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js +19 -0
  35. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +1 -0
  36. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js +24 -0
  37. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js.map +1 -0
  38. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js +32 -0
  39. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js.map +1 -0
  40. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js +30 -0
  41. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js.map +1 -0
  42. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js +30 -0
  43. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js.map +1 -0
  44. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js +43 -0
  45. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js.map +1 -0
  46. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js +43 -0
  47. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js.map +1 -0
  48. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js +30 -0
  49. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js.map +1 -0
  50. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js +27 -0
  51. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js.map +1 -0
  52. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js +34 -0
  53. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js.map +1 -0
  54. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js +34 -0
  55. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js.map +1 -0
  56. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js +45 -0
  57. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js.map +1 -0
  58. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js +32 -0
  59. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js.map +1 -0
  60. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js +28 -0
  61. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js.map +1 -0
  62. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js +25 -0
  63. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js.map +1 -0
  64. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js +33 -0
  65. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js.map +1 -0
  66. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js +41 -0
  67. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js.map +1 -0
  68. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js +36 -0
  69. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js.map +1 -0
  70. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js +45 -0
  71. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js.map +1 -0
  72. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js +16 -0
  73. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js.map +1 -0
  74. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js +49 -0
  75. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js.map +1 -0
  76. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js +33 -0
  77. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js.map +1 -0
  78. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js +33 -0
  79. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js.map +1 -0
  80. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js +27 -0
  81. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js.map +1 -0
  82. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js +21 -0
  83. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js.map +1 -0
  84. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js +35 -0
  85. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js.map +1 -0
  86. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js +37 -0
  87. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js.map +1 -0
  88. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js +32 -0
  89. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js.map +1 -0
  90. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js +37 -0
  91. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js.map +1 -0
  92. package/dist/cjs/collection/iterable-collection/_module.js +18 -0
  93. package/dist/cjs/collection/iterable-collection/_module.js.map +1 -0
  94. package/dist/cjs/collection/iterable-collection/iterable-collection.js +758 -0
  95. package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +1 -0
  96. package/dist/cjs/collection/iterable-collection/iterable-helpers/_module.js +49 -0
  97. package/dist/cjs/collection/iterable-collection/iterable-helpers/_module.js.map +1 -0
  98. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-iterable.js +43 -0
  99. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-iterable.js.map +1 -0
  100. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js +43 -0
  101. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js.map +1 -0
  102. package/dist/cjs/collection/iterable-collection/iterable-helpers/collapse-iterable.js +32 -0
  103. package/dist/cjs/collection/iterable-collection/iterable-helpers/collapse-iterable.js.map +1 -0
  104. package/dist/cjs/collection/iterable-collection/iterable-helpers/count-by-iterable.js +39 -0
  105. package/dist/cjs/collection/iterable-collection/iterable-helpers/count-by-iterable.js.map +1 -0
  106. package/dist/cjs/collection/iterable-collection/iterable-helpers/cross-join-iterable.js +43 -0
  107. package/dist/cjs/collection/iterable-collection/iterable-helpers/cross-join-iterable.js.map +1 -0
  108. package/dist/cjs/collection/iterable-collection/iterable-helpers/entries-iterable.js +34 -0
  109. package/dist/cjs/collection/iterable-collection/iterable-helpers/entries-iterable.js.map +1 -0
  110. package/dist/cjs/collection/iterable-collection/iterable-helpers/filter-iterable.js +32 -0
  111. package/dist/cjs/collection/iterable-collection/iterable-helpers/filter-iterable.js.map +1 -0
  112. package/dist/cjs/collection/iterable-collection/iterable-helpers/flat-map-iterable.js +30 -0
  113. package/dist/cjs/collection/iterable-collection/iterable-helpers/flat-map-iterable.js.map +1 -0
  114. package/dist/cjs/collection/iterable-collection/iterable-helpers/group-by-iterable.js +40 -0
  115. package/dist/cjs/collection/iterable-collection/iterable-helpers/group-by-iterable.js.map +1 -0
  116. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-after-iterable.js +37 -0
  117. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-after-iterable.js.map +1 -0
  118. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-before-iterable.js +37 -0
  119. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-before-iterable.js.map +1 -0
  120. package/dist/cjs/collection/iterable-collection/iterable-helpers/map-iterable.js +30 -0
  121. package/dist/cjs/collection/iterable-collection/iterable-helpers/map-iterable.js.map +1 -0
  122. package/dist/cjs/collection/iterable-collection/iterable-helpers/merge-iterable.js +27 -0
  123. package/dist/cjs/collection/iterable-collection/iterable-helpers/merge-iterable.js.map +1 -0
  124. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-end-iterable.js +44 -0
  125. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-end-iterable.js.map +1 -0
  126. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-start-iterable.js +44 -0
  127. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-start-iterable.js.map +1 -0
  128. package/dist/cjs/collection/iterable-collection/iterable-helpers/partion-iterable.js +40 -0
  129. package/dist/cjs/collection/iterable-collection/iterable-helpers/partion-iterable.js.map +1 -0
  130. package/dist/cjs/collection/iterable-collection/iterable-helpers/repeat-iterable.js +32 -0
  131. package/dist/cjs/collection/iterable-collection/iterable-helpers/repeat-iterable.js.map +1 -0
  132. package/dist/cjs/collection/iterable-collection/iterable-helpers/reverse-iterable.js +38 -0
  133. package/dist/cjs/collection/iterable-collection/iterable-helpers/reverse-iterable.js.map +1 -0
  134. package/dist/cjs/collection/iterable-collection/iterable-helpers/shuffle-iterable.js +35 -0
  135. package/dist/cjs/collection/iterable-collection/iterable-helpers/shuffle-iterable.js.map +1 -0
  136. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-iterable.js +32 -0
  137. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-iterable.js.map +1 -0
  138. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-until-iterable.js +36 -0
  139. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-until-iterable.js.map +1 -0
  140. package/dist/cjs/collection/iterable-collection/iterable-helpers/slice-iterable.js +46 -0
  141. package/dist/cjs/collection/iterable-collection/iterable-helpers/slice-iterable.js.map +1 -0
  142. package/dist/cjs/collection/iterable-collection/iterable-helpers/sliding-iterable.js +45 -0
  143. package/dist/cjs/collection/iterable-collection/iterable-helpers/sliding-iterable.js.map +1 -0
  144. package/dist/cjs/collection/iterable-collection/iterable-helpers/sort-iterable.js +26 -0
  145. package/dist/cjs/collection/iterable-collection/iterable-helpers/sort-iterable.js.map +1 -0
  146. package/dist/cjs/collection/iterable-collection/iterable-helpers/split-iterable.js +49 -0
  147. package/dist/cjs/collection/iterable-collection/iterable-helpers/split-iterable.js.map +1 -0
  148. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-iterable.js +32 -0
  149. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-iterable.js.map +1 -0
  150. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-until-iterable.js +33 -0
  151. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-until-iterable.js.map +1 -0
  152. package/dist/cjs/collection/iterable-collection/iterable-helpers/tap-iterable.js +27 -0
  153. package/dist/cjs/collection/iterable-collection/iterable-helpers/tap-iterable.js.map +1 -0
  154. package/dist/cjs/collection/iterable-collection/iterable-helpers/unique-iterable.js +35 -0
  155. package/dist/cjs/collection/iterable-collection/iterable-helpers/unique-iterable.js.map +1 -0
  156. package/dist/cjs/collection/iterable-collection/iterable-helpers/update-iterable.js +37 -0
  157. package/dist/cjs/collection/iterable-collection/iterable-helpers/update-iterable.js.map +1 -0
  158. package/dist/cjs/collection/iterable-collection/iterable-helpers/when-iterable.js +32 -0
  159. package/dist/cjs/collection/iterable-collection/iterable-helpers/when-iterable.js.map +1 -0
  160. package/dist/cjs/collection/iterable-collection/iterable-helpers/zip-iterable.js +33 -0
  161. package/dist/cjs/collection/iterable-collection/iterable-helpers/zip-iterable.js.map +1 -0
  162. package/dist/cjs/collection/list-collection/_module.js +18 -0
  163. package/dist/cjs/collection/list-collection/_module.js.map +1 -0
  164. package/dist/cjs/collection/list-collection/list-collection.js +1264 -0
  165. package/dist/cjs/collection/list-collection/list-collection.js.map +1 -0
  166. package/dist/cjs/contracts/_module.js +18 -0
  167. package/dist/cjs/contracts/_module.js.map +1 -0
  168. package/dist/cjs/contracts/collection/_module.js +20 -0
  169. package/dist/cjs/contracts/collection/_module.js.map +1 -0
  170. package/dist/cjs/contracts/collection/_shared.js +39 -0
  171. package/dist/cjs/contracts/collection/_shared.js.map +1 -0
  172. package/dist/cjs/contracts/collection/async-collection.contract.js +3 -0
  173. package/dist/cjs/contracts/collection/async-collection.contract.js.map +1 -0
  174. package/dist/cjs/contracts/collection/collection.contract.js +3 -0
  175. package/dist/cjs/contracts/collection/collection.contract.js.map +1 -0
  176. package/dist/cjs/types.js +3 -0
  177. package/dist/cjs/types.js.map +1 -0
  178. package/dist/esm/_module.js +3 -0
  179. package/dist/esm/_module.js.map +1 -0
  180. package/dist/esm/collection/_module.js +5 -0
  181. package/dist/esm/collection/_module.js.map +1 -0
  182. package/dist/esm/collection/_shared.js +23 -0
  183. package/dist/esm/collection/_shared.js.map +1 -0
  184. package/dist/esm/collection/async-iterable-collection/_module.js +2 -0
  185. package/dist/esm/collection/async-iterable-collection/_module.js.map +1 -0
  186. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +674 -0
  187. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +1 -0
  188. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/_module.js +36 -0
  189. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/_module.js.map +1 -0
  190. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js +21 -0
  191. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js.map +1 -0
  192. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js +39 -0
  193. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js.map +1 -0
  194. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js +39 -0
  195. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js.map +1 -0
  196. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js +28 -0
  197. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js.map +1 -0
  198. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js +35 -0
  199. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js.map +1 -0
  200. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js +39 -0
  201. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js.map +1 -0
  202. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js +15 -0
  203. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +1 -0
  204. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js +20 -0
  205. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js.map +1 -0
  206. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js +28 -0
  207. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js.map +1 -0
  208. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js +26 -0
  209. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js.map +1 -0
  210. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js +26 -0
  211. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js.map +1 -0
  212. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js +39 -0
  213. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js.map +1 -0
  214. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js +39 -0
  215. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js.map +1 -0
  216. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js +26 -0
  217. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js.map +1 -0
  218. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js +23 -0
  219. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js.map +1 -0
  220. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js +30 -0
  221. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js.map +1 -0
  222. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js +30 -0
  223. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js.map +1 -0
  224. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js +41 -0
  225. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js.map +1 -0
  226. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js +28 -0
  227. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js.map +1 -0
  228. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js +24 -0
  229. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js.map +1 -0
  230. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js +21 -0
  231. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js.map +1 -0
  232. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js +29 -0
  233. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js.map +1 -0
  234. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js +37 -0
  235. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js.map +1 -0
  236. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js +32 -0
  237. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js.map +1 -0
  238. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js +41 -0
  239. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js.map +1 -0
  240. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js +12 -0
  241. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js.map +1 -0
  242. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js +45 -0
  243. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js.map +1 -0
  244. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js +29 -0
  245. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js.map +1 -0
  246. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js +29 -0
  247. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js.map +1 -0
  248. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js +23 -0
  249. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js.map +1 -0
  250. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js +17 -0
  251. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js.map +1 -0
  252. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js +31 -0
  253. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js.map +1 -0
  254. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js +33 -0
  255. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js.map +1 -0
  256. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js +28 -0
  257. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js.map +1 -0
  258. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js +33 -0
  259. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js.map +1 -0
  260. package/dist/esm/collection/iterable-collection/_module.js +2 -0
  261. package/dist/esm/collection/iterable-collection/_module.js.map +1 -0
  262. package/dist/esm/collection/iterable-collection/iterable-collection.js +754 -0
  263. package/dist/esm/collection/iterable-collection/iterable-collection.js.map +1 -0
  264. package/dist/esm/collection/iterable-collection/iterable-helpers/_module.js +33 -0
  265. package/dist/esm/collection/iterable-collection/iterable-helpers/_module.js.map +1 -0
  266. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-iterable.js +39 -0
  267. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-iterable.js.map +1 -0
  268. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js +39 -0
  269. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js.map +1 -0
  270. package/dist/esm/collection/iterable-collection/iterable-helpers/collapse-iterable.js +28 -0
  271. package/dist/esm/collection/iterable-collection/iterable-helpers/collapse-iterable.js.map +1 -0
  272. package/dist/esm/collection/iterable-collection/iterable-helpers/count-by-iterable.js +35 -0
  273. package/dist/esm/collection/iterable-collection/iterable-helpers/count-by-iterable.js.map +1 -0
  274. package/dist/esm/collection/iterable-collection/iterable-helpers/cross-join-iterable.js +39 -0
  275. package/dist/esm/collection/iterable-collection/iterable-helpers/cross-join-iterable.js.map +1 -0
  276. package/dist/esm/collection/iterable-collection/iterable-helpers/entries-iterable.js +30 -0
  277. package/dist/esm/collection/iterable-collection/iterable-helpers/entries-iterable.js.map +1 -0
  278. package/dist/esm/collection/iterable-collection/iterable-helpers/filter-iterable.js +28 -0
  279. package/dist/esm/collection/iterable-collection/iterable-helpers/filter-iterable.js.map +1 -0
  280. package/dist/esm/collection/iterable-collection/iterable-helpers/flat-map-iterable.js +26 -0
  281. package/dist/esm/collection/iterable-collection/iterable-helpers/flat-map-iterable.js.map +1 -0
  282. package/dist/esm/collection/iterable-collection/iterable-helpers/group-by-iterable.js +36 -0
  283. package/dist/esm/collection/iterable-collection/iterable-helpers/group-by-iterable.js.map +1 -0
  284. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-after-iterable.js +33 -0
  285. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-after-iterable.js.map +1 -0
  286. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-before-iterable.js +33 -0
  287. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-before-iterable.js.map +1 -0
  288. package/dist/esm/collection/iterable-collection/iterable-helpers/map-iterable.js +26 -0
  289. package/dist/esm/collection/iterable-collection/iterable-helpers/map-iterable.js.map +1 -0
  290. package/dist/esm/collection/iterable-collection/iterable-helpers/merge-iterable.js +23 -0
  291. package/dist/esm/collection/iterable-collection/iterable-helpers/merge-iterable.js.map +1 -0
  292. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-end-iterable.js +40 -0
  293. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-end-iterable.js.map +1 -0
  294. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-start-iterable.js +40 -0
  295. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-start-iterable.js.map +1 -0
  296. package/dist/esm/collection/iterable-collection/iterable-helpers/partion-iterable.js +36 -0
  297. package/dist/esm/collection/iterable-collection/iterable-helpers/partion-iterable.js.map +1 -0
  298. package/dist/esm/collection/iterable-collection/iterable-helpers/repeat-iterable.js +28 -0
  299. package/dist/esm/collection/iterable-collection/iterable-helpers/repeat-iterable.js.map +1 -0
  300. package/dist/esm/collection/iterable-collection/iterable-helpers/reverse-iterable.js +34 -0
  301. package/dist/esm/collection/iterable-collection/iterable-helpers/reverse-iterable.js.map +1 -0
  302. package/dist/esm/collection/iterable-collection/iterable-helpers/shuffle-iterable.js +31 -0
  303. package/dist/esm/collection/iterable-collection/iterable-helpers/shuffle-iterable.js.map +1 -0
  304. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-iterable.js +28 -0
  305. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-iterable.js.map +1 -0
  306. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-until-iterable.js +32 -0
  307. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-until-iterable.js.map +1 -0
  308. package/dist/esm/collection/iterable-collection/iterable-helpers/slice-iterable.js +42 -0
  309. package/dist/esm/collection/iterable-collection/iterable-helpers/slice-iterable.js.map +1 -0
  310. package/dist/esm/collection/iterable-collection/iterable-helpers/sliding-iterable.js +41 -0
  311. package/dist/esm/collection/iterable-collection/iterable-helpers/sliding-iterable.js.map +1 -0
  312. package/dist/esm/collection/iterable-collection/iterable-helpers/sort-iterable.js +22 -0
  313. package/dist/esm/collection/iterable-collection/iterable-helpers/sort-iterable.js.map +1 -0
  314. package/dist/esm/collection/iterable-collection/iterable-helpers/split-iterable.js +45 -0
  315. package/dist/esm/collection/iterable-collection/iterable-helpers/split-iterable.js.map +1 -0
  316. package/dist/esm/collection/iterable-collection/iterable-helpers/take-iterable.js +28 -0
  317. package/dist/esm/collection/iterable-collection/iterable-helpers/take-iterable.js.map +1 -0
  318. package/dist/esm/collection/iterable-collection/iterable-helpers/take-until-iterable.js +29 -0
  319. package/dist/esm/collection/iterable-collection/iterable-helpers/take-until-iterable.js.map +1 -0
  320. package/dist/esm/collection/iterable-collection/iterable-helpers/tap-iterable.js +23 -0
  321. package/dist/esm/collection/iterable-collection/iterable-helpers/tap-iterable.js.map +1 -0
  322. package/dist/esm/collection/iterable-collection/iterable-helpers/unique-iterable.js +31 -0
  323. package/dist/esm/collection/iterable-collection/iterable-helpers/unique-iterable.js.map +1 -0
  324. package/dist/esm/collection/iterable-collection/iterable-helpers/update-iterable.js +33 -0
  325. package/dist/esm/collection/iterable-collection/iterable-helpers/update-iterable.js.map +1 -0
  326. package/dist/esm/collection/iterable-collection/iterable-helpers/when-iterable.js +28 -0
  327. package/dist/esm/collection/iterable-collection/iterable-helpers/when-iterable.js.map +1 -0
  328. package/dist/esm/collection/iterable-collection/iterable-helpers/zip-iterable.js +29 -0
  329. package/dist/esm/collection/iterable-collection/iterable-helpers/zip-iterable.js.map +1 -0
  330. package/dist/esm/collection/list-collection/_module.js +2 -0
  331. package/dist/esm/collection/list-collection/_module.js.map +1 -0
  332. package/dist/esm/collection/list-collection/list-collection.js +1260 -0
  333. package/dist/esm/collection/list-collection/list-collection.js.map +1 -0
  334. package/dist/esm/contracts/_module.js +2 -0
  335. package/dist/esm/contracts/_module.js.map +1 -0
  336. package/dist/esm/contracts/collection/_module.js +4 -0
  337. package/dist/esm/contracts/collection/_module.js.map +1 -0
  338. package/dist/esm/contracts/collection/_shared.js +31 -0
  339. package/dist/esm/contracts/collection/_shared.js.map +1 -0
  340. package/dist/esm/contracts/collection/async-collection.contract.js +1 -0
  341. package/dist/esm/contracts/collection/async-collection.contract.js.map +1 -0
  342. package/dist/esm/contracts/collection/collection.contract.js +1 -0
  343. package/dist/esm/contracts/collection/collection.contract.js.map +1 -0
  344. package/dist/esm/types.js +1 -0
  345. package/dist/esm/types.js.map +1 -0
  346. package/dist/types/_module.d.ts +2 -0
  347. package/dist/types/collection/_module.d.ts +4 -0
  348. package/dist/types/collection/_shared.d.ts +16 -0
  349. package/dist/types/collection/async-iterable-collection/_module.d.ts +1 -0
  350. package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +92 -0
  351. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/_module.d.ts +35 -0
  352. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.d.ts +10 -0
  353. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.d.ts +11 -0
  354. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.d.ts +12 -0
  355. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.d.ts +9 -0
  356. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.d.ts +11 -0
  357. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.d.ts +11 -0
  358. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.d.ts +10 -0
  359. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.d.ts +11 -0
  360. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.d.ts +11 -0
  361. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.d.ts +11 -0
  362. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.d.ts +12 -0
  363. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.d.ts +12 -0
  364. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.d.ts +12 -0
  365. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.d.ts +11 -0
  366. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.d.ts +10 -0
  367. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.d.ts +12 -0
  368. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.d.ts +12 -0
  369. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.d.ts +12 -0
  370. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.d.ts +11 -0
  371. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.d.ts +12 -0
  372. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.d.ts +9 -0
  373. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.d.ts +11 -0
  374. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.d.ts +11 -0
  375. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.d.ts +12 -0
  376. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.d.ts +12 -0
  377. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.d.ts +10 -0
  378. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.d.ts +12 -0
  379. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.d.ts +11 -0
  380. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.d.ts +11 -0
  381. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.d.ts +10 -0
  382. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.d.ts +10 -0
  383. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.d.ts +11 -0
  384. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.d.ts +12 -0
  385. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.d.ts +11 -0
  386. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.d.ts +10 -0
  387. package/dist/types/collection/iterable-collection/_module.d.ts +1 -0
  388. package/dist/types/collection/iterable-collection/iterable-collection.d.ts +89 -0
  389. package/dist/types/collection/iterable-collection/iterable-helpers/_module.d.ts +32 -0
  390. package/dist/types/collection/iterable-collection/iterable-helpers/chunk-iterable.d.ts +8 -0
  391. package/dist/types/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.d.ts +9 -0
  392. package/dist/types/collection/iterable-collection/iterable-helpers/collapse-iterable.d.ts +6 -0
  393. package/dist/types/collection/iterable-collection/iterable-helpers/count-by-iterable.d.ts +8 -0
  394. package/dist/types/collection/iterable-collection/iterable-helpers/cross-join-iterable.d.ts +8 -0
  395. package/dist/types/collection/iterable-collection/iterable-helpers/entries-iterable.d.ts +7 -0
  396. package/dist/types/collection/iterable-collection/iterable-helpers/filter-iterable.d.ts +8 -0
  397. package/dist/types/collection/iterable-collection/iterable-helpers/flat-map-iterable.d.ts +8 -0
  398. package/dist/types/collection/iterable-collection/iterable-helpers/group-by-iterable.d.ts +9 -0
  399. package/dist/types/collection/iterable-collection/iterable-helpers/insert-after-iterable.d.ts +9 -0
  400. package/dist/types/collection/iterable-collection/iterable-helpers/insert-before-iterable.d.ts +9 -0
  401. package/dist/types/collection/iterable-collection/iterable-helpers/map-iterable.d.ts +8 -0
  402. package/dist/types/collection/iterable-collection/iterable-helpers/merge-iterable.d.ts +6 -0
  403. package/dist/types/collection/iterable-collection/iterable-helpers/pad-end-iterable.d.ts +9 -0
  404. package/dist/types/collection/iterable-collection/iterable-helpers/pad-start-iterable.d.ts +9 -0
  405. package/dist/types/collection/iterable-collection/iterable-helpers/partion-iterable.d.ts +9 -0
  406. package/dist/types/collection/iterable-collection/iterable-helpers/repeat-iterable.d.ts +8 -0
  407. package/dist/types/collection/iterable-collection/iterable-helpers/reverse-iterable.d.ts +9 -0
  408. package/dist/types/collection/iterable-collection/iterable-helpers/shuffle-iterable.d.ts +5 -0
  409. package/dist/types/collection/iterable-collection/iterable-helpers/skip-iterable.d.ts +8 -0
  410. package/dist/types/collection/iterable-collection/iterable-helpers/skip-until-iterable.d.ts +8 -0
  411. package/dist/types/collection/iterable-collection/iterable-helpers/slice-iterable.d.ts +9 -0
  412. package/dist/types/collection/iterable-collection/iterable-helpers/sliding-iterable.d.ts +9 -0
  413. package/dist/types/collection/iterable-collection/iterable-helpers/sort-iterable.d.ts +7 -0
  414. package/dist/types/collection/iterable-collection/iterable-helpers/split-iterable.d.ts +9 -0
  415. package/dist/types/collection/iterable-collection/iterable-helpers/take-iterable.d.ts +8 -0
  416. package/dist/types/collection/iterable-collection/iterable-helpers/take-until-iterable.d.ts +8 -0
  417. package/dist/types/collection/iterable-collection/iterable-helpers/tap-iterable.d.ts +7 -0
  418. package/dist/types/collection/iterable-collection/iterable-helpers/unique-iterable.d.ts +8 -0
  419. package/dist/types/collection/iterable-collection/iterable-helpers/update-iterable.d.ts +9 -0
  420. package/dist/types/collection/iterable-collection/iterable-helpers/when-iterable.d.ts +8 -0
  421. package/dist/types/collection/iterable-collection/iterable-helpers/zip-iterable.d.ts +7 -0
  422. package/dist/types/collection/list-collection/_module.d.ts +1 -0
  423. package/dist/types/collection/list-collection/list-collection.d.ts +86 -0
  424. package/dist/types/contracts/_module.d.ts +1 -0
  425. package/dist/types/contracts/collection/_module.d.ts +3 -0
  426. package/dist/types/contracts/collection/_shared.d.ts +259 -0
  427. package/dist/types/contracts/collection/async-collection.contract.d.ts +731 -0
  428. package/dist/types/contracts/collection/collection.contract.d.ts +723 -0
  429. package/dist/types/types.d.ts +1 -0
  430. package/package.json +45 -47
  431. package/.changeset/sweet-peas-beg.md +0 -5
@@ -0,0 +1,9 @@
1
+ import { type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncShuffleIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ constructor(collection: IAsyncCollection<TInput>);
8
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncSkipIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private limit;
8
+ private throwOnNumberLimit;
9
+ constructor(collection: IAsyncCollection<TInput>, limit: number, throwOnNumberLimit: boolean);
10
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { type AsyncFilter, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncSkipUntilIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private filter;
8
+ private throwOnNumberLimit;
9
+ constructor(collection: IAsyncCollection<TInput>, filter: AsyncFilter<TInput, IAsyncCollection<TInput>>, throwOnNumberLimit: boolean);
10
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncSliceIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private start;
8
+ private end;
9
+ private throwOnNumberLimit;
10
+ constructor(collection: IAsyncCollection<TInput>, start: number | undefined, end: number | undefined, throwOnNumberLimit: boolean);
11
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncSlidingIteralbe<TInput> implements AsyncIterable<IAsyncCollection<TInput>> {
6
+ private collection;
7
+ private chunkSize;
8
+ private step;
9
+ private throwOnNumberLimit;
10
+ constructor(collection: IAsyncCollection<TInput>, chunkSize: number, step: number, throwOnNumberLimit: boolean);
11
+ [Symbol.asyncIterator](): AsyncIterator<IAsyncCollection<TInput>>;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { type Comparator, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncSortIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private compare?;
8
+ constructor(collection: IAsyncCollection<TInput>, compare?: Comparator<TInput> | undefined);
9
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { type AsyncIterableValue, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncSplitIterable<TInput> implements AsyncIterable<IAsyncCollection<TInput>> {
6
+ private collection;
7
+ private chunkAmount;
8
+ private throwOnNumberLimit;
9
+ private makeCollection;
10
+ constructor(collection: IAsyncCollection<TInput>, chunkAmount: number, throwOnNumberLimit: boolean, makeCollection: <TInput>(iterable: AsyncIterableValue<TInput>) => IAsyncCollection<TInput>);
11
+ [Symbol.asyncIterator](): AsyncIterator<IAsyncCollection<TInput>>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncTakeIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private limit;
8
+ private throwOnNumberLimit;
9
+ constructor(collection: IAsyncCollection<TInput>, limit: number, throwOnNumberLimit: boolean);
10
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { type AsyncFilter, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncTakeUntilIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private filter;
8
+ private throwOnNumberLimit;
9
+ constructor(collection: IAsyncCollection<TInput>, filter: AsyncFilter<TInput, IAsyncCollection<TInput>>, throwOnNumberLimit: boolean);
10
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { type AsyncTap, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncTapIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private callback;
8
+ constructor(collection: IAsyncCollection<TInput>, callback: AsyncTap<IAsyncCollection<TInput>>);
9
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncTimeoutIterable<TInput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private timeInMs;
8
+ constructor(collection: IAsyncCollection<TInput>, timeInMs: number);
9
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import { type AsyncMap, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncUniqueIterable<TInput, TOutput> implements AsyncIterable<TInput> {
6
+ private collection;
7
+ private callback;
8
+ private throwOnNumberLimit;
9
+ constructor(collection: IAsyncCollection<TInput>, callback: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>, throwOnNumberLimit: boolean);
10
+ [Symbol.asyncIterator](): AsyncIterator<TInput>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { type AsyncFilter, type AsyncMap, type IAsyncCollection, type UpdatedItem } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncUpdateIterable<TInput, TFilterOutput extends TInput, TMapOutput> implements AsyncIterable<UpdatedItem<TInput, TFilterOutput, TMapOutput>> {
6
+ private collection;
7
+ private filter;
8
+ private map;
9
+ private throwOnNumberLimit;
10
+ constructor(collection: IAsyncCollection<TInput>, filter: AsyncFilter<TInput, IAsyncCollection<TInput>, TFilterOutput>, map: AsyncMap<TFilterOutput, IAsyncCollection<TInput>, TMapOutput>, throwOnNumberLimit: boolean);
11
+ [Symbol.asyncIterator](): AsyncIterator<UpdatedItem<TInput, TFilterOutput, TMapOutput>>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { type AsyncModifier, type IAsyncCollection } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncWhenIterable<TInput, TExtended> implements AsyncIterable<TInput | TExtended> {
6
+ private collection;
7
+ private condition;
8
+ private callback;
9
+ constructor(collection: IAsyncCollection<TInput>, condition: () => boolean | Promise<boolean>, callback: AsyncModifier<IAsyncCollection<TInput>, IAsyncCollection<TExtended>>);
10
+ [Symbol.asyncIterator](): AsyncIterator<TInput | TExtended>;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { type AsyncIterableValue, type RecordItem } from "../../../contracts/collection/_module";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AsyncZipIterable<TInput, TExtended> implements AsyncIterable<RecordItem<TInput, TExtended>> {
6
+ private iterableA;
7
+ private iterableB;
8
+ constructor(iterableA: AsyncIterableValue<TInput>, iterableB: AsyncIterableValue<TExtended>);
9
+ [Symbol.asyncIterator](): AsyncIterator<RecordItem<TInput, TExtended>>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from "../../collection/iterable-collection/iterable-collection";
@@ -0,0 +1,89 @@
1
+ import { type Collapse, type Comparator, type Filter, type FindOrSettings, type FindSettings, type ForEach, type GroupBySettings, type ICollection, type JoinSettings, type Lazyable, type Map, type Modifier, type PageSettings, type RecordItem, type ReduceSettings, type ReverseSettings, type SliceSettings, type SlidingSettings, type Tap, type Transform, type UpdatedItem } from "../../contracts/collection/_module";
2
+ import { type EnsureType } from "../../types";
3
+ /**
4
+ * Most methods in IterableCollection are lazy and will only execute when calling methods return values or iterating through an IterableCollection by using for of loop.
5
+ * @group Collections
6
+ */
7
+ export declare class IterableCollection<TInput> implements ICollection<TInput> {
8
+ private iterable;
9
+ private static THROW_ON_NUMBER_LIMIT;
10
+ private static DEFAULT_CHUNK_SIZE;
11
+ private static makeCollection;
12
+ constructor(iterable: Iterable<TInput>);
13
+ [Symbol.iterator](): Iterator<TInput>;
14
+ iterator(): Iterator<TInput, void>;
15
+ entries(throwOnNumberLimit?: boolean): ICollection<RecordItem<number, TInput>>;
16
+ keys(throwOnNumberLimit?: boolean): ICollection<number>;
17
+ values(): ICollection<TInput>;
18
+ filter<TOutput extends TInput>(filter: Filter<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit?: boolean): ICollection<TOutput>;
19
+ map<TOutput>(map: Map<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit?: boolean): ICollection<TOutput>;
20
+ reduce<TOutput = TInput>(settings: ReduceSettings<TInput, ICollection<TInput>, TOutput>): TOutput;
21
+ join(settings?: JoinSettings): string;
22
+ collapse(): ICollection<Collapse<TInput>>;
23
+ flatMap<TOutput>(map: Map<TInput, ICollection<TInput>, Iterable<TOutput>>, throwOnNumberLimit?: boolean): ICollection<TOutput>;
24
+ update<TFilterOutput extends TInput, TMapOutput>(filter: Filter<TInput, ICollection<TInput>, TFilterOutput>, map: Map<TFilterOutput, ICollection<TInput>, TMapOutput>, throwOnNumberLimit?: boolean): ICollection<UpdatedItem<TInput, TFilterOutput, TMapOutput>>;
25
+ page(settings: PageSettings): ICollection<TInput>;
26
+ sum(throwOnNumberLimit?: boolean): EnsureType<TInput, number>;
27
+ average(throwOnNumberLimit?: boolean): EnsureType<TInput, number>;
28
+ median(throwOnNumberLimit?: boolean): EnsureType<TInput, number>;
29
+ min(): EnsureType<TInput, number>;
30
+ max(): EnsureType<TInput, number>;
31
+ percentage(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): number;
32
+ some<TOutput extends TInput>(filter: Filter<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit?: boolean): boolean;
33
+ every<TOutput extends TInput>(filter: Filter<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit?: boolean): boolean;
34
+ take(limit: number, throwOnNumberLimit?: boolean): ICollection<TInput>;
35
+ takeUntil(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): ICollection<TInput>;
36
+ takeWhile(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): ICollection<TInput>;
37
+ skip(offset: number, throwOnNumberLimit?: boolean): ICollection<TInput>;
38
+ skipUntil(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): ICollection<TInput>;
39
+ skipWhile<TOutput extends TInput>(filter: Filter<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit?: boolean): ICollection<TInput>;
40
+ when<TExtended = TInput>(condition: boolean, callback: Modifier<ICollection<TInput>, ICollection<TExtended>>): ICollection<TInput | TExtended>;
41
+ whenEmpty<TExtended = TInput>(callback: Modifier<ICollection<TInput>, ICollection<TExtended>>): ICollection<TInput | TExtended>;
42
+ whenNot<TExtended = TInput>(condition: boolean, callback: Modifier<ICollection<TInput>, ICollection<TExtended>>): ICollection<TInput | TExtended>;
43
+ whenNotEmpty<TExtended = TInput>(callback: Modifier<ICollection<TInput>, ICollection<TExtended>>): ICollection<TInput | TExtended>;
44
+ pipe<TOutput = TInput>(callback: Transform<ICollection<TInput>, TOutput>): TOutput;
45
+ tap(callback: Tap<ICollection<TInput>>): ICollection<TInput>;
46
+ chunk(chunkSize: number): ICollection<ICollection<TInput>>;
47
+ chunkWhile(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): ICollection<ICollection<TInput>>;
48
+ split(chunkAmount: number, throwOnNumberLimit?: boolean): ICollection<ICollection<TInput>>;
49
+ partition(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): ICollection<ICollection<TInput>>;
50
+ sliding(settings: SlidingSettings): ICollection<ICollection<TInput>>;
51
+ groupBy<TOutput = TInput>(settings?: GroupBySettings<TInput, ICollection<TInput>, TOutput>): ICollection<RecordItem<TOutput, ICollection<TInput>>>;
52
+ countBy<TOutput = TInput>(settings?: GroupBySettings<TInput, ICollection<TInput>, TOutput>): ICollection<RecordItem<TOutput, number>>;
53
+ unique<TOutput>(settings?: GroupBySettings<TInput, ICollection<TInput>, TOutput>): ICollection<TInput>;
54
+ difference<TOutput = TInput>(iterable: Iterable<TInput>, map?: Map<TInput, ICollection<TInput>, TOutput>): ICollection<TInput>;
55
+ repeat(amount: number): ICollection<TInput>;
56
+ padStart<TExtended = TInput>(maxLength: number, fillItems: Iterable<TExtended>): ICollection<TInput | TExtended>;
57
+ padEnd<TExtended = TInput>(maxLength: number, fillItems: Iterable<TExtended>): ICollection<TInput | TExtended>;
58
+ slice(settings?: SliceSettings): ICollection<TInput>;
59
+ prepend<TExtended = TInput>(iterable: Iterable<TInput | TExtended>): ICollection<TInput | TExtended>;
60
+ append<TExtended = TInput>(iterable: Iterable<TInput | TExtended>): ICollection<TInput | TExtended>;
61
+ insertBefore<TExtended = TInput>(filter: Filter<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>, throwOnNumberLimit?: boolean): ICollection<TInput | TExtended>;
62
+ insertAfter<TExtended = TInput>(filter: Filter<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>, throwOnNumberLimit?: boolean): ICollection<TInput | TExtended>;
63
+ crossJoin<TExtended = TInput>(...iterables: Array<Iterable<TExtended>>): ICollection<ICollection<TInput | TExtended>>;
64
+ zip<TExtended>(iterable: Iterable<TExtended>): ICollection<RecordItem<TInput, TExtended>>;
65
+ sort(compare?: Comparator<TInput>): ICollection<TInput>;
66
+ reverse(settings?: ReverseSettings): ICollection<TInput>;
67
+ shuffle(): ICollection<TInput>;
68
+ first<TOutput extends TInput>(settings?: FindSettings<TInput, ICollection<TInput>, TOutput>): TOutput | null;
69
+ firstOr<TOutput extends TInput, TExtended = TInput>(settings: FindOrSettings<TInput, ICollection<TInput>, TOutput, TExtended>): TOutput | TExtended;
70
+ firstOrFail<TOutput extends TInput>(settings?: FindSettings<TInput, ICollection<TInput>, TOutput>): TOutput;
71
+ last<TOutput extends TInput>(settings?: FindSettings<TInput, ICollection<TInput>, TOutput>): TOutput | null;
72
+ lastOr<TOutput extends TInput, TExtended = TInput>(settings: FindOrSettings<TInput, ICollection<TInput>, TOutput, TExtended>): TOutput | TExtended;
73
+ lastOrFail<TOutput extends TInput>(settings?: FindSettings<TInput, ICollection<TInput>, TOutput>): TOutput;
74
+ before(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): TInput | null;
75
+ beforeOr<TExtended = TInput>(defaultValue: Lazyable<TExtended>, filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): TInput | TExtended;
76
+ beforeOrFail(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): TInput;
77
+ after(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): TInput | null;
78
+ afterOr<TExtended = TInput>(defaultValue: Lazyable<TExtended>, filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): TInput | TExtended;
79
+ afterOrFail(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): TInput;
80
+ sole<TOutput extends TInput>(filter: Filter<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit?: boolean): TOutput;
81
+ nth(step: number): ICollection<TInput>;
82
+ count(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): number;
83
+ size(throwOnNumberLimit?: boolean): number;
84
+ empty(): boolean;
85
+ notEmpty(): boolean;
86
+ search(filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): number;
87
+ forEach(callback: ForEach<TInput, ICollection<TInput>>, throwOnNumberLimit?: boolean): void;
88
+ toArray(): TInput[];
89
+ }
@@ -0,0 +1,32 @@
1
+ export * from "../../../collection/iterable-collection/iterable-helpers/chunk-iterable";
2
+ export * from "../../../collection/iterable-collection/iterable-helpers/chunk-whilte-iterable";
3
+ export * from "../../../collection/iterable-collection/iterable-helpers/collapse-iterable";
4
+ export * from "../../../collection/iterable-collection/iterable-helpers/count-by-iterable";
5
+ export * from "../../../collection/iterable-collection/iterable-helpers/cross-join-iterable";
6
+ export * from "../../../collection/iterable-collection/iterable-helpers/entries-iterable";
7
+ export * from "../../../collection/iterable-collection/iterable-helpers/filter-iterable";
8
+ export * from "../../../collection/iterable-collection/iterable-helpers/flat-map-iterable";
9
+ export * from "../../../collection/iterable-collection/iterable-helpers/group-by-iterable";
10
+ export * from "../../../collection/iterable-collection/iterable-helpers/insert-after-iterable";
11
+ export * from "../../../collection/iterable-collection/iterable-helpers/insert-before-iterable";
12
+ export * from "../../../collection/iterable-collection/iterable-helpers/map-iterable";
13
+ export * from "../../../collection/iterable-collection/iterable-helpers/merge-iterable";
14
+ export * from "../../../collection/iterable-collection/iterable-helpers/pad-end-iterable";
15
+ export * from "../../../collection/iterable-collection/iterable-helpers/pad-start-iterable";
16
+ export * from "../../../collection/iterable-collection/iterable-helpers/partion-iterable";
17
+ export * from "../../../collection/iterable-collection/iterable-helpers/repeat-iterable";
18
+ export * from "../../../collection/iterable-collection/iterable-helpers/reverse-iterable";
19
+ export * from "../../../collection/iterable-collection/iterable-helpers/shuffle-iterable";
20
+ export * from "../../../collection/iterable-collection/iterable-helpers/skip-iterable";
21
+ export * from "../../../collection/iterable-collection/iterable-helpers/skip-until-iterable";
22
+ export * from "../../../collection/iterable-collection/iterable-helpers/slice-iterable";
23
+ export * from "../../../collection/iterable-collection/iterable-helpers/sliding-iterable";
24
+ export * from "../../../collection/iterable-collection/iterable-helpers/sort-iterable";
25
+ export * from "../../../collection/iterable-collection/iterable-helpers/split-iterable";
26
+ export * from "../../../collection/iterable-collection/iterable-helpers/take-iterable";
27
+ export * from "../../../collection/iterable-collection/iterable-helpers/take-until-iterable";
28
+ export * from "../../../collection/iterable-collection/iterable-helpers/tap-iterable";
29
+ export * from "../../../collection/iterable-collection/iterable-helpers/unique-iterable";
30
+ export * from "../../../collection/iterable-collection/iterable-helpers/update-iterable";
31
+ export * from "../../../collection/iterable-collection/iterable-helpers/when-iterable";
32
+ export * from "../../../collection/iterable-collection/iterable-helpers/zip-iterable";
@@ -0,0 +1,8 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class ChunkIterable<TInput> implements Iterable<ICollection<TInput>> {
3
+ private collection;
4
+ private chunkSize;
5
+ private readonly makeCollection;
6
+ constructor(collection: ICollection<TInput>, chunkSize: number, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
7
+ [Symbol.iterator](): Iterator<ICollection<TInput>>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class ChunkWhileIterable<TInput> implements Iterable<ICollection<TInput>> {
3
+ private collection;
4
+ private filter;
5
+ private throwOnNumberLimit;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
8
+ [Symbol.iterator](): Iterator<ICollection<TInput>>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import { type Collapse, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class CollapseIterable<TInput> implements Iterable<Collapse<TInput>> {
3
+ private collection;
4
+ constructor(collection: ICollection<TInput>);
5
+ [Symbol.iterator](): Iterator<Collapse<TInput>>;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection, type Map, type RecordItem } from "../../../contracts/collection/_module";
2
+ export declare class CountByIterable<TInput, TOutput = TInput> implements Iterable<RecordItem<TOutput, number>> {
3
+ private collection;
4
+ private callback;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, callback: Map<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<RecordItem<TOutput, number>>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class CrossJoinIterable<TInput, TExtended = TInput> implements Iterable<ICollection<TInput | TExtended>> {
3
+ private collection;
4
+ private iterables;
5
+ private makeCollection;
6
+ constructor(collection: ICollection<TInput>, iterables: Array<Iterable<TExtended>>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
7
+ [Symbol.iterator](): Iterator<ICollection<TInput | TExtended>>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { type RecordItem } from "../../../contracts/collection/_shared";
2
+ export declare class EntriesIterable<TInput> implements Iterable<RecordItem<number, TInput>> {
3
+ private iterable;
4
+ private throwOnNumberLimit;
5
+ constructor(iterable: Iterable<TInput>, throwOnNumberLimit: boolean);
6
+ [Symbol.iterator](): Iterator<RecordItem<number, TInput>>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class FilterIterable<TInput, TOutput extends TInput> implements Iterable<TOutput> {
3
+ private collection;
4
+ private filter;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TOutput>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection, type Map } from "../../../contracts/collection/_module";
2
+ export declare class FlatMapIterable<TInput, TOutput> implements Iterable<TOutput> {
3
+ private collection;
4
+ private map;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, map: Map<TInput, ICollection<TInput>, Iterable<TOutput>>, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TOutput>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection, type Map, type RecordItem } from "../../../contracts/collection/_module";
2
+ export declare class GroupByIterable<TInput, TOutput = TInput> implements Iterable<RecordItem<TOutput, ICollection<TInput>>> {
3
+ private collection;
4
+ private callback;
5
+ private throwOnNumberLimit;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, callback: Map<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
8
+ [Symbol.iterator](): Iterator<RecordItem<TOutput, ICollection<TInput>>>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class InsertAfterIterable<TInput, TExtended> implements Iterable<TInput | TExtended> {
3
+ private collection;
4
+ private filter;
5
+ private iterable;
6
+ private throwOnNumberLimit;
7
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>, throwOnNumberLimit: boolean);
8
+ [Symbol.iterator](): Iterator<TInput | TExtended>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class InsertBeforeIterable<TInput, TExtended> implements Iterable<TInput | TExtended> {
3
+ private collection;
4
+ private filter;
5
+ private iterable;
6
+ private throwOnNumberLimit;
7
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>, throwOnNumberLimit: boolean);
8
+ [Symbol.iterator](): Iterator<TInput | TExtended>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection, type Map } from "../../../contracts/collection/_module";
2
+ export declare class MapIterable<TInput, TOutput> implements Iterable<TOutput> {
3
+ private collection;
4
+ private map;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, map: Map<TInput, ICollection<TInput>, TOutput>, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TOutput>;
8
+ }
@@ -0,0 +1,6 @@
1
+ export declare class MergeIterable<TInput, TExtended> implements Iterable<TInput | TExtended> {
2
+ private iterableA;
3
+ private iterableB;
4
+ constructor(iterableA: Iterable<TInput>, iterableB: Iterable<TExtended>);
5
+ [Symbol.iterator](): Iterator<TInput | TExtended>;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class PadEndIterable<TInput, TExtended> implements Iterable<TInput | TExtended> {
3
+ private collection;
4
+ private maxLength;
5
+ private fillItems;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, maxLength: number, fillItems: Iterable<TExtended>, makeCollection: <TInput>(iterable: Iterable<TInput | TExtended>) => ICollection<TInput | TExtended>);
8
+ [Symbol.iterator](): Iterator<TInput | TExtended>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class PadStartIterable<TInput, TExtended> implements Iterable<TInput | TExtended> {
3
+ private collection;
4
+ private maxLength;
5
+ private fillItems;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, maxLength: number, fillItems: Iterable<TExtended>, makeCollection: <TInput>(iterable: Iterable<TInput | TExtended>) => ICollection<TInput | TExtended>);
8
+ [Symbol.iterator](): Iterator<TInput | TExtended>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class PartionIterable<TInput> implements Iterable<ICollection<TInput>> {
3
+ private collection;
4
+ private filter;
5
+ private throwOnNumberLimit;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
8
+ [Symbol.iterator](): Iterator<ICollection<TInput>>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class RepeatIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private amount;
5
+ private makeCollection;
6
+ constructor(collection: ICollection<TInput>, amount: number, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
7
+ [Symbol.iterator](): Iterator<TInput>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class ReverseIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private chunkSize;
5
+ private throwOnNumberLimit;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, chunkSize: number, throwOnNumberLimit: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
8
+ [Symbol.iterator](): Iterator<TInput>;
9
+ }
@@ -0,0 +1,5 @@
1
+ export declare class ShuffleIterable<TInput> implements Iterable<TInput> {
2
+ private iterable;
3
+ constructor(iterable: Iterable<TInput>);
4
+ [Symbol.iterator](): Iterator<TInput>;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class SkipIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private offset;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, offset: number, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TInput>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class SkipUntilIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private filter;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TInput>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class SliceIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private start;
5
+ private end;
6
+ private throwOnNumberLimit;
7
+ constructor(collection: ICollection<TInput>, start: number | undefined, end: number | undefined, throwOnNumberLimit: boolean);
8
+ [Symbol.iterator](): Iterator<TInput>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class SlidingIteralbe<TInput> implements Iterable<ICollection<TInput>> {
3
+ private collection;
4
+ private chunkSize;
5
+ private step;
6
+ private throwOnNumberLimit;
7
+ constructor(collection: ICollection<TInput>, chunkSize: number, step: number, throwOnNumberLimit: boolean);
8
+ [Symbol.iterator](): Iterator<ICollection<TInput>>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { type Comparator } from "../../../contracts/collection/_module";
2
+ export declare class SortIterable<TInput> implements Iterable<TInput> {
3
+ private iterable;
4
+ private compare?;
5
+ constructor(iterable: Iterable<TInput>, compare?: Comparator<TInput> | undefined);
6
+ [Symbol.iterator](): Iterator<TInput>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class SplitIterable<TInput> implements Iterable<ICollection<TInput>> {
3
+ private collection;
4
+ private chunkAmount;
5
+ private throwOnNumberLimit;
6
+ private makeCollection;
7
+ constructor(collection: ICollection<TInput>, chunkAmount: number, throwOnNumberLimit: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
8
+ [Symbol.iterator](): Iterator<ICollection<TInput>>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class TakeIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private limit;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, limit: number, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TInput>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { type Filter, type ICollection } from "../../../contracts/collection/_module";
2
+ export declare class TakeUntilIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private filter;
5
+ private throwOnNumberLimit;
6
+ constructor(collection: ICollection<TInput>, filter: Filter<TInput, ICollection<TInput>>, throwOnNumberLimit: boolean);
7
+ [Symbol.iterator](): Iterator<TInput>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { type ICollection, type Tap } from "../../../contracts/collection/_module";
2
+ export declare class TapIterable<TInput> implements Iterable<TInput> {
3
+ private collection;
4
+ private callback;
5
+ constructor(collection: ICollection<TInput>, callback: Tap<ICollection<TInput>>);
6
+ [Symbol.iterator](): Iterator<TInput>;
7
+ }