@nfdi4plants/arctrl 3.0.0-beta.5 → 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 (306) 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.js +27 -3
  72. package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
  73. package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
  74. package/dist/ts/ts/Core/Person.js +8 -1
  75. package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
  76. package/dist/ts/ts/Core/Process/Component.js +37 -4
  77. package/dist/ts/ts/Core/Process/Factor.js +9 -4
  78. package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
  79. package/dist/ts/ts/Core/Process/Material.js +14 -4
  80. package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
  81. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
  82. package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
  83. package/dist/ts/ts/Core/Process/Process.js +150 -7
  84. package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
  85. package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
  86. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
  87. package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
  88. package/dist/ts/ts/Core/Process/Protocol.js +78 -4
  89. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
  90. package/dist/ts/ts/Core/Process/Sample.js +21 -3
  91. package/dist/ts/ts/Core/Process/Source.js +13 -3
  92. package/dist/ts/ts/Core/Publication.js +8 -1
  93. package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
  94. package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
  95. package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
  96. package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
  97. package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
  98. package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
  99. package/dist/ts/ts/Core/Template.js +12 -2
  100. package/dist/ts/ts/Core/Templates.js +8 -4
  101. package/dist/ts/ts/Core/Value.js +7 -3
  102. package/dist/ts/ts/CrossAsync.js +11 -1
  103. package/dist/ts/ts/FileSystem/Commit.js +18 -0
  104. package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
  105. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
  106. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  107. package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
  108. package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
  109. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  110. package/dist/ts/ts/FileSystem/Path.js +17 -3
  111. package/dist/ts/ts/Json/Assay.js +26 -26
  112. package/dist/ts/ts/Json/Comment.js +10 -10
  113. package/dist/ts/ts/Json/Data.js +6 -6
  114. package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
  115. package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
  116. package/dist/ts/ts/Json/Decode.js +14 -9
  117. package/dist/ts/ts/Json/Encode.js +43 -11
  118. package/dist/ts/ts/Json/Investigation.js +40 -22
  119. package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
  120. package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
  121. package/dist/ts/ts/Json/Person.js +26 -26
  122. package/dist/ts/ts/Json/Process/Component.js +9 -6
  123. package/dist/ts/ts/Json/Process/Factor.js +3 -3
  124. package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
  125. package/dist/ts/ts/Json/Process/Material.js +9 -9
  126. package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
  127. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
  128. package/dist/ts/ts/Json/Process/Process.js +12 -12
  129. package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
  130. package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
  131. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +10 -7
  132. package/dist/ts/ts/Json/Process/Protocol.js +12 -12
  133. package/dist/ts/ts/Json/Process/ProtocolParameter.js +3 -3
  134. package/dist/ts/ts/Json/Process/Sample.js +14 -14
  135. package/dist/ts/ts/Json/Process/Source.js +9 -9
  136. package/dist/ts/ts/Json/Process/Value.js +1 -1
  137. package/dist/ts/ts/Json/PropertyValue.js +1 -1
  138. package/dist/ts/ts/Json/Publication.js +6 -6
  139. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
  140. package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
  141. package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
  142. package/dist/ts/ts/Json/Run.js +7 -7
  143. package/dist/ts/ts/Json/StringTable.js +1 -1
  144. package/dist/ts/ts/Json/Study.js +32 -32
  145. package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
  146. package/dist/ts/ts/Json/Table/CellTable.js +6 -6
  147. package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
  148. package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
  149. package/dist/ts/ts/Json/Table/IOType.js +1 -1
  150. package/dist/ts/ts/Json/Table/OATable.js +7 -7
  151. package/dist/ts/ts/Json/Table/Templates.js +92 -6
  152. package/dist/ts/ts/Json/Workflow.js +11 -11
  153. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
  154. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
  155. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
  156. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
  157. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
  158. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
  159. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
  160. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
  161. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
  162. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
  163. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
  164. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
  165. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
  166. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
  167. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
  168. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
  169. package/dist/ts/ts/Json.d.ts +13 -1
  170. package/dist/ts/ts/Json.d.ts.map +1 -1
  171. package/dist/ts/ts/Json.js +89 -2
  172. package/dist/ts/ts/JsonIO/Assay.js +15 -3
  173. package/dist/ts/ts/JsonIO/Investigation.js +15 -3
  174. package/dist/ts/ts/JsonIO/LDObject.js +17 -3
  175. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
  176. package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
  177. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
  178. package/dist/ts/ts/JsonIO/Person.js +67 -0
  179. package/dist/ts/ts/JsonIO/Run.js +9 -3
  180. package/dist/ts/ts/JsonIO/Study.js +15 -3
  181. package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
  182. package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
  183. package/dist/ts/ts/JsonIO/Workflow.js +9 -3
  184. package/dist/ts/ts/License.d.ts +39 -0
  185. package/dist/ts/ts/License.d.ts.map +1 -0
  186. package/dist/ts/ts/License.js +123 -0
  187. package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
  188. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
  189. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
  190. package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
  191. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
  192. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
  193. package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
  194. package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
  195. package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
  196. package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
  197. package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
  198. package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
  199. package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
  200. package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
  201. package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
  202. package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
  203. package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
  204. package/dist/ts/ts/ROCrate/LDContext.js +15 -6
  205. package/dist/ts/ts/ROCrate/LDObject.js +53 -17
  206. package/dist/ts/ts/ROCrateIO.d.ts +9 -3
  207. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  208. package/dist/ts/ts/ROCrateIO.js +67 -14
  209. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
  210. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
  211. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
  212. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  213. package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
  214. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
  215. package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
  216. package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
  217. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
  218. package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
  219. package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
  220. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
  221. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
  222. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
  223. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  224. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
  225. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  226. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
  227. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
  228. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
  229. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
  230. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
  231. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
  232. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
  233. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
  234. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
  235. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
  236. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  237. package/dist/ts/ts/Template.Web.js +5 -1
  238. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
  239. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
  240. package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
  241. package/dist/ts/ts/Xlsx.js +41 -1
  242. package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
  243. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
  244. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
  245. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
  246. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
  247. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
  248. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
  249. package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
  250. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
  251. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
  252. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
  253. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
  254. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
  255. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
  256. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
  257. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
  258. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
  259. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
  260. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
  261. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
  262. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
  263. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
  264. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
  265. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
  266. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
  267. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
  268. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
  269. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
  270. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
  271. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
  272. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
  273. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
  274. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
  275. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
  276. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
  277. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
  278. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
  279. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
  280. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
  281. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
  282. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
  283. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
  284. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
  285. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
  286. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
  287. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
  288. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
  289. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
  290. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
  291. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
  292. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
  293. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
  294. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
  295. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
  296. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
  297. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
  298. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
  299. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
  300. package/package.json +1 -1
  301. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
  302. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
  303. package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
  304. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
  305. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
  306. package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
