@nfdi4plants/arctrl 1.2.0 → 2.0.0-alpha.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 (366) hide show
  1. package/ARC.js +53 -35
  2. package/{Contracts/Contracts.ARCtrl.js → Contract/ARC.js} +4 -2
  3. package/Contract/ArcAssay.js +102 -0
  4. package/Contract/ArcInvestigation.js +78 -0
  5. package/Contract/ArcStudy.js +102 -0
  6. package/Contract/Contract.js +3 -3
  7. package/{Contracts/Contracts.Git.js → Contract/Git.js} +5 -5
  8. package/{ISA/ISA/ArcTypes → Core}/ArcTypes.js +307 -295
  9. package/Core/Comment.js +97 -0
  10. package/{ISA/ISA/JsonTypes → Core}/CommentList.js +12 -18
  11. package/Core/Conversion.js +1056 -0
  12. package/Core/Helper/Collections.js +318 -0
  13. package/Core/Helper/HashCodes.js +39 -0
  14. package/{ISA/ISA → Core/Helper}/Identifier.js +67 -2
  15. package/{ISA/ISA → Core/Helper}/Regex.js +3 -3
  16. package/{SemVer.js → Core/Helper/SemVer.js} +8 -8
  17. package/{ISA/ISA/ArcTypes → Core}/IdentifierSetters.js +1 -1
  18. package/Core/OntologyAnnotation.js +186 -0
  19. package/Core/OntologySourceReference.js +92 -0
  20. package/Core/Person.js +194 -0
  21. package/Core/Process/ColumnIndex.js +248 -0
  22. package/Core/Process/Component.js +188 -0
  23. package/{ISA/ISA/JsonTypes → Core/Process}/Data.js +8 -8
  24. package/{ISA/ISA/JsonTypes → Core/Process}/DataFile.js +3 -3
  25. package/Core/Process/Factor.js +109 -0
  26. package/{ISA/ISA/JsonTypes → Core/Process}/FactorValue.js +32 -13
  27. package/{ISA/ISA/JsonTypes → Core/Process}/Material.js +9 -9
  28. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttribute.js +17 -17
  29. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttributeValue.js +35 -16
  30. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialType.js +3 -3
  31. package/{ISA/ISA/JsonTypes → Core/Process}/Process.js +46 -79
  32. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessInput.js +42 -42
  33. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessOutput.js +36 -36
  34. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessParameterValue.js +26 -7
  35. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessSequence.js +21 -25
  36. package/{ISA/ISA/JsonTypes → Core/Process}/Protocol.js +26 -57
  37. package/{ISA/ISA/JsonTypes → Core/Process}/ProtocolParameter.js +10 -10
  38. package/{ISA/ISA/JsonTypes → Core/Process}/Sample.js +12 -12
  39. package/{ISA/ISA/JsonTypes → Core/Process}/Source.js +9 -9
  40. package/{ISA/ISA/JsonTypes → Core/Process}/Value.js +13 -13
  41. package/Core/Publication.js +116 -0
  42. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTable.js +43 -149
  43. package/Core/Table/ArcTableAux.js +532 -0
  44. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTables.js +20 -32
  45. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeCell.js +19 -76
  46. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeColumn.js +6 -6
  47. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeHeader.js +14 -34
  48. package/{Templates → Core}/Template.js +16 -17
  49. package/Core/Templates.js +84 -0
  50. package/FileSystem/Commit.js +2 -2
  51. package/FileSystem/FileSystem.js +4 -4
  52. package/FileSystem/FileSystemTree.js +46 -8
  53. package/FileSystem/Path.js +10 -2
  54. package/Json/ARC.js +25 -0
  55. package/Json/Assay.js +202 -0
  56. package/Json/Comment.js +130 -0
  57. package/Json/ConverterOptions.js +18 -0
  58. package/Json/Decode.js +128 -0
  59. package/Json/Encode.js +45 -0
  60. package/Json/Investigation.js +220 -0
  61. package/Json/OntologyAnnotation.js +169 -0
  62. package/Json/OntologySourceReference.js +122 -0
  63. package/Json/Person.js +250 -0
  64. package/Json/Process/AssayMaterials.js +22 -0
  65. package/Json/Process/Component.js +79 -0
  66. package/Json/Process/Data.js +102 -0
  67. package/Json/Process/DataFile.js +81 -0
  68. package/Json/Process/Factor.js +48 -0
  69. package/Json/Process/FactorValue.js +53 -0
  70. package/Json/Process/Material.js +107 -0
  71. package/Json/Process/MaterialAttribute.js +45 -0
  72. package/Json/Process/MaterialAttributeValue.js +70 -0
  73. package/Json/Process/MaterialType.js +60 -0
  74. package/Json/Process/Process.js +107 -0
  75. package/Json/Process/ProcessInput.js +59 -0
  76. package/Json/Process/ProcessOutput.js +71 -0
  77. package/Json/Process/ProcessParameterValue.js +69 -0
  78. package/Json/Process/ProcessSequence.js +53 -0
  79. package/Json/Process/PropertyValue.js +82 -0
  80. package/Json/Process/Protocol.js +147 -0
  81. package/Json/Process/ProtocolParameter.js +45 -0
  82. package/Json/Process/Sample.js +134 -0
  83. package/Json/Process/Source.js +101 -0
  84. package/Json/Process/StudyMaterials.js +24 -0
  85. package/Json/Process/Value.js +42 -0
  86. package/Json/Publication.js +142 -0
  87. package/Json/StringTable.js +44 -0
  88. package/Json/Study.js +306 -0
  89. package/{ISA/ISA.Json/ArcTypes → Json/Table}/ArcTable.js +53 -49
  90. package/Json/Table/CellTable.js +40 -0
  91. package/Json/Table/CompositeCell.js +65 -0
  92. package/{ISA/ISA.Json/ArcTypes → Json/Table}/CompositeHeader.js +22 -19
  93. package/Json/Table/Compression.js +38 -0
  94. package/Json/Table/IOType.js +37 -0
  95. package/Json/Table/OATable.js +40 -0
  96. package/Json/Table/Templates.js +107 -0
  97. package/Json/context/rocrate/isa_assay_context.js +32 -0
  98. package/Json/context/rocrate/isa_comment_context.js +23 -0
  99. package/Json/context/rocrate/isa_component_context.js +24 -0
  100. package/Json/context/rocrate/isa_data_context.js +25 -0
  101. package/Json/context/rocrate/isa_factor_context.js +25 -0
  102. package/Json/context/rocrate/isa_factor_value_context.js +23 -0
  103. package/{ISA/ISA.Json → Json}/context/rocrate/isa_investigation_context.js +5 -5
  104. package/{ISA/ISA.Json → Json}/context/rocrate/isa_material_attribute_context.js +4 -4
  105. package/Json/context/rocrate/isa_material_attribute_value_context.js +23 -0
  106. package/Json/context/rocrate/isa_material_context.js +26 -0
  107. package/Json/context/rocrate/isa_ontology_annotation_context.js +23 -0
  108. package/Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
  109. package/Json/context/rocrate/isa_organization_context.js +22 -0
  110. package/Json/context/rocrate/isa_person_context.js +33 -0
  111. package/Json/context/rocrate/isa_process_context.js +29 -0
  112. package/Json/context/rocrate/isa_process_parameter_value_context.js +23 -0
  113. package/Json/context/rocrate/isa_protocol_context.js +28 -0
  114. package/{ISA/ISA.Json → Json}/context/rocrate/isa_protocol_parameter_context.js +4 -4
  115. package/Json/context/rocrate/isa_publication_context.js +25 -0
  116. package/Json/context/rocrate/isa_sample_context.js +24 -0
  117. package/Json/context/rocrate/isa_source_context.js +25 -0
  118. package/Json/context/rocrate/isa_study_context.js +40 -0
  119. package/Json/context/rocrate/property_value_context.js +4 -0
  120. package/Json/context/rocrate/rocrate_context.js +23 -0
  121. package/Json.js +193 -0
  122. package/README.md +33 -12
  123. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/ArcTable.js +12 -12
  124. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeCell.js +8 -7
  125. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeColumn.js +10 -10
  126. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeHeader.js +10 -10
  127. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcAssay.js +11 -11
  128. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcInvestigation.js +34 -37
  129. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcStudy.js +12 -12
  130. package/{ISA/ISA.Spreadsheet → Spreadsheet}/CollectionAux.js +7 -7
  131. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Assays.js +32 -32
  132. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Comment.js +5 -5
  133. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Contacts.js +28 -30
  134. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Conversions.js +22 -16
  135. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/DesignDescriptors.js +1 -1
  136. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Factors.js +23 -22
  137. package/Spreadsheet/Metadata/OntologyAnnotation.js +64 -0
  138. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/OntologySourceReference.js +22 -24
  139. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Protocols.js +17 -17
  140. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Publication.js +29 -31
  141. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/SparseTable.js +23 -22
  142. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Study.js +38 -40
  143. package/{Templates/Template.Spreadsheet.js → Spreadsheet/Template.js} +31 -31
  144. package/Template.Web.js +27 -0
  145. package/WebRequest/WebRequest.Node.js +2 -2
  146. package/WebRequest/WebRequest.js +2 -2
  147. package/Xlsx.js +85 -0
  148. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
  149. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
  150. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  151. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  152. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js +14 -14
  153. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
  154. package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
  155. package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
  156. package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
  157. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
  158. package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
  159. package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
  160. package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
  161. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
  162. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
  163. package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
  164. package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
  165. package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
  166. package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
  167. package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
  168. package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
  169. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
  170. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +3 -3
  171. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
  172. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
  173. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
  174. package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
  175. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
  176. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
  177. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
  178. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +19 -19
  179. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +5 -5
  180. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +2 -2
  181. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +1 -1
  182. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +2 -2
  183. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.js +2 -2
  184. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/CHANGELOG.md +18 -0
  185. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.d.ts +9 -0
  186. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.js +21 -0
  187. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.js +337 -40
  188. package/fable_modules/fable-library-js.4.16.0/MapUtil.d.ts +12 -0
  189. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MapUtil.js +15 -0
  190. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.d.ts +6 -3
  191. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.js +2 -13
  192. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/package.json +1 -1
  193. package/fable_modules/project_cracked.json +1 -1
  194. package/index.js +14 -12
  195. package/package.json +1 -1
  196. package/Contracts/Contracts.ArcTypes.js +0 -268
  197. package/FileSystemTree.js +0 -51
  198. package/ISA/ISA/ArcTypes/ArcTableAux.js +0 -1155
  199. package/ISA/ISA/ArcTypes/CompositeRow.js +0 -111
  200. package/ISA/ISA/Builder/Types.js +0 -243
  201. package/ISA/ISA/Fable.js +0 -123
  202. package/ISA/ISA/Helper.js +0 -505
  203. package/ISA/ISA/JsonTypes/Assay.js +0 -620
  204. package/ISA/ISA/JsonTypes/AssayMaterials.js +0 -39
  205. package/ISA/ISA/JsonTypes/ColumnIndex.js +0 -246
  206. package/ISA/ISA/JsonTypes/Comment.js +0 -58
  207. package/ISA/ISA/JsonTypes/Component.js +0 -165
  208. package/ISA/ISA/JsonTypes/Factor.js +0 -128
  209. package/ISA/ISA/JsonTypes/Investigation.js +0 -204
  210. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +0 -196
  211. package/ISA/ISA/JsonTypes/OntologySourceReference.js +0 -85
  212. package/ISA/ISA/JsonTypes/Person.js +0 -152
  213. package/ISA/ISA/JsonTypes/Publication.js +0 -105
  214. package/ISA/ISA/JsonTypes/Study.js +0 -942
  215. package/ISA/ISA/JsonTypes/StudyMaterials.js +0 -45
  216. package/ISA/ISA/UIHelper.js +0 -19
  217. package/ISA/ISA.Json/ArcTypes/ArcAssay.js +0 -303
  218. package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +0 -122
  219. package/ISA/ISA.Json/ArcTypes/ArcStudy.js +0 -203
  220. package/ISA/ISA.Json/ArcTypes/CellTable.js +0 -40
  221. package/ISA/ISA.Json/ArcTypes/CompositeCell.js +0 -62
  222. package/ISA/ISA.Json/ArcTypes/IOType.js +0 -33
  223. package/ISA/ISA.Json/ArcTypes/OATable.js +0 -42
  224. package/ISA/ISA.Json/Assay.js +0 -129
  225. package/ISA/ISA.Json/Comment.js +0 -80
  226. package/ISA/ISA.Json/ConverterOptions.js +0 -51
  227. package/ISA/ISA.Json/Data.js +0 -253
  228. package/ISA/ISA.Json/Decode.js +0 -61
  229. package/ISA/ISA.Json/Factor.js +0 -194
  230. package/ISA/ISA.Json/GEncode.js +0 -40
  231. package/ISA/ISA.Json/Investigation.js +0 -89
  232. package/ISA/ISA.Json/Material.js +0 -232
  233. package/ISA/ISA.Json/Ontology.js +0 -200
  234. package/ISA/ISA.Json/Person.js +0 -186
  235. package/ISA/ISA.Json/Process.js +0 -305
  236. package/ISA/ISA.Json/Protocol.js +0 -281
  237. package/ISA/ISA.Json/Publication.js +0 -86
  238. package/ISA/ISA.Json/StringTable.js +0 -44
  239. package/ISA/ISA.Json/Study.js +0 -186
  240. package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +0 -34
  241. package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +0 -23
  242. package/ISA/ISA.Json/context/rocrate/isa_component_context.js +0 -24
  243. package/ISA/ISA.Json/context/rocrate/isa_data_context.js +0 -25
  244. package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +0 -25
  245. package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +0 -25
  246. package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +0 -25
  247. package/ISA/ISA.Json/context/rocrate/isa_material_context.js +0 -26
  248. package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +0 -25
  249. package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +0 -26
  250. package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +0 -22
  251. package/ISA/ISA.Json/context/rocrate/isa_person_context.js +0 -31
  252. package/ISA/ISA.Json/context/rocrate/isa_process_context.js +0 -31
  253. package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +0 -25
  254. package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +0 -30
  255. package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +0 -27
  256. package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +0 -26
  257. package/ISA/ISA.Json/context/rocrate/isa_source_context.js +0 -25
  258. package/ISA/ISA.Json/context/rocrate/isa_study_context.js +0 -42
  259. package/ISA/ISA.Json/context/rocrate/rocrate_context.js +0 -25
  260. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +0 -65
  261. package/Path.js +0 -10
  262. package/Templates/Template.Json.js +0 -90
  263. package/Templates/Template.Web.js +0 -27
  264. package/Templates/Templates.js +0 -82
  265. package/fable_modules/fable-library-js.4.13.0/MapUtil.d.ts +0 -10
  266. /package/{ISA/ISA/JsonTypes → Core}/URI.js +0 -0
  267. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.d.ts +0 -0
  268. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.js +0 -0
  269. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.d.ts +0 -0
  270. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.js +0 -0
  271. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.d.ts +0 -0
  272. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.js +0 -0
  273. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.d.ts +0 -0
  274. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.js +0 -0
  275. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.d.ts +0 -0
  276. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.js +0 -0
  277. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.d.ts +0 -0
  278. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.d.ts +0 -0
  279. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.js +0 -0
  280. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.d.ts +0 -0
  281. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.js +0 -0
  282. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.d.ts +0 -0
  283. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.d.ts +0 -0
  284. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.js +0 -0
  285. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.d.ts +0 -0
  286. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.js +0 -0
  287. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.d.ts +0 -0
  288. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.js +0 -0
  289. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.d.ts +0 -0
  290. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.js +0 -0
  291. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.d.ts +0 -0
  292. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.js +0 -0
  293. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.d.ts +0 -0
  294. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.js +0 -0
  295. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.d.ts +0 -0
  296. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.js +0 -0
  297. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  298. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.js +0 -0
  299. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.d.ts +0 -0
  300. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.js +0 -0
  301. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.d.ts +0 -0
  302. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.js +0 -0
  303. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.d.ts +0 -0
  304. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.js +0 -0
  305. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.d.ts +0 -0
  306. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.js +0 -0
  307. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.d.ts +0 -0
  308. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.js +0 -0
  309. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.d.ts +0 -0
  310. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.js +0 -0
  311. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.d.ts +0 -0
  312. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.js +0 -0
  313. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.d.ts +0 -0
  314. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.js +0 -0
  315. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.d.ts +0 -0
  316. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.js +0 -0
  317. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.d.ts +0 -0
  318. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.js +0 -0
  319. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.d.ts +0 -0
  320. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.js +0 -0
  321. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.d.ts +0 -0
  322. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.js +0 -0
  323. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.d.ts +0 -0
  324. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.js +0 -0
  325. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.d.ts +0 -0
  326. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.js +0 -0
  327. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/README.md +0 -0
  328. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.d.ts +0 -0
  329. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.js +0 -0
  330. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.d.ts +0 -0
  331. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.js +0 -0
  332. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.d.ts +0 -0
  333. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.js +0 -0
  334. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.d.ts +0 -0
  335. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.js +0 -0
  336. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.d.ts +0 -0
  337. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.js +0 -0
  338. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.d.ts +0 -0
  339. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.js +0 -0
  340. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.d.ts +0 -0
  341. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.js +0 -0
  342. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.d.ts +0 -0
  343. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.js +0 -0
  344. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.d.ts +0 -0
  345. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.js +0 -0
  346. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.d.ts +0 -0
  347. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.js +0 -0
  348. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.d.ts +0 -0
  349. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.js +0 -0
  350. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.d.ts +0 -0
  351. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.js +0 -0
  352. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.d.ts +0 -0
  353. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.js +0 -0
  354. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.d.ts +0 -0
  355. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.js +0 -0
  356. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.d.ts +0 -0
  357. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.js +0 -0
  358. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.d.ts +0 -0
  359. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.js +0 -0
  360. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.d.ts +0 -0
  361. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.js +0 -0
  362. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.d.ts +0 -0
  363. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.js +0 -0
  364. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/big.d.ts +0 -0
  365. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.d.ts +0 -0
  366. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.js +0 -0
