@nfdi4plants/arctrl 1.0.0-beta.3 → 1.0.0-beta.5

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 (241) hide show
  1. package/ARC.js +8 -8
  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 +8 -8
  10. package/FileSystem/Path.js +2 -2
  11. package/FileSystemTree.js +1 -1
  12. package/ISA/ISA/ArcTypes/ArcTable.js +39 -13
  13. package/ISA/ISA/ArcTypes/ArcTableAux.js +12 -12
  14. package/ISA/ISA/ArcTypes/ArcTables.js +24 -14
  15. package/ISA/ISA/ArcTypes/ArcTypes.js +11 -11
  16. package/ISA/ISA/ArcTypes/CompositeCell.js +8 -4
  17. package/ISA/ISA/ArcTypes/CompositeColumn.js +26 -5
  18. package/ISA/ISA/ArcTypes/CompositeHeader.js +32 -8
  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 +8 -8
  26. package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
  27. package/ISA/ISA/JsonTypes/ColumnIndex.js +5 -5
  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 +5 -5
  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 +6 -6
  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 +3 -3
  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 +6 -6
  41. package/ISA/ISA/JsonTypes/OntologySourceReference.js +6 -6
  42. package/ISA/ISA/JsonTypes/Person.js +7 -7
  43. package/ISA/ISA/JsonTypes/Process.js +10 -10
  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 +6 -6
  48. package/ISA/ISA/JsonTypes/Protocol.js +6 -6
  49. package/ISA/ISA/JsonTypes/ProtocolParameter.js +3 -3
  50. package/ISA/ISA/JsonTypes/Publication.js +6 -6
  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 +8 -8
  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/UIHelper.js +19 -0
  58. package/ISA/ISA.Json/Assay.js +3 -3
  59. package/ISA/ISA.Json/Comment.js +5 -5
  60. package/ISA/ISA.Json/ConverterOptions.js +1 -1
  61. package/ISA/ISA.Json/Data.js +5 -5
  62. package/ISA/ISA.Json/Decode.js +4 -4
  63. package/ISA/ISA.Json/Factor.js +5 -5
  64. package/ISA/ISA.Json/GEncode.js +3 -3
  65. package/ISA/ISA.Json/Investigation.js +4 -4
  66. package/ISA/ISA.Json/Material.js +5 -5
  67. package/ISA/ISA.Json/Ontology.js +6 -6
  68. package/ISA/ISA.Json/Person.js +5 -5
  69. package/ISA/ISA.Json/Process.js +5 -5
  70. package/ISA/ISA.Json/Protocol.js +6 -6
  71. package/ISA/ISA.Json/Publication.js +4 -4
  72. package/ISA/ISA.Json/Study.js +4 -4
  73. package/ISA/ISA.Json/Validation/Fable.js +6 -6
  74. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
  75. package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
  76. package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +4 -4
  77. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
  78. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +5 -5
  79. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  80. package/ISA/ISA.Spreadsheet/ArcAssay.js +5 -5
  81. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +10 -10
  82. package/ISA/ISA.Spreadsheet/ArcStudy.js +5 -5
  83. package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
  84. package/ISA/ISA.Spreadsheet/Metadata/Assays.js +5 -5
  85. package/ISA/ISA.Spreadsheet/Metadata/Comment.js +3 -3
  86. package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +5 -5
  87. package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +5 -5
  88. package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  89. package/ISA/ISA.Spreadsheet/Metadata/Factors.js +5 -5
  90. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
  91. package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +5 -5
  92. package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
  93. package/ISA/ISA.Spreadsheet/Metadata/Publication.js +5 -5
  94. package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +10 -10
  95. package/ISA/ISA.Spreadsheet/Metadata/Study.js +8 -8
  96. package/SemVer.js +7 -7
  97. package/Templates/Template.Json.js +7 -7
  98. package/Templates/Template.Spreadsheet.js +10 -10
  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 +7 -7
  104. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
  105. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  106. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  107. package/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js +14 -14
  108. package/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCellsCollection.fs.js +6 -6
  109. package/fable_modules/FsSpreadsheet.5.0.1/DSL/CellBuilder.fs.js +4 -4
  110. package/fable_modules/FsSpreadsheet.5.0.1/DSL/ColumnBuilder.fs.js +3 -3
  111. package/fable_modules/FsSpreadsheet.5.0.1/DSL/DSL.fs.js +2 -2
  112. package/fable_modules/FsSpreadsheet.5.0.1/DSL/Expression.fs.js +1 -1
  113. package/fable_modules/FsSpreadsheet.5.0.1/DSL/RowBuilder.fs.js +3 -3
  114. package/fable_modules/FsSpreadsheet.5.0.1/DSL/SheetBuilder.fs.js +3 -3
  115. package/fable_modules/FsSpreadsheet.5.0.1/DSL/TableBuilder.fs.js +3 -3
  116. package/fable_modules/FsSpreadsheet.5.0.1/DSL/Transform.fs.js +6 -6
  117. package/fable_modules/FsSpreadsheet.5.0.1/DSL/Types.fs.js +4 -4
  118. package/fable_modules/FsSpreadsheet.5.0.1/DSL/WorkbookBuilder.fs.js +3 -3
  119. package/fable_modules/FsSpreadsheet.5.0.1/FsAddress.fs.js +5 -5
  120. package/fable_modules/FsSpreadsheet.5.0.1/FsColumn.fs.js +3 -3
  121. package/fable_modules/FsSpreadsheet.5.0.1/FsRow.fs.js +3 -3
  122. package/fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs.js +6 -6
  123. package/fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs.js +9 -9
  124. package/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRange.fs.js +3 -3
  125. package/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeAddress.fs.js +2 -2
  126. package/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeBase.fs.js +3 -3
  127. package/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeColumn.fs.js +3 -3
  128. package/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeRow.fs.js +1 -1
  129. package/fable_modules/FsSpreadsheet.5.0.1/SheetBuilder.fs.js +8 -8
  130. package/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTable.fs.js +7 -7
  131. package/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTableField.fs.js +4 -4
  132. package/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTableRow.fs.js +1 -1
  133. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +20 -20
  134. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
  135. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
  136. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
  137. package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Util.js +1 -2
  138. package/fable_modules/project_cracked.json +1 -1
  139. package/package.json +1 -1
  140. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Array.d.ts +0 -0
  141. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Array.js +0 -0
  142. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Async.d.ts +0 -0
  143. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Async.js +0 -0
  144. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/AsyncBuilder.d.ts +0 -0
  145. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/AsyncBuilder.js +0 -0
  146. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/BigInt.d.ts +0 -0
  147. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/BigInt.js +0 -0
  148. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/BitConverter.d.ts +0 -0
  149. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/BitConverter.js +0 -0
  150. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Boolean.d.ts +0 -0
  151. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Boolean.js +0 -0
  152. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/CHANGELOG.md +0 -0
  153. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Char.d.ts +0 -0
  154. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Char.js +0 -0
  155. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Choice.d.ts +0 -0
  156. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Choice.js +0 -0
  157. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Date.d.ts +0 -0
  158. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Date.js +0 -0
  159. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/DateOffset.d.ts +0 -0
  160. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/DateOffset.js +0 -0
  161. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/DateOnly.d.ts +0 -0
  162. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/DateOnly.js +0 -0
  163. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Decimal.d.ts +0 -0
  164. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Decimal.js +0 -0
  165. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Double.d.ts +0 -0
  166. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Double.js +0 -0
  167. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Encoding.d.ts +0 -0
  168. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Encoding.js +0 -0
  169. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Event.d.ts +0 -0
  170. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Event.js +0 -0
  171. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/FSharp.Collections.d.ts +0 -0
  172. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/FSharp.Collections.js +0 -0
  173. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/FSharp.Core.d.ts +0 -0
  174. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/FSharp.Core.js +0 -0
  175. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Global.d.ts +0 -0
  176. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Global.js +0 -0
  177. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Guid.d.ts +0 -0
  178. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Guid.js +0 -0
  179. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Int32.d.ts +0 -0
  180. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Int32.js +0 -0
  181. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/List.d.ts +0 -0
  182. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/List.js +0 -0
  183. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Long.d.ts +0 -0
  184. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Long.js +0 -0
  185. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MailboxProcessor.d.ts +0 -0
  186. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MailboxProcessor.js +0 -0
  187. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Map.d.ts +0 -0
  188. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Map.js +0 -0
  189. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MapUtil.d.ts +0 -0
  190. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MapUtil.js +0 -0
  191. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MutableMap.d.ts +0 -0
  192. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MutableMap.js +0 -0
  193. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MutableSet.d.ts +0 -0
  194. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/MutableSet.js +0 -0
  195. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Native.d.ts +0 -0
  196. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Native.js +0 -0
  197. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Numeric.d.ts +0 -0
  198. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Numeric.js +0 -0
  199. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Observable.d.ts +0 -0
  200. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Observable.js +0 -0
  201. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Option.d.ts +0 -0
  202. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Option.js +0 -0
  203. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/README.md +0 -0
  204. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Random.d.ts +0 -0
  205. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Random.js +0 -0
  206. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Range.d.ts +0 -0
  207. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Range.js +0 -0
  208. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Reflection.d.ts +0 -0
  209. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Reflection.js +0 -0
  210. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/RegExp.d.ts +0 -0
  211. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/RegExp.js +0 -0
  212. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Seq.d.ts +0 -0
  213. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Seq.js +0 -0
  214. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Seq2.d.ts +0 -0
  215. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Seq2.js +0 -0
  216. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Set.d.ts +0 -0
  217. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Set.js +0 -0
  218. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/String.d.ts +0 -0
  219. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/String.js +0 -0
  220. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/System.Collections.Generic.d.ts +0 -0
  221. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/System.Collections.Generic.js +0 -0
  222. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/System.Text.d.ts +0 -0
  223. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/System.Text.js +0 -0
  224. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/SystemException.d.ts +0 -0
  225. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/SystemException.js +0 -0
  226. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/TimeOnly.d.ts +0 -0
  227. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/TimeOnly.js +0 -0
  228. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/TimeSpan.d.ts +0 -0
  229. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/TimeSpan.js +0 -0
  230. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Timer.d.ts +0 -0
  231. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Timer.js +0 -0
  232. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Types.d.ts +0 -0
  233. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Types.js +0 -0
  234. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Unicode.13.0.0.d.ts +0 -0
  235. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Unicode.13.0.0.js +0 -0
  236. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Uri.d.ts +0 -0
  237. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Uri.js +0 -0
  238. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/Util.d.ts +0 -0
  239. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/lib/big.d.ts +0 -0
  240. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/lib/big.js +0 -0
  241. /package/fable_modules/{fable-library.4.4.1 → fable-library.4.5.0}/package.json +0 -0
