@nfdi4plants/arctrl 3.2.2 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (470) hide show
  1. package/README.md +0 -64
  2. package/dist/ts/index.d.ts +44 -7
  3. package/dist/ts/index.d.ts.map +1 -1
  4. package/dist/ts/index.js +45 -8
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
  35. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
  36. package/dist/ts/ts/ARC.d.ts +22 -5
  37. package/dist/ts/ts/ARC.d.ts.map +1 -1
  38. package/dist/ts/ts/ARC.js +282 -185
  39. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
  40. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
  41. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
  42. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
  43. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  44. package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
  45. package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
  46. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  47. package/dist/ts/ts/CWL/CWLTypes.js +887 -201
  48. package/dist/ts/ts/CWL/Decode.d.ts +480 -211
  49. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  50. package/dist/ts/ts/CWL/Decode.js +3614 -2462
  51. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
  52. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  53. package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
  54. package/dist/ts/ts/CWL/Encode.d.ts +225 -85
  55. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  56. package/dist/ts/ts/CWL/Encode.js +1858 -970
  57. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
  58. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  59. package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
  60. package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
  61. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  62. package/dist/ts/ts/CWL/HashHelpers.js +255 -6
  63. package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
  64. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  65. package/dist/ts/ts/CWL/Inputs.js +107 -16
  66. package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
  67. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  68. package/dist/ts/ts/CWL/OperationDescription.js +35 -9
  69. package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
  70. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  71. package/dist/ts/ts/CWL/Outputs.js +101 -19
  72. package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
  73. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  74. package/dist/ts/ts/CWL/ParameterReference.js +18 -25
  75. package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
  76. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
  77. package/dist/ts/ts/CWL/ParameterValue.js +59 -35
  78. package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
  79. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  80. package/dist/ts/ts/CWL/Requirements.js +462 -89
  81. package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
  82. package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
  83. package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
  84. package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
  85. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  86. package/dist/ts/ts/CWL/ToolDescription.js +34 -13
  87. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
  88. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  89. package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
  90. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
  91. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  92. package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
  93. package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
  94. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  95. package/dist/ts/ts/CWLRunResolver.js +221 -86
  96. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  97. package/dist/ts/ts/Contract/ARC.js +13 -14
  98. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  99. package/dist/ts/ts/Contract/ArcAssay.js +4 -4
  100. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  101. package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
  102. package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
  103. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  104. package/dist/ts/ts/Contract/ArcRun.js +47 -20
  105. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  106. package/dist/ts/ts/Contract/ArcStudy.js +4 -4
  107. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
  108. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  109. package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
  110. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  111. package/dist/ts/ts/Contract/Datamap.js +16 -17
  112. package/dist/ts/ts/Contract/Git.js +1 -1
  113. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  114. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
  115. package/dist/ts/ts/ContractIO/ContractIO.d.ts +7 -0
  116. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  117. package/dist/ts/ts/ContractIO/ContractIO.js +95 -18
  118. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -0
  119. package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
  120. package/dist/ts/ts/ContractIO/FileSystemHelper.js +12 -5
  121. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  122. package/dist/ts/ts/Conversion/Assay.js +26 -18
  123. package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
  124. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  125. package/dist/ts/ts/Conversion/Basic.js +55 -31
  126. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  127. package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
  128. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  129. package/dist/ts/ts/Conversion/DateTime.js +1 -2
  130. package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
  131. package/dist/ts/ts/Conversion/Investigation.js +15 -14
  132. package/dist/ts/ts/Conversion/Person.js +11 -11
  133. package/dist/ts/ts/Conversion/Process.d.ts +4 -2
  134. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  135. package/dist/ts/ts/Conversion/Process.js +134 -97
  136. package/dist/ts/ts/Conversion/Run.d.ts +36 -6
  137. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  138. package/dist/ts/ts/Conversion/Run.js +320 -136
  139. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  140. package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
  141. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  142. package/dist/ts/ts/Conversion/Study.js +23 -12
  143. package/dist/ts/ts/Conversion/Table.d.ts +3 -2
  144. package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
  145. package/dist/ts/ts/Conversion/Table.js +8 -8
  146. package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
  147. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  148. package/dist/ts/ts/Conversion/Workflow.js +655 -163
  149. package/dist/ts/ts/Conversion.js +6 -6
  150. package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
  151. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  152. package/dist/ts/ts/Core/ArcTypes.js +219 -129
  153. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  154. package/dist/ts/ts/Core/Comment.js +2 -2
  155. package/dist/ts/ts/Core/CommentList.js +7 -7
  156. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  157. package/dist/ts/ts/Core/Conversion.js +68 -59
  158. package/dist/ts/ts/Core/Data.d.ts +6 -0
  159. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  160. package/dist/ts/ts/Core/Data.js +32 -12
  161. package/dist/ts/ts/Core/DataContext.d.ts +1 -1
  162. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  163. package/dist/ts/ts/Core/DataContext.js +4 -4
  164. package/dist/ts/ts/Core/DataFile.d.ts +11 -8
  165. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  166. package/dist/ts/ts/Core/DataFile.js +55 -61
  167. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  168. package/dist/ts/ts/Core/Datamap.js +2 -3
  169. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  170. package/dist/ts/ts/Core/Helper/Collections.js +2 -4
  171. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  172. package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
  173. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  174. package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
  175. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  176. package/dist/ts/ts/Core/Helper/Regex.js +52 -53
  177. package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
  178. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  179. package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
  180. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  181. package/dist/ts/ts/Core/Helper/Url.js +1 -1
  182. package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
  183. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  184. package/dist/ts/ts/Core/Person.js +2 -2
  185. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  186. package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
  187. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/Process/Component.js +22 -22
  189. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  190. package/dist/ts/ts/Core/Process/Factor.js +7 -7
  191. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  192. package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
  193. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  194. package/dist/ts/ts/Core/Process/Material.js +2 -2
  195. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  196. package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
  197. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  198. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
  199. package/dist/ts/ts/Core/Process/Process.js +21 -21
  200. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  201. package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
  202. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  203. package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
  204. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  205. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
  206. package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
  207. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  208. package/dist/ts/ts/Core/Process/Protocol.js +9 -9
  209. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  210. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
  211. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Publication.js +3 -3
  213. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
  214. package/dist/ts/ts/Core/ScalarValue.js +9 -13
  215. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  216. package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
  217. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
  218. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  219. package/dist/ts/ts/Core/Table/ArcTableAux.js +59 -70
  220. package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
  221. package/dist/ts/ts/Core/Table/CompositeCell.d.ts +4 -0
  222. package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
  223. package/dist/ts/ts/Core/Table/CompositeCell.js +39 -2
  224. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  225. package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
  226. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  227. package/dist/ts/ts/Core/Templates.js +2 -2
  228. package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
  229. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  230. package/dist/ts/ts/FileSystem/Path.js +37 -19
  231. package/dist/ts/ts/Json/Assay.js +22 -22
  232. package/dist/ts/ts/Json/Comment.js +9 -9
  233. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  234. package/dist/ts/ts/Json/Data.js +11 -11
  235. package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
  236. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  237. package/dist/ts/ts/Json/Decode.js +3 -5
  238. package/dist/ts/ts/Json/Encode.js +2 -2
  239. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  240. package/dist/ts/ts/Json/Investigation.js +20 -20
  241. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  242. package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
  243. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  244. package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
  245. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  246. package/dist/ts/ts/Json/Person.js +20 -20
  247. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  248. package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
  249. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  250. package/dist/ts/ts/Json/Process/Component.js +5 -6
  251. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  252. package/dist/ts/ts/Json/Process/Factor.js +7 -7
  253. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  254. package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
  255. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  256. package/dist/ts/ts/Json/Process/Material.js +9 -10
  257. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  258. package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
  259. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  260. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
  261. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  262. package/dist/ts/ts/Json/Process/Process.js +8 -9
  263. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  264. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
  265. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  266. package/dist/ts/ts/Json/Process/Protocol.js +17 -17
  267. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  268. package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
  269. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  270. package/dist/ts/ts/Json/Process/Sample.js +9 -9
  271. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  272. package/dist/ts/ts/Json/Process/Source.js +10 -11
  273. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  274. package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
  275. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  276. package/dist/ts/ts/Json/PropertyValue.js +24 -24
  277. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  278. package/dist/ts/ts/Json/Publication.js +10 -10
  279. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
  280. package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
  281. package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
  282. package/dist/ts/ts/Json/Run.js +9 -9
  283. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  284. package/dist/ts/ts/Json/StringTable.js +4 -7
  285. package/dist/ts/ts/Json/Study.js +20 -20
  286. package/dist/ts/ts/Json/Table/CellTable.js +1 -2
  287. package/dist/ts/ts/Json/Table/OATable.js +1 -2
  288. package/dist/ts/ts/Json/Workflow.js +9 -9
  289. package/dist/ts/ts/Json.d.ts +121 -1
  290. package/dist/ts/ts/Json.d.ts.map +1 -1
  291. package/dist/ts/ts/Json.js +310 -2
  292. package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
  293. package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
  294. package/dist/ts/ts/JsonIO/Comment.js +67 -0
  295. package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
  296. package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
  297. package/dist/ts/ts/JsonIO/Data.js +49 -0
  298. package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
  299. package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
  300. package/dist/ts/ts/JsonIO/DataFile.js +48 -0
  301. package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
  302. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  303. package/dist/ts/ts/JsonIO/LDObject.js +173 -17
  304. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
  305. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
  306. package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
  307. package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
  308. package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
  309. package/dist/ts/ts/JsonIO/Publication.js +68 -0
  310. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
  311. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
  312. package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
  313. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
  314. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
  315. package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
  316. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
  317. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
  318. package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
  319. package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
  320. package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
  321. package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
  322. package/dist/ts/ts/License.d.ts.map +1 -1
  323. package/dist/ts/ts/License.js +6 -6
  324. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  325. package/dist/ts/ts/ROCrate/LDContext.js +31 -39
  326. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  327. package/dist/ts/ts/ROCrate/LDObject.js +56 -49
  328. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
  329. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
  330. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
  331. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
  332. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
  333. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  334. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
  335. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  336. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
  337. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
  338. package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
  339. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
  340. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
  341. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
  342. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
  343. package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
  344. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
  345. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  346. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
  347. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
  348. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
  349. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
  350. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
  351. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
  352. package/dist/ts/ts/ROCrateIO.d.ts +18 -4
  353. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  354. package/dist/ts/ts/ROCrateIO.js +49 -38
  355. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  356. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
  357. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  358. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
  359. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  360. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
  361. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
  362. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  363. package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
  364. package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
  365. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +10 -12
  366. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  367. package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
  368. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  369. package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
  370. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  371. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
  372. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  373. package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
  374. package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
  375. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
  376. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
  377. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  378. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
  379. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  380. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +8 -10
  381. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +8 -0
  382. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  383. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +18 -7
  384. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  385. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +4 -6
  386. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  387. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -8
  388. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  389. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +5 -7
  390. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
  391. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +2 -4
  392. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  393. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +7 -9
  394. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  395. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +6 -8
  396. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
  397. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  398. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +9 -11
  399. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  400. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
  401. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  402. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -12
  403. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  404. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +7 -9
  405. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
  406. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  407. package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
  408. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
  409. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  410. package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
  411. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
  412. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  413. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
  414. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
  415. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  416. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
  417. package/dist/ts/ts/Xlsx.js +3 -3
  418. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
  419. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  420. package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
  421. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
  422. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  423. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
  424. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
  425. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
  426. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
  427. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
  428. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
  429. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
  430. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
  431. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
  432. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
  433. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
  434. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
  435. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
  436. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
  437. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
  438. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
  439. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
  440. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
  441. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
  442. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
  443. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
  444. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
  445. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
  446. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
  447. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
  448. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
  449. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
  450. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
  451. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
  452. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
  453. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
  454. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
  455. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
  456. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
  457. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
  458. package/package.json +5 -4
  459. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
  460. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
  461. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
  462. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
  463. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
  464. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
  465. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
  466. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
  467. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
  468. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
  469. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
  470. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
