@nfdi4plants/arctrl 3.0.0-beta.4 → 3.0.0-beta.6

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 (323) hide show
  1. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +894 -4
  2. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
  3. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
  4. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
  5. package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
  7. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
  8. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
  9. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
  10. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
  11. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
  13. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
  14. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
  15. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
  16. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
  17. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
  18. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
  19. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
  20. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
  21. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
  22. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
  23. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
  24. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
  25. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
  26. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
  27. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
  28. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
  29. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
  30. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
  31. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
  32. package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
  35. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
  36. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
  37. package/dist/ts/ts/ARC.d.ts +12 -5
  38. package/dist/ts/ts/ARC.d.ts.map +1 -1
  39. package/dist/ts/ts/ARC.js +172 -93
  40. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  41. package/dist/ts/ts/Contract/ARC.js +8 -1
  42. package/dist/ts/ts/Contract/ArcAssay.js +14 -5
  43. package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
  44. package/dist/ts/ts/Contract/ArcRun.js +19 -6
  45. package/dist/ts/ts/Contract/ArcStudy.js +19 -6
  46. package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
  47. package/dist/ts/ts/Contract/Contract.js +42 -1
  48. package/dist/ts/ts/Contract/Datamap.js +61 -17
  49. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  50. package/dist/ts/ts/Contract/Git.js +22 -6
  51. package/dist/ts/ts/Contract/License.d.ts +5 -0
  52. package/dist/ts/ts/Contract/License.d.ts.map +1 -0
  53. package/dist/ts/ts/Contract/License.js +34 -0
  54. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
  55. package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
  56. package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
  57. package/dist/ts/ts/Conversion.js +321 -48
  58. package/dist/ts/ts/Core/ArcTypes.js +216 -15
  59. package/dist/ts/ts/Core/Comment.js +11 -1
  60. package/dist/ts/ts/Core/CommentList.js +77 -2
  61. package/dist/ts/ts/Core/Conversion.js +123 -43
  62. package/dist/ts/ts/Core/Data.js +9 -2
  63. package/dist/ts/ts/Core/DataContext.js +19 -4
  64. package/dist/ts/ts/Core/DataFile.js +38 -1
  65. package/dist/ts/ts/Core/DataMap.js +111 -5
  66. package/dist/ts/ts/Core/Helper/Collections.js +106 -5
  67. package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
  68. package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
  69. package/dist/ts/ts/Core/Helper/Regex.js +134 -2
  70. package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
  71. package/dist/ts/ts/Core/IdentifierSetters.d.ts +3 -1
  72. package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
  73. package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
  74. package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
  75. package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
  76. package/dist/ts/ts/Core/Person.js +8 -1
  77. package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
  78. package/dist/ts/ts/Core/Process/Component.js +37 -4
  79. package/dist/ts/ts/Core/Process/Factor.js +9 -4
  80. package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
  81. package/dist/ts/ts/Core/Process/Material.js +14 -4
  82. package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
  83. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
  84. package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
  85. package/dist/ts/ts/Core/Process/Process.js +150 -7
  86. package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
  87. package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
  88. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
  89. package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
  90. package/dist/ts/ts/Core/Process/Protocol.js +78 -4
  91. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
  92. package/dist/ts/ts/Core/Process/Sample.js +21 -3
  93. package/dist/ts/ts/Core/Process/Source.js +13 -3
  94. package/dist/ts/ts/Core/Publication.js +8 -1
  95. package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
  96. package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
  97. package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
  98. package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
  99. package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
  100. package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
  101. package/dist/ts/ts/Core/Template.js +12 -2
  102. package/dist/ts/ts/Core/Templates.js +8 -4
  103. package/dist/ts/ts/Core/Value.js +7 -3
  104. package/dist/ts/ts/CrossAsync.js +11 -1
  105. package/dist/ts/ts/FileSystem/Commit.js +18 -0
  106. package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
  107. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
  108. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  109. package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
  110. package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
  111. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  112. package/dist/ts/ts/FileSystem/Path.js +17 -3
  113. package/dist/ts/ts/Json/Assay.d.ts +1 -1
  114. package/dist/ts/ts/Json/Assay.js +28 -28
  115. package/dist/ts/ts/Json/Comment.js +10 -10
  116. package/dist/ts/ts/Json/Data.js +6 -6
  117. package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
  118. package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
  119. package/dist/ts/ts/Json/Decode.js +14 -9
  120. package/dist/ts/ts/Json/Encode.js +43 -11
  121. package/dist/ts/ts/Json/Investigation.js +40 -22
  122. package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
  123. package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
  124. package/dist/ts/ts/Json/Person.js +26 -26
  125. package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
  126. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  127. package/dist/ts/ts/Json/Process/Component.js +27 -7
  128. package/dist/ts/ts/Json/Process/Factor.js +3 -3
  129. package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
  130. package/dist/ts/ts/Json/Process/Material.js +9 -9
  131. package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
  132. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
  133. package/dist/ts/ts/Json/Process/Process.js +12 -12
  134. package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
  135. package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
  136. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
  137. package/dist/ts/ts/Json/Process/Protocol.js +13 -13
  138. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
  139. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  140. package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
  141. package/dist/ts/ts/Json/Process/Sample.js +14 -14
  142. package/dist/ts/ts/Json/Process/Source.js +9 -9
  143. package/dist/ts/ts/Json/Process/Value.js +1 -1
  144. package/dist/ts/ts/Json/PropertyValue.js +1 -1
  145. package/dist/ts/ts/Json/Publication.js +6 -6
  146. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
  147. package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
  148. package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
  149. package/dist/ts/ts/Json/Run.d.ts +11 -0
  150. package/dist/ts/ts/Json/Run.d.ts.map +1 -0
  151. package/dist/ts/ts/Json/Run.js +76 -0
  152. package/dist/ts/ts/Json/StringTable.js +1 -1
  153. package/dist/ts/ts/Json/Study.js +34 -34
  154. package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
  155. package/dist/ts/ts/Json/Table/CellTable.js +6 -6
  156. package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
  157. package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
  158. package/dist/ts/ts/Json/Table/IOType.js +1 -1
  159. package/dist/ts/ts/Json/Table/OATable.js +7 -7
  160. package/dist/ts/ts/Json/Table/Templates.js +92 -6
  161. package/dist/ts/ts/Json/Workflow.d.ts +11 -0
  162. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
  163. package/dist/ts/ts/Json/Workflow.js +93 -0
  164. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
  165. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
  166. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
  167. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
  168. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
  169. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
  170. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
  171. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
  172. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
  173. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
  174. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
  175. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
  176. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
  177. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
  178. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
  179. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
  180. package/dist/ts/ts/Json.d.ts +34 -2
  181. package/dist/ts/ts/Json.d.ts.map +1 -1
  182. package/dist/ts/ts/Json.js +129 -2
  183. package/dist/ts/ts/JsonIO/Assay.js +15 -3
  184. package/dist/ts/ts/JsonIO/Investigation.js +15 -3
  185. package/dist/ts/ts/JsonIO/LDObject.js +17 -3
  186. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
  187. package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
  188. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
  189. package/dist/ts/ts/JsonIO/Person.js +67 -0
  190. package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
  191. package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
  192. package/dist/ts/ts/JsonIO/Run.js +50 -0
  193. package/dist/ts/ts/JsonIO/Study.js +15 -3
  194. package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
  195. package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
  196. package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
  197. package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
  198. package/dist/ts/ts/JsonIO/Workflow.js +50 -0
  199. package/dist/ts/ts/License.d.ts +39 -0
  200. package/dist/ts/ts/License.d.ts.map +1 -0
  201. package/dist/ts/ts/License.js +123 -0
  202. package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
  203. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
  204. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
  205. package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
  206. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
  207. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
  208. package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
  209. package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
  210. package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
  211. package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
  212. package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
  213. package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
  214. package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
  215. package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
  216. package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
  217. package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
  218. package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
  219. package/dist/ts/ts/ROCrate/LDContext.js +15 -6
  220. package/dist/ts/ts/ROCrate/LDObject.js +53 -17
  221. package/dist/ts/ts/ROCrateIO.d.ts +9 -3
  222. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  223. package/dist/ts/ts/ROCrateIO.js +67 -14
  224. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
  225. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
  226. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
  227. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  228. package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
  229. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
  230. package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
  231. package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
  232. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
  233. package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
  234. package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
  235. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
  236. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
  237. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
  238. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  239. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
  240. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  241. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
  242. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
  243. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
  244. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
  245. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
  246. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
  247. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
  248. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
  249. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
  250. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
  251. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  252. package/dist/ts/ts/Template.Web.js +5 -1
  253. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
  254. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
  255. package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
  256. package/dist/ts/ts/Xlsx.d.ts +21 -1
  257. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  258. package/dist/ts/ts/Xlsx.js +81 -1
  259. package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
  260. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
  261. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
  262. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
  263. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
  264. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
  265. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
  266. package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
  267. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
  268. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
  269. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
  270. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
  271. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
  272. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
  273. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
  274. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
  275. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
  276. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
  277. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
  278. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
  279. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
  280. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
  281. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
  282. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
  283. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
  284. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
  285. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
  286. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
  287. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
  288. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
  289. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
  290. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
  291. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
  292. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
  293. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
  294. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
  295. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
  296. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
  297. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
  298. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
  299. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
  300. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
  301. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
  302. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
  303. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
  304. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
  305. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
  306. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
  307. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
  308. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
  309. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
  310. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
  311. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
  312. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
  313. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
  314. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
  315. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
  316. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
  317. package/package.json +1 -1
  318. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
  319. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
  320. package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
  321. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
  322. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
  323. package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