package/ARC.js CHANGED
@@ -1,27 +1,27 @@
1
- import { concat, fold, exactlyOne, choose, map } from "./fable_modules/fable-library.4.4.1/Array.js";
1
+ import { concat, fold, exactlyOne, choose, map } from "./fable_modules/fable-library.4.5.0/Array.js";
2
2
  import { toFsWorkbook as toFsWorkbook_1, fromFsWorkbook } from "./ISA/ISA.Spreadsheet/ArcAssay.js";
3
3
  import { tryFromContract } from "./Contracts/Contracts.ArcAssay.js";
4
4
  import { ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9, ARCtrl_ISA_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D } from "./ISA/ISA.Spreadsheet/ArcStudy.js";
5
5
  import { tryFromContract as tryFromContract_1 } from "./Contracts/Contracts.ArcStudy.js";
6
6
  import { toFsWorkbook, fromFsWorkbook as fromFsWorkbook_1 } from "./ISA/ISA.Spreadsheet/ArcInvestigation.js";
7
7
  import { tryFromContract as tryFromContract_2 } from "./Contracts/Contracts.ArcInvestigation.js";
8
- import { collect, toList, empty, singleton, append, delay, iterate, find, tryFind, toArray } from "./fable_modules/fable-library.4.4.1/Seq.js";
8
+ import { collect, toList, empty, singleton, append, delay, iterate, find, tryFind, toArray } from "./fable_modules/fable-library.4.5.0/Seq.js";
9
9
  import { createRunsFolder, createWorkflowsFolder, createInvestigationFile, createStudyFolder, createStudiesFolder, createAssayFolder, createAssaysFolder } from "./FileSystemTree.js";
