@nfdi4plants/arctrl 1.0.0-alpha9 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/ARC.js +28 -29
  2. package/Contract/Contract.js +3 -3
  3. package/Contracts/Contracts.ArcAssay.js +3 -3
  4. package/Contracts/Contracts.ArcInvestigation.js +3 -3
  5. package/Contracts/Contracts.ArcStudy.js +3 -3
  6. package/Contracts/Contracts.Git.js +4 -4
  7. package/FileSystem/Commit.js +2 -2
  8. package/FileSystem/FileSystem.js +4 -4
  9. package/FileSystem/FileSystemTree.js +15 -15
  10. package/FileSystem/Path.js +2 -2
  11. package/FileSystemTree.js +1 -1
  12. package/ISA/ISA/ArcTypes/ArcTable.js +20 -20
  13. package/ISA/ISA/ArcTypes/ArcTableAux.js +17 -17
  14. package/ISA/ISA/ArcTypes/ArcTables.js +283 -279
  15. package/ISA/ISA/ArcTypes/ArcTypes.js +89 -373
  16. package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
  17. package/ISA/ISA/ArcTypes/CompositeColumn.js +4 -4
  18. package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
  19. package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
  20. package/ISA/ISA/Builder/Types.js +5 -5
  21. package/ISA/ISA/Fable.js +5 -5
  22. package/ISA/ISA/Helper.js +9 -9
  23. package/ISA/ISA/Identifier.js +2 -2
  24. package/ISA/ISA/JsonTypes/AnnotationValue.js +5 -5
  25. package/ISA/ISA/JsonTypes/Assay.js +26 -26
  26. package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
  27. package/ISA/ISA/JsonTypes/ColumnIndex.js +23 -23
  28. package/ISA/ISA/JsonTypes/Comment.js +3 -3
  29. package/ISA/ISA/JsonTypes/CommentList.js +4 -4
  30. package/ISA/ISA/JsonTypes/Component.js +12 -12
  31. package/ISA/ISA/JsonTypes/Data.js +4 -4
  32. package/ISA/ISA/JsonTypes/DataFile.js +2 -2
  33. package/ISA/ISA/JsonTypes/Factor.js +12 -12
  34. package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
  35. package/ISA/ISA/JsonTypes/Investigation.js +6 -6
  36. package/ISA/ISA/JsonTypes/Material.js +5 -5
  37. package/ISA/ISA/JsonTypes/MaterialAttribute.js +4 -4
  38. package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
  39. package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
  40. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +10 -10
  41. package/ISA/ISA/JsonTypes/OntologySourceReference.js +8 -8
  42. package/ISA/ISA/JsonTypes/Person.js +9 -9
  43. package/ISA/ISA/JsonTypes/Process.js +11 -11
  44. package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
  45. package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
  46. package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
  47. package/ISA/ISA/JsonTypes/ProcessSequence.js +14 -14
  48. package/ISA/ISA/JsonTypes/Protocol.js +6 -6
  49. package/ISA/ISA/JsonTypes/ProtocolParameter.js +4 -4
  50. package/ISA/ISA/JsonTypes/Publication.js +8 -8
  51. package/ISA/ISA/JsonTypes/Sample.js +5 -5
  52. package/ISA/ISA/JsonTypes/Source.js +5 -5
  53. package/ISA/ISA/JsonTypes/Study.js +58 -58
  54. package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
  55. package/ISA/ISA/JsonTypes/Value.js +7 -7
  56. package/ISA/ISA/Regex.js +3 -3
  57. package/ISA/ISA.Json/Assay.js +5 -5
  58. package/ISA/ISA.Json/Comment.js +5 -5
  59. package/ISA/ISA.Json/ConverterOptions.js +1 -1
  60. package/ISA/ISA.Json/Data.js +5 -5
  61. package/ISA/ISA.Json/Decode.js +4 -4
  62. package/ISA/ISA.Json/Factor.js +5 -5
  63. package/ISA/ISA.Json/GEncode.js +3 -3
  64. package/ISA/ISA.Json/Investigation.js +6 -6
  65. package/ISA/ISA.Json/Material.js +5 -5
  66. package/ISA/ISA.Json/Ontology.js +6 -6
  67. package/ISA/ISA.Json/Person.js +10 -10
  68. package/ISA/ISA.Json/Process.js +5 -5
  69. package/ISA/ISA.Json/Protocol.js +6 -6
  70. package/ISA/ISA.Json/Publication.js +4 -4
  71. package/ISA/ISA.Json/Study.js +6 -6
  72. package/ISA/ISA.Json/Validation/Fable.js +6 -6
  73. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
  74. package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
  75. package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +19 -17
  76. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +4 -4
  77. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +9 -9
  78. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +14 -14
  79. package/ISA/ISA.Spreadsheet/ArcAssay.js +17 -20
  80. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +37 -37
  81. package/ISA/ISA.Spreadsheet/ArcStudy.js +13 -13
  82. package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
  83. package/ISA/ISA.Spreadsheet/Metadata/Assays.js +10 -10
  84. package/ISA/ISA.Spreadsheet/Metadata/Comment.js +6 -6
  85. package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +11 -11
  86. package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +7 -7
  87. package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  88. package/ISA/ISA.Spreadsheet/Metadata/Factors.js +8 -8
  89. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
  90. package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +7 -7
  91. package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
  92. package/ISA/ISA.Spreadsheet/Metadata/Publication.js +9 -9
  93. package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +23 -23
  94. package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
  95. package/README.md +29 -253
  96. package/SemVer.js +7 -7
  97. package/Templates/Template.Json.js +12 -9
  98. package/Templates/Template.Spreadsheet.js +39 -23
  99. package/Templates/Template.Web.js +4 -4
  100. package/Templates/Template.js +7 -7
  101. package/Templates/Templates.js +5 -5
  102. package/WebRequest/WebRequest.js +4 -4
  103. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
  104. package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.2.2.2}/Fable.Promise.fableproj +3 -4
  105. package/fable_modules/Fable.Promise.2.2.2/Promise.fs +176 -0
  106. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +143 -0
  107. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +4 -0
  108. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +4 -0
  109. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  110. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  111. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +85 -36
  112. package/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js +272 -0
  113. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
  114. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +1 -0
  115. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +21 -21
  116. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
  117. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
  118. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
  119. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
  120. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
  121. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
  122. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +1 -1
  123. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +9 -8
  124. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +1 -1
  125. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +7 -7
  126. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
  127. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
  128. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +3 -1
  129. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
  130. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs +2 -0
  131. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
  132. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
  133. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +10 -1
  134. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +24 -19
  135. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
  136. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
  137. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
  138. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
  139. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
  140. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +4 -4
  141. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +10 -10
  142. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +20 -4
  143. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +33 -13
  144. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
  145. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
  146. package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
  147. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
  148. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
  149. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
  150. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
  151. package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
  152. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
  153. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
  154. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
  155. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
  156. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
  157. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
  158. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
  159. package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
  160. package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
  161. package/fable_modules/project_cracked.json +1 -1
  162. package/package.json +1 -1
  163. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
  164. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
  165. package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
  166. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
  167. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
  168. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
  169. package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs.js +0 -240
  170. package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
  171. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
  172. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
  173. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
  174. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
  175. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
  176. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
  177. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
  178. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
  179. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
  180. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
  181. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
  182. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
  183. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
  184. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
  185. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
  186. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
  187. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
  188. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
  189. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
  190. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
  191. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  192. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
  193. /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  194. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
  195. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
  196. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
  197. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
  198. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
  199. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
  200. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
  201. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
  202. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
  203. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
  204. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
  205. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
  206. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
  207. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
  208. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
  209. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
  210. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
  211. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
  212. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
  213. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
  214. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
  215. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
  216. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
  217. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
  218. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
  219. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
  220. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
  221. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
  222. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
  223. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
  224. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
  225. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
  226. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
  227. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
  228. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
  229. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
  230. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
  231. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
  232. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
  233. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
  234. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
  235. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
  236. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
  237. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
  238. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
  239. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
  240. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
  241. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
  242. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
  243. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
  244. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
  245. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
  246. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
  247. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
  248. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
  249. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
  250. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
  251. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
  252. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
  253. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
  254. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
  255. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
  256. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
  257. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
  258. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
  259. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
  260. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
  261. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
  262. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
  263. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
  264. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
  265. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
  266. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
  267. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
  268. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
  269. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
  270. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
  271. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
  272. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
  273. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
  274. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
  275. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
  276. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
  277. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
  278. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
  279. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
  280. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
  281. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
  282. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
  283. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
  284. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
  285. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
  286. /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
