@daiso-tech/core 0.1.2 → 0.1.3

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 (536) hide show
  1. package/README.md +29 -0
  2. package/dist/cjs/{types.js.map → _shared/types.js.map} +1 -1
  3. package/dist/cjs/collection/_shared.js.map +1 -1
  4. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/_module.js +35 -35
  5. package/dist/cjs/collection/async-iterable-collection/_shared/_module.js.map +1 -0
  6. package/dist/cjs/collection/async-iterable-collection/_shared/async-abort-iterable.js.map +1 -0
  7. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
  8. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-whilte-iterable.js +4 -4
  9. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js.map +1 -0
  10. package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
  11. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-count-by-iterable.js +4 -4
  12. package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
  13. package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
  14. package/dist/cjs/collection/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -0
  15. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-entries-iterable.js +5 -4
  16. package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
  17. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-filter-iterable.js +4 -4
  18. package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
  19. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-flat-map-iterable.js +7 -7
  20. package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
  21. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-group-by-iterable.js +4 -4
  22. package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
  23. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-after-iterable.js +4 -4
  24. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
  25. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-before-iterable.js +4 -4
  26. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
  27. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-map-iterable.js +7 -7
  28. package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
  29. package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
  30. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
  31. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
  32. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-partion-iterable.js +4 -4
  33. package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
  34. package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
  35. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-reverse-iterable.js +5 -5
  36. package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
  37. package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
  38. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-iterable.js +5 -5
  39. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
  40. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-until-iterable.js +4 -4
  41. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
  42. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-slice-iterable.js +4 -4
  43. package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
  44. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sliding-iterable.js +5 -5
  45. package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
  46. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sort-iterable.js +4 -4
  47. package/dist/cjs/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
  48. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-split-iterable.js +5 -5
  49. package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
  50. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-iterable.js +5 -5
  51. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
  52. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-until-iterable.js +4 -4
  53. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
  54. package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
  55. package/dist/cjs/collection/async-iterable-collection/_shared/async-timeout-iterable.js.map +1 -0
  56. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-unique-iterable.js +3 -3
  57. package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
  58. package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-update-iterable.js +7 -7
  59. package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
  60. package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
  61. package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
  62. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +121 -100
  63. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  64. package/dist/cjs/collection/iterable-collection/_shared/_module.js +49 -0
  65. package/dist/cjs/collection/iterable-collection/_shared/_module.js.map +1 -0
  66. package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js.map +1 -0
  67. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/chunk-whilte-iterable.js +7 -7
  68. package/dist/cjs/collection/iterable-collection/_shared/chunk-whilte-iterable.js.map +1 -0
  69. package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js.map +1 -0
  70. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/count-by-iterable.js +7 -7
  71. package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js.map +1 -0
  72. package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
  73. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/entries-iterable.js +4 -4
  74. package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js.map +1 -0
  75. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/filter-iterable.js +7 -7
  76. package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js.map +1 -0
  77. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/flat-map-iterable.js +7 -7
  78. package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
  79. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/group-by-iterable.js +7 -7
  80. package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js.map +1 -0
  81. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/insert-after-iterable.js +8 -7
  82. package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
  83. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/insert-before-iterable.js +8 -7
  84. package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
  85. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/map-iterable.js +7 -7
  86. package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js.map +1 -0
  87. package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js.map +1 -0
  88. package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
  89. package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
  90. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/partion-iterable.js +7 -7
  91. package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js.map +1 -0
  92. package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js.map +1 -0
  93. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/reverse-iterable.js +5 -5
  94. package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js.map +1 -0
  95. package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
  96. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/skip-iterable.js +6 -5
  97. package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js.map +1 -0
  98. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/skip-until-iterable.js +7 -7
  99. package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
  100. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/slice-iterable.js +4 -4
  101. package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js.map +1 -0
  102. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/sliding-iterable.js +5 -5
  103. package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js.map +1 -0
  104. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/sort-iterable.js +4 -4
  105. package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js.map +1 -0
  106. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/split-iterable.js +5 -5
  107. package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js.map +1 -0
  108. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/take-iterable.js +6 -5
  109. package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js.map +1 -0
  110. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/take-until-iterable.js +7 -7
  111. package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js.map +1 -0
  112. package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js.map +1 -0
  113. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/unique-iterable.js +4 -4
  114. package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js.map +1 -0
  115. package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/update-iterable.js +10 -10
  116. package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js.map +1 -0
  117. package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js.map +1 -0
  118. package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js.map +1 -0
  119. package/dist/cjs/collection/iterable-collection/iterable-collection.js +137 -111
  120. package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +1 -1
  121. package/dist/cjs/collection/list-collection/list-collection.js +105 -73
  122. package/dist/cjs/collection/list-collection/list-collection.js.map +1 -1
  123. package/dist/cjs/contracts/_module.js +1 -1
  124. package/dist/cjs/contracts/_module.js.map +1 -1
  125. package/dist/cjs/contracts/collection/_module.js.map +1 -1
  126. package/dist/cjs/contracts/collection/_shared.js +1 -1
  127. package/dist/cjs/contracts/collection/_shared.js.map +1 -1
  128. package/dist/esm/{types.js.map → _shared/types.js.map} +1 -1
  129. package/dist/esm/collection/_shared.js.map +1 -1
  130. package/dist/esm/collection/async-iterable-collection/_shared/_module.js +36 -0
  131. package/dist/esm/collection/async-iterable-collection/_shared/_module.js.map +1 -0
  132. package/dist/esm/collection/async-iterable-collection/_shared/async-abort-iterable.js.map +1 -0
  133. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
  134. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-whilte-iterable.js +4 -4
  135. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js.map +1 -0
  136. package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
  137. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-count-by-iterable.js +4 -4
  138. package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
  139. package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
  140. package/dist/esm/collection/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -0
  141. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-entries-iterable.js +5 -4
  142. package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
  143. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-filter-iterable.js +4 -4
  144. package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
  145. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-flat-map-iterable.js +7 -7
  146. package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
  147. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-group-by-iterable.js +4 -4
  148. package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
  149. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-after-iterable.js +4 -4
  150. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
  151. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-before-iterable.js +4 -4
  152. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
  153. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-map-iterable.js +7 -7
  154. package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
  155. package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
  156. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
  157. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
  158. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-partion-iterable.js +4 -4
  159. package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
  160. package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
  161. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-reverse-iterable.js +5 -5
  162. package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
  163. package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
  164. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-iterable.js +5 -5
  165. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
  166. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-until-iterable.js +4 -4
  167. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
  168. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-slice-iterable.js +4 -4
  169. package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
  170. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sliding-iterable.js +5 -5
  171. package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
  172. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sort-iterable.js +4 -4
  173. package/dist/esm/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
  174. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-split-iterable.js +5 -5
  175. package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
  176. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-iterable.js +5 -5
  177. package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
  178. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-until-iterable.js +4 -4
  179. package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
  180. package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
  181. package/dist/esm/collection/async-iterable-collection/_shared/async-timeout-iterable.js.map +1 -0
  182. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-unique-iterable.js +3 -3
  183. package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
  184. package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-update-iterable.js +7 -7
  185. package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
  186. package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
  187. package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
  188. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +121 -100
  189. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  190. package/dist/esm/collection/iterable-collection/_shared/_module.js +33 -0
  191. package/dist/esm/collection/iterable-collection/_shared/_module.js.map +1 -0
  192. package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js.map +1 -0
  193. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/chunk-whilte-iterable.js +7 -7
  194. package/dist/esm/collection/iterable-collection/_shared/chunk-whilte-iterable.js.map +1 -0
  195. package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js.map +1 -0
  196. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/count-by-iterable.js +7 -7
  197. package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js.map +1 -0
  198. package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
  199. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/entries-iterable.js +4 -4
  200. package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js.map +1 -0
  201. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/filter-iterable.js +7 -7
  202. package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js.map +1 -0
  203. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/flat-map-iterable.js +7 -7
  204. package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
  205. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/group-by-iterable.js +7 -7
  206. package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js.map +1 -0
  207. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/insert-after-iterable.js +8 -7
  208. package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
  209. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/insert-before-iterable.js +8 -7
  210. package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
  211. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/map-iterable.js +7 -7
  212. package/dist/esm/collection/iterable-collection/_shared/map-iterable.js.map +1 -0
  213. package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js.map +1 -0
  214. package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
  215. package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
  216. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/partion-iterable.js +7 -7
  217. package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js.map +1 -0
  218. package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js.map +1 -0
  219. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/reverse-iterable.js +5 -5
  220. package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js.map +1 -0
  221. package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
  222. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/skip-iterable.js +6 -5
  223. package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js.map +1 -0
  224. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/skip-until-iterable.js +7 -7
  225. package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
  226. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/slice-iterable.js +4 -4
  227. package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js.map +1 -0
  228. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/sliding-iterable.js +5 -5
  229. package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js.map +1 -0
  230. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/sort-iterable.js +4 -4
  231. package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js.map +1 -0
  232. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/split-iterable.js +5 -5
  233. package/dist/esm/collection/iterable-collection/_shared/split-iterable.js.map +1 -0
  234. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/take-iterable.js +6 -5
  235. package/dist/esm/collection/iterable-collection/_shared/take-iterable.js.map +1 -0
  236. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/take-until-iterable.js +7 -7
  237. package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js.map +1 -0
  238. package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js.map +1 -0
  239. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/unique-iterable.js +4 -4
  240. package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js.map +1 -0
  241. package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/update-iterable.js +10 -10
  242. package/dist/esm/collection/iterable-collection/_shared/update-iterable.js.map +1 -0
  243. package/dist/esm/collection/iterable-collection/_shared/when-iterable.js.map +1 -0
  244. package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js.map +1 -0
  245. package/dist/esm/collection/iterable-collection/iterable-collection.js +137 -111
  246. package/dist/esm/collection/iterable-collection/iterable-collection.js.map +1 -1
  247. package/dist/esm/collection/list-collection/list-collection.js +105 -73
  248. package/dist/esm/collection/list-collection/list-collection.js.map +1 -1
  249. package/dist/esm/contracts/_module.js +1 -1
  250. package/dist/esm/contracts/_module.js.map +1 -1
  251. package/dist/esm/contracts/collection/_module.js.map +1 -1
  252. package/dist/esm/contracts/collection/_shared.js +1 -1
  253. package/dist/esm/contracts/collection/_shared.js.map +1 -1
  254. package/dist/types/collection/_shared.d.ts +9 -3
  255. package/dist/types/collection/async-iterable-collection/_shared/_module.d.ts +35 -0
  256. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-whilte-iterable.d.ts +3 -3
  257. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-count-by-iterable.d.ts +2 -2
  258. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-entries-iterable.d.ts +2 -2
  259. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-filter-iterable.d.ts +3 -3
  260. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-flat-map-iterable.d.ts +3 -3
  261. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-group-by-iterable.d.ts +2 -2
  262. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-after-iterable.d.ts +3 -3
  263. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-insert-before-iterable.d.ts +3 -3
  264. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-map-iterable.d.ts +3 -3
  265. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-partion-iterable.d.ts +3 -3
  266. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-reverse-iterable.d.ts +2 -2
  267. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-iterable.d.ts +2 -2
  268. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-skip-until-iterable.d.ts +3 -3
  269. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-slice-iterable.d.ts +2 -2
  270. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sliding-iterable.d.ts +2 -2
  271. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-sort-iterable.d.ts +2 -2
  272. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-split-iterable.d.ts +2 -2
  273. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-iterable.d.ts +2 -2
  274. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-take-until-iterable.d.ts +3 -3
  275. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-unique-iterable.d.ts +2 -2
  276. package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-update-iterable.d.ts +4 -4
  277. package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +53 -44
  278. package/dist/types/collection/iterable-collection/_shared/_module.d.ts +32 -0
  279. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/chunk-iterable.d.ts +3 -0
  280. package/dist/types/collection/iterable-collection/_shared/chunk-whilte-iterable.d.ts +12 -0
  281. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/collapse-iterable.d.ts +3 -0
  282. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/count-by-iterable.d.ts +6 -3
  283. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/cross-join-iterable.d.ts +3 -0
  284. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/entries-iterable.d.ts +5 -2
  285. package/dist/types/collection/iterable-collection/_shared/filter-iterable.d.ts +11 -0
  286. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/flat-map-iterable.d.ts +6 -3
  287. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/group-by-iterable.d.ts +6 -3
  288. package/dist/types/collection/iterable-collection/_shared/insert-after-iterable.d.ts +12 -0
  289. package/dist/types/collection/iterable-collection/_shared/insert-before-iterable.d.ts +12 -0
  290. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/map-iterable.d.ts +6 -3
  291. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/merge-iterable.d.ts +3 -0
  292. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/pad-end-iterable.d.ts +3 -0
  293. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/pad-start-iterable.d.ts +3 -0
  294. package/dist/types/collection/iterable-collection/_shared/partion-iterable.d.ts +12 -0
  295. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/repeat-iterable.d.ts +3 -0
  296. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/reverse-iterable.d.ts +5 -2
  297. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/shuffle-iterable.d.ts +3 -0
  298. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/skip-iterable.d.ts +5 -2
  299. package/dist/types/collection/iterable-collection/_shared/skip-until-iterable.d.ts +11 -0
  300. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/slice-iterable.d.ts +5 -2
  301. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/sliding-iterable.d.ts +5 -2
  302. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/sort-iterable.d.ts +5 -2
  303. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/split-iterable.d.ts +5 -2
  304. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/take-iterable.d.ts +5 -2
  305. package/dist/types/collection/iterable-collection/_shared/take-until-iterable.d.ts +11 -0
  306. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/tap-iterable.d.ts +3 -0
  307. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/unique-iterable.d.ts +5 -2
  308. package/dist/types/collection/iterable-collection/_shared/update-iterable.d.ts +12 -0
  309. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/when-iterable.d.ts +3 -0
  310. package/dist/types/collection/iterable-collection/{iterable-helpers → _shared}/zip-iterable.d.ts +3 -0
  311. package/dist/types/collection/iterable-collection/iterable-collection.d.ts +53 -44
  312. package/dist/types/collection/list-collection/list-collection.d.ts +52 -44
  313. package/dist/types/contracts/_module.d.ts +1 -1
  314. package/dist/types/contracts/collection/_module.d.ts +3 -0
  315. package/dist/types/contracts/collection/_shared.d.ts +123 -170
  316. package/dist/types/contracts/collection/async-collection.contract.d.ts +606 -211
  317. package/dist/types/contracts/collection/collection.contract.d.ts +546 -155
  318. package/package.json +5 -5
  319. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/_module.js.map +0 -1
  320. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js.map +0 -1
  321. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js.map +0 -1
  322. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js.map +0 -1
  323. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js.map +0 -1
  324. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js.map +0 -1
  325. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js.map +0 -1
  326. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +0 -1
  327. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js.map +0 -1
  328. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js.map +0 -1
  329. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js.map +0 -1
  330. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js.map +0 -1
  331. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js.map +0 -1
  332. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js.map +0 -1
  333. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js.map +0 -1
  334. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js.map +0 -1
  335. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js.map +0 -1
  336. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js.map +0 -1
  337. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js.map +0 -1
  338. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js.map +0 -1
  339. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js.map +0 -1
  340. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js.map +0 -1
  341. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js.map +0 -1
  342. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js.map +0 -1
  343. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js.map +0 -1
  344. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js.map +0 -1
  345. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js.map +0 -1
  346. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js.map +0 -1
  347. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js.map +0 -1
  348. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js.map +0 -1
  349. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js.map +0 -1
  350. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js.map +0 -1
  351. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js.map +0 -1
  352. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js.map +0 -1
  353. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js.map +0 -1
  354. package/dist/cjs/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js.map +0 -1
  355. package/dist/cjs/collection/iterable-collection/iterable-helpers/_module.js +0 -49
  356. package/dist/cjs/collection/iterable-collection/iterable-helpers/_module.js.map +0 -1
  357. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-iterable.js.map +0 -1
  358. package/dist/cjs/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js.map +0 -1
  359. package/dist/cjs/collection/iterable-collection/iterable-helpers/collapse-iterable.js.map +0 -1
  360. package/dist/cjs/collection/iterable-collection/iterable-helpers/count-by-iterable.js.map +0 -1
  361. package/dist/cjs/collection/iterable-collection/iterable-helpers/cross-join-iterable.js.map +0 -1
  362. package/dist/cjs/collection/iterable-collection/iterable-helpers/entries-iterable.js.map +0 -1
  363. package/dist/cjs/collection/iterable-collection/iterable-helpers/filter-iterable.js.map +0 -1
  364. package/dist/cjs/collection/iterable-collection/iterable-helpers/flat-map-iterable.js.map +0 -1
  365. package/dist/cjs/collection/iterable-collection/iterable-helpers/group-by-iterable.js.map +0 -1
  366. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-after-iterable.js.map +0 -1
  367. package/dist/cjs/collection/iterable-collection/iterable-helpers/insert-before-iterable.js.map +0 -1
  368. package/dist/cjs/collection/iterable-collection/iterable-helpers/map-iterable.js.map +0 -1
  369. package/dist/cjs/collection/iterable-collection/iterable-helpers/merge-iterable.js.map +0 -1
  370. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-end-iterable.js.map +0 -1
  371. package/dist/cjs/collection/iterable-collection/iterable-helpers/pad-start-iterable.js.map +0 -1
  372. package/dist/cjs/collection/iterable-collection/iterable-helpers/partion-iterable.js.map +0 -1
  373. package/dist/cjs/collection/iterable-collection/iterable-helpers/repeat-iterable.js.map +0 -1
  374. package/dist/cjs/collection/iterable-collection/iterable-helpers/reverse-iterable.js.map +0 -1
  375. package/dist/cjs/collection/iterable-collection/iterable-helpers/shuffle-iterable.js.map +0 -1
  376. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-iterable.js.map +0 -1
  377. package/dist/cjs/collection/iterable-collection/iterable-helpers/skip-until-iterable.js.map +0 -1
  378. package/dist/cjs/collection/iterable-collection/iterable-helpers/slice-iterable.js.map +0 -1
  379. package/dist/cjs/collection/iterable-collection/iterable-helpers/sliding-iterable.js.map +0 -1
  380. package/dist/cjs/collection/iterable-collection/iterable-helpers/sort-iterable.js.map +0 -1
  381. package/dist/cjs/collection/iterable-collection/iterable-helpers/split-iterable.js.map +0 -1
  382. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-iterable.js.map +0 -1
  383. package/dist/cjs/collection/iterable-collection/iterable-helpers/take-until-iterable.js.map +0 -1
  384. package/dist/cjs/collection/iterable-collection/iterable-helpers/tap-iterable.js.map +0 -1
  385. package/dist/cjs/collection/iterable-collection/iterable-helpers/unique-iterable.js.map +0 -1
  386. package/dist/cjs/collection/iterable-collection/iterable-helpers/update-iterable.js.map +0 -1
  387. package/dist/cjs/collection/iterable-collection/iterable-helpers/when-iterable.js.map +0 -1
  388. package/dist/cjs/collection/iterable-collection/iterable-helpers/zip-iterable.js.map +0 -1
  389. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/_module.js +0 -36
  390. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/_module.js.map +0 -1
  391. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-abort-iterable.js.map +0 -1
  392. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-iterable.js.map +0 -1
  393. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-chunk-whilte-iterable.js.map +0 -1
  394. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-collapse-iterable.js.map +0 -1
  395. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-count-by-iterable.js.map +0 -1
  396. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-cross-join-iterable.js.map +0 -1
  397. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-delay-iterable.js.map +0 -1
  398. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-entries-iterable.js.map +0 -1
  399. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-filter-iterable.js.map +0 -1
  400. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-flat-map-iterable.js.map +0 -1
  401. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-group-by-iterable.js.map +0 -1
  402. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-after-iterable.js.map +0 -1
  403. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-insert-before-iterable.js.map +0 -1
  404. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-map-iterable.js.map +0 -1
  405. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-merge-iterable.js.map +0 -1
  406. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-end-iterable.js.map +0 -1
  407. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-pad-start-iterable.js.map +0 -1
  408. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-partion-iterable.js.map +0 -1
  409. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-repeat-iterable.js.map +0 -1
  410. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-reverse-iterable.js.map +0 -1
  411. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-shuffle-iterable.js.map +0 -1
  412. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-iterable.js.map +0 -1
  413. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-skip-until-iterable.js.map +0 -1
  414. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-slice-iterable.js.map +0 -1
  415. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sliding-iterable.js.map +0 -1
  416. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-sort-iterable.js.map +0 -1
  417. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-split-iterable.js.map +0 -1
  418. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-iterable.js.map +0 -1
  419. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-take-until-iterable.js.map +0 -1
  420. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-tap-iterable.js.map +0 -1
  421. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-timeout-iterable.js.map +0 -1
  422. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-unique-iterable.js.map +0 -1
  423. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-update-iterable.js.map +0 -1
  424. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-when-iterable.js.map +0 -1
  425. package/dist/esm/collection/async-iterable-collection/async-iterable-helpers/async-zip-iterable.js.map +0 -1
  426. package/dist/esm/collection/iterable-collection/iterable-helpers/_module.js +0 -33
  427. package/dist/esm/collection/iterable-collection/iterable-helpers/_module.js.map +0 -1
  428. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-iterable.js.map +0 -1
  429. package/dist/esm/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.js.map +0 -1
  430. package/dist/esm/collection/iterable-collection/iterable-helpers/collapse-iterable.js.map +0 -1
  431. package/dist/esm/collection/iterable-collection/iterable-helpers/count-by-iterable.js.map +0 -1
  432. package/dist/esm/collection/iterable-collection/iterable-helpers/cross-join-iterable.js.map +0 -1
  433. package/dist/esm/collection/iterable-collection/iterable-helpers/entries-iterable.js.map +0 -1
  434. package/dist/esm/collection/iterable-collection/iterable-helpers/filter-iterable.js.map +0 -1
  435. package/dist/esm/collection/iterable-collection/iterable-helpers/flat-map-iterable.js.map +0 -1
  436. package/dist/esm/collection/iterable-collection/iterable-helpers/group-by-iterable.js.map +0 -1
  437. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-after-iterable.js.map +0 -1
  438. package/dist/esm/collection/iterable-collection/iterable-helpers/insert-before-iterable.js.map +0 -1
  439. package/dist/esm/collection/iterable-collection/iterable-helpers/map-iterable.js.map +0 -1
  440. package/dist/esm/collection/iterable-collection/iterable-helpers/merge-iterable.js.map +0 -1
  441. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-end-iterable.js.map +0 -1
  442. package/dist/esm/collection/iterable-collection/iterable-helpers/pad-start-iterable.js.map +0 -1
  443. package/dist/esm/collection/iterable-collection/iterable-helpers/partion-iterable.js.map +0 -1
  444. package/dist/esm/collection/iterable-collection/iterable-helpers/repeat-iterable.js.map +0 -1
  445. package/dist/esm/collection/iterable-collection/iterable-helpers/reverse-iterable.js.map +0 -1
  446. package/dist/esm/collection/iterable-collection/iterable-helpers/shuffle-iterable.js.map +0 -1
  447. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-iterable.js.map +0 -1
  448. package/dist/esm/collection/iterable-collection/iterable-helpers/skip-until-iterable.js.map +0 -1
  449. package/dist/esm/collection/iterable-collection/iterable-helpers/slice-iterable.js.map +0 -1
  450. package/dist/esm/collection/iterable-collection/iterable-helpers/sliding-iterable.js.map +0 -1
  451. package/dist/esm/collection/iterable-collection/iterable-helpers/sort-iterable.js.map +0 -1
  452. package/dist/esm/collection/iterable-collection/iterable-helpers/split-iterable.js.map +0 -1
  453. package/dist/esm/collection/iterable-collection/iterable-helpers/take-iterable.js.map +0 -1
  454. package/dist/esm/collection/iterable-collection/iterable-helpers/take-until-iterable.js.map +0 -1
  455. package/dist/esm/collection/iterable-collection/iterable-helpers/tap-iterable.js.map +0 -1
  456. package/dist/esm/collection/iterable-collection/iterable-helpers/unique-iterable.js.map +0 -1
  457. package/dist/esm/collection/iterable-collection/iterable-helpers/update-iterable.js.map +0 -1
  458. package/dist/esm/collection/iterable-collection/iterable-helpers/when-iterable.js.map +0 -1
  459. package/dist/esm/collection/iterable-collection/iterable-helpers/zip-iterable.js.map +0 -1
  460. package/dist/types/collection/async-iterable-collection/async-iterable-helpers/_module.d.ts +0 -35
  461. package/dist/types/collection/iterable-collection/iterable-helpers/_module.d.ts +0 -32
  462. package/dist/types/collection/iterable-collection/iterable-helpers/chunk-whilte-iterable.d.ts +0 -9
  463. package/dist/types/collection/iterable-collection/iterable-helpers/filter-iterable.d.ts +0 -8
  464. package/dist/types/collection/iterable-collection/iterable-helpers/insert-after-iterable.d.ts +0 -9
  465. package/dist/types/collection/iterable-collection/iterable-helpers/insert-before-iterable.d.ts +0 -9
  466. package/dist/types/collection/iterable-collection/iterable-helpers/partion-iterable.d.ts +0 -9
  467. package/dist/types/collection/iterable-collection/iterable-helpers/skip-until-iterable.d.ts +0 -8
  468. package/dist/types/collection/iterable-collection/iterable-helpers/take-until-iterable.d.ts +0 -8
  469. package/dist/types/collection/iterable-collection/iterable-helpers/update-iterable.d.ts +0 -9
  470. /package/dist/cjs/{types.js → _shared/types.js} +0 -0
  471. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-abort-iterable.js +0 -0
  472. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-iterable.js +0 -0
  473. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-collapse-iterable.js +0 -0
  474. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-cross-join-iterable.js +0 -0
  475. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-delay-iterable.js +0 -0
  476. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-merge-iterable.js +0 -0
  477. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-end-iterable.js +0 -0
  478. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-start-iterable.js +0 -0
  479. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-repeat-iterable.js +0 -0
  480. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-shuffle-iterable.js +0 -0
  481. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-tap-iterable.js +0 -0
  482. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-timeout-iterable.js +0 -0
  483. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-when-iterable.js +0 -0
  484. /package/dist/cjs/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-zip-iterable.js +0 -0
  485. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/chunk-iterable.js +0 -0
  486. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/collapse-iterable.js +0 -0
  487. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/cross-join-iterable.js +0 -0
  488. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/merge-iterable.js +0 -0
  489. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/pad-end-iterable.js +0 -0
  490. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/pad-start-iterable.js +0 -0
  491. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/repeat-iterable.js +0 -0
  492. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/shuffle-iterable.js +0 -0
  493. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/tap-iterable.js +0 -0
  494. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/when-iterable.js +0 -0
  495. /package/dist/cjs/collection/iterable-collection/{iterable-helpers → _shared}/zip-iterable.js +0 -0
  496. /package/dist/esm/{types.js → _shared/types.js} +0 -0
  497. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-abort-iterable.js +0 -0
  498. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-iterable.js +0 -0
  499. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-collapse-iterable.js +0 -0
  500. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-cross-join-iterable.js +0 -0
  501. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-delay-iterable.js +0 -0
  502. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-merge-iterable.js +0 -0
  503. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-end-iterable.js +0 -0
  504. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-start-iterable.js +0 -0
  505. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-repeat-iterable.js +0 -0
  506. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-shuffle-iterable.js +0 -0
  507. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-tap-iterable.js +0 -0
  508. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-timeout-iterable.js +0 -0
  509. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-when-iterable.js +0 -0
  510. /package/dist/esm/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-zip-iterable.js +0 -0
  511. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/chunk-iterable.js +0 -0
  512. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/collapse-iterable.js +0 -0
  513. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/cross-join-iterable.js +0 -0
  514. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/merge-iterable.js +0 -0
  515. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/pad-end-iterable.js +0 -0
  516. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/pad-start-iterable.js +0 -0
  517. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/repeat-iterable.js +0 -0
  518. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/shuffle-iterable.js +0 -0
  519. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/tap-iterable.js +0 -0
  520. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/when-iterable.js +0 -0
  521. /package/dist/esm/collection/iterable-collection/{iterable-helpers → _shared}/zip-iterable.js +0 -0
  522. /package/dist/types/{types.d.ts → _shared/types.d.ts} +0 -0
  523. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-abort-iterable.d.ts +0 -0
  524. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-chunk-iterable.d.ts +0 -0
  525. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-collapse-iterable.d.ts +0 -0
  526. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-cross-join-iterable.d.ts +0 -0
  527. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-delay-iterable.d.ts +0 -0
  528. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-merge-iterable.d.ts +0 -0
  529. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-end-iterable.d.ts +0 -0
  530. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-pad-start-iterable.d.ts +0 -0
  531. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-repeat-iterable.d.ts +0 -0
  532. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-shuffle-iterable.d.ts +0 -0
  533. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-tap-iterable.d.ts +0 -0
  534. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-timeout-iterable.d.ts +0 -0
  535. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-when-iterable.d.ts +0 -0
  536. /package/dist/types/collection/async-iterable-collection/{async-iterable-helpers → _shared}/async-zip-iterable.d.ts +0 -0
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../../../collection/iterable-collection/_shared/chunk-iterable"), exports);
18
+ __exportStar(require("../../../collection/iterable-collection/_shared/chunk-whilte-iterable"), exports);
19
+ __exportStar(require("../../../collection/iterable-collection/_shared/collapse-iterable"), exports);
20
+ __exportStar(require("../../../collection/iterable-collection/_shared/count-by-iterable"), exports);
21
+ __exportStar(require("../../../collection/iterable-collection/_shared/cross-join-iterable"), exports);
22
+ __exportStar(require("../../../collection/iterable-collection/_shared/entries-iterable"), exports);
23
+ __exportStar(require("../../../collection/iterable-collection/_shared/filter-iterable"), exports);
24
+ __exportStar(require("../../../collection/iterable-collection/_shared/flat-map-iterable"), exports);
25
+ __exportStar(require("../../../collection/iterable-collection/_shared/group-by-iterable"), exports);
26
+ __exportStar(require("../../../collection/iterable-collection/_shared/insert-after-iterable"), exports);
27
+ __exportStar(require("../../../collection/iterable-collection/_shared/insert-before-iterable"), exports);
28
+ __exportStar(require("../../../collection/iterable-collection/_shared/map-iterable"), exports);
29
+ __exportStar(require("../../../collection/iterable-collection/_shared/merge-iterable"), exports);
30
+ __exportStar(require("../../../collection/iterable-collection/_shared/pad-end-iterable"), exports);
31
+ __exportStar(require("../../../collection/iterable-collection/_shared/pad-start-iterable"), exports);
32
+ __exportStar(require("../../../collection/iterable-collection/_shared/partion-iterable"), exports);
33
+ __exportStar(require("../../../collection/iterable-collection/_shared/repeat-iterable"), exports);
34
+ __exportStar(require("../../../collection/iterable-collection/_shared/reverse-iterable"), exports);
35
+ __exportStar(require("../../../collection/iterable-collection/_shared/shuffle-iterable"), exports);
36
+ __exportStar(require("../../../collection/iterable-collection/_shared/skip-iterable"), exports);
37
+ __exportStar(require("../../../collection/iterable-collection/_shared/skip-until-iterable"), exports);
38
+ __exportStar(require("../../../collection/iterable-collection/_shared/slice-iterable"), exports);
39
+ __exportStar(require("../../../collection/iterable-collection/_shared/sliding-iterable"), exports);
40
+ __exportStar(require("../../../collection/iterable-collection/_shared/sort-iterable"), exports);
41
+ __exportStar(require("../../../collection/iterable-collection/_shared/split-iterable"), exports);
42
+ __exportStar(require("../../../collection/iterable-collection/_shared/take-iterable"), exports);
43
+ __exportStar(require("../../../collection/iterable-collection/_shared/take-until-iterable"), exports);
44
+ __exportStar(require("../../../collection/iterable-collection/_shared/tap-iterable"), exports);
45
+ __exportStar(require("../../../collection/iterable-collection/_shared/unique-iterable"), exports);
46
+ __exportStar(require("../../../collection/iterable-collection/_shared/update-iterable"), exports);
47
+ __exportStar(require("../../../collection/iterable-collection/_shared/when-iterable"), exports);
48
+ __exportStar(require("../../../collection/iterable-collection/_shared/zip-iterable"), exports);
49
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/_module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0FAAwE;AACxE,iGAA+E;AAC/E,6FAA2E;AAC3E,6FAA2E;AAC3E,+FAA6E;AAC7E,4FAA0E;AAC1E,2FAAyE;AACzE,6FAA2E;AAC3E,6FAA2E;AAC3E,iGAA+E;AAC/E,kGAAgF;AAChF,wFAAsE;AACtE,0FAAwE;AACxE,4FAA0E;AAC1E,8FAA4E;AAC5E,4FAA0E;AAC1E,2FAAyE;AACzE,4FAA0E;AAC1E,4FAA0E;AAC1E,yFAAuE;AACvE,+FAA6E;AAC7E,0FAAwE;AACxE,4FAA0E;AAC1E,yFAAuE;AACvE,0FAAwE;AACxE,yFAAuE;AACvE,+FAA6E;AAC7E,wFAAsE;AACtE,2FAAyE;AACzE,2FAAyE;AACzE,yFAAuE;AACvE,wFAAsE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/chunk-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,aAAa;IAEV;IACA;IACS;IAHrB,YACY,UAA+B,EAC/B,SAAiB,EACR,cAEO;QAJhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAAQ;QACR,mBAAc,GAAd,cAAc,CAEP;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,KAAK,GAAwB,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,EAC5D,gBAAgB,GAAG,CAAC,EACpB,gBAAgB,GAAG,IAAI,CAAC;YAC5B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACjC,gBAAgB,IAAI,IAAI,CAAC,SAAS,CAAC;gBACnC,MAAM,QAAQ,GAAG,gBAAgB,KAAK,CAAC,CAAC;gBACxC,IAAI,CAAC,gBAAgB,IAAI,QAAQ,EAAE,CAAC;oBAChC,MAAM,KAAK,CAAC;oBACZ,KAAK,GAAG,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;gBAC5C,CAAC;gBACD,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC7B,gBAAgB,EAAE,CAAC;gBACnB,gBAAgB,GAAG,KAAK,CAAC;YAC7B,CAAC;YACD,MAAM,OAAO,GAAG,gBAAgB,KAAK,CAAC,CAAC;YACvC,IAAI,OAAO,EAAE,CAAC;gBACV,MAAM,KAAK,CAAC;YAChB,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA1CD,sCA0CC"}
@@ -4,23 +4,23 @@ exports.ChunkWhileIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class ChunkWhileIterable {
6
6
  collection;
7
- filter;
8
- throwOnNumberLimit;
7
+ predicateFn;
8
+ throwOnIndexOverflow;
9
9
  makeCollection;
10
- constructor(collection, filter, throwOnNumberLimit, makeCollection) {
10
+ constructor(collection, predicateFn, throwOnIndexOverflow, makeCollection) {
11
11
  this.collection = collection;
12
- this.filter = filter;
13
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.predicateFn = predicateFn;
13
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
14
14
  this.makeCollection = makeCollection;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
18
18
  let collection = this.makeCollection([]);
19
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
19
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
20
20
  if (index === 0) {
21
21
  collection = collection.append([item]);
22
22
  }
23
- else if (this.filter(item, index, collection)) {
23
+ else if (this.predicateFn(item, index, collection)) {
24
24
  collection = collection.append([item]);
25
25
  }
26
26
  else {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-whilte-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/chunk-whilte-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,kBAAkB;IAIf;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,WAAmD,EACnD,oBAA6B,EAC7B,cAEgB;QALhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAwC;QACnD,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,UAAU,GAAwB,IAAI,CAAC,cAAc,CACrD,EAAE,CACL,CAAC;YACF,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;oBACd,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC3C,CAAC;qBAAM,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,EAAE,CAAC;oBACnD,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC3C,CAAC;qBAAM,CAAC;oBACJ,MAAM,UAAU,CAAC;oBACjB,UAAU,GAAG,IAAI,CAAC,cAAc,CAAS,CAAC,IAAI,CAAC,CAAC,CAAC;gBACrD,CAAC;YACL,CAAC;YACD,MAAM,UAAU,CAAC;QACrB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA3CD,gDA2CC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapse-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/collapse-iterable.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAClD,4DAKwC;AAKxC,MAAa,gBAAgB;IACL;IAApB,YAAoB,UAA+B;QAA/B,eAAU,GAAV,UAAU,CAAqB;IAAG,CAAC;IAEvD,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACjC,IAAI,IAAA,oBAAU,EAAS,IAAI,CAAC,EAAE,CAAC;oBAE3B,KAAK,CAAC,CAAC,IAAW,CAAC;gBACvB,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAwB,CAAC;gBACnC,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA1BD,4CA0BC"}
@@ -4,18 +4,18 @@ exports.CountByIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class CountByIterable {
6
6
  collection;
7
- callback;
8
- throwOnNumberLimit;
9
- constructor(collection, callback = (item) => item, throwOnNumberLimit) {
7
+ selectFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, selectFn = (item) => item, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.callback = callback;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.selectFn = selectFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  *[Symbol.iterator]() {
15
15
  try {
16
16
  const map = new Map();
17
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
18
- const key = this.callback(item, index, this.collection);
17
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
18
+ const key = this.selectFn(item, index, this.collection);
19
19
  if (!map.has(key)) {
20
20
  map.set(key, 0);
21
21
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"count-by-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/count-by-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAMwC;AAKxC,MAAa,eAAe;IAIZ;IACA;IAGA;IALZ,YACY,UAA+B,EAC/B,WAAsD,CAAC,IAAI,EAAE,EAAE,CAEnE,IAAW,EACP,oBAA6B;QAJ7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,aAAQ,GAAR,QAAQ,CAED;QACP,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAmB,CAAC;YACvC,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;gBACxD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;oBAChB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;gBACpB,CAAC;gBACD,MAAM,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBAC7B,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;oBACxB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC;gBAC9B,CAAC;YACL,CAAC;YACD,KAAK,CAAC,CAAC,GAAG,CAAC;QACf,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAxCD,0CAwCC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cross-join-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/cross-join-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,iBAAiB;IAId;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,SAAqC,EACrC,cAEgB;QAJhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAA4B;QACrC,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,KAAK,CAAC,CAAC,IAAI,CAAC,cAAc,CAAkC;gBACxD,IAAI,CAAC,UAAU;gBACf,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAyB,CAAC,QAAQ,EAAE,EAAE,CACvD,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAChC;aACJ,CAAC,CAAC,MAAM,CAA+C;gBACpD,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;oBACf,OAAO,CAAC;yBACH,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACP,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;wBACR,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBACzB,CAAC,CAAC,CACL;yBACA,MAAM,CAA+C;wBAClD,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;wBAC/B,YAAY,EAAE,IAAI,CAAC,cAAc,CAE/B,EAAE,CAAC;qBACR,CAAC,CAAC;gBACX,CAAC;gBACD,YAAY,EAAE,IAAI,CAAC,cAAc,CAE/B,CAAC,IAAI,CAAC,cAAc,CAAqB,EAAE,CAAC,CAAC,CAAC;aACnD,CAAC,CAAC;QACP,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAlDD,8CAkDC"}
@@ -4,16 +4,16 @@ exports.EntriesIterable = void 0;
4
4
  const _shared_1 = require("../../../contracts/collection/_shared");
5
5
  class EntriesIterable {
6
6
  iterable;
7
- throwOnNumberLimit;
8
- constructor(iterable, throwOnNumberLimit) {
7
+ throwOnIndexOverflow;
8
+ constructor(iterable, throwOnIndexOverflow) {
9
9
  this.iterable = iterable;
10
- this.throwOnNumberLimit = throwOnNumberLimit;
10
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
11
11
  }
12
12
  *[Symbol.iterator]() {
13
13
  try {
14
14
  let index = 0;
15
15
  for (const item of this.iterable) {
16
- if (this.throwOnNumberLimit &&
16
+ if (this.throwOnIndexOverflow &&
17
17
  index === Number.MAX_SAFE_INTEGER) {
18
18
  throw new _shared_1.IndexOverflowError("Index has overflowed");
19
19
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entries-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/entries-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,eAAe;IAIZ;IACA;IAFZ,YACY,QAA0B,EAC1B,oBAA6B;QAD7B,aAAQ,GAAR,QAAQ,CAAkB;QAC1B,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,KAAK,GAAG,CAAC,CAAC;YACd,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAC/B,IACI,IAAI,CAAC,oBAAoB;oBACzB,KAAK,KAAK,MAAM,CAAC,gBAAgB,EACnC,CAAC;oBACC,MAAM,IAAI,4BAAkB,CAAC,sBAAsB,CAAC,CAAC;gBACzD,CAAC;gBACD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;gBACpB,KAAK,EAAE,CAAC;YACZ,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAlCD,0CAkCC"}
@@ -4,17 +4,17 @@ exports.FilterIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class FilterIterable {
6
6
  collection;
7
- filter;
8
- throwOnNumberLimit;
9
- constructor(collection, filter, throwOnNumberLimit) {
7
+ predicateFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, predicateFn, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.filter = filter;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.predicateFn = predicateFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  *[Symbol.iterator]() {
15
15
  try {
16
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
- if (this.filter(item, index, this.collection)) {
16
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
17
+ if (this.predicateFn(item, index, this.collection)) {
18
18
  yield item;
19
19
  }
20
20
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/filter-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,cAAc;IAIX;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,WAA4D,EAC5D,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAiD;QAC5D,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;oBACjD,MAAM,IAAe,CAAC;gBAC1B,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA/BD,wCA+BC"}
@@ -4,17 +4,17 @@ exports.FlatMapIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class FlatMapIterable {
6
6
  collection;
7
- map;
8
- throwOnNumberLimit;
9
- constructor(collection, map, throwOnNumberLimit) {
7
+ mapFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, mapFn, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.map = map;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.mapFn = mapFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  *[Symbol.iterator]() {
15
15
  try {
16
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
- yield* this.map(item, index, this.collection);
16
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
17
+ yield* this.mapFn(item, index, this.collection);
18
18
  }
19
19
  }
20
20
  catch (error) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flat-map-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/flat-map-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,eAAe;IAEZ;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,KAA0D,EAC1D,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,UAAK,GAAL,KAAK,CAAqD;QAC1D,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACpD,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA3BD,0CA2BC"}
@@ -4,20 +4,20 @@ exports.GroupByIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class GroupByIterable {
6
6
  collection;
7
- callback;
8
- throwOnNumberLimit;
7
+ selectFn;
8
+ throwOnIndexOverflow;
9
9
  makeCollection;
10
- constructor(collection, callback = (item) => item, throwOnNumberLimit, makeCollection) {
10
+ constructor(collection, selectFn = (item) => item, throwOnIndexOverflow, makeCollection) {
11
11
  this.collection = collection;
12
- this.callback = callback;
13
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.selectFn = selectFn;
13
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
14
14
  this.makeCollection = makeCollection;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
18
18
  const map = new Map();
19
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
20
- const key = this.callback(item, index, this.collection);
19
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
20
+ const key = this.selectFn(item, index, this.collection);
21
21
  let collection = map.get(key);
22
22
  if (collection === undefined) {
23
23
  collection = this.makeCollection([]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-by-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/group-by-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAMwC;AAKxC,MAAa,eAAe;IAIZ;IACA;IAGA;IACA;IANZ,YACY,UAA+B,EAC/B,WAAsD,CAAC,IAAI,EAAE,EAAE,CAEnE,IAAW,EACP,oBAA6B,EAC7B,cAEgB;QAPhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,aAAQ,GAAR,QAAQ,CAED;QACP,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAgC,CAAC;YACpD,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;gBACxD,IAAI,UAAU,GAAoC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBAC/D,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;oBAC3B,UAAU,GAAG,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;oBAC7C,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;gBAC7B,CAAC;gBAED,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC5C,CAAC;YACD,KAAK,CAAC,CAAC,GAAG,CAAC;QACf,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA3CD,0CA2CC"}
@@ -4,21 +4,22 @@ exports.InsertAfterIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class InsertAfterIterable {
6
6
  collection;
7
- filter;
7
+ predicateFn;
8
8
  iterable;
9
- throwOnNumberLimit;
10
- constructor(collection, filter, iterable, throwOnNumberLimit) {
9
+ throwOnIndexOverflow;
10
+ constructor(collection, predicateFn, iterable, throwOnIndexOverflow) {
11
11
  this.collection = collection;
12
- this.filter = filter;
12
+ this.predicateFn = predicateFn;
13
13
  this.iterable = iterable;
14
- this.throwOnNumberLimit = throwOnNumberLimit;
14
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
18
18
  let hasMatched = false;
19
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
19
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
20
20
  yield item;
21
- if (!hasMatched && this.filter(item, index, this.collection)) {
21
+ if (!hasMatched &&
22
+ this.predicateFn(item, index, this.collection)) {
22
23
  yield* this.iterable;
23
24
  hasMatched = true;
24
25
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insert-after-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/insert-after-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,mBAAmB;IAIhB;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,WAAmD,EACnD,QAAsC,EACtC,oBAA6B;QAH7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAwC;QACnD,aAAQ,GAAR,QAAQ,CAA8B;QACtC,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,KAAK,CAAC;YACvB,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,MAAM,IAAI,CAAC;gBACX,IACI,CAAC,UAAU;oBACX,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAChD,CAAC;oBACC,KAAK,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACrB,UAAU,GAAG,IAAI,CAAC;gBACtB,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAtCD,kDAsCC"}
@@ -4,20 +4,21 @@ exports.InsertBeforeIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class InsertBeforeIterable {
6
6
  collection;
7
- filter;
7
+ predicateFn;
8
8
  iterable;
9
- throwOnNumberLimit;
10
- constructor(collection, filter, iterable, throwOnNumberLimit) {
9
+ throwOnIndexOverflow;
10
+ constructor(collection, predicateFn, iterable, throwOnIndexOverflow) {
11
11
  this.collection = collection;
12
- this.filter = filter;
12
+ this.predicateFn = predicateFn;
13
13
  this.iterable = iterable;
14
- this.throwOnNumberLimit = throwOnNumberLimit;
14
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
18
18
  let hasMatched = false;
19
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
20
- if (!hasMatched && this.filter(item, index, this.collection)) {
19
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
20
+ if (!hasMatched &&
21
+ this.predicateFn(item, index, this.collection)) {
21
22
  yield* this.iterable;
22
23
  hasMatched = true;
23
24
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insert-before-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/insert-before-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,oBAAoB;IAIjB;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,WAAmD,EACnD,QAAsC,EACtC,oBAA6B;QAH7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAwC;QACnD,aAAQ,GAAR,QAAQ,CAA8B;QACtC,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,KAAK,CAAC;YACvB,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IACI,CAAC,UAAU;oBACX,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAChD,CAAC;oBACC,KAAK,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;oBACrB,UAAU,GAAG,IAAI,CAAC;gBACtB,CAAC;gBACD,MAAM,IAAI,CAAC;YACf,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAtCD,oDAsCC"}
@@ -4,17 +4,17 @@ exports.MapIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class MapIterable {
6
6
  collection;
7
- map;
8
- throwOnNumberLimit;
9
- constructor(collection, map, throwOnNumberLimit) {
7
+ mapFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, mapFn, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.map = map;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.mapFn = mapFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  *[Symbol.iterator]() {
15
15
  try {
16
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
- yield this.map(item, index, this.collection);
16
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
17
+ yield this.mapFn(item, index, this.collection);
18
18
  }
19
19
  }
20
20
  catch (error) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/map-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,WAAW;IAER;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,KAAgD,EAChD,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,UAAK,GAAL,KAAK,CAA2C;QAChD,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACnD,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA3BD,kCA2BC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/merge-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAGwC;AAKxC,MAAa,aAAa;IAIV;IACA;IAFZ,YACY,SAA2B,EAC3B,SAA8B;QAD9B,cAAS,GAAT,SAAS,CAAkB;QAC3B,cAAS,GAAT,SAAS,CAAqB;IACvC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;YACtB,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAzBD,sCAyBC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pad-end-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/pad-end-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,cAAc;IAIX;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,SAAiB,EACjB,SAA8B,EAC9B,cAE4B;QAL5B,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAqB;QAC9B,mBAAc,GAAd,cAAc,CAEc;IACrC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAS,IAAI,CAAC,SAAS,CAAC,CAAC;YACpE,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,EAAE,CAAC;YACxC,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;YACpC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;YAC9D,IAAI,gBAAgB,GAChB,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;YACpC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;gBAC1C,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YAChE,CAAC;YACD,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;YAC/D,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CACtC,eAAe,CAAC,KAAK,CAAC;gBAClB,KAAK,EAAE,CAAC;gBACR,GAAG,EAAE,UAAU;aAClB,CAAC,CACL,CAAC;YACF,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC7D,KAAK,CAAC,CAAC,gBAAgB,CAAC;QAC5B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA7CD,wCA6CC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pad-start-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/pad-start-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,gBAAgB;IAIb;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,SAAiB,EACjB,SAA8B,EAC9B,cAE4B;QAL5B,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAqB;QAC9B,mBAAc,GAAd,cAAc,CAEc;IACrC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAS,IAAI,CAAC,SAAS,CAAC,CAAC;YACpE,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,EAAE,CAAC;YACxC,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;YACpC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;YAC9D,IAAI,gBAAgB,GAChB,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;YACpC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;gBAC1C,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YAChE,CAAC;YACD,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;YAC/D,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CACtC,eAAe,CAAC,KAAK,CAAC;gBAClB,KAAK,EAAE,CAAC;gBACR,GAAG,EAAE,UAAU;aAClB,CAAC,CACL,CAAC;YACF,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC5D,KAAK,CAAC,CAAC,gBAAgB,CAAC;QAC5B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA7CD,4CA6CC"}
@@ -4,20 +4,20 @@ exports.PartionIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class PartionIterable {
6
6
  collection;
7
- filter;
8
- throwOnNumberLimit;
7
+ predicateFn;
8
+ throwOnIndexOverflow;
9
9
  makeCollection;
10
- constructor(collection, filter, throwOnNumberLimit, makeCollection) {
10
+ constructor(collection, predicateFn, throwOnIndexOverflow, makeCollection) {
11
11
  this.collection = collection;
12
- this.filter = filter;
13
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.predicateFn = predicateFn;
13
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
14
14
  this.makeCollection = makeCollection;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
18
18
  let chunkA = this.makeCollection([]), chunkB = this.makeCollection([]);
19
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
20
- if (this.filter(item, index, this.collection)) {
19
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
20
+ if (this.predicateFn(item, index, this.collection)) {
21
21
  chunkA = chunkA.append([item]);
22
22
  }
23
23
  else {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partion-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/partion-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,eAAe;IAEZ;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,WAAmD,EACnD,oBAA6B,EAC7B,cAEgB;QALhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAwC;QACnD,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,MAAM,GAAwB,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,EAC7D,MAAM,GAAwB,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;YAClE,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;oBACjD,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACnC,CAAC;qBAAM,CAAC;oBACJ,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACnC,CAAC;YACL,CAAC;YACD,MAAM,MAAM,CAAC;YACb,MAAM,MAAM,CAAC;QACjB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAtCD,0CAsCC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repeat-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/repeat-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,cAAc;IAEX;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,MAAc,EACd,cAEgB;QAJhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,WAAM,GAAN,MAAM,CAAQ;QACd,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,IAAI,CAAC,cAAc,CAAS,EAAE,CAAC,CAAC;YACjD,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;gBACnD,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACpD,CAAC;YACD,KAAK,CAAC,CAAC,UAAU,CAAC;QACtB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA7BD,wCA6BC"}
@@ -5,12 +5,12 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class ReverseIterable {
6
6
  collection;
7
7
  chunkSize;
8
- throwOnNumberLimit;
8
+ throwOnIndexOverflow;
9
9
  makeCollection;
10
- constructor(collection, chunkSize, throwOnNumberLimit, makeCollection) {
10
+ constructor(collection, chunkSize, throwOnIndexOverflow, makeCollection) {
11
11
  this.collection = collection;
12
12
  this.chunkSize = chunkSize;
13
- this.throwOnNumberLimit = throwOnNumberLimit;
13
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
14
14
  this.makeCollection = makeCollection;
15
15
  }
16
16
  *[Symbol.iterator]() {
@@ -18,11 +18,11 @@ class ReverseIterable {
18
18
  const collection = this.makeCollection([]);
19
19
  yield* this.collection
20
20
  .chunk(this.chunkSize)
21
- .map((item) => this.makeCollection([...item].reverse()), this.throwOnNumberLimit)
21
+ .map((item) => this.makeCollection([...item].reverse()), this.throwOnIndexOverflow)
22
22
  .reduce({
23
23
  reduceFn: (collection, item) => collection.prepend(item),
24
24
  initialValue: collection,
25
- throwOnNumberLimit: this.throwOnNumberLimit,
25
+ throwOnIndexOverflow: this.throwOnIndexOverflow,
26
26
  });
27
27
  }
28
28
  catch (error) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reverse-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/reverse-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,eAAe;IAEZ;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,SAAiB,EACjB,oBAA6B,EAC7B,cAEgB;QALhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAAQ;QACjB,yBAAoB,GAApB,oBAAoB,CAAS;QAC7B,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,UAAU,GAAwB,IAAI,CAAC,cAAc,CACvD,EAAE,CACL,CAAC;YACF,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU;iBACjB,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;iBACrB,GAAG,CACA,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAS,CAAC,GAAG,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,EAC1D,IAAI,CAAC,oBAAoB,CAC5B;iBACA,MAAM,CAAC;gBACJ,QAAQ,EAAE,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;gBACxD,YAAY,EAAE,UAAU;gBACxB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;aAClD,CAAC,CAAC;QACX,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAvCD,0CAuCC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shuffle-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/shuffle-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAGwC;AAKxC,MAAa,eAAe;IACJ;IAApB,YAAoB,QAA0B;QAA1B,aAAQ,GAAR,QAAQ,CAAkB;IAAG,CAAC;IAElD,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpC,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC3C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBAC9C,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;gBACzB,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;oBAC5B,QAAQ,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;gBAC9B,CAAC;gBACD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBACrB,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;gBACvB,CAAC;YACL,CAAC;YACD,KAAK,CAAC,CAAC,QAAQ,CAAC;QACpB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA9BD,0CA8BC"}
@@ -5,19 +5,20 @@ const _module_1 = require("../../../contracts/collection/_module");
5
5
  class SkipIterable {
6
6
  collection;
7
7
  offset;
8
- throwOnNumberLimit;
9
- constructor(collection, offset, throwOnNumberLimit) {
8
+ throwOnIndexOverflow;
9
+ constructor(collection, offset, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
11
  this.offset = offset;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  *[Symbol.iterator]() {
15
15
  try {
16
16
  if (this.offset < 0) {
17
17
  this.offset =
18
- this.collection.size(this.throwOnNumberLimit) + this.offset;
18
+ this.collection.size(this.throwOnIndexOverflow) +
19
+ this.offset;
19
20
  }
20
- yield* this.collection.skipWhile((_item, index) => index < this.offset, this.throwOnNumberLimit);
21
+ yield* this.collection.skipWhile((_item, index) => index < this.offset, this.throwOnIndexOverflow);
21
22
  }
22
23
  catch (error) {
23
24
  if (error instanceof _module_1.CollectionError ||
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skip-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/skip-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,YAAY;IAET;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,MAAc,EACd,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,WAAM,GAAN,MAAM,CAAQ;QACd,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAClB,IAAI,CAAC,MAAM;oBACP,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC;wBAC/C,IAAI,CAAC,MAAM,CAAC;YACpB,CAAC;YACD,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAC5B,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,EACrC,IAAI,CAAC,oBAAoB,CAC5B,CAAC;QACN,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA/BD,oCA+BC"}
@@ -4,19 +4,19 @@ exports.SkipUntilIterable = void 0;
4
4
  const _module_1 = require("../../../contracts/collection/_module");
5
5
  class SkipUntilIterable {
6
6
  collection;
7
- filter;
8
- throwOnNumberLimit;
9
- constructor(collection, filter, throwOnNumberLimit) {
7
+ predicateFn;
8
+ throwOnIndexOverflow;
9
+ constructor(collection, predicateFn, throwOnIndexOverflow) {
10
10
  this.collection = collection;
11
- this.filter = filter;
12
- this.throwOnNumberLimit = throwOnNumberLimit;
11
+ this.predicateFn = predicateFn;
12
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
13
13
  }
14
14
  *[Symbol.iterator]() {
15
15
  try {
16
16
  let hasMatched = false;
17
- for (const [index, item] of this.collection.entries(this.throwOnNumberLimit)) {
17
+ for (const [index, item] of this.collection.entries(this.throwOnIndexOverflow)) {
18
18
  if (!hasMatched) {
19
- hasMatched = this.filter(item, index, this.collection);
19
+ hasMatched = this.predicateFn(item, index, this.collection);
20
20
  }
21
21
  if (hasMatched) {
22
22
  yield item;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skip-until-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/skip-until-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAKwC;AAKxC,MAAa,iBAAiB;IAEd;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,WAAmD,EACnD,oBAA6B;QAF7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAwC;QACnD,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,UAAU,GAAG,KAAK,CAAC;YACvB,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAC/C,IAAI,CAAC,oBAAoB,CAC5B,EAAE,CAAC;gBACA,IAAI,CAAC,UAAU,EAAE,CAAC;oBACd,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;gBAChE,CAAC;gBACD,IAAI,UAAU,EAAE,CAAC;oBACb,MAAM,IAAI,CAAC;gBACf,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAjCD,8CAiCC"}
@@ -6,12 +6,12 @@ class SliceIterable {
6
6
  collection;
7
7
  start;
8
8
  end;
9
- throwOnNumberLimit;
10
- constructor(collection, start, end, throwOnNumberLimit) {
9
+ throwOnIndexOverflow;
10
+ constructor(collection, start, end, throwOnIndexOverflow) {
11
11
  this.collection = collection;
12
12
  this.start = start;
13
13
  this.end = end;
14
- this.throwOnNumberLimit = throwOnNumberLimit;
14
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
@@ -31,7 +31,7 @@ class SliceIterable {
31
31
  }
32
32
  yield* this.collection.filter((_item, index) => {
33
33
  return start <= index && index < end;
34
- }, this.throwOnNumberLimit);
34
+ }, this.throwOnIndexOverflow);
35
35
  }
36
36
  catch (error) {
37
37
  if (error instanceof _module_1.CollectionError ||
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slice-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/slice-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,aAAa;IAEV;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,KAAyB,EACzB,GAAuB,EACvB,oBAA6B;QAH7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,UAAK,GAAL,KAAK,CAAoB;QACzB,QAAG,GAAH,GAAG,CAAoB;QACvB,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;YACpC,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;YAC1B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACtB,KAAK,GAAG,CAAC,CAAC;YACd,CAAC;YACD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;gBACpB,GAAG,GAAG,IAAI,CAAC;YACf,CAAC;YACD,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;gBACZ,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;YACzB,CAAC;YACD,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;gBACV,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;YACrB,CAAC;YACD,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;gBAC3C,OAAO,KAAK,IAAI,KAAK,IAAI,KAAK,GAAG,GAAG,CAAC;YACzC,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;QAClC,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AAxCD,sCAwCC"}
@@ -6,26 +6,26 @@ class SlidingIteralbe {
6
6
  collection;
7
7
  chunkSize;
8
8
  step;
9
- throwOnNumberLimit;
10
- constructor(collection, chunkSize, step, throwOnNumberLimit) {
9
+ throwOnIndexOverflow;
10
+ constructor(collection, chunkSize, step, throwOnIndexOverflow) {
11
11
  this.collection = collection;
12
12
  this.chunkSize = chunkSize;
13
13
  this.step = step;
14
- this.throwOnNumberLimit = throwOnNumberLimit;
14
+ this.throwOnIndexOverflow = throwOnIndexOverflow;
15
15
  }
16
16
  *[Symbol.iterator]() {
17
17
  try {
18
18
  if (this.step <= 0) {
19
19
  return;
20
20
  }
21
- const size = this.collection.size(this.throwOnNumberLimit);
21
+ const size = this.collection.size(this.throwOnIndexOverflow);
22
22
  for (let index = 0; index < size; index += this.step) {
23
23
  const start = index;
24
24
  const end = index + this.chunkSize;
25
25
  yield this.collection.slice({
26
26
  start,
27
27
  end,
28
- throwOnNumberLimit: this.throwOnNumberLimit,
28
+ throwOnIndexOverflow: this.throwOnIndexOverflow,
29
29
  });
30
30
  if (end >= size) {
31
31
  break;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sliding-iterable.js","sourceRoot":"","sources":["../../../../../src/collection/iterable-collection/_shared/sliding-iterable.ts"],"names":[],"mappings":";;;AAAA,4DAIwC;AAKxC,MAAa,eAAe;IAEZ;IACA;IACA;IACA;IAJZ,YACY,UAA+B,EAC/B,SAAiB,EACjB,IAAY,EACZ,oBAA6B;QAH7B,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAAQ;QACjB,SAAI,GAAJ,IAAI,CAAQ;QACZ,yBAAoB,GAApB,oBAAoB,CAAS;IACtC,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,IAAI,CAAC;YACD,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC;gBACjB,OAAO;YACX,CAAC;YACD,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YAE7D,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACnD,MAAM,KAAK,GAAG,KAAK,CAAC;gBACpB,MAAM,GAAG,GAAG,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;gBAEnC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;oBACxB,KAAK;oBACL,GAAG;oBACH,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;iBAClD,CAAC,CAAC;gBAEH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;oBACd,MAAM;gBACV,CAAC;YACL,CAAC;QACL,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,IACI,KAAK,YAAY,yBAAe;gBAChC,KAAK,YAAY,SAAS,EAC5B,CAAC;gBACC,MAAM,KAAK,CAAC;YAChB,CAAC;YACD,MAAM,IAAI,mCAAyB,CAC/B,qBAAqB,MAAM,CAAC,KAAK,CAAC,WAAW,EAC7C,KAAK,CACR,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA1CD,0CA0CC"}