@@ -1,8 +1,8 @@
1
- import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { append, choose, empty, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
3
- import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
4
- import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
5
- import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
1
+ import { Record, toString } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
2
+ import { append, choose, empty, length } from "../../fable_modules/fable-library-js.4.16.0/List.js";
3
+ import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
4
+ import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
5
+ import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
6
6
  import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
7
7
  import { FactorValue_$reflection } from "./FactorValue.js";
8
8
  import { Source_$reflection } from "./Source.js";
@@ -30,35 +30,35 @@ export class Sample extends Record {
30
30
  }
31
31
 
32
32
  export function Sample_$reflection() {
33
- return record_type("ARCtrl.ISA.Sample", [], Sample, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["Characteristics", option_type(list_type(MaterialAttributeValue_$reflection()))], ["FactorValues", option_type(list_type(FactorValue_$reflection()))], ["DerivesFrom", option_type(list_type(Source_$reflection()))]]);
33
+ return record_type("ARCtrl.Process.Sample", [], Sample, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["Characteristics", option_type(list_type(MaterialAttributeValue_$reflection()))], ["FactorValues", option_type(list_type(FactorValue_$reflection()))], ["DerivesFrom", option_type(list_type(Source_$reflection()))]]);
34
34
  }
35
35
 
36
36
  export function Sample_make(id, name, characteristics, factorValues, derivesFrom) {
37
37
  return new Sample(id, name, characteristics, factorValues, derivesFrom);
38
38
  }