10
10
  import { FileSystemTree } from "./FileSystem/FileSystemTree.js";
11
11
  import { FileSystem } from "./FileSystem/FileSystem.js";
12
- import { bind, map as map_1, value as value_2, defaultArg, unwrap } from "./fable_modules/fable-library.4.4.1/Option.js";
12
+ import { bind, map as map_1, value as value_2, defaultArg, unwrap } from "./fable_modules/fable-library.4.5.0/Option.js";
13
13
  import { tryISAReadContractFromPath } from "./Contracts/Contracts.ARCtrl.js";
14
14
  import { ArcTables } from "./ISA/ISA/ArcTypes/ArcTables.js";
15
- import { addToDict } from "./fable_modules/fable-library.4.4.1/MapUtil.js";
15
+ import { addToDict } from "./fable_modules/fable-library.4.5.0/MapUtil.js";
16
16
  import { ArcInvestigation } from "./ISA/ISA/ArcTypes/ArcTypes.js";
17
17
  import { Assay_fileNameFromIdentifier, Study_fileNameFromIdentifier } from "./ISA/ISA/Identifier.js";
18
18
  import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.5.0.1/Cells/FsCellsCollection.fs.js";
19
19
  import { Contract } from "./Contract/Contract.js";
20
20
  import { Clone_createCloneContract_5000466F, Init_createAddRemoteContract_Z721C83C5, gitignoreContract, Init_createInitContract_6DFDD678 } from "./Contracts/Contracts.Git.js";
21
- import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library.4.4.1/Set.js";
22
- import { comparePrimitives } from "./fable_modules/fable-library.4.4.1/Util.js";
23
- import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library.4.4.1/Map.js";
24
- import { class_type } from "./fable_modules/fable-library.4.4.1/Reflection.js";
21
+ import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library.4.5.0/Set.js";
22
+ import { comparePrimitives } from "./fable_modules/fable-library.4.5.0/Util.js";
23
+ import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library.4.5.0/Map.js";
24
+ import { class_type } from "./fable_modules/fable-library.4.5.0/Reflection.js";
25
25
 