@@ -2,6 +2,7 @@ import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-
2
2
  import { ResizeArray_map } from './Helper/Collections.js';
3
3
  import { boxHashArray, boxHashOption, boxHashSeq } from './Helper/HashCodes.js';
4
4
  import { safeHash } from '../../node_modules/@fable-org/fable-library-js/Util.js';
5
+ import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
5
6
 
6
7
  class OntologySourceReference {
7
8
  constructor(description, file, name, version, comments) {
@@ -80,5 +81,11 @@ class OntologySourceReference {
80
81
  return obj instanceof OntologySourceReference && (t = obj, safeHash(this$) === safeHash(t));
81
82
  }
82
83
  }
84
+ function OntologySourceReference_$reflection() {
85
+ return class_type("ARCtrl.OntologySourceReference", void 0, OntologySourceReference);
86
+ }
87
+ function OntologySourceReference_$ctor_7C9A7CF8(description, file, name, version, comments) {
88
+ return new OntologySourceReference(description, file, name, version, comments);
89
+ }
83
90
 
84
- export { OntologySourceReference };
91
+ export { OntologySourceReference, OntologySourceReference_$ctor_7C9A7CF8, OntologySourceReference_$reflection };
@@ -8,6 +8,7 @@ import { StringBuilder_$ctor, StringBuilder__Append_Z721C83C5 } from '../../node
8
8
  import { join, toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
9
9
  import { length } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
10
10
  import { toString } from '../../node_modules/@fable-org/fable-library-js/Types.js';
11
+ import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
11
12
 
12
13
  class Person {
13
14
  constructor(orcid, lastName, firstName, midInitials, email, phone, fax, address, affiliation, roles, comments) {
@@ -179,5 +180,11 @@ class Person {
179
180
  return toString(sb);
180
181
  }
181
182
  }
183
+ function Person_$reflection() {
184
+ return class_type("ARCtrl.Person", void 0, Person);
185
+ }
186
+ function Person_$ctor_Z2F6491B5(orcid, lastName, firstName, midInitials, email, phone, fax, address, affiliation, roles, comments) {
187
+ return new Person(orcid, lastName, firstName, midInitials, email, phone, fax, address, affiliation, roles, comments);
188
+ }
182
189
 
183
- export { Person };
190
+ export { Person, Person_$ctor_Z2F6491B5, Person_$reflection };
@@ -1,11 +1,14 @@
1
1
  import { tryParse } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
2
2
  import { FSharpRef } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
3
- import { bind, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
+ import { value, bind } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
4
  import { Comment$ } from '../Comment.js';
5
- import { equals, int32ToString } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
5
+ import { int32ToString, equals } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
6
6
  import { tryItem } from '../CommentList.js';
7
7
  import { findIndex } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
8
- import '../Helper/Url.js';
8
+ import { ProtocolParameter } from './ProtocolParameter.js';
9
+ import { Factor } from './Factor.js';
10
+ import { MaterialAttribute_fromString_5980DC03 } from './MaterialAttribute.js';
11
+ import { Component_fromISAString_7C9A7CF8 } from './Component.js';
9
12
 
10
13
  function tryInt(str) {
11
14
  let matchValue;
@@ -42,6 +45,9 @@ function setOntologyAnnotationIndex(i, oa) {
42
45
  setOntologyAnnotationIndexInplace(i, oac);
43
46
  return oac;
44
47
  }
48
+ function tryGetOntologyAnnotationIndex(oa) {
49
+ return tryGetIndex(oa.Comments);
50
+ }
45
51
  function tryGetParameterIndex(param) {
46
52
  return bind((oa) => tryGetIndex(oa.Comments), param.ParameterName);
47
53
  }
@@ -63,11 +69,122 @@ function tryGetCharacteristicColumnIndex(characteristicValue) {
63
69
  function tryGetComponentIndex(comp) {
64
70
  return bind((oa) => tryGetIndex(oa.Comments), comp.ComponentType);
65
71
  }
72
+ function ARCtrl_OntologyAnnotation__OntologyAnnotation_fromStringWithColumnIndex_Static(name, term, source, accession, valueIndex) {
73
+ return Factor.fromString(name, term, source, accession, [createOrderComment(valueIndex)]);
74
+ }
75
+ function ARCtrl_OntologyAnnotation__OntologyAnnotation_getColumnIndex_Static_ZDED3A0F(f) {
76
+ return value(tryGetOntologyAnnotationIndex(f));
77
+ }
78
+ function ARCtrl_OntologyAnnotation__OntologyAnnotation_GetColumnIndex(this$) {
79
+ return value(tryGetOntologyAnnotationIndex(this$));
80
+ }
81
+ function ARCtrl_OntologyAnnotation__OntologyAnnotation_tryGetColumnIndex_Static_ZDED3A0F(f) {
82
+ return tryGetOntologyAnnotationIndex(f);
83
+ }
84
+ function ARCtrl_OntologyAnnotation__OntologyAnnotation_TryGetColumnIndex(this$) {
85
+ return tryGetOntologyAnnotationIndex(this$);
86
+ }
66
87
  function ARCtrl_OntologyAnnotation__OntologyAnnotation_setColumnIndex_Static(i, oa) {
67
88
  return setOntologyAnnotationIndex(i, oa);
68
89
  }
69
90
  function ARCtrl_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4(this$, i) {
70
91
  setOntologyAnnotationIndexInplace(i, this$);
71
92
  }
93
+ function ARCtrl_Process_Factor__Factor_fromStringWithColumnIndex_Static(name, term, source, accession, valueIndex) {
94
+ return Factor.fromString(name, term, source, accession, [createOrderComment(valueIndex)]);
95
+ }
96
+ function ARCtrl_Process_Factor__Factor_getColumnIndex_Static_7206F0D9(f) {
97
+ return value(tryGetFactorIndex(f));
98
+ }
99
+ function ARCtrl_Process_Factor__Factor_GetColumnIndex(this$) {
100
+ return value(tryGetFactorIndex(this$));
101
+ }
102
+ function ARCtrl_Process_Factor__Factor_tryGetColumnIndex_Static_7206F0D9(f) {
103
+ return tryGetFactorIndex(f);
104
+ }
105
+ function ARCtrl_Process_Factor__Factor_TryGetColumnIndex(this$) {
106
+ return tryGetFactorIndex(this$);
107
+ }
108
+ function ARCtrl_Process_FactorValue__FactorValue_getColumnIndex_Static_7105C732(f) {
109
+ return value(tryGetFactorColumnIndex(f));
110
+ }
111
+ function ARCtrl_Process_FactorValue__FactorValue_GetColumnIndex(this$) {
112
+ return value(tryGetFactorColumnIndex(this$));
113
+ }
114
+ function ARCtrl_Process_FactorValue__FactorValue_tryGetColumnIndex_Static_7105C732(f) {
115
+ return tryGetFactorColumnIndex(f);
116
+ }
117
+ function ARCtrl_Process_FactorValue__FactorValue_TryGetColumnIndex(this$) {
118
+ return tryGetFactorColumnIndex(this$);
119
+ }
120
+ function ARCtrl_Process_MaterialAttribute__MaterialAttribute_fromStringWithColumnIndex_Static(term, source, accession, valueIndex) {
121
+ return MaterialAttribute_fromString_5980DC03(term, source, accession, [createOrderComment(valueIndex)]);
122
+ }
123
+ function ARCtrl_Process_MaterialAttribute__MaterialAttribute_getColumnIndex_Static_Z1E3B85DD(m) {
124
+ return value(tryGetCharacteristicIndex(m));
125
+ }
126
+ function ARCtrl_Process_MaterialAttribute__MaterialAttribute_GetColumnIndex(this$) {
127
+ return value(tryGetCharacteristicIndex(this$));
128
+ }
129
+ function ARCtrl_Process_MaterialAttribute__MaterialAttribute_tryGetColumnIndex_Static_Z1E3B85DD(m) {
130
+ return tryGetCharacteristicIndex(m);
131
+ }
132
+ function ARCtrl_Process_MaterialAttribute__MaterialAttribute_TryGetColumnIndex(this$) {
133
+ return tryGetCharacteristicIndex(this$);
134
+ }
135
+ function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_getColumnIndex_Static_Z772273B8(m) {
136
+ return value(tryGetCharacteristicColumnIndex(m));
137
+ }
138
+ function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_GetColumnIndex(this$) {
139
+ return value(tryGetCharacteristicColumnIndex(this$));
140
+ }
141
+ function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_tryGetColumnIndex_Static_Z772273B8(m) {
142
+ return tryGetCharacteristicColumnIndex(m);
143
+ }
144
+ function ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_TryGetColumnIndex(this$) {
145
+ return tryGetCharacteristicColumnIndex(this$);
146
+ }
147
+ function ARCtrl_Process_ProtocolParameter__ProtocolParameter_fromStringWithColumnIndex_Static(term, source, accession, valueIndex) {
148
+ return ProtocolParameter.fromString(term, source, accession, [createOrderComment(valueIndex)]);
149
+ }
150
+ function ARCtrl_Process_ProtocolParameter__ProtocolParameter_getColumnIndex_Static_Z11F87B15(p) {
151
+ return value(tryGetParameterIndex(p));
152
+ }
153
+ function ARCtrl_Process_ProtocolParameter__ProtocolParameter_GetColumnIndex(this$) {
154
+ return value(tryGetParameterIndex(this$));
155
+ }
156
+ function ARCtrl_Process_ProtocolParameter__ProtocolParameter_tryGetColumnIndex_Static_Z11F87B15(p) {
157
+ return tryGetParameterIndex(p);
158
+ }
159
+ function ARCtrl_Process_ProtocolParameter__ProtocolParameter_TryGetColumnIndex(this$) {
160
+ return tryGetParameterIndex(this$);
161
+ }
162
+ function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_getColumnIndex_Static_Z1576263(p) {
163
+ return value(tryGetParameterColumnIndex(p));
164
+ }
165
+ function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_GetColumnIndex(this$) {
166
+ return value(tryGetParameterColumnIndex(this$));
167
+ }
168
+ function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_tryGetColumnIndex_Static_Z1576263(p) {
169
+ return tryGetParameterColumnIndex(p);
170
+ }
171
+ function ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_TryGetColumnIndex(this$) {
172
+ return tryGetParameterColumnIndex(this$);
173
+ }
174
+ function ARCtrl_Process_Component__Component_fromStringWithColumnIndex_Static(name, term, source, accession, valueIndex) {
175
+ return Component_fromISAString_7C9A7CF8(name, term, source, accession, [createOrderComment(valueIndex)]);
176
+ }
177
+ function ARCtrl_Process_Component__Component_getColumnIndex_Static_Z685B8F25(f) {
178
+ return value(tryGetComponentIndex(f));
179
+ }
180
+ function ARCtrl_Process_Component__Component_GetColumnIndex(this$) {
181
+ return value(tryGetComponentIndex(this$));
182
+ }
183
+ function ARCtrl_Process_Component__Component_tryGetColumnIndex_Static_Z685B8F25(f) {
184
+ return tryGetComponentIndex(f);
185
+ }
186
+ function ARCtrl_Process_Component__Component_TryGetColumnIndex(this$) {
187
+ return tryGetComponentIndex(this$);
188
+ }
72
189
 
73
- export { ARCtrl_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4, ARCtrl_OntologyAnnotation__OntologyAnnotation_setColumnIndex_Static, createOrderComment, orderName, setOntologyAnnotationIndex, setOntologyAnnotationIndexInplace, tryGetCharacteristicColumnIndex, tryGetCharacteristicIndex, tryGetComponentIndex, tryGetFactorColumnIndex, tryGetFactorIndex, tryGetIndex, tryGetParameterColumnIndex, tryGetParameterIndex };
190
+ export { ARCtrl_OntologyAnnotation__OntologyAnnotation_GetColumnIndex, ARCtrl_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4, ARCtrl_OntologyAnnotation__OntologyAnnotation_TryGetColumnIndex, ARCtrl_OntologyAnnotation__OntologyAnnotation_fromStringWithColumnIndex_Static, ARCtrl_OntologyAnnotation__OntologyAnnotation_getColumnIndex_Static_ZDED3A0F, ARCtrl_OntologyAnnotation__OntologyAnnotation_setColumnIndex_Static, ARCtrl_OntologyAnnotation__OntologyAnnotation_tryGetColumnIndex_Static_ZDED3A0F, ARCtrl_Process_Component__Component_GetColumnIndex, ARCtrl_Process_Component__Component_TryGetColumnIndex, ARCtrl_Process_Component__Component_fromStringWithColumnIndex_Static, ARCtrl_Process_Component__Component_getColumnIndex_Static_Z685B8F25, ARCtrl_Process_Component__Component_tryGetColumnIndex_Static_Z685B8F25, ARCtrl_Process_FactorValue__FactorValue_GetColumnIndex, ARCtrl_Process_FactorValue__FactorValue_TryGetColumnIndex, ARCtrl_Process_FactorValue__FactorValue_getColumnIndex_Static_7105C732, ARCtrl_Process_FactorValue__FactorValue_tryGetColumnIndex_Static_7105C732, ARCtrl_Process_Factor__Factor_GetColumnIndex, ARCtrl_Process_Factor__Factor_TryGetColumnIndex, ARCtrl_Process_Factor__Factor_fromStringWithColumnIndex_Static, ARCtrl_Process_Factor__Factor_getColumnIndex_Static_7206F0D9, ARCtrl_Process_Factor__Factor_tryGetColumnIndex_Static_7206F0D9, ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_GetColumnIndex, ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_TryGetColumnIndex, ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_getColumnIndex_Static_Z772273B8, ARCtrl_Process_MaterialAttributeValue__MaterialAttributeValue_tryGetColumnIndex_Static_Z772273B8, ARCtrl_Process_MaterialAttribute__MaterialAttribute_GetColumnIndex, ARCtrl_Process_MaterialAttribute__MaterialAttribute_TryGetColumnIndex, ARCtrl_Process_MaterialAttribute__MaterialAttribute_fromStringWithColumnIndex_Static, ARCtrl_Process_MaterialAttribute__MaterialAttribute_getColumnIndex_Static_Z1E3B85DD, ARCtrl_Process_MaterialAttribute__MaterialAttribute_tryGetColumnIndex_Static_Z1E3B85DD, ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_GetColumnIndex, ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_TryGetColumnIndex, ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_getColumnIndex_Static_Z1576263, ARCtrl_Process_ProcessParameterValue__ProcessParameterValue_tryGetColumnIndex_Static_Z1576263, ARCtrl_Process_ProtocolParameter__ProtocolParameter_GetColumnIndex, ARCtrl_Process_ProtocolParameter__ProtocolParameter_TryGetColumnIndex, ARCtrl_Process_ProtocolParameter__ProtocolParameter_fromStringWithColumnIndex_Static, ARCtrl_Process_ProtocolParameter__ProtocolParameter_getColumnIndex_Static_Z11F87B15, ARCtrl_Process_ProtocolParameter__ProtocolParameter_tryGetColumnIndex_Static_Z11F87B15, createOrderComment, orderName, setOntologyAnnotationIndex, setOntologyAnnotationIndexInplace, tryGetCharacteristicColumnIndex, tryGetCharacteristicIndex, tryGetComponentIndex, tryGetFactorColumnIndex, tryGetFactorIndex, tryGetIndex, tryGetOntologyAnnotationIndex, tryGetParameterColumnIndex, tryGetParameterIndex };
@@ -1,9 +1,11 @@
1
- import { value, map, unwrap, defaultArg } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
2
- import { OntologyAnnotation } from '../OntologyAnnotation.js';
3
- import { Value, Value_Ontology, Value_Name } from '../Value.js';
1
+ import { map, value, unwrap, defaultArg } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
2
+ import { OntologyAnnotation_$reflection, OntologyAnnotation } from '../OntologyAnnotation.js';
3
+ import { Value_$reflection, Value, Value_Ontology, Value_Name } from '../Value.js';
4
4
  import { Record } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
5
+ import { record_type, option_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
5
6
  import { ActivePatterns_$007CRegex$007C_$007C } from '../Helper/Regex.js';
6
7
  import { Option_fromValueWithDefault } from '../Helper/Collections.js';
8
+ import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
7
9
 
8
10
  class Component extends Record {
9
11
  constructor(ComponentValue, ComponentUnit, ComponentType) {
@@ -38,6 +40,9 @@ class Component extends Record {
38
40
  return this$.ComponentUnit;
39
41
  }
40
42
  }
43
+ function Component_$reflection() {
44
+ return record_type("ARCtrl.Process.Component", [], Component, () => [["ComponentValue", option_type(Value_$reflection())], ["ComponentUnit", option_type(OntologyAnnotation_$reflection())], ["ComponentType", option_type(OntologyAnnotation_$reflection())]]);
45
+ }
41
46
  function Component__get_ComponentName(this$) {
42
47
  return map((v) => Component_composeName(v, this$.ComponentUnit), this$.ComponentValue);
43
48
  }
@@ -47,6 +52,9 @@ function Component_make(value, unit, componentType) {
47
52
  function Component_create_Z2F0B38C7(value, unit, componentType) {
48
53
  return Component_make(value, unit, componentType);
49
54
  }
55
+ function Component_get_empty() {
56
+ return Component_create_Z2F0B38C7();
57
+ }
50
58
  function Component_composeName(value$1, unit) {
51
59
  if (value$1.tag === /* Ontology */
52
60
  0) {
@@ -114,8 +122,33 @@ function Component_toStringObject_Z685B8F25(c) {
114
122
  oa_1 = defaultArg(map((oa) => OntologyAnnotation.toStringObject(oa), c.ComponentType), value);
115
123
  return [defaultArg(Component__get_ComponentName(c), ""), oa_1];
116
124
  }
125
+ function Component__get_NameText(this$) {
126
+ return defaultArg(map((c) => c.NameText, this$.ComponentType), "");
127
+ }
128
+ function Component__get_UnitText(this$) {
129
+ return defaultArg(map((c) => c.NameText, this$.ComponentUnit), "");
130
+ }
131
+ function Component__get_ValueText(this$) {
132
+ return defaultArg(map((c) => c.Text, this$.ComponentValue), "");
133
+ }
134
+ function Component__get_ValueWithUnitText(this$) {
135
+ const unit = map((oa) => oa.NameText, this$.ComponentUnit);
136
+ const v = Component__get_ValueText(this$);
137
+ if (unit == null) {
138
+ return v;
139
+ } else {
140
+ const u = value(unit);
141
+ return toText(printf("%s %s"))(v)(u);
142
+ }
143
+ }
144
+ function Component__MapCategory_658CFBF6(this$, f) {
145
+ return new Component(this$.ComponentValue, this$.ComponentUnit, map(f, this$.ComponentType));
146
+ }
147
+ function Component__SetCategory_ZDED3A0F(this$, c) {
148
+ return new Component(this$.ComponentValue, this$.ComponentUnit, c);
149
+ }
117
150
  function Component_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
118
151
  return Component_create_Z2F0B38C7(unwrap(value), unwrap(unit), unwrap(category));
119
152
  }
120
153
 
121
- export { Component, Component__get_ComponentName, Component_composeName, Component_createAsPV, Component_create_Z2F0B38C7, Component_decomposeName_Z721C83C5, Component_fromISAString_7C9A7CF8, Component_make, Component_toStringObject_Z685B8F25 };
154
+ export { Component, Component_$reflection, Component__MapCategory_658CFBF6, Component__SetCategory_ZDED3A0F, Component__get_ComponentName, Component__get_NameText, Component__get_UnitText, Component__get_ValueText, Component__get_ValueWithUnitText, Component_composeName, Component_createAsPV, Component_create_Z2F0B38C7, Component_decomposeName_Z721C83C5, Component_fromISAString_7C9A7CF8, Component_get_empty, Component_make, Component_toStringObject_Z685B8F25 };
@@ -1,9 +1,11 @@
1
1
  import { unwrap, defaultArg, map } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
2
- import { OntologyAnnotation } from '../OntologyAnnotation.js';
3
- import { equals } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
2
+ import { OntologyAnnotation, OntologyAnnotation_$reflection } from '../OntologyAnnotation.js';
3
+ import { Comment$_$reflection } from '../Comment.js';
4
+ import { Option_fromValueWithDefault, ResizeArray_map } from '../Helper/Collections.js';
4
5
  import { tryFind, exists, append, singleton, filter } from '../../../node_modules/@fable-org/fable-library-js/List.js';
6
+ import { equals } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
5
7
  import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
6
- import { Option_fromValueWithDefault, ResizeArray_map } from '../Helper/Collections.js';
8
+ import { record_type, option_type, string_type, array_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
7
9
 
8
10
  class Factor extends Record {
9
11
  constructor(Name, FactorType, Comments) {
@@ -100,5 +102,8 @@ class Factor extends Record {
100
102
  return "OA " + this$.NameText;
101
103
  }
102
104
  }
105
+ function Factor_$reflection() {
106
+ return record_type("ARCtrl.Process.Factor", [], Factor, () => [["Name", option_type(string_type)], ["FactorType", option_type(OntologyAnnotation_$reflection())], ["Comments", option_type(array_type(Comment$_$reflection()))]]);
107
+ }
103
108
 
104
- export { Factor };
109
+ export { Factor, Factor_$reflection };
@@ -1,7 +1,11 @@
1
1
  import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
- import { map, value, bind, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
- import { Factor } from './Factor.js';
4
- import '../Helper/Url.js';
2
+ import { map, value, bind, defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
+ import { Factor_$reflection, Factor } from './Factor.js';
4
+ import { OntologyAnnotation_$reflection } from '../OntologyAnnotation.js';
5
+ import { Value_$reflection } from '../Value.js';
6
+ import { int32ToString } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
7
+ import { record_type, option_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
8
+ import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
5
9
 
6
10
  class FactorValue extends Record {
7
11
  constructor(ID, Category, Value, Unit) {
@@ -55,14 +59,67 @@ class FactorValue extends Record {
55
59
  return "FactorValue";
56
60
  }
57
61
  }
62
+ function FactorValue_$reflection() {
63
+ return record_type("ARCtrl.Process.FactorValue", [], FactorValue, () => [["ID", option_type(string_type)], ["Category", option_type(Factor_$reflection())], ["Value", option_type(Value_$reflection())], ["Unit", option_type(OntologyAnnotation_$reflection())]]);
64
+ }
58
65
  function FactorValue_make(id, category, value, unit) {
59
66
  return new FactorValue(id, category, value, unit);
60
67
  }
61
68
  function FactorValue_create_30BDC49(Id, Category, Value, Unit) {
62
69
  return FactorValue_make(Id, Category, Value, Unit);
63
70
  }
71
+ function FactorValue_get_empty() {
72
+ return FactorValue_create_30BDC49();
73
+ }
74
+ function FactorValue__get_ValueText(this$) {
75
+ return defaultArg(map((oa) => {
76
+ switch (oa.tag) {
77
+ case /* Float */
78
+ 2: {
79
+ const f = oa.fields[0];
80
+ return f.toString();
81
+ }
82
+ case /* Int */
83
+ 1:
84
+ return int32ToString(oa.fields[0]);
85
+ case /* Name */
86
+ 3:
87
+ return oa.fields[0];
88
+ default: {
89
+ const oa_1 = oa.fields[0];
90
+ return oa_1.NameText;
91
+ }
92
+ }
93
+ }, this$.Value), "");
94
+ }
95
+ function FactorValue__get_ValueWithUnitText(this$) {
96
+ const unit = map((oa) => oa.NameText, this$.Unit);
97
+ const v = FactorValue__get_ValueText(this$);
98
+ if (unit == null) {
99
+ return v;
100
+ } else {
101
+ const u = value(unit);
102
+ return toText(printf("%s %s"))(v)(u);
103
+ }
104
+ }
105
+ function FactorValue__get_NameText(this$) {
106
+ return defaultArg(map((factor) => factor.NameText, this$.Category), "");
107
+ }
108
+ function FactorValue__MapCategory_658CFBF6(this$, f) {
109
+ return new FactorValue(this$.ID, map((p) => p.MapCategory(f), this$.Category), this$.Value, this$.Unit);
110
+ }
111
+ function FactorValue__SetCategory_ZDED3A0F(this$, c) {
112
+ let matchValue, p;
113
+ return new FactorValue(this$.ID, (matchValue = this$.Category, matchValue == null ? Factor.create(void 0, c) : (p = value(matchValue), p.SetCategory(c))), this$.Value, this$.Unit);
114
+ }
115
+ function FactorValue_getNameAsString_7105C732(fv) {
116
+ return FactorValue__get_NameText(fv);
117
+ }
118
+ function FactorValue_nameEqualsString(name, fv) {
119
+ return FactorValue__get_NameText(fv) === name;
120
+ }
64
121
  function FactorValue_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
65
122
  return FactorValue_create_30BDC49(void 0, unwrap(map((c) => Factor.create(void 0, c), category)), unwrap(value), unwrap(unit));
66
123
  }
67
124
 
68
- export { FactorValue, FactorValue_createAsPV, FactorValue_create_30BDC49, FactorValue_make };
125
+ export { FactorValue, FactorValue_$reflection, FactorValue__MapCategory_658CFBF6, FactorValue__SetCategory_ZDED3A0F, FactorValue__get_NameText, FactorValue__get_ValueText, FactorValue__get_ValueWithUnitText, FactorValue_createAsPV, FactorValue_create_30BDC49, FactorValue_getNameAsString_7105C732, FactorValue_get_empty, FactorValue_make, FactorValue_nameEqualsString };
@@ -1,9 +1,10 @@
1
1
  import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
- import { length, empty } from '../../../node_modules/@fable-org/fable-library-js/List.js';
2
+ import { length, empty, choose } from '../../../node_modules/@fable-org/fable-library-js/List.js';
3
3
  import { defaultArg, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
- import '../Helper/Url.js';
4
+ import { MaterialAttributeValue_$reflection } from './MaterialAttributeValue.js';
5
+ import { MaterialType__get_AsString, MaterialType_$reflection } from './MaterialType.js';
5
6
  import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
6
- import { MaterialType__get_AsString } from './MaterialType.js';
7
+ import { record_type, option_type, string_type, list_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
7
8
 
8
9
  class Material extends Record {
9
10
  constructor(ID, Name, MaterialType, Characteristics, DerivesFrom) {
@@ -33,17 +34,26 @@ class Material extends Record {
33
34
  }
34
35
  }
35
36
  }
37
+ function Material_$reflection() {
38
+ return record_type("ARCtrl.Process.Material", [], Material, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["MaterialType", option_type(MaterialType_$reflection())], ["Characteristics", option_type(list_type(MaterialAttributeValue_$reflection()))], ["DerivesFrom", option_type(list_type(Material_$reflection()))]]);
39
+ }
36
40
  function Material_make(id, name, materialType, characteristics, derivesFrom) {
37
41
  return new Material(id, name, materialType, characteristics, derivesFrom);
38
42
  }
39
43
  function Material_create_Z66909A6D(Id, Name, MaterialType, Characteristics, DerivesFrom) {
40
44
  return Material_make(Id, Name, MaterialType, Characteristics, DerivesFrom);
41
45
  }
46
+ function Material_get_empty() {
47
+ return Material_create_Z66909A6D();
48
+ }
42
49
  function Material__get_NameText(this$) {
43
50
  return defaultArg(this$.Name, "");
44
51
  }
52
+ function Material_getUnits_ZBCDEB61(m) {
53
+ return choose((c) => c.Unit, defaultArg(m.Characteristics, empty()));
54
+ }
45
55
  function Material_setCharacteristicValues(values, m) {
46
56
  return new Material(m.ID, m.Name, m.MaterialType, values, m.DerivesFrom);
47
57
  }
48
58
 
49
- export { Material, Material__get_NameText, Material_create_Z66909A6D, Material_make, Material_setCharacteristicValues };
59
+ export { Material, Material_$reflection, Material__get_NameText, Material_create_Z66909A6D, Material_getUnits_ZBCDEB61, Material_get_empty, Material_make, Material_setCharacteristicValues };
@@ -1,6 +1,8 @@
1
1
  import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
- import { defaultArg, map } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
- import '../Helper/Url.js';
2
+ import { unwrap, defaultArg, map, bind } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
+ import { OntologyAnnotation_$reflection, OntologyAnnotation } from '../OntologyAnnotation.js';
4
+ import { record_type, option_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
5
+ import { Option_fromValueWithDefault } from '../Helper/Collections.js';
4
6
 
5
7
  class MaterialAttribute extends Record {
6
8
  constructor(ID, CharacteristicType) {
@@ -17,14 +19,50 @@ class MaterialAttribute extends Record {
17
19
  return "OA " + MaterialAttribute__get_NameText(this$);
18
20
  }
19
21
  }
22
+ function MaterialAttribute_$reflection() {
23
+ return record_type("ARCtrl.Process.MaterialAttribute", [], MaterialAttribute, () => [["ID", option_type(string_type)], ["CharacteristicType", option_type(OntologyAnnotation_$reflection())]]);
24
+ }
20
25
  function MaterialAttribute_make(id, characteristicType) {
21
26
  return new MaterialAttribute(id, characteristicType);
22
27
  }
23
28
  function MaterialAttribute_create_A220A8A(Id, CharacteristicType) {
24
29
  return MaterialAttribute_make(Id, CharacteristicType);
25
30
  }
31
+ function MaterialAttribute_get_empty() {
32
+ return MaterialAttribute_create_A220A8A();
33
+ }
34
+ function MaterialAttribute_fromString_5980DC03(term, source, accession, comments) {
35
+ const oa = OntologyAnnotation.create(term, source, accession, unwrap(comments));
36
+ return MaterialAttribute_make(void 0, Option_fromValueWithDefault(new OntologyAnnotation(), oa));
37
+ }
38
+ function MaterialAttribute_toStringObject_Z1E3B85DD(ma) {
39
+ const value = {
40
+ TermAccessionNumber: "",
41
+ TermName: "",
42
+ TermSourceREF: ""
43
+ };
44
+ return defaultArg(map((oa) => OntologyAnnotation.toStringObject(oa), ma.CharacteristicType), value);
45
+ }
26
46
  function MaterialAttribute__get_NameText(this$) {
27
47
  return defaultArg(map((oa) => oa.NameText, this$.CharacteristicType), "");
28
48
  }
49
+ function MaterialAttribute__get_TryNameText(this$) {
50
+ return bind((oa) => oa.Name, this$.CharacteristicType);
51
+ }
52
+ function MaterialAttribute__MapCategory_658CFBF6(this$, f) {
53
+ return new MaterialAttribute(this$.ID, map(f, this$.CharacteristicType));
54
+ }
55
+ function MaterialAttribute__SetCategory_ZDED3A0F(this$, c) {
56
+ return new MaterialAttribute(this$.ID, c);
57
+ }
58
+ function MaterialAttribute_tryGetNameText_Z1E3B85DD(ma) {
59
+ return MaterialAttribute__get_NameText(ma);
60
+ }
61
+ function MaterialAttribute_getNameText_Z1E3B85DD(ma) {
62
+ return MaterialAttribute__get_TryNameText(ma);
63
+ }
64
+ function MaterialAttribute_nameEqualsString(name, ma) {
65
+ return MaterialAttribute__get_NameText(ma) === name;
66
+ }
29
67
 
30
- export { MaterialAttribute, MaterialAttribute__get_NameText, MaterialAttribute_create_A220A8A, MaterialAttribute_make };
68
+ export { MaterialAttribute, MaterialAttribute_$reflection, MaterialAttribute__MapCategory_658CFBF6, MaterialAttribute__SetCategory_ZDED3A0F, MaterialAttribute__get_NameText, MaterialAttribute__get_TryNameText, MaterialAttribute_create_A220A8A, MaterialAttribute_fromString_5980DC03, MaterialAttribute_getNameText_Z1E3B85DD, MaterialAttribute_get_empty, MaterialAttribute_make, MaterialAttribute_nameEqualsString, MaterialAttribute_toStringObject_Z1E3B85DD, MaterialAttribute_tryGetNameText_Z1E3B85DD };
@@ -1,7 +1,11 @@
1
1
  import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
- import { map, value, bind, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
- import { MaterialAttribute__get_NameText, MaterialAttribute_create_A220A8A } from './MaterialAttribute.js';
4
- import '../Helper/Url.js';
2
+ import { map, value, bind, defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
+ import { MaterialAttribute__get_NameText, MaterialAttribute_$reflection, MaterialAttribute__get_TryNameText, MaterialAttribute__MapCategory_658CFBF6, MaterialAttribute_create_A220A8A, MaterialAttribute__SetCategory_ZDED3A0F } from './MaterialAttribute.js';
4
+ import { OntologyAnnotation_$reflection } from '../OntologyAnnotation.js';
5
+ import { Value_$reflection } from '../Value.js';
6
+ import { int32ToString } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
7
+ import { record_type, option_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
8
+ import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
5
9
 
6
10
  class MaterialAttributeValue extends Record {
7
11
  constructor(ID, Category, Value, Unit) {
@@ -55,14 +59,73 @@ class MaterialAttributeValue extends Record {
55
59
  return "MaterialAttributeValue";
56
60
  }
57
61
  }
62
+ function MaterialAttributeValue_$reflection() {
63
+ return record_type("ARCtrl.Process.MaterialAttributeValue", [], MaterialAttributeValue, () => [["ID", option_type(string_type)], ["Category", option_type(MaterialAttribute_$reflection())], ["Value", option_type(Value_$reflection())], ["Unit", option_type(OntologyAnnotation_$reflection())]]);
64
+ }
58
65
  function MaterialAttributeValue_make(id, category, value, unit) {
59
66
  return new MaterialAttributeValue(id, category, value, unit);
60
67
  }
61
68
  function MaterialAttributeValue_create_ZE1D108D(Id, Category, Value, Unit) {
62
69
  return MaterialAttributeValue_make(Id, Category, Value, Unit);
63
70
  }
71
+ function MaterialAttributeValue_get_empty() {
72
+ return MaterialAttributeValue_create_ZE1D108D();
73
+ }
74
+ function MaterialAttributeValue__get_NameText(this$) {
75
+ return defaultArg(map(MaterialAttribute__get_NameText, this$.Category), "");
76
+ }
77
+ function MaterialAttributeValue__get_TryNameText(this$) {
78
+ return bind(MaterialAttribute__get_TryNameText, this$.Category);
79
+ }
80
+ function MaterialAttributeValue__get_ValueText(this$) {
81
+ return defaultArg(map((oa) => {
82
+ switch (oa.tag) {
83
+ case /* Float */
84
+ 2: {
85
+ const f = oa.fields[0];
86
+ return f.toString();
87
+ }
88
+ case /* Int */
89
+ 1:
90
+ return int32ToString(oa.fields[0]);
91
+ case /* Name */
92
+ 3:
93
+ return oa.fields[0];
94
+ default: {
95
+ const oa_1 = oa.fields[0];
96
+ return oa_1.NameText;
97
+ }
98
+ }
99
+ }, this$.Value), "");
100
+ }
101
+ function MaterialAttributeValue__get_ValueWithUnitText(this$) {
102
+ const unit = map((oa) => oa.NameText, this$.Unit);
103
+ const v = MaterialAttributeValue__get_ValueText(this$);
104
+ if (unit == null) {
105
+ return v;
106
+ } else {
107
+ const u = value(unit);
108
+ return toText(printf("%s %s"))(v)(u);
109
+ }
110
+ }
111
+ function MaterialAttributeValue__MapCategory_658CFBF6(this$, f) {
112
+ return new MaterialAttributeValue(this$.ID, map((p) => MaterialAttribute__MapCategory_658CFBF6(p, f), this$.Category), this$.Value, this$.Unit);
113
+ }
114
+ function MaterialAttributeValue__SetCategory_ZDED3A0F(this$, c) {
115
+ let matchValue;
116
+ return new MaterialAttributeValue(this$.ID, (matchValue = this$.Category, matchValue == null ? MaterialAttribute_create_A220A8A(void 0, c) : MaterialAttribute__SetCategory_ZDED3A0F(value(matchValue), c)), this$.Value, this$.Unit);
117
+ }
118
+ function MaterialAttributeValue_tryGetNameText_Z772273B8(mv) {
119
+ return MaterialAttributeValue__get_TryNameText(mv);
120
+ }
121
+ function MaterialAttributeValue_getNameAsString_Z772273B8(mv) {
122
+ return MaterialAttributeValue__get_TryNameText(mv);
123
+ }
124
+ function MaterialAttributeValue_nameEqualsString(name, mv) {
125
+ return MaterialAttributeValue__get_NameText(mv) === name;
126
+ }
64
127
  function MaterialAttributeValue_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
65
128
  return MaterialAttributeValue_create_ZE1D108D(void 0, unwrap(map((c) => MaterialAttribute_create_A220A8A(void 0, c), category)), unwrap(value), unwrap(unit));
66
129
  }
67
130
 
68
- export { MaterialAttributeValue, MaterialAttributeValue_createAsPV, MaterialAttributeValue_create_ZE1D108D, MaterialAttributeValue_make };
131
+ export { MaterialAttributeValue, MaterialAttributeValue_$reflection, MaterialAttributeValue__MapCategory_658CFBF6, MaterialAttributeValue__SetCategory_ZDED3A0F, MaterialAttributeValue__get_NameText, MaterialAttributeValue__get_TryNameText, MaterialAttributeValue__get_ValueText, MaterialAttributeValue__get_ValueWithUnitText, MaterialAttributeValue_createAsPV, MaterialAttributeValue_create_ZE1D108D, MaterialAttributeValue_getNameAsString_Z772273B8, MaterialAttributeValue_get_empty, MaterialAttributeValue_make, MaterialAttributeValue_nameEqualsString, MaterialAttributeValue_tryGetNameText_Z772273B8 };
@@ -1,4 +1,5 @@
1
1
  import { Union } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
+ import { union_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
2
3
 
3
4
  function MaterialType_ExtractName() {
4
5
  return new MaterialType(0, []);
@@ -16,6 +17,19 @@ class MaterialType extends Union {
16
17
  return ["ExtractName", "LabeledExtractName"];
17
18
  }
18
19
  }
20
+ function MaterialType_$reflection() {
21
+ return union_type("ARCtrl.Process.MaterialType", [], MaterialType, () => [[], []]);
22
+ }
23
+ function MaterialType_create_Z721C83C5(t) {
24
+ switch (t) {
25
+ case "Extract Name":
26
+ return MaterialType_ExtractName();
27
+ case "Labeled Extract Name":
28
+ return MaterialType_LabeledExtractName();
29
+ default:
30
+ throw new Error('No other value than "Extract Name" or "Labeled Extract Name" allowed for materialtype');
31
+ }
32
+ }
19
33
  function MaterialType__get_AsString(this$) {
20
34
  if (this$.tag === /* LabeledExtractName */
21
35
  1) {
@@ -25,4 +39,4 @@ function MaterialType__get_AsString(this$) {
25
39
  }
26
40
  }
27
41
 
28
- export { MaterialType, MaterialType_ExtractName, MaterialType_LabeledExtractName, MaterialType__get_AsString };
42
+ export { MaterialType, MaterialType_$reflection, MaterialType_ExtractName, MaterialType_LabeledExtractName, MaterialType__get_AsString, MaterialType_create_Z721C83C5 };