@@ -1,12 +1,13 @@
1
- import { structuralHash, equals, getEnumerator, disposeSafe, defaultOf } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
1
+ import { equals, structuralHash, defaultOf, getEnumerator, disposeSafe } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
2
2
  import { some, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
- import { iterate, map, isEmpty } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
4
- import { empty, isEmpty as isEmpty$1, tail, head, append, singleton } from '../../../node_modules/@fable-org/fable-library-js/List.js';
5
- import { tryGetValue, addToDict } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
3
+ import { isEmpty, iterate, map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
4
+ import { isEmpty as isEmpty$1, tail, head, append, singleton, empty } from '../../../node_modules/@fable-org/fable-library-js/List.js';
5
+ import { addToDict, tryGetValue } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
6
6
  import { Dictionary } from '../../../node_modules/@fable-org/fable-library-js/MutableMap.js';
7
7
  import { FSharpRef } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
8
8
  import { min } from '../../../node_modules/@fable-org/fable-library-js/Double.js';
9
9
  import { contains } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
10
+ import { rangeDouble } from '../../../node_modules/@fable-org/fable-library-js/Range.js';
10
11
  import { groupBy } from '../../../node_modules/@fable-org/fable-library-js/Seq2.js';
11
12
 
12
13
  function Option_fromValueWithDefault(d, v) {
@@ -16,6 +17,16 @@ function Option_fromValueWithDefault(d, v) {
16
17
  return some(v);
17
18
  }
18
19
  }
20
+ function Option_mapDefault(d, f, o) {
21
+ return Option_fromValueWithDefault(d, o == null ? f(d) : f(value(o)));
22
+ }
23
+ function Option_mapOrDefault(d, f, o) {
24
+ if (o == null) {
25
+ return d;
26
+ } else {
27
+ return some(f(value(o)));
28
+ }
29
+ }
19
30
  function Option_fromSeq(v) {
20
31
  if (isEmpty(v)) {
21
32
  return void 0;
@@ -42,10 +53,18 @@ function List_tryPickAndRemove(f, lst) {
42
53
  } else {
43
54
  return [void 0, newList];
44
55
  }
56
+ break;
45
57
  }
46
58
  };
47
59
  return loop(empty(), lst);
48
60
  }
61
+ function Dictionary_addOrUpdate(key, value, dict) {
62
+ if (dict.has(key)) {
63
+ dict.set(key, value);
64
+ } else {
65
+ addToDict(dict, key, value);
66
+ }
67
+ }
49
68
  function Dictionary_ofSeq(s) {
50
69
  const dict = new Dictionary([], {
51
70
  Equals: equals,
@@ -68,6 +87,25 @@ function Dictionary_tryFind(key, dict) {
68
87
  return void 0;
69
88
  }
70
89
  }
90
+ function Dictionary_ofSeqWithMerge(merge, s) {
91
+ const dict = new Dictionary([], {
92
+ Equals: equals,
93
+ GetHashCode: structuralHash
94
+ });
95
+ iterate((tupledArg) => {
96
+ const k = tupledArg[0];
97
+ const v = tupledArg[1];
98
+ const matchValue = Dictionary_tryFind(k, dict);
99
+ if (matchValue == null) {
100
+ addToDict(dict, k, v);
101
+ } else {
102
+ const v$0027 = value(matchValue);
103
+ dict.delete(k);
104
+ addToDict(dict, k, merge(v$0027, v));
105
+ }
106
+ }, s);
107
+ return dict;
108
+ }
71
109
  function Dictionary_init() {
72
110
  return new Dictionary([], {
73
111
  Equals: equals,
@@ -80,6 +118,9 @@ function Dictionary_items(dict) {
80
118
  function StringDictionary_ofSeq(s) {
81
119
  return new Map(s);
82
120
  }
121
+ function IntDictionary_ofSeq(s) {
122
+ return new Map(s);
123
+ }
83
124
  function ResizeArray_create(i, v) {
84
125
  const a = [];
85
126
  if (i > 0) {
@@ -114,6 +155,14 @@ function ResizeArray_mapi(f, a) {
114
155
  }
115
156
  return b;
116
157
  }
158
+ function ResizeArray_map2(f, a, b) {
159
+ const c = [];
160
+ const n = min(a.length, b.length) | 0;
161
+ for (let i = 0; i <= n - 1; i++) {
162
+ void c.push(f(a[i], b[i]));
163
+ }
164
+ return c;
165
+ }
117
166
  function ResizeArray_choose(f, a) {
118
167
  const b = [];
119
168
  let enumerator = getEnumerator(a);
@@ -159,6 +208,19 @@ function ResizeArray_fold(f, s, a) {
159
208
  }
160
209
  return state;
161
210
  }
211
+ function ResizeArray_foldBack(f, a, s) {
212
+ let state = s;
213
+ let enumerator = getEnumerator(a);
214
+ try {
215
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
216
+ const i = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
217
+ state = f(i, state);
218
+ }
219
+ } finally {
220
+ disposeSafe(enumerator);
221
+ }
222
+ return state;
223
+ }
162
224
  function ResizeArray_iter(f, a) {
163
225
  let enumerator = getEnumerator(a);
164
226
  try {
@@ -181,6 +243,22 @@ function ResizeArray_init(n, f) {
181
243
  }
182
244
  return a;
183
245
  }
246
+ function ResizeArray_reduce(f, a) {
247
+ switch (a.length) {
248
+ case 0:
249
+ throw new Error("ResizeArray.reduce: empty array");
250
+ case 1:
251
+ return a[0];
252
+ default: {
253
+ const a_5 = a;
254
+ let state = a_5[0];
255
+ for (let i = 1; i <= a_5.length - 1; i++) {
256
+ state = f(state, a_5[i]);
257
+ }
258
+ return state;
259
+ }
260
+ }
261
+ }
184
262
  function ResizeArray_collect(f, a) {
185
263
  const b = [];
186
264
  let enumerator = getEnumerator(a);
@@ -265,6 +343,27 @@ function ResizeArray_indexed(a) {
265
343
  }
266
344
  return b;
267
345
  }
346
+ function ResizeArray_rev(a) {
347
+ const b = [];
348
+ const enumerator = getEnumerator(rangeDouble(a.length - 1, -1, 0));
349
+ try {
350
+ while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
351
+ const i = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]() | 0;
352
+ void b.push(a[i]);
353
+ }
354
+ } finally {
355
+ disposeSafe(enumerator);
356
+ }
357
+ return b;
358
+ }
359
+ function ResizeArray_take(n, a) {
360
+ const b = [];
361
+ const n_1 = min(n, a.length) | 0;
362
+ for (let i = 0; i <= n_1 - 1; i++) {
363
+ void b.push(a[i]);
364
+ }
365
+ return b;
366
+ }
268
367
  function ResizeArray_groupBy(f, a) {
269
368
  const collection = map((tupledArg) => [tupledArg[0], Array.from(tupledArg[1])], groupBy(f, a, {
270
369
  Equals: equals,
@@ -288,6 +387,7 @@ function ResizeArray_tryPick(f, a) {
288
387
  } else {
289
388
  return void 0;
290
389
  }
390
+ break;
291
391
  }
292
392
  };
293
393
  return loop(0);
@@ -315,9 +415,10 @@ function ResizeArray_tryFind(f, a) {
315
415
  } else {
316
416
  return void 0;
317
417
  }
418
+ break;
318
419
  }
319
420
  };
320
421
  return loop(0);
321
422
  }
322
423
 
323
- export { Dictionary_init, Dictionary_items, Dictionary_ofSeq, Dictionary_tryFind, List_tryPickAndRemove, Option_fromSeq, Option_fromValueWithDefault, ResizeArray_append, ResizeArray_appendSingleton, ResizeArray_choose, ResizeArray_collect, ResizeArray_create, ResizeArray_distinct, ResizeArray_filter, ResizeArray_fold, ResizeArray_groupBy, ResizeArray_indexed, ResizeArray_init, ResizeArray_isEmpty, ResizeArray_iter, ResizeArray_iteri, ResizeArray_map, ResizeArray_mapi, ResizeArray_singleton, ResizeArray_tryFind, ResizeArray_tryPick, ResizeArray_zip, StringDictionary_ofSeq };
424
+ export { Dictionary_addOrUpdate, Dictionary_init, Dictionary_items, Dictionary_ofSeq, Dictionary_ofSeqWithMerge, Dictionary_tryFind, IntDictionary_ofSeq, List_tryPickAndRemove, Option_fromSeq, Option_fromValueWithDefault, Option_mapDefault, Option_mapOrDefault, ResizeArray_append, ResizeArray_appendSingleton, ResizeArray_choose, ResizeArray_collect, ResizeArray_create, ResizeArray_distinct, ResizeArray_filter, ResizeArray_fold, ResizeArray_foldBack, ResizeArray_groupBy, ResizeArray_indexed, ResizeArray_init, ResizeArray_isEmpty, ResizeArray_iter, ResizeArray_iteri, ResizeArray_map, ResizeArray_map2, ResizeArray_mapi, ResizeArray_reduce, ResizeArray_rev, ResizeArray_singleton, ResizeArray_take, ResizeArray_tryFind, ResizeArray_tryPick, ResizeArray_zip, StringDictionary_ofSeq };
@@ -1,8 +1,8 @@
1
1
  import { year, month, day, hour, minute, second } from '../../../node_modules/@fable-org/fable-library-js/Date.js';
2
2
  import { identityHash, numberHash } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
3
3
  import { value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
- import { fold as fold$1 } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
5
- import { fold } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
4
+ import { fold } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
5
+ import { fold as fold$1 } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
6
6
 
7
7
  function mergeHashes(hash1, hash2) {
8
8
  return -1640531527 + hash2 + (hash1 << 6) + (hash1 >> 2);
@@ -26,10 +26,10 @@ function boxHashOption(a) {
26
26
  return a != null ? (copyOfStruct = value(a), identityHash(copyOfStruct)) : (copyOfStruct_1 = 0, numberHash(copyOfStruct_1));
27
27
  }
28
28
  function boxHashArray(a) {
29
- return fold$1((acc, o) => mergeHashes(acc, hash(o)), 0, a);
29
+ return fold((acc, o) => mergeHashes(acc, hash(o)), 0, a);
30
30
  }
31
31
  function boxHashSeq(a) {
32
- return fold((acc, o) => mergeHashes(acc, hash(o)), 0, a);
32
+ return fold$1((acc, o) => mergeHashes(acc, hash(o)), 0, a);
33
33
  }
34
34
 
35
35
  export { boxHashArray, boxHashOption, boxHashSeq, hash, hashDateTime, mergeHashes };
@@ -11,7 +11,8 @@ function tryCheckValidCharacters(identifier) {
11
11
  }
12
12
  }
13
13
  function checkValidCharacters(identifier) {
14
- if (tryCheckValidCharacters(identifier)) ; else {
14
+ if (tryCheckValidCharacters(identifier)) {
15
+ } else {
15
16
  throw new Error(`New identifier "${identifier}"contains forbidden characters! Allowed characters are: letters, digits, underscore (_), dash (-) and whitespace ( ).`);
16
17
  }
17
18
  }
@@ -19,6 +20,9 @@ function createMissingIdentifier() {
19
20
  let copyOfStruct;
20
21
  return "MISSING_IDENTIFIER_" + (copyOfStruct = newGuid(), copyOfStruct);
21
22
  }
23
+ function isMissingIdentifier(str) {
24
+ return str.startsWith("MISSING_IDENTIFIER_");
25
+ }
22
26
  function removeMissingIdentifier(str) {
23
27
  if (str.startsWith("MISSING_IDENTIFIER_")) {
24
28
  return "";
@@ -26,6 +30,15 @@ function removeMissingIdentifier(str) {
26
30
  return str;
27
31
  }
28
32
  }
33
+ function Assay_identifierFromFileName(fileName) {
34
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(assays(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.assay.xlsx)?$", fileName);
35
+ if (activePatternResult != null) {
36
+ const m = value(activePatternResult);
37
+ return m.groups && m.groups.identifier || "";
38
+ } else {
39
+ throw new Error(`Cannot parse assay identifier from FileName \`${fileName}\``);
40
+ }
41
+ }
29
42
  function Assay_tryIdentifierFromFileName(fileName) {
30
43
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(assays(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.assay.xlsx)?$", fileName);
31
44
  if (activePatternResult != null) {
@@ -39,10 +52,33 @@ function Assay_fileNameFromIdentifier(identifier) {
39
52
  checkValidCharacters(identifier);
40
53
  return combineMany(["assays", identifier, "isa.assay.xlsx"]);
41
54
  }
55
+ function Assay_tryFileNameFromIdentifier(identifier) {
56
+ if (tryCheckValidCharacters(identifier)) {
57
+ return combineMany(["assays", identifier, "isa.assay.xlsx"]);
58
+ } else {
59
+ return void 0;
60
+ }
61
+ }
42
62
  function Assay_datamapFileNameFromIdentifier(identifier) {
43
63
  checkValidCharacters(identifier);
44
64
  return combineMany(["assays", identifier, "isa.datamap.xlsx"]);
45
65
  }
66
+ function Assay_tryDatamapFileNameFromIdentifier(identifier) {
67
+ if (tryCheckValidCharacters(identifier)) {
68
+ return combineMany(["assays", identifier, "isa.datamap.xlsx"]);
69
+ } else {
70
+ return void 0;
71
+ }
72
+ }
73
+ function Study_identifierFromFileName(fileName) {
74
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(studies(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.study.xlsx)?$", fileName);
75
+ if (activePatternResult != null) {
76
+ const m = value(activePatternResult);
77
+ return m.groups && m.groups.identifier || "";
78
+ } else {
79
+ throw new Error(`Cannot parse study identifier from FileName \`${fileName}\``);
80
+ }
81
+ }
46
82
  function Study_tryIdentifierFromFileName(fileName) {
47
83
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(studies(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.study.xlsx)?$", fileName);
48
84
  if (activePatternResult != null) {
@@ -67,6 +103,22 @@ function Study_datamapFileNameFromIdentifier(identifier) {
67
103
  checkValidCharacters(identifier);
68
104
  return combineMany(["studies", identifier, "isa.datamap.xlsx"]);
69
105
  }
106
+ function Study_tryDatamapFileNameFromIdentifier(identifier) {
107
+ if (tryCheckValidCharacters(identifier)) {
108
+ return combineMany(["studies", identifier, "isa.datamap.xlsx"]);
109
+ } else {
110
+ return void 0;
111
+ }
112
+ }
113
+ function Workflow_identifierFromFileName(fileName) {
114
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(workflows(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.workflow.xlsx)?$", fileName);
115
+ if (activePatternResult != null) {
116
+ const m = value(activePatternResult);
117
+ return m.groups && m.groups.identifier || "";
118
+ } else {
119
+ throw new Error(`Cannot parse workflow identifier from FileName \`${fileName}\``);
120
+ }
121
+ }
70
122
  function Workflow_tryIdentifierFromFileName(fileName) {
71
123
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(workflows(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.workflow.xlsx)?$", fileName);
72
124
  if (activePatternResult != null) {
@@ -80,17 +132,63 @@ function Workflow_fileNameFromIdentifier(identifier) {
80
132
  checkValidCharacters(identifier);
81
133
  return combineMany(["workflows", identifier, "isa.workflow.xlsx"]);
82
134
  }
135
+ function Workflow_tryFileNameFromIdentifier(identifier) {
136
+ if (tryCheckValidCharacters(identifier)) {
137
+ return combineMany(["workflows", identifier, "isa.workflow.xlsx"]);
138
+ } else {
139
+ return void 0;
140
+ }
141
+ }
83
142
  function Workflow_datamapFileNameFromIdentifier(identifier) {
84
143
  checkValidCharacters(identifier);
85
144
  return combineMany(["workflows", identifier, "isa.datamap.xlsx"]);
86
145
  }
146
+ function Workflow_tryDatamapFileNameFromIdentifier(identifier) {
147
+ if (tryCheckValidCharacters(identifier)) {
148
+ return combineMany(["workflows", identifier, "isa.datamap.xlsx"]);
149
+ } else {
150
+ return void 0;
151
+ }
152
+ }
153
+ function Run_identifierFromFileName(fileName) {
154
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(runs(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.run.xlsx)?$", fileName);
155
+ if (activePatternResult != null) {
156
+ const m = value(activePatternResult);
157
+ return m.groups && m.groups.identifier || "";
158
+ } else {
159
+ throw new Error(`Cannot parse run identifier from FileName \`${fileName}\``);
160
+ }
161
+ }
162
+ function Run_tryIdentifierFromFileName(fileName) {
163
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^(runs(\\/|\\\\))?(?<identifier>[a-zA-Z0-9_\\- ]+)((\\/|\\\\)isa.run.xlsx)?$", fileName);
164
+ if (activePatternResult != null) {
165
+ const m = value(activePatternResult);
166
+ return m.groups && m.groups.identifier || "";
167
+ } else {
168
+ return void 0;
169
+ }
170
+ }
87
171
  function Run_fileNameFromIdentifier(identifier) {
88
172
  checkValidCharacters(identifier);
89
173
  return combineMany(["runs", identifier, "isa.run.xlsx"]);
90
174
  }
175
+ function Run_tryFileNameFromIdentifier(identifier) {
176
+ if (tryCheckValidCharacters(identifier)) {
177
+ return combineMany(["runs", identifier, "isa.run.xlsx"]);
178
+ } else {
179
+ return void 0;
180
+ }
181
+ }
91
182
  function Run_datamapFileNameFromIdentifier(identifier) {
92
183
  checkValidCharacters(identifier);
93
184
  return combineMany(["runs", identifier, "isa.datamap.xlsx"]);
94
185
  }
186
+ function Run_tryDatamapFileNameFromIdentifier(identifier) {
187
+ if (tryCheckValidCharacters(identifier)) {
188
+ return combineMany(["runs", identifier, "isa.datamap.xlsx"]);
189
+ } else {
190
+ return void 0;
191
+ }
192
+ }
95
193
 
96
- export { Assay_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Assay_tryIdentifierFromFileName, Run_datamapFileNameFromIdentifier, Run_fileNameFromIdentifier, Study_datamapFileNameFromIdentifier, Study_fileNameFromIdentifier, Study_tryFileNameFromIdentifier, Study_tryIdentifierFromFileName, Workflow_datamapFileNameFromIdentifier, Workflow_fileNameFromIdentifier, Workflow_tryIdentifierFromFileName, checkValidCharacters, createMissingIdentifier, removeMissingIdentifier, tryCheckValidCharacters };
194
+ export { Assay_datamapFileNameFromIdentifier, Assay_fileNameFromIdentifier, Assay_identifierFromFileName, Assay_tryDatamapFileNameFromIdentifier, Assay_tryFileNameFromIdentifier, Assay_tryIdentifierFromFileName, Run_datamapFileNameFromIdentifier, Run_fileNameFromIdentifier, Run_identifierFromFileName, Run_tryDatamapFileNameFromIdentifier, Run_tryFileNameFromIdentifier, Run_tryIdentifierFromFileName, Study_datamapFileNameFromIdentifier, Study_fileNameFromIdentifier, Study_identifierFromFileName, Study_tryDatamapFileNameFromIdentifier, Study_tryFileNameFromIdentifier, Study_tryIdentifierFromFileName, Workflow_datamapFileNameFromIdentifier, Workflow_fileNameFromIdentifier, Workflow_identifierFromFileName, Workflow_tryDatamapFileNameFromIdentifier, Workflow_tryFileNameFromIdentifier, Workflow_tryIdentifierFromFileName, checkValidCharacters, createMissingIdentifier, isMissingIdentifier, removeMissingIdentifier, tryCheckValidCharacters };
@@ -1,9 +1,11 @@
1
1
  import { match, create } from '../../../node_modules/@fable-org/fable-library-js/RegExp.js';
2
- import { value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
2
+ import { value, map } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
+ import { parse } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
3
4
 
4
5
  function Pattern_handleGroupPatterns(pattern) {
5
6
  return pattern;
6
7
  }
8
+ const Pattern_ExcelNumberFormat = `"(?<${"numberFormat"}>(.*?))"`;
7
9
  const Pattern_TermAnnotationShortPattern = `(?<${"idspace"}>\\w+?):(?<${"localid"}>\\w+)`;
8
10
  const Pattern_TermAnnotationURIPattern = `http://purl.obolibrary.org/obo/(?<${"idspace"}>\\w+?)_(?<${"localid"}>\\w+)`;
9
11
  const Pattern_TermAnnotationURIPattern_lessRestrictive = `.*\\/(?<${"idspace"}>\\w+?)[:_](?<${"localid"}>\\w+)`;
@@ -20,6 +22,17 @@ function ActivePatterns_$007CRegex$007C_$007C(pattern, input) {
20
22
  return void 0;
21
23
  }
22
24
  }
25
+ function ActivePatterns_$007CReferenceColumnHeader$007C_$007C(input) {
26
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(Term Source REF|Term Accession Number)\\s*\\((?<id>.*)\\)", input);
27
+ if (activePatternResult != null) {
28
+ const r = value(activePatternResult);
29
+ return {
30
+ Annotation: r.groups && r.groups.id || ""
31
+ };
32
+ } else {
33
+ return void 0;
34
+ }
35
+ }
23
36
  function ActivePatterns_$007CTermColumn$007C_$007C(input) {
24
37
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(?<termcolumntype>.+?)\\s*\\[(?<termname>.+)\\]", input);
25
38
  if (activePatternResult != null) {
@@ -106,6 +119,18 @@ function ActivePatterns_$007CComponentColumnHeader$007C_$007C(input) {
106
119
  return void 0;
107
120
  }
108
121
  }
122
+ function ActivePatterns_$007CTermAnnotationShort$007C_$007C(input) {
123
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, input);
124
+ if (activePatternResult != null) {
125
+ const value$1 = value(activePatternResult);
126
+ return {
127
+ IDSpace: value$1.groups && value$1.groups.idspace || "",
128
+ LocalID: value$1.groups && value$1.groups.localid || ""
129
+ };
130
+ } else {
131
+ return void 0;
132
+ }
133
+ }
109
134
  function ActivePatterns_$007CTermAnnotation$007C_$007C(input) {
110
135
  let matchResult, value$1;
111
136
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, input);
@@ -199,6 +224,15 @@ function ActivePatterns_$007COutputColumnHeader$007C_$007C(input) {
199
224
  return void 0;
200
225
  }
201
226
  }
227
+ function ActivePatterns_$007CAutoGeneratedTableName$007C_$007C(input) {
228
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^New\\sTable\\s(?<number>\\d+)$", input);
229
+ if (activePatternResult != null) {
230
+ const r = value(activePatternResult);
231
+ return parse(r.groups && r.groups.number || "", 511, false, 32);
232
+ } else {
233
+ return void 0;
234
+ }
235
+ }
202
236
  function ActivePatterns_$007CComment$007C_$007C(input) {
203
237
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_CommentPattern, input);
204
238
  if (activePatternResult != null) {
@@ -208,6 +242,29 @@ function ActivePatterns_$007CComment$007C_$007C(input) {
208
242
  return void 0;
209
243
  }
210
244
  }
245
+ function tryParseReferenceColumnHeader(str) {
246
+ const matchValue = str.trim();
247
+ const activePatternResult = ActivePatterns_$007CReferenceColumnHeader$007C_$007C(matchValue);
248
+ if (activePatternResult != null) {
249
+ const v = value(activePatternResult);
250
+ return v;
251
+ } else {
252
+ return void 0;
253
+ }
254
+ }
255
+ function tryParseTermAnnotationShort(str) {
256
+ const matchValue = str.trim();
257
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, matchValue);
258
+ if (activePatternResult != null) {
259
+ const value$1 = value(activePatternResult);
260
+ return {
261
+ IDSpace: value$1.groups && value$1.groups.idspace || "",
262
+ LocalID: value$1.groups && value$1.groups.localid || ""
263
+ };
264
+ } else {
265
+ return void 0;
266
+ }
267
+ }
211
268
  function tryParseTermAnnotation(str) {
212
269
  const matchValue = str.trim();
213
270
  let matchResult, value$1;
@@ -246,6 +303,27 @@ function tryParseTermAnnotation(str) {
246
303
  return void 0;
247
304
  }
248
305
  }
306
+ function tryGetTermAnnotationShortString(str) {
307
+ return map((r) => r.IDSpace + ":" + r.LocalID, tryParseTermAnnotation(str));
308
+ }
309
+ function getTermAnnotationShortString(str) {
310
+ const matchValue = tryGetTermAnnotationShortString(str);
311
+ if (matchValue == null) {
312
+ throw new Error(`Unable to parse '${str}' to term accession.`);
313
+ } else {
314
+ return value(matchValue);
315
+ }
316
+ }
317
+ function tryParseExcelNumberFormat(headerStr) {
318
+ const matchValue = headerStr.trim();
319
+ const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_ExcelNumberFormat, matchValue);
320
+ if (activePatternResult != null) {
321
+ const value$1 = value(activePatternResult);
322
+ return value$1.groups && value$1.groups.numberFormat || "";
323
+ } else {
324
+ return void 0;
325
+ }
326
+ }
249
327
  function tryParseIOTypeHeader(headerStr) {
250
328
  const matchValue = headerStr.trim();
251
329
  const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_IOTypePattern, matchValue);
@@ -256,6 +334,24 @@ function tryParseIOTypeHeader(headerStr) {
256
334
  return void 0;
257
335
  }
258
336
  }
337
+ function tryParseTermColumn(input) {
338
+ const activePatternResult = ActivePatterns_$007CTermColumn$007C_$007C(input);
339
+ if (activePatternResult != null) {
340
+ const r = value(activePatternResult);
341
+ return r;
342
+ } else {
343
+ return void 0;
344
+ }
345
+ }
346
+ function tryParseUnitColumnHeader(input) {
347
+ const activePatternResult = ActivePatterns_$007CUnitColumnHeader$007C_$007C(input);
348
+ if (activePatternResult != null) {
349
+ const r = value(activePatternResult);
350
+ return r;
351
+ } else {
352
+ return void 0;
353
+ }
354
+ }
259
355
  function tryParseParameterColumnHeader(input) {
260
356
  const activePatternResult = ActivePatterns_$007CParameterColumnHeader$007C_$007C(input);
261
357
  if (activePatternResult != null) {
@@ -292,5 +388,41 @@ function tryParseComponentColumnHeader(input) {
292
388
  return void 0;
293
389
  }
294
390
  }
391
+ function tryParseTSRColumnHeader(input) {
392
+ const activePatternResult = ActivePatterns_$007CTSRColumnHeader$007C_$007C(input);
393
+ if (activePatternResult != null) {
394
+ const r = value(activePatternResult);
395
+ return r;
396
+ } else {
397
+ return void 0;
398
+ }
399
+ }
400
+ function tryParseTANColumnHeader(input) {
401
+ const activePatternResult = ActivePatterns_$007CTANColumnHeader$007C_$007C(input);
402
+ if (activePatternResult != null) {
403
+ const r = value(activePatternResult);
404
+ return r;
405
+ } else {
406
+ return void 0;
407
+ }
408
+ }
409
+ function tryParseInputColumnHeader(input) {
410
+ const activePatternResult = ActivePatterns_$007CInputColumnHeader$007C_$007C(input);
411
+ if (activePatternResult != null) {
412
+ const r = value(activePatternResult);
413
+ return r;
414
+ } else {
415
+ return void 0;
416
+ }
417
+ }
418
+ function tryParseOutputColumnHeader(input) {
419
+ const activePatternResult = ActivePatterns_$007COutputColumnHeader$007C_$007C(input);
420
+ if (activePatternResult != null) {
421
+ const r = value(activePatternResult);
422
+ return r;
423
+ } else {
424
+ return void 0;
425
+ }
426
+ }
295
427
 
296
- export { ActivePatterns_$007CCharacteristicColumnHeader$007C_$007C, ActivePatterns_$007CComment$007C_$007C, ActivePatterns_$007CComponentColumnHeader$007C_$007C, ActivePatterns_$007CFactorColumnHeader$007C_$007C, ActivePatterns_$007CInputColumnHeader$007C_$007C, ActivePatterns_$007COutputColumnHeader$007C_$007C, ActivePatterns_$007CParameterColumnHeader$007C_$007C, ActivePatterns_$007CRegex$007C_$007C, ActivePatterns_$007CTANColumnHeader$007C_$007C, ActivePatterns_$007CTSRColumnHeader$007C_$007C, ActivePatterns_$007CTermAnnotation$007C_$007C, ActivePatterns_$007CTermColumn$007C_$007C, ActivePatterns_$007CUnitColumnHeader$007C_$007C, Pattern_CommentPattern, Pattern_IOTypePattern, Pattern_InputPattern, Pattern_OutputPattern, Pattern_TermAnnotationShortPattern, Pattern_TermAnnotationURIPattern, Pattern_TermAnnotationURIPattern_MS_RO_PO, Pattern_TermAnnotationURIPattern_lessRestrictive, Pattern_handleGroupPatterns, tryParseCharacteristicColumnHeader, tryParseComponentColumnHeader, tryParseFactorColumnHeader, tryParseIOTypeHeader, tryParseParameterColumnHeader, tryParseTermAnnotation };
428
+ export { ActivePatterns_$007CAutoGeneratedTableName$007C_$007C, ActivePatterns_$007CCharacteristicColumnHeader$007C_$007C, ActivePatterns_$007CComment$007C_$007C, ActivePatterns_$007CComponentColumnHeader$007C_$007C, ActivePatterns_$007CFactorColumnHeader$007C_$007C, ActivePatterns_$007CInputColumnHeader$007C_$007C, ActivePatterns_$007COutputColumnHeader$007C_$007C, ActivePatterns_$007CParameterColumnHeader$007C_$007C, ActivePatterns_$007CReferenceColumnHeader$007C_$007C, ActivePatterns_$007CRegex$007C_$007C, ActivePatterns_$007CTANColumnHeader$007C_$007C, ActivePatterns_$007CTSRColumnHeader$007C_$007C, ActivePatterns_$007CTermAnnotation$007C_$007C, ActivePatterns_$007CTermAnnotationShort$007C_$007C, ActivePatterns_$007CTermColumn$007C_$007C, ActivePatterns_$007CUnitColumnHeader$007C_$007C, Pattern_CommentPattern, Pattern_ExcelNumberFormat, Pattern_IOTypePattern, Pattern_InputPattern, Pattern_OutputPattern, Pattern_TermAnnotationShortPattern, Pattern_TermAnnotationURIPattern, Pattern_TermAnnotationURIPattern_MS_RO_PO, Pattern_TermAnnotationURIPattern_lessRestrictive, Pattern_handleGroupPatterns, getTermAnnotationShortString, tryGetTermAnnotationShortString, tryParseCharacteristicColumnHeader, tryParseComponentColumnHeader, tryParseExcelNumberFormat, tryParseFactorColumnHeader, tryParseIOTypeHeader, tryParseInputColumnHeader, tryParseOutputColumnHeader, tryParseParameterColumnHeader, tryParseReferenceColumnHeader, tryParseTANColumnHeader, tryParseTSRColumnHeader, tryParseTermAnnotation, tryParseTermAnnotationShort, tryParseTermColumn, tryParseUnitColumnHeader };
@@ -1,7 +1,10 @@
1
- import { Record } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
1
+ import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
2
  import { parse } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
3
3
  import { value, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
+ import { record_type, int32_type, option_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
4
5
  import { ActivePatterns_$007CRegex$007C_$007C } from './Regex.js';
6
+ import { StringBuilder_$ctor, StringBuilder__Append_Z721C83C5 } from '../../../node_modules/@fable-org/fable-library-js/System.Text.js';
7
+ import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
5
8
 
6
9
  const SemVerAux_Pattern = "^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<pre>[0-9A-Za-z-\\.]+))?(\\+(?<build>[0-9A-Za-z-\\.]+))?$";
7
10
  class SemVer extends Record {
@@ -14,6 +17,12 @@ class SemVer extends Record {
14
17
  this.Metadata = Metadata;
15
18
  }
16
19
  }
20
+ function SemVer_$reflection() {
21
+ return record_type("ARCtrl.Helper.SemVer.SemVer", [], SemVer, () => [["Major", int32_type], ["Minor", int32_type], ["Patch", int32_type], ["PreRelease", option_type(string_type)], ["Metadata", option_type(string_type)]]);
22
+ }
23
+ function SemVer_make(major, minor, patch, pre, meta) {
24
+ return new SemVer(major, minor, patch, pre, meta);
25
+ }
17
26
  function SemVer_create_Z55658624(major, minor, patch, pre, meta) {
18
27
  return new SemVer(major, minor, patch, pre, meta);
19
28
  }
@@ -27,5 +36,17 @@ function SemVer_tryOfString_Z721C83C5(str) {
27
36
  return void 0;
28
37
  }
29
38
  }
39
+ function SemVer__AsString(this$) {
40
+ let arg_3, arg_4;
41
+ const sb = StringBuilder_$ctor();
42
+ StringBuilder__Append_Z721C83C5(sb, toText(printf("%i.%i.%i"))(this$.Major)(this$.Minor)(this$.Patch));
43
+ if (this$.PreRelease != null) {
44
+ StringBuilder__Append_Z721C83C5(sb, (arg_3 = value(this$.PreRelease), toText(printf("-%s"))(arg_3)));
45
+ }
46
+ if (this$.Metadata != null) {
47
+ StringBuilder__Append_Z721C83C5(sb, (arg_4 = value(this$.Metadata), toText(printf("+%s"))(arg_4)));
48
+ }
49
+ return toString(sb);
50
+ }
30
51
 
31
- export { SemVer, SemVerAux_Pattern, SemVer_create_Z55658624, SemVer_tryOfString_Z721C83C5 };
52
+ export { SemVer, SemVerAux_Pattern, SemVer_$reflection, SemVer__AsString, SemVer_create_Z55658624, SemVer_make, SemVer_tryOfString_Z721C83C5 };
@@ -1,11 +1,35 @@
1
1
  import { checkValidCharacters } from './Helper/Identifier.js';
2
- import './DataMap.js';
3
- import './Helper/Url.js';
2
+ import { ArcWorkflow__set_Identifier_Z721C83C5 } from './ArcTypes.js';
4
3
 
4
+ function setArcTableName(newName, table) {
5
+ checkValidCharacters(newName);
6
+ table.Name = newName;
7
+ return table;
8
+ }
9
+ function setAssayIdentifier(newIdentifier, assay) {
10
+ checkValidCharacters(newIdentifier);
11
+ assay.Identifier = newIdentifier;
12
+ return assay;
13
+ }
14
+ function setStudyIdentifier(newIdentifier, study) {
15
+ checkValidCharacters(newIdentifier);
16
+ study.Identifier = newIdentifier;
17
+ return study;
18
+ }
19
+ function setWorkflowIdentifier(newIdentifier, workflow) {
20
+ checkValidCharacters(newIdentifier);
21
+ ArcWorkflow__set_Identifier_Z721C83C5(workflow, newIdentifier);
22
+ return workflow;
23
+ }
24
+ function setRunIdentifier(newIdentifier, run) {
25
+ checkValidCharacters(newIdentifier);
26
+ run.Identifier = newIdentifier;
27
+ return run;
28
+ }
5
29
  function setInvestigationIdentifier(newIdentifier, investigation) {
6
30
  checkValidCharacters(newIdentifier);
7
31
  investigation.Identifier = newIdentifier;
8
32
  return investigation;
9
33
  }
10
34
 
11
- export { setInvestigationIdentifier };
35
+ export { setArcTableName, setAssayIdentifier, setInvestigationIdentifier, setRunIdentifier, setStudyIdentifier, setWorkflowIdentifier };
@@ -203,5 +203,8 @@ class OntologyAnnotation {
203
203
  function OntologyAnnotation_$reflection() {
204
204
  return class_type("ARCtrl.OntologyAnnotation", void 0, OntologyAnnotation);
205
205
  }
206
+ function OntologyAnnotation_$ctor_Z54349580(name, tsr, tan, comments) {
207
+ return new OntologyAnnotation(name, tsr, tan, comments);
208
+ }
206
209
 
207
- export { OntologyAnnotation, OntologyAnnotation_$reflection };
210
+ export { OntologyAnnotation, OntologyAnnotation_$ctor_Z54349580, OntologyAnnotation_$reflection };