@@ -1 +1 @@
1
- {"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/FileSystem/Path.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAG1E,OAAO,EAAS,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAItE,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,MAAM,CAAe,CAAC;AAE5D,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,MAAM,CAAyD,CAAC;AAErH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAUxD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAYzD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAO/C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAO9D;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAiBpF;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAU1D;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,MAAM,CAAC,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CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAcrD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAuB1E;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAS9E;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAE9D;AAED,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wBAAgB,qBAAqB,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAExE;AAED,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE9D"}
@@ -1,8 +1,8 @@
1
1
  import { ofArray } from '../../node_modules/@fable-org/fable-library-ts/List.js';
2
- import { split as split$1, substring, concat, join, trimEnd, trimStart, trim } from '../../node_modules/@fable-org/fable-library-ts/String.js';
2
+ import { split as split$1, getCharAtIndex, substring, concat, join, trimEnd, trimStart, trim } from '../../node_modules/@fable-org/fable-library-ts/String.js';
3
+ import { isMatch } from '../../node_modules/@fable-org/fable-library-ts/RegExp.js';
3
4
  import { isLetter } from '../../node_modules/@fable-org/fable-library-ts/Char.js';
4
- import { value } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
5
- import { mapIndexed, item, append, last } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
5
+ import { mapIndexed, item, append, fill, last } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
6
6
 