26
26
  export function ARCAux_getArcAssaysFromContracts(contracts) {
27
27
  return map(fromFsWorkbook, choose(tryFromContract, contracts));
@@ -1,6 +1,6 @@
1
- import { Record } from "../fable_modules/fable-library.4.4.1/Types.js";
2
- import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
3
- import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { Record } from "../fable_modules/fable-library.4.5.0/Types.js";
2
+ import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
3
+ import { defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
4
4
 
5
5
  export class CLITool extends Record {
6
6
  constructor(Name, Arguments) {
@@ -1,7 +1,7 @@
1
- import { some } from "../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { some } from "../fable_modules/fable-library.4.5.0/Option.js";
2
2
  import { combineMany } from "../FileSystem/Path.js";
3
- import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
4
- import { defaultOf } from "../fable_modules/fable-library.4.4.1/Util.js";
3
+ import { equalsWith } from "../fable_modules/fable-library.4.5.0/Array.js";
4
+ import { defaultOf } from "../fable_modules/fable-library.4.5.0/Util.js";
5
5
 
6
6
  export function tryFromContract(c) {
7
7
  let matchResult, fsworkbook;
@@ -1,7 +1,7 @@
1
- import { some } from "../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { some } from "../fable_modules/fable-library.4.5.0/Option.js";
2
2
  import { combineMany } from "../FileSystem/Path.js";
3
- import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
4
- import { defaultOf } from "../fable_modules/fable-library.4.4.1/Util.js";
3
+ import { equalsWith } from "../fable_modules/fable-library.4.5.0/Array.js";
4
+ import { defaultOf } from "../fable_modules/fable-library.4.5.0/Util.js";
5
5
 
6
6
  export function tryFromContract(c) {
7
7
  let matchResult, fsworkbook;
@@ -1,7 +1,7 @@
1
- import { some } from "../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { some } from "../fable_modules/fable-library.4.5.0/Option.js";
2
2
  import { combineMany } from "../FileSystem/Path.js";
3
- import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
4
- import { defaultOf } from "../fable_modules/fable-library.4.4.1/Util.js";
3
+ import { equalsWith } from "../fable_modules/fable-library.4.5.0/Array.js";
4
+ import { defaultOf } from "../fable_modules/fable-library.4.5.0/Util.js";
5
5
 
6
6
  export function tryFromContract(c) {
7
7
  let matchResult, fsworkbook;
@@ -1,9 +1,9 @@
1
1
  import { Contract, CLITool } from "../Contract/Contract.js";
2
2
  import { dgi } from "../FileSystem/DefaultGitignore.js";
3
- import { class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
4
- import { value, defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
5
- import { replace } from "../fable_modules/fable-library.4.4.1/String.js";
6
- import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library.4.4.1/Seq.js";
3
+ import { class_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
4
+ import { value, defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
5
+ import { replace } from "../fable_modules/fable-library.4.5.0/String.js";
6
+ import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library.4.5.0/Seq.js";
7
7
 
8
8
  export function gitWithArgs(arguments$) {
9
9
  return CLITool.create("git", arguments$);
@@ -1,5 +1,5 @@
1
- import { Record } from "../fable_modules/fable-library.4.4.1/Types.js";
2
- import { record_type, class_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
1
+ import { Record } from "../fable_modules/fable-library.4.5.0/Types.js";
2
+ import { record_type, class_type, string_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
3
3
 
4
4
  export class Commit extends Record {
5
5
  constructor(Hash, UserName, UserEmail, Date$, Message) {
@@ -1,9 +1,9 @@
1
- import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
2
2
  import { FileSystemTree_$reflection, FileSystemTree } from "./FileSystemTree.js";
3
- import { map, append } from "../fable_modules/fable-library.4.4.1/Array.js";
4
- import { Record } from "../fable_modules/fable-library.4.4.1/Types.js";
3
+ import { map, append } from "../fable_modules/fable-library.4.5.0/Array.js";
4
+ import { Record } from "../fable_modules/fable-library.4.5.0/Types.js";
5
5
  import { Commit_$reflection } from "./Commit.js";
6
- import { record_type, array_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
6
+ import { record_type, array_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
7
7
 
8
8
  export class FileSystem extends Record {
9
9
  constructor(Tree, History) {
@@ -1,12 +1,12 @@
1
- import { unwrap, defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
2
- import { append as append_1, choose, equalsWith, tail, head, map, tryFind } from "../fable_modules/fable-library.4.4.1/Array.js";
3
- import { singleton, append, delay, toArray } from "../fable_modules/fable-library.4.4.1/Seq.js";
4
- import { Array_distinct, Array_groupBy } from "../fable_modules/fable-library.4.4.1/Seq2.js";
5
- import { curry2, arrayHash, stringHash } from "../fable_modules/fable-library.4.4.1/Util.js";
1
+ import { unwrap, defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
2
+ import { append as append_1, choose, equalsWith, tail, head, map, tryFind } from "../fable_modules/fable-library.4.5.0/Array.js";
3
+ import { singleton, append, delay, toArray } from "../fable_modules/fable-library.4.5.0/Seq.js";
4
+ import { Array_distinct, Array_groupBy } from "../fable_modules/fable-library.4.5.0/Seq2.js";
5
+ import { curry2, arrayHash, stringHash } from "../fable_modules/fable-library.4.5.0/Util.js";
6
6
  import { combineMany, split } from "./Path.js";
7
- import { empty, reverse, toArray as toArray_1, cons } from "../fable_modules/fable-library.4.4.1/List.js";
8
- import { Union } from "../fable_modules/fable-library.4.4.1/Types.js";
9
- import { union_type, array_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
7
+ import { empty, reverse, toArray as toArray_1, cons } from "../fable_modules/fable-library.4.5.0/List.js";
8
+ import { Union } from "../fable_modules/fable-library.4.5.0/Types.js";
9
+ import { union_type, array_type, string_type } from "../fable_modules/fable-library.4.5.0/Reflection.js";
10
10
 
11
11
  export class FileSystemTree extends Union {
12
12
  constructor(tag, fields) {
@@ -1,5 +1,5 @@
1
- import { trim, join, trimStart, trimEnd, split as split_1 } from "../fable_modules/fable-library.4.4.1/String.js";
2
- import { last, mapIndexed } from "../fable_modules/fable-library.4.4.1/Array.js";
1
+ import { trim, join, trimStart, trimEnd, split as split_1 } from "../fable_modules/fable-library.4.5.0/String.js";
2
+ import { last, mapIndexed } from "../fable_modules/fable-library.4.5.0/Array.js";
3
3
 
4
4
  export const seperators = ["/", "\\"];
5
5
 
package/FileSystemTree.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { FileSystemTree } from "./FileSystem/FileSystemTree.js";
2
- import { append } from "./fable_modules/fable-library.4.4.1/Array.js";
2
+ import { append } from "./fable_modules/fable-library.4.5.0/Array.js";
3
3
 
4
4
  export function createGitKeepFile() {
5
5
  return FileSystemTree.createFile(".gitkeep");
@@ -1,15 +1,15 @@
1
- import { Dictionary } from "../../../fable_modules/fable-library.4.4.1/MutableMap.js";
2
- import { compareArrays, safeHash, disposeSafe, getEnumerator, equals, comparePrimitives, arrayHash, equalArrays } from "../../../fable_modules/fable-library.4.4.1/Util.js";
3
- import { value as value_9, map as map_2, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
2
+ import { compareArrays, safeHash, disposeSafe, getEnumerator, equals, comparePrimitives, arrayHash, equalArrays } from "../../../fable_modules/fable-library.4.5.0/Util.js";
3
+ import { value as value_9, map as map_2, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.5.0/Option.js";
4
4
  import { Unchecked_extendToRowCount, ProcessParsing_processToRows, ProcessParsing_alignByHeaders, ProcessParsing_mergeIdenticalProcesses, ProcessParsing_getProcessGetter, Unchecked_removeRowCells_withIndexChange, Unchecked_addRow, Unchecked_getEmptyCellForHeader, Unchecked_removeColumnCells_withIndexChange, tryFindDuplicateUniqueInArray, Unchecked_removeColumnCells, Unchecked_removeHeader, Unchecked_fillMissingCells, Unchecked_addColumn, tryFindDuplicateUnique, Unchecked_setCellAt, SanityChecks_validateColumn, SanityChecks_validateRowIndex, SanityChecks_validateColumnIndex, Unchecked_tryGetCellAt, getRowCount, getColumnCount } from "./ArcTableAux.js";
5
- import { item, append as append_1, indexed as indexed_1, choose, toList, zip, fold, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
6
- import { rangeDouble } from "../../../fable_modules/fable-library.4.4.1/Range.js";
5
+ import { item, append as append_1, indexed as indexed_1, choose, toList, zip, fold, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
6
+ import { rangeDouble } from "../../../fable_modules/fable-library.4.5.0/Range.js";
7
7
  import { CompositeColumn } from "./CompositeColumn.js";
8
- import { sortBy, indexed, mapIndexed, singleton as singleton_1, initialize, sortDescending, iterateIndexed, map as map_1 } from "../../../fable_modules/fable-library.4.4.1/Array.js";
9
- import { append, collect as collect_1, initialize as initialize_1, singleton as singleton_2, empty as empty_1, iterate, isEmpty } from "../../../fable_modules/fable-library.4.4.1/List.js";
10
- import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../../fable_modules/fable-library.4.4.1/System.Text.js";
11
- import { toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
12
- import { join, printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
8
+ import { sortBy, indexed, mapIndexed, singleton as singleton_1, initialize, sortDescending, iterateIndexed, map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Array.js";
9
+ import { append, collect as collect_1, initialize as initialize_1, singleton as singleton_2, empty as empty_1, iterate, isEmpty } from "../../../fable_modules/fable-library.4.5.0/List.js";
10
+ import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../../fable_modules/fable-library.4.5.0/System.Text.js";
11
+ import { toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
12
+ import { join, printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
13
13
  import { CompositeCell } from "./CompositeCell.js";
14
14
  import { CompositeHeader } from "./CompositeHeader.js";
15
15
  import { createMissingIdentifier } from "../Identifier.js";
@@ -18,12 +18,12 @@ import { Protocol_create_Z7DFD6E67, Protocol_addComponent, Protocol_addParameter
18
18
  import { OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
19
19
  import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
20
20
  import { Component_create_61502994 } from "../JsonTypes/Component.js";
21
- import { Array_groupBy, List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
21
+ import { Array_groupBy, List_distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
22
22
  import { toProtocol } from "./CompositeRow.js";
23
23
  import { Process_create_Z42860F3E } from "../JsonTypes/Process.js";
24
- import { getItemFromDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
24
+ import { getItemFromDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
25
25
  import { HashCodes_boxHashArray } from "../Helper.js";
26
- import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
26
+ import { class_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
27
27
 
28
28
  export class ArcTable {
29
29
  constructor(name, headers, values) {
@@ -113,6 +113,32 @@ export class ArcTable {
113
113
  static tryGetCellAt(column, row) {
114
114
  return (table) => table.TryGetCellAt(column, row);
115
115
  }
116
+ IterColumns(action) {
117
+ const this$ = this;
118
+ for (let columnIndex = 0; columnIndex <= (this$.ColumnCount - 1); columnIndex++) {
119
+ action(this$.GetColumn(columnIndex));
120
+ }
121
+ }
122
+ static iterColumns(action) {
123
+ return (table) => {
124
+ const copy = table.Copy();
125
+ copy.IterColumns(action);
126
+ return copy;
127
+ };
128
+ }
129
+ IteriColumns(action) {
130
+ const this$ = this;
131
+ for (let columnIndex = 0; columnIndex <= (this$.ColumnCount - 1); columnIndex++) {
132
+ action(columnIndex, this$.GetColumn(columnIndex));
133
+ }
134
+ }
135
+ static iteriColumns(action) {
136
+ return (table) => {
137
+ const copy = table.Copy();
138
+ copy.IteriColumns(action);
139
+ return copy;
140
+ };
141
+ }
116
142
  UpdateCellAt(columnIndex, rowIndex, c) {
117
143
  const this$ = this;
118
144
  SanityChecks_validateColumnIndex(columnIndex, this$.ColumnCount, false);
@@ -1,23 +1,23 @@
1
- import { getItemFromDict, addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
2
- import { map as map_1, defaultArg, unwrap, value as value_9, some } from "../../../fable_modules/fable-library.4.4.1/Option.js";
3
- import { empty as empty_2, singleton as singleton_1, append, delay, map, tryPick, toList, indexed, initialize, filter, tryFindIndex, maxBy } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
4
- import { arrayHash, equalArrays, stringHash, int32ToString, compareArrays, disposeSafe, getEnumerator, compare, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.4.1/Util.js";
5
- import { pick, exists, zip, append as append_1, sortBy, tryPick as tryPick_1, collect, mapIndexed, item, length, map as map_2, ofArray, singleton, choose, ofSeq, empty as empty_1, head, tail as tail_1, isEmpty, cons } from "../../../fable_modules/fable-library.4.4.1/List.js";
1
+ import { getItemFromDict, addToDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
2
+ import { map as map_1, defaultArg, unwrap, value as value_9, some } from "../../../fable_modules/fable-library.4.5.0/Option.js";
3
+ import { empty as empty_2, singleton as singleton_1, append, delay, map, tryPick, toList, indexed, initialize, filter, tryFindIndex, maxBy } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
4
+ import { arrayHash, equalArrays, stringHash, int32ToString, compareArrays, disposeSafe, getEnumerator, compare, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.5.0/Util.js";
5
+ import { pick, exists, zip, append as append_1, sortBy, tryPick as tryPick_1, collect, mapIndexed, item, length, map as map_2, ofArray, singleton, choose, ofSeq, empty as empty_1, head, tail as tail_1, isEmpty, cons } from "../../../fable_modules/fable-library.4.5.0/List.js";
6
6
  import { CompositeCell } from "./CompositeCell.js";
7
- import { max } from "../../../fable_modules/fable-library.4.4.1/Double.js";
8
- import { iterateIndexed } from "../../../fable_modules/fable-library.4.4.1/Array.js";
9
- import { FSharpSet__get_MinimumElement, FSharpSet__get_IsEmpty, difference, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.4.1/Set.js";
7
+ import { max } from "../../../fable_modules/fable-library.4.5.0/Double.js";
8
+ import { iterateIndexed } from "../../../fable_modules/fable-library.4.5.0/Array.js";
9
+ import { FSharpSet__get_MinimumElement, FSharpSet__get_IsEmpty, difference, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.5.0/Set.js";
10
10
  import { Value_fromString_Z721C83C5, Value as Value_1 } from "../JsonTypes/Value.js";
11
11
  import { Component_fromOptions } from "../JsonTypes/Component.js";
12
12
  import { ProcessParameterValue_create_569825F3 } from "../JsonTypes/ProcessParameterValue.js";
13
13
  import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
14
14
  import { FactorValue_create_18335379 } from "../JsonTypes/FactorValue.js";
15
15
  import { Factor } from "../JsonTypes/Factor.js";
16
- import { toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
16
+ import { toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
17
17
  import { MaterialAttributeValue_create_7F714043 } from "../JsonTypes/MaterialAttributeValue.js";
18
18
  import { MaterialAttribute_create_Z6C54B221 } from "../JsonTypes/MaterialAttribute.js";
19
19
  import { ProcessInput_getCharacteristicValues_102B6859, ProcessInput__isMaterial, ProcessInput__isData, ProcessInput_setCharacteristicValues, ProcessInput__get_Name, ProcessInput__isSource, ProcessInput__isSample, ProcessInput, ProcessInput_createDerivedData_Z721C83C5, ProcessInput_createRawData_Z721C83C5, ProcessInput_createImageFile_Z721C83C5, ProcessInput_createMaterial_2363974C, ProcessInput_createSample_Z6DF16D07, ProcessInput_createSource_7888CE42 } from "../JsonTypes/ProcessInput.js";
20
- import { remove, printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
20
+ import { remove, printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
21
21
  import { ProcessOutput_getFactorValues_11830B70, ProcessOutput__isMaterial, ProcessOutput__isData, ProcessOutput_setFactorValues, ProcessOutput__get_Name, ProcessOutput__isSample, ProcessOutput, ProcessOutput_createDerivedData_Z721C83C5, ProcessOutput_createRawData_Z721C83C5, ProcessOutput_createImageFile_Z721C83C5, ProcessOutput_createMaterial_2363974C, ProcessOutput_createSample_Z6DF16D07 } from "../JsonTypes/ProcessOutput.js";
22
22
  import { IOType, CompositeHeader } from "./CompositeHeader.js";
23
23
  import { tryGetFactorColumnIndex, tryGetCharacteristicColumnIndex, tryGetComponentIndex, tryGetParameterColumnIndex, ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4 } from "../JsonTypes/ColumnIndex.js";
@@ -26,9 +26,9 @@ import { Sample_create_E50ED22 } from "../JsonTypes/Sample.js";
26
26
  import { Process_create_Z42860F3E, Process_decomposeName_Z721C83C5, Process_make, Process_composeName } from "../JsonTypes/Process.js";
27
27
  import { List_tryPickAndRemove, Option_fromValueWithDefault } from "../Helper.js";
28
28
  import { Protocol_make } from "../JsonTypes/Protocol.js";
29
- import { List_groupBy } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
29
+ import { List_groupBy } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
30
30
  import { createMissingIdentifier } from "../Identifier.js";
31
- import { Dictionary } from "../../../fable_modules/fable-library.4.4.1/MutableMap.js";
31
+ import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
32
32
 
33
33
  /**
34
34
  * Returns the dictionary with the binding added to the given dictionary.
@@ -1,17 +1,17 @@
1
- import { append, toArray, reduce, choose, map as map_1, delay, toList, length, findIndex, tryFindIndex } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
1
+ import { append, toArray, reduce, choose, map as map_1, delay, toList, length, findIndex, tryFindIndex } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
2
2
  import { Dict_tryFind } from "../Helper.js";
3
- import { addToSet, addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
4
- import { toIterator, equals, comparePrimitives, stringHash, compare, disposeSafe, getEnumerator } from "../../../fable_modules/fable-library.4.4.1/Util.js";
5
- import { bind, map as map_3, unwrap, defaultArg, value as value_2 } from "../../../fable_modules/fable-library.4.4.1/Option.js";
6
- import { collect as collect_1, map as map_4, insertRangeInPlace, fold } from "../../../fable_modules/fable-library.4.4.1/Array.js";
3
+ import { addToSet, addToDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
4
+ import { toIterator, equals, comparePrimitives, stringHash, compare, disposeSafe, getEnumerator } from "../../../fable_modules/fable-library.4.5.0/Util.js";
5
+ import { bind, map as map_3, unwrap, defaultArg, value as value_2 } from "../../../fable_modules/fable-library.4.5.0/Option.js";
6
+ import { collect as collect_1, map as map_4, insertRangeInPlace, fold } from "../../../fable_modules/fable-library.4.5.0/Array.js";
7
7
  import { CompositeHeader } from "./CompositeHeader.js";
8
- import { Array_groupBy, distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
9
- import { FSharpSet__get_IsEmpty, ofSeq, intersect } from "../../../fable_modules/fable-library.4.4.1/Set.js";
8
+ import { Array_groupBy, distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
9
+ import { FSharpSet__get_IsEmpty, ofSeq, intersect } from "../../../fable_modules/fable-library.4.5.0/Set.js";
10
10
  import { ArcTable } from "./ArcTable.js";
11
- import { map as map_2, collect } from "../../../fable_modules/fable-library.4.4.1/List.js";
11
+ import { map as map_2, collect } from "../../../fable_modules/fable-library.4.5.0/List.js";
12
12
  import { Unchecked_fillMissingCells, ProcessParsing_groupProcesses, ProcessParsing_processToRows, ProcessParsing_alignByHeaders } from "./ArcTableAux.js";
13
- import { tryFind, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.4.1/Map.js";
14
- import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
13
+ import { tryFind, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.5.0/Map.js";
14
+ import { class_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
15
15
 
16
16
  /**
17
17
  * If a table with the given name exists in the TableList, returns it, else returns None.
@@ -60,7 +60,7 @@ export function ArcTablesAux_getIOMap(tables) {
60
60
  }
61
61
  else {
62
62
  const ic = matchValue_1;
63
- const ioType_1 = value_2(ic.Header.tryInput());
63
+ const ioType_1 = value_2(ic.Header.TryInput());
64
64
  ic.Cells.forEach((c) => {
65
65
  includeInMap(c.ToFreeTextCell().AsFreeText, ioType_1);
66
66
  });
@@ -70,7 +70,7 @@ export function ArcTablesAux_getIOMap(tables) {
70
70
  }
71
71
  else {
72
72
  const oc = matchValue_2;
73
- const ioType_2 = value_2(oc.Header.tryOutput());
73
+ const ioType_2 = value_2(oc.Header.TryOutput());
74
74
  oc.Cells.forEach((c_1) => {
75
75
  includeInMap(c_1.ToFreeTextCell().AsFreeText, ioType_2);
76
76
  });
@@ -103,7 +103,7 @@ export function ArcTablesAux_applyIOMap(map, tables) {
103
103
  const newIO = matchValue_1;
104
104
  return io.Merge(newIO);
105
105
  }
106
- }, value_2(ic.Header.tryInput()), ic.Cells);
106
+ }, value_2(ic.Header.TryInput()), ic.Cells);
107
107
  table.UpdateHeader(index, new CompositeHeader(11, [newIOType]));
108
108
  }
109
109
  const matchValue_2 = table.TryGetOutputColumn();
@@ -121,7 +121,7 @@ export function ArcTablesAux_applyIOMap(map, tables) {
121
121
  const newIO_1 = matchValue_3;
122
122
  return io_1.Merge(newIO_1);
123
123
  }
124
- }, value_2(oc.Header.tryOutput()), oc.Cells);
124
+ }, value_2(oc.Header.TryOutput()), oc.Cells);
125
125
  table.UpdateHeader(index_1, new CompositeHeader(12, [newIOType_1]));
126
126
  }
127
127
  }
@@ -210,6 +210,10 @@ export class ArcTables {
210
210
  const __ = this;
211
211
  __["Tables@"] = v;
212
212
  }
213
+ get_Item(index) {
214
+ const this$ = this;
215
+ return this$.Tables[index];
216
+ }
213
217
  get TableNames() {
214
218
  const this$ = this;
215
219
  return toList(delay(() => map_1((s) => s.Name, this$.Tables)));
@@ -412,6 +416,12 @@ export class ArcTables {
412
416
  static ofSeq(tables) {
413
417
  return new ArcTables(Array.from(tables));
414
418
  }
419
+ MoveTable(oldIndex, newIndex) {
420
+ const this$ = this;
421
+ const table = this$.GetTableAt(oldIndex);
422
+ this$.Tables.splice(oldIndex, 1);
423
+ this$.Tables.splice(newIndex, 0, table);
424
+ }
415
425
  static fromProcesses(ps) {
416
426
  let collection;
417
427
  return new ArcTables((collection = map_2((tupledArg) => {
@@ -1,26 +1,26 @@
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";
1
+ import { map as map_1, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.5.0/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.5.0/Seq.js";
3
+ import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../../../fable_modules/fable-library.4.5.0/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.5.0/Array.js";
5
+ import { distinctBy, Array_distinct } from "../../../fable_modules/fable-library.4.5.0/Seq2.js";
6
+ import { printf, toText } from "../../../fable_modules/fable-library.4.5.0/String.js";
7
+ import { create, match } from "../../../fable_modules/fable-library.4.5.0/RegExp.js";
8
8
  import { OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
9
9
  import { Value_fromString_Z721C83C5, Value__get_Text } from "../JsonTypes/Value.js";
10
10
  import { AnnotationValue } from "../JsonTypes/AnnotationValue.js";
11
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.4.1/List.js";
14
+ import { unzip, ofSeq, map as map_3, toArray as toArray_1, ofArray, empty } from "../../../fable_modules/fable-library.4.5.0/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.4.1/Range.js";
19
- import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
18
+ import { rangeDouble } from "../../../fable_modules/fable-library.4.5.0/Range.js";
19
+ import { class_type } from "../../../fable_modules/fable-library.4.5.0/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.4.1/Types.js";
23
+ import { FSharpRef } from "../../../fable_modules/fable-library.4.5.0/Types.js";
24
24
 
25
25
  export class ArcAssay extends ArcTables {
26
26
  constructor(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
@@ -1,9 +1,9 @@
1
- import { int32ToString } from "../../../fable_modules/fable-library.4.4.1/Util.js";
2
- import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
1
+ import { int32ToString } from "../../../fable_modules/fable-library.4.5.0/Util.js";
2
+ import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
3
3
  import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
4
4
  import { AnnotationValue } from "../JsonTypes/AnnotationValue.js";
5
- import { Union } from "../../../fable_modules/fable-library.4.4.1/Types.js";
6
- import { union_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
5
+ import { Union } from "../../../fable_modules/fable-library.4.5.0/Types.js";
6
+ import { union_type, string_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
7
7
 
8
8
  export class CompositeCell extends Union {
9
9
  constructor(tag, fields) {
@@ -89,6 +89,10 @@ export class CompositeCell extends Union {
89
89
  const this$ = this;
90
90
  return this$.tag === 1;
91
91
  }
92
+ GetEmptyCell() {
93
+ const this$ = this;
94
+ return (this$.tag === 2) ? CompositeCell.emptyUnitized : ((this$.tag === 1) ? CompositeCell.emptyFreeText : CompositeCell.emptyTerm);
95
+ }
92
96
  GetContent() {
93
97
  const this$ = this;
94
98
  switch (this$.tag) {
@@ -1,9 +1,9 @@
1
- import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
2
- import { empty, singleton, collect, delay, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
3
- import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
1
+ import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
2
+ import { fold, empty, singleton, collect, delay, toArray } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
3
+ import { CompositeCell_$reflection, CompositeCell } from "./CompositeCell.js";
4
+ import { Record } from "../../../fable_modules/fable-library.4.5.0/Types.js";
4
5
  import { CompositeHeader_$reflection } from "./CompositeHeader.js";
5
- import { CompositeCell_$reflection } from "./CompositeCell.js";
6
- import { record_type, array_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
6
+ import { record_type, array_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
7
7
 
8
8
  export class CompositeColumn extends Record {
9
9
  constructor(Header, Cells) {
@@ -40,6 +40,27 @@ export class CompositeColumn extends Record {
40
40
  const arr = toArray(delay(() => collect((cell) => (cell.isUnitized ? singleton(cell.AsUnitized[1]) : empty()), this$.Cells)));
41
41
  return (arr.length === 0) ? void 0 : arr;
42
42
  }
43
+ GetDefaultEmptyCell() {
44
+ const this$ = this;
45
+ if (!this$.Header.IsTermColumn) {
46
+ return CompositeCell.emptyFreeText;
47
+ }
48
+ else {
49
+ let patternInput;
50
+ const arg = [0, 0];
51
+ patternInput = fold((tupledArg, cell) => {
52
+ const units = tupledArg[0] | 0;
53
+ const terms = tupledArg[1] | 0;
54
+ if (cell.isUnitized) {
55
+ return [units + 1, terms];
56
+ }
57
+ else {
58
+ return [units, terms + 1];
59
+ }
60
+ }, [arg[0], arg[1]], this$.Cells);
61
+ return (patternInput[1] >= patternInput[0]) ? CompositeCell.emptyTerm : CompositeCell.emptyUnitized;
62
+ }
63
+ }
43
64
  }
44
65
 
45
66
  export function CompositeColumn_$reflection() {
@@ -1,9 +1,9 @@
1
- import { map } from "../../../fable_modules/fable-library.4.4.1/Array.js";
2
- import { union_type, string_type, getUnionCases, name } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
3
- import { Union, toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
1
+ import { map } from "../../../fable_modules/fable-library.4.5.0/Array.js";
2
+ import { union_type, string_type, getUnionCases, name } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
3
+ import { Union, toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
4
4
  import { ActivePatterns_$007CTermColumn$007C_$007C, Pattern_OutputPattern, Pattern_InputPattern, ActivePatterns_$007CRegex$007C_$007C, tryParseIOTypeHeader } from "../Regex.js";
5
- import { equals } from "../../../fable_modules/fable-library.4.4.1/Util.js";
6
- import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
5
+ import { equals } from "../../../fable_modules/fable-library.4.5.0/Util.js";
6
+ import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
7
7
  import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
8
8
  import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
9
9
  import { Factor } from "../JsonTypes/Factor.js";
@@ -242,7 +242,7 @@ export class CompositeHeader extends Union {
242
242
  }
243
243
  ToTerm() {
244
244
  const this$ = this;
245
- return (this$.tag === 2) ? this$.fields[0] : ((this$.tag === 1) ? this$.fields[0] : ((this$.tag === 0) ? this$.fields[0] : ((this$.tag === 4) ? OntologyAnnotation.fromString("Protocol Type") : ((this$.tag === 8) ? OntologyAnnotation.fromString("Protocol REF") : ((this$.tag === 5) ? OntologyAnnotation.fromString("Protocol Description") : ((this$.tag === 6) ? OntologyAnnotation.fromString("Protocol Uri") : ((this$.tag === 7) ? OntologyAnnotation.fromString("Protocol Version") : ((this$.tag === 9) ? OntologyAnnotation.fromString("Performer") : ((this$.tag === 10) ? OntologyAnnotation.fromString("Date") : ((this$.tag === 11) ? OntologyAnnotation.fromString(this$.fields[0].asInput) : ((this$.tag === 12) ? OntologyAnnotation.fromString(this$.fields[0].asOutput) : ((this$.tag === 13) ? OntologyAnnotation.fromString(this$.fields[0]) : this$.fields[0]))))))))))));
245
+ return (this$.tag === 2) ? this$.fields[0] : ((this$.tag === 1) ? this$.fields[0] : ((this$.tag === 0) ? this$.fields[0] : ((this$.tag === 4) ? OntologyAnnotation.fromString(toString(this$), void 0, this$.GetFeaturedColumnAccession) : ((this$.tag === 8) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 5) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 6) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 7) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 9) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 10) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 11) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 12) ? OntologyAnnotation.fromString(toString(this$)) : ((this$.tag === 13) ? OntologyAnnotation.fromString(toString(this$)) : this$.fields[0]))))))))))));
246
246
  }
247
247
  static OfHeaderString(str) {
248
248
  const matchValue = str.trim();
@@ -492,14 +492,38 @@ export class CompositeHeader extends Union {
492
492
  const this$ = this;
493
493
  return this$.tag === 13;
494
494
  }
495
- tryInput() {
495
+ TryInput() {
496
496
  const this$ = this;
497
497
  return (this$.tag === 11) ? this$.fields[0] : void 0;
498
498
  }
499
- tryOutput() {
499
+ TryOutput() {
500
500
  const this$ = this;
501
501
  return (this$.tag === 12) ? this$.fields[0] : void 0;
502
502
  }
503
+ TryIOType() {
504
+ const this$ = this;
505
+ let matchResult, io;
506
+ switch (this$.tag) {
507
+ case 12: {
508
+ matchResult = 0;
509
+ io = this$.fields[0];
510
+ break;
511
+ }
512
+ case 11: {
513
+ matchResult = 0;
514
+ io = this$.fields[0];
515
+ break;
516
+ }
517
+ default:
518
+ matchResult = 1;
519
+ }
520
+ switch (matchResult) {
521
+ case 0:
522
+ return io;
523
+ default:
524
+ return void 0;
525
+ }
526
+ }
503
527
  TryParameter() {
504
528
  const this$ = this;
505
529
  return (this$.tag === 3) ? ProtocolParameter_create_Z6C54B221(void 0, this$.fields[0]) : void 0;
@@ -1,4 +1,4 @@
1
- import { fold } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
1
+ import { fold } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
2
2
  import { Protocol_create_Z7DFD6E67, Protocol_addComponent, Protocol_addParameter, Protocol_setName, Protocol_setDescription, Protocol_setUri, Protocol_setVersion, Protocol_setProtocolType } from "../JsonTypes/Protocol.js";
3
3
  import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
4
4
  import { Component_create_61502994 } from "../JsonTypes/Component.js";
@@ -1,15 +1,15 @@
1
- import { Union } from "../../../fable_modules/fable-library.4.4.1/Types.js";
2
- import { list_type, union_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
1
+ import { Union } from "../../../fable_modules/fable-library.4.5.0/Types.js";
2
+ import { list_type, union_type, string_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
3
3
  import { OntologyAnnotation_$reflection } from "../JsonTypes/OntologyAnnotation.js";
4
4
  import { Protocol_get_empty, Protocol } from "../JsonTypes/Protocol.js";
5
5
  import { ProcessParameterValue_$reflection } from "../JsonTypes/ProcessParameterValue.js";
6
6
  import { MaterialAttributeValue_$reflection } from "../JsonTypes/MaterialAttributeValue.js";
7
7
  import { FactorValue_$reflection } from "../JsonTypes/FactorValue.js";
8
- import { map as map_1, exists, fold, singleton, empty, append } from "../../../fable_modules/fable-library.4.4.1/List.js";
9
- import { map, value as value_4, defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
8
+ import { map as map_1, exists, fold, singleton, empty, append } from "../../../fable_modules/fable-library.4.5.0/List.js";
9
+ import { map, value as value_4, defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
10
10
  import { Process_get_empty, Process } from "../JsonTypes/Process.js";
11
11
  import { Assay_get_empty, Assay } from "../JsonTypes/Assay.js";
12
- import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
12
+ import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
13
13
  import { Study } from "../JsonTypes/Study.js";
14
14
 
15
15
  export class ProtocolTransformation extends Union {