@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
@@ -1,21 +1,21 @@
1
- import { defaultArg, unwrap, value, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
- import { toArray, filter, contains, forAll, fold, length, toList, delay, map as map$1, item, choose, exists, tryFindIndex, iterate, removeAt, tryFind, append, collect } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
3
- import { stringHash, getEnumerator, safeHash, equals, disposeSafe, defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
1
+ import { defaultArg, unwrap, value } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
2
+ import { toArray, filter, contains, forAll, fold, length, toList, delay, map, item, choose, exists, tryFindIndex, iterate, removeAt, tryFind, append, collect } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
3
+ import { stringHash, getEnumerator, safeHash, equals, disposeSafe, Exception, defaultOf } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
4
4
  import { ResizeArray_map, ResizeArray_filter, ResizeArray_choose } from './Helper/Collections.js';
5
- import { contains as contains$1, removeInPlace, addRangeInPlace } from '../../node_modules/@fable-org/fable-library-js/Array.js';
6
- import { toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
7
- import { rangeDouble } from '../../node_modules/@fable-org/fable-library-js/Range.js';
5
+ import { contains as contains$1, removeInPlace, setItem, item as item$1, addRangeInPlace } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
6
+ import { toText, printf, concat } from '../../node_modules/@fable-org/fable-library-ts/String.js';
7
+ import { rangeDouble } from '../../node_modules/@fable-org/fable-library-ts/Range.js';
8
8
  import { boxHashArray, boxHashOption, boxHashSeq } from './Helper/HashCodes.js';
9
9
  import { checkValidCharacters } from './Helper/Identifier.js';
10
10
  import { ArcTables, ArcTables_$reflection, ArcTablesAux_getIOMap, ArcTablesAux_applyIOMap } from './Table/ArcTables.js';
11
- import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
12
- import { Array_distinct } from '../../node_modules/@fable-org/fable-library-js/Seq2.js';
13
- import { FSharpRef } from '../../node_modules/@fable-org/fable-library-js/Types.js';
11
+ import { class_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
12
+ import { Array_distinct } from '../../node_modules/@fable-org/fable-library-ts/Seq2.js';
13
+ import { FSharpRef } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
14
14
 
15
15
  class ArcAssay extends ArcTables {
16
16
  constructor(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
17
17
  super(defaultArg(tables, []));
18
- let identifier_1;
18
+ let identifier_1 = void 0;
19
19
  const performers_1 = defaultArg(performers, []);
20
20
  const comments_1 = defaultArg(comments, []);
21
21
  this["identifier@129"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
@@ -30,10 +30,16 @@ class ArcAssay extends ArcTables {
30
30
  this["comments@141-1"] = comments_1;
31
31
  this.staticHash = 0;
32
32
  }
33
+ /**
34
+ * Must be unique in one study
35
+ */
33
36
  get Identifier() {
34
37
  const this$ = this;
35
38
  return this$["identifier@129"];
36
39
  }
40
+ /**
41
+ * Must be unique in one study
42
+ */
37
43
  set Identifier(i) {
38
44
  const this$ = this;
39
45
  this$["identifier@129"] = i;
@@ -141,7 +147,7 @@ class ArcAssay extends ArcTables {
141
147
  const source = s.RegisteredAssayIdentifiers;
142
148
  return contains(this$.Identifier, source, {
143
149
  Equals: (x, y) => x === y,
144
- GetHashCode: stringHash
150
+ GetHashCode: (x) => stringHash(x) | 0
145
151
  });
146
152
  }, i.Studies));
147
153
  }
@@ -173,12 +179,18 @@ class ArcAssay extends ArcTables {
173
179
  return c;
174
180
  };
175
181
  }
182
+ /**
183
+ * Receive **copy** of table at `index`
184
+ */
176
185
  static getTableAt(index) {
177
186
  return (assay) => {
178
187
  const newAssay = assay.Copy();
179
188
  return newAssay.GetTableAt(index);
180
189
  };
181
190
  }
191
+ /**
192
+ * Receive **copy** of table with `name` = `ArcTable.Name`
193
+ */
182
194
  static getTable(name) {
183
195
  return (assay) => {
184
196
  const newAssay = assay.Copy();
@@ -368,10 +380,13 @@ class ArcAssay extends ArcTables {
368
380
  return assay;
369
381
  }
370
382
  Copy() {
383
+ let d = void 0;
371
384
  const this$ = this;
372
385
  const nextTables = ResizeArray_map((c) => c.Copy(), this$.Tables);
373
386
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
374
- const nextDatamap = map((d) => d.Copy(), this$.Datamap);
387
+ let nextDatamap;
388
+ const option_1 = this$.Datamap;
389
+ nextDatamap = option_1 != null ? (d = value(option_1), d.Copy()) : void 0;
375
390
  const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
376
391
  const identifier = this$.Identifier;
377
392
  const title = this$.Title;
@@ -381,6 +396,9 @@ class ArcAssay extends ArcTables {
381
396
  const technologyPlatform = this$.TechnologyPlatform;
382
397
  return ArcAssay.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextTables, nextDatamap, nextPerformers, nextComments);
383
398
  }
399
+ /**
400
+ * Updates given assay with another assay, Identifier will never be updated. By default update is full replace. Optional Parameters can be used to specify update logic.
401
+ */
384
402
  UpdateBy(assay, onlyReplaceExisting, appendSequences) {
385
403
  const this$ = this;
386
404
  const onlyReplaceExisting_1 = defaultArg(onlyReplaceExisting, false);
@@ -415,7 +433,7 @@ class ArcAssay extends ArcTables {
415
433
  const e = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
416
434
  if (!contains$1(e, combined, {
417
435
  Equals: equals,
418
- GetHashCode: safeHash
436
+ GetHashCode: (x_1) => safeHash(x_1) | 0
419
437
  })) {
420
438
  void combined.push(e);
421
439
  }
@@ -429,7 +447,7 @@ class ArcAssay extends ArcTables {
429
447
  const e_1 = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
430
448
  if (!contains$1(e_1, combined, {
431
449
  Equals: equals,
432
- GetHashCode: safeHash
450
+ GetHashCode: (x_2) => safeHash(x_2) | 0
433
451
  })) {
434
452
  void combined.push(e_1);
435
453
  }
@@ -455,7 +473,7 @@ class ArcAssay extends ArcTables {
455
473
  const e_2 = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
456
474
  if (!contains$1(e_2, combined_1, {
457
475
  Equals: equals,
458
- GetHashCode: safeHash
476
+ GetHashCode: (x_4) => safeHash(x_4) | 0
459
477
  })) {
460
478
  void combined_1.push(e_2);
461
479
  }
@@ -469,7 +487,7 @@ class ArcAssay extends ArcTables {
469
487
  const e_1_1 = enumerator_1_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
470
488
  if (!contains$1(e_1_1, combined_1, {
471
489
  Equals: equals,
472
- GetHashCode: safeHash
490
+ GetHashCode: (x_5) => safeHash(x_5) | 0
473
491
  })) {
474
492
  void combined_1.push(e_1_1);
475
493
  }
@@ -495,7 +513,7 @@ class ArcAssay extends ArcTables {
495
513
  const e_3 = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
496
514
  if (!contains$1(e_3, combined_2, {
497
515
  Equals: equals,
498
- GetHashCode: safeHash
516
+ GetHashCode: (x_7) => safeHash(x_7) | 0
499
517
  })) {
500
518
  void combined_2.push(e_3);
501
519
  }
@@ -509,7 +527,7 @@ class ArcAssay extends ArcTables {
509
527
  const e_1_2 = enumerator_1_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
510
528
  if (!contains$1(e_1_2, combined_2, {
511
529
  Equals: equals,
512
- GetHashCode: safeHash
530
+ GetHashCode: (x_8) => safeHash(x_8) | 0
513
531
  })) {
514
532
  void combined_2.push(e_1_2);
515
533
  }
@@ -543,6 +561,9 @@ class ArcAssay extends ArcTables {
543
561
  const this$ = this;
544
562
  this$.Investigation = void 0;
545
563
  }
564
+ /**
565
+ * Updates given assay stored in an study or investigation file with values from an assay file.
566
+ */
546
567
  UpdateReferenceByAssayFile(assay, onlyReplaceExisting) {
547
568
  const this$ = this;
548
569
  const updateAlways = !defaultArg(onlyReplaceExisting, false);
@@ -573,7 +594,7 @@ class ArcAssay extends ArcTables {
573
594
  }
574
595
  }
575
596
  StructurallyEquals(other) {
576
- let a, b, a_1, b_1, a_2, b_2;
597
+ let a = void 0, b = void 0, a_1 = void 0, b_1 = void 0, a_2 = void 0, b_2 = void 0;
577
598
  const this$ = this;
578
599
  return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), equals(this$.Datamap, other.Datamap), (a = this$.Tables, b = other.Tables, length(a) === length(b) && fold((acc, e) => {
579
600
  if (acc) {
@@ -581,26 +602,31 @@ class ArcAssay extends ArcTables {
581
602
  } else {
582
603
  return false;
583
604
  }
584
- }, true, toList(delay(() => map$1((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Performers, b_1 = other.Performers, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
605
+ }, true, toList(delay(() => map((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Performers, b_1 = other.Performers, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
585
606
  if (acc_1) {
586
607
  return e_1;
587
608
  } else {
588
609
  return false;
589
610
  }
590
- }, true, toList(delay(() => map$1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.Comments, b_2 = other.Comments, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
611
+ }, true, toList(delay(() => map((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.Comments, b_2 = other.Comments, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
591
612
  if (acc_2) {
592
613
  return e_2;
593
614
  } else {
594
615
  return false;
595
616
  }
596
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))]);
617
+ }, true, toList(delay(() => map((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))]);
597
618
  }
619
+ /**
620
+ * Use this function to check if this ArcAssay and the input ArcAssay refer to the same object.
621
+ *
622
+ * If true, updating one will update the other due to mutability.
623
+ */
598
624
  ReferenceEquals(other) {
599
625
  const this$ = this;
600
626
  return this$ === other;
601
627
  }
602
628
  Equals(other) {
603
- let assay;
629
+ let assay = void 0;
604
630
  const this$ = this;
605
631
  return other instanceof ArcAssay && (assay = other, this$.StructurallyEquals(assay));
606
632
  }
@@ -622,33 +648,39 @@ function ArcAssay_$ctor_Z69B192EC(identifier, title, description, measurementTyp
622
648
  class ArcStudy extends ArcTables {
623
649
  constructor(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
624
650
  super(defaultArg(tables, []));
625
- let identifier_1;
651
+ let identifier_1 = void 0;
626
652
  const publications_1 = defaultArg(publications, []);
627
653
  const contacts_1 = defaultArg(contacts, []);
628
654
  const studyDesignDescriptors_1 = defaultArg(studyDesignDescriptors, []);
629
655
  const registeredAssayIdentifiers_1 = defaultArg(registeredAssayIdentifiers, []);
630
656
  const comments_1 = defaultArg(comments, []);
631
- this["identifier@579"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
657
+ this["identifier@582"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
632
658
  this.investigation = void 0;
633
- this["title@584"] = title;
634
- this["description@585"] = description;
635
- this["submissionDate@586"] = submissionDate;
636
- this["publicReleaseDate@587"] = publicReleaseDate;
637
- this["publications@588-1"] = publications_1;
638
- this["contacts@589-1"] = contacts_1;
639
- this["studyDesignDescriptors@590-1"] = studyDesignDescriptors_1;
640
- this["datamap@591"] = datamap;
641
- this["registeredAssayIdentifiers@592-1"] = registeredAssayIdentifiers_1;
642
- this["comments@593-1"] = comments_1;
659
+ this["title@587"] = title;
660
+ this["description@588"] = description;
661
+ this["submissionDate@589"] = submissionDate;
662
+ this["publicReleaseDate@590"] = publicReleaseDate;
663
+ this["publications@591-1"] = publications_1;
664
+ this["contacts@592-1"] = contacts_1;
665
+ this["studyDesignDescriptors@593-1"] = studyDesignDescriptors_1;
666
+ this["datamap@594"] = datamap;
667
+ this["registeredAssayIdentifiers@595-1"] = registeredAssayIdentifiers_1;
668
+ this["comments@596-1"] = comments_1;
643
669
  this.staticHash = 0;
644
670
  }
671
+ /**
672
+ * Must be unique in one investigation
673
+ */
645
674
  get Identifier() {
646
675
  const this$ = this;
647
- return this$["identifier@579"];
676
+ return this$["identifier@582"];
648
677
  }
678
+ /**
679
+ * Must be unique in one investigation
680
+ */
649
681
  set Identifier(i) {
650
682
  const this$ = this;
651
- this$["identifier@579"] = i;
683
+ this$["identifier@582"] = i;
652
684
  }
653
685
  get Investigation() {
654
686
  const this$ = this;
@@ -660,83 +692,83 @@ class ArcStudy extends ArcTables {
660
692
  }
661
693
  get Title() {
662
694
  const this$ = this;
663
- return unwrap(this$["title@584"]);
695
+ return unwrap(this$["title@587"]);
664
696
  }
665
697
  set Title(n) {
666
698
  const this$ = this;
667
- this$["title@584"] = n;
699
+ this$["title@587"] = n;
668
700
  }
669
701
  get Description() {
670
702
  const this$ = this;
671
- return unwrap(this$["description@585"]);
703
+ return unwrap(this$["description@588"]);
672
704
  }
673
705
  set Description(n) {
674
706
  const this$ = this;
675
- this$["description@585"] = n;
707
+ this$["description@588"] = n;
676
708
  }
677
709
  get SubmissionDate() {
678
710
  const this$ = this;
679
- return unwrap(this$["submissionDate@586"]);
711
+ return unwrap(this$["submissionDate@589"]);
680
712
  }
681
713
  set SubmissionDate(n) {
682
714
  const this$ = this;
683
- this$["submissionDate@586"] = n;
715
+ this$["submissionDate@589"] = n;
684
716
  }
685
717
  get PublicReleaseDate() {
686
718
  const this$ = this;
687
- return unwrap(this$["publicReleaseDate@587"]);
719
+ return unwrap(this$["publicReleaseDate@590"]);
688
720
  }
689
721
  set PublicReleaseDate(n) {
690
722
  const this$ = this;
691
- this$["publicReleaseDate@587"] = n;
723
+ this$["publicReleaseDate@590"] = n;
692
724
  }
693
725
  get Publications() {
694
726
  const this$ = this;
695
- return this$["publications@588-1"];
727
+ return this$["publications@591-1"];
696
728
  }
697
729
  set Publications(n) {
698
730
  const this$ = this;
699
- this$["publications@588-1"] = n;
731
+ this$["publications@591-1"] = n;
700
732
  }
701
733
  get Contacts() {
702
734
  const this$ = this;
703
- return this$["contacts@589-1"];
735
+ return this$["contacts@592-1"];
704
736
  }
705
737
  set Contacts(n) {
706
738
  const this$ = this;
707
- this$["contacts@589-1"] = n;
739
+ this$["contacts@592-1"] = n;
708
740
  }
709
741
  get StudyDesignDescriptors() {
710
742
  const this$ = this;
711
- return this$["studyDesignDescriptors@590-1"];
743
+ return this$["studyDesignDescriptors@593-1"];
712
744
  }
713
745
  set StudyDesignDescriptors(n) {
714
746
  const this$ = this;
715
- this$["studyDesignDescriptors@590-1"] = n;
747
+ this$["studyDesignDescriptors@593-1"] = n;
716
748
  }
717
749
  get Datamap() {
718
750
  const this$ = this;
719
- return unwrap(this$["datamap@591"]);
751
+ return unwrap(this$["datamap@594"]);
720
752
  }
721
753
  set Datamap(n) {
722
754
  const this$ = this;
723
- this$["datamap@591"] = n;
755
+ this$["datamap@594"] = n;
724
756
  }
725
757
  get RegisteredAssayIdentifiers() {
726
758
  const this$ = this;
727
- return this$["registeredAssayIdentifiers@592-1"];
759
+ return this$["registeredAssayIdentifiers@595-1"];
728
760
  }
729
761
  set RegisteredAssayIdentifiers(n) {
730
762
  const this$ = this;
731
- this$["registeredAssayIdentifiers@592-1"] = n;
763
+ this$["registeredAssayIdentifiers@595-1"] = n;
732
764
  }
733
765
  get Comments() {
734
766
  const this$ = this;
735
- return this$["comments@593-1"];
767
+ return this$["comments@596-1"];
736
768
  }
737
769
  set Comments(n) {
738
770
  const this$ = this;
739
- this$["comments@593-1"] = n;
771
+ this$["comments@596-1"] = n;
740
772
  }
741
773
  get StaticHash() {
742
774
  const this$ = this;
@@ -755,6 +787,9 @@ class ArcStudy extends ArcTables {
755
787
  static make(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
756
788
  return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), publications, contacts, studyDesignDescriptors, tables, unwrap(datamap), registeredAssayIdentifiers, comments);
757
789
  }
790
+ /**
791
+ * Returns true if all fields are None/ empty sequences **except** Identifier.
792
+ */
758
793
  get isEmpty() {
759
794
  const this$ = this;
760
795
  return equals(this$.Title, void 0) && equals(this$.Description, void 0) && equals(this$.SubmissionDate, void 0) && equals(this$.PublicReleaseDate, void 0) && this$.Publications.length === 0 && this$.Contacts.length === 0 && this$.StudyDesignDescriptors.length === 0 && this$.Tables.length === 0 && this$.RegisteredAssayIdentifiers.length === 0 && this$.Comments.length === 0;
@@ -762,14 +797,23 @@ class ArcStudy extends ArcTables {
762
797
  static get FileName() {
763
798
  return "isa.study.xlsx";
764
799
  }
800
+ /**
801
+ * Returns the count of registered assay *identifiers*. This is not necessarily the same as the count of registered assays, as not all identifiers correspond to an existing assay.
802
+ */
765
803
  get RegisteredAssayIdentifierCount() {
766
804
  const this$ = this;
767
805
  return this$.RegisteredAssayIdentifiers.length | 0;
768
806
  }
807
+ /**
808
+ * Returns the count of registered assays. This is not necessarily the same as the count of registered assay *identifiers*, as not all identifiers correspond to an existing assay.
809
+ */
769
810
  get RegisteredAssayCount() {
770
811
  const this$ = this;
771
812
  return this$.RegisteredAssays.length | 0;
772
813
  }
814
+ /**
815
+ * Returns all assays registered in this study, that correspond to an existing assay object in the associated investigation.
816
+ */
773
817
  get RegisteredAssays() {
774
818
  const this$ = this;
775
819
  let inv;
@@ -777,11 +821,14 @@ class ArcStudy extends ArcTables {
777
821
  if (investigation != null) {
778
822
  inv = value(investigation);
779
823
  } else {
780
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
824
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
781
825
  }
782
826
  const collection = choose((assayIdentifier) => inv.TryGetAssay(assayIdentifier), this$.RegisteredAssayIdentifiers);
783
827
  return Array.from(collection);
784
828
  }
829
+ /**
830
+ * Returns all registered assay identifiers that do not correspond to an existing assay object in the associated investigation.
831
+ */
785
832
  get VacantAssayIdentifiers() {
786
833
  const this$ = this;
787
834
  let inv;
@@ -789,11 +836,14 @@ class ArcStudy extends ArcTables {
789
836
  if (investigation != null) {
790
837
  inv = value(investigation);
791
838
  } else {
792
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
839
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
793
840
  }
794
841
  const collection = filter((arg) => !inv.ContainsAssay(arg), this$.RegisteredAssayIdentifiers);
795
842
  return Array.from(collection);
796
843
  }
844
+ /**
845
+ * Add assay to investigation and register it to study.
846
+ */
797
847
  AddRegisteredAssay(assay) {
798
848
  const this$ = this;
799
849
  let inv;
@@ -801,7 +851,7 @@ class ArcStudy extends ArcTables {
801
851
  if (investigation != null) {
802
852
  inv = value(investigation);
803
853
  } else {
804
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
854
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
805
855
  }
806
856
  inv.AddAssay(assay);
807
857
  inv.RegisterAssay(this$.Identifier, assay.Identifier);
@@ -829,9 +879,9 @@ class ArcStudy extends ArcTables {
829
879
  const this$ = this;
830
880
  if (contains(assayIdentifier, this$.RegisteredAssayIdentifiers, {
831
881
  Equals: (x, y) => x === y,
832
- GetHashCode: stringHash
882
+ GetHashCode: (x) => stringHash(x) | 0
833
883
  })) {
834
- throw new Error(`Assay \`${assayIdentifier}\` is already registered on the study.`);
884
+ throw new Exception(concat("Assay `", assayIdentifier, "` is already registered on the study."));
835
885
  }
836
886
  void this$.RegisteredAssayIdentifiers.push(assayIdentifier);
837
887
  }
@@ -846,7 +896,7 @@ class ArcStudy extends ArcTables {
846
896
  const this$ = this;
847
897
  removeInPlace(assayIdentifier, this$.RegisteredAssayIdentifiers, {
848
898
  Equals: (x, y) => x === y,
849
- GetHashCode: stringHash
899
+ GetHashCode: (x) => stringHash(x) | 0
850
900
  });
851
901
  }
852
902
  static deregisterAssay(assayIdentifier) {
@@ -860,16 +910,16 @@ class ArcStudy extends ArcTables {
860
910
  const this$ = this;
861
911
  if (!contains(assayIdentifier, this$.RegisteredAssayIdentifiers, {
862
912
  Equals: (x, y) => x === y,
863
- GetHashCode: stringHash
913
+ GetHashCode: (x) => stringHash(x) | 0
864
914
  })) {
865
- throw new Error(`Assay \`${assayIdentifier}\` is not registered on the study.`);
915
+ throw new Exception(concat("Assay `", assayIdentifier, "` is not registered on the study."));
866
916
  }
867
917
  let inv;
868
918
  const investigation = this$.Investigation;
869
919
  if (investigation != null) {
870
920
  inv = value(investigation);
871
921
  } else {
872
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
922
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
873
923
  }
874
924
  return inv.GetAssay(assayIdentifier);
875
925
  }
@@ -885,6 +935,9 @@ class ArcStudy extends ArcTables {
885
935
  return copy.RegisteredAssays;
886
936
  };
887
937
  }
938
+ /**
939
+ * Returns ArcAssays registered in study, or if no parent exists, initializies new ArcAssay from identifier.
940
+ */
888
941
  GetRegisteredAssaysOrIdentifier() {
889
942
  const this$ = this;
890
943
  const matchValue = this$.Investigation;
@@ -902,6 +955,9 @@ class ArcStudy extends ArcTables {
902
955
  }, this$.RegisteredAssayIdentifiers);
903
956
  }
904
957
  }
958
+ /**
959
+ * Returns ArcAssays registered in study, or if no parent exists, initializies new ArcAssay from identifier.
960
+ */
905
961
  static getRegisteredAssaysOrIdentifier() {
906
962
  return (study) => {
907
963
  const copy = study.Copy();
@@ -935,12 +991,18 @@ class ArcStudy extends ArcTables {
935
991
  return c;
936
992
  };
937
993
  }
994
+ /**
995
+ * Receive **copy** of table at `index`
996
+ */
938
997
  static getTableAt(index) {
939
998
  return (study) => {
940
999
  const newAssay = study.Copy();
941
1000
  return newAssay.GetTableAt(index);
942
1001
  };
943
1002
  }
1003
+ /**
1004
+ * Receive **copy** of table with `name` = `ArcTable.Name`
1005
+ */
944
1006
  static getTable(name) {
945
1007
  return (study) => {
946
1008
  const newAssay = study.Copy();
@@ -1133,7 +1195,15 @@ class ArcStudy extends ArcTables {
1133
1195
  const this$ = this;
1134
1196
  this$.Investigation = void 0;
1135
1197
  }
1198
+ /**
1199
+ * Copies ArcStudy object without the pointer to the parent ArcInvestigation
1200
+ *
1201
+ * This copy does only contain the identifiers of the registered ArcAssays and not the actual objects.
1202
+ *
1203
+ * In order to copy the ArcAssays as well, use the Copy() method of the ArcInvestigation.
1204
+ */
1136
1205
  Copy(copyInvestigationRef) {
1206
+ let d = void 0;
1137
1207
  const this$ = this;
1138
1208
  const copyInvestigationRef_1 = defaultArg(copyInvestigationRef, false);
1139
1209
  const nextTables = [];
@@ -1152,7 +1222,9 @@ class ArcStudy extends ArcTables {
1152
1222
  const nextContacts = ResizeArray_map((c_1) => c_1.Copy(), this$.Contacts);
1153
1223
  const nextPublications = ResizeArray_map((c_2) => c_2.Copy(), this$.Publications);
1154
1224
  const nextStudyDesignDescriptors = ResizeArray_map((c_3) => c_3.Copy(), this$.StudyDesignDescriptors);
1155
- const nextDatamap = map((d) => d.Copy(), this$.Datamap);
1225
+ let nextDatamap;
1226
+ const option_1 = this$.Datamap;
1227
+ nextDatamap = option_1 != null ? (d = value(option_1), d.Copy()) : void 0;
1156
1228
  let study;
1157
1229
  const identifier = this$.Identifier;
1158
1230
  const title = this$.Title;
@@ -1165,6 +1237,9 @@ class ArcStudy extends ArcTables {
1165
1237
  }
1166
1238
  return study;
1167
1239
  }
1240
+ /**
1241
+ * Updates given study from an investigation file against a study from a study file. Identifier will never be updated.
1242
+ */
1168
1243
  UpdateReferenceByStudyFile(study, onlyReplaceExisting, keepUnusedRefTables) {
1169
1244
  const this$ = this;
1170
1245
  const updateAlways = !defaultArg(onlyReplaceExisting, false);
@@ -1202,7 +1277,7 @@ class ArcStudy extends ArcTables {
1202
1277
  }
1203
1278
  }
1204
1279
  StructurallyEquals(other) {
1205
- let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5;
1280
+ let a = void 0, b = void 0, a_1 = void 0, b_1 = void 0, a_2 = void 0, b_2 = void 0, a_3 = void 0, b_3 = void 0, a_4 = void 0, b_4 = void 0, a_5 = void 0, b_5 = void 0;
1206
1281
  const this$ = this;
1207
1282
  return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), equals(this$.Datamap, other.Datamap), (a = this$.Publications, b = other.Publications, length(a) === length(b) && fold((acc, e) => {
1208
1283
  if (acc) {
@@ -1210,38 +1285,43 @@ class ArcStudy extends ArcTables {
1210
1285
  } else {
1211
1286
  return false;
1212
1287
  }
1213
- }, true, toList(delay(() => map$1((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Contacts, b_1 = other.Contacts, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
1288
+ }, true, toList(delay(() => map((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Contacts, b_1 = other.Contacts, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
1214
1289
  if (acc_1) {
1215
1290
  return e_1;
1216
1291
  } else {
1217
1292
  return false;
1218
1293
  }
1219
- }, true, toList(delay(() => map$1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.StudyDesignDescriptors, b_2 = other.StudyDesignDescriptors, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
1294
+ }, true, toList(delay(() => map((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.StudyDesignDescriptors, b_2 = other.StudyDesignDescriptors, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
1220
1295
  if (acc_2) {
1221
1296
  return e_2;
1222
1297
  } else {
1223
1298
  return false;
1224
1299
  }
1225
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), (a_3 = this$.Tables, b_3 = other.Tables, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
1300
+ }, true, toList(delay(() => map((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), (a_3 = this$.Tables, b_3 = other.Tables, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
1226
1301
  if (acc_3) {
1227
1302
  return e_3;
1228
1303
  } else {
1229
1304
  return false;
1230
1305
  }
1231
- }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.RegisteredAssayIdentifiers, b_4 = other.RegisteredAssayIdentifiers, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
1306
+ }, true, toList(delay(() => map((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.RegisteredAssayIdentifiers, b_4 = other.RegisteredAssayIdentifiers, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
1232
1307
  if (acc_4) {
1233
1308
  return e_4;
1234
1309
  } else {
1235
1310
  return false;
1236
1311
  }
1237
- }, true, toList(delay(() => map$1((i_5) => item(i_5, a_4) === item(i_5, b_4), rangeDouble(0, 1, length(a_4) - 1)))))), (a_5 = this$.Comments, b_5 = other.Comments, length(a_5) === length(b_5) && fold((acc_5, e_5) => {
1312
+ }, true, toList(delay(() => map((i_5) => item(i_5, a_4) === item(i_5, b_4), rangeDouble(0, 1, length(a_4) - 1)))))), (a_5 = this$.Comments, b_5 = other.Comments, length(a_5) === length(b_5) && fold((acc_5, e_5) => {
1238
1313
  if (acc_5) {
1239
1314
  return e_5;
1240
1315
  } else {
1241
1316
  return false;
1242
1317
  }
1243
- }, true, toList(delay(() => map$1((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))]);
1318
+ }, true, toList(delay(() => map((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))]);
1244
1319
  }
1320
+ /**
1321
+ * Use this function to check if this ArcStudy and the input ArcStudy refer to the same object.
1322
+ *
1323
+ * If true, updating one will update the other due to mutability.
1324
+ */
1245
1325
  ReferenceEquals(other) {
1246
1326
  const this$ = this;
1247
1327
  return this$ === other;
@@ -1262,7 +1342,7 @@ class ArcStudy extends ArcTables {
1262
1342
  return toText(printf("ArcStudy {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n SubmissionDate = %A,\r\n PublicReleaseDate = %A,\r\n Publications = %A,\r\n Contacts = %A,\r\n StudyDesignDescriptors = %A,\r\n Tables = %A,\r\n RegisteredAssayIdentifiers = %A,\r\n Comments = %A,\r\n}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10);
1263
1343
  }
1264
1344
  Equals(other) {
1265
- let s;
1345
+ let s = void 0;
1266
1346
  const this$ = this;
1267
1347
  return other instanceof ArcStudy && (s = other, this$.StructurallyEquals(s));
1268
1348
  }
@@ -1283,30 +1363,36 @@ function ArcStudy_$ctor_Z273F64C5(identifier, title, description, submissionDate
1283
1363
  }
1284
1364
  class ArcWorkflow {
1285
1365
  constructor(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, cwlDescription, comments) {
1286
- let identifier_1;
1287
- this["identifier@1151"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1366
+ let identifier_1 = void 0;
1367
+ this["identifier@1157"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1288
1368
  this.investigation = void 0;
1289
- this["title@1156"] = title;
1290
- this["description@1157"] = description;
1291
- this["subWorkflowIdentifiers@1158"] = defaultArg(subWorkflowIdentifiers, []);
1292
- this["workflowType@1159"] = workflowType;
1293
- this["uri@1160"] = uri;
1294
- this["version@1161"] = version;
1295
- this["parameters@1162"] = defaultArg(parameters, []);
1296
- this["components@1163"] = defaultArg(components, []);
1297
- this["datamap@1164"] = datamap;
1298
- this["contacts@1165"] = defaultArg(contacts, []);
1299
- this["cwlDescription@1166"] = cwlDescription;
1300
- this["comments@1167"] = defaultArg(comments, []);
1369
+ this["title@1162"] = title;
1370
+ this["description@1163"] = description;
1371
+ this["subWorkflowIdentifiers@1164"] = defaultArg(subWorkflowIdentifiers, []);
1372
+ this["workflowType@1165"] = workflowType;
1373
+ this["uri@1166"] = uri;
1374
+ this["version@1167"] = version;
1375
+ this["parameters@1168"] = defaultArg(parameters, []);
1376
+ this["components@1169"] = defaultArg(components, []);
1377
+ this["datamap@1170"] = datamap;
1378
+ this["contacts@1171"] = defaultArg(contacts, []);
1379
+ this["cwlDescription@1172"] = cwlDescription;
1380
+ this["comments@1173"] = defaultArg(comments, []);
1301
1381
  this.staticHash = 0;
1302
1382
  }
1383
+ /**
1384
+ * Must be unique in one study
1385
+ */
1303
1386
  get Identifier() {
1304
1387
  const this$ = this;
1305
- return this$["identifier@1151"];
1388
+ return this$["identifier@1157"];
1306
1389
  }
1390
+ /**
1391
+ * Must be unique in one study
1392
+ */
1307
1393
  set Identifier(i) {
1308
1394
  const this$ = this;
1309
- this$["identifier@1151"] = i;
1395
+ this$["identifier@1157"] = i;
1310
1396
  }
1311
1397
  get Investigation() {
1312
1398
  const this$ = this;
@@ -1318,99 +1404,99 @@ class ArcWorkflow {
1318
1404
  }
1319
1405
  get Title() {
1320
1406
  const this$ = this;
1321
- return unwrap(this$["title@1156"]);
1407
+ return unwrap(this$["title@1162"]);
1322
1408
  }
1323
1409
  set Title(t) {
1324
1410
  const this$ = this;
1325
- this$["title@1156"] = t;
1411
+ this$["title@1162"] = t;
1326
1412
  }
1327
1413
  get Description() {
1328
1414
  const this$ = this;
1329
- return unwrap(this$["description@1157"]);
1415
+ return unwrap(this$["description@1163"]);
1330
1416
  }
1331
1417
  set Description(d) {
1332
1418
  const this$ = this;
1333
- this$["description@1157"] = d;
1419
+ this$["description@1163"] = d;
1334
1420
  }
1335
1421
  get SubWorkflowIdentifiers() {
1336
1422
  const this$ = this;
1337
- return this$["subWorkflowIdentifiers@1158"];
1423
+ return this$["subWorkflowIdentifiers@1164"];
1338
1424
  }
1339
1425
  set SubWorkflowIdentifiers(s) {
1340
1426
  const this$ = this;
1341
- this$["subWorkflowIdentifiers@1158"] = s;
1427
+ this$["subWorkflowIdentifiers@1164"] = s;
1342
1428
  }
1343
1429
  get WorkflowType() {
1344
1430
  const this$ = this;
1345
- return unwrap(this$["workflowType@1159"]);
1431
+ return unwrap(this$["workflowType@1165"]);
1346
1432
  }
1347
1433
  set WorkflowType(w) {
1348
1434
  const this$ = this;
1349
- this$["workflowType@1159"] = w;
1435
+ this$["workflowType@1165"] = w;
1350
1436
  }
1351
1437
  get URI() {
1352
1438
  const this$ = this;
1353
- return unwrap(this$["uri@1160"]);
1439
+ return unwrap(this$["uri@1166"]);
1354
1440
  }
1355
1441
  set URI(u) {
1356
1442
  const this$ = this;
1357
- this$["uri@1160"] = u;
1443
+ this$["uri@1166"] = u;
1358
1444
  }
1359
1445
  get Version() {
1360
1446
  const this$ = this;
1361
- return unwrap(this$["version@1161"]);
1447
+ return unwrap(this$["version@1167"]);
1362
1448
  }
1363
1449
  set Version(v) {
1364
1450
  const this$ = this;
1365
- this$["version@1161"] = v;
1451
+ this$["version@1167"] = v;
1366
1452
  }
1367
1453
  get Parameters() {
1368
1454
  const this$ = this;
1369
- return this$["parameters@1162"];
1455
+ return this$["parameters@1168"];
1370
1456
  }
1371
1457
  set Parameters(p) {
1372
1458
  const this$ = this;
1373
- this$["parameters@1162"] = p;
1459
+ this$["parameters@1168"] = p;
1374
1460
  }
1375
1461
  get Components() {
1376
1462
  const this$ = this;
1377
- return this$["components@1163"];
1463
+ return this$["components@1169"];
1378
1464
  }
1379
1465
  set Components(c) {
1380
1466
  const this$ = this;
1381
- this$["components@1163"] = c;
1467
+ this$["components@1169"] = c;
1382
1468
  }
1383
1469
  get Datamap() {
1384
1470
  const this$ = this;
1385
- return unwrap(this$["datamap@1164"]);
1471
+ return unwrap(this$["datamap@1170"]);
1386
1472
  }
1387
1473
  set Datamap(dm) {
1388
1474
  const this$ = this;
1389
- this$["datamap@1164"] = dm;
1475
+ this$["datamap@1170"] = dm;
1390
1476
  }
1391
1477
  get Contacts() {
1392
1478
  const this$ = this;
1393
- return this$["contacts@1165"];
1479
+ return this$["contacts@1171"];
1394
1480
  }
1395
1481
  set Contacts(c) {
1396
1482
  const this$ = this;
1397
- this$["contacts@1165"] = c;
1483
+ this$["contacts@1171"] = c;
1398
1484
  }
1399
1485
  get CWLDescription() {
1400
1486
  const this$ = this;
1401
- return unwrap(this$["cwlDescription@1166"]);
1487
+ return unwrap(this$["cwlDescription@1172"]);
1402
1488
  }
1403
1489
  set CWLDescription(c) {
1404
1490
  const this$ = this;
1405
- this$["cwlDescription@1166"] = c;
1491
+ this$["cwlDescription@1172"] = c;
1406
1492
  }
1407
1493
  get Comments() {
1408
1494
  const this$ = this;
1409
- return this$["comments@1167"];
1495
+ return this$["comments@1173"];
1410
1496
  }
1411
1497
  set Comments(c) {
1412
1498
  const this$ = this;
1413
- this$["comments@1167"] = c;
1499
+ this$["comments@1173"] = c;
1414
1500
  }
1415
1501
  get StaticHash() {
1416
1502
  const this$ = this;
@@ -1432,14 +1518,23 @@ class ArcWorkflow {
1432
1518
  static get FileName() {
1433
1519
  return "isa.run.xlsx";
1434
1520
  }
1521
+ /**
1522
+ * Returns the count of registered subWorkflow *identifiers*. This is not necessarily the same as the count of registered subWorkflows, as not all identifiers correspond to an existing subWorkflow.
1523
+ */
1435
1524
  get SubWorkflowIdentifiersCount() {
1436
1525
  const this$ = this;
1437
1526
  return this$.SubWorkflowIdentifiers.length | 0;
1438
1527
  }
1528
+ /**
1529
+ * Returns the count of registered subWorkflows. This is not necessarily the same as the count of registered subWorkflow *identifiers*, as not all identifiers correspond to an existing subWorkflow.
1530
+ */
1439
1531
  get SubWorkflowCount() {
1440
1532
  const this$ = this;
1441
1533
  return this$.SubWorkflows.length | 0;
1442
1534
  }
1535
+ /**
1536
+ * Returns all subWorkflows registered in this workflow, that correspond to an existing subWorkflow object in the associated investigation.
1537
+ */
1443
1538
  get SubWorkflows() {
1444
1539
  const this$ = this;
1445
1540
  let inv;
@@ -1447,11 +1542,14 @@ class ArcWorkflow {
1447
1542
  if (investigation != null) {
1448
1543
  inv = value(investigation);
1449
1544
  } else {
1450
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
1545
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1451
1546
  }
1452
1547
  const collection = choose((workflowIdentifier) => inv.TryGetWorkflow(workflowIdentifier), this$.SubWorkflowIdentifiers);
1453
1548
  return Array.from(collection);
1454
1549
  }
1550
+ /**
1551
+ * Returns all registered subWorkflow identifiers that do not correspond to an existing subWorkflow object in the associated investigation.
1552
+ */
1455
1553
  get VacantSubWorkflowIdentifiers() {
1456
1554
  const this$ = this;
1457
1555
  let inv;
@@ -1459,11 +1557,14 @@ class ArcWorkflow {
1459
1557
  if (investigation != null) {
1460
1558
  inv = value(investigation);
1461
1559
  } else {
1462
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
1560
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1463
1561
  }
1464
1562
  const collection = filter((arg) => !inv.ContainsWorkflow(arg), this$.SubWorkflowIdentifiers);
1465
1563
  return Array.from(collection);
1466
1564
  }
1565
+ /**
1566
+ * Add subWorkflow to investigation and register it to workflow.
1567
+ */
1467
1568
  AddSubWorkflow(subWorkflow) {
1468
1569
  const this$ = this;
1469
1570
  let inv;
@@ -1471,7 +1572,7 @@ class ArcWorkflow {
1471
1572
  if (investigation != null) {
1472
1573
  inv = value(investigation);
1473
1574
  } else {
1474
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
1575
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1475
1576
  }
1476
1577
  inv.AddWorkflow(subWorkflow);
1477
1578
  }
@@ -1498,9 +1599,9 @@ class ArcWorkflow {
1498
1599
  const this$ = this;
1499
1600
  if (contains(subWorkflowIdentifier, this$.SubWorkflowIdentifiers, {
1500
1601
  Equals: (x, y) => x === y,
1501
- GetHashCode: stringHash
1602
+ GetHashCode: (x) => stringHash(x) | 0
1502
1603
  })) {
1503
- throw new Error(`SubWorkflow \`${subWorkflowIdentifier}\` is already registered on the workflow.`);
1604
+ throw new Exception(concat("SubWorkflow `", subWorkflowIdentifier, "` is already registered on the workflow."));
1504
1605
  }
1505
1606
  void this$.SubWorkflowIdentifiers.push(subWorkflowIdentifier);
1506
1607
  }
@@ -1515,7 +1616,7 @@ class ArcWorkflow {
1515
1616
  const this$ = this;
1516
1617
  removeInPlace(subWorkflowIdentifier, this$.SubWorkflowIdentifiers, {
1517
1618
  Equals: (x, y) => x === y,
1518
- GetHashCode: stringHash
1619
+ GetHashCode: (x) => stringHash(x) | 0
1519
1620
  });
1520
1621
  }
1521
1622
  static deregisterSubWorkflow(subWorkflowIdentifier) {
@@ -1529,16 +1630,16 @@ class ArcWorkflow {
1529
1630
  const this$ = this;
1530
1631
  if (!contains(subWorkflowIdentifier, this$.SubWorkflowIdentifiers, {
1531
1632
  Equals: (x, y) => x === y,
1532
- GetHashCode: stringHash
1633
+ GetHashCode: (x) => stringHash(x) | 0
1533
1634
  })) {
1534
- throw new Error(`SubWorkflow \`${subWorkflowIdentifier}\` is not registered on the workflow.`);
1635
+ throw new Exception(concat("SubWorkflow `", subWorkflowIdentifier, "` is not registered on the workflow."));
1535
1636
  }
1536
1637
  let inv;
1537
1638
  const investigation = this$.Investigation;
1538
1639
  if (investigation != null) {
1539
1640
  inv = value(investigation);
1540
1641
  } else {
1541
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
1642
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1542
1643
  }
1543
1644
  return inv.GetWorkflow(subWorkflowIdentifier);
1544
1645
  }
@@ -1554,6 +1655,9 @@ class ArcWorkflow {
1554
1655
  return copy.SubWorkflows;
1555
1656
  };
1556
1657
  }
1658
+ /**
1659
+ * Returns ArcSubWorkflows registered in workflow, or if no parent exists, initializies new ArcSubWorkflow from identifier.
1660
+ */
1557
1661
  GetRegisteredSubWorkflowsOrIdentifier() {
1558
1662
  const this$ = this;
1559
1663
  const matchValue = this$.Investigation;
@@ -1571,20 +1675,35 @@ class ArcWorkflow {
1571
1675
  }, this$.SubWorkflowIdentifiers);
1572
1676
  }
1573
1677
  }
1678
+ /**
1679
+ * Returns ArcSubWorkflows registered in workflow, or if no parent exists, initializies new ArcSubWorkflow from identifier.
1680
+ */
1574
1681
  static getRegisteredSubWorkflowsOrIdentifier() {
1575
1682
  return (workflow) => {
1576
1683
  const copy = workflow.Copy();
1577
1684
  return copy.GetRegisteredSubWorkflowsOrIdentifier();
1578
1685
  };
1579
1686
  }
1687
+ /**
1688
+ * Copies ArcStudy object without the pointer to the parent ArcInvestigation
1689
+ *
1690
+ * This copy does only contain the identifiers of the registered ArcAssays and not the actual objects.
1691
+ *
1692
+ * In order to copy the ArcAssays as well, use the Copy() method of the ArcInvestigation.
1693
+ */
1580
1694
  Copy(copyInvestigationRef) {
1695
+ let w = void 0, d = void 0;
1581
1696
  const this$ = this;
1582
1697
  const copyInvestigationRef_1 = defaultArg(copyInvestigationRef, false);
1583
- const nextWorkFlowType = map((w) => w.Copy(), this$.WorkflowType);
1698
+ let nextWorkFlowType;
1699
+ const option_1 = this$.WorkflowType;
1700
+ nextWorkFlowType = option_1 != null ? (w = value(option_1), w.Copy()) : void 0;
1584
1701
  const nextSubWorkflowIdentifiers = Array.from(this$.SubWorkflowIdentifiers);
1585
1702
  const nextParameters = ResizeArray_map((x) => x, this$.Parameters);
1586
1703
  const nextComponents = ResizeArray_map((x_1) => x_1, this$.Components);
1587
- const nextDatamap = map((d) => d.Copy(), this$.Datamap);
1704
+ let nextDatamap;
1705
+ const option_3 = this$.Datamap;
1706
+ nextDatamap = option_3 != null ? (d = value(option_3), d.Copy()) : void 0;
1588
1707
  const nextContacts = ResizeArray_map((c) => c.Copy(), this$.Contacts);
1589
1708
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
1590
1709
  let workflow;
@@ -1601,7 +1720,7 @@ class ArcWorkflow {
1601
1720
  return workflow;
1602
1721
  }
1603
1722
  StructurallyEquals(other) {
1604
- let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4;
1723
+ let a = void 0, b = void 0, a_1 = void 0, b_1 = void 0, a_2 = void 0, b_2 = void 0, a_3 = void 0, b_3 = void 0, a_4 = void 0, b_4 = void 0;
1605
1724
  const this$ = this;
1606
1725
  return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.WorkflowType, other.WorkflowType), equals(this$.URI, other.URI), equals(this$.Version, other.Version), (a = this$.SubWorkflowIdentifiers, b = other.SubWorkflowIdentifiers, length(a) === length(b) && fold((acc, e) => {
1607
1726
  if (acc) {
@@ -1609,32 +1728,37 @@ class ArcWorkflow {
1609
1728
  } else {
1610
1729
  return false;
1611
1730
  }
1612
- }, true, toList(delay(() => map$1((i_1) => item(i_1, a) === item(i_1, b), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Parameters, b_1 = other.Parameters, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
1731
+ }, true, toList(delay(() => map((i_1) => item(i_1, a) === item(i_1, b), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Parameters, b_1 = other.Parameters, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
1613
1732
  if (acc_1) {
1614
1733
  return e_1;
1615
1734
  } else {
1616
1735
  return false;
1617
1736
  }
1618
- }, true, toList(delay(() => map$1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.Components, b_2 = other.Components, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
1737
+ }, true, toList(delay(() => map((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.Components, b_2 = other.Components, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
1619
1738
  if (acc_2) {
1620
1739
  return e_2;
1621
1740
  } else {
1622
1741
  return false;
1623
1742
  }
1624
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.Datamap, other.Datamap), (a_3 = this$.Contacts, b_3 = other.Contacts, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
1743
+ }, true, toList(delay(() => map((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.Datamap, other.Datamap), (a_3 = this$.Contacts, b_3 = other.Contacts, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
1625
1744
  if (acc_3) {
1626
1745
  return e_3;
1627
1746
  } else {
1628
1747
  return false;
1629
1748
  }
1630
- }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), equals(this$.CWLDescription, other.CWLDescription), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
1749
+ }, true, toList(delay(() => map((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), equals(this$.CWLDescription, other.CWLDescription), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
1631
1750
  if (acc_4) {
1632
1751
  return e_4;
1633
1752
  } else {
1634
1753
  return false;
1635
1754
  }
1636
- }, true, toList(delay(() => map$1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))]);
1755
+ }, true, toList(delay(() => map((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))]);
1637
1756
  }
1757
+ /**
1758
+ * Use this function to check if this ArcWorkflow and the input ArcWorkflow refer to the same object.
1759
+ *
1760
+ * If true, updating one will update the other due to mutability.
1761
+ */
1638
1762
  ReferenceEquals(other) {
1639
1763
  const this$ = this;
1640
1764
  return this$ === other;
@@ -1656,7 +1780,7 @@ class ArcWorkflow {
1656
1780
  return toText(printf("ArcWorkflow {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n WorkflowType = %A,\r\n URI = %A,\r\n Version = %A,\r\n SubWorkflowIdentifiers = %A,\r\n Parameters = %A,\r\n Components = %A,\r\n Datamap = %A,\r\n Contacts = %A,\r\n Comments = %A}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11);
1657
1781
  }
1658
1782
  Equals(other) {
1659
- let s;
1783
+ let s = void 0;
1660
1784
  const this$ = this;
1661
1785
  return other instanceof ArcWorkflow && (s = other, this$.StructurallyEquals(s));
1662
1786
  }
@@ -1678,33 +1802,39 @@ function ArcWorkflow_$ctor_Z5FF2D3D5(identifier, title, description, workflowTyp
1678
1802
  class ArcRun extends ArcTables {
1679
1803
  constructor(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, cwlDescription, cwlInput, comments) {
1680
1804
  super(defaultArg(tables, []));
1681
- let identifier_1;
1805
+ let identifier_1 = void 0;
1682
1806
  const performers_1 = defaultArg(performers, []);
1683
1807
  const comments_1 = defaultArg(comments, []);
1684
1808
  const workflowIdentifiers_1 = defaultArg(workflowIdentifiers, []);
1685
1809
  const cwlInput_1 = defaultArg(cwlInput, []);
1686
- this["identifier@1453"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1687
- this["title@1457"] = title;
1688
- this["description@1458"] = description;
1810
+ this["identifier@1462"] = (identifier_1 = identifier.trim(), checkValidCharacters(identifier_1), identifier_1);
1811
+ this["title@1466"] = title;
1812
+ this["description@1467"] = description;
1689
1813
  this.investigation = void 0;
1690
- this["measurementType@1460"] = measurementType;
1691
- this["technologyType@1461"] = technologyType;
1692
- this["technologyPlatform@1462"] = technologyPlatform;
1693
- this["workflowIdentifiers@1463-1"] = workflowIdentifiers_1;
1694
- this["datamap@1464"] = datamap;
1695
- this["performers@1465-1"] = performers_1;
1696
- this["cwlDescription@1466"] = cwlDescription;
1697
- this["cwlInput@1467-1"] = cwlInput_1;
1698
- this["comments@1468-1"] = comments_1;
1814
+ this["measurementType@1469"] = measurementType;
1815
+ this["technologyType@1470"] = technologyType;
1816
+ this["technologyPlatform@1471"] = technologyPlatform;
1817
+ this["workflowIdentifiers@1472-1"] = workflowIdentifiers_1;
1818
+ this["datamap@1473"] = datamap;
1819
+ this["performers@1474-1"] = performers_1;
1820
+ this["cwlDescription@1475"] = cwlDescription;
1821
+ this["cwlInput@1476-1"] = cwlInput_1;
1822
+ this["comments@1477-1"] = comments_1;
1699
1823
  this.staticHash = 0;
1700
1824
  }
1825
+ /**
1826
+ * Must be unique in one study
1827
+ */
1701
1828
  get Identifier() {
1702
1829
  const this$ = this;
1703
- return this$["identifier@1453"];
1830
+ return this$["identifier@1462"];
1704
1831
  }
1832
+ /**
1833
+ * Must be unique in one study
1834
+ */
1705
1835
  set Identifier(i) {
1706
1836
  const this$ = this;
1707
- this$["identifier@1453"] = i;
1837
+ this$["identifier@1462"] = i;
1708
1838
  }
1709
1839
  get Investigation() {
1710
1840
  const this$ = this;
@@ -1716,91 +1846,91 @@ class ArcRun extends ArcTables {
1716
1846
  }
1717
1847
  get Title() {
1718
1848
  const this$ = this;
1719
- return unwrap(this$["title@1457"]);
1849
+ return unwrap(this$["title@1466"]);
1720
1850
  }
1721
1851
  set Title(t) {
1722
1852
  const this$ = this;
1723
- this$["title@1457"] = t;
1853
+ this$["title@1466"] = t;
1724
1854
  }
1725
1855
  get Description() {
1726
1856
  const this$ = this;
1727
- return unwrap(this$["description@1458"]);
1857
+ return unwrap(this$["description@1467"]);
1728
1858
  }
1729
1859
  set Description(d) {
1730
1860
  const this$ = this;
1731
- this$["description@1458"] = d;
1861
+ this$["description@1467"] = d;
1732
1862
  }
1733
1863
  get MeasurementType() {
1734
1864
  const this$ = this;
1735
- return unwrap(this$["measurementType@1460"]);
1865
+ return unwrap(this$["measurementType@1469"]);
1736
1866
  }
1737
1867
  set MeasurementType(n) {
1738
1868
  const this$ = this;
1739
- this$["measurementType@1460"] = n;
1869
+ this$["measurementType@1469"] = n;
1740
1870
  }
1741
1871
  get TechnologyType() {
1742
1872
  const this$ = this;
1743
- return unwrap(this$["technologyType@1461"]);
1873
+ return unwrap(this$["technologyType@1470"]);
1744
1874
  }
1745
1875
  set TechnologyType(n) {
1746
1876
  const this$ = this;
1747
- this$["technologyType@1461"] = n;
1877
+ this$["technologyType@1470"] = n;
1748
1878
  }
1749
1879
  get TechnologyPlatform() {
1750
1880
  const this$ = this;
1751
- return unwrap(this$["technologyPlatform@1462"]);
1881
+ return unwrap(this$["technologyPlatform@1471"]);
1752
1882
  }
1753
1883
  set TechnologyPlatform(n) {
1754
1884
  const this$ = this;
1755
- this$["technologyPlatform@1462"] = n;
1885
+ this$["technologyPlatform@1471"] = n;
1756
1886
  }
1757
1887
  get WorkflowIdentifiers() {
1758
1888
  const this$ = this;
1759
- return this$["workflowIdentifiers@1463-1"];
1889
+ return this$["workflowIdentifiers@1472-1"];
1760
1890
  }
1761
1891
  set WorkflowIdentifiers(w) {
1762
1892
  const this$ = this;
1763
- this$["workflowIdentifiers@1463-1"] = w;
1893
+ this$["workflowIdentifiers@1472-1"] = w;
1764
1894
  }
1765
1895
  get Datamap() {
1766
1896
  const this$ = this;
1767
- return unwrap(this$["datamap@1464"]);
1897
+ return unwrap(this$["datamap@1473"]);
1768
1898
  }
1769
1899
  set Datamap(n) {
1770
1900
  const this$ = this;
1771
- this$["datamap@1464"] = n;
1901
+ this$["datamap@1473"] = n;
1772
1902
  }
1773
1903
  get Performers() {
1774
1904
  const this$ = this;
1775
- return this$["performers@1465-1"];
1905
+ return this$["performers@1474-1"];
1776
1906
  }
1777
1907
  set Performers(n) {
1778
1908
  const this$ = this;
1779
- this$["performers@1465-1"] = n;
1909
+ this$["performers@1474-1"] = n;
1780
1910
  }
1781
1911
  get CWLDescription() {
1782
1912
  const this$ = this;
1783
- return unwrap(this$["cwlDescription@1466"]);
1913
+ return unwrap(this$["cwlDescription@1475"]);
1784
1914
  }
1785
1915
  set CWLDescription(n) {
1786
1916
  const this$ = this;
1787
- this$["cwlDescription@1466"] = n;
1917
+ this$["cwlDescription@1475"] = n;
1788
1918
  }
1789
1919
  get CWLInput() {
1790
1920
  const this$ = this;
1791
- return this$["cwlInput@1467-1"];
1921
+ return this$["cwlInput@1476-1"];
1792
1922
  }
1793
1923
  set CWLInput(n) {
1794
1924
  const this$ = this;
1795
- this$["cwlInput@1467-1"] = n;
1925
+ this$["cwlInput@1476-1"] = n;
1796
1926
  }
1797
1927
  get Comments() {
1798
1928
  const this$ = this;
1799
- return this$["comments@1468-1"];
1929
+ return this$["comments@1477-1"];
1800
1930
  }
1801
1931
  set Comments(n) {
1802
1932
  const this$ = this;
1803
- this$["comments@1468-1"] = n;
1933
+ this$["comments@1477-1"] = n;
1804
1934
  }
1805
1935
  get StaticHash() {
1806
1936
  const this$ = this;
@@ -1822,6 +1952,9 @@ class ArcRun extends ArcTables {
1822
1952
  static get FileName() {
1823
1953
  return "isa.run.xlsx";
1824
1954
  }
1955
+ /**
1956
+ * Returns the count of workflow *identifiers*. This is not necessarily the same as the count of workflows, as not all identifiers correspond to an existing workflow.
1957
+ */
1825
1958
  get WorkflowIdentifierCount() {
1826
1959
  const this$ = this;
1827
1960
  return this$.WorkflowIdentifiers.length | 0;
@@ -1830,6 +1963,9 @@ class ArcRun extends ArcTables {
1830
1963
  const this$ = this;
1831
1964
  return this$.Workflows.length | 0;
1832
1965
  }
1966
+ /**
1967
+ * Returns all workflows registered in this run, that correspond to an existing workflow object in the associated investigation.
1968
+ */
1833
1969
  get Workflows() {
1834
1970
  const this$ = this;
1835
1971
  let inv;
@@ -1837,11 +1973,14 @@ class ArcRun extends ArcTables {
1837
1973
  if (investigation != null) {
1838
1974
  inv = value(investigation);
1839
1975
  } else {
1840
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
1976
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1841
1977
  }
1842
1978
  const collection = choose((workflowIdentifier) => inv.TryGetWorkflow(workflowIdentifier), this$.WorkflowIdentifiers);
1843
1979
  return Array.from(collection);
1844
1980
  }
1981
+ /**
1982
+ * Returns all registered workflow identifiers that do not correspond to an existing workflow object in the associated investigation.
1983
+ */
1845
1984
  get VacantWorkflowIdentifiers() {
1846
1985
  const this$ = this;
1847
1986
  let inv;
@@ -1849,7 +1988,7 @@ class ArcRun extends ArcTables {
1849
1988
  if (investigation != null) {
1850
1989
  inv = value(investigation);
1851
1990
  } else {
1852
- throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
1991
+ throw new Exception("Cannot execute this function. Object is not part of ArcInvestigation.");
1853
1992
  }
1854
1993
  const collection = filter((arg) => !inv.ContainsWorkflow(arg), this$.WorkflowIdentifiers);
1855
1994
  return Array.from(collection);
@@ -1881,12 +2020,18 @@ class ArcRun extends ArcTables {
1881
2020
  return c;
1882
2021
  };
1883
2022
  }
2023
+ /**
2024
+ * Receive **copy** of table at `index`
2025
+ */
1884
2026
  static getTableAt(index) {
1885
2027
  return (run) => {
1886
2028
  const newRun = run.Copy();
1887
2029
  return newRun.GetTableAt(index);
1888
2030
  };
1889
2031
  }
2032
+ /**
2033
+ * Receive **copy** of table with `name` = `ArcTable.Name`
2034
+ */
1890
2035
  static getTable(name) {
1891
2036
  return (run) => {
1892
2037
  const newRun = run.Copy();
@@ -2076,10 +2221,13 @@ class ArcRun extends ArcTables {
2076
2221
  return run;
2077
2222
  }
2078
2223
  Copy() {
2224
+ let d = void 0;
2079
2225
  const this$ = this;
2080
2226
  const nextTables = ResizeArray_map((c) => c.Copy(), this$.Tables);
2081
2227
  const nextComments = ResizeArray_map((c_1) => c_1.Copy(), this$.Comments);
2082
- const nextDatamap = map((d) => d.Copy(), this$.Datamap);
2228
+ let nextDatamap;
2229
+ const option_1 = this$.Datamap;
2230
+ nextDatamap = option_1 != null ? (d = value(option_1), d.Copy()) : void 0;
2083
2231
  const nextPerformers = ResizeArray_map((c_2) => c_2.Copy(), this$.Performers);
2084
2232
  const nextWorkflowIdentifiers = ResizeArray_map((c_3) => c_3, this$.WorkflowIdentifiers);
2085
2233
  const identifier = this$.Identifier;
@@ -2092,6 +2240,9 @@ class ArcRun extends ArcTables {
2092
2240
  const cwlInput = this$.CWLInput;
2093
2241
  return ArcRun.make(identifier, title, description, measurementType, technologyType, technologyPlatform, nextWorkflowIdentifiers, nextTables, nextDatamap, nextPerformers, cwlDescription, cwlInput, nextComments);
2094
2242
  }
2243
+ /**
2244
+ * Updates given run with another run, Identifier will never be updated. By default update is full replace. Optional Parameters can be used to specify update logic.
2245
+ */
2095
2246
  UpdateBy(run, onlyReplaceExisting, appendSequences) {
2096
2247
  const this$ = this;
2097
2248
  const onlyReplaceExisting_1 = defaultArg(onlyReplaceExisting, false);
@@ -2126,7 +2277,7 @@ class ArcRun extends ArcTables {
2126
2277
  const e = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
2127
2278
  if (!contains$1(e, combined, {
2128
2279
  Equals: (x_1, y) => x_1 === y,
2129
- GetHashCode: stringHash
2280
+ GetHashCode: (x_1) => stringHash(x_1) | 0
2130
2281
  })) {
2131
2282
  void combined.push(e);
2132
2283
  }
@@ -2140,7 +2291,7 @@ class ArcRun extends ArcTables {
2140
2291
  const e_1 = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
2141
2292
  if (!contains$1(e_1, combined, {
2142
2293
  Equals: (x_2, y_1) => x_2 === y_1,
2143
- GetHashCode: stringHash
2294
+ GetHashCode: (x_2) => stringHash(x_2) | 0
2144
2295
  })) {
2145
2296
  void combined.push(e_1);
2146
2297
  }
@@ -2169,7 +2320,7 @@ class ArcRun extends ArcTables {
2169
2320
  const e_2 = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
2170
2321
  if (!contains$1(e_2, combined_1, {
2171
2322
  Equals: equals,
2172
- GetHashCode: safeHash
2323
+ GetHashCode: (x_4) => safeHash(x_4) | 0
2173
2324
  })) {
2174
2325
  void combined_1.push(e_2);
2175
2326
  }
@@ -2183,7 +2334,7 @@ class ArcRun extends ArcTables {
2183
2334
  const e_1_1 = enumerator_1_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
2184
2335
  if (!contains$1(e_1_1, combined_1, {
2185
2336
  Equals: equals,
2186
- GetHashCode: safeHash
2337
+ GetHashCode: (x_5) => safeHash(x_5) | 0
2187
2338
  })) {
2188
2339
  void combined_1.push(e_1_1);
2189
2340
  }
@@ -2209,7 +2360,7 @@ class ArcRun extends ArcTables {
2209
2360
  const e_3 = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
2210
2361
  if (!contains$1(e_3, combined_2, {
2211
2362
  Equals: equals,
2212
- GetHashCode: safeHash
2363
+ GetHashCode: (x_7) => safeHash(x_7) | 0
2213
2364
  })) {
2214
2365
  void combined_2.push(e_3);
2215
2366
  }
@@ -2223,7 +2374,7 @@ class ArcRun extends ArcTables {
2223
2374
  const e_1_2 = enumerator_1_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
2224
2375
  if (!contains$1(e_1_2, combined_2, {
2225
2376
  Equals: equals,
2226
- GetHashCode: safeHash
2377
+ GetHashCode: (x_8) => safeHash(x_8) | 0
2227
2378
  })) {
2228
2379
  void combined_2.push(e_1_2);
2229
2380
  }
@@ -2252,7 +2403,7 @@ class ArcRun extends ArcTables {
2252
2403
  const e_4 = enumerator_4["System.Collections.Generic.IEnumerator`1.get_Current"]();
2253
2404
  if (!contains$1(e_4, combined_3, {
2254
2405
  Equals: equals,
2255
- GetHashCode: safeHash
2406
+ GetHashCode: (x_10) => safeHash(x_10) | 0
2256
2407
  })) {
2257
2408
  void combined_3.push(e_4);
2258
2409
  }
@@ -2266,7 +2417,7 @@ class ArcRun extends ArcTables {
2266
2417
  const e_1_3 = enumerator_1_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
2267
2418
  if (!contains$1(e_1_3, combined_3, {
2268
2419
  Equals: equals,
2269
- GetHashCode: safeHash
2420
+ GetHashCode: (x_11) => safeHash(x_11) | 0
2270
2421
  })) {
2271
2422
  void combined_3.push(e_1_3);
2272
2423
  }
@@ -2292,7 +2443,7 @@ class ArcRun extends ArcTables {
2292
2443
  const e_5 = enumerator_5["System.Collections.Generic.IEnumerator`1.get_Current"]();
2293
2444
  if (!contains$1(e_5, combined_4, {
2294
2445
  Equals: equals,
2295
- GetHashCode: safeHash
2446
+ GetHashCode: (x_13) => safeHash(x_13) | 0
2296
2447
  })) {
2297
2448
  void combined_4.push(e_5);
2298
2449
  }
@@ -2306,7 +2457,7 @@ class ArcRun extends ArcTables {
2306
2457
  const e_1_4 = enumerator_1_4["System.Collections.Generic.IEnumerator`1.get_Current"]();
2307
2458
  if (!contains$1(e_1_4, combined_4, {
2308
2459
  Equals: equals,
2309
- GetHashCode: safeHash
2460
+ GetHashCode: (x_14) => safeHash(x_14) | 0
2310
2461
  })) {
2311
2462
  void combined_4.push(e_1_4);
2312
2463
  }
@@ -2343,7 +2494,7 @@ class ArcRun extends ArcTables {
2343
2494
  this$.Investigation = void 0;
2344
2495
  }
2345
2496
  StructurallyEquals(other) {
2346
- let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4;
2497
+ let a = void 0, b = void 0, a_1 = void 0, b_1 = void 0, a_2 = void 0, b_2 = void 0, a_3 = void 0, b_3 = void 0, a_4 = void 0, b_4 = void 0;
2347
2498
  const this$ = this;
2348
2499
  return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), (a = this$.WorkflowIdentifiers, b = other.WorkflowIdentifiers, length(a) === length(b) && fold((acc, e) => {
2349
2500
  if (acc) {
@@ -2351,38 +2502,43 @@ class ArcRun extends ArcTables {
2351
2502
  } else {
2352
2503
  return false;
2353
2504
  }
2354
- }, true, toList(delay(() => map$1((i_1) => item(i_1, a) === item(i_1, b), rangeDouble(0, 1, length(a) - 1)))))), equals(this$.Datamap, other.Datamap), (a_1 = this$.Tables, b_1 = other.Tables, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
2505
+ }, true, toList(delay(() => map((i_1) => item(i_1, a) === item(i_1, b), rangeDouble(0, 1, length(a) - 1)))))), equals(this$.Datamap, other.Datamap), (a_1 = this$.Tables, b_1 = other.Tables, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
2355
2506
  if (acc_1) {
2356
2507
  return e_1;
2357
2508
  } else {
2358
2509
  return false;
2359
2510
  }
2360
- }, true, toList(delay(() => map$1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.Performers, b_2 = other.Performers, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
2511
+ }, true, toList(delay(() => map((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.Performers, b_2 = other.Performers, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
2361
2512
  if (acc_2) {
2362
2513
  return e_2;
2363
2514
  } else {
2364
2515
  return false;
2365
2516
  }
2366
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.CWLDescription, other.CWLDescription), (a_3 = this$.CWLInput, b_3 = other.CWLInput, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
2517
+ }, true, toList(delay(() => map((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), equals(this$.CWLDescription, other.CWLDescription), (a_3 = this$.CWLInput, b_3 = other.CWLInput, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
2367
2518
  if (acc_3) {
2368
2519
  return e_3;
2369
2520
  } else {
2370
2521
  return false;
2371
2522
  }
2372
- }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
2523
+ }, true, toList(delay(() => map((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.Comments, b_4 = other.Comments, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
2373
2524
  if (acc_4) {
2374
2525
  return e_4;
2375
2526
  } else {
2376
2527
  return false;
2377
2528
  }
2378
- }, true, toList(delay(() => map$1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))]);
2529
+ }, true, toList(delay(() => map((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))]);
2379
2530
  }
2531
+ /**
2532
+ * Use this function to check if this ArcRun and the input ArcRun refer to the same object.
2533
+ *
2534
+ * If true, updating one will update the other due to mutability.
2535
+ */
2380
2536
  ReferenceEquals(other) {
2381
2537
  const this$ = this;
2382
2538
  return this$ === other;
2383
2539
  }
2384
2540
  Equals(other) {
2385
- let run;
2541
+ let run = void 0;
2386
2542
  const this$ = this;
2387
2543
  return other instanceof ArcRun && (run = other, this$.StructurallyEquals(run));
2388
2544
  }
@@ -2459,143 +2615,149 @@ class ArcInvestigation {
2459
2615
  const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
2460
2616
  const comments_1 = defaultArg(comments, []);
2461
2617
  const remarks_1 = defaultArg(remarks, []);
2462
- this["identifier@1951"] = identifier;
2463
- this["title@1952"] = title;
2464
- this["description@1953"] = description;
2465
- this["submissionDate@1954"] = submissionDate;
2466
- this["publicReleaseDate@1955"] = publicReleaseDate;
2467
- this["ontologySourceReferences@1956-1"] = ontologySourceReferences_1;
2468
- this["publications@1957-1"] = publications_1;
2469
- this["contacts@1958-1"] = contacts_1;
2470
- this["assays@1959-1"] = assays_1;
2471
- this["studies@1960-1"] = studies_1;
2472
- this["workflows@1961-1"] = workflows_1;
2473
- this["runs@1962-1"] = runs_1;
2474
- this["registeredStudyIdentifiers@1963-1"] = registeredStudyIdentifiers_1;
2475
- this["comments@1964-1"] = comments_1;
2476
- this["remarks@1965-1"] = remarks_1;
2618
+ this["identifier@1963"] = identifier;
2619
+ this["title@1964"] = title;
2620
+ this["description@1965"] = description;
2621
+ this["submissionDate@1966"] = submissionDate;
2622
+ this["publicReleaseDate@1967"] = publicReleaseDate;
2623
+ this["ontologySourceReferences@1968-1"] = ontologySourceReferences_1;
2624
+ this["publications@1969-1"] = publications_1;
2625
+ this["contacts@1970-1"] = contacts_1;
2626
+ this["assays@1971-1"] = assays_1;
2627
+ this["studies@1972-1"] = studies_1;
2628
+ this["workflows@1973-1"] = workflows_1;
2629
+ this["runs@1974-1"] = runs_1;
2630
+ this["registeredStudyIdentifiers@1975-1"] = registeredStudyIdentifiers_1;
2631
+ this["comments@1976-1"] = comments_1;
2632
+ this["remarks@1977-1"] = remarks_1;
2477
2633
  this.staticHash = 0;
2478
- this["init@1922"] = 1;
2634
+ this["init@1934"] = 1;
2479
2635
  }
2636
+ /**
2637
+ * Must be unique in one investigation
2638
+ */
2480
2639
  get Identifier() {
2481
2640
  const this$ = this;
2482
- return this$["identifier@1951"];
2641
+ return this$["identifier@1963"];
2483
2642
  }
2643
+ /**
2644
+ * Must be unique in one investigation
2645
+ */
2484
2646
  set Identifier(i) {
2485
2647
  const this$ = this;
2486
- this$["identifier@1951"] = i;
2648
+ this$["identifier@1963"] = i;
2487
2649
  }
2488
2650
  get Title() {
2489
2651
  const this$ = this;
2490
- return unwrap(this$["title@1952"]);
2652
+ return unwrap(this$["title@1964"]);
2491
2653
  }
2492
2654
  set Title(n) {
2493
2655
  const this$ = this;
2494
- this$["title@1952"] = n;
2656
+ this$["title@1964"] = n;
2495
2657
  }
2496
2658
  get Description() {
2497
2659
  const this$ = this;
2498
- return unwrap(this$["description@1953"]);
2660
+ return unwrap(this$["description@1965"]);
2499
2661
  }
2500
2662
  set Description(n) {
2501
2663
  const this$ = this;
2502
- this$["description@1953"] = n;
2664
+ this$["description@1965"] = n;
2503
2665
  }
2504
2666
  get SubmissionDate() {
2505
2667
  const this$ = this;
2506
- return unwrap(this$["submissionDate@1954"]);
2668
+ return unwrap(this$["submissionDate@1966"]);
2507
2669
  }
2508
2670
  set SubmissionDate(n) {
2509
2671
  const this$ = this;
2510
- this$["submissionDate@1954"] = n;
2672
+ this$["submissionDate@1966"] = n;
2511
2673
  }
2512
2674
  get PublicReleaseDate() {
2513
2675
  const this$ = this;
2514
- return unwrap(this$["publicReleaseDate@1955"]);
2676
+ return unwrap(this$["publicReleaseDate@1967"]);
2515
2677
  }
2516
2678
  set PublicReleaseDate(n) {
2517
2679
  const this$ = this;
2518
- this$["publicReleaseDate@1955"] = n;
2680
+ this$["publicReleaseDate@1967"] = n;
2519
2681
  }
2520
2682
  get OntologySourceReferences() {
2521
2683
  const this$ = this;
2522
- return this$["ontologySourceReferences@1956-1"];
2684
+ return this$["ontologySourceReferences@1968-1"];
2523
2685
  }
2524
2686
  set OntologySourceReferences(n) {
2525
2687
  const this$ = this;
2526
- this$["ontologySourceReferences@1956-1"] = n;
2688
+ this$["ontologySourceReferences@1968-1"] = n;
2527
2689
  }
2528
2690
  get Publications() {
2529
2691
  const this$ = this;
2530
- return this$["publications@1957-1"];
2692
+ return this$["publications@1969-1"];
2531
2693
  }
2532
2694
  set Publications(n) {
2533
2695
  const this$ = this;
2534
- this$["publications@1957-1"] = n;
2696
+ this$["publications@1969-1"] = n;
2535
2697
  }
2536
2698
  get Contacts() {
2537
2699
  const this$ = this;
2538
- return this$["contacts@1958-1"];
2700
+ return this$["contacts@1970-1"];
2539
2701
  }
2540
2702
  set Contacts(n) {
2541
2703
  const this$ = this;
2542
- this$["contacts@1958-1"] = n;
2704
+ this$["contacts@1970-1"] = n;
2543
2705
  }
2544
2706
  get Assays() {
2545
2707
  const this$ = this;
2546
- return this$["assays@1959-1"];
2708
+ return this$["assays@1971-1"];
2547
2709
  }
2548
2710
  set Assays(n) {
2549
2711
  const this$ = this;
2550
- this$["assays@1959-1"] = n;
2712
+ this$["assays@1971-1"] = n;
2551
2713
  }
2552
2714
  get Studies() {
2553
2715
  const this$ = this;
2554
- return this$["studies@1960-1"];
2716
+ return this$["studies@1972-1"];
2555
2717
  }
2556
2718
  set Studies(n) {
2557
2719
  const this$ = this;
2558
- this$["studies@1960-1"] = n;
2720
+ this$["studies@1972-1"] = n;
2559
2721
  }
2560
2722
  get Workflows() {
2561
2723
  const this$ = this;
2562
- return this$["workflows@1961-1"];
2724
+ return this$["workflows@1973-1"];
2563
2725
  }
2564
2726
  set Workflows(n) {
2565
2727
  const this$ = this;
2566
- this$["workflows@1961-1"] = n;
2728
+ this$["workflows@1973-1"] = n;
2567
2729
  }
2568
2730
  get Runs() {
2569
2731
  const this$ = this;
2570
- return this$["runs@1962-1"];
2732
+ return this$["runs@1974-1"];
2571
2733
  }
2572
2734
  set Runs(n) {
2573
2735
  const this$ = this;
2574
- this$["runs@1962-1"] = n;
2736
+ this$["runs@1974-1"] = n;
2575
2737
  }
2576
2738
  get RegisteredStudyIdentifiers() {
2577
2739
  const this$ = this;
2578
- return this$["registeredStudyIdentifiers@1963-1"];
2740
+ return this$["registeredStudyIdentifiers@1975-1"];
2579
2741
  }
2580
2742
  set RegisteredStudyIdentifiers(n) {
2581
2743
  const this$ = this;
2582
- this$["registeredStudyIdentifiers@1963-1"] = n;
2744
+ this$["registeredStudyIdentifiers@1975-1"] = n;
2583
2745
  }
2584
2746
  get Comments() {
2585
2747
  const this$ = this;
2586
- return this$["comments@1964-1"];
2748
+ return this$["comments@1976-1"];
2587
2749
  }
2588
2750
  set Comments(n) {
2589
2751
  const this$ = this;
2590
- this$["comments@1964-1"] = n;
2752
+ this$["comments@1976-1"] = n;
2591
2753
  }
2592
2754
  get Remarks() {
2593
2755
  const this$ = this;
2594
- return this$["remarks@1965-1"];
2756
+ return this$["remarks@1977-1"];
2595
2757
  }
2596
2758
  set Remarks(n) {
2597
2759
  const this$ = this;
2598
- this$["remarks@1965-1"] = n;
2760
+ this$["remarks@1977-1"] = n;
2599
2761
  }
2600
2762
  get StaticHash() {
2601
2763
  const this$ = this;
@@ -2623,7 +2785,7 @@ class ArcInvestigation {
2623
2785
  }
2624
2786
  get AssayIdentifiers() {
2625
2787
  const this$ = this;
2626
- return Array.from(map$1((x) => x.Identifier, this$.Assays));
2788
+ return Array.from(map((x) => x.Identifier, this$.Assays));
2627
2789
  }
2628
2790
  get UnregisteredAssays() {
2629
2791
  const this$ = this;
@@ -2632,10 +2794,10 @@ class ArcInvestigation {
2632
2794
  AddAssay(assay, registerIn) {
2633
2795
  const this$ = this;
2634
2796
  const assayIdent = assay.Identifier;
2635
- const matchValue = tryFindIndex((x_1) => x_1 === assayIdent, map$1((x) => x.Identifier, this$.Assays));
2797
+ const matchValue = tryFindIndex((x_1) => x_1 === assayIdent, map((x) => x.Identifier, this$.Assays));
2636
2798
  if (matchValue == null) {
2637
2799
  } else {
2638
- throw new Error(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
2800
+ throw new Exception(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
2639
2801
  }
2640
2802
  assay.Investigation = this$;
2641
2803
  void this$.Assays.push(assay);
@@ -2670,10 +2832,16 @@ class ArcInvestigation {
2670
2832
  return newInvestigation.InitAssay(assayIdentifier, unwrap(registerIn));
2671
2833
  };
2672
2834
  }
2835
+ /**
2836
+ * Removes assay at specified index from ArcInvestigation without deregistering it from studies.
2837
+ */
2673
2838
  DeleteAssayAt(index) {
2674
2839
  const this$ = this;
2675
2840
  this$.Assays.splice(index, 1);
2676
2841
  }
2842
+ /**
2843
+ * Removes assay at specified index from ArcInvestigation without deregistering it from studies.
2844
+ */
2677
2845
  static deleteAssayAt(index) {
2678
2846
  return (inv) => {
2679
2847
  const newInvestigation = inv.Copy();
@@ -2681,11 +2849,17 @@ class ArcInvestigation {
2681
2849
  return newInvestigation;
2682
2850
  };
2683
2851
  }
2852
+ /**
2853
+ * Removes assay with given identifier from ArcInvestigation without deregistering it from studies.
2854
+ */
2684
2855
  DeleteAssay(assayIdentifier) {
2685
2856
  const this$ = this;
2686
2857
  const index = this$.GetAssayIndex(assayIdentifier) | 0;
2687
2858
  this$.DeleteAssayAt(index);
2688
2859
  }
2860
+ /**
2861
+ * Removes assay with given identifier from ArcInvestigation without deregistering it from studies.
2862
+ */
2689
2863
  static deleteAssay(assayIdentifier) {
2690
2864
  return (inv) => {
2691
2865
  const newInv = inv.Copy();
@@ -2693,6 +2867,9 @@ class ArcInvestigation {
2693
2867
  return newInv;
2694
2868
  };
2695
2869
  }
2870
+ /**
2871
+ * Removes assay at specified index from ArcInvestigation and deregisteres it from all studies.
2872
+ */
2696
2873
  RemoveAssayAt(index) {
2697
2874
  const this$ = this;
2698
2875
  const ident = this$.GetAssayAt(index).Identifier;
@@ -2707,6 +2884,9 @@ class ArcInvestigation {
2707
2884
  disposeSafe(enumerator);
2708
2885
  }
2709
2886
  }
2887
+ /**
2888
+ * Removes assay at specified index from ArcInvestigation and deregisteres it from all studies.
2889
+ */
2710
2890
  static removeAssayAt(index) {
2711
2891
  return (inv) => {
2712
2892
  const newInvestigation = inv.Copy();
@@ -2714,11 +2894,17 @@ class ArcInvestigation {
2714
2894
  return newInvestigation;
2715
2895
  };
2716
2896
  }
2897
+ /**
2898
+ * Removes assay with specified identifier from ArcInvestigation and deregisteres it from all studies.
2899
+ */
2717
2900
  RemoveAssay(assayIdentifier) {
2718
2901
  const this$ = this;
2719
2902
  const index = this$.GetAssayIndex(assayIdentifier) | 0;
2720
2903
  this$.RemoveAssayAt(index);
2721
2904
  }
2905
+ /**
2906
+ * Removes assay with specified identifier from ArcInvestigation and deregisteres it from all studies.
2907
+ */
2722
2908
  static removeAssay(assayIdentifier) {
2723
2909
  return (inv) => {
2724
2910
  const newInv = inv.Copy();
@@ -2726,6 +2912,9 @@ class ArcInvestigation {
2726
2912
  return newInv;
2727
2913
  };
2728
2914
  }
2915
+ /**
2916
+ * Renames an assay in the whole investigation
2917
+ */
2729
2918
  RenameAssay(oldIdentifier, newIdentifier) {
2730
2919
  const this$ = this;
2731
2920
  iterate((a) => {
@@ -2737,7 +2926,7 @@ class ArcInvestigation {
2737
2926
  const index = tryFindIndex((ai) => ai === oldIdentifier, s.RegisteredAssayIdentifiers);
2738
2927
  if (index != null) {
2739
2928
  const index_1 = value(index) | 0;
2740
- s.RegisteredAssayIdentifiers[index_1] = newIdentifier;
2929
+ setItem(s.RegisteredAssayIdentifiers, index_1, newIdentifier);
2741
2930
  }
2742
2931
  }, this$.Studies);
2743
2932
  }
@@ -2748,6 +2937,9 @@ class ArcInvestigation {
2748
2937
  return newInv;
2749
2938
  };
2750
2939
  }
2940
+ /**
2941
+ * Renames an run in the whole investigation
2942
+ */
2751
2943
  RenameRun(oldIdentifier, newIdentifier) {
2752
2944
  const this$ = this;
2753
2945
  iterate((a) => {
@@ -2763,6 +2955,9 @@ class ArcInvestigation {
2763
2955
  return newInv;
2764
2956
  };
2765
2957
  }
2958
+ /**
2959
+ * Renames an workflow in the whole investigation
2960
+ */
2766
2961
  RenameWorkflow(oldIdentifier, newIdentifier) {
2767
2962
  const this$ = this;
2768
2963
  iterate((w) => {
@@ -2772,14 +2967,14 @@ class ArcInvestigation {
2772
2967
  const matchValue = tryFindIndex((subId) => subId === oldIdentifier, w.SubWorkflowIdentifiers);
2773
2968
  if (matchValue != null) {
2774
2969
  const i = value(matchValue) | 0;
2775
- w.SubWorkflowIdentifiers[i] = newIdentifier;
2970
+ setItem(w.SubWorkflowIdentifiers, i, newIdentifier);
2776
2971
  }
2777
2972
  }, this$.Workflows);
2778
2973
  iterate((r) => {
2779
2974
  const matchValue_1 = tryFindIndex((wId) => wId === oldIdentifier, r.WorkflowIdentifiers);
2780
2975
  if (matchValue_1 != null) {
2781
2976
  const i_1 = value(matchValue_1) | 0;
2782
- r.WorkflowIdentifiers[i_1] = newIdentifier;
2977
+ setItem(r.WorkflowIdentifiers, i_1, newIdentifier);
2783
2978
  }
2784
2979
  }, this$.Runs);
2785
2980
  }
@@ -2793,13 +2988,13 @@ class ArcInvestigation {
2793
2988
  SetAssayAt(index, assay) {
2794
2989
  const this$ = this;
2795
2990
  const assayIdent = assay.Identifier;
2796
- const matchValue = tryFindIndex((x) => x === assayIdent, map$1((a) => a.Identifier, removeAt(index, this$.Assays)));
2991
+ const matchValue = tryFindIndex((x) => x === assayIdent, map((a) => a.Identifier, removeAt(index, this$.Assays)));
2797
2992
  if (matchValue == null) {
2798
2993
  } else {
2799
- throw new Error(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
2994
+ throw new Exception(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
2800
2995
  }
2801
2996
  assay.Investigation = this$;
2802
- this$.Assays[index] = assay;
2997
+ setItem(this$.Assays, index, assay);
2803
2998
  this$.DeregisterMissingAssays();
2804
2999
  }
2805
3000
  static setAssayAt(index, assay) {
@@ -2825,16 +3020,16 @@ class ArcInvestigation {
2825
3020
  const this$ = this;
2826
3021
  const index = this$.Assays.findIndex((a) => a.Identifier === assayIdentifier) | 0;
2827
3022
  if (index === -1) {
2828
- throw new Error(`Unable to find assay with specified identifier '${assayIdentifier}'!`);
3023
+ throw new Exception(concat("Unable to find assay with specified identifier '", assayIdentifier, "'!"));
2829
3024
  }
2830
3025
  return index | 0;
2831
3026
  }
2832
3027
  static getAssayIndex(assayIdentifier) {
2833
- return (inv) => inv.GetAssayIndex(assayIdentifier);
3028
+ return (inv) => inv.GetAssayIndex(assayIdentifier) | 0;
2834
3029
  }
2835
3030
  GetAssayAt(index) {
2836
3031
  const this$ = this;
2837
- return this$.Assays[index];
3032
+ return item$1(index, this$.Assays);
2838
3033
  }
2839
3034
  static getAssayAt(index) {
2840
3035
  return (inv) => {
@@ -2846,7 +3041,7 @@ class ArcInvestigation {
2846
3041
  const this$ = this;
2847
3042
  const matchValue = this$.TryGetAssay(assayIdentifier);
2848
3043
  if (matchValue == null) {
2849
- throw new Error(ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier(assayIdentifier, this$.Identifier));
3044
+ throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier(assayIdentifier, this$.Identifier));
2850
3045
  } else {
2851
3046
  return value(matchValue);
2852
3047
  }
@@ -2874,18 +3069,30 @@ class ArcInvestigation {
2874
3069
  static containsAssay(assayIdentifier) {
2875
3070
  return (inv) => inv.ContainsAssay(assayIdentifier);
2876
3071
  }
3072
+ /**
3073
+ * Returns the count of registered study *identifiers*. This is not necessarily the same as the count of registered studies, as not all identifiers correspond to an existing study object.
3074
+ */
2877
3075
  get RegisteredStudyIdentifierCount() {
2878
3076
  const this$ = this;
2879
3077
  return this$.RegisteredStudyIdentifiers.length | 0;
2880
3078
  }
3079
+ /**
3080
+ * Returns all studies registered in this investigation, that correspond to an existing study object investigation.
3081
+ */
2881
3082
  get RegisteredStudies() {
2882
3083
  const this$ = this;
2883
3084
  return ResizeArray_choose((identifier) => this$.TryGetStudy(identifier), this$.RegisteredStudyIdentifiers);
2884
3085
  }
3086
+ /**
3087
+ * Returns the count of registered studies. This is not necessarily the same as the count of registered study *identifiers*, as not all identifiers correspond to an existing study object.
3088
+ */
2885
3089
  get RegisteredStudyCount() {
2886
3090
  const this$ = this;
2887
3091
  return this$.RegisteredStudies.length | 0;
2888
3092
  }
3093
+ /**
3094
+ * Returns all registered study identifiers that do not correspond to an existing study object in the investigation.
3095
+ */
2889
3096
  get VacantStudyIdentifiers() {
2890
3097
  const this$ = this;
2891
3098
  return ResizeArray_filter((arg) => !this$.ContainsStudy(arg), this$.RegisteredStudyIdentifiers);
@@ -2896,12 +3103,12 @@ class ArcInvestigation {
2896
3103
  }
2897
3104
  get StudyIdentifiers() {
2898
3105
  const this$ = this;
2899
- return toArray(map$1((x) => x.Identifier, this$.Studies));
3106
+ return toArray(map((x) => x.Identifier, this$.Studies));
2900
3107
  }
2901
3108
  get UnregisteredStudies() {
2902
3109
  const this$ = this;
2903
3110
  return ResizeArray_filter((s) => {
2904
- let source, x;
3111
+ let source = void 0, x = void 0;
2905
3112
  return !(source = this$.RegisteredStudyIdentifiers, exists((x = s.Identifier, (y) => x === y), source));
2906
3113
  }, this$.Studies);
2907
3114
  }
@@ -2911,7 +3118,7 @@ class ArcInvestigation {
2911
3118
  const matchValue = tryFindIndex((x) => x.Identifier === study_1.Identifier, this$.Studies);
2912
3119
  if (matchValue == null) {
2913
3120
  } else {
2914
- throw new Error(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
3121
+ throw new Exception(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
2915
3122
  }
2916
3123
  study.Investigation = this$;
2917
3124
  void this$.Studies.push(study);
@@ -2941,14 +3148,14 @@ class ArcInvestigation {
2941
3148
  const matchValue = tryFind((x) => x === studyIdent, this$.StudyIdentifiers);
2942
3149
  if (matchValue != null) {
2943
3150
  } else {
2944
- throw new Error(`The given study with identifier '${studyIdent}' must be added to Investigation before it can be registered.`);
3151
+ throw new Exception(concat("The given study with identifier '", studyIdent, "' must be added to Investigation before it can be registered."));
2945
3152
  }
2946
3153
  const studyIdent_1 = studyIdentifier;
2947
3154
  if (contains(studyIdent_1, this$.RegisteredStudyIdentifiers, {
2948
3155
  Equals: (x_1, y) => x_1 === y,
2949
- GetHashCode: stringHash
3156
+ GetHashCode: (x_1) => stringHash(x_1) | 0
2950
3157
  })) {
2951
- throw new Error(`Study with identifier '${studyIdent_1}' is already registered!`);
3158
+ throw new Exception(concat("Study with identifier '", studyIdent_1, "' is already registered!"));
2952
3159
  }
2953
3160
  void this$.RegisteredStudyIdentifiers.push(studyIdentifier);
2954
3161
  }
@@ -2972,10 +3179,16 @@ class ArcInvestigation {
2972
3179
  return copy;
2973
3180
  };
2974
3181
  }
3182
+ /**
3183
+ * Removes study at specified index from ArcInvestigation without deregistering it.
3184
+ */
2975
3185
  DeleteStudyAt(index) {
2976
3186
  const this$ = this;
2977
3187
  this$.Studies.splice(index, 1);
2978
3188
  }
3189
+ /**
3190
+ * Removes study at specified index from ArcInvestigation without deregistering it.
3191
+ */
2979
3192
  static deleteStudyAt(index) {
2980
3193
  return (i) => {
2981
3194
  const copy = i.Copy();
@@ -2983,11 +3196,17 @@ class ArcInvestigation {
2983
3196
  return copy;
2984
3197
  };
2985
3198
  }
3199
+ /**
3200
+ * Removes study with specified identifier from ArcInvestigation without deregistering it.
3201
+ */
2986
3202
  DeleteStudy(studyIdentifier) {
2987
3203
  const this$ = this;
2988
3204
  const index = this$.Studies.findIndex((s) => s.Identifier === studyIdentifier) | 0;
2989
3205
  this$.DeleteStudyAt(index);
2990
3206
  }
3207
+ /**
3208
+ * Removes study with specified identifier from ArcInvestigation without deregistering it.
3209
+ */
2991
3210
  static deleteStudy(studyIdentifier) {
2992
3211
  return (i) => {
2993
3212
  const copy = i.Copy();
@@ -2995,12 +3214,18 @@ class ArcInvestigation {
2995
3214
  return copy;
2996
3215
  };
2997
3216
  }
3217
+ /**
3218
+ * Removes study at specified index from ArcInvestigation and deregisteres it.
3219
+ */
2998
3220
  RemoveStudyAt(index) {
2999
3221
  const this$ = this;
3000
3222
  const ident = this$.GetStudyAt(index).Identifier;
3001
3223
  this$.Studies.splice(index, 1);
3002
3224
  this$.DeregisterStudy(ident);
3003
3225
  }
3226
+ /**
3227
+ * Removes study at specified index from ArcInvestigation and deregisteres it.
3228
+ */
3004
3229
  static removeStudyAt(index) {
3005
3230
  return (inv) => {
3006
3231
  const newInv = inv.Copy();
@@ -3008,11 +3233,17 @@ class ArcInvestigation {
3008
3233
  return newInv;
3009
3234
  };
3010
3235
  }
3236
+ /**
3237
+ * Removes study with specified identifier from ArcInvestigation and deregisteres it.
3238
+ */
3011
3239
  RemoveStudy(studyIdentifier) {
3012
3240
  const this$ = this;
3013
3241
  const index = this$.GetStudyIndex(studyIdentifier) | 0;
3014
3242
  this$.RemoveStudyAt(index);
3015
3243
  }
3244
+ /**
3245
+ * Removes study with specified identifier from ArcInvestigation and deregisteres it.
3246
+ */
3016
3247
  static removeStudy(studyIdentifier) {
3017
3248
  return (inv) => {
3018
3249
  const copy = inv.Copy();
@@ -3020,6 +3251,9 @@ class ArcInvestigation {
3020
3251
  return copy;
3021
3252
  };
3022
3253
  }
3254
+ /**
3255
+ * Renames a study in the whole investigation
3256
+ */
3023
3257
  RenameStudy(oldIdentifier, newIdentifier) {
3024
3258
  const this$ = this;
3025
3259
  iterate((s) => {
@@ -3030,9 +3264,12 @@ class ArcInvestigation {
3030
3264
  const index = tryFindIndex((si) => si === oldIdentifier, this$.RegisteredStudyIdentifiers);
3031
3265
  if (index != null) {
3032
3266
  const index_1 = value(index) | 0;
3033
- this$.RegisteredStudyIdentifiers[index_1] = newIdentifier;
3267
+ setItem(this$.RegisteredStudyIdentifiers, index_1, newIdentifier);
3034
3268
  }
3035
3269
  }
3270
+ /**
3271
+ * Renames a study in the whole investigation
3272
+ */
3036
3273
  static renameStudy(oldIdentifier, newIdentifier) {
3037
3274
  return (inv) => {
3038
3275
  const newInv = inv.Copy();
@@ -3046,10 +3283,10 @@ class ArcInvestigation {
3046
3283
  const matchValue = tryFindIndex((x) => x.Identifier === study_1.Identifier, removeAt(index, this$.Studies));
3047
3284
  if (matchValue == null) {
3048
3285
  } else {
3049
- throw new Error(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
3286
+ throw new Exception(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
3050
3287
  }
3051
3288
  study.Investigation = this$;
3052
- this$.Studies[index] = study;
3289
+ setItem(this$.Studies, index, study);
3053
3290
  }
3054
3291
  static setStudyAt(index, study) {
3055
3292
  return (inv) => {
@@ -3074,16 +3311,16 @@ class ArcInvestigation {
3074
3311
  const this$ = this;
3075
3312
  const index = this$.Studies.findIndex((s) => s.Identifier === studyIdentifier) | 0;
3076
3313
  if (index === -1) {
3077
- throw new Error(`Unable to find study with specified identifier '${studyIdentifier}'!`);
3314
+ throw new Exception(concat("Unable to find study with specified identifier '", studyIdentifier, "'!"));
3078
3315
  }
3079
3316
  return index | 0;
3080
3317
  }
3081
3318
  static getStudyIndex(studyIdentifier) {
3082
- return (inv) => inv.GetStudyIndex(studyIdentifier);
3319
+ return (inv) => inv.GetStudyIndex(studyIdentifier) | 0;
3083
3320
  }
3084
3321
  GetStudyAt(index) {
3085
3322
  const this$ = this;
3086
- return this$.Studies[index];
3323
+ return item$1(index, this$.Studies);
3087
3324
  }
3088
3325
  static getStudyAt(index) {
3089
3326
  return (inv) => {
@@ -3095,7 +3332,7 @@ class ArcInvestigation {
3095
3332
  const this$ = this;
3096
3333
  const matchValue = this$.TryGetStudy(studyIdentifier);
3097
3334
  if (matchValue == null) {
3098
- throw new Error(ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier(studyIdentifier, this$.Identifier));
3335
+ throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier(studyIdentifier, this$.Identifier));
3099
3336
  } else {
3100
3337
  return value(matchValue);
3101
3338
  }
@@ -3123,19 +3360,22 @@ class ArcInvestigation {
3123
3360
  static containsStudy(studyIdentifier) {
3124
3361
  return (inv) => inv.ContainsStudy(studyIdentifier);
3125
3362
  }
3363
+ /**
3364
+ * Register an existing assay from ArcInvestigation.Assays to a existing study.
3365
+ */
3126
3366
  RegisterAssayAt(studyIndex, assayIdentifier) {
3127
3367
  const this$ = this;
3128
3368
  const study = this$.GetStudyAt(studyIndex);
3129
- const matchValue = tryFind((x) => x === assayIdentifier, map$1((a) => a.Identifier, this$.Assays));
3369
+ const matchValue = tryFind((x) => x === assayIdentifier, map((a) => a.Identifier, this$.Assays));
3130
3370
  if (matchValue != null) {
3131
3371
  } else {
3132
- throw new Error("The given assay must be added to Investigation before it can be registered.");
3372
+ throw new Exception("The given assay must be added to Investigation before it can be registered.");
3133
3373
  }
3134
3374
  const assayIdent_1 = assayIdentifier;
3135
3375
  const matchValue_1 = tryFindIndex((x_1) => x_1 === assayIdent_1, study.RegisteredAssayIdentifiers);
3136
3376
  if (matchValue_1 == null) {
3137
3377
  } else {
3138
- throw new Error(`Cannot create assay with name ${assayIdent_1}, as assay names must be unique and assay at index ${value(matchValue_1)} has the same name.`);
3378
+ throw new Exception(`Cannot create assay with name ${assayIdent_1}, as assay names must be unique and assay at index ${value(matchValue_1)} has the same name.`);
3139
3379
  }
3140
3380
  study.RegisterAssay(assayIdentifier);
3141
3381
  }
@@ -3146,6 +3386,9 @@ class ArcInvestigation {
3146
3386
  return copy;
3147
3387
  };
3148
3388
  }
3389
+ /**
3390
+ * Register an existing assay from ArcInvestigation.Assays to a existing study.
3391
+ */
3149
3392
  RegisterAssay(studyIdentifier, assayIdentifier) {
3150
3393
  const this$ = this;
3151
3394
  const index = this$.GetStudyIndex(studyIdentifier) | 0;
@@ -3186,7 +3429,7 @@ class ArcInvestigation {
3186
3429
  const this$ = this;
3187
3430
  removeInPlace(studyIdentifier, this$.RegisteredStudyIdentifiers, {
3188
3431
  Equals: (x, y) => x === y,
3189
- GetHashCode: stringHash
3432
+ GetHashCode: (x) => stringHash(x) | 0
3190
3433
  });
3191
3434
  }
3192
3435
  static deregisterStudy(studyIdentifier) {
@@ -3202,18 +3445,18 @@ class ArcInvestigation {
3202
3445
  }
3203
3446
  get WorkflowIdentifiers() {
3204
3447
  const this$ = this;
3205
- return toArray(map$1((x) => x.Identifier, this$.Workflows));
3448
+ return toArray(map((x) => x.Identifier, this$.Workflows));
3206
3449
  }
3207
3450
  GetWorkflowIndex(workflowIdentifier) {
3208
3451
  const this$ = this;
3209
3452
  const index = this$.Workflows.findIndex((w) => w.Identifier === workflowIdentifier) | 0;
3210
3453
  if (index === -1) {
3211
- throw new Error(`Unable to find workflow with specified identifier '${workflowIdentifier}'!`);
3454
+ throw new Exception(concat("Unable to find workflow with specified identifier '", workflowIdentifier, "'!"));
3212
3455
  }
3213
3456
  return index | 0;
3214
3457
  }
3215
3458
  static getWorkflowIndex(workflowIdentifier) {
3216
- return (inv) => inv.GetWorkflowIndex(workflowIdentifier);
3459
+ return (inv) => inv.GetWorkflowIndex(workflowIdentifier) | 0;
3217
3460
  }
3218
3461
  AddWorkflow(workflow) {
3219
3462
  const this$ = this;
@@ -3221,7 +3464,7 @@ class ArcInvestigation {
3221
3464
  const matchValue = tryFindIndex((x) => x.Identifier === workflow_1.Identifier, this$.Workflows);
3222
3465
  if (matchValue == null) {
3223
3466
  } else {
3224
- throw new Error(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
3467
+ throw new Exception(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
3225
3468
  }
3226
3469
  workflow.Investigation = this$;
3227
3470
  void this$.Workflows.push(workflow);
@@ -3284,7 +3527,7 @@ class ArcInvestigation {
3284
3527
  }
3285
3528
  GetWorkflowAt(index) {
3286
3529
  const this$ = this;
3287
- return this$.Workflows[index];
3530
+ return item$1(index, this$.Workflows);
3288
3531
  }
3289
3532
  static getWorkflowAt(index) {
3290
3533
  return (inv) => {
@@ -3296,7 +3539,7 @@ class ArcInvestigation {
3296
3539
  const this$ = this;
3297
3540
  const matchValue = this$.TryGetWorkflow(workflowIdentifier);
3298
3541
  if (matchValue == null) {
3299
- throw new Error(ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier(workflowIdentifier, this$.Identifier));
3542
+ throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier(workflowIdentifier, this$.Identifier));
3300
3543
  } else {
3301
3544
  return value(matchValue);
3302
3545
  }
@@ -3330,10 +3573,10 @@ class ArcInvestigation {
3330
3573
  const matchValue = tryFindIndex((x) => x.Identifier === workflow_1.Identifier, removeAt(index, this$.Workflows));
3331
3574
  if (matchValue == null) {
3332
3575
  } else {
3333
- throw new Error(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
3576
+ throw new Exception(`Cannot create workflow with name ${workflow_1.Identifier}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
3334
3577
  }
3335
3578
  workflow.Investigation = this$;
3336
- this$.Workflows[index] = workflow;
3579
+ setItem(this$.Workflows, index, workflow);
3337
3580
  }
3338
3581
  SetWorkflow(workflowIdentifier, workflow) {
3339
3582
  const this$ = this;
@@ -3360,18 +3603,18 @@ class ArcInvestigation {
3360
3603
  }
3361
3604
  get RunIdentifiers() {
3362
3605
  const this$ = this;
3363
- return toArray(map$1((x) => x.Identifier, this$.Runs));
3606
+ return toArray(map((x) => x.Identifier, this$.Runs));
3364
3607
  }
3365
3608
  GetRunIndex(runIdentifier) {
3366
3609
  const this$ = this;
3367
3610
  const index = this$.Runs.findIndex((r) => r.Identifier === runIdentifier) | 0;
3368
3611
  if (index === -1) {
3369
- throw new Error(`Unable to find run with specified identifier '${runIdentifier}'!`);
3612
+ throw new Exception(concat("Unable to find run with specified identifier '", runIdentifier, "'!"));
3370
3613
  }
3371
3614
  return index | 0;
3372
3615
  }
3373
3616
  static getRunIndex(runIdentifier) {
3374
- return (inv) => inv.GetRunIndex(runIdentifier);
3617
+ return (inv) => inv.GetRunIndex(runIdentifier) | 0;
3375
3618
  }
3376
3619
  AddRun(run) {
3377
3620
  const this$ = this;
@@ -3379,7 +3622,7 @@ class ArcInvestigation {
3379
3622
  const matchValue = tryFindIndex((x) => x.Identifier === run_1.Identifier, this$.Runs);
3380
3623
  if (matchValue == null) {
3381
3624
  } else {
3382
- throw new Error(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
3625
+ throw new Exception(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
3383
3626
  }
3384
3627
  run.Investigation = this$;
3385
3628
  void this$.Runs.push(run);
@@ -3428,7 +3671,7 @@ class ArcInvestigation {
3428
3671
  }
3429
3672
  GetRunAt(index) {
3430
3673
  const this$ = this;
3431
- return this$.Runs[index];
3674
+ return item$1(index, this$.Runs);
3432
3675
  }
3433
3676
  static getRunAt(index) {
3434
3677
  return (inv) => {
@@ -3440,7 +3683,7 @@ class ArcInvestigation {
3440
3683
  const this$ = this;
3441
3684
  const matchValue = this$.TryGetRun(runIdentifier);
3442
3685
  if (matchValue == null) {
3443
- throw new Error(ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, this$.Identifier));
3686
+ throw new Exception(ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, this$.Identifier));
3444
3687
  } else {
3445
3688
  return value(matchValue);
3446
3689
  }
@@ -3474,10 +3717,10 @@ class ArcInvestigation {
3474
3717
  const matchValue = tryFindIndex((x) => x.Identifier === run_1.Identifier, removeAt(index, this$.Runs));
3475
3718
  if (matchValue == null) {
3476
3719
  } else {
3477
- throw new Error(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
3720
+ throw new Exception(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
3478
3721
  }
3479
3722
  run.Investigation = this$;
3480
- this$.Runs[index] = run;
3723
+ setItem(this$.Runs, index, run);
3481
3724
  }
3482
3725
  SetRun(runIdentifier, run) {
3483
3726
  const this$ = this;
@@ -3498,6 +3741,9 @@ class ArcInvestigation {
3498
3741
  return copy;
3499
3742
  };
3500
3743
  }
3744
+ /**
3745
+ * Returns all fully distinct Contacts/Performers from assays/studies/investigation.
3746
+ */
3501
3747
  GetAllPersons() {
3502
3748
  const this$ = this;
3503
3749
  const persons = [];
@@ -3540,9 +3786,12 @@ class ArcInvestigation {
3540
3786
  addRangeInPlace(this$.Contacts, persons);
3541
3787
  return Array_distinct(Array.from(persons), {
3542
3788
  Equals: equals,
3543
- GetHashCode: safeHash
3789
+ GetHashCode: (x) => safeHash(x) | 0
3544
3790
  });
3545
3791
  }
3792
+ /**
3793
+ * Returns all fully distinct Contacts/Performers from assays/studies/investigation unfiltered.
3794
+ */
3546
3795
  GetAllPublications() {
3547
3796
  const this$ = this;
3548
3797
  const pubs = [];
@@ -3558,9 +3807,12 @@ class ArcInvestigation {
3558
3807
  addRangeInPlace(this$.Publications, pubs);
3559
3808
  return Array_distinct(Array.from(pubs), {
3560
3809
  Equals: equals,
3561
- GetHashCode: safeHash
3810
+ GetHashCode: (x) => safeHash(x) | 0
3562
3811
  });
3563
3812
  }
3813
+ /**
3814
+ * Deregisters assays not found in ArcInvestigation.Assays from all studies.
3815
+ */
3564
3816
  DeregisterMissingAssays() {
3565
3817
  const this$ = this;
3566
3818
  const inv = this$;
@@ -3576,9 +3828,9 @@ class ArcInvestigation {
3576
3828
  const registeredAssay = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
3577
3829
  if (!contains(registeredAssay, existingAssays, {
3578
3830
  Equals: (x, y) => x === y,
3579
- GetHashCode: stringHash
3831
+ GetHashCode: (x) => stringHash(x) | 0
3580
3832
  })) {
3581
- const value_1 = study.DeregisterAssay(registeredAssay);
3833
+ study.DeregisterAssay(registeredAssay);
3582
3834
  }
3583
3835
  }
3584
3836
  } finally {
@@ -3596,8 +3848,19 @@ class ArcInvestigation {
3596
3848
  return copy;
3597
3849
  };
3598
3850
  }
3851
+ /**
3852
+ * Updates the IOtypes of the IO columns (Input, Output) across all tables in the investigation if possible.
3853
+ *
3854
+ * If an entity (Row Value of IO Column) with the same name as an entity with a higher IOType specifity is found, the IOType of the entity with the lower IOType specificity is updated.
3855
+ *
3856
+ * E.g. In Table1, there is a column "Output [Sample Name]" with an entity "Sample1". In Table2, there is a column "Input [Source Name]" with the same entity "Sample1". By equality of the entities, the IOType of the Input column in Table2 is inferred to be Sample, resulting in "Input [Sample Name]".
3857
+ *
3858
+ * E.g. RawDataFile is more specific than Source, but less specific than DerivedDataFile.
3859
+ *
3860
+ * E.g. Sample is equally specific to RawDataFile.
3861
+ */
3599
3862
  UpdateIOTypeByEntityID() {
3600
- let collection;
3863
+ let collection = void 0;
3601
3864
  const this$ = this;
3602
3865
  const ioMap = ArcTablesAux_getIOMap((collection = toList(delay(() => append(collect((study) => study.Tables, this$.Studies), delay(() => append(collect((assay) => assay.Tables, this$.Assays), delay(() => collect((run) => run.Tables, this$.Runs))))))), Array.from(collection)));
3603
3866
  let enumerator = getEnumerator(this$.Studies);
@@ -3683,7 +3946,7 @@ class ArcInvestigation {
3683
3946
  return new ArcInvestigation(this$.Identifier, unwrap(this$.Title), unwrap(this$.Description), unwrap(this$.SubmissionDate), unwrap(this$.PublicReleaseDate), nextOntologySourceReferences, nextPublications, nextContacts, nextAssays, nextStudies, nextWorkflows, nextRuns, nextStudyIdentifiers, nextComments, nextRemarks);
3684
3947
  }
3685
3948
  StructurallyEquals(other) {
3686
- let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5, a_6, b_6, a_7, b_7, a_8, b_8, a_9, b_9;
3949
+ let a = void 0, b = void 0, a_1 = void 0, b_1 = void 0, a_2 = void 0, b_2 = void 0, a_3 = void 0, b_3 = void 0, a_4 = void 0, b_4 = void 0, a_5 = void 0, b_5 = void 0, a_6 = void 0, b_6 = void 0, a_7 = void 0, b_7 = void 0, a_8 = void 0, b_8 = void 0, a_9 = void 0, b_9 = void 0;
3687
3950
  const this$ = this;
3688
3951
  return forAll((x) => x === true, [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), (a = this$.Publications, b = other.Publications, length(a) === length(b) && fold((acc, e) => {
3689
3952
  if (acc) {
@@ -3691,62 +3954,67 @@ class ArcInvestigation {
3691
3954
  } else {
3692
3955
  return false;
3693
3956
  }
3694
- }, true, toList(delay(() => map$1((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Contacts, b_1 = other.Contacts, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
3957
+ }, true, toList(delay(() => map((i_1) => equals(item(i_1, a), item(i_1, b)), rangeDouble(0, 1, length(a) - 1)))))), (a_1 = this$.Contacts, b_1 = other.Contacts, length(a_1) === length(b_1) && fold((acc_1, e_1) => {
3695
3958
  if (acc_1) {
3696
3959
  return e_1;
3697
3960
  } else {
3698
3961
  return false;
3699
3962
  }
3700
- }, true, toList(delay(() => map$1((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.OntologySourceReferences, b_2 = other.OntologySourceReferences, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
3963
+ }, true, toList(delay(() => map((i_2) => equals(item(i_2, a_1), item(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1)))))), (a_2 = this$.OntologySourceReferences, b_2 = other.OntologySourceReferences, length(a_2) === length(b_2) && fold((acc_2, e_2) => {
3701
3964
  if (acc_2) {
3702
3965
  return e_2;
3703
3966
  } else {
3704
3967
  return false;
3705
3968
  }
3706
- }, true, toList(delay(() => map$1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), (a_3 = this$.Assays, b_3 = other.Assays, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
3969
+ }, true, toList(delay(() => map((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))), (a_3 = this$.Assays, b_3 = other.Assays, length(a_3) === length(b_3) && fold((acc_3, e_3) => {
3707
3970
  if (acc_3) {
3708
3971
  return e_3;
3709
3972
  } else {
3710
3973
  return false;
3711
3974
  }
3712
- }, true, toList(delay(() => map$1((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.Studies, b_4 = other.Studies, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
3975
+ }, true, toList(delay(() => map((i_4) => equals(item(i_4, a_3), item(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1)))))), (a_4 = this$.Studies, b_4 = other.Studies, length(a_4) === length(b_4) && fold((acc_4, e_4) => {
3713
3976
  if (acc_4) {
3714
3977
  return e_4;
3715
3978
  } else {
3716
3979
  return false;
3717
3980
  }
3718
- }, true, toList(delay(() => map$1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1)))))), (a_5 = this$.Workflows, b_5 = other.Workflows, length(a_5) === length(b_5) && fold((acc_5, e_5) => {
3981
+ }, true, toList(delay(() => map((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1)))))), (a_5 = this$.Workflows, b_5 = other.Workflows, length(a_5) === length(b_5) && fold((acc_5, e_5) => {
3719
3982
  if (acc_5) {
3720
3983
  return e_5;
3721
3984
  } else {
3722
3985
  return false;
3723
3986
  }
3724
- }, true, toList(delay(() => map$1((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1)))))), (a_6 = this$.Runs, b_6 = other.Runs, length(a_6) === length(b_6) && fold((acc_6, e_6) => {
3987
+ }, true, toList(delay(() => map((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1)))))), (a_6 = this$.Runs, b_6 = other.Runs, length(a_6) === length(b_6) && fold((acc_6, e_6) => {
3725
3988
  if (acc_6) {
3726
3989
  return e_6;
3727
3990
  } else {
3728
3991
  return false;
3729
3992
  }
3730
- }, true, toList(delay(() => map$1((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1)))))), (a_7 = this$.RegisteredStudyIdentifiers, b_7 = other.RegisteredStudyIdentifiers, length(a_7) === length(b_7) && fold((acc_7, e_7) => {
3993
+ }, true, toList(delay(() => map((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1)))))), (a_7 = this$.RegisteredStudyIdentifiers, b_7 = other.RegisteredStudyIdentifiers, length(a_7) === length(b_7) && fold((acc_7, e_7) => {
3731
3994
  if (acc_7) {
3732
3995
  return e_7;
3733
3996
  } else {
3734
3997
  return false;
3735
3998
  }
3736
- }, true, toList(delay(() => map$1((i_8) => item(i_8, a_7) === item(i_8, b_7), rangeDouble(0, 1, length(a_7) - 1)))))), (a_8 = this$.Comments, b_8 = other.Comments, length(a_8) === length(b_8) && fold((acc_8, e_8) => {
3999
+ }, true, toList(delay(() => map((i_8) => item(i_8, a_7) === item(i_8, b_7), rangeDouble(0, 1, length(a_7) - 1)))))), (a_8 = this$.Comments, b_8 = other.Comments, length(a_8) === length(b_8) && fold((acc_8, e_8) => {
3737
4000
  if (acc_8) {
3738
4001
  return e_8;
3739
4002
  } else {
3740
4003
  return false;
3741
4004
  }
3742
- }, true, toList(delay(() => map$1((i_9) => equals(item(i_9, a_8), item(i_9, b_8)), rangeDouble(0, 1, length(a_8) - 1)))))), (a_9 = this$.Remarks, b_9 = other.Remarks, length(a_9) === length(b_9) && fold((acc_9, e_9) => {
4005
+ }, true, toList(delay(() => map((i_9) => equals(item(i_9, a_8), item(i_9, b_8)), rangeDouble(0, 1, length(a_8) - 1)))))), (a_9 = this$.Remarks, b_9 = other.Remarks, length(a_9) === length(b_9) && fold((acc_9, e_9) => {
3743
4006
  if (acc_9) {
3744
4007
  return e_9;
3745
4008
  } else {
3746
4009
  return false;
3747
4010
  }
3748
- }, true, toList(delay(() => map$1((i_10) => equals(item(i_10, a_9), item(i_10, b_9)), rangeDouble(0, 1, length(a_9) - 1))))))]);
4011
+ }, true, toList(delay(() => map((i_10) => equals(item(i_10, a_9), item(i_10, b_9)), rangeDouble(0, 1, length(a_9) - 1))))))]);
3749
4012
  }
4013
+ /**
4014
+ * Use this function to check if this ArcInvestigation and the input ArcInvestigation refer to the same object.
4015
+ *
4016
+ * If true, updating one will update the other due to mutability.
4017
+ */
3750
4018
  ReferenceEquals(other) {
3751
4019
  const this$ = this;
3752
4020
  return this$ === other;
@@ -3771,7 +4039,7 @@ class ArcInvestigation {
3771
4039
  return toText(printf("ArcInvestigation {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n SubmissionDate = %A,\r\n PublicReleaseDate = %A,\r\n OntologySourceReferences = %A,\r\n Publications = %A,\r\n Contacts = %A,\r\n Assays = %A,\r\n Studies = %A,\r\n Workflows = %A,\r\n Runs = %A,\r\n RegisteredStudyIdentifiers = %A,\r\n Comments = %A,\r\n Remarks = %A,\r\n}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11)(arg_12)(arg_13)(arg_14);
3772
4040
  }
3773
4041
  Equals(other) {
3774
- let i;
4042
+ let i = void 0;
3775
4043
  const this$ = this;
3776
4044
  return other instanceof ArcInvestigation && (i = other, this$.StructurallyEquals(i));
3777
4045
  }