@nfdi4plants/arctrl 3.1.1 → 3.2.0

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 (889) hide show
  1. package/dist/ts/index.d.ts +3 -0
  2. package/dist/ts/index.d.ts.map +1 -1
  3. package/dist/ts/index.js +3 -0
  4. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +1296 -0
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +174 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +190 -0
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +479 -0
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/Boolean.js +23 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/Char.js +172 -0
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Choice.js +187 -0
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/CollectionUtil.js +148 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +843 -0
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/DateOffset.js +247 -0
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +279 -0
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +53 -0
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Collections.js +48 -0
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +148 -0
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +31 -0
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/Guid.js +140 -0
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +165 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +1282 -0
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +40 -0
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +1298 -0
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/MapUtil.js +126 -0
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +323 -0
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +225 -0
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Native.js +14 -0
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +63 -0
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/Option.js +81 -0
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +174 -0
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +47 -0
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/Reflection.js +471 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +137 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/Result.js +169 -0
  35. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +1398 -0
  36. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +110 -0
  37. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +1670 -0
  38. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +660 -0
  39. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +328 -0
  40. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +201 -0
  41. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +292 -0
  42. package/dist/ts/node_modules/@fable-org/fable-library-ts/TimeSpan.js +170 -0
  43. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +199 -0
  44. package/dist/ts/node_modules/@fable-org/{fable-library-js → fable-library-ts}/Unicode.13.0.0.js +0 -2
  45. package/dist/ts/node_modules/@fable-org/fable-library-ts/Uri.js +154 -0
  46. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +747 -0
  47. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +1052 -0
  48. package/dist/ts/ts/ARC.d.ts +122 -62
  49. package/dist/ts/ts/ARC.d.ts.map +1 -1
  50. package/dist/ts/ts/ARC.js +142 -86
  51. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +32 -0
  52. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -0
  53. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +95 -0
  54. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +12 -12
  55. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  56. package/dist/ts/ts/CWL/CWLProcessingUnit.js +7 -7
  57. package/dist/ts/ts/CWL/CWLTypes.d.ts +62 -19
  58. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  59. package/dist/ts/ts/CWL/CWLTypes.js +241 -60
  60. package/dist/ts/ts/CWL/Decode.d.ts +24 -25
  61. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  62. package/dist/ts/ts/CWL/Decode.js +454 -314
  63. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +4 -4
  64. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  65. package/dist/ts/ts/CWL/DynamicObjHelpers.js +10 -10
  66. package/dist/ts/ts/CWL/Encode.d.ts +26 -17
  67. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  68. package/dist/ts/ts/CWL/Encode.js +451 -411
  69. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +31 -7
  70. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  71. package/dist/ts/ts/CWL/ExpressionToolDescription.js +29 -8
  72. package/dist/ts/ts/CWL/HashHelpers.d.ts +4 -3
  73. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  74. package/dist/ts/ts/CWL/HashHelpers.js +9 -9
  75. package/dist/ts/ts/CWL/Inputs.d.ts +8 -8
  76. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  77. package/dist/ts/ts/CWL/Inputs.js +9 -13
  78. package/dist/ts/ts/CWL/OperationDescription.d.ts +7 -7
  79. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  80. package/dist/ts/ts/CWL/OperationDescription.js +5 -8
  81. package/dist/ts/ts/CWL/Outputs.d.ts +10 -10
  82. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  83. package/dist/ts/ts/CWL/Outputs.js +36 -17
  84. package/dist/ts/ts/CWL/ParameterReference.d.ts +13 -10
  85. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  86. package/dist/ts/ts/CWL/ParameterReference.js +29 -21
  87. package/dist/ts/ts/CWL/ParameterValue.d.ts +57 -0
  88. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -0
  89. package/dist/ts/ts/CWL/ParameterValue.js +321 -0
  90. package/dist/ts/ts/CWL/Requirements.d.ts +51 -23
  91. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  92. package/dist/ts/ts/CWL/Requirements.js +89 -81
  93. package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -9
  94. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  95. package/dist/ts/ts/CWL/ToolDescription.js +29 -8
  96. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +29 -8
  97. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  98. package/dist/ts/ts/CWL/WorkflowDescription.js +26 -8
  99. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -21
  100. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  101. package/dist/ts/ts/CWL/WorkflowSteps.js +70 -34
  102. package/dist/ts/ts/CWLRunResolver.d.ts +11 -11
  103. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  104. package/dist/ts/ts/CWLRunResolver.js +16 -16
  105. package/dist/ts/ts/Contract/ARC.d.ts +2 -2
  106. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  107. package/dist/ts/ts/Contract/ARC.js +1 -1
  108. package/dist/ts/ts/Contract/ArcAssay.d.ts +7 -6
  109. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  110. package/dist/ts/ts/Contract/ArcAssay.js +15 -10
  111. package/dist/ts/ts/Contract/ArcInvestigation.d.ts +5 -4
  112. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  113. package/dist/ts/ts/Contract/ArcInvestigation.js +12 -7
  114. package/dist/ts/ts/Contract/ArcRun.d.ts +11 -10
  115. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  116. package/dist/ts/ts/Contract/ArcRun.js +24 -21
  117. package/dist/ts/ts/Contract/ArcStudy.d.ts +8 -7
  118. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  119. package/dist/ts/ts/Contract/ArcStudy.js +15 -10
  120. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +9 -8
  121. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  122. package/dist/ts/ts/Contract/ArcWorkflow.js +20 -16
  123. package/dist/ts/ts/Contract/Contract.d.ts +38 -8
  124. package/dist/ts/ts/Contract/Contract.d.ts.map +1 -1
  125. package/dist/ts/ts/Contract/Contract.js +46 -7
  126. package/dist/ts/ts/Contract/Datamap.d.ts +5 -4
  127. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  128. package/dist/ts/ts/Contract/Datamap.js +45 -32
  129. package/dist/ts/ts/Contract/Git.d.ts +6 -5
  130. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  131. package/dist/ts/ts/Contract/Git.js +4 -4
  132. package/dist/ts/ts/Contract/License.d.ts +4 -3
  133. package/dist/ts/ts/Contract/License.d.ts.map +1 -1
  134. package/dist/ts/ts/Contract/License.js +5 -5
  135. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts +5 -4
  136. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  137. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +6 -7
  138. package/dist/ts/ts/ContractIO/ContractIO.d.ts +5 -4
  139. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  140. package/dist/ts/ts/ContractIO/ContractIO.js +45 -43
  141. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +13 -12
  142. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
  143. package/dist/ts/ts/ContractIO/FileSystemHelper.js +6 -6
  144. package/dist/ts/ts/Conversion/Assay.d.ts +5 -5
  145. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  146. package/dist/ts/ts/Conversion/Assay.js +35 -16
  147. package/dist/ts/ts/Conversion/Basic.d.ts +16 -13
  148. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  149. package/dist/ts/ts/Conversion/Basic.js +69 -38
  150. package/dist/ts/ts/Conversion/ColumnIndex.d.ts +3 -3
  151. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  152. package/dist/ts/ts/Conversion/ColumnIndex.js +8 -8
  153. package/dist/ts/ts/Conversion/Datamap.d.ts +4 -4
  154. package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -1
  155. package/dist/ts/ts/Conversion/Datamap.js +2 -2
  156. package/dist/ts/ts/Conversion/DateTime.d.ts +1 -1
  157. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  158. package/dist/ts/ts/Conversion/DateTime.js +7 -6
  159. package/dist/ts/ts/Conversion/Investigation.d.ts +5 -5
  160. package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
  161. package/dist/ts/ts/Conversion/Investigation.js +17 -10
  162. package/dist/ts/ts/Conversion/Person.d.ts +4 -4
  163. package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
  164. package/dist/ts/ts/Conversion/Person.js +39 -23
  165. package/dist/ts/ts/Conversion/Process.d.ts +14 -11
  166. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  167. package/dist/ts/ts/Conversion/Process.js +57 -46
  168. package/dist/ts/ts/Conversion/Run.d.ts +12 -17
  169. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  170. package/dist/ts/ts/Conversion/Run.js +450 -68
  171. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +4 -4
  172. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  173. package/dist/ts/ts/Conversion/ScholarlyArticle.js +25 -17
  174. package/dist/ts/ts/Conversion/Study.d.ts +5 -5
  175. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  176. package/dist/ts/ts/Conversion/Study.js +27 -13
  177. package/dist/ts/ts/Conversion/Table.d.ts +10 -11
  178. package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
  179. package/dist/ts/ts/Conversion/Table.js +17 -24
  180. package/dist/ts/ts/Conversion/Workflow.d.ts +17 -17
  181. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  182. package/dist/ts/ts/Conversion/Workflow.js +78 -40
  183. package/dist/ts/ts/Conversion.d.ts +10 -11
  184. package/dist/ts/ts/Conversion.d.ts.map +1 -1
  185. package/dist/ts/ts/Conversion.js +2 -2
  186. package/dist/ts/ts/Core/ArcTypes.d.ts +331 -76
  187. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/ArcTypes.js +567 -299
  189. package/dist/ts/ts/Core/Comment.d.ts +5 -5
  190. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  191. package/dist/ts/ts/Core/Comment.js +17 -10
  192. package/dist/ts/ts/Core/CommentList.d.ts +3 -3
  193. package/dist/ts/ts/Core/CommentList.d.ts.map +1 -1
  194. package/dist/ts/ts/Core/CommentList.js +8 -8
  195. package/dist/ts/ts/Core/Conversion.d.ts +25 -25
  196. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  197. package/dist/ts/ts/Core/Conversion.js +102 -102
  198. package/dist/ts/ts/Core/Data.d.ts +6 -6
  199. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  200. package/dist/ts/ts/Core/Data.js +11 -10
  201. package/dist/ts/ts/Core/DataContext.d.ts +10 -10
  202. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  203. package/dist/ts/ts/Core/DataContext.js +3 -3
  204. package/dist/ts/ts/Core/DataFile.d.ts +9 -6
  205. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  206. package/dist/ts/ts/Core/DataFile.js +20 -9
  207. package/dist/ts/ts/Core/Datamap.d.ts +17 -16
  208. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  209. package/dist/ts/ts/Core/Datamap.js +16 -14
  210. package/dist/ts/ts/Core/Helper/Collections.d.ts +4 -4
  211. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Helper/Collections.js +30 -37
  213. package/dist/ts/ts/Core/Helper/HashCodes.d.ts +15 -4
  214. package/dist/ts/ts/Core/Helper/HashCodes.d.ts.map +1 -1
  215. package/dist/ts/ts/Core/Helper/HashCodes.js +33 -14
  216. package/dist/ts/ts/Core/Helper/Identifier.d.ts +1 -1
  217. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  218. package/dist/ts/ts/Core/Helper/Identifier.js +10 -8
  219. package/dist/ts/ts/Core/Helper/ORCID.d.ts +1 -1
  220. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  221. package/dist/ts/ts/Core/Helper/ORCID.js +4 -3
  222. package/dist/ts/ts/Core/Helper/Regex.d.ts +7 -7
  223. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  224. package/dist/ts/ts/Core/Helper/Regex.js +20 -12
  225. package/dist/ts/ts/Core/Helper/SemVer.d.ts +5 -5
  226. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  227. package/dist/ts/ts/Core/Helper/SemVer.js +7 -7
  228. package/dist/ts/ts/Core/Helper/Url.d.ts +1 -1
  229. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  230. package/dist/ts/ts/Core/Helper/Url.js +8 -7
  231. package/dist/ts/ts/Core/IdentifierSetters.d.ts +2 -2
  232. package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
  233. package/dist/ts/ts/Core/OntologyAnnotation.d.ts +23 -5
  234. package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
  235. package/dist/ts/ts/Core/OntologyAnnotation.js +116 -45
  236. package/dist/ts/ts/Core/OntologySourceReference.d.ts +4 -4
  237. package/dist/ts/ts/Core/OntologySourceReference.d.ts.map +1 -1
  238. package/dist/ts/ts/Core/OntologySourceReference.js +4 -4
  239. package/dist/ts/ts/Core/Person.d.ts +19 -9
  240. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  241. package/dist/ts/ts/Core/Person.js +27 -11
  242. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts +11 -11
  243. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  244. package/dist/ts/ts/Core/Process/ColumnIndex.js +68 -29
  245. package/dist/ts/ts/Core/Process/Component.d.ts +16 -16
  246. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  247. package/dist/ts/ts/Core/Process/Component.js +38 -25
  248. package/dist/ts/ts/Core/Process/Factor.d.ts +53 -8
  249. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  250. package/dist/ts/ts/Core/Process/Factor.js +62 -11
  251. package/dist/ts/ts/Core/Process/FactorValue.d.ts +15 -15
  252. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  253. package/dist/ts/ts/Core/Process/FactorValue.js +39 -47
  254. package/dist/ts/ts/Core/Process/Material.d.ts +9 -9
  255. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  256. package/dist/ts/ts/Core/Process/Material.js +5 -5
  257. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts +7 -7
  258. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  259. package/dist/ts/ts/Core/Process/MaterialAttribute.js +17 -8
  260. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts +15 -15
  261. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  262. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +45 -48
  263. package/dist/ts/ts/Core/Process/MaterialType.d.ts +7 -5
  264. package/dist/ts/ts/Core/Process/MaterialType.d.ts.map +1 -1
  265. package/dist/ts/ts/Core/Process/MaterialType.js +14 -7
  266. package/dist/ts/ts/Core/Process/Process.d.ts +22 -22
  267. package/dist/ts/ts/Core/Process/Process.d.ts.map +1 -1
  268. package/dist/ts/ts/Core/Process/Process.js +42 -26
  269. package/dist/ts/ts/Core/Process/ProcessInput.d.ts +14 -14
  270. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  271. package/dist/ts/ts/Core/Process/ProcessInput.js +15 -10
  272. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts +14 -14
  273. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  274. package/dist/ts/ts/Core/Process/ProcessOutput.js +15 -10
  275. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts +30 -15
  276. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  277. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +56 -46
  278. package/dist/ts/ts/Core/Process/ProcessSequence.d.ts +16 -16
  279. package/dist/ts/ts/Core/Process/ProcessSequence.d.ts.map +1 -1
  280. package/dist/ts/ts/Core/Process/ProcessSequence.js +33 -26
  281. package/dist/ts/ts/Core/Process/Protocol.d.ts +9 -9
  282. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  283. package/dist/ts/ts/Core/Process/Protocol.js +21 -13
  284. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts +28 -7
  285. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  286. package/dist/ts/ts/Core/Process/ProtocolParameter.js +33 -8
  287. package/dist/ts/ts/Core/Process/Sample.d.ts +10 -10
  288. package/dist/ts/ts/Core/Process/Sample.d.ts.map +1 -1
  289. package/dist/ts/ts/Core/Process/Sample.js +5 -5
  290. package/dist/ts/ts/Core/Process/Source.d.ts +8 -8
  291. package/dist/ts/ts/Core/Process/Source.d.ts.map +1 -1
  292. package/dist/ts/ts/Core/Process/Source.js +5 -5
  293. package/dist/ts/ts/Core/Publication.d.ts +5 -5
  294. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  295. package/dist/ts/ts/Core/Publication.js +18 -11
  296. package/dist/ts/ts/Core/ScalarValue.d.ts +41 -0
  297. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -0
  298. package/dist/ts/ts/Core/{Value.js → ScalarValue.js} +56 -29
  299. package/dist/ts/ts/Core/Table/ArcTable.d.ts +134 -15
  300. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  301. package/dist/ts/ts/Core/Table/ArcTable.js +204 -68
  302. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +15 -10
  303. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  304. package/dist/ts/ts/Core/Table/ArcTableAux.js +75 -71
  305. package/dist/ts/ts/Core/Table/ArcTables.d.ts +12 -9
  306. package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
  307. package/dist/ts/ts/Core/Table/ArcTables.js +42 -38
  308. package/dist/ts/ts/Core/Table/CompositeCell.d.ts +46 -7
  309. package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
  310. package/dist/ts/ts/Core/Table/CompositeCell.js +52 -12
  311. package/dist/ts/ts/Core/Table/CompositeColumn.d.ts +20 -7
  312. package/dist/ts/ts/Core/Table/CompositeColumn.d.ts.map +1 -1
  313. package/dist/ts/ts/Core/Table/CompositeColumn.js +17 -4
  314. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts +116 -22
  315. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  316. package/dist/ts/ts/Core/Table/CompositeHeader.js +219 -65
  317. package/dist/ts/ts/Core/Template.d.ts +15 -9
  318. package/dist/ts/ts/Core/Template.d.ts.map +1 -1
  319. package/dist/ts/ts/Core/Template.js +19 -11
  320. package/dist/ts/ts/Core/Templates.d.ts +24 -5
  321. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  322. package/dist/ts/ts/Core/Templates.js +26 -8
  323. package/dist/ts/ts/Core/URI.d.ts.map +1 -1
  324. package/dist/ts/ts/CrossAsync.d.ts +6 -5
  325. package/dist/ts/ts/CrossAsync.d.ts.map +1 -1
  326. package/dist/ts/ts/CrossAsync.js +6 -6
  327. package/dist/ts/ts/FileSystem/Commit.d.ts +3 -3
  328. package/dist/ts/ts/FileSystem/Commit.d.ts.map +1 -1
  329. package/dist/ts/ts/FileSystem/Commit.js +2 -2
  330. package/dist/ts/ts/FileSystem/FileSystem.d.ts +9 -9
  331. package/dist/ts/ts/FileSystem/FileSystem.d.ts.map +1 -1
  332. package/dist/ts/ts/FileSystem/FileSystem.js +4 -4
  333. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +35 -16
  334. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  335. package/dist/ts/ts/FileSystem/FileSystemTree.js +36 -18
  336. package/dist/ts/ts/FileSystem/Path.d.ts +9 -8
  337. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  338. package/dist/ts/ts/FileSystem/Path.js +13 -13
  339. package/dist/ts/ts/Json/Assay.d.ts +9 -9
  340. package/dist/ts/ts/Json/Assay.d.ts.map +1 -1
  341. package/dist/ts/ts/Json/Assay.js +86 -50
  342. package/dist/ts/ts/Json/Comment.d.ts +4 -4
  343. package/dist/ts/ts/Json/Comment.d.ts.map +1 -1
  344. package/dist/ts/ts/Json/Comment.js +38 -17
  345. package/dist/ts/ts/Json/Data.d.ts +7 -7
  346. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  347. package/dist/ts/ts/Json/Data.js +48 -20
  348. package/dist/ts/ts/Json/DataFile.d.ts +2 -2
  349. package/dist/ts/ts/Json/DataFile.d.ts.map +1 -1
  350. package/dist/ts/ts/Json/DataFile.js +10 -9
  351. package/dist/ts/ts/Json/Datamap/DataContext.d.ts +2 -2
  352. package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
  353. package/dist/ts/ts/Json/Datamap/DataContext.js +14 -7
  354. package/dist/ts/ts/Json/Datamap/Datamap.d.ts +7 -7
  355. package/dist/ts/ts/Json/Datamap/Datamap.d.ts.map +1 -1
  356. package/dist/ts/ts/Json/Datamap/Datamap.js +4 -4
  357. package/dist/ts/ts/Json/Decode.d.ts +6 -6
  358. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  359. package/dist/ts/ts/Json/Decode.js +32 -32
  360. package/dist/ts/ts/Json/Encode.d.ts +6 -5
  361. package/dist/ts/ts/Json/Encode.d.ts.map +1 -1
  362. package/dist/ts/ts/Json/Encode.js +28 -26
  363. package/dist/ts/ts/Json/IDTable.d.ts +2 -2
  364. package/dist/ts/ts/Json/IDTable.d.ts.map +1 -1
  365. package/dist/ts/ts/Json/IDTable.js +2 -2
  366. package/dist/ts/ts/Json/Investigation.d.ts +9 -9
  367. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  368. package/dist/ts/ts/Json/Investigation.js +68 -33
  369. package/dist/ts/ts/Json/OntologyAnnotation.d.ts +6 -6
  370. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  371. package/dist/ts/ts/Json/OntologyAnnotation.js +60 -25
  372. package/dist/ts/ts/Json/OntologySourceReference.d.ts +4 -4
  373. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  374. package/dist/ts/ts/Json/OntologySourceReference.js +36 -15
  375. package/dist/ts/ts/Json/Person.d.ts +5 -5
  376. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  377. package/dist/ts/ts/Json/Person.js +57 -29
  378. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +5 -5
  379. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  380. package/dist/ts/ts/Json/Process/AssayMaterials.js +12 -5
  381. package/dist/ts/ts/Json/Process/Component.d.ts +5 -5
  382. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  383. package/dist/ts/ts/Json/Process/Component.js +25 -11
  384. package/dist/ts/ts/Json/Process/Factor.d.ts +4 -4
  385. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  386. package/dist/ts/ts/Json/Process/Factor.js +17 -9
  387. package/dist/ts/ts/Json/Process/FactorValue.d.ts +5 -5
  388. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  389. package/dist/ts/ts/Json/Process/FactorValue.js +14 -7
  390. package/dist/ts/ts/Json/Process/Material.d.ts +5 -5
  391. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  392. package/dist/ts/ts/Json/Process/Material.js +31 -31
  393. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +4 -4
  394. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  395. package/dist/ts/ts/Json/Process/MaterialAttribute.js +16 -8
  396. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +5 -5
  397. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  398. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +14 -7
  399. package/dist/ts/ts/Json/Process/MaterialType.d.ts +2 -2
  400. package/dist/ts/ts/Json/Process/MaterialType.d.ts.map +1 -1
  401. package/dist/ts/ts/Json/Process/MaterialType.js +9 -8
  402. package/dist/ts/ts/Json/Process/Process.d.ts +4 -4
  403. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  404. package/dist/ts/ts/Json/Process/Process.js +28 -14
  405. package/dist/ts/ts/Json/Process/ProcessInput.d.ts +4 -4
  406. package/dist/ts/ts/Json/Process/ProcessInput.d.ts.map +1 -1
  407. package/dist/ts/ts/Json/Process/ProcessInput.js +2 -2
  408. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +4 -4
  409. package/dist/ts/ts/Json/Process/ProcessOutput.d.ts.map +1 -1
  410. package/dist/ts/ts/Json/Process/ProcessOutput.js +2 -2
  411. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +5 -5
  412. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  413. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +16 -8
  414. package/dist/ts/ts/Json/Process/Protocol.d.ts +4 -4
  415. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  416. package/dist/ts/ts/Json/Process/Protocol.js +30 -16
  417. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -4
  418. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  419. package/dist/ts/ts/Json/Process/ProtocolParameter.js +16 -8
  420. package/dist/ts/ts/Json/Process/Sample.d.ts +7 -7
  421. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  422. package/dist/ts/ts/Json/Process/Sample.js +37 -60
  423. package/dist/ts/ts/Json/Process/Source.d.ts +5 -5
  424. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  425. package/dist/ts/ts/Json/Process/Source.js +34 -57
  426. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +5 -5
  427. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  428. package/dist/ts/ts/Json/Process/StudyMaterials.js +12 -5
  429. package/dist/ts/ts/Json/Process/Value.d.ts +6 -6
  430. package/dist/ts/ts/Json/Process/Value.d.ts.map +1 -1
  431. package/dist/ts/ts/Json/Process/Value.js +4 -4
  432. package/dist/ts/ts/Json/PropertyValue.d.ts +6 -6
  433. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  434. package/dist/ts/ts/Json/PropertyValue.js +31 -22
  435. package/dist/ts/ts/Json/Publication.d.ts +5 -5
  436. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  437. package/dist/ts/ts/Json/Publication.js +36 -15
  438. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +2 -2
  439. package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
  440. package/dist/ts/ts/Json/ROCrate/LDContext.js +17 -16
  441. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +2 -2
  442. package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts.map +1 -1
  443. package/dist/ts/ts/Json/ROCrate/LDGraph.js +21 -14
  444. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +2 -2
  445. package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
  446. package/dist/ts/ts/Json/ROCrate/LDNode.js +94 -29
  447. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +2 -2
  448. package/dist/ts/ts/Json/ROCrate/LDRef.d.ts.map +1 -1
  449. package/dist/ts/ts/Json/ROCrate/LDRef.js +4 -4
  450. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +2 -2
  451. package/dist/ts/ts/Json/ROCrate/LDValue.d.ts.map +1 -1
  452. package/dist/ts/ts/Json/ROCrate/LDValue.js +8 -7
  453. package/dist/ts/ts/Json/Run.d.ts +7 -7
  454. package/dist/ts/ts/Json/Run.d.ts.map +1 -1
  455. package/dist/ts/ts/Json/Run.js +28 -14
  456. package/dist/ts/ts/Json/StringTable.d.ts +7 -7
  457. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  458. package/dist/ts/ts/Json/StringTable.js +10 -10
  459. package/dist/ts/ts/Json/Study.d.ts +9 -9
  460. package/dist/ts/ts/Json/Study.d.ts.map +1 -1
  461. package/dist/ts/ts/Json/Study.js +79 -45
  462. package/dist/ts/ts/Json/Table/ArcTable.d.ts +10 -10
  463. package/dist/ts/ts/Json/Table/ArcTable.d.ts.map +1 -1
  464. package/dist/ts/ts/Json/Table/ArcTable.js +28 -28
  465. package/dist/ts/ts/Json/Table/CellTable.d.ts +9 -9
  466. package/dist/ts/ts/Json/Table/CellTable.d.ts.map +1 -1
  467. package/dist/ts/ts/Json/Table/CellTable.js +8 -8
  468. package/dist/ts/ts/Json/Table/CompositeCell.d.ts +6 -6
  469. package/dist/ts/ts/Json/Table/CompositeCell.d.ts.map +1 -1
  470. package/dist/ts/ts/Json/Table/CompositeCell.js +7 -7
  471. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +2 -2
  472. package/dist/ts/ts/Json/Table/CompositeHeader.d.ts.map +1 -1
  473. package/dist/ts/ts/Json/Table/CompositeHeader.js +7 -7
  474. package/dist/ts/ts/Json/Table/IOType.d.ts +2 -2
  475. package/dist/ts/ts/Json/Table/IOType.d.ts.map +1 -1
  476. package/dist/ts/ts/Json/Table/IOType.js +2 -2
  477. package/dist/ts/ts/Json/Table/OATable.d.ts +8 -8
  478. package/dist/ts/ts/Json/Table/OATable.d.ts.map +1 -1
  479. package/dist/ts/ts/Json/Table/OATable.js +8 -8
  480. package/dist/ts/ts/Json/Table/Templates.d.ts +9 -9
  481. package/dist/ts/ts/Json/Table/Templates.d.ts.map +1 -1
  482. package/dist/ts/ts/Json/Table/Templates.js +11 -11
  483. package/dist/ts/ts/Json/Workflow.d.ts +7 -7
  484. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
  485. package/dist/ts/ts/Json/Workflow.js +28 -14
  486. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +4 -4
  487. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -1
  488. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +3 -3
  489. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +4 -4
  490. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -1
  491. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +3 -3
  492. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +4 -4
  493. package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -1
  494. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +3 -3
  495. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +4 -4
  496. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -1
  497. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +3 -3
  498. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +4 -4
  499. package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -1
  500. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +3 -3
  501. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +4 -4
  502. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -1
  503. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
  504. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +4 -4
  505. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -1
  506. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
  507. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +4 -4
  508. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -1
  509. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +3 -3
  510. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +4 -4
  511. package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -1
  512. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +3 -3
  513. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +4 -4
  514. package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -1
  515. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +3 -3
  516. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +4 -4
  517. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -1
  518. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +3 -3
  519. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +4 -4
  520. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -1
  521. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +3 -3
  522. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +4 -4
  523. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -1
  524. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +3 -3
  525. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +4 -4
  526. package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -1
  527. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +3 -3
  528. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +4 -4
  529. package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -1
  530. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +3 -3
  531. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
  532. package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -1
  533. package/dist/ts/ts/Json/context/rocrate/property_value_context.js +1 -1
  534. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +4 -4
  535. package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -1
  536. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +3 -3
  537. package/dist/ts/ts/Json.d.ts +9 -9
  538. package/dist/ts/ts/Json.d.ts.map +1 -1
  539. package/dist/ts/ts/Json.js +2 -2
  540. package/dist/ts/ts/JsonIO/Assay.d.ts +6 -7
  541. package/dist/ts/ts/JsonIO/Assay.d.ts.map +1 -1
  542. package/dist/ts/ts/JsonIO/Assay.js +13 -12
  543. package/dist/ts/ts/JsonIO/Datamap.d.ts +3 -4
  544. package/dist/ts/ts/JsonIO/Datamap.d.ts.map +1 -1
  545. package/dist/ts/ts/JsonIO/Datamap.js +7 -6
  546. package/dist/ts/ts/JsonIO/Investigation.d.ts +5 -6
  547. package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
  548. package/dist/ts/ts/JsonIO/Investigation.js +11 -10
  549. package/dist/ts/ts/JsonIO/LDObject.d.ts +5 -6
  550. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  551. package/dist/ts/ts/JsonIO/LDObject.js +14 -13
  552. package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts +5 -6
  553. package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -1
  554. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +11 -10
  555. package/dist/ts/ts/JsonIO/Person.d.ts +5 -6
  556. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -1
  557. package/dist/ts/ts/JsonIO/Person.js +11 -10
  558. package/dist/ts/ts/JsonIO/Run.d.ts +4 -5
  559. package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -1
  560. package/dist/ts/ts/JsonIO/Run.js +9 -8
  561. package/dist/ts/ts/JsonIO/Study.d.ts +7 -8
  562. package/dist/ts/ts/JsonIO/Study.d.ts.map +1 -1
  563. package/dist/ts/ts/JsonIO/Study.js +13 -12
  564. package/dist/ts/ts/JsonIO/Table/Compression.d.ts +6 -6
  565. package/dist/ts/ts/JsonIO/Table/Compression.d.ts.map +1 -1
  566. package/dist/ts/ts/JsonIO/Table/Compression.js +4 -4
  567. package/dist/ts/ts/JsonIO/Table/Templates.d.ts +10 -10
  568. package/dist/ts/ts/JsonIO/Table/Templates.d.ts.map +1 -1
  569. package/dist/ts/ts/JsonIO/Table/Templates.js +13 -12
  570. package/dist/ts/ts/JsonIO/Workflow.d.ts +4 -5
  571. package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -1
  572. package/dist/ts/ts/JsonIO/Workflow.js +9 -8
  573. package/dist/ts/ts/License.d.ts +12 -6
  574. package/dist/ts/ts/License.d.ts.map +1 -1
  575. package/dist/ts/ts/License.js +49 -14
  576. package/dist/ts/ts/ROCrate/Helper.d.ts.map +1 -1
  577. package/dist/ts/ts/ROCrate/Helper.js +1 -1
  578. package/dist/ts/ts/ROCrate/LDContext.d.ts +15 -4
  579. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  580. package/dist/ts/ts/ROCrate/LDContext.js +27 -16
  581. package/dist/ts/ts/ROCrate/LDObject.d.ts +19 -10
  582. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  583. package/dist/ts/ts/ROCrate/LDObject.js +76 -38
  584. package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts +4 -4
  585. package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts.map +1 -1
  586. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +11 -9
  587. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +5 -5
  588. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -1
  589. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +18 -16
  590. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +4 -4
  591. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -1
  592. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +22 -16
  593. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +4 -4
  594. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -1
  595. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +15 -13
  596. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +4 -4
  597. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  598. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +25 -23
  599. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts +4 -4
  600. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  601. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +48 -45
  602. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts +4 -4
  603. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts.map +1 -1
  604. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +11 -9
  605. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts +4 -4
  606. package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -1
  607. package/dist/ts/ts/ROCrate/LDTypes/File.js +15 -13
  608. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +4 -4
  609. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -1
  610. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +18 -16
  611. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts +4 -4
  612. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -1
  613. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +16 -14
  614. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts +4 -4
  615. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -1
  616. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +17 -16
  617. package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts +4 -4
  618. package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts.map +1 -1
  619. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +8 -6
  620. package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts +4 -4
  621. package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts.map +1 -1
  622. package/dist/ts/ts/ROCrate/LDTypes/Person.js +28 -25
  623. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts +4 -4
  624. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts.map +1 -1
  625. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +17 -16
  626. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +10 -6
  627. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  628. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +104 -61
  629. package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts +4 -4
  630. package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts.map +1 -1
  631. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +14 -13
  632. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts +4 -4
  633. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts.map +1 -1
  634. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +12 -10
  635. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +5 -5
  636. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -1
  637. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +11 -10
  638. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +3 -3
  639. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -1
  640. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +4 -3
  641. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +3 -3
  642. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -1
  643. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +4 -3
  644. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +1 -1
  645. package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
  646. package/dist/ts/ts/ROCrate/ROCrateContext.js +2 -2
  647. package/dist/ts/ts/ROCrateIO.d.ts +13 -8
  648. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  649. package/dist/ts/ts/ROCrateIO.js +16 -13
  650. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +13 -12
  651. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  652. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +15 -15
  653. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -8
  654. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  655. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +23 -12
  656. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +14 -14
  657. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  658. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +17 -18
  659. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +18 -17
  660. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -1
  661. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +37 -29
  662. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +6 -6
  663. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  664. package/dist/ts/ts/Spreadsheet/ArcAssay.js +16 -15
  665. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +14 -14
  666. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
  667. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +21 -21
  668. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +5 -5
  669. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  670. package/dist/ts/ts/Spreadsheet/ArcRun.js +9 -9
  671. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +7 -7
  672. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  673. package/dist/ts/ts/Spreadsheet/ArcStudy.js +13 -12
  674. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +5 -5
  675. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  676. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +9 -9
  677. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts +8 -8
  678. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  679. package/dist/ts/ts/Spreadsheet/CollectionAux.js +11 -11
  680. package/dist/ts/ts/Spreadsheet/Datamap.d.ts +2 -2
  681. package/dist/ts/ts/Spreadsheet/Datamap.d.ts.map +1 -1
  682. package/dist/ts/ts/Spreadsheet/Datamap.js +6 -5
  683. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts +4 -4
  684. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
  685. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +14 -10
  686. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts +7 -7
  687. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
  688. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +30 -21
  689. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts +7 -7
  690. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  691. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +10 -10
  692. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts +7 -7
  693. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  694. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +12 -9
  695. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +5 -5
  696. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  697. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +11 -7
  698. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts +7 -7
  699. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  700. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +8 -8
  701. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts +9 -8
  702. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -1
  703. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -6
  704. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +7 -7
  705. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -1
  706. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  707. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts +7 -7
  708. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  709. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -6
  710. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +7 -7
  711. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  712. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -7
  713. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +7 -7
  714. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
  715. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +7 -7
  716. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts +7 -7
  717. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  718. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +9 -8
  719. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts +7 -7
  720. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  721. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +11 -9
  722. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +7 -7
  723. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  724. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +13 -10
  725. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +10 -10
  726. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  727. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +55 -49
  728. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts +14 -14
  729. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  730. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -10
  731. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts +7 -7
  732. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  733. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +8 -8
  734. package/dist/ts/ts/Template.Web.d.ts +10 -6
  735. package/dist/ts/ts/Template.Web.d.ts.map +1 -1
  736. package/dist/ts/ts/Template.Web.js +4 -4
  737. package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts +6 -3
  738. package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -1
  739. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +10 -7
  740. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts +7 -4
  741. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -1
  742. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +29 -24
  743. package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts +1 -1
  744. package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts.map +1 -1
  745. package/dist/ts/ts/WebRequest/WebRequest.Node.js +4 -4
  746. package/dist/ts/ts/WebRequest/WebRequest.d.ts +1 -1
  747. package/dist/ts/ts/WebRequest/WebRequest.d.ts.map +1 -1
  748. package/dist/ts/ts/WebRequest/WebRequest.js +3 -3
  749. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +6 -6
  750. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  751. package/dist/ts/ts/WorkflowGraph/Adapters.js +13 -13
  752. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +7 -4
  753. package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -1
  754. package/dist/ts/ts/WorkflowGraph/BuildOptions.js +2 -2
  755. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -19
  756. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  757. package/dist/ts/ts/WorkflowGraph/Builder.js +82 -68
  758. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +52 -32
  759. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  760. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +90 -30
  761. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +5 -5
  762. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  763. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +4 -4
  764. package/dist/ts/ts/Xlsx.d.ts +5 -5
  765. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  766. package/dist/ts/ts/Xlsx.js +8 -6
  767. package/dist/ts/ts/Yaml/Encode.d.ts +2 -2
  768. package/dist/ts/ts/Yaml/Encode.d.ts.map +1 -1
  769. package/dist/ts/ts/Yaml/Encode.js +2 -2
  770. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +4 -5
  771. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  772. package/dist/ts/ts/Yaml/ValidationPackage.js +12 -12
  773. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +4 -5
  774. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  775. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +12 -12
  776. package/dist/ts/ts/Yaml.d.ts +3 -3
  777. package/dist/ts/ts/Yaml.d.ts.map +1 -1
  778. package/dist/ts/ts/Yaml.js +3 -8
  779. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/DynObj.fs.js +6 -6
  780. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +515 -0
  781. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/FableJS.fs.js +23 -8
  782. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/HashCodes.fs.js +11 -11
  783. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/PropertyHelper.fs.js +2 -2
  784. package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/ReflectionUtils.fs.js +16 -6
  785. package/dist/ts/ts/fable_modules/{Fable.Fetch.2.6.0 → Fable.Fetch.2.7.0}/Fetch.fs.js +11 -11
  786. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +8 -7
  787. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +3 -3
  788. package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Http.fs.js +21 -21
  789. package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Types.fs.js +52 -19
  790. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCell.fs.js +255 -126
  791. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCellsCollection.fs.js +135 -18
  792. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/CellBuilder.fs.js +9 -9
  793. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Expression.fs.js +1 -1
  794. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/RowBuilder.fs.js +5 -5
  795. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Types.fs.js +16 -16
  796. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsAddress.fs.js +41 -17
  797. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsColumn.fs.js +70 -7
  798. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsRow.fs.js +76 -8
  799. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorkbook.fs.js +77 -11
  800. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorksheet.fs.js +237 -32
  801. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/HashCodes.fs.js +9 -9
  802. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Cell.fs.js +10 -10
  803. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Column.fs.js +6 -6
  804. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Row.fs.js +6 -6
  805. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Table.fs.js +3 -3
  806. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Value.fs.js +11 -11
  807. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Workbook.fs.js +3 -3
  808. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Worksheet.fs.js +8 -8
  809. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRange.fs.js +6 -5
  810. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeAddress.fs.js +11 -5
  811. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeBase.fs.js +18 -13
  812. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeColumn.fs.js +9 -3
  813. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeRow.fs.js +1 -1
  814. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTable.fs.js +185 -26
  815. package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTableField.fs.js +48 -5
  816. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +65 -0
  817. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/FsExtensions.fs.js +1 -1
  818. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Json.fs.js +9 -9
  819. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Table.fs.js +15 -14
  820. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Workbook.fs.js +4 -4
  821. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Worksheet.fs.js +4 -4
  822. package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Xlsx.fs.js +2 -2
  823. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Decode.fs.js +265 -159
  824. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Encode.fs.js +94 -36
  825. package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Types.fs.js +16 -22
  826. package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Decode.fs.js +9 -7
  827. package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Encode.fs.js +2 -3
  828. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Decode.fs.js +98 -104
  829. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
  830. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
  831. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Persil.fs.js +48 -48
  832. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Preprocessing.fs.js +14 -14
  833. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Reader.fs.js +129 -112
  834. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +23 -0
  835. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +14 -14
  836. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Syntax.fs.js +77 -56
  837. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Writer.fs.js +34 -31
  838. package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/YAMLiciousTypes.fs.js +74 -32
  839. package/package.json +3 -2
  840. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +0 -1244
  841. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +0 -146
  842. package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +0 -186
  843. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +0 -286
  844. package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +0 -24
  845. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +0 -172
  846. package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +0 -187
  847. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +0 -185
  848. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +0 -750
  849. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +0 -271
  850. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +0 -214
  851. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +0 -49
  852. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +0 -30
  853. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +0 -72
  854. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +0 -10
  855. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +0 -145
  856. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +0 -137
  857. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +0 -1276
  858. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +0 -49
  859. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +0 -1399
  860. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +0 -130
  861. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +0 -330
  862. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +0 -236
  863. package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +0 -10
  864. package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +0 -73
  865. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +0 -99
  866. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +0 -48
  867. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +0 -465
  868. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +0 -133
  869. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +0 -168
  870. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +0 -1381
  871. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +0 -114
  872. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +0 -1792
  873. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +0 -557
  874. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +0 -320
  875. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +0 -165
  876. package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +0 -8
  877. package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +0 -180
  878. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +0 -211
  879. package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +0 -160
  880. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +0 -771
  881. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +0 -825
  882. package/dist/ts/ts/Core/Value.d.ts +0 -41
  883. package/dist/ts/ts/Core/Value.d.ts.map +0 -1
  884. package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js +0 -367
  885. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +0 -68
  886. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Regex.fs.js +0 -21
  887. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/StringBuffer.fs.js +0 -60
  888. /package/dist/ts/ts/fable_modules/{Fable.Exceljs.1.6.0 → Fable.Exceljs.2.0.0_565fc3e-alpha.1}/ExcelJs.fs.js +0 -0
  889. /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