@@ -1,48 +1,47 @@
1
- import { map as map_1, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.1.4/Option.js";
2
- import { ArcTablesAux_applyIOMap, ArcTablesAux_getIOMap, ArcTables_updateReferenceTablesBySheets_Z2EE88E97, ArcTables_fromProcesses_134EBDED, ArcTables__get_Tables, ArcTables__GetProcesses, ArcTables__GetRow_Z18115A39, ArcTables__GetRowAt_Z37302880, ArcTables__UpdateRow_1BFE2CFB, ArcTables__UpdateRowAt_1CF7B5DC, ArcTables__RemoveRow_Z18115A39, ArcTables__RemoveRowAt_Z37302880, ArcTables__AddRow_Z16315DE5, ArcTables__AddRowAt_Z12CDB784, ArcTables__GetColumn_Z18115A39, ArcTables__GetColumnAt_Z37302880, ArcTables__UpdateColumn_Z6083042A, ArcTables__UpdateColumnAt_21300791, ArcTables__RemoveColumn_Z18115A39, ArcTables__RemoveColumnAt_Z37302880, ArcTables__AddColumn_1FF50D3C, ArcTables__AddColumnAt_6A9784DB, ArcTables__RenameTable_Z384F8060, ArcTables__RenameTableAt_Z176EF219, ArcTables__MapTable_27DD7B1B, ArcTables__MapTableAt_8FC095C, ArcTables__RemoveTable_Z721C83C5, ArcTables__RemoveTableAt_Z524259A4, ArcTables__SetTable_51766571, ArcTables__SetTableAt_7E571736, ArcTables__UpdateTable_51766571, ArcTables__UpdateTableAt_7E571736, ArcTables__GetTable_Z721C83C5, ArcTables__GetTableAt_Z524259A4, ArcTables__InitTables_7B28792B, ArcTables__InitTable_3B406CA4, ArcTables__AddTables_Z2D453886, ArcTables__AddTable_EC12B15, ArcTables__get_TableNames, ArcTables_$ctor_Z18C2F36D, ArcTables__get_Count } from "./ArcTables.js";
3
- import { concat, collect, append as append_4, tryFind, removeAt, tryFindIndex, item, map as map_2, delay, toList, fold, length, forAll, contains, filter, toArray } from "../../../fable_modules/fable-library.4.1.4/Seq.js";
4
- import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../../../fable_modules/fable-library.4.1.4/Util.js";
5
- import { addRangeInPlace, tryFind as tryFind_1, removeInPlace, equalsWith, append as append_3, contains as contains_1, map } from "../../../fable_modules/fable-library.4.1.4/Array.js";
6
- import { distinctBy, Array_distinct } from "../../../fable_modules/fable-library.4.1.4/Seq2.js";
7
- import { printf, toText } from "../../../fable_modules/fable-library.4.1.4/String.js";
8
- import { create, match } from "../../../fable_modules/fable-library.4.1.4/RegExp.js";
1
+ import { map as map_1, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.4.1/Option.js";
2
+ import { concat, collect, append as append_4, tryFind, removeAt, tryFindIndex, item as item_1, map as map_2, delay, toList, fold, length, forAll, contains, filter, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
3
+ import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
4
+ import { addRangeInPlace, tryFind as tryFind_1, removeInPlace, equalsWith, append as append_3, contains as contains_1, map } from "../../../fable_modules/fable-library.4.4.1/Array.js";
5
+ import { distinctBy, Array_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
6
+ import { printf, toText } from "../../../fable_modules/fable-library.4.4.1/String.js";
7
+ import { create, match } from "../../../fable_modules/fable-library.4.4.1/RegExp.js";
9
8
  import { OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
10
9
  import { Value_fromString_Z721C83C5, Value__get_Text } from "../JsonTypes/Value.js";
11
10
  import { AnnotationValue } from "../JsonTypes/AnnotationValue.js";
11
+ import { ArcTablesAux_applyIOMap, ArcTablesAux_getIOMap, ArcTables_$reflection, ArcTables } from "./ArcTables.js";
12
12
  import { AssayMaterials_get_empty, AssayMaterials_create_Z253F0553 } from "../JsonTypes/AssayMaterials.js";
13
13
  import { HashCodes_boxHashOption, HashCodes_boxHashArray, Option_fromValueWithDefault } from "../Helper.js";
14
- import { unzip, ofSeq, map as map_3, toArray as toArray_1, ofArray, empty } from "../../../fable_modules/fable-library.4.1.4/List.js";
14
+ import { unzip, ofSeq, map as map_3, toArray as toArray_1, ofArray, empty } from "../../../fable_modules/fable-library.4.4.1/List.js";
15
15
  import { getSources, getProtocols, getUnits, getCharacteristics, getData, getMaterials, getSamples } from "../JsonTypes/ProcessSequence.js";
16
16
  import { Assay_create_3D372A24 } from "../JsonTypes/Assay.js";
17
17
  import { Study_identifierFromFileName, Study_fileNameFromIdentifier, Assay_identifierFromFileName, createMissingIdentifier, Assay_fileNameFromIdentifier, isMissingIdentifier } from "../Identifier.js";
18
- import { rangeDouble } from "../../../fable_modules/fable-library.4.1.4/Range.js";
19
- import { class_type } from "../../../fable_modules/fable-library.4.1.4/Reflection.js";
18
+ import { rangeDouble } from "../../../fable_modules/fable-library.4.4.1/Range.js";
19
+ import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
20
20
  import { StudyMaterials_get_empty, StudyMaterials_create_1BE9FA55 } from "../JsonTypes/StudyMaterials.js";
21
21
  import { Study_create_Z2D28E954 } from "../JsonTypes/Study.js";
22
22
  import { Investigation_create_4AD66BBE } from "../JsonTypes/Investigation.js";
23
- import { FSharpRef } from "../../../fable_modules/fable-library.4.1.4/Types.js";
23
+ import { FSharpRef } from "../../../fable_modules/fable-library.4.4.1/Types.js";
24
24
 
25
- export class ArcAssay {
25
+ export class ArcAssay extends ArcTables {
26
26
  constructor(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
27
- const tables_1 = defaultArg(tables, []);
27
+ super(defaultArg(tables, []));
28
28
  const performers_1 = defaultArg(performers, []);
29
29
  const comments_1 = defaultArg(comments, []);
30
- this["identifier@86"] = identifier;
30
+ this["identifier@87"] = identifier;
31
31
  this.investigation = void 0;
32
32
  this["MeasurementType@"] = measurementType;
33
33
  this["TechnologyType@"] = technologyType;
34
34
  this["TechnologyPlatform@"] = technologyPlatform;
35
- this["Tables@"] = tables_1;
36
35
  this["Performers@"] = performers_1;
37
36
  this["Comments@"] = comments_1;
38
37
  }
39
38
  get Identifier() {
40
39
  const this$ = this;
41
- return this$["identifier@86"];
40
+ return this$["identifier@87"];
42
41
  }
43
42
  set Identifier(i) {
44
43
  const this$ = this;
45
- this$["identifier@86"] = i;
44
+ this$["identifier@87"] = i;
46
45
  }
47
46
  get Investigation() {
48
47
  const this$ = this;
@@ -79,14 +78,6 @@ export class ArcAssay {
79
78
  const __ = this;
80
79
  __["TechnologyPlatform@"] = v;
81
80
  }
82
- get Tables() {
83
- const __ = this;
84
- return __["Tables@"];
85
- }
86
- set Tables(v) {
87
- const __ = this;
88
- __["Tables@"] = v;
89
- }
90
81
  get Performers() {
91
82
  const __ = this;
92
83
  return __["Performers@"];
@@ -112,14 +103,6 @@ export class ArcAssay {
112
103
  static make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
113
104
  return new ArcAssay(identifier, unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), tables, performers, comments);
114
105
  }
115
- get TableCount() {
116
- const this$ = this;
117
- return ArcTables__get_Count(ArcTables_$ctor_Z18C2F36D(this$.Tables)) | 0;
118
- }
119
- get TableNames() {
120
- const this$ = this;
121
- return ArcTables__get_TableNames(ArcTables_$ctor_Z18C2F36D(this$.Tables));
122
- }
123
106
  get StudiesRegisteredIn() {
124
107
  const this$ = this;
125
108
  const matchValue = this$.Investigation;
@@ -137,10 +120,6 @@ export class ArcAssay {
137
120
  }, i.Studies));
138
121
  }
139
122
  }
140
- AddTable(table, index) {
141
- const this$ = this;
142
- ArcTables__AddTable_EC12B15(ArcTables_$ctor_Z18C2F36D(this$.Tables), table, unwrap(index));
143
- }
144
123
  static addTable(table, index) {
145
124
  return (assay) => {
146
125
  const c = assay.Copy();
@@ -148,10 +127,6 @@ export class ArcAssay {
148
127
  return c;
149
128
  };
150
129
  }
151
- AddTables(tables, index) {
152
- const this$ = this;
153
- ArcTables__AddTables_Z2D453886(ArcTables_$ctor_Z18C2F36D(this$.Tables), tables, unwrap(index));
154
- }
155
130
  static addTables(tables, index) {
156
131
  return (assay) => {
157
132
  const c = assay.Copy();
@@ -159,20 +134,12 @@ export class ArcAssay {
159
134
  return c;
160
135
  };
161
136
  }
162
- InitTable(tableName, index) {
163
- const this$ = this;
164
- return ArcTables__InitTable_3B406CA4(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, unwrap(index));
165
- }
166
137
  static initTable(tableName, index) {
167
138
  return (assay) => {
168
139
  const c = assay.Copy();
169
140
  return [c, c.InitTable(tableName, unwrap(index))];
170
141
  };
171
142
  }
172
- InitTables(tableNames, index) {
173
- const this$ = this;
174
- ArcTables__InitTables_7B28792B(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableNames, unwrap(index));
175
- }
176
143
  static initTables(tableNames, index) {
177
144
  return (assay) => {
178
145
  const c = assay.Copy();
@@ -180,30 +147,18 @@ export class ArcAssay {
180
147
  return c;
181
148
  };
182
149
  }
183
- GetTableAt(index) {
184
- const this$ = this;
185
- return ArcTables__GetTableAt_Z524259A4(ArcTables_$ctor_Z18C2F36D(this$.Tables), index);
186
- }
187
150
  static getTableAt(index) {
188
151
  return (assay) => {
189
152
  const newAssay = assay.Copy();
190
153
  return newAssay.GetTableAt(index);
191
154
  };
192
155
  }
193
- GetTable(name) {
194
- const this$ = this;
195
- return ArcTables__GetTable_Z721C83C5(ArcTables_$ctor_Z18C2F36D(this$.Tables), name);
196
- }
197
156
  static getTable(name) {
198
157
  return (assay) => {
199
158
  const newAssay = assay.Copy();
200
159
  return newAssay.GetTable(name);
201
160
  };
202
161
  }
203
- UpdateTableAt(index, table) {
204
- const this$ = this;
205
- ArcTables__UpdateTableAt_7E571736(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, table);
206
- }
207
162
  static updateTableAt(index, table) {
208
163
  return (assay) => {
209
164
  const newAssay = assay.Copy();
@@ -211,10 +166,6 @@ export class ArcAssay {
211
166
  return newAssay;
212
167
  };
213
168
  }
214
- UpdateTable(name, table) {
215
- const this$ = this;
216
- ArcTables__UpdateTable_51766571(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, table);
217
- }
218
169
  static updateTable(name, table) {
219
170
  return (assay) => {
220
171
  const newAssay = assay.Copy();
@@ -222,10 +173,6 @@ export class ArcAssay {
222
173
  return newAssay;
223
174
  };
224
175
  }
225
- SetTableAt(index, table) {
226
- const this$ = this;
227
- ArcTables__SetTableAt_7E571736(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, table);
228
- }
229
176
  static setTableAt(index, table) {
230
177
  return (assay) => {
231
178
  const newAssay = assay.Copy();
@@ -233,10 +180,6 @@ export class ArcAssay {
233
180
  return newAssay;
234
181
  };
235
182
  }
236
- SetTable(name, table) {
237
- const this$ = this;
238
- ArcTables__SetTable_51766571(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, table);
239
- }
240
183
  static setTable(name, table) {
241
184
  return (assay) => {
242
185
  const newAssay = assay.Copy();
@@ -244,10 +187,6 @@ export class ArcAssay {
244
187
  return newAssay;
245
188
  };
246
189
  }
247
- RemoveTableAt(index) {
248
- const this$ = this;
249
- ArcTables__RemoveTableAt_Z524259A4(ArcTables_$ctor_Z18C2F36D(this$.Tables), index);
250
- }
251
190
  static removeTableAt(index) {
252
191
  return (assay) => {
253
192
  const newAssay = assay.Copy();
@@ -255,10 +194,6 @@ export class ArcAssay {
255
194
  return newAssay;
256
195
  };
257
196
  }
258
- RemoveTable(name) {
259
- const this$ = this;
260
- ArcTables__RemoveTable_Z721C83C5(ArcTables_$ctor_Z18C2F36D(this$.Tables), name);
261
- }
262
197
  static removeTable(name) {
263
198
  return (assay) => {
264
199
  const newAssay = assay.Copy();
@@ -266,10 +201,6 @@ export class ArcAssay {
266
201
  return newAssay;
267
202
  };
268
203
  }
269
- MapTableAt(index, updateFun) {
270
- const this$ = this;
271
- ArcTables__MapTableAt_8FC095C(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, updateFun);
272
- }
273
204
  static mapTableAt(index, updateFun) {
274
205
  return (assay) => {
275
206
  const newAssay = assay.Copy();
@@ -277,10 +208,6 @@ export class ArcAssay {
277
208
  return newAssay;
278
209
  };
279
210
  }
280
- MapTable(name, updateFun) {
281
- const this$ = this;
282
- ArcTables__MapTable_27DD7B1B(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, updateFun);
283
- }
284
211
  static updateTable(name, updateFun) {
285
212
  return (assay) => {
286
213
  const newAssay = assay.Copy();
@@ -288,10 +215,6 @@ export class ArcAssay {
288
215
  return newAssay;
289
216
  };
290
217
  }
291
- RenameTableAt(index, newName) {
292
- const this$ = this;
293
- ArcTables__RenameTableAt_Z176EF219(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, newName);
294
- }
295
218
  static renameTableAt(index, newName) {
296
219
  return (assay) => {
297
220
  const newAssay = assay.Copy();
@@ -299,10 +222,6 @@ export class ArcAssay {
299
222
  return newAssay;
300
223
  };
301
224
  }
302
- RenameTable(name, newName) {
303
- const this$ = this;
304
- ArcTables__RenameTable_Z384F8060(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, newName);
305
- }
306
225
  static renameTable(name, newName) {
307
226
  return (assay) => {
308
227
  const newAssay = assay.Copy();
@@ -310,10 +229,6 @@ export class ArcAssay {
310
229
  return newAssay;
311
230
  };
312
231
  }
313
- AddColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
314
- const this$ = this;
315
- ArcTables__AddColumnAt_6A9784DB(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
316
- }
317
232
  static addColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
318
233
  return (assay) => {
319
234
  const newAssay = assay.Copy();
@@ -321,10 +236,6 @@ export class ArcAssay {
321
236
  return newAssay;
322
237
  };
323
238
  }
324
- AddColumn(tableName, header, cells, columnIndex, forceReplace) {
325
- const this$ = this;
326
- ArcTables__AddColumn_1FF50D3C(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
327
- }
328
239
  static addColumn(tableName, header, cells, columnIndex, forceReplace) {
329
240
  return (assay) => {
330
241
  const newAssay = assay.Copy();
@@ -332,10 +243,6 @@ export class ArcAssay {
332
243
  return newAssay;
333
244
  };
334
245
  }
335
- RemoveColumnAt(tableIndex, columnIndex) {
336
- const this$ = this;
337
- ArcTables__RemoveColumnAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, columnIndex);
338
- }
339
246
  static removeColumnAt(tableIndex, columnIndex) {
340
247
  return (assay) => {
341
248
  const newAssay = assay.Copy();
@@ -343,10 +250,6 @@ export class ArcAssay {
343
250
  return newAssay;
344
251
  };
345
252
  }
346
- RemoveColumn(tableName, columnIndex) {
347
- const this$ = this;
348
- ArcTables__RemoveColumn_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, columnIndex);
349
- }
350
253
  static removeColumn(tableName, columnIndex) {
351
254
  return (assay) => {
352
255
  const newAssay = assay.Copy();
@@ -354,10 +257,6 @@ export class ArcAssay {
354
257
  return newAssay;
355
258
  };
356
259
  }
357
- UpdateColumnAt(tableIndex, columnIndex, header, cells) {
358
- const this$ = this;
359
- ArcTables__UpdateColumnAt_21300791(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, columnIndex, header, unwrap(cells));
360
- }
361
260
  static updateColumnAt(tableIndex, columnIndex, header, cells) {
362
261
  return (assay) => {
363
262
  const newAssay = assay.Copy();
@@ -365,10 +264,6 @@ export class ArcAssay {
365
264
  return newAssay;
366
265
  };
367
266
  }
368
- UpdateColumn(tableName, columnIndex, header, cells) {
369
- const this$ = this;
370
- ArcTables__UpdateColumn_Z6083042A(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, columnIndex, header, unwrap(cells));
371
- }
372
267
  static updateColumn(tableName, columnIndex, header, cells) {
373
268
  return (assay) => {
374
269
  const newAssay = assay.Copy();
@@ -376,30 +271,18 @@ export class ArcAssay {
376
271
  return newAssay;
377
272
  };
378
273
  }
379
- GetColumnAt(tableIndex, columnIndex) {
380
- const this$ = this;
381
- return ArcTables__GetColumnAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, columnIndex);
382
- }
383
274
  static getColumnAt(tableIndex, columnIndex) {
384
275
  return (assay) => {
385
276
  const newAssay = assay.Copy();
386
277
  return newAssay.GetColumnAt(tableIndex, columnIndex);
387
278
  };
388
279
  }
389
- GetColumn(tableName, columnIndex) {
390
- const this$ = this;
391
- return ArcTables__GetColumn_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, columnIndex);
392
- }
393
280
  static getColumn(tableName, columnIndex) {
394
281
  return (assay) => {
395
282
  const newAssay = assay.Copy();
396
283
  return newAssay.GetColumn(tableName, columnIndex);
397
284
  };
398
285
  }
399
- AddRowAt(tableIndex, cells, rowIndex) {
400
- const this$ = this;
401
- ArcTables__AddRowAt_Z12CDB784(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, unwrap(cells), unwrap(rowIndex));
402
- }
403
286
  static addRowAt(tableIndex, cells, rowIndex) {
404
287
  return (assay) => {
405
288
  const newAssay = assay.Copy();
@@ -407,10 +290,6 @@ export class ArcAssay {
407
290
  return newAssay;
408
291
  };
409
292
  }
410
- AddRow(tableName, cells, rowIndex) {
411
- const this$ = this;
412
- ArcTables__AddRow_Z16315DE5(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, unwrap(cells), unwrap(rowIndex));
413
- }
414
293
  static addRow(tableName, cells, rowIndex) {
415
294
  return (assay) => {
416
295
  const newAssay = assay.Copy();
@@ -418,10 +297,6 @@ export class ArcAssay {
418
297
  return newAssay;
419
298
  };
420
299
  }
421
- RemoveRowAt(tableIndex, rowIndex) {
422
- const this$ = this;
423
- ArcTables__RemoveRowAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, rowIndex);
424
- }
425
300
  static removeRowAt(tableIndex, rowIndex) {
426
301
  return (assay) => {
427
302
  const newAssay = assay.Copy();
@@ -429,10 +304,6 @@ export class ArcAssay {
429
304
  return newAssay;
430
305
  };
431
306
  }
432
- RemoveRow(tableName, rowIndex) {
433
- const this$ = this;
434
- ArcTables__RemoveRow_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, rowIndex);
435
- }
436
307
  static removeRow(tableName, rowIndex) {
437
308
  return (assay) => {
438
309
  const newAssay = assay.Copy();
@@ -440,10 +311,6 @@ export class ArcAssay {
440
311
  return newAssay;
441
312
  };
442
313
  }
443
- UpdateRowAt(tableIndex, rowIndex, cells) {
444
- const this$ = this;
445
- ArcTables__UpdateRowAt_1CF7B5DC(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, rowIndex, cells);
446
- }
447
314
  static updateRowAt(tableIndex, rowIndex, cells) {
448
315
  return (assay) => {
449
316
  const newAssay = assay.Copy();
@@ -451,10 +318,6 @@ export class ArcAssay {
451
318
  return newAssay;
452
319
  };
453
320
  }
454
- UpdateRow(tableName, rowIndex, cells) {
455
- const this$ = this;
456
- ArcTables__UpdateRow_1BFE2CFB(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, rowIndex, cells);
457
- }
458
321
  static updateRow(tableName, rowIndex, cells) {
459
322
  return (assay) => {
460
323
  const newAssay = assay.Copy();
@@ -462,20 +325,12 @@ export class ArcAssay {
462
325
  return newAssay;
463
326
  };
464
327
  }
465
- GetRowAt(tableIndex, rowIndex) {
466
- const this$ = this;
467
- return ArcTables__GetRowAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, rowIndex);
468
- }
469
328
  static getRowAt(tableIndex, rowIndex) {
470
329
  return (assay) => {
471
330
  const newAssay = assay.Copy();
472
331
  return newAssay.GetRowAt(tableIndex, rowIndex);
473
332
  };
474
333
  }
475
- GetRow(tableName, rowIndex) {
476
- const this$ = this;
477
- return ArcTables__GetRow_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, rowIndex);
478
- }
479
334
  static getRow(tableName, rowIndex) {
480
335
  return (assay) => {
481
336
  const newAssay = assay.Copy();
@@ -502,11 +357,11 @@ export class ArcAssay {
502
357
  }
503
358
  const nextComments = map((c) => c.Copy(), this$.Comments);
504
359
  const nextPerformers = map((c_1) => c_1.Copy(), this$.Performers);
505
- const arg = this$.Identifier;
506
- const arg_1 = this$.MeasurementType;
507
- const arg_2 = this$.TechnologyType;
508
- const arg_3 = this$.TechnologyPlatform;
509
- return ArcAssay.make(arg, arg_1, arg_2, arg_3, nextTables, nextPerformers, nextComments);
360
+ const identifier = this$.Identifier;
361
+ const measurementType = this$.MeasurementType;
362
+ const technologyType = this$.TechnologyType;
363
+ const technologyPlatform = this$.TechnologyPlatform;
364
+ return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, nextTables, nextPerformers, nextComments);
510
365
  }
511
366
  UpdateBy(assay, onlyReplaceExisting, appendSequences) {
512
367
  const this$ = this;
@@ -589,8 +444,8 @@ export class ArcAssay {
589
444
  const r = match(create("(?<value>[^\\(]+) \\((?<ontology>[^(]*:[^)]*)\\)"), name);
590
445
  if (r != null) {
591
446
  let oa;
592
- const arg = (r.groups && r.groups.ontology) || "";
593
- oa = OntologyAnnotation.fromTermAnnotation(arg);
447
+ const termAnnotation = (r.groups && r.groups.ontology) || "";
448
+ oa = OntologyAnnotation.fromTermAnnotation(termAnnotation);
594
449
  return new OntologyAnnotation(oa.ID, new AnnotationValue(0, [Value__get_Text(Value_fromString_Z721C83C5((r.groups && r.groups.value) || ""))]), oa.TermSourceREF, oa.TermAccessionNumber, oa.Comments);
595
450
  }
596
451
  else {
@@ -629,18 +484,21 @@ export class ArcAssay {
629
484
  }
630
485
  ToAssay() {
631
486
  const this$ = this;
632
- const processSeq = ArcTables__GetProcesses(ArcTables_$ctor_Z18C2F36D(this$.Tables));
487
+ const processSeq = (new ArcTables(this$.Tables)).GetProcesses();
633
488
  let assayMaterials;
634
489
  const v_2 = AssayMaterials_create_Z253F0553(unwrap(Option_fromValueWithDefault(empty(), getSamples(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getMaterials(processSeq))));
635
490
  assayMaterials = Option_fromValueWithDefault(AssayMaterials_get_empty(), v_2);
636
- return Assay_create_3D372A24(void 0, unwrap(isMissingIdentifier(this$.Identifier) ? void 0 : Assay_fileNameFromIdentifier(this$.Identifier)), unwrap(this$.MeasurementType), unwrap(this$.TechnologyType), unwrap(map_1((arg) => ArcAssay.composeTechnologyPlatform(arg), this$.TechnologyPlatform)), unwrap(Option_fromValueWithDefault(empty(), getData(processSeq))), unwrap(assayMaterials), unwrap(Option_fromValueWithDefault(empty(), getCharacteristics(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getUnits(processSeq))), unwrap(Option_fromValueWithDefault(empty(), processSeq)), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Comments))));
491
+ return Assay_create_3D372A24(void 0, unwrap(isMissingIdentifier(this$.Identifier) ? void 0 : Assay_fileNameFromIdentifier(this$.Identifier)), unwrap(this$.MeasurementType), unwrap(this$.TechnologyType), unwrap(map_1((tp) => ArcAssay.composeTechnologyPlatform(tp), this$.TechnologyPlatform)), unwrap(Option_fromValueWithDefault(empty(), getData(processSeq))), unwrap(assayMaterials), unwrap(Option_fromValueWithDefault(empty(), getCharacteristics(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getUnits(processSeq))), unwrap(Option_fromValueWithDefault(empty(), processSeq)), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Comments))));
637
492
  }
638
493
  static fromAssay(a) {
639
- const tables = map_1((arg_1) => ArcTables__get_Tables(ArcTables_fromProcesses_134EBDED(arg_1)), a.ProcessSequence);
494
+ const tables = map_1((arg) => {
495
+ const t = ArcTables.fromProcesses(arg);
496
+ return t.Tables;
497
+ }, a.ProcessSequence);
640
498
  let identifer;
641
499
  const matchValue = a.FileName;
642
500
  identifer = ((matchValue == null) ? createMissingIdentifier() : Assay_identifierFromFileName(matchValue));
643
- return ArcAssay.create(identifer, unwrap(map_1((x) => x.Copy(), a.MeasurementType)), unwrap(map_1((x_1) => x_1.Copy(), a.TechnologyType)), unwrap(map_1((arg_2) => ArcAssay.decomposeTechnologyPlatform(arg_2), a.TechnologyPlatform)), unwrap(tables), void 0, unwrap(map_1(toArray_1, a.Comments)));
501
+ return ArcAssay.create(identifer, unwrap(map_1((x) => x.Copy(), a.MeasurementType)), unwrap(map_1((x_1) => x_1.Copy(), a.TechnologyType)), unwrap(map_1((name) => ArcAssay.decomposeTechnologyPlatform(name), a.TechnologyPlatform)), unwrap(tables), void 0, unwrap(map_1(toArray_1, a.Comments)));
644
502
  }
645
503
  StructurallyEquals(other) {
646
504
  let a, b, a_1, b_1, a_2, b_2;
@@ -652,21 +510,21 @@ export class ArcAssay {
652
510
  else {
653
511
  return false;
654
512
  }
655
- }, true, toList(delay(() => map_2((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) => {
513
+ }, true, toList(delay(() => map_2((i_1) => equals(item_1(i_1, a), item_1(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) => {
656
514
  if (acc_1) {
657
515
  return e_1;
658
516
  }
659
517
  else {
660
518
  return false;
661
519
  }
662
- }, true, toList(delay(() => map_2((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) => {
520
+ }, true, toList(delay(() => map_2((i_2) => equals(item_1(i_2, a_1), item_1(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) => {
663
521
  if (acc_2) {
664
522
  return e_2;
665
523
  }
666
524
  else {
667
525
  return false;
668
526
  }
669
- }, true, toList(delay(() => map_2((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))))]);
527
+ }, true, toList(delay(() => map_2((i_3) => equals(item_1(i_3, a_2), item_1(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))))]);
670
528
  }
671
529
  ReferenceEquals(other) {
672
530
  const this$ = this;
@@ -684,23 +542,23 @@ export class ArcAssay {
684
542
  }
685
543
 
686
544
  export function ArcAssay_$reflection() {
687
- return class_type("ARCtrl.ISA.ArcAssay", void 0, ArcAssay);
545
+ return class_type("ARCtrl.ISA.ArcAssay", void 0, ArcAssay, ArcTables_$reflection());
688
546
  }
689
547
 
690
548
  export function ArcAssay_$ctor_Z1126B596(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
691
549
  return new ArcAssay(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
692
550
  }
693
551
 
694
- export class ArcStudy {
552
+ export class ArcStudy extends ArcTables {
695
553
  constructor(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors, comments) {
554
+ super(defaultArg(tables, []));
696
555
  const publications_1 = defaultArg(publications, []);
697
556
  const contacts_1 = defaultArg(contacts, []);
698
557
  const studyDesignDescriptors_1 = defaultArg(studyDesignDescriptors, []);
699
- const tables_1 = defaultArg(tables, []);
700
558
  const registeredAssayIdentifiers_1 = defaultArg(registeredAssayIdentifiers, []);
701
559
  const factors_1 = defaultArg(factors, []);
702
560
  const comments_1 = defaultArg(comments, []);
703
- this["identifier@653"] = identifier;
561
+ this["identifier@564"] = identifier;
704
562
  this.investigation = void 0;
705
563
  this["Title@"] = title;
706
564
  this["Description@"] = description;
@@ -709,18 +567,17 @@ export class ArcStudy {
709
567
  this["Publications@"] = publications_1;
710
568
  this["Contacts@"] = contacts_1;
711
569
  this["StudyDesignDescriptors@"] = studyDesignDescriptors_1;
712
- this["Tables@"] = tables_1;
713
570
  this["RegisteredAssayIdentifiers@"] = registeredAssayIdentifiers_1;
714
571
  this["Factors@"] = factors_1;
715
572
  this["Comments@"] = comments_1;
716
573
  }
717
574
  get Identifier() {
718
575
  const this$ = this;
719
- return this$["identifier@653"];
576
+ return this$["identifier@564"];
720
577
  }
721
578
  set Identifier(i) {
722
579
  const this$ = this;
723
- this$["identifier@653"] = i;
580
+ this$["identifier@564"] = i;
724
581
  }
725
582
  get Investigation() {
726
583
  const this$ = this;
@@ -786,14 +643,6 @@ export class ArcStudy {
786
643
  const __ = this;
787
644
  __["StudyDesignDescriptors@"] = v;
788
645
  }
789
- get Tables() {
790
- const __ = this;
791
- return __["Tables@"];
792
- }
793
- set Tables(v) {
794
- const __ = this;
795
- __["Tables@"] = v;
796
- }
797
646
  get RegisteredAssayIdentifiers() {
798
647
  const __ = this;
799
648
  return __["RegisteredAssayIdentifiers@"];
@@ -963,8 +812,8 @@ export class ArcStudy {
963
812
  const this$ = this;
964
813
  const matchValue = this$.Investigation;
965
814
  if (matchValue == null) {
966
- const arg = map_2((identifier) => ArcAssay.init(identifier), this$.RegisteredAssayIdentifiers);
967
- return Array.from(arg);
815
+ const collection = map_2((identifier) => ArcAssay.init(identifier), this$.RegisteredAssayIdentifiers);
816
+ return Array.from(collection);
968
817
  }
969
818
  else {
970
819
  const i = matchValue;
@@ -977,18 +826,6 @@ export class ArcStudy {
977
826
  return copy.GetRegisteredAssaysOrIdentifier();
978
827
  };
979
828
  }
980
- get TableCount() {
981
- const this$ = this;
982
- return ArcTables__get_Count(ArcTables_$ctor_Z18C2F36D(this$.Tables)) | 0;
983
- }
984
- get TableNames() {
985
- const this$ = this;
986
- return ArcTables__get_TableNames(ArcTables_$ctor_Z18C2F36D(this$.Tables));
987
- }
988
- AddTable(table, index) {
989
- const this$ = this;
990
- ArcTables__AddTable_EC12B15(ArcTables_$ctor_Z18C2F36D(this$.Tables), table, unwrap(index));
991
- }
992
829
  static addTable(table, index) {
993
830
  return (study) => {
994
831
  const c = study.Copy();
@@ -996,10 +833,6 @@ export class ArcStudy {
996
833
  return c;
997
834
  };
998
835
  }
999
- AddTables(tables, index) {
1000
- const this$ = this;
1001
- ArcTables__AddTables_Z2D453886(ArcTables_$ctor_Z18C2F36D(this$.Tables), tables, unwrap(index));
1002
- }
1003
836
  static addTables(tables, index) {
1004
837
  return (study) => {
1005
838
  const c = study.Copy();
@@ -1007,20 +840,12 @@ export class ArcStudy {
1007
840
  return c;
1008
841
  };
1009
842
  }
1010
- InitTable(tableName, index) {
1011
- const this$ = this;
1012
- return ArcTables__InitTable_3B406CA4(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, unwrap(index));
1013
- }
1014
843
  static initTable(tableName, index) {
1015
844
  return (study) => {
1016
845
  const c = study.Copy();
1017
846
  return [c, c.InitTable(tableName, unwrap(index))];
1018
847
  };
1019
848
  }
1020
- InitTables(tableNames, index) {
1021
- const this$ = this;
1022
- ArcTables__InitTables_7B28792B(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableNames, unwrap(index));
1023
- }
1024
849
  static initTables(tableNames, index) {
1025
850
  return (study) => {
1026
851
  const c = study.Copy();
@@ -1028,30 +853,18 @@ export class ArcStudy {
1028
853
  return c;
1029
854
  };
1030
855
  }
1031
- GetTableAt(index) {
1032
- const this$ = this;
1033
- return ArcTables__GetTableAt_Z524259A4(ArcTables_$ctor_Z18C2F36D(this$.Tables), index);
1034
- }
1035
856
  static getTableAt(index) {
1036
857
  return (study) => {
1037
858
  const newAssay = study.Copy();
1038
859
  return newAssay.GetTableAt(index);
1039
860
  };
1040
861
  }
1041
- GetTable(name) {
1042
- const this$ = this;
1043
- return ArcTables__GetTable_Z721C83C5(ArcTables_$ctor_Z18C2F36D(this$.Tables), name);
1044
- }
1045
862
  static getTable(name) {
1046
863
  return (study) => {
1047
864
  const newAssay = study.Copy();
1048
865
  return newAssay.GetTable(name);
1049
866
  };
1050
867
  }
1051
- UpdateTableAt(index, table) {
1052
- const this$ = this;
1053
- ArcTables__UpdateTableAt_7E571736(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, table);
1054
- }
1055
868
  static updateTableAt(index, table) {
1056
869
  return (study) => {
1057
870
  const newAssay = study.Copy();
@@ -1059,10 +872,6 @@ export class ArcStudy {
1059
872
  return newAssay;
1060
873
  };
1061
874
  }
1062
- UpdateTable(name, table) {
1063
- const this$ = this;
1064
- ArcTables__UpdateTable_51766571(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, table);
1065
- }
1066
875
  static updateTable(name, table) {
1067
876
  return (study) => {
1068
877
  const newAssay = study.Copy();
@@ -1070,10 +879,6 @@ export class ArcStudy {
1070
879
  return newAssay;
1071
880
  };
1072
881
  }
1073
- SetTableAt(index, table) {
1074
- const this$ = this;
1075
- ArcTables__SetTableAt_7E571736(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, table);
1076
- }
1077
882
  static setTableAt(index, table) {
1078
883
  return (study) => {
1079
884
  const newAssay = study.Copy();
@@ -1081,10 +886,6 @@ export class ArcStudy {
1081
886
  return newAssay;
1082
887
  };
1083
888
  }
1084
- SetTable(name, table) {
1085
- const this$ = this;
1086
- ArcTables__SetTable_51766571(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, table);
1087
- }
1088
889
  static setTable(name, table) {
1089
890
  return (study) => {
1090
891
  const newAssay = study.Copy();
@@ -1092,10 +893,6 @@ export class ArcStudy {
1092
893
  return newAssay;
1093
894
  };
1094
895
  }
1095
- RemoveTableAt(index) {
1096
- const this$ = this;
1097
- ArcTables__RemoveTableAt_Z524259A4(ArcTables_$ctor_Z18C2F36D(this$.Tables), index);
1098
- }
1099
896
  static removeTableAt(index) {
1100
897
  return (study) => {
1101
898
  const newAssay = study.Copy();
@@ -1103,10 +900,6 @@ export class ArcStudy {
1103
900
  return newAssay;
1104
901
  };
1105
902
  }
1106
- RemoveTable(name) {
1107
- const this$ = this;
1108
- ArcTables__RemoveTable_Z721C83C5(ArcTables_$ctor_Z18C2F36D(this$.Tables), name);
1109
- }
1110
903
  static removeTable(name) {
1111
904
  return (study) => {
1112
905
  const newAssay = study.Copy();
@@ -1114,10 +907,6 @@ export class ArcStudy {
1114
907
  return newAssay;
1115
908
  };
1116
909
  }
1117
- MapTableAt(index, updateFun) {
1118
- const this$ = this;
1119
- ArcTables__MapTableAt_8FC095C(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, updateFun);
1120
- }
1121
910
  static mapTableAt(index, updateFun) {
1122
911
  return (study) => {
1123
912
  const newAssay = study.Copy();
@@ -1125,10 +914,6 @@ export class ArcStudy {
1125
914
  return newAssay;
1126
915
  };
1127
916
  }
1128
- MapTable(name, updateFun) {
1129
- const this$ = this;
1130
- ArcTables__MapTable_27DD7B1B(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, updateFun);
1131
- }
1132
917
  static mapTable(name, updateFun) {
1133
918
  return (study) => {
1134
919
  const newAssay = study.Copy();
@@ -1136,10 +921,6 @@ export class ArcStudy {
1136
921
  return newAssay;
1137
922
  };
1138
923
  }
1139
- RenameTableAt(index, newName) {
1140
- const this$ = this;
1141
- ArcTables__RenameTableAt_Z176EF219(ArcTables_$ctor_Z18C2F36D(this$.Tables), index, newName);
1142
- }
1143
924
  static renameTableAt(index, newName) {
1144
925
  return (study) => {
1145
926
  const newAssay = study.Copy();
@@ -1147,10 +928,6 @@ export class ArcStudy {
1147
928
  return newAssay;
1148
929
  };
1149
930
  }
1150
- RenameTable(name, newName) {
1151
- const this$ = this;
1152
- ArcTables__RenameTable_Z384F8060(ArcTables_$ctor_Z18C2F36D(this$.Tables), name, newName);
1153
- }
1154
931
  static renameTable(name, newName) {
1155
932
  return (study) => {
1156
933
  const newAssay = study.Copy();
@@ -1158,10 +935,6 @@ export class ArcStudy {
1158
935
  return newAssay;
1159
936
  };
1160
937
  }
1161
- AddColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
1162
- const this$ = this;
1163
- ArcTables__AddColumnAt_6A9784DB(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
1164
- }
1165
938
  static addColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
1166
939
  return (study) => {
1167
940
  const newAssay = study.Copy();
@@ -1169,10 +942,6 @@ export class ArcStudy {
1169
942
  return newAssay;
1170
943
  };
1171
944
  }
1172
- AddColumn(tableName, header, cells, columnIndex, forceReplace) {
1173
- const this$ = this;
1174
- ArcTables__AddColumn_1FF50D3C(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
1175
- }
1176
945
  static addColumn(tableName, header, cells, columnIndex, forceReplace) {
1177
946
  return (study) => {
1178
947
  const newAssay = study.Copy();
@@ -1180,10 +949,6 @@ export class ArcStudy {
1180
949
  return newAssay;
1181
950
  };
1182
951
  }
1183
- RemoveColumnAt(tableIndex, columnIndex) {
1184
- const this$ = this;
1185
- ArcTables__RemoveColumnAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, columnIndex);
1186
- }
1187
952
  static removeColumnAt(tableIndex, columnIndex) {
1188
953
  return (study) => {
1189
954
  const newAssay = study.Copy();
@@ -1191,10 +956,6 @@ export class ArcStudy {
1191
956
  return newAssay;
1192
957
  };
1193
958
  }
1194
- RemoveColumn(tableName, columnIndex) {
1195
- const this$ = this;
1196
- ArcTables__RemoveColumn_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, columnIndex);
1197
- }
1198
959
  static removeColumn(tableName, columnIndex) {
1199
960
  return (study) => {
1200
961
  const newAssay = study.Copy();
@@ -1202,10 +963,6 @@ export class ArcStudy {
1202
963
  return newAssay;
1203
964
  };
1204
965
  }
1205
- UpdateColumnAt(tableIndex, columnIndex, header, cells) {
1206
- const this$ = this;
1207
- ArcTables__UpdateColumnAt_21300791(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, columnIndex, header, unwrap(cells));
1208
- }
1209
966
  static updateColumnAt(tableIndex, columnIndex, header, cells) {
1210
967
  return (study) => {
1211
968
  const newAssay = study.Copy();
@@ -1213,10 +970,6 @@ export class ArcStudy {
1213
970
  return newAssay;
1214
971
  };
1215
972
  }
1216
- UpdateColumn(tableName, columnIndex, header, cells) {
1217
- const this$ = this;
1218
- ArcTables__UpdateColumn_Z6083042A(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, columnIndex, header, unwrap(cells));
1219
- }
1220
973
  static updateColumn(tableName, columnIndex, header, cells) {
1221
974
  return (study) => {
1222
975
  const newAssay = study.Copy();
@@ -1224,30 +977,18 @@ export class ArcStudy {
1224
977
  return newAssay;
1225
978
  };
1226
979
  }
1227
- GetColumnAt(tableIndex, columnIndex) {
1228
- const this$ = this;
1229
- return ArcTables__GetColumnAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, columnIndex);
1230
- }
1231
980
  static getColumnAt(tableIndex, columnIndex) {
1232
981
  return (study) => {
1233
982
  const newAssay = study.Copy();
1234
983
  return newAssay.GetColumnAt(tableIndex, columnIndex);
1235
984
  };
1236
985
  }
1237
- GetColumn(tableName, columnIndex) {
1238
- const this$ = this;
1239
- return ArcTables__GetColumn_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, columnIndex);
1240
- }
1241
986
  static getColumn(tableName, columnIndex) {
1242
987
  return (study) => {
1243
988
  const newAssay = study.Copy();
1244
989
  return newAssay.GetColumn(tableName, columnIndex);
1245
990
  };
1246
991
  }
1247
- AddRowAt(tableIndex, cells, rowIndex) {
1248
- const this$ = this;
1249
- ArcTables__AddRowAt_Z12CDB784(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, unwrap(cells), unwrap(rowIndex));
1250
- }
1251
992
  static addRowAt(tableIndex, cells, rowIndex) {
1252
993
  return (study) => {
1253
994
  const newAssay = study.Copy();
@@ -1255,10 +996,6 @@ export class ArcStudy {
1255
996
  return newAssay;
1256
997
  };
1257
998
  }
1258
- AddRow(tableName, cells, rowIndex) {
1259
- const this$ = this;
1260
- ArcTables__AddRow_Z16315DE5(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, unwrap(cells), unwrap(rowIndex));
1261
- }
1262
999
  static addRow(tableName, cells, rowIndex) {
1263
1000
  return (study) => {
1264
1001
  const newAssay = study.Copy();
@@ -1266,10 +1003,6 @@ export class ArcStudy {
1266
1003
  return newAssay;
1267
1004
  };
1268
1005
  }
1269
- RemoveRowAt(tableIndex, rowIndex) {
1270
- const this$ = this;
1271
- ArcTables__RemoveRowAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, rowIndex);
1272
- }
1273
1006
  static removeRowAt(tableIndex, rowIndex) {
1274
1007
  return (study) => {
1275
1008
  const newAssay = study.Copy();
@@ -1277,10 +1010,6 @@ export class ArcStudy {
1277
1010
  return newAssay;
1278
1011
  };
1279
1012
  }
1280
- RemoveRow(tableName, rowIndex) {
1281
- const this$ = this;
1282
- ArcTables__RemoveRow_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, rowIndex);
1283
- }
1284
1013
  static removeRow(tableName, rowIndex) {
1285
1014
  return (study) => {
1286
1015
  const newAssay = study.Copy();
@@ -1288,10 +1017,6 @@ export class ArcStudy {
1288
1017
  return newAssay;
1289
1018
  };
1290
1019
  }
1291
- UpdateRowAt(tableIndex, rowIndex, cells) {
1292
- const this$ = this;
1293
- ArcTables__UpdateRowAt_1CF7B5DC(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, rowIndex, cells);
1294
- }
1295
1020
  static updateRowAt(tableIndex, rowIndex, cells) {
1296
1021
  return (study) => {
1297
1022
  const newAssay = study.Copy();
@@ -1299,10 +1024,6 @@ export class ArcStudy {
1299
1024
  return newAssay;
1300
1025
  };
1301
1026
  }
1302
- UpdateRow(tableName, rowIndex, cells) {
1303
- const this$ = this;
1304
- ArcTables__UpdateRow_1BFE2CFB(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, rowIndex, cells);
1305
- }
1306
1027
  static updateRow(tableName, rowIndex, cells) {
1307
1028
  return (study) => {
1308
1029
  const newAssay = study.Copy();
@@ -1310,20 +1031,12 @@ export class ArcStudy {
1310
1031
  return newAssay;
1311
1032
  };
1312
1033
  }
1313
- GetRowAt(tableIndex, rowIndex) {
1314
- const this$ = this;
1315
- return ArcTables__GetRowAt_Z37302880(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableIndex, rowIndex);
1316
- }
1317
1034
  static getRowAt(tableIndex, rowIndex) {
1318
1035
  return (study) => {
1319
1036
  const newAssay = study.Copy();
1320
1037
  return newAssay.GetRowAt(tableIndex, rowIndex);
1321
1038
  };
1322
1039
  }
1323
- GetRow(tableName, rowIndex) {
1324
- const this$ = this;
1325
- return ArcTables__GetRow_Z18115A39(ArcTables_$ctor_Z18C2F36D(this$.Tables), tableName, rowIndex);
1326
- }
1327
1040
  static getRow(tableName, rowIndex) {
1328
1041
  return (study) => {
1329
1042
  const newAssay = study.Copy();
@@ -1358,12 +1071,12 @@ export class ArcStudy {
1358
1071
  const nextContacts = map((c_2) => c_2.Copy(), this$.Contacts);
1359
1072
  const nextPublications = map((c_3) => c_3.Copy(), this$.Publications);
1360
1073
  const nextStudyDesignDescriptors = map((c_4) => c_4.Copy(), this$.StudyDesignDescriptors);
1361
- const arg = this$.Identifier;
1362
- const arg_1 = this$.Title;
1363
- const arg_2 = this$.Description;
1364
- const arg_3 = this$.SubmissionDate;
1365
- const arg_4 = this$.PublicReleaseDate;
1366
- return ArcStudy.make(arg, arg_1, arg_2, arg_3, arg_4, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextAssayIdentifiers, nextFactors, nextComments);
1074
+ const identifier = this$.Identifier;
1075
+ const title = this$.Title;
1076
+ const description = this$.Description;
1077
+ const submissionDate = this$.SubmissionDate;
1078
+ const publicReleaseDate = this$.PublicReleaseDate;
1079
+ return ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextAssayIdentifiers, nextFactors, nextComments);
1367
1080
  }
1368
1081
  UpdateReferenceByStudyFile(study, onlyReplaceExisting, keepUnusedRefTables) {
1369
1082
  const this$ = this;
@@ -1390,8 +1103,8 @@ export class ArcStudy {
1390
1103
  this$.StudyDesignDescriptors = study.StudyDesignDescriptors;
1391
1104
  }
1392
1105
  if ((study.Tables.length !== 0) ? true : updateAlways) {
1393
- const tables = ArcTables_updateReferenceTablesBySheets_Z2EE88E97(ArcTables_$ctor_Z18C2F36D(this$.Tables), ArcTables_$ctor_Z18C2F36D(study.Tables), unwrap(keepUnusedRefTables));
1394
- this$.Tables = ArcTables__get_Tables(tables);
1106
+ const tables = ArcTables.updateReferenceTablesBySheets(new ArcTables(this$.Tables), new ArcTables(study.Tables), unwrap(keepUnusedRefTables));
1107
+ this$.Tables = tables.Tables;
1395
1108
  }
1396
1109
  if ((study.RegisteredAssayIdentifiers.length !== 0) ? true : updateAlways) {
1397
1110
  this$.RegisteredAssayIdentifiers = study.RegisteredAssayIdentifiers;
@@ -1405,7 +1118,7 @@ export class ArcStudy {
1405
1118
  }
1406
1119
  ToStudy(arcAssays) {
1407
1120
  const this$ = this;
1408
- const processSeq = ArcTables__GetProcesses(ArcTables_$ctor_Z18C2F36D(this$.Tables));
1121
+ const processSeq = (new ArcTables(this$.Tables)).GetProcesses();
1409
1122
  const protocols = Option_fromValueWithDefault(empty(), getProtocols(processSeq));
1410
1123
  let studyMaterials;
1411
1124
  const v_4 = StudyMaterials_create_1BE9FA55(unwrap(Option_fromValueWithDefault(empty(), getSources(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getSamples(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getMaterials(processSeq))));
@@ -1415,17 +1128,20 @@ export class ArcStudy {
1415
1128
  return Study_create_Z2D28E954(void 0, unwrap(patternInput[1]), unwrap(patternInput[0]), unwrap(this$.Title), unwrap(this$.Description), unwrap(this$.SubmissionDate), unwrap(this$.PublicReleaseDate), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Publications))), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Contacts))), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.StudyDesignDescriptors))), unwrap(protocols), unwrap(studyMaterials), unwrap(Option_fromValueWithDefault(empty(), processSeq)), unwrap(Option_fromValueWithDefault(empty(), assays)), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Factors))), unwrap(Option_fromValueWithDefault(empty(), getCharacteristics(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getUnits(processSeq))), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Comments))));
1416
1129
  }
1417
1130
  static fromStudy(s) {
1418
- const tables = map_1((arg_1) => ArcTables__get_Tables(ArcTables_fromProcesses_134EBDED(arg_1)), s.ProcessSequence);
1131
+ const tables = map_1((arg) => {
1132
+ const t = ArcTables.fromProcesses(arg);
1133
+ return t.Tables;
1134
+ }, s.ProcessSequence);
1419
1135
  let identifer;
1420
1136
  const matchValue = s.FileName;
1421
1137
  identifer = ((matchValue == null) ? createMissingIdentifier() : Study_identifierFromFileName(matchValue));
1422
- const assays = defaultArg(map_1((arg_4) => {
1423
- const arg_3 = map_3((arg_2) => ArcAssay.fromAssay(arg_2), arg_4);
1424
- return Array.from(arg_3);
1138
+ const assays = defaultArg(map_1((arg_1) => {
1139
+ const collection = map_3((a) => ArcAssay.fromAssay(a), arg_1);
1140
+ return Array.from(collection);
1425
1141
  }, s.Assays), []);
1426
1142
  let assaysIdentifiers;
1427
- const arg_5 = map_2((a) => a.Identifier, assays);
1428
- assaysIdentifiers = Array.from(arg_5);
1143
+ const collection_1 = map_2((a_1) => a_1.Identifier, assays);
1144
+ assaysIdentifiers = Array.from(collection_1);
1429
1145
  return [ArcStudy.create(identifer, unwrap(s.Title), unwrap(s.Description), unwrap(s.SubmissionDate), unwrap(s.PublicReleaseDate), unwrap(map_1(toArray_1, s.Publications)), unwrap(map_1(toArray_1, s.Contacts)), unwrap(map_1(toArray_1, s.StudyDesignDescriptors)), unwrap(tables), assaysIdentifiers, unwrap(map_1(toArray_1, s.Factors)), unwrap(map_1(toArray_1, s.Comments))), assays];
1430
1146
  }
1431
1147
  StructurallyEquals(other) {
@@ -1438,49 +1154,49 @@ export class ArcStudy {
1438
1154
  else {
1439
1155
  return false;
1440
1156
  }
1441
- }, true, toList(delay(() => map_2((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) => {
1157
+ }, true, toList(delay(() => map_2((i_1) => equals(item_1(i_1, a), item_1(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) => {
1442
1158
  if (acc_1) {
1443
1159
  return e_1;
1444
1160
  }
1445
1161
  else {
1446
1162
  return false;
1447
1163
  }
1448
- }, true, toList(delay(() => map_2((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) => {
1164
+ }, true, toList(delay(() => map_2((i_2) => equals(item_1(i_2, a_1), item_1(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) => {
1449
1165
  if (acc_2) {
1450
1166
  return e_2;
1451
1167
  }
1452
1168
  else {
1453
1169
  return false;
1454
1170
  }
1455
- }, true, toList(delay(() => map_2((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) => {
1171
+ }, true, toList(delay(() => map_2((i_3) => equals(item_1(i_3, a_2), item_1(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) => {
1456
1172
  if (acc_3) {
1457
1173
  return e_3;
1458
1174
  }
1459
1175
  else {
1460
1176
  return false;
1461
1177
  }
1462
- }, true, toList(delay(() => map_2((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) => {
1178
+ }, true, toList(delay(() => map_2((i_4) => equals(item_1(i_4, a_3), item_1(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) => {
1463
1179
  if (acc_4) {
1464
1180
  return e_4;
1465
1181
  }
1466
1182
  else {
1467
1183
  return false;
1468
1184
  }
1469
- }, true, toList(delay(() => map_2((i_5) => (item(i_5, a_4) === item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Factors, (b_5 = other.Factors, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
1185
+ }, true, toList(delay(() => map_2((i_5) => (item_1(i_5, a_4) === item_1(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Factors, (b_5 = other.Factors, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
1470
1186
  if (acc_5) {
1471
1187
  return e_5;
1472
1188
  }
1473
1189
  else {
1474
1190
  return false;
1475
1191
  }
1476
- }, true, toList(delay(() => map_2((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
1192
+ }, true, toList(delay(() => map_2((i_6) => equals(item_1(i_6, a_5), item_1(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
1477
1193
  if (acc_6) {
1478
1194
  return e_6;
1479
1195
  }
1480
1196
  else {
1481
1197
  return false;
1482
1198
  }
1483
- }, true, toList(delay(() => map_2((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1)))))))]);
1199
+ }, true, toList(delay(() => map_2((i_7) => equals(item_1(i_7, a_6), item_1(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1)))))))]);
1484
1200
  }
1485
1201
  ReferenceEquals(other) {
1486
1202
  const this$ = this;
@@ -1498,7 +1214,7 @@ export class ArcStudy {
1498
1214
  }
1499
1215
 
1500
1216
  export function ArcStudy_$reflection() {
1501
- return class_type("ARCtrl.ISA.ArcStudy", void 0, ArcStudy);
1217
+ return class_type("ARCtrl.ISA.ArcStudy", void 0, ArcStudy, ArcTables_$reflection());
1502
1218
  }
1503
1219
 
1504
1220
  export function ArcStudy_$ctor_Z4F2D842F(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors, comments) {
@@ -1541,7 +1257,7 @@ export class ArcInvestigation {
1541
1257
  const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
1542
1258
  const comments_1 = defaultArg(comments, []);
1543
1259
  const remarks_1 = defaultArg(remarks, []);
1544
- this["identifier@1321"] = identifier;
1260
+ this["identifier@1144"] = identifier;
1545
1261
  this["Title@"] = title;
1546
1262
  this["Description@"] = description;
1547
1263
  this["SubmissionDate@"] = submissionDate;
@@ -1554,15 +1270,15 @@ export class ArcInvestigation {
1554
1270
  this["RegisteredStudyIdentifiers@"] = registeredStudyIdentifiers_1;
1555
1271
  this["Comments@"] = comments_1;
1556
1272
  this["Remarks@"] = remarks_1;
1557
- this["init@1302"] = 1;
1273
+ this["init@1125"] = 1;
1558
1274
  }
1559
1275
  get Identifier() {
1560
1276
  const this$ = this;
1561
- return this$["identifier@1321"];
1277
+ return this$["identifier@1144"];
1562
1278
  }
1563
1279
  set Identifier(i) {
1564
1280
  const this$ = this;
1565
- this$["identifier@1321"] = i;
1281
+ this$["identifier@1144"] = i;
1566
1282
  }
1567
1283
  get Title() {
1568
1284
  const __ = this;
@@ -1801,8 +1517,8 @@ export class ArcInvestigation {
1801
1517
  }
1802
1518
  get RegisteredStudies() {
1803
1519
  const this$ = this;
1804
- const arg = map_2((identifier) => this$.GetStudy(identifier), this$.RegisteredStudyIdentifiers);
1805
- return Array.from(arg);
1520
+ const collection = map_2((identifier) => this$.GetStudy(identifier), this$.RegisteredStudyIdentifiers);
1521
+ return Array.from(collection);
1806
1522
  }
1807
1523
  get StudyCount() {
1808
1524
  const this$ = this;
@@ -2114,9 +1830,9 @@ export class ArcInvestigation {
2114
1830
  };
2115
1831
  }
2116
1832
  UpdateIOTypeByEntityID() {
2117
- let arg;
1833
+ let collection;
2118
1834
  const this$ = this;
2119
- const ioMap = ArcTablesAux_getIOMap((arg = toList(delay(() => append_4(collect((study) => study.Tables, this$.Studies), delay(() => collect((assay) => assay.Tables, this$.Assays))))), Array.from(arg)));
1835
+ const ioMap = ArcTablesAux_getIOMap((collection = toList(delay(() => append_4(collect((study) => study.Tables, this$.Studies), delay(() => collect((assay) => assay.Tables, this$.Assays))))), Array.from(collection)));
2120
1836
  let enumerator = getEnumerator(this$.Studies);
2121
1837
  try {
2122
1838
  while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
@@ -2181,18 +1897,18 @@ export class ArcInvestigation {
2181
1897
  let identifer;
2182
1898
  const matchValue = i.Identifier;
2183
1899
  identifer = ((matchValue == null) ? createMissingIdentifier() : matchValue);
2184
- const patternInput = unzip(map_3((arg) => ArcStudy.fromStudy(arg), defaultArg(i.Studies, empty())));
1900
+ const patternInput = unzip(map_3((s) => ArcStudy.fromStudy(s), defaultArg(i.Studies, empty())));
2185
1901
  const studiesRaw = patternInput[0];
2186
1902
  const studies = Array.from(studiesRaw);
2187
1903
  let studyIdentifiers;
2188
- const arg_1 = map_2((a) => a.Identifier, studiesRaw);
2189
- studyIdentifiers = Array.from(arg_1);
1904
+ const collection = map_2((a) => a.Identifier, studiesRaw);
1905
+ studyIdentifiers = Array.from(collection);
2190
1906
  let assays;
2191
- const arg_2 = distinctBy((a_1) => a_1.Identifier, concat(patternInput[1]), {
1907
+ const collection_1 = distinctBy((a_1) => a_1.Identifier, concat(patternInput[1]), {
2192
1908
  Equals: (x, y) => (x === y),
2193
1909
  GetHashCode: stringHash,
2194
1910
  });
2195
- assays = Array.from(arg_2);
1911
+ assays = Array.from(collection_1);
2196
1912
  return ArcInvestigation.create(identifer, i.Title, i.Description, i.SubmissionDate, i.PublicReleaseDate, void 0, map_1(toArray_1, i.Publications), map_1(toArray_1, i.Contacts), assays, studies, studyIdentifiers, map_1(toArray_1, i.Comments));
2197
1913
  }
2198
1914
  StructurallyEquals(other) {
@@ -2205,56 +1921,56 @@ export class ArcInvestigation {
2205
1921
  else {
2206
1922
  return false;
2207
1923
  }
2208
- }, true, toList(delay(() => map_2((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) => {
1924
+ }, true, toList(delay(() => map_2((i_1) => equals(item_1(i_1, a), item_1(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) => {
2209
1925
  if (acc_1) {
2210
1926
  return e_1;
2211
1927
  }
2212
1928
  else {
2213
1929
  return false;
2214
1930
  }
2215
- }, true, toList(delay(() => map_2((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) => {
1931
+ }, true, toList(delay(() => map_2((i_2) => equals(item_1(i_2, a_1), item_1(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) => {
2216
1932
  if (acc_2) {
2217
1933
  return e_2;
2218
1934
  }
2219
1935
  else {
2220
1936
  return false;
2221
1937
  }
2222
- }, true, toList(delay(() => map_2((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) => {
1938
+ }, true, toList(delay(() => map_2((i_3) => equals(item_1(i_3, a_2), item_1(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) => {
2223
1939
  if (acc_3) {
2224
1940
  return e_3;
2225
1941
  }
2226
1942
  else {
2227
1943
  return false;
2228
1944
  }
2229
- }, true, toList(delay(() => map_2((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) => {
1945
+ }, true, toList(delay(() => map_2((i_4) => equals(item_1(i_4, a_3), item_1(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) => {
2230
1946
  if (acc_4) {
2231
1947
  return e_4;
2232
1948
  }
2233
1949
  else {
2234
1950
  return false;
2235
1951
  }
2236
- }, true, toList(delay(() => map_2((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.RegisteredStudyIdentifiers, (b_5 = other.RegisteredStudyIdentifiers, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
1952
+ }, true, toList(delay(() => map_2((i_5) => equals(item_1(i_5, a_4), item_1(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.RegisteredStudyIdentifiers, (b_5 = other.RegisteredStudyIdentifiers, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
2237
1953
  if (acc_5) {
2238
1954
  return e_5;
2239
1955
  }
2240
1956
  else {
2241
1957
  return false;
2242
1958
  }
2243
- }, true, toList(delay(() => map_2((i_6) => (item(i_6, a_5) === item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
1959
+ }, true, toList(delay(() => map_2((i_6) => (item_1(i_6, a_5) === item_1(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
2244
1960
  if (acc_6) {
2245
1961
  return e_6;
2246
1962
  }
2247
1963
  else {
2248
1964
  return false;
2249
1965
  }
2250
- }, true, toList(delay(() => map_2((i_7) => equals(item(i_7, a_6), item(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1))))))), (a_7 = this$.Remarks, (b_7 = other.Remarks, (length(a_7) === length(b_7)) && fold((acc_7, e_7) => {
1966
+ }, true, toList(delay(() => map_2((i_7) => equals(item_1(i_7, a_6), item_1(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1))))))), (a_7 = this$.Remarks, (b_7 = other.Remarks, (length(a_7) === length(b_7)) && fold((acc_7, e_7) => {
2251
1967
  if (acc_7) {
2252
1968
  return e_7;
2253
1969
  }
2254
1970
  else {
2255
1971
  return false;
2256
1972
  }
2257
- }, true, toList(delay(() => map_2((i_8) => equals(item(i_8, a_7), item(i_8, b_7)), rangeDouble(0, 1, length(a_7) - 1)))))))]);
1973
+ }, true, toList(delay(() => map_2((i_8) => equals(item_1(i_8, a_7), item_1(i_8, b_7)), rangeDouble(0, 1, length(a_7) - 1)))))))]);
2258
1974
  }
2259
1975
  ReferenceEquals(other) {
2260
1976
  const this$ = this;