39
39
 
40
- export function Sample_create_E50ED22(Id, Name, Characteristics, FactorValues, DerivesFrom) {
40
+ export function Sample_create_62424AD2(Id, Name, Characteristics, FactorValues, DerivesFrom) {
41
41
  return Sample_make(Id, Name, Characteristics, FactorValues, DerivesFrom);
42
42
  }
43
43
 
44
44
  export function Sample_get_empty() {
45
- return Sample_create_E50ED22();
45
+ return Sample_create_62424AD2();
46
46
  }
47
47
 
48
48
  export function Sample__get_NameAsString(this$) {
49
49
  return defaultArg(this$.Name, "");
50
50
  }
51
51
 
52
- export function Sample_getCharacteristicUnits_Z29207F1E(s) {
52
+ export function Sample_getCharacteristicUnits_53716792(s) {
53
53
  return choose((c) => c.Unit, defaultArg(s.Characteristics, empty()));
54
54
  }
55
55
 
56
- export function Sample_getFactorUnits_Z29207F1E(s) {
56
+ export function Sample_getFactorUnits_53716792(s) {
57
57
  return choose((c) => c.Unit, defaultArg(s.FactorValues, empty()));
58
58
  }
59
59
 
60
- export function Sample_getUnits_Z29207F1E(s) {
61
- return append(Sample_getCharacteristicUnits_Z29207F1E(s), Sample_getFactorUnits_Z29207F1E(s));
60
+ export function Sample_getUnits_53716792(s) {
61
+ return append(Sample_getCharacteristicUnits_53716792(s), Sample_getFactorUnits_53716792(s));
62
62
  }
63
63
 
64
64
  export function Sample_setCharacteristicValues(values, s) {
@@ -1,8 +1,8 @@
1
- import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { choose, empty, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
3
- import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
4
- import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
5
- import { record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
1
+ import { Record, toString } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
2
+ import { choose, empty, length } from "../../fable_modules/fable-library-js.4.16.0/List.js";
3
+ import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
4
+ import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
5
+ import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
6
6
  import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
7
7
 
8
8
  export class Source extends Record {
@@ -25,26 +25,26 @@ export class Source extends Record {
25
25
  }
26
26
 
27
27
  export function Source_$reflection() {
28
- return record_type("ARCtrl.ISA.Source", [], Source, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["Characteristics", option_type(list_type(MaterialAttributeValue_$reflection()))]]);
28
+ return record_type("ARCtrl.Process.Source", [], Source, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["Characteristics", option_type(list_type(MaterialAttributeValue_$reflection()))]]);
29
29
  }
30
30
 
31
31
  export function Source_make(id, name, characteristics) {
32
32
  return new Source(id, name, characteristics);
33
33
  }
34
34
 
35
- export function Source_create_7A281ED9(Id, Name, Characteristics) {
35
+ export function Source_create_Z5CA08497(Id, Name, Characteristics) {
36
36
  return Source_make(Id, Name, Characteristics);
37
37
  }
38
38
 
39
39
  export function Source_get_empty() {
40
- return Source_create_7A281ED9();
40
+ return Source_create_Z5CA08497();
41
41
  }
42
42
 
43
43
  export function Source__get_NameAsString(this$) {
44
44
  return defaultArg(this$.Name, "");
45
45
  }
46
46
 
47
- export function Source_getUnits_Z28BE5327(m) {
47
+ export function Source_getUnits_53E41069(m) {
48
48
  return choose((c) => c.Unit, defaultArg(m.Characteristics, empty()));
49
49
  }
50
50
 
@@ -1,11 +1,11 @@
1
- import { tryParse } from "../../../fable_modules/fable-library-js.4.13.0/Int32.js";
2
- import { Union, toString, FSharpRef } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
3
- import { tryParse as tryParse_1 } from "../../../fable_modules/fable-library-js.4.13.0/Double.js";
4
- import { OntologyAnnotation_$reflection, OntologyAnnotation } from "./OntologyAnnotation.js";
5
- import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
6
- import { int32ToString } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
7
- import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
8
- import { union_type, string_type, float64_type, int32_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
1
+ import { tryParse } from "../../fable_modules/fable-library-js.4.16.0/Int32.js";
2
+ import { Union, toString, FSharpRef } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
3
+ import { tryParse as tryParse_1 } from "../../fable_modules/fable-library-js.4.16.0/Double.js";
4
+ import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../OntologyAnnotation.js";
5
+ import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
6
+ import { int32ToString } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
7
+ import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
8
+ import { union_type, string_type, float64_type, int32_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
9
9
 
10
10
  export class Value extends Union {
11
11
  constructor(tag, fields) {
@@ -28,15 +28,15 @@ export class Value extends Union {
28
28
  else {
29
29
  let matchValue_1;
30
30
  let outArg_1 = 0;
31
- matchValue_1 = [tryParse_1(value, new FSharpRef(() => outArg_1, (v_1) => {
32
- outArg_1 = v_1;
31
+ matchValue_1 = [tryParse_1(value, new FSharpRef(() => outArg_1, (v_2) => {
32
+ outArg_1 = v_2;
33
33
  })), outArg_1];
34
- return matchValue_1[0] ? (new Value(2, [matchValue_1[1]])) : (new Value(3, [value]));
34
+ return matchValue_1[0] ? (new Value(2, [matchValue_1[1]])) : (new Value(0, [OntologyAnnotation.create(value)]));
35
35
  }
36
36
  }
37
37
  static fromOptions(value, termSource, termAccesssion) {
38
38
  let value_1;
39
- return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? void 0 : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, Value.fromString(value_1))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.fromString(defaultArg(value, ""), termSource, termAccesssion)])));
39
+ return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? void 0 : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), termSource, termAccesssion)]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, Value.fromString(value_1))) : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), termSource, termAccesssion)]))) : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), termSource, termAccesssion)])));
40
40
  }