7
7
  const seperators = ["/", "\\"];
8
8
  const alternativeLICENSEFileNames = ofArray(["LICENSE.txt", "LICENSE.md", "LICENSE.rst"]);
@@ -16,12 +16,15 @@ function split(path) {
16
16
  }
17
17
  });
18
18
  }
19
+ function hasUriScheme(path) {
20
+ return isMatch(/^[A-Za-z][A-Za-z0-9+.\-]+:/gu, path.trim());
21
+ }
19
22
  function hasLeadingSeparator(path) {
20
23
  if (path.length > 0) {
21
- if (path[0] === "/") {
24
+ if (getCharAtIndex(path, 0) === "/") {
22
25
  return true;
23
26
  } else {
24
- return path[0] === "\\";
27
+ return getCharAtIndex(path, 0) === "\\";
25
28
  }
26
29
  } else {
27
30
  return false;
@@ -35,7 +38,7 @@ function isUncPath(path) {
35
38
  }
36
39
  }
37
40
  function tryGetDrivePrefix(path) {
38
- if (path.length > 2 && isLetter(path[0]) && path[1] === ":" && (path[2] === "/" ? true : path[2] === "\\")) {
41
+ if (path.length > 2 && isLetter(getCharAtIndex(path, 0)) && getCharAtIndex(path, 1) === ":" && (getCharAtIndex(path, 2) === "/" ? true : getCharAtIndex(path, 2) === "\\")) {
39
42
  return substring(path, 0, 2);
40
43
  } else {
41
44
  return void 0;
@@ -53,7 +56,7 @@ function splitWithPrefix(path) {
53
56
  return [void 0, split(trimmed)];
54
57
  }
55
58
  } else {
56
- return [value(matchValue), split(substring(trimmed, 2))];
59
+ return [matchValue, split(substring(trimmed, 2))];
57
60
  }
58
61
  }
59
62
  function normalizeRootPrefix(prefix) {
@@ -71,7 +74,7 @@ function buildPathFromPrefixAndSegments(prefixOpt, segments) {
71
74
  if (prefixOpt == null) {
72
75
  return "";
73
76
  } else {
74
- return normalizeRootPrefix(value(prefixOpt));
77
+ return normalizeRootPrefix(prefixOpt);
75
78
  }
76
79
  } else {
77
80
  const combined = join("/", segments);
@@ -79,27 +82,27 @@ function buildPathFromPrefixAndSegments(prefixOpt, segments) {
79
82
  if (prefixOpt == null) {
80
83
  matchResult = 4;
81
84
  } else {
82
- switch (value(prefixOpt)) {
85
+ switch (prefixOpt) {
83
86
  case "//": {
84
87
  matchResult = 0;
85
88
  break;
86
89
  }
87
90
  case "/": {
88
- if (prefix_1 = value(prefixOpt), prefix_1.endsWith(":")) {
91
+ if (prefix_1 = prefixOpt, prefix_1.endsWith(":")) {
89
92
  matchResult = 1;
90
- prefix_3 = value(prefixOpt);
93
+ prefix_3 = prefixOpt;
91
94
  } else {
92
95
  matchResult = 2;
93
96
  }
94
97
  break;
95
98
  }
96
99
  default:
97
- if (prefix_2 = value(prefixOpt), prefix_2.endsWith(":")) {
100
+ if (prefix_2 = prefixOpt, prefix_2.endsWith(":")) {
98
101
  matchResult = 1;
99
- prefix_3 = value(prefixOpt);
102
+ prefix_3 = prefixOpt;
100
103
  } else {
101
104
  matchResult = 3;
102
- prefix_4 = value(prefixOpt);
105
+ prefix_4 = prefixOpt;
103
106
  }
104
107
  }
105
108
  }
@@ -153,12 +156,17 @@ function normalize(path) {
153
156
  const trimmedPath = path.trim();
154
157
  const patternInput = splitWithPrefix(trimmedPath);
155
158
  const prefixOpt = patternInput[0];
156
- const normalizedSegments = normalizeSegments(patternInput[1]);
159
+ const pathSegments = patternInput[1];
160
+ const normalizedSegments = normalizeSegments(pathSegments);
157
161
  if (normalizedSegments.length === 0) {
158
162
  if (prefixOpt == null) {
159
- return trimmedPath;
163
+ if (pathSegments.length > 0) {
164
+ return ".";
165
+ } else {
166
+ return trimmedPath;
167
+ }
160
168
  } else {
161
- return normalizeRootPrefix(value(prefixOpt));
169
+ return normalizeRootPrefix(prefixOpt);
162
170
  }
163
171
  } else {
164
172
  return buildPathFromPrefixAndSegments(prefixOpt, normalizedSegments);
@@ -191,13 +199,23 @@ function resolvePathFromFile(filePath, path) {
191
199
  if (filePrefixOpt == null) {
192
200
  return trimmedPath;
193
201
  } else {
194
- return normalizeRootPrefix(value(filePrefixOpt));
202
+ return normalizeRootPrefix(filePrefixOpt);
195
203
  }
196
204
  } else {
197
205
  return buildPathFromPrefixAndSegments(filePrefixOpt, resolvedSegments);
198
206
  }
199
207
  }
200
208
  }
209
+ function getRelativePathFromFile(filePath, path) {
210
+ const fileSegments = normalizeSegments(split(filePath));
211
+ const directorySegments = fileSegments.length <= 1 ? [] : fileSegments.slice(0, fileSegments.length - 2 + 1);
212
+ const pathSegments = normalizeSegments(split(path));
213
+ let common = 0;
214
+ while (common < directorySegments.length && common < pathSegments.length - 1 && item(common, directorySegments) === item(common, pathSegments)) {
215
+ common = common + 1 | 0;
216
+ }
217
+ return join("/", append(fill(new Array(directorySegments.length - common), 0, directorySegments.length - common, ".."), pathSegments.slice(common, pathSegments.length)));
218
+ }
201
219
  function getFileName(path) {
202
220
  return last(split(path));
203
221
  }
@@ -217,4 +235,4 @@ function getRunFolderPath(runIdentifier) {
217
235
  return combine("runs", runIdentifier);
218
236
  }
219
237
 
220
- export { alternativeLICENSEFileNames, buildPathFromPrefixAndSegments, combine, combineMany, getAssayFolderPath, getFileName, getRunFolderPath, getStudyFolderPath, getWorkflowFolderPath, hasLeadingSeparator, isFile, isUncPath, normalize, normalizePathKey, normalizeRootPrefix, normalizeSegments, resolvePathFromFile, seperators, split, splitWithPrefix, tryGetDrivePrefix };
238
+ export { alternativeLICENSEFileNames, buildPathFromPrefixAndSegments, combine, combineMany, getAssayFolderPath, getFileName, getRelativePathFromFile, getRunFolderPath, getStudyFolderPath, getWorkflowFolderPath, hasLeadingSeparator, hasUriScheme, isFile, isUncPath, normalize, normalizePathKey, normalizeRootPrefix, normalizeSegments, resolvePathFromFile, seperators, split, splitWithPrefix, tryGetDrivePrefix };
@@ -1,5 +1,5 @@
1
1
  import { choose, ofArray, singleton, empty } from '../../node_modules/@fable-org/fable-library-ts/List.js';
2
- import { value, unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
2
+ import { unwrap, defaultArg, value } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
3
3
  import { tryInclude, tryIncludeSeq, tryIncludeList } from './Encode.js';
4
4
  import { OntologyAnnotation_encoder, OntologyAnnotation_decoder, OntologyAnnotation_ROCrate_encoderPropertyValue, OntologyAnnotation_ROCrate_encoderDefinedTerm, OntologyAnnotation_ROCrate_decoderPropertyValue, OntologyAnnotation_ROCrate_decoderDefinedTerm, OntologyAnnotation_ISAJson_encoder, OntologyAnnotation_ISAJson_decoder } from './OntologyAnnotation.js';
5
5
  import { encoder as encoder$1, decoder as decoder$2, encoderCompressed as encoderCompressed$2, decoderCompressed as decoderCompressed$2 } from './Datamap/Datamap.js';
@@ -25,17 +25,17 @@ import { encode } from './IDTable.js';
25
25
  import { Decode_objectNoAdditionalProperties } from './Decode.js';
26
26
 
27
27
  function encoder(assay) {
28
- let value$1 = void 0;
28
+ let value = void 0;
29
29
  const values_1 = choose((tupledArg) => {
30
30
  const option_1 = tupledArg[1];
31
31
  if (option_1 != null) {
32
- return [tupledArg[0], value(option_1)];
32
+ return [tupledArg[0], option_1];
33
33
  } else {
34
34
  return void 0;
35
35
  }
36
- }, ofArray([["Identifier", (value$1 = assay.Identifier, {
36
+ }, ofArray([["Identifier", (value = assay.Identifier, {
37
37
  Encode(helpers) {
38
- return helpers.encodeString(value$1);
38
+ return helpers.encodeString(value);
39
39
  }
40
40
  })], tryInclude("Title", (value_1) => ({
41
41
  Encode(helpers_1) {
@@ -58,17 +58,17 @@ const decoder = object((get$) => {
58
58
  return ArcAssay.create((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("MeasurementType", OntologyAnnotation_decoder))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("TechnologyType", OntologyAnnotation_decoder))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("TechnologyPlatform", OntologyAnnotation_decoder))), unwrap((arg_13 = resizeArray(decoder$1), objectArg_6 = get$.Optional, objectArg_6.Field("Tables", arg_13))), unwrap((objectArg_7 = get$.Optional, objectArg_7.Field("Datamap", decoder$2))), unwrap((arg_17 = resizeArray(decoder$3), objectArg_8 = get$.Optional, objectArg_8.Field("Performers", arg_17))), unwrap((arg_19 = resizeArray(decoder$4), objectArg_9 = get$.Optional, objectArg_9.Field("Comments", arg_19))));
59
59
  });
60
60
  function encoderCompressed(stringTable, oaTable, cellTable, assay) {
61
- let value$1 = void 0;
61
+ let value = void 0;
62
62
  const values_1 = choose((tupledArg) => {
63
63
  const option_1 = tupledArg[1];
64
64
  if (option_1 != null) {
65
- return [tupledArg[0], value(option_1)];
65
+ return [tupledArg[0], option_1];
66
66
  } else {
67
67
  return void 0;
68
68
  }
69
- }, ofArray([["Identifier", (value$1 = assay.Identifier, {
69
+ }, ofArray([["Identifier", (value = assay.Identifier, {
70
70
  Encode(helpers) {
71
- return helpers.encodeString(value$1);
71
+ return helpers.encodeString(value);
72
72
  }
73
73
  })], tryInclude("Title", (value_1) => ({
74
74
  Encode(helpers_1) {
@@ -101,20 +101,20 @@ function ROCrate_genID(a) {
101
101
  }
102
102
  }
103
103
  function ROCrate_encoder(assayName, a) {
104
- let value$1 = void 0, value_3 = void 0, assayName_1 = void 0;
104
+ let value = void 0, value_3 = void 0, assayName_1 = void 0;
105
105
  const fileName = Assay_fileNameFromIdentifier(a.Identifier);
106
106
  const processes = ARCtrl_ArcTables__ArcTables_GetProcesses(a);
107
107
  const dataFiles = getData(processes);
108
108
  const values_1 = choose((tupledArg) => {
109
109
  const option_1 = tupledArg[1];
110
110
  if (option_1 != null) {
111
- return [tupledArg[0], value(option_1)];
111
+ return [tupledArg[0], option_1];
112
112
  } else {
113
113
  return void 0;
114
114
  }
115
- }, ofArray([["@id", (value$1 = ROCrate_genID(a), {
115
+ }, ofArray([["@id", (value = ROCrate_genID(a), {
116
116
  Encode(helpers) {
117
- return helpers.encodeString(value$1);
117
+ return helpers.encodeString(value);
118
118
  }
119
119
  })], ["@type", list(singleton({
120
120
  Encode(helpers_1) {
@@ -156,7 +156,7 @@ const ROCrate_decoder = object((get$) => {
156
156
  const arg_3 = list$1(ROCrate_decoder$1);
157
157
  const objectArg_1 = get$.Optional;
158
158
  option_2 = objectArg_1.Field("processSequence", arg_3);
159
- tables = option_2 != null ? (a = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_62A3309D(value(option_2)), a.Tables) : void 0;
159
+ tables = option_2 != null ? (a = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_62A3309D(option_2), a.Tables) : void 0;
160
160
  return new ArcAssay(identifier, unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("title", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("description", string))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("measurementType", OntologyAnnotation_ROCrate_decoderPropertyValue))), unwrap((objectArg_5 = get$.Optional, objectArg_5.Field("technologyType", OntologyAnnotation_ROCrate_decoderDefinedTerm))), unwrap((objectArg_6 = get$.Optional, objectArg_6.Field("technologyPlatform", OntologyAnnotation_ROCrate_decoderDefinedTerm))), unwrap(tables), void 0, unwrap((arg_16 = resizeArray(ROCrate_decoder$2), objectArg_7 = get$.Optional, objectArg_7.Field("performers", arg_16))), unwrap((arg_18 = resizeArray(ROCrate_decoder$3), objectArg_8 = get$.Optional, objectArg_8.Field("comments", arg_18))));
161
161
  });
162
162
  function ISAJson_encoder(studyName, idMap, a) {
@@ -173,7 +173,7 @@ function ISAJson_encoder(studyName, idMap, a) {
173
173
  const values_1 = choose((tupledArg) => {
174
174
  const option_3 = tupledArg[1];
175
175
  if (option_3 != null) {
176
- return [tupledArg[0], value(option_3)];
176
+ return [tupledArg[0], option_3];
177
177
  } else {
178
178
  return void 0;
179
179
  }
@@ -189,7 +189,7 @@ function ISAJson_encoder(studyName, idMap, a) {
189
189
  Encode(helpers_2) {
190
190
  return helpers_2.encodeString(value_7);
191
191
  }
192
- }), (option_1 = a_1.TechnologyPlatform, option_1 != null ? JsonTypes_composeTechnologyPlatform(value(option_1)) : void 0)), encocedDataFiles, encodedMaterials, encodedCharacteristics, encodedUnits, tryIncludeList("processSequence", (assayName = a_1.Identifier, (oa_4) => ISAJson_encoder$2(studyName, assayName, idMap, oa_4)), processes), tryIncludeSeq("comments", (comment) => ISAJson_encoder$3(idMap, comment), comments)]));
192
+ }), (option_1 = a_1.TechnologyPlatform, option_1 != null ? JsonTypes_composeTechnologyPlatform(option_1) : void 0)), encocedDataFiles, encodedMaterials, encodedCharacteristics, encodedUnits, tryIncludeList("processSequence", (assayName = a_1.Identifier, (oa_4) => ISAJson_encoder$2(studyName, assayName, idMap, oa_4)), processes), tryIncludeSeq("comments", (comment) => ISAJson_encoder$3(idMap, comment), comments)]));
193
193
  return {
194
194
  Encode(helpers_3) {
195
195
  const arg = map((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers_3)], values_1);
@@ -198,7 +198,7 @@ function ISAJson_encoder(studyName, idMap, a) {
198
198
  };
199
199
  };
200
200
  if (idMap != null) {
201
- return encode(ROCrate_genID, f, a, value(idMap));
201
+ return encode(ROCrate_genID, f, a, idMap);
202
202
  } else {
203
203
  return f(a);
204
204
  }
@@ -206,13 +206,13 @@ function ISAJson_encoder(studyName, idMap, a) {
206
206
  const ISAJson_allowedFields = ofArray(["@id", "filename", "measurementType", "technologyType", "technologyPlatform", "dataFiles", "materials", "characteristicCategories", "unitCategories", "processSequence", "comments", "@type", "@context"]);
207
207
  const ISAJson_decoder = Decode_objectNoAdditionalProperties(ISAJson_allowedFields, (get$) => {
208
208
  let option_1 = void 0, objectArg = void 0, a = void 0, objectArg_3 = void 0, objectArg_4 = void 0, arg_12 = void 0, objectArg_5 = void 0;
209
- const identifier = defaultArg((option_1 = (objectArg = get$.Optional, objectArg.Field("filename", string)), option_1 != null ? Assay_tryIdentifierFromFileName(value(option_1)) : void 0), createMissingIdentifier());
209
+ const identifier = defaultArg((option_1 = (objectArg = get$.Optional, objectArg.Field("filename", string)), option_1 != null ? Assay_tryIdentifierFromFileName(option_1) : void 0), createMissingIdentifier());
210
210
  let tables;
211
211
  let option_4;
212
212
  const arg_3 = list$1(ISAJson_decoder$1);
213
213
  const objectArg_1 = get$.Optional;
214
214
  option_4 = objectArg_1.Field("processSequence", arg_3);
215
- tables = option_4 != null ? (a = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_62A3309D(value(option_4)), a.Tables) : void 0;
215
+ tables = option_4 != null ? (a = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_62A3309D(option_4), a.Tables) : void 0;
216
216
  let comments;
217
217
  const arg_6 = resizeArray(ISAJson_decoder$2);
218
218
  const objectArg_2 = get$.Optional;
@@ -225,7 +225,7 @@ const ISAJson_decoder = Decode_objectNoAdditionalProperties(ISAJson_allowedField
225
225
  } else {
226
226
  return void 0;
227
227
  }
228
- }, value(option_6)) : void 0;
228
+ }, option_6) : void 0;
229
229
  let description;
230
230
  const option_8 = comments;
231
231
  description = option_8 != null ? tryPick((x_1) => {
@@ -234,7 +234,7 @@ const ISAJson_decoder = Decode_objectNoAdditionalProperties(ISAJson_allowedField
234
234
  } else {
235
235
  return void 0;
236
236
  }
237
- }, value(option_8)) : void 0;
237
+ }, option_8) : void 0;
238
238
  let comments_1;
239
239
  const option_10 = comments;
240
240
  if (option_10 != null) {
@@ -246,7 +246,7 @@ const ISAJson_decoder = Decode_objectNoAdditionalProperties(ISAJson_allowedField
246
246
  } else {
247
247
  return false;
248
248
  }
249
- }, value(option_10));
249
+ }, option_10);
250
250
  comments_1 = length(matchValue) === 0 ? void 0 : matchValue;
251
251
  } else {
252
252
  comments_1 = void 0;
@@ -1,5 +1,5 @@
1
1
  import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-ts/List.js';
2
- import { value, unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
2
+ import { unwrap, value } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
3
3
  import { tryInclude } from './Encode.js';
4
4
  import { map } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
5
5
  import { Comment$ } from '../Core/Comment.js';
@@ -13,7 +13,7 @@ function encoder(comment) {
13
13
  const values_1 = choose((tupledArg) => {
14
14
  const option_1 = tupledArg[1];
15
15
  if (option_1 != null) {
16
- return [tupledArg[0], value(option_1)];
16
+ return [tupledArg[0], option_1];
17
17
  } else {
18
18
  return void 0;
19
19
  }
@@ -42,23 +42,23 @@ function ROCrate_genID(c) {
42
42
  if (matchValue == null) {
43
43
  return "#EmptyComment";
44
44
  } else {
45
- const n = value(matchValue);
45
+ const n = matchValue;
46
46
  const v = c.Value != null ? "_" + replace(value(c.Value), " ", "_") : "";
47
47
  return "#Comment_" + replace(n, " ", "_") + v;
48
48
  }
49
49
  }
50
50
  function ROCrate_encoder(comment) {
51
- let value$1 = void 0;
51
+ let value = void 0;
52
52
  const values_1 = choose((tupledArg) => {
53
53
  const option_1 = tupledArg[1];
54
54
  if (option_1 != null) {
55
- return [tupledArg[0], value(option_1)];
55
+ return [tupledArg[0], option_1];
56
56
  } else {
57
57
  return void 0;
58
58
  }
59
- }, ofArray([["@id", (value$1 = ROCrate_genID(comment), {
59
+ }, ofArray([["@id", (value = ROCrate_genID(comment), {
60
60
  Encode(helpers) {
61
- return helpers.encodeString(value$1);
61
+ return helpers.encodeString(value);
62
62
  }
63
63
  })], ["@type", {
64
64
  Encode(helpers_1) {
@@ -98,7 +98,7 @@ function ISAJson_encoder(idMap, comment) {
98
98
  const values_1 = choose((tupledArg) => {
99
99
  const option_1 = tupledArg[1];
100
100
  if (option_1 != null) {
101
- return [tupledArg[0], value(option_1)];
101
+ return [tupledArg[0], option_1];
102
102
  } else {
103
103
  return void 0;
104
104
  }
@@ -125,7 +125,7 @@ function ISAJson_encoder(idMap, comment) {
125
125
  if (idMap == null) {
126
126
  return f(comment);
127
127
  } else {
128
- return encode(ROCrate_genID, f, comment, value(idMap));
128
+ return encode(ROCrate_genID, f, comment, idMap);
129
129
  }
130
130
  }
131
131
  const ISAJson_decoder = decoder;
@@ -1 +1 @@
1
- {"version":3,"file":"Data.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Data.ts"],"names":[],"mappings":"AACA,OAAO,EAA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8B,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAU,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAO9G,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAIvC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAO7D,wBAAgB,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,UAAU,CAgC3C;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,IAAI,CAGlC,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,IAAI,GAAG,UAAU,CAgBvF;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,CAKpF;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,CAc7C;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,IAAI,GAAG,UAAU,CAqCpD;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,IAAI,CAG1C,CAAC;AAEH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,GAAG,UAAU,CAgC7F;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAAqE,CAAC;AAE3H,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,IAAI,CAG1C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { choose, ofArray, singleton } from '../../node_modules/@fable-org/fable-library-ts/List.js';
2
- import { value, unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
2
+ import { unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
3
3
  import { tryInclude, tryIncludeSeq } from './Encode.js';
4
4
  import { ISAJson_encoder as ISAJson_encoder$1, ISAJson_decoder as ISAJson_decoder$1, ROCrate_encoder as ROCrate_encoder$1, ROCrate_decoder as ROCrate_decoder$1 } from './DataFile.js';
5
5
  import { encoder as encoder$1, decoder as decoder$1, ROCrate_encoder as ROCrate_encoder$2, ROCrate_decoder as ROCrate_decoder$2, ISAJson_encoder as ISAJson_encoder$2, ISAJson_decoder as ISAJson_decoder$2 } from './Comment.js';
@@ -18,7 +18,7 @@ function encoder(d) {
18
18
  const values_1 = choose((tupledArg) => {
19
19
  const option_1 = tupledArg[1];
20
20
  if (option_1 != null) {
21
- return [tupledArg[0], value(option_1)];
21
+ return [tupledArg[0], option_1];
22
22
  } else {
23
23
  return void 0;
24
24
  }
@@ -54,7 +54,7 @@ function compressedEncoder(stringTable, d) {
54
54
  const values_1 = choose((tupledArg) => {
55
55
  const option_1 = tupledArg[1];
56
56
  if (option_1 != null) {
57
- return [tupledArg[0], value(option_1)];
57
+ return [tupledArg[0], option_1];
58
58
  } else {
59
59
  return void 0;
60
60
  }
@@ -79,24 +79,24 @@ function ROCrate_genID(d) {
79
79
  if (matchValue_1 == null) {
80
80
  return "#EmptyData";
81
81
  } else {
82
- return replace(value(matchValue_1), " ", "_");
82
+ return replace(matchValue_1, " ", "_");
83
83
  }
84
84
  } else {
85
- return URIModule_toString(value(matchValue));
85
+ return URIModule_toString(matchValue);
86
86
  }
87
87
  }
88
88
  function ROCrate_encoder(oa) {
89
- let value$1 = void 0;
89
+ let value = void 0;
90
90
  const values_1 = choose((tupledArg) => {
91
91
  const option_1 = tupledArg[1];
92
92
  if (option_1 != null) {
93
- return [tupledArg[0], value(option_1)];
93
+ return [tupledArg[0], option_1];
94
94
  } else {
95
95
  return void 0;
96
96
  }
97
- }, ofArray([["@id", (value$1 = ROCrate_genID(oa), {
97
+ }, ofArray([["@id", (value = ROCrate_genID(oa), {
98
98
  Encode(helpers) {
99
- return helpers.encodeString(value$1);
99
+ return helpers.encodeString(value);
100
100
  }
101
101
  })], ["@type", list(singleton({
102
102
  Encode(helpers_1) {
@@ -131,7 +131,7 @@ function ISAJson_encoder(idMap, oa) {
131
131
  const values_1 = choose((tupledArg) => {
132
132
  const option_1 = tupledArg[1];
133
133
  if (option_1 != null) {
134
- return [tupledArg[0], value(option_1)];
134
+ return [tupledArg[0], option_1];
135
135
  } else {
136
136
  return void 0;
137
137
  }
@@ -152,7 +152,7 @@ function ISAJson_encoder(idMap, oa) {
152
152
  };
153
153
  };
154
154
  if (idMap != null) {
155
- return encode(ROCrate_genID, f, oa, value(idMap));
155
+ return encode(ROCrate_genID, f, oa, idMap);
156
156
  } else {
157
157
  return f(oa);
158
158
  }
@@ -1,5 +1,5 @@
1
1
  import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
2
- import { value, unwrap } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
2
+ import { unwrap } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
3
3
  import { encoder as encoder$1, decoder as decoder$1 } from '../Data.js';
4
4
  import { tryInclude } from '../Encode.js';
5
5
  import { OntologyAnnotation_encoder, OntologyAnnotation_decoder } from '../OntologyAnnotation.js';
@@ -11,7 +11,7 @@ function encoder(dc) {
11
11
  const values_1 = choose((tupledArg) => {
12
12
  const option_1 = tupledArg[1];
13
13
  if (option_1 != null) {
14
- return [tupledArg[0], value(option_1)];
14
+ return [tupledArg[0], option_1];
15
15
  } else {
16
16
  return void 0;
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Decode.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Decode.ts"],"names":[],"mappings":"AACA,OAAO,EAAsD,SAAS,EAAE,iBAAiB,EAA6B,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AACvM,OAAO,EAAe,QAAQ,EAAuE,MAAM,qDAAqD,CAAC;AAEj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from '../../node_modules/@fable-org/fable-library-ts/Util.js';
8
8
  import { isEmpty, length, head, empty, cons, tail } from '../../node_modules/@fable-org/fable-library-ts/List.js';
9
9
  import { fold } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
10
- import { minValue, tryParse } from '../../node_modules/@fable-org/fable-library-ts/Date.js';
11
10
  import { FSharpRef } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
11
+ import { minValue, tryParse } from '../../node_modules/@fable-org/fable-library-ts/Date.js';
12
12
  import { Dictionary } from '../../node_modules/@fable-org/fable-library-ts/MutableMap.js';
13
13
  import { addToDict } from '../../node_modules/@fable-org/fable-library-ts/MapUtil.js';
14
14
 
@@ -103,10 +103,8 @@ const Decode_datetime = {
103
103
  Decode(helpers, value) {
104
104
  if (helpers.isString(value)) {
105
105
  let matchValue;
106
- let outArg = minValue();
107
- matchValue = [tryParse(helpers.asString(value), new FSharpRef(() => outArg, (v) => {
108
- outArg = v;
109
- })), outArg];
106
+ const cell = new FSharpRef(minValue());
107
+ matchValue = [tryParse(helpers.asString(value), cell), cell.contents];
110
108
  return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value)]);
111
109
  } else {
112
110
  return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value)]);
@@ -28,9 +28,9 @@ function tryIncludeArray(name, encoder, value) {
28
28
  function tryIncludeList(name, encoder, value) {
29
29
  return [name, isEmpty$1(value) ? void 0 : list(map$2(encoder, value))];
30
30
  }
31
- function tryIncludeListOpt(name, encoder, value$1) {
31
+ function tryIncludeListOpt(name, encoder, value) {
32
32
  let o = void 0;
33
- return [name, value$1 != null ? (o = value(value$1), isEmpty$1(o) ? void 0 : list(map$2(encoder, o))) : void 0];
33
+ return [name, value != null ? (o = value, isEmpty$1(o) ? void 0 : list(map$2(encoder, o))) : void 0];
34
34
  }
35
35
  const DefaultSpaces = 0;
36
36
  function defaultSpaces(spaces) {
@@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AAC,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,gBAAgB,GAAG,UAAU,CAyC7L;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,kBAAkB,CAAC,EAAE,SAAS,EAAE,YAAY,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAK1L;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAEzD;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,gBAAgB,GAAG,UAAU,CAqDhE;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,gBAAgB,CAoBtD,CAAC;AAEH,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,gBAAgB,GAAG,UAAU,CAwBtE;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAA+M,CAAC;AAErQ,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,gBAAgB,GAAG,UAAU,CA6C1G;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,gBAAgB,CAoBtD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { choose, ofArray, unzip, empty } from '../../node_modules/@fable-org/fable-library-ts/List.js';
2
- import { value, unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
2
+ import { unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
3
3
  import { tryInclude, tryIncludeSeq } from './Encode.js';
4
4
  import { encoder as encoder$1, decoder as decoder$1, ROCrate_encoder as ROCrate_encoder$1, ROCrate_decoder as ROCrate_decoder$2, ISAJson_encoder as ISAJson_encoder$1, ISAJson_decoder as ISAJson_decoder$2 } from './OntologySourceReference.js';
5
5
  import { encoder as encoder$2, decoder as decoder$2, ROCrate_encoder as ROCrate_encoder$2, ROCrate_decoder as ROCrate_decoder$3, ISAJson_encoder as ISAJson_encoder$2, ISAJson_decoder as ISAJson_decoder$3 } from './Publication.js';
@@ -19,17 +19,17 @@ import { conformsTo_jsonvalue, context_jsonvalue as context_jsonvalue$1 } from '
19
19
  import { Decode_objectNoAdditionalProperties } from './Decode.js';
20
20
 
21
21
  function encoder(inv) {
22
- let value$1 = void 0;
22
+ let value = void 0;
23
23
  const values_1 = choose((tupledArg) => {
24
24
  const option_1 = tupledArg[1];
25
25
  if (option_1 != null) {
26
- return [tupledArg[0], value(option_1)];
26
+ return [tupledArg[0], option_1];
27
27
  } else {
28
28
  return void 0;
29
29
  }
30
- }, ofArray([["Identifier", (value$1 = inv.Identifier, {
30
+ }, ofArray([["Identifier", (value = inv.Identifier, {
31
31
  Encode(helpers) {
32
- return helpers.encodeString(value$1);
32
+ return helpers.encodeString(value);
33
33
  }
34
34
  })], tryInclude("Title", (value_1) => ({
35
35
  Encode(helpers_1) {
@@ -64,17 +64,17 @@ const decoder = object((get$) => {
64
64
  return new ArcInvestigation((objectArg = get$.Required, objectArg.Field("Identifier", string)), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("Title", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("Description", string))), unwrap((objectArg_3 = get$.Optional, objectArg_3.Field("SubmissionDate", string))), unwrap((objectArg_4 = get$.Optional, objectArg_4.Field("PublicReleaseDate", string))), unwrap((arg_11 = resizeArray(decoder$1), objectArg_5 = get$.Optional, objectArg_5.Field("OntologySourceReferences", arg_11))), unwrap((arg_13 = resizeArray(decoder$2), objectArg_6 = get$.Optional, objectArg_6.Field("Publications", arg_13))), unwrap((arg_15 = resizeArray(decoder$3), objectArg_7 = get$.Optional, objectArg_7.Field("Contacts", arg_15))), unwrap((arg_17 = resizeArray(decoder$4), objectArg_8 = get$.Optional, objectArg_8.Field("Assays", arg_17))), unwrap((arg_19 = resizeArray(decoder$5), objectArg_9 = get$.Optional, objectArg_9.Field("Studies", arg_19))), void 0, void 0, unwrap((arg_21 = resizeArray(string), objectArg_10 = get$.Optional, objectArg_10.Field("RegisteredStudyIdentifiers", arg_21))), unwrap((arg_23 = resizeArray(decoder$6), objectArg_11 = get$.Optional, objectArg_11.Field("Comments", arg_23))));
65
65
  });
66
66
  function encoderCompressed(stringTable, oaTable, cellTable, inv) {
67
- let value$1 = void 0;
67
+ let value = void 0;
68
68
  const values_1 = choose((tupledArg) => {
69
69
  const option_1 = tupledArg[1];
70
70
  if (option_1 != null) {
71
- return [tupledArg[0], value(option_1)];
71
+ return [tupledArg[0], option_1];
72
72
  } else {
73
73
  return void 0;
74
74
  }
75
- }, ofArray([["Identifier", (value$1 = inv.Identifier, {
75
+ }, ofArray([["Identifier", (value = inv.Identifier, {
76
76
  Encode(helpers) {
77
- return helpers.encodeString(value$1);
77
+ return helpers.encodeString(value);
78
78
  }
79
79
  })], tryInclude("Title", (value_1) => ({
80
80
  Encode(helpers_1) {
@@ -114,17 +114,17 @@ function ROCrate_genID(i) {
114
114
  return "./";
115
115
  }
116
116
  function ROCrate_encoder(oa) {
117
- let value$1 = void 0, value_3 = void 0, value_4 = void 0, value_12 = void 0, copyOfStruct = void 0;
117
+ let value = void 0, value_3 = void 0, value_4 = void 0, value_12 = void 0, copyOfStruct = void 0;
118
118
  const values_1 = choose((tupledArg) => {
119
119
  const option_2 = tupledArg[1];
120
120
  if (option_2 != null) {
121
- return [tupledArg[0], value(option_2)];
121
+ return [tupledArg[0], option_2];
122
122
  } else {
123
123
  return void 0;
124
124
  }
125
- }, ofArray([["@id", (value$1 = ROCrate_genID(oa), {
125
+ }, ofArray([["@id", (value = ROCrate_genID(oa), {
126
126
  Encode(helpers) {
127
- return helpers.encodeString(value$1);
127
+ return helpers.encodeString(value);
128
128
  }
129
129
  })], ["@type", {
130
130
  Encode(helpers_1) {
@@ -172,7 +172,7 @@ const ROCrate_decoder = object((get$) => {
172
172
  let matchValue;
173
173
  const objectArg = get$.Optional;
174
174
  matchValue = objectArg.Field("identifier", string);
175
- identifier = matchValue == null ? createMissingIdentifier() : value(matchValue);
175
+ identifier = matchValue == null ? createMissingIdentifier() : matchValue;
176
176
  const patternInput = unzip(defaultArg((arg_3 = list(ROCrate_decoder$1), objectArg_1 = get$.Optional, objectArg_1.Field("studies", arg_3)), empty()));
177
177
  const studiesRaw = patternInput[0];
178
178
  let assays;
@@ -191,7 +191,7 @@ function ROCrate_encodeRoCrate(oa) {
191
191
  const values_1 = choose((tupledArg) => {
192
192
  const option_1 = tupledArg[1];
193
193
  if (option_1 != null) {
194
- return [tupledArg[0], value(option_1)];
194
+ return [tupledArg[0], option_1];
195
195
  } else {
196
196
  return void 0;
197
197
  }
@@ -213,17 +213,17 @@ function ROCrate_encodeRoCrate(oa) {
213
213
  }
214
214
  const ISAJson_allowedFields = ofArray(["@id", "filename", "identifier", "title", "description", "submissionDate", "publicReleaseDate", "ontologySourceReferences", "publications", "people", "studies", "comments", "@type", "@context"]);
215
215
  function ISAJson_encoder(idMap, inv) {
216
- let value$1 = void 0, value_1 = void 0, value_2 = void 0;
216
+ let value = void 0, value_1 = void 0, value_2 = void 0;
217
217
  const values_1 = choose((tupledArg) => {
218
218
  const option_1 = tupledArg[1];
219
219
  if (option_1 != null) {
220
- return [tupledArg[0], value(option_1)];
220
+ return [tupledArg[0], option_1];
221
221
  } else {
222
222
  return void 0;
223
223
  }
224
- }, ofArray([["@id", (value$1 = ROCrate_genID(inv), {
224
+ }, ofArray([["@id", (value = ROCrate_genID(inv), {
225
225
  Encode(helpers) {
226
- return helpers.encodeString(value$1);
226
+ return helpers.encodeString(value);
227
227
  }
228
228
  })], ["filename", (value_1 = ArcInvestigation.FileName, {
229
229
  Encode(helpers_1) {
@@ -263,7 +263,7 @@ const ISAJson_decoder = Decode_objectNoAdditionalProperties(ISAJson_allowedField
263
263
  let matchValue;
264
264
  const objectArg = get$.Optional;
265
265
  matchValue = objectArg.Field("identifier", string);
266
- identifer = matchValue == null ? createMissingIdentifier() : value(matchValue);
266
+ identifer = matchValue == null ? createMissingIdentifier() : matchValue;
267
267
  const patternInput = unzip(defaultArg((arg_3 = list(ISAJson_decoder$1), objectArg_1 = get$.Optional, objectArg_1.Field("studies", arg_3)), empty()));
268
268
  const studiesRaw = patternInput[0];
269
269
  let assays;