@@ -0,0 +1,1296 @@
1
+ import { Exception, defaultOf, copyToArray, getEnumerator, disposeSafe } from './Util.js';
2
+ import { Helpers_allocateArrayFromCons } from './Native.js';
3
+ import { some, defaultArg, value } from './Option.js';
4
+ import { max as max$1, min as min$1 } from './Double.js';
5
+ import { SR_indexOutOfBounds, SR_Arg_ArgumentOutOfRangeException, SR_inputSequenceEmpty, SR_inputMustBeNonNegative, SR_notEnoughElements } from './Global.js';
6
+ import { Operators_IsNull } from './FSharp.Core.js';
7
+ import { nonSeeded } from './Random.js';
8
+
9
+ function indexNotFound() {
10
+ throw new Exception("An index satisfying the predicate was not found in the collection.");
11
+ }
12
+ function differentLengths() {
13
+ throw new Exception("Arrays had different lengths");
14
+ }
15
+ function append(array1, array2, cons) {
16
+ const len1 = array1.length | 0;
17
+ const len2 = array2.length | 0;
18
+ const newArray = Helpers_allocateArrayFromCons(cons, len1 + len2);
19
+ for (let i = 0; i <= len1 - 1; i++) {
20
+ setItem(newArray, i, item(i, array1));
21
+ }
22
+ for (let i_1 = 0; i_1 <= len2 - 1; i_1++) {
23
+ setItem(newArray, i_1 + len1, item(i_1, array2));
24
+ }
25
+ return newArray;
26
+ }
27
+ function filter(predicate, array) {
28
+ return array.filter(predicate);
29
+ }
30
+ function fill(target, targetIndex, count, value) {
31
+ const start = targetIndex | 0;
32
+ return target.fill(value, start, start + count);
33
+ }
34
+ function getSubArray(array, start, count) {
35
+ const start_1 = start | 0;
36
+ return array.slice(start_1, start_1 + count);
37
+ }
38
+ function last(array) {
39
+ if (array.length === 0) {
40
+ throw new Exception("The input array was empty (Parameter 'array')");
41
+ }
42
+ return item(array.length - 1, array);
43
+ }
44
+ function tryLast(array) {
45
+ if (array.length === 0) {
46
+ return void 0;
47
+ } else {
48
+ return some(item(array.length - 1, array));
49
+ }
50
+ }
51
+ function mapIndexed(f, source, cons) {
52
+ const len = source.length | 0;
53
+ const target = Helpers_allocateArrayFromCons(cons, len);
54
+ for (let i = 0; i <= len - 1; i++) {
55
+ setItem(target, i, f(i, item(i, source)));
56
+ }
57
+ return target;
58
+ }
59
+ function map(f, source, cons) {
60
+ const len = source.length | 0;
61
+ const target = Helpers_allocateArrayFromCons(cons, len);
62
+ for (let i = 0; i <= len - 1; i++) {
63
+ setItem(target, i, f(item(i, source)));
64
+ }
65
+ return target;
66
+ }
67
+ function mapIndexed2(f, source1, source2, cons) {
68
+ if (source1.length !== source2.length) {
69
+ throw new Exception("Arrays had different lengths");
70
+ }
71
+ const result = Helpers_allocateArrayFromCons(cons, source1.length);
72
+ for (let i = 0; i <= source1.length - 1; i++) {
73
+ setItem(result, i, f(i, item(i, source1), item(i, source2)));
74
+ }
75
+ return result;
76
+ }
77
+ function map2(f, source1, source2, cons) {
78
+ if (source1.length !== source2.length) {
79
+ throw new Exception("Arrays had different lengths");
80
+ }
81
+ const result = Helpers_allocateArrayFromCons(cons, source1.length);
82
+ for (let i = 0; i <= source1.length - 1; i++) {
83
+ setItem(result, i, f(item(i, source1), item(i, source2)));
84
+ }
85
+ return result;
86
+ }
87
+ function mapIndexed3(f, source1, source2, source3, cons) {
88
+ if (source1.length !== source2.length ? true : source2.length !== source3.length) {
89
+ throw new Exception("Arrays had different lengths");
90
+ }
91
+ const result = Helpers_allocateArrayFromCons(cons, source1.length);
92
+ for (let i = 0; i <= source1.length - 1; i++) {
93
+ setItem(result, i, f(i, item(i, source1), item(i, source2), item(i, source3)));
94
+ }
95
+ return result;
96
+ }
97
+ function map3(f, source1, source2, source3, cons) {
98
+ if (source1.length !== source2.length ? true : source2.length !== source3.length) {
99
+ throw new Exception("Arrays had different lengths");
100
+ }
101
+ const result = Helpers_allocateArrayFromCons(cons, source1.length);
102
+ for (let i = 0; i <= source1.length - 1; i++) {
103
+ setItem(result, i, f(item(i, source1), item(i, source2), item(i, source3)));
104
+ }
105
+ return result;
106
+ }
107
+ function mapFold(mapping, state, array, cons) {
108
+ const matchValue = array.length | 0;
109
+ if (matchValue === 0) {
110
+ return [[], state];
111
+ } else {
112
+ let acc = state;
113
+ const res = Helpers_allocateArrayFromCons(cons, matchValue);
114
+ for (let i = 0; i <= array.length - 1; i++) {
115
+ const patternInput = mapping(acc, item(i, array));
116
+ setItem(res, i, patternInput[0]);
117
+ acc = patternInput[1];
118
+ }
119
+ return [res, acc];
120
+ }
121
+ }
122
+ function mapFoldBack(mapping, array, state, cons) {
123
+ const matchValue = array.length | 0;
124
+ if (matchValue === 0) {
125
+ return [[], state];
126
+ } else {
127
+ let acc = state;
128
+ const res = Helpers_allocateArrayFromCons(cons, matchValue);
129
+ for (let i = array.length - 1; i >= 0; i--) {
130
+ const patternInput = mapping(item(i, array), acc);
131
+ setItem(res, i, patternInput[0]);
132
+ acc = patternInput[1];
133
+ }
134
+ return [res, acc];
135
+ }
136
+ }
137
+ function indexed(source) {
138
+ const len = source.length | 0;
139
+ const target = new Array(len);
140
+ for (let i = 0; i <= len - 1; i++) {
141
+ setItem(target, i, [i, item(i, source)]);
142
+ }
143
+ return target;
144
+ }
145
+ function truncate(count, array) {
146
+ const count_1 = max$1(0, count) | 0;
147
+ return array.slice(0, 0 + count_1);
148
+ }
149
+ function concat(arrays, cons) {
150
+ const arrays_1 = Array.isArray(arrays) ? arrays : Array.from(arrays);
151
+ const matchValue = arrays_1.length | 0;
152
+ switch (matchValue) {
153
+ case 0:
154
+ return Helpers_allocateArrayFromCons(cons, 0);
155
+ case 1:
156
+ return item(0, arrays_1);
157
+ default: {
158
+ let totalIdx = 0;
159
+ let totalLength = 0;
160
+ for (let idx = 0; idx <= arrays_1.length - 1; idx++) {
161
+ const arr_1 = item(idx, arrays_1);
162
+ totalLength = totalLength + arr_1.length | 0;
163
+ }
164
+ const result = Helpers_allocateArrayFromCons(cons, totalLength);
165
+ for (let idx_1 = 0; idx_1 <= arrays_1.length - 1; idx_1++) {
166
+ const arr_2 = item(idx_1, arrays_1);
167
+ for (let j = 0; j <= arr_2.length - 1; j++) {
168
+ setItem(result, totalIdx, item(j, arr_2));
169
+ totalIdx = totalIdx + 1 | 0;
170
+ }
171
+ }
172
+ return result;
173
+ }
174
+ }
175
+ }
176
+ function collect(mapping, array, cons) {
177
+ return concat(map(mapping, array, defaultOf()), cons);
178
+ }
179
+ function where(predicate, array) {
180
+ return array.filter(predicate);
181
+ }
182
+ function indexOf(array, item_1, start, count, eq) {
183
+ let option_1 = void 0;
184
+ const start_1 = defaultArg(start, 0) | 0;
185
+ const end$0027 = defaultArg((option_1 = count, option_1 != null ? start_1 + value(option_1) : void 0), array.length) | 0;
186
+ const loop = (i_mut) => {
187
+ loop:
188
+ while (true) {
189
+ const i = i_mut;
190
+ if (i >= end$0027) {
191
+ return -1;
192
+ } else if (eq.Equals(item_1, item(i, array))) {
193
+ return i | 0;
194
+ } else {
195
+ i_mut = i + 1;
196
+ continue loop;
197
+ }
198
+ break;
199
+ }
200
+ };
201
+ return loop(start_1) | 0;
202
+ }
203
+ function contains(value, array, eq) {
204
+ return indexOf(array, value, void 0, void 0, eq) >= 0;
205
+ }
206
+ function empty(cons) {
207
+ return Helpers_allocateArrayFromCons(cons, 0);
208
+ }
209
+ function singleton(value, cons) {
210
+ const ar = Helpers_allocateArrayFromCons(cons, 1);
211
+ setItem(ar, 0, value);
212
+ return ar;
213
+ }
214
+ function initialize(count, initializer, cons) {
215
+ if (count < 0) {
216
+ throw new Exception("The input must be non-negative (Parameter 'count')");
217
+ }
218
+ const result = Helpers_allocateArrayFromCons(cons, count);
219
+ for (let i = 0; i <= count - 1; i++) {
220
+ setItem(result, i, initializer(i));
221
+ }
222
+ return result;
223
+ }
224
+ function pairwise(array) {
225
+ if (array.length < 2) {
226
+ return [];
227
+ } else {
228
+ const count = array.length - 1 | 0;
229
+ const result = new Array(count);
230
+ for (let i = 0; i <= count - 1; i++) {
231
+ setItem(result, i, [item(i, array), item(i + 1, array)]);
232
+ }
233
+ return result;
234
+ }
235
+ }
236
+ function replicate(count, initial, cons) {
237
+ if (count < 0) {
238
+ throw new Exception("The input must be non-negative (Parameter 'count')");
239
+ }
240
+ const result = Helpers_allocateArrayFromCons(cons, count);
241
+ for (let i = 0; i <= result.length - 1; i++) {
242
+ setItem(result, i, initial);
243
+ }
244
+ return result;
245
+ }
246
+ function copy(array) {
247
+ return array.slice();
248
+ }
249
+ function copyTo(source, sourceIndex, target, targetIndex, count) {
250
+ copyToArray(source, sourceIndex, target, targetIndex, count);
251
+ }
252
+ function reverse(array) {
253
+ const array_2 = array.slice();
254
+ return array_2.reverse();
255
+ }
256
+ function scan(folder, state, array, cons) {
257
+ const res = Helpers_allocateArrayFromCons(cons, array.length + 1);
258
+ setItem(res, 0, state);
259
+ for (let i = 0; i <= array.length - 1; i++) {
260
+ setItem(res, i + 1, folder(item(i, res), item(i, array)));
261
+ }
262
+ return res;
263
+ }
264
+ function scanBack(folder, array, state, cons) {
265
+ const res = Helpers_allocateArrayFromCons(cons, array.length + 1);
266
+ setItem(res, array.length, state);
267
+ for (let i = array.length - 1; i >= 0; i--) {
268
+ setItem(res, i, folder(item(i, array), item(i + 1, res)));
269
+ }
270
+ return res;
271
+ }
272
+ function skip(count, array, cons) {
273
+ if (count > array.length) {
274
+ throw new Exception("count is greater than array length (Parameter 'count')");
275
+ }
276
+ if (count === array.length) {
277
+ return Helpers_allocateArrayFromCons(cons, 0);
278
+ } else {
279
+ const count_1 = (count < 0 ? 0 : count) | 0;
280
+ return array.slice(count_1);
281
+ }
282
+ }
283
+ function skipWhile(predicate, array, cons) {
284
+ let count = 0;
285
+ while (count < array.length && predicate(item(count, array))) {
286
+ count = count + 1 | 0;
287
+ }
288
+ if (count === array.length) {
289
+ return Helpers_allocateArrayFromCons(cons, 0);
290
+ } else {
291
+ const count_1 = count | 0;
292
+ return array.slice(count_1);
293
+ }
294
+ }
295
+ function take(count, array, cons) {
296
+ if (count < 0) {
297
+ throw new Exception("The input must be non-negative (Parameter 'count')");
298
+ }
299
+ if (count > array.length) {
300
+ throw new Exception("count is greater than array length (Parameter 'count')");
301
+ }
302
+ if (count === 0) {
303
+ return Helpers_allocateArrayFromCons(cons, 0);
304
+ } else {
305
+ return array.slice(0, 0 + count);
306
+ }
307
+ }
308
+ function takeWhile(predicate, array, cons) {
309
+ let count = 0;
310
+ while (count < array.length && predicate(item(count, array))) {
311
+ count = count + 1 | 0;
312
+ }
313
+ if (count === 0) {
314
+ return Helpers_allocateArrayFromCons(cons, 0);
315
+ } else {
316
+ const count_1 = count | 0;
317
+ return array.slice(0, 0 + count_1);
318
+ }
319
+ }
320
+ function findAll(predicate, array) {
321
+ return array.filter(predicate);
322
+ }
323
+ function getRange(array, start, count) {
324
+ const start_1 = start | 0;
325
+ return array.slice(start_1, start_1 + count);
326
+ }
327
+ function addInPlace(x, array) {
328
+ array.push(x);
329
+ }
330
+ function addRangeInPlace(range, array) {
331
+ const enumerator = getEnumerator(range);
332
+ try {
333
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
334
+ addInPlace(enumerator["System.Collections.Generic.IEnumerator`1.get_Current"](), array);
335
+ }
336
+ } finally {
337
+ disposeSafe(enumerator);
338
+ }
339
+ }
340
+ function insertRangeInPlace(index, range, array) {
341
+ let i = index;
342
+ const enumerator = getEnumerator(range);
343
+ try {
344
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
345
+ let index_1 = void 0;
346
+ const x = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
347
+ index_1 = i | 0, array.splice(index_1, 0, x);
348
+ i = i + 1 | 0;
349
+ }
350
+ } finally {
351
+ disposeSafe(enumerator);
352
+ }
353
+ }
354
+ function removeInPlace(item_1, array, eq) {
355
+ const i = indexOf(array, item_1, void 0, void 0, eq) | 0;
356
+ if (i > -1) {
357
+ array.splice(i, 1);
358
+ return true;
359
+ } else {
360
+ return false;
361
+ }
362
+ }
363
+ function removeAllInPlace(predicate, array) {
364
+ const countRemoveAll = (count) => {
365
+ let i;
366
+ const array_1 = array;
367
+ i = array_1.findIndex(predicate);
368
+ if (i > -1) {
369
+ array.splice(i, 1);
370
+ return countRemoveAll(count) + 1 | 0;
371
+ } else {
372
+ return count | 0;
373
+ }
374
+ };
375
+ return countRemoveAll(0) | 0;
376
+ }
377
+ function partition(f, source, cons) {
378
+ const len = source.length | 0;
379
+ const res1 = Helpers_allocateArrayFromCons(cons, len);
380
+ const res2 = Helpers_allocateArrayFromCons(cons, len);
381
+ let iTrue = 0;
382
+ let iFalse = 0;
383
+ for (let i = 0; i <= len - 1; i++) {
384
+ if (f(item(i, source))) {
385
+ setItem(res1, iTrue, item(i, source));
386
+ iTrue = iTrue + 1 | 0;
387
+ } else {
388
+ setItem(res2, iFalse, item(i, source));
389
+ iFalse = iFalse + 1 | 0;
390
+ }
391
+ }
392
+ return [truncate(iTrue, res1), truncate(iFalse, res2)];
393
+ }
394
+ function find(predicate, array) {
395
+ const matchValue = array.find(predicate);
396
+ if (matchValue == null) {
397
+ return indexNotFound();
398
+ } else {
399
+ return value(matchValue);
400
+ }
401
+ }
402
+ function tryFind(predicate, array) {
403
+ return array.find(predicate);
404
+ }
405
+ function findIndex(predicate, array) {
406
+ const matchValue = array.findIndex(predicate) | 0;
407
+ if (matchValue > -1) {
408
+ return matchValue | 0;
409
+ } else {
410
+ indexNotFound();
411
+ return -1;
412
+ }
413
+ }
414
+ function tryFindIndex(predicate, array) {
415
+ const matchValue = array.findIndex(predicate) | 0;
416
+ if (matchValue > -1) {
417
+ return matchValue;
418
+ } else {
419
+ return void 0;
420
+ }
421
+ }
422
+ function pick(chooser, array) {
423
+ const loop = (i_mut) => {
424
+ loop:
425
+ while (true) {
426
+ const i = i_mut;
427
+ if (i >= array.length) {
428
+ return indexNotFound();
429
+ } else {
430
+ const matchValue = chooser(item(i, array));
431
+ if (matchValue != null) {
432
+ return value(matchValue);
433
+ } else {
434
+ i_mut = i + 1;
435
+ continue loop;
436
+ }
437
+ }
438
+ break;
439
+ }
440
+ };
441
+ return loop(0);
442
+ }
443
+ function tryPick(chooser, array) {
444
+ const loop = (i_mut) => {
445
+ loop:
446
+ while (true) {
447
+ const i = i_mut;
448
+ if (i >= array.length) {
449
+ return void 0;
450
+ } else {
451
+ const matchValue = chooser(item(i, array));
452
+ if (matchValue == null) {
453
+ i_mut = i + 1;
454
+ continue loop;
455
+ } else {
456
+ return matchValue;
457
+ }
458
+ }
459
+ break;
460
+ }
461
+ };
462
+ return loop(0);
463
+ }
464
+ function findBack(predicate, array) {
465
+ const loop = (i_mut) => {
466
+ loop:
467
+ while (true) {
468
+ const i = i_mut;
469
+ if (i < 0) {
470
+ return indexNotFound();
471
+ } else if (predicate(item(i, array))) {
472
+ return item(i, array);
473
+ } else {
474
+ i_mut = i - 1;
475
+ continue loop;
476
+ }
477
+ break;
478
+ }
479
+ };
480
+ return loop(array.length - 1);
481
+ }
482
+ function tryFindBack(predicate, array) {
483
+ const loop = (i_mut) => {
484
+ loop:
485
+ while (true) {
486
+ const i = i_mut;
487
+ if (i < 0) {
488
+ return void 0;
489
+ } else if (predicate(item(i, array))) {
490
+ return some(item(i, array));
491
+ } else {
492
+ i_mut = i - 1;
493
+ continue loop;
494
+ }
495
+ break;
496
+ }
497
+ };
498
+ return loop(array.length - 1);
499
+ }
500
+ function findLastIndex(predicate, array) {
501
+ const loop = (i_mut) => {
502
+ loop:
503
+ while (true) {
504
+ const i = i_mut;
505
+ if (i < 0) {
506
+ return -1;
507
+ } else if (predicate(item(i, array))) {
508
+ return i | 0;
509
+ } else {
510
+ i_mut = i - 1;
511
+ continue loop;
512
+ }
513
+ break;
514
+ }
515
+ };
516
+ return loop(array.length - 1) | 0;
517
+ }
518
+ function findIndexBack(predicate, array) {
519
+ const loop = (i_mut) => {
520
+ loop:
521
+ while (true) {
522
+ const i = i_mut;
523
+ if (i < 0) {
524
+ indexNotFound();
525
+ return -1;
526
+ } else if (predicate(item(i, array))) {
527
+ return i | 0;
528
+ } else {
529
+ i_mut = i - 1;
530
+ continue loop;
531
+ }
532
+ break;
533
+ }
534
+ };
535
+ return loop(array.length - 1) | 0;
536
+ }
537
+ function tryFindIndexBack(predicate, array) {
538
+ const loop = (i_mut) => {
539
+ loop:
540
+ while (true) {
541
+ const i = i_mut;
542
+ if (i < 0) {
543
+ return void 0;
544
+ } else if (predicate(item(i, array))) {
545
+ return i;
546
+ } else {
547
+ i_mut = i - 1;
548
+ continue loop;
549
+ }
550
+ break;
551
+ }
552
+ };
553
+ return loop(array.length - 1);
554
+ }
555
+ function choose(chooser, array, cons) {
556
+ const res = [];
557
+ for (let i = 0; i <= array.length - 1; i++) {
558
+ const matchValue = chooser(item(i, array));
559
+ if (matchValue != null) {
560
+ const y = value(matchValue);
561
+ res.push(y);
562
+ }
563
+ }
564
+ if (cons == null) {
565
+ return res;
566
+ } else {
567
+ return map((x) => x, res, cons);
568
+ }
569
+ }
570
+ function foldIndexed(folder, state, array) {
571
+ return array.reduce((delegateArg, delegateArg_1, delegateArg_2) => folder(delegateArg_2, delegateArg, delegateArg_1), state);
572
+ }
573
+ function fold(folder, state, array) {
574
+ const folder_1 = folder;
575
+ return array.reduce(folder_1, state);
576
+ }
577
+ function iterate(action, array) {
578
+ for (let i = 0; i <= array.length - 1; i++) {
579
+ action(item(i, array));
580
+ }
581
+ }
582
+ function iterateIndexed(action, array) {
583
+ for (let i = 0; i <= array.length - 1; i++) {
584
+ action(i, item(i, array));
585
+ }
586
+ }
587
+ function iterate2(action, array1, array2) {
588
+ if (array1.length !== array2.length) {
589
+ differentLengths();
590
+ }
591
+ for (let i = 0; i <= array1.length - 1; i++) {
592
+ action(item(i, array1), item(i, array2));
593
+ }
594
+ }
595
+ function iterateIndexed2(action, array1, array2) {
596
+ if (array1.length !== array2.length) {
597
+ differentLengths();
598
+ }
599
+ for (let i = 0; i <= array1.length - 1; i++) {
600
+ action(i, item(i, array1), item(i, array2));
601
+ }
602
+ }
603
+ function isEmpty(array) {
604
+ return array.length === 0;
605
+ }
606
+ function forAll(predicate, array) {
607
+ return array.every(predicate);
608
+ }
609
+ function permute(f, array) {
610
+ const size = array.length | 0;
611
+ const res = array.slice();
612
+ const checkFlags = new Array(size);
613
+ iterateIndexed((i, x) => {
614
+ const j = f(i) | 0;
615
+ if (j < 0 ? true : j >= size) {
616
+ throw new Exception("Not a valid permutation");
617
+ }
618
+ setItem(res, j, x);
619
+ setItem(checkFlags, j, 1);
620
+ }, array);
621
+ if (!checkFlags.every((y) => 1 === y)) {
622
+ throw new Exception("Not a valid permutation");
623
+ }
624
+ return res;
625
+ }
626
+ function setSlice(target, lower, upper, source) {
627
+ const lower_1 = defaultArg(lower, 0) | 0;
628
+ const upper_1 = defaultArg(upper, -1) | 0;
629
+ const length = (upper_1 >= 0 ? upper_1 : target.length - 1) - lower_1 | 0;
630
+ for (let i = 0; i <= length; i++) {
631
+ setItem(target, i + lower_1, item(i, source));
632
+ }
633
+ }
634
+ function sortInPlaceBy(projection, xs, comparer) {
635
+ xs.sort((x, y) => comparer.Compare(projection(x), projection(y)) | 0);
636
+ }
637
+ function sortInPlace(xs, comparer) {
638
+ xs.sort((x, y) => comparer.Compare(x, y) | 0);
639
+ }
640
+ function sort(xs, comparer) {
641
+ const xs_1 = xs.slice();
642
+ xs_1.sort((x, y) => comparer.Compare(x, y) | 0);
643
+ return xs_1;
644
+ }
645
+ function sortBy(projection, xs, comparer) {
646
+ const xs_1 = xs.slice();
647
+ xs_1.sort((x, y) => comparer.Compare(projection(x), projection(y)) | 0);
648
+ return xs_1;
649
+ }
650
+ function sortDescending(xs, comparer) {
651
+ const xs_1 = xs.slice();
652
+ xs_1.sort((x, y) => comparer.Compare(x, y) * -1 | 0);
653
+ return xs_1;
654
+ }
655
+ function sortByDescending(projection, xs, comparer) {
656
+ const xs_1 = xs.slice();
657
+ xs_1.sort((x, y) => comparer.Compare(projection(x), projection(y)) * -1 | 0);
658
+ return xs_1;
659
+ }
660
+ function sortWith(comparer, xs) {
661
+ const comparer_1 = comparer;
662
+ const xs_1 = xs.slice();
663
+ xs_1.sort(comparer_1);
664
+ return xs_1;
665
+ }
666
+ function allPairs(xs, ys) {
667
+ const len1 = xs.length | 0;
668
+ const len2 = ys.length | 0;
669
+ const res = new Array(len1 * len2);
670
+ for (let i = 0; i <= xs.length - 1; i++) {
671
+ for (let j = 0; j <= ys.length - 1; j++) {
672
+ setItem(res, i * len2 + j, [item(i, xs), item(j, ys)]);
673
+ }
674
+ }
675
+ return res;
676
+ }
677
+ function unfold(generator, state) {
678
+ const res = [];
679
+ const loop = (state_1_mut) => {
680
+ loop:
681
+ while (true) {
682
+ const state_1 = state_1_mut;
683
+ const matchValue = generator(state_1);
684
+ if (matchValue != null) {
685
+ const x = value(matchValue)[0];
686
+ const s = value(matchValue)[1];
687
+ res.push(x);
688
+ state_1_mut = s;
689
+ continue loop;
690
+ }
691
+ break;
692
+ }
693
+ };
694
+ loop(state);
695
+ return res;
696
+ }
697
+ function unzip(array) {
698
+ const len = array.length | 0;
699
+ const res1 = new Array(len);
700
+ const res2 = new Array(len);
701
+ iterateIndexed((i, tupledArg) => {
702
+ setItem(res1, i, tupledArg[0]);
703
+ setItem(res2, i, tupledArg[1]);
704
+ }, array);
705
+ return [res1, res2];
706
+ }
707
+ function unzip3(array) {
708
+ const len = array.length | 0;
709
+ const res1 = new Array(len);
710
+ const res2 = new Array(len);
711
+ const res3 = new Array(len);
712
+ iterateIndexed((i, tupledArg) => {
713
+ setItem(res1, i, tupledArg[0]);
714
+ setItem(res2, i, tupledArg[1]);
715
+ setItem(res3, i, tupledArg[2]);
716
+ }, array);
717
+ return [res1, res2, res3];
718
+ }
719
+ function zip(array1, array2) {
720
+ if (array1.length !== array2.length) {
721
+ differentLengths();
722
+ }
723
+ const result = new Array(array1.length);
724
+ for (let i = 0; i <= array1.length - 1; i++) {
725
+ setItem(result, i, [item(i, array1), item(i, array2)]);
726
+ }
727
+ return result;
728
+ }
729
+ function zip3(array1, array2, array3) {
730
+ if (array1.length !== array2.length ? true : array2.length !== array3.length) {
731
+ differentLengths();
732
+ }
733
+ const result = new Array(array1.length);
734
+ for (let i = 0; i <= array1.length - 1; i++) {
735
+ setItem(result, i, [item(i, array1), item(i, array2), item(i, array3)]);
736
+ }
737
+ return result;
738
+ }
739
+ function chunkBySize(chunkSize, array) {
740
+ if (chunkSize < 1) {
741
+ throw new Exception("The input must be positive. (Parameter 'size')");
742
+ }
743
+ const result = [];
744
+ if (array.length > 0) {
745
+ const chunks = ~~Math.ceil(array.length / chunkSize) | 0;
746
+ for (let x = 0; x <= chunks - 1; x++) {
747
+ let slice;
748
+ const start_1 = x * chunkSize | 0;
749
+ slice = array.slice(start_1, start_1 + chunkSize);
750
+ result.push(slice);
751
+ }
752
+ }
753
+ return result;
754
+ }
755
+ function splitAt(index, array) {
756
+ if (index < 0 ? true : index > array.length) {
757
+ throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
758
+ }
759
+ return [array.slice(0, 0 + index), array.slice(index)];
760
+ }
761
+ function compareWith(comparer, source1, source2) {
762
+ if (Operators_IsNull(source1)) {
763
+ if (Operators_IsNull(source2)) {
764
+ return 0;
765
+ } else {
766
+ return -1;
767
+ }
768
+ } else if (Operators_IsNull(source2)) {
769
+ return 1;
770
+ } else {
771
+ const len1 = source1.length | 0;
772
+ const len2 = source2.length | 0;
773
+ const len = (len1 < len2 ? len1 : len2) | 0;
774
+ let i = 0;
775
+ let res = 0;
776
+ while (res === 0 && i < len) {
777
+ res = comparer(item(i, source1), item(i, source2)) | 0;
778
+ i = i + 1 | 0;
779
+ }
780
+ if (res !== 0) {
781
+ return res | 0;
782
+ } else if (len1 > len2) {
783
+ return 1;
784
+ } else if (len1 < len2) {
785
+ return -1;
786
+ } else {
787
+ return 0;
788
+ }
789
+ }
790
+ }
791
+ function compareTo(comparer, source1, source2) {
792
+ if (Operators_IsNull(source1)) {
793
+ if (Operators_IsNull(source2)) {
794
+ return 0;
795
+ } else {
796
+ return -1;
797
+ }
798
+ } else if (Operators_IsNull(source2)) {
799
+ return 1;
800
+ } else {
801
+ const len1 = source1.length | 0;
802
+ const len2 = source2.length | 0;
803
+ if (len1 > len2) {
804
+ return 1;
805
+ } else if (len1 < len2) {
806
+ return -1;
807
+ } else {
808
+ let i = 0;
809
+ let res = 0;
810
+ while (res === 0 && i < len1) {
811
+ res = comparer(item(i, source1), item(i, source2)) | 0;
812
+ i = i + 1 | 0;
813
+ }
814
+ return res | 0;
815
+ }
816
+ }
817
+ }
818
+ function equalsWith(equals, source1, source2) {
819
+ if (Operators_IsNull(source1)) {
820
+ if (Operators_IsNull(source2)) {
821
+ return true;
822
+ } else {
823
+ return false;
824
+ }
825
+ } else if (Operators_IsNull(source2)) {
826
+ return false;
827
+ } else {
828
+ let i = 0;
829
+ let result = true;
830
+ const length1 = source1.length | 0;
831
+ const length2 = source2.length | 0;
832
+ if (length1 > length2) {
833
+ return false;
834
+ } else if (length1 < length2) {
835
+ return false;
836
+ } else {
837
+ while (i < length1 && result) {
838
+ result = equals(item(i, source1), item(i, source2));
839
+ i = i + 1 | 0;
840
+ }
841
+ return result;
842
+ }
843
+ }
844
+ }
845
+ function exactlyOne(array) {
846
+ switch (array.length) {
847
+ case 1:
848
+ return item(0, array);
849
+ case 0:
850
+ throw new Exception("The input sequence was empty (Parameter 'array')");
851
+ default:
852
+ throw new Exception("Input array too long (Parameter 'array')");
853
+ }
854
+ }
855
+ function tryExactlyOne(array) {
856
+ if (array.length === 1) {
857
+ return some(item(0, array));
858
+ } else {
859
+ return void 0;
860
+ }
861
+ }
862
+ function head(array) {
863
+ if (array.length === 0) {
864
+ throw new Exception("The input array was empty (Parameter 'array')");
865
+ } else {
866
+ return item(0, array);
867
+ }
868
+ }
869
+ function tryHead(array) {
870
+ if (array.length === 0) {
871
+ return void 0;
872
+ } else {
873
+ return some(item(0, array));
874
+ }
875
+ }
876
+ function tail(array) {
877
+ if (array.length === 0) {
878
+ throw new Exception("Not enough elements (Parameter 'array')");
879
+ }
880
+ return array.slice(1);
881
+ }
882
+ function item(index, array) {
883
+ if (index < 0 ? true : index >= array.length) {
884
+ throw new Exception("Index was outside the bounds of the array. (Parameter 'index')");
885
+ } else {
886
+ return array[index];
887
+ }
888
+ }
889
+ function setItem(array, index, value) {
890
+ if (index < 0 ? true : index >= array.length) {
891
+ throw new Exception("Index was outside the bounds of the array. (Parameter 'index')");
892
+ } else {
893
+ array[index] = value;
894
+ }
895
+ }
896
+ function tryItem(index, array) {
897
+ if (index < 0 ? true : index >= array.length) {
898
+ return void 0;
899
+ } else {
900
+ return some(array[index]);
901
+ }
902
+ }
903
+ function foldBackIndexed(folder, array, state) {
904
+ return array.reduceRight((delegateArg, delegateArg_1, delegateArg_2) => folder(delegateArg_2, delegateArg_1, delegateArg), state);
905
+ }
906
+ function foldBack(folder, array, state) {
907
+ return array.reduceRight((delegateArg, delegateArg_1) => folder(delegateArg_1, delegateArg), state);
908
+ }
909
+ function foldIndexed2(folder, state, array1, array2) {
910
+ let acc = state;
911
+ if (array1.length !== array2.length) {
912
+ throw new Exception("Arrays have different lengths");
913
+ }
914
+ for (let i = 0; i <= array1.length - 1; i++) {
915
+ acc = folder(i, acc, item(i, array1), item(i, array2));
916
+ }
917
+ return acc;
918
+ }
919
+ function fold2(folder, state, array1, array2) {
920
+ return foldIndexed2((_arg, acc, x, y) => folder(acc, x, y), state, array1, array2);
921
+ }
922
+ function foldBackIndexed2(folder, array1, array2, state) {
923
+ let acc = state;
924
+ if (array1.length !== array2.length) {
925
+ differentLengths();
926
+ }
927
+ const size = array1.length | 0;
928
+ for (let i = 1; i <= size; i++) {
929
+ acc = folder(i - 1, item(size - i, array1), item(size - i, array2), acc);
930
+ }
931
+ return acc;
932
+ }
933
+ function foldBack2(f, array1, array2, state) {
934
+ return foldBackIndexed2((_arg, x, y, acc) => f(x, y, acc), array1, array2, state);
935
+ }
936
+ function reduce(reduction, array) {
937
+ if (array.length === 0) {
938
+ throw new Exception("The input array was empty");
939
+ }
940
+ const reduction_1 = reduction;
941
+ return array.reduce(reduction_1);
942
+ }
943
+ function reduceBack(reduction, array) {
944
+ if (array.length === 0) {
945
+ throw new Exception("The input array was empty");
946
+ }
947
+ const reduction_1 = reduction;
948
+ return array.reduceRight(reduction_1);
949
+ }
950
+ function forAll2(predicate, array1, array2) {
951
+ return fold2((acc, x, y) => acc && predicate(x, y), true, array1, array2);
952
+ }
953
+ function existsOffset(predicate_mut, array_mut, index_mut) {
954
+ existsOffset:
955
+ while (true) {
956
+ const predicate = predicate_mut, array = array_mut, index = index_mut;
957
+ if (index === array.length) {
958
+ return false;
959
+ } else if (predicate(item(index, array))) {
960
+ return true;
961
+ } else {
962
+ predicate_mut = predicate;
963
+ array_mut = array;
964
+ index_mut = index + 1;
965
+ continue existsOffset;
966
+ }
967
+ break;
968
+ }
969
+ }
970
+ function exists(predicate, array) {
971
+ return existsOffset(predicate, array, 0);
972
+ }
973
+ function existsOffset2(predicate_mut, array1_mut, array2_mut, index_mut) {
974
+ existsOffset2:
975
+ while (true) {
976
+ const predicate = predicate_mut, array1 = array1_mut, array2 = array2_mut, index = index_mut;
977
+ if (index === array1.length) {
978
+ return false;
979
+ } else if (predicate(item(index, array1), item(index, array2))) {
980
+ return true;
981
+ } else {
982
+ predicate_mut = predicate;
983
+ array1_mut = array1;
984
+ array2_mut = array2;
985
+ index_mut = index + 1;
986
+ continue existsOffset2;
987
+ }
988
+ break;
989
+ }
990
+ }
991
+ function exists2(predicate, array1, array2) {
992
+ if (array1.length !== array2.length) {
993
+ differentLengths();
994
+ }
995
+ return existsOffset2(predicate, array1, array2, 0);
996
+ }
997
+ function sum(array, adder) {
998
+ let acc = adder.GetZero();
999
+ for (let i = 0; i <= array.length - 1; i++) {
1000
+ acc = adder.Add(acc, item(i, array));
1001
+ }
1002
+ return acc;
1003
+ }
1004
+ function sumBy(projection, array, adder) {
1005
+ let acc = adder.GetZero();
1006
+ for (let i = 0; i <= array.length - 1; i++) {
1007
+ acc = adder.Add(acc, projection(item(i, array)));
1008
+ }
1009
+ return acc;
1010
+ }
1011
+ function maxBy(projection, xs, comparer) {
1012
+ return reduce((x, y) => comparer.Compare(projection(y), projection(x)) > 0 ? y : x, xs);
1013
+ }
1014
+ function max(xs, comparer) {
1015
+ return reduce((x, y) => comparer.Compare(y, x) > 0 ? y : x, xs);
1016
+ }
1017
+ function minBy(projection, xs, comparer) {
1018
+ return reduce((x, y) => comparer.Compare(projection(y), projection(x)) > 0 ? x : y, xs);
1019
+ }
1020
+ function min(xs, comparer) {
1021
+ return reduce((x, y) => comparer.Compare(y, x) > 0 ? x : y, xs);
1022
+ }
1023
+ function average(array, averager) {
1024
+ if (array.length === 0) {
1025
+ throw new Exception("The input array was empty (Parameter 'array')");
1026
+ }
1027
+ let total = averager.GetZero();
1028
+ for (let i = 0; i <= array.length - 1; i++) {
1029
+ total = averager.Add(total, item(i, array));
1030
+ }
1031
+ return averager.DivideByInt(total, array.length);
1032
+ }
1033
+ function averageBy(projection, array, averager) {
1034
+ if (array.length === 0) {
1035
+ throw new Exception("The input array was empty (Parameter 'array')");
1036
+ }
1037
+ let total = averager.GetZero();
1038
+ for (let i = 0; i <= array.length - 1; i++) {
1039
+ total = averager.Add(total, projection(item(i, array)));
1040
+ }
1041
+ return averager.DivideByInt(total, array.length);
1042
+ }
1043
+ function windowed(windowSize, source) {
1044
+ if (windowSize <= 0) {
1045
+ throw new Exception("windowSize must be positive");
1046
+ }
1047
+ let res;
1048
+ const len = max$1(0, source.length - windowSize + 1) | 0;
1049
+ res = new Array(len);
1050
+ for (let i = windowSize; i <= source.length; i++) {
1051
+ setItem(res, i - windowSize, source.slice(i - windowSize, i - 1 + 1));
1052
+ }
1053
+ return res;
1054
+ }
1055
+ function splitInto(chunks, array) {
1056
+ if (chunks < 1) {
1057
+ throw new Exception("The input must be positive. (Parameter 'chunks')");
1058
+ }
1059
+ const result = [];
1060
+ if (array.length > 0) {
1061
+ const chunks_1 = min$1(chunks, array.length) | 0;
1062
+ const minChunkSize = ~~(array.length / chunks_1) | 0;
1063
+ const chunksWithExtraItem = array.length % chunks_1 | 0;
1064
+ for (let i = 0; i <= chunks_1 - 1; i++) {
1065
+ const chunkSize = (i < chunksWithExtraItem ? minChunkSize + 1 : minChunkSize) | 0;
1066
+ let slice;
1067
+ const start_1 = i * minChunkSize + min$1(chunksWithExtraItem, i) | 0;
1068
+ slice = array.slice(start_1, start_1 + chunkSize);
1069
+ result.push(slice);
1070
+ }
1071
+ }
1072
+ return result;
1073
+ }
1074
+ function transpose(arrays, cons) {
1075
+ const arrays_1 = Array.isArray(arrays) ? arrays : Array.from(arrays);
1076
+ const len = arrays_1.length | 0;
1077
+ if (len === 0) {
1078
+ return new Array(0);
1079
+ } else {
1080
+ const firstArray = item(0, arrays_1);
1081
+ const lenInner = firstArray.length | 0;
1082
+ if (!forAll((a) => a.length === lenInner, arrays_1)) {
1083
+ differentLengths();
1084
+ }
1085
+ const result = new Array(lenInner);
1086
+ for (let i = 0; i <= lenInner - 1; i++) {
1087
+ setItem(result, i, Helpers_allocateArrayFromCons(cons, len));
1088
+ for (let j = 0; j <= len - 1; j++) {
1089
+ item(i, result)[j] = item(i, item(j, arrays_1));
1090
+ }
1091
+ }
1092
+ return result;
1093
+ }
1094
+ }
1095
+ function insertAt(index, y, xs, cons) {
1096
+ const len = xs.length | 0;
1097
+ if (index < 0 ? true : index > len) {
1098
+ throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
1099
+ }
1100
+ const target = Helpers_allocateArrayFromCons(cons, len + 1);
1101
+ for (let i = 0; i <= index - 1; i++) {
1102
+ setItem(target, i, item(i, xs));
1103
+ }
1104
+ setItem(target, index, y);
1105
+ for (let i_1 = index; i_1 <= len - 1; i_1++) {
1106
+ setItem(target, i_1 + 1, item(i_1, xs));
1107
+ }
1108
+ return target;
1109
+ }
1110
+ function insertManyAt(index, ys, xs, cons) {
1111
+ const len = xs.length | 0;
1112
+ if (index < 0 ? true : index > len) {
1113
+ throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
1114
+ }
1115
+ const ys_1 = Array.from(ys);
1116
+ const len2 = ys_1.length | 0;
1117
+ const target = Helpers_allocateArrayFromCons(cons, len + len2);
1118
+ for (let i = 0; i <= index - 1; i++) {
1119
+ setItem(target, i, item(i, xs));
1120
+ }
1121
+ for (let i_1 = 0; i_1 <= len2 - 1; i_1++) {
1122
+ setItem(target, index + i_1, item(i_1, ys_1));
1123
+ }
1124
+ for (let i_2 = index; i_2 <= len - 1; i_2++) {
1125
+ setItem(target, i_2 + len2, item(i_2, xs));
1126
+ }
1127
+ return target;
1128
+ }
1129
+ function randomShuffleInPlaceBy(randomizer, xs) {
1130
+ const len = xs.length | 0;
1131
+ for (let i = len - 1; i >= 1; i--) {
1132
+ const r = randomizer();
1133
+ if (r < 0 ? true : r >= 1) {
1134
+ throw new Exception(SR_Arg_ArgumentOutOfRangeException + " (Parameter 'randomizer')");
1135
+ }
1136
+ const j = ~~(r * (i + 1)) | 0;
1137
+ const tmp = item(i, xs);
1138
+ setItem(xs, i, item(j, xs));
1139
+ setItem(xs, j, tmp);
1140
+ }
1141
+ }
1142
+ function randomShuffleInPlaceWith(random, xs) {
1143
+ randomShuffleInPlaceBy(() => random.NextDouble(), xs);
1144
+ }
1145
+ function randomShuffleInPlace(xs) {
1146
+ randomShuffleInPlaceWith(nonSeeded(), xs);
1147
+ }
1148
+ function randomShuffleBy(randomizer, xs) {
1149
+ const arr = copy(xs);
1150
+ randomShuffleInPlaceBy(randomizer, arr);
1151
+ return arr;
1152
+ }
1153
+ function randomShuffleWith(random, xs) {
1154
+ return randomShuffleBy(() => random.NextDouble(), xs);
1155
+ }
1156
+ function randomShuffle(xs) {
1157
+ return randomShuffleWith(nonSeeded(), xs);
1158
+ }
1159
+ function randomChoiceBy(randomizer, xs) {
1160
+ if (isEmpty(xs)) {
1161
+ throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
1162
+ }
1163
+ const len = xs.length | 0;
1164
+ const r = randomizer();
1165
+ if (r < 0 ? true : r >= 1) {
1166
+ throw new Exception(SR_Arg_ArgumentOutOfRangeException + " (Parameter 'randomizer')");
1167
+ }
1168
+ return item(~~(r * len), xs);
1169
+ }
1170
+ function randomChoiceWith(random, xs) {
1171
+ return randomChoiceBy(() => random.NextDouble(), xs);
1172
+ }
1173
+ function randomChoice(xs) {
1174
+ return randomChoiceWith(nonSeeded(), xs);
1175
+ }
1176
+ function randomChoicesBy(randomizer, count, xs, cons) {
1177
+ if (count < 0) {
1178
+ throw new Exception(SR_inputMustBeNonNegative + " (Parameter 'count')");
1179
+ }
1180
+ if (count > 0 && isEmpty(xs)) {
1181
+ throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
1182
+ }
1183
+ const len = xs.length | 0;
1184
+ return initialize(count, (_arg) => {
1185
+ const r = randomizer();
1186
+ if (r < 0 ? true : r >= 1) {
1187
+ throw new Exception(SR_Arg_ArgumentOutOfRangeException + " (Parameter 'randomizer')");
1188
+ }
1189
+ return item(~~(r * len), xs);
1190
+ }, cons);
1191
+ }
1192
+ function randomChoicesWith(random, count, xs, cons) {
1193
+ return randomChoicesBy(() => random.NextDouble(), count, xs, cons);
1194
+ }
1195
+ function randomChoices(count, xs, cons) {
1196
+ return randomChoicesWith(nonSeeded(), count, xs, cons);
1197
+ }
1198
+ function randomSampleBy(randomizer, count, xs) {
1199
+ if (count < 0) {
1200
+ throw new Exception(SR_inputMustBeNonNegative + " (Parameter 'count')");
1201
+ }
1202
+ const arr = copy(xs);
1203
+ const len = arr.length | 0;
1204
+ if (len === 0 && count > 0) {
1205
+ throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
1206
+ }
1207
+ if (count > len) {
1208
+ throw new Exception(SR_notEnoughElements + " (Parameter 'count')");
1209
+ }
1210
+ for (let i = 0; i <= count - 1; i++) {
1211
+ const r = randomizer();
1212
+ if (r < 0 ? true : r >= 1) {
1213
+ throw new Exception(SR_Arg_ArgumentOutOfRangeException + " (Parameter 'randomizer')");
1214
+ }
1215
+ const j = i + ~~(r * (len - i)) | 0;
1216
+ const tmp = item(i, arr);
1217
+ setItem(arr, i, item(j, arr));
1218
+ setItem(arr, j, tmp);
1219
+ }
1220
+ return getSubArray(arr, 0, count);
1221
+ }
1222
+ function randomSampleWith(random, count, xs) {
1223
+ return randomSampleBy(() => random.NextDouble(), count, xs);
1224
+ }
1225
+ function randomSample(count, xs) {
1226
+ return randomSampleWith(nonSeeded(), count, xs);
1227
+ }
1228
+ function removeAt(index, xs) {
1229
+ if (index < 0 ? true : index >= xs.length) {
1230
+ throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
1231
+ }
1232
+ let i = -1;
1233
+ return filter((_arg) => {
1234
+ i = i + 1 | 0;
1235
+ return i !== index;
1236
+ }, xs);
1237
+ }
1238
+ function removeManyAt(index, count, xs) {
1239
+ let i = -1;
1240
+ let status = -1;
1241
+ const ys = filter((_arg) => {
1242
+ i = i + 1 | 0;
1243
+ if (i === index) {
1244
+ status = 0;
1245
+ return false;
1246
+ } else if (i > index) {
1247
+ if (i < index + count) {
1248
+ return false;
1249
+ } else {
1250
+ status = 1;
1251
+ return true;
1252
+ }
1253
+ } else {
1254
+ return true;
1255
+ }
1256
+ }, xs);
1257
+ const status_1 = (status === 0 && i + 1 === index + count ? 1 : status) | 0;
1258
+ if (status_1 < 1) {
1259
+ throw new Exception(SR_indexOutOfBounds + (" (Parameter '" + (status_1 < 0 ? "index" : "count") + "')"));
1260
+ }
1261
+ return ys;
1262
+ }
1263
+ function updateAt(index, y, xs, cons) {
1264
+ const len = xs.length | 0;
1265
+ if (index < 0 ? true : index >= len) {
1266
+ throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
1267
+ }
1268
+ const target = Helpers_allocateArrayFromCons(cons, len);
1269
+ for (let i = 0; i <= len - 1; i++) {
1270
+ setItem(target, i, i === index ? y : item(i, xs));
1271
+ }
1272
+ return target;
1273
+ }
1274
+ function resize(xs, newSize, zero, cons) {
1275
+ let array = void 0, array_1 = void 0, start_2 = void 0, count_2 = void 0;
1276
+ if (newSize < 0) {
1277
+ throw new Exception("The input must be non-negative. (Parameter 'newSize')");
1278
+ }
1279
+ const zero_1 = defaultArg(zero, defaultOf());
1280
+ if (Operators_IsNull(xs.contents)) {
1281
+ xs.contents = (array = Helpers_allocateArrayFromCons(cons, newSize), array.fill(zero_1, 0, 0 + newSize));
1282
+ } else {
1283
+ const len = xs.contents.length | 0;
1284
+ if (newSize < len) {
1285
+ xs.contents = (array_1 = xs.contents, array_1.slice(0, 0 + newSize));
1286
+ } else if (newSize > len) {
1287
+ const target = Helpers_allocateArrayFromCons(cons, newSize);
1288
+ if (len > 0) {
1289
+ copyTo(xs.contents, 0, target, 0, len);
1290
+ }
1291
+ xs.contents = (start_2 = len | 0, count_2 = newSize - len | 0, target.fill(zero_1, start_2, start_2 + count_2));
1292
+ }
1293
+ }
1294
+ }
1295
+
1296
+ export { addInPlace, addRangeInPlace, allPairs, append, average, averageBy, choose, chunkBySize, collect, compareTo, compareWith, concat, contains, copy, copyTo, empty, equalsWith, exactlyOne, exists, exists2, existsOffset, existsOffset2, fill, filter, find, findAll, findBack, findIndex, findIndexBack, findLastIndex, fold, fold2, foldBack, foldBack2, foldBackIndexed, foldBackIndexed2, foldIndexed, foldIndexed2, forAll, forAll2, getRange, getSubArray, head, indexOf, indexed, initialize, insertAt, insertManyAt, insertRangeInPlace, isEmpty, item, iterate, iterate2, iterateIndexed, iterateIndexed2, last, map, map2, map3, mapFold, mapFoldBack, mapIndexed, mapIndexed2, mapIndexed3, max, maxBy, min, minBy, pairwise, partition, permute, pick, randomChoice, randomChoiceBy, randomChoiceWith, randomChoices, randomChoicesBy, randomChoicesWith, randomSample, randomSampleBy, randomSampleWith, randomShuffle, randomShuffleBy, randomShuffleInPlace, randomShuffleInPlaceBy, randomShuffleInPlaceWith, randomShuffleWith, reduce, reduceBack, removeAllInPlace, removeAt, removeInPlace, removeManyAt, replicate, resize, reverse, scan, scanBack, setItem, setSlice, singleton, skip, skipWhile, sort, sortBy, sortByDescending, sortDescending, sortInPlace, sortInPlaceBy, sortWith, splitAt, splitInto, sum, sumBy, tail, take, takeWhile, transpose, truncate, tryExactlyOne, tryFind, tryFindBack, tryFindIndex, tryFindIndexBack, tryHead, tryItem, tryLast, tryPick, unfold, unzip, unzip3, updateAt, where, windowed, zip, zip3 };