41
41
  static toOptions(value) {
42
42
  switch (value.tag) {
@@ -132,6 +132,6 @@ export class Value extends Union {
132
132
  }
133
133
 
134
134
  export function Value_$reflection() {
135
- return union_type("ARCtrl.ISA.Value", [], Value, () => [[["Item", OntologyAnnotation_$reflection()]], [["Item", int32_type]], [["Item", float64_type]], [["Item", string_type]]]);
135
+ return union_type("ARCtrl.Process.Value", [], Value, () => [[["Item", OntologyAnnotation_$reflection()]], [["Item", int32_type]], [["Item", float64_type]], [["Item", string_type]]]);
136
136
  }
137
137
 
@@ -0,0 +1,116 @@
1
+ import { map as map_1, defaultArg, unwrap } from "../fable_modules/fable-library-js.4.16.0/Option.js";
2
+ import { ResizeArray_map } from "./Helper/Collections.js";
3
+ import { boxHashSeq, boxHashOption, boxHashArray } from "./Helper/HashCodes.js";
4
+ import { safeHash } from "../fable_modules/fable-library-js.4.16.0/Util.js";
5
+ import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "../fable_modules/fable-library-js.4.16.0/System.Text.js";
6
+ import { printf, toText, join } from "../fable_modules/fable-library-js.4.16.0/String.js";
7
+ import { ofArray, choose, map } from "../fable_modules/fable-library-js.4.16.0/List.js";
8
+ import { length } from "../fable_modules/fable-library-js.4.16.0/Seq.js";
9
+ import { toString } from "../fable_modules/fable-library-js.4.16.0/Types.js";
10
+ import { class_type } from "../fable_modules/fable-library-js.4.16.0/Reflection.js";
11
+
12
+ export class Publication {
13
+ constructor(pubMedID, doi, authors, title, status, comments) {
14
+ this._pubMedID = pubMedID;
15
+ this._doi = doi;
16
+ this._authors = authors;
17
+ this._title = title;
18
+ this._status = status;
19
+ this._comments = defaultArg(comments, []);
20
+ }
21
+ get PubMedID() {
22
+ const this$ = this;
23
+ return unwrap(this$._pubMedID);
24
+ }
25
+ set PubMedID(pubMedID) {
26
+ const this$ = this;
27
+ this$._pubMedID = pubMedID;
28
+ }
29
+ get DOI() {
30
+ const this$ = this;
31
+ return unwrap(this$._doi);
32
+ }
33
+ set DOI(doi) {
34
+ const this$ = this;
35
+ this$._doi = doi;
36
+ }
37
+ get Authors() {
38
+ const this$ = this;
39
+ return unwrap(this$._authors);
40
+ }
41
+ set Authors(authors) {
42
+ const this$ = this;
43
+ this$._authors = authors;
44
+ }
45
+ get Title() {
46
+ const this$ = this;
47
+ return unwrap(this$._title);
48
+ }
49
+ set Title(title) {
50
+ const this$ = this;
51
+ this$._title = title;
52
+ }
53
+ get Status() {
54
+ const this$ = this;
55
+ return unwrap(this$._status);
56
+ }
57
+ set Status(status) {
58
+ const this$ = this;
59
+ this$._status = status;
60
+ }
61
+ get Comments() {
62
+ const this$ = this;
63
+ return this$._comments;
64
+ }
65
+ set Comments(comments) {
66
+ const this$ = this;
67
+ this$._comments = comments;
68
+ }
69
+ static make(pubMedID, doi, authors, title, status, comments) {
70
+ return new Publication(unwrap(pubMedID), unwrap(doi), unwrap(authors), unwrap(title), unwrap(status), comments);
71
+ }
72
+ static create(pubMedID, doi, authors, title, status, comments) {
73
+ const comments_1 = defaultArg(comments, []);
74
+ return Publication.make(pubMedID, doi, authors, title, status, comments_1);
75
+ }
76
+ static empty() {
77
+ return Publication.create();
78
+ }
79
+ Copy() {
80
+ const this$ = this;
81
+ const nextComments = ResizeArray_map((c) => c.Copy(), this$.Comments);
82
+ const pubMedID = this$.PubMedID;
83
+ const doi = this$.DOI;
84
+ const authors = this$.Authors;
85
+ const title = this$.Title;
86
+ const status = this$.Status;
87
+ return Publication.make(pubMedID, doi, authors, title, status, nextComments);
88
+ }
89
+ GetHashCode() {
90
+ const this$ = this;
91
+ return boxHashArray([boxHashOption(this$.DOI), boxHashOption(this$.Title), boxHashOption(this$.Authors), boxHashOption(this$.PubMedID), boxHashOption(this$.Status), boxHashSeq(this$.Comments)]) | 0;
92
+ }
93
+ Equals(obj) {
94
+ let p;
95
+ const this$ = this;
96
+ return (obj instanceof Publication) && ((p = obj, safeHash(this$) === safeHash(p)));
97
+ }
98
+ toString() {
99
+ let option, clo, arg_1;
100
+ const this$ = this;
101
+ const sb = StringBuilder_$ctor();
102
+ StringBuilder__Append_Z721C83C5(sb, "Publication {\n\t");
103
+ StringBuilder__Append_Z721C83C5(sb, join(",\n\t", map((tupledArg_1) => toText(printf("%s = %A"))(tupledArg_1[0])(tupledArg_1[1]), choose((tupledArg) => map_1((o) => [tupledArg[0], o], tupledArg[1]), ofArray([["PubMedID", this$.PubMedID], ["DOI", this$.DOI], ["Authors", this$.Authors], ["Title", this$.Title], ["Status", (option = this$.Status, map_1((clo = toText(printf("%A")), clo), option))], ["Comments", (length(this$.Comments) > 0) ? ((arg_1 = this$.Comments, toText(printf("%A"))(arg_1))) : void 0]])))));
104
+ StringBuilder__Append_Z721C83C5(sb, "\n}");
105
+ return toString(sb);
106
+ }
107
+ }
108
+
109
+ export function Publication_$reflection() {
110
+ return class_type("ARCtrl.Publication", void 0, Publication);
111
+ }
112
+
113
+ export function Publication_$ctor_Z645CED36(pubMedID, doi, authors, title, status, comments) {
114
+ return new Publication(pubMedID, doi, authors, title, status, comments);
115
+ }
116
+
@@ -1,59 +1,54 @@
1
- import { Dictionary } from "../../../fable_modules/fable-library-js.4.13.0/MutableMap.js";
2
- import { compareArrays, safeHash, disposeSafe, getEnumerator, comparePrimitives, equals, arrayHash, equalArrays } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
3
- import { value as value_9, map as map_2, defaultArg, unwrap } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
4
- import { boxHashValues, Unchecked_extendToRowCount, ProcessParsing_processToRows, ProcessParsing_alignByHeaders, ProcessParsing_mergeIdenticalProcesses, ProcessParsing_getProcessGetter, Unchecked_removeRowCells_withIndexChange, Unchecked_addRows, 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 as item_1, 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-js.4.13.0/Seq.js";
6
- import { rangeDouble } from "../../../fable_modules/fable-library-js.4.13.0/Range.js";
1
+ import { boxHashValues, Unchecked_alignByHeaders, Unchecked_extendToRowCount, Unchecked_removeRowCells_withIndexChange, Unchecked_addRows, 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, SanityChecks_validate } from "./ArcTableAux.js";
2
+ import { Dictionary } from "../../fable_modules/fable-library-js.4.16.0/MutableMap.js";
3
+ import { compareArrays, safeHash, comparePrimitives, equals, arrayHash, equalArrays } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
4
+ import { value as value_3, map as map_2, unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
5
+ import { item as item_1, fold, append as append_1, toList, indexed as indexed_1, choose, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../fable_modules/fable-library-js.4.16.0/Seq.js";
6
+ import { rangeDouble } from "../../fable_modules/fable-library-js.4.16.0/Range.js";
7
7
  import { CompositeColumn } from "./CompositeColumn.js";
8
- import { sortBy, indexed, mapIndexed, singleton as singleton_1, initialize, item, sortDescending, iterateIndexed, map as map_1 } from "../../../fable_modules/fable-library-js.4.13.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-js.4.13.0/List.js";
10
- import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../../fable_modules/fable-library-js.4.13.0/System.Text.js";
11
- import { toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
12
- import { join, printf, toFail } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
8
+ import { sortBy, indexed, mapIndexed, initialize, item, sortDescending, iterateIndexed, map as map_1 } from "../../fable_modules/fable-library-js.4.16.0/Array.js";
9
+ import { append, iterate, isEmpty } from "../../fable_modules/fable-library-js.4.16.0/List.js";
10
+ import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../fable_modules/fable-library-js.4.16.0/System.Text.js";
11
+ import { toString } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
12
+ import { join, printf, toFail } from "../../fable_modules/fable-library-js.4.16.0/String.js";
13
13
  import { CompositeCell } from "./CompositeCell.js";
14
14
  import { CompositeHeader } from "./CompositeHeader.js";
15
- import { createMissingIdentifier } from "../Identifier.js";
16
- import { ARCtrl_ISA_Component__Component_TryGetColumnIndex, ARCtrl_ISA_ProtocolParameter__ProtocolParameter_TryGetColumnIndex } from "../JsonTypes/ColumnIndex.js";
17
- import { Protocol_create_Z7DFD6E67, Protocol_addComponent, Protocol_addParameter, Protocol_setName, Protocol_setDescription, Protocol_setUri, Protocol_setVersion, Protocol_setProtocolType } from "../JsonTypes/Protocol.js";
18
- import { OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
19
- import { ProtocolParameter } from "../JsonTypes/ProtocolParameter.js";
20
- import { Component_create_61502994 } from "../JsonTypes/Component.js";
21
- import { Array_groupBy, List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
22
- import { toProtocol } from "./CompositeRow.js";
23
- import { Process_create_Z42860F3E } from "../JsonTypes/Process.js";
24
- import { getItemFromDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
25
- import { HashCodes_boxHashSeq, HashCodes_boxHashArray } from "../Helper.js";
26
- import { class_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
15
+ import { Array_groupBy } from "../../fable_modules/fable-library-js.4.16.0/Seq2.js";
16
+ import { getItemFromDict } from "../../fable_modules/fable-library-js.4.16.0/MapUtil.js";
17
+ import { boxHashSeq, boxHashArray } from "../Helper/HashCodes.js";
18
+ import { class_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
27
19
 
28
20
  export class ArcTable {
29
21
  constructor(name, headers, values) {
30
- this["name@20"] = name;
31
- this["headers@21"] = headers;
32
- this["values@22"] = values;
22
+ const valid = SanityChecks_validate(headers, values, true);
23
+ this["name@21"] = name;
24
+ this["headers@22"] = headers;
25
+ this["values@23"] = values;
33
26
  }
34
27
  get Headers() {
35
28
  const this$ = this;
36
- return this$["headers@21"];
29
+ return this$["headers@22"];
37
30
  }
38
31
  set Headers(newHeaders) {
39
32
  const this$ = this;
40
- this$["headers@21"] = newHeaders;
33
+ SanityChecks_validate(newHeaders, this$["values@23"], true);
34
+ this$["headers@22"] = newHeaders;
41
35
  }
42
36
  get Values() {
43
37
  const this$ = this;
44
- return this$["values@22"];
38
+ return this$["values@23"];
45
39
  }
46
40
  set Values(newValues) {
47
41
  const this$ = this;
48
- this$["values@22"] = newValues;
42
+ SanityChecks_validate(this$["headers@22"], newValues, true);
43
+ this$["values@23"] = newValues;
49
44
  }
50
45
  get Name() {
51
46
  const this$ = this;
52
- return this$["name@20"];
47
+ return this$["name@21"];
53
48
  }
54
49
  set Name(newName) {
55
50
  const this$ = this;
56
- this$["name@20"] = newName;
51
+ this$["name@21"] = newName;
57
52
  }
58
53
  static create(name, headers, values) {
59
54
  return new ArcTable(name, headers, values);
@@ -77,12 +72,8 @@ export class ArcTable {
77
72
  }
78
73
  Validate(raiseException) {
79
74
  const this$ = this;
80
- let isValid = true;
81
- for (let columnIndex = 0; columnIndex <= (this$.ColumnCount - 1); columnIndex++) {
82
- const column = this$.GetColumn(columnIndex);
83
- isValid = column.Validate(unwrap(raiseException));
84
- }
85
- return isValid;
75
+ const raiseException_1 = defaultArg(raiseException, true);
76
+ return SanityChecks_validate(this$.Headers, this$.Values, raiseException_1);
86
77
  }
87
78
  static validate(raiseException) {
88
79
  return (table) => table.Validate(unwrap(raiseException));
@@ -189,7 +180,7 @@ export class ArcTable {
189
180
  return newTable;
190
181
  };
191
182
  }
192
- AddColumn(header, cells, index, forceReplace, SkipFillMissing) {
183
+ AddColumn(header, cells, index, forceReplace, skipFillMissing) {
193
184
  const this$ = this;
194
185
  const index_1 = defaultArg(index, this$.ColumnCount) | 0;
195
186
  const cells_1 = defaultArg(cells, []);
@@ -197,7 +188,7 @@ export class ArcTable {
197
188
  SanityChecks_validateColumnIndex(index_1, this$.ColumnCount, true);
198
189
  SanityChecks_validateColumn(CompositeColumn.create(header, cells_1));
199
190
  Unchecked_addColumn(header, cells_1, index_1, forceReplace_1, false, this$.Headers, this$.Values);
200
- if (!equals(SkipFillMissing, true)) {
191
+ if (!equals(skipFillMissing, true)) {
201
192
  Unchecked_fillMissingCells(this$.Headers, this$.Values);
202
193
  }
203
194
  }
@@ -208,7 +199,7 @@ export class ArcTable {
208
199
  return newTable;
209
200
  };
210
201
  }
211
- UpdateColumn(columnIndex, header, cells, SkipFillMissing) {
202
+ UpdateColumn(columnIndex, header, cells, skipFillMissing) {
212
203
  const this$ = this;
213
204
  SanityChecks_validateColumnIndex(columnIndex, this$.ColumnCount, false);
214
205
  const column = CompositeColumn.create(header, unwrap(cells));
@@ -224,7 +215,7 @@ export class ArcTable {
224
215
  iterateIndexed((rowIndex, v) => {
225
216
  Unchecked_setCellAt(columnIndex, rowIndex, v, this$.Values);
226
217
  }, column.Cells);
227
- if (!equals(SkipFillMissing, true)) {
218
+ if (!equals(skipFillMissing, true)) {
228
219
  Unchecked_fillMissingCells(this$.Headers, this$.Values);
229
220
  }
230
221
  }
@@ -257,7 +248,7 @@ export class ArcTable {
257
248
  return newTable;
258
249
  };
259
250
  }
260
- AddColumns(columns, index, forceReplace, SkipFillMissing) {
251
+ AddColumns(columns, index, forceReplace, skipFillMissing) {
261
252
  const this$ = this;
262
253
  let index_1 = defaultArg(index, this$.ColumnCount);
263
254
  const forceReplace_1 = defaultArg(forceReplace, false);
@@ -281,14 +272,14 @@ export class ArcTable {
281
272
  index_1 = ((index_1 + 1) | 0);
282
273
  }
283
274
  });
284
- if (!equals(SkipFillMissing, true)) {
275
+ if (!equals(skipFillMissing, true)) {
285
276
  Unchecked_fillMissingCells(this$.Headers, this$.Values);
286
277
  }
287
278
  }
288
- static addColumns(columns, index, SkipFillMissing) {
279
+ static addColumns(columns, index, skipFillMissing) {
289
280
  return (table) => {
290
281
  const newTable = table.Copy();
291
- newTable.AddColumns(columns, unwrap(index), void 0, unwrap(SkipFillMissing));
282
+ newTable.AddColumns(columns, unwrap(index), void 0, unwrap(skipFillMissing));
292
283
  return newTable;
293
284
  };
294
285
  }
@@ -410,7 +401,7 @@ export class ArcTable {
410
401
  AddRow(cells, index) {
411
402
  const this$ = this;
412
403
  const index_1 = defaultArg(index, this$.RowCount) | 0;
413
- const cells_1 = (cells == null) ? toArray(delay(() => collect((columnIndex) => singleton(Unchecked_getEmptyCellForHeader(this$.Headers[columnIndex], Unchecked_tryGetCellAt(columnIndex, 0, this$.Values))), rangeDouble(0, 1, this$.ColumnCount - 1)))) : value_9(cells);
404
+ const cells_1 = (cells == null) ? toArray(delay(() => collect((columnIndex) => singleton(Unchecked_getEmptyCellForHeader(this$.Headers[columnIndex], Unchecked_tryGetCellAt(columnIndex, 0, this$.Values))), rangeDouble(0, 1, this$.ColumnCount - 1)))) : value_3(cells);
414
405
  SanityChecks_validateRowIndex(index_1, this$.RowCount, true);
415
406
  const columnCount = this$.ColumnCount | 0;
416
407
  const newCellsCount = length(cells_1) | 0;
@@ -560,7 +551,7 @@ export class ArcTable {
560
551
  if (!equals(SkipValidation, true)) {
561
552
  SanityChecks_validateRowIndex(rowIndex, this$.RowCount, false);
562
553
  }
563
- return toArray(delay(() => map((columnIndex) => value_9(this$.TryGetCellAt(columnIndex, rowIndex)), rangeDouble(0, 1, this$.ColumnCount - 1))));
554
+ return toArray(delay(() => map((columnIndex) => value_3(this$.TryGetCellAt(columnIndex, rowIndex)), rangeDouble(0, 1, this$.ColumnCount - 1))));
564
555
  }
565
556
  static getRow(index) {
566
557
  return (table) => table.GetRow(index);
@@ -615,12 +606,6 @@ export class ArcTable {
615
606
  return copy;
616
607
  };
617
608
  }
618
- static insertParameterValue(t, p) {
619
- throw new Error();
620
- }
621
- static getParameterValues(t) {
622
- throw new Error();
623
- }
624
609
  AddProtocolTypeColumn(types, index) {
625
610
  const this$ = this;
626
611
  const cells = map_2((array) => map_1((Item) => (new CompositeCell(0, [Item])), array), types);
@@ -674,97 +659,6 @@ export class ArcTable {
674
659
  const this$ = this;
675
660
  return map_1((h_1) => this$.GetColumnByHeader(h_1), toArray(filter((h) => h.isComponent, this$.Headers)));
676
661
  }
677
- static fromProtocol(p) {
678
- const t = ArcTable.init(defaultArg(p.Name, createMissingIdentifier()));
679
- const enumerator = getEnumerator(defaultArg(p.Parameters, empty_1()));
680
- try {
681
- while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
682
- const pp = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
683
- t.AddColumn(new CompositeHeader(3, [value_9(pp.ParameterName)]), void 0, ARCtrl_ISA_ProtocolParameter__ProtocolParameter_TryGetColumnIndex(pp));
684
- }
685
- }
686
- finally {
687
- disposeSafe(enumerator);
688
- }
689
- const enumerator_1 = getEnumerator(defaultArg(p.Components, empty_1()));
690
- try {
691
- while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
692
- const c = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
693
- const v_1 = map_2((arg) => singleton_1(CompositeCell.fromValue(arg, unwrap(c.ComponentUnit))), c.ComponentValue);
694
- t.AddColumn(new CompositeHeader(3, [value_9(c.ComponentType)]), v_1, ARCtrl_ISA_Component__Component_TryGetColumnIndex(c));
695
- }
696
- }
697
- finally {
698
- disposeSafe(enumerator_1);
699
- }
700
- map_2((d) => {
701
- t.AddProtocolDescriptionColumn([d]);
702
- }, p.Description);
703
- map_2((d_1) => {
704
- t.AddProtocolVersionColumn([d_1]);
705
- }, p.Version);
706
- map_2((d_2) => {
707
- t.AddProtocolTypeColumn([d_2]);
708
- }, p.ProtocolType);
709
- map_2((d_3) => {
710
- t.AddProtocolUriColumn([d_3]);
711
- }, p.Uri);
712
- map_2((d_4) => {
713
- t.AddProtocolNameColumn([d_4]);
714
- }, p.Name);
715
- return t;
716
- }
717
- GetProtocols() {
718
- let source;
719
- const this$ = this;
720
- return (this$.RowCount === 0) ? singleton_2((source = this$.Headers, fold((p, h) => {
721
- switch (h.tag) {
722
- case 4:
723
- return Protocol_setProtocolType(p, OntologyAnnotation.empty);
724
- case 7:
725
- return Protocol_setVersion(p, "");
726
- case 6:
727
- return Protocol_setUri(p, "");
728
- case 5:
729
- return Protocol_setDescription(p, "");
730
- case 8:
731
- return Protocol_setName(p, "");
732
- case 3:
733
- return Protocol_addParameter(ProtocolParameter.create(void 0, h.fields[0]), p);
734
- case 0:
735
- return Protocol_addComponent(Component_create_61502994(void 0, void 0, void 0, h.fields[0]), p);
736
- default:
737
- return p;
738
- }
739
- }, Protocol_create_Z7DFD6E67(void 0, this$.Name), source))) : List_distinct(initialize_1(this$.RowCount, (i) => {
740
- let row;
741
- const source_2 = this$.GetRow(i, true);
742
- row = zip(this$.Headers, source_2);
743
- return toProtocol(this$.Name, row);
744
- }), {
745
- Equals: equals,
746
- GetHashCode: safeHash,
747
- });
748
- }
749
- GetProcesses() {
750
- const this$ = this;
751
- if (this$.RowCount === 0) {
752
- return singleton_2(Process_create_Z42860F3E(void 0, this$.Name));
753
- }
754
- else {
755
- let getter;
756
- const clo = ProcessParsing_getProcessGetter(this$.Name, this$.Headers);
757
- getter = ((arg) => {
758
- const clo_1 = clo(arg);
759
- return clo_1;
760
- });
761
- return ProcessParsing_mergeIdenticalProcesses(toList(delay(() => map((i) => getter(this$.Values)(i), rangeDouble(0, 1, this$.RowCount - 1)))));
762
- }
763
- }
764
- static fromProcesses(name, ps) {
765
- const tupledArg = ProcessParsing_alignByHeaders(true, collect_1(ProcessParsing_processToRows, ps));
766
- return ArcTable.create(name, tupledArg[0], tupledArg[1]);
767
- }
768
662
  static SplitByColumnValues(columnIndex) {
769
663
  return (table) => mapIndexed((i, indexGroup) => {
770
664
  let headers;
@@ -814,7 +708,7 @@ export class ArcTable {
814
708
  }
815
709
  static append(table1, table2) {
816
710
  const getList = (t) => toList(delay(() => map((row) => toList(delay(() => map((col) => [t.Headers[col], getItemFromDict(t.Values, [col, row])], rangeDouble(0, 1, t.ColumnCount - 1)))), rangeDouble(0, 1, t.RowCount - 1))));
817
- const patternInput = ProcessParsing_alignByHeaders(false, append(getList(table1), getList(table2)));
711
+ const patternInput = Unchecked_alignByHeaders(false, append(getList(table1), getList(table2)));
818
712
  return ArcTable.create(table1.Name, patternInput[0], patternInput[1]);
819
713
  }
820
714
  toString() {
@@ -862,15 +756,15 @@ export class ArcTable {
862
756
  GetHashCode() {
863
757
  const this$ = this;
864
758
  const vHash = boxHashValues(this$.ColumnCount, this$.Values);
865
- return HashCodes_boxHashArray([this$.Name, HashCodes_boxHashSeq(this$.Headers), vHash]) | 0;
759
+ return boxHashArray([this$.Name, boxHashSeq(this$.Headers), vHash]) | 0;
866
760
  }
867
761
  }
868
762
 
869
763
  export function ArcTable_$reflection() {
870
- return class_type("ARCtrl.ISA.ArcTable", void 0, ArcTable);
764
+ return class_type("ARCtrl.ArcTable", void 0, ArcTable);
871
765
  }
872
766
 
873
- export function ArcTable_$ctor_474CDC4E(name, headers, values) {
767
+ export function ArcTable_$ctor_76CAD84E(name, headers, values) {
874
768
  return new ArcTable(name, headers, values);
875
769
  }
876
770