@nfdi4plants/arctrl 1.2.0 → 2.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/ARC.js +53 -35
  2. package/{Contracts/Contracts.ARCtrl.js → Contract/ARC.js} +4 -2
  3. package/Contract/ArcAssay.js +102 -0
  4. package/Contract/ArcInvestigation.js +78 -0
  5. package/Contract/ArcStudy.js +102 -0
  6. package/Contract/Contract.js +3 -3
  7. package/{Contracts/Contracts.Git.js → Contract/Git.js} +5 -5
  8. package/{ISA/ISA/ArcTypes → Core}/ArcTypes.js +307 -295
  9. package/Core/Comment.js +97 -0
  10. package/{ISA/ISA/JsonTypes → Core}/CommentList.js +12 -18
  11. package/Core/Conversion.js +1056 -0
  12. package/Core/Helper/Collections.js +318 -0
  13. package/Core/Helper/HashCodes.js +39 -0
  14. package/{ISA/ISA → Core/Helper}/Identifier.js +67 -2
  15. package/{ISA/ISA → Core/Helper}/Regex.js +3 -3
  16. package/{SemVer.js → Core/Helper/SemVer.js} +8 -8
  17. package/{ISA/ISA/ArcTypes → Core}/IdentifierSetters.js +1 -1
  18. package/Core/OntologyAnnotation.js +186 -0
  19. package/Core/OntologySourceReference.js +92 -0
  20. package/Core/Person.js +194 -0
  21. package/Core/Process/ColumnIndex.js +248 -0
  22. package/Core/Process/Component.js +188 -0
  23. package/{ISA/ISA/JsonTypes → Core/Process}/Data.js +8 -8
  24. package/{ISA/ISA/JsonTypes → Core/Process}/DataFile.js +3 -3
  25. package/Core/Process/Factor.js +109 -0
  26. package/{ISA/ISA/JsonTypes → Core/Process}/FactorValue.js +32 -13
  27. package/{ISA/ISA/JsonTypes → Core/Process}/Material.js +9 -9
  28. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttribute.js +17 -17
  29. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttributeValue.js +35 -16
  30. package/{ISA/ISA/JsonTypes → Core/Process}/MaterialType.js +3 -3
  31. package/{ISA/ISA/JsonTypes → Core/Process}/Process.js +46 -79
  32. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessInput.js +42 -42
  33. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessOutput.js +36 -36
  34. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessParameterValue.js +26 -7
  35. package/{ISA/ISA/JsonTypes → Core/Process}/ProcessSequence.js +21 -25
  36. package/{ISA/ISA/JsonTypes → Core/Process}/Protocol.js +26 -57
  37. package/{ISA/ISA/JsonTypes → Core/Process}/ProtocolParameter.js +10 -10
  38. package/{ISA/ISA/JsonTypes → Core/Process}/Sample.js +12 -12
  39. package/{ISA/ISA/JsonTypes → Core/Process}/Source.js +9 -9
  40. package/{ISA/ISA/JsonTypes → Core/Process}/Value.js +13 -13
  41. package/Core/Publication.js +116 -0
  42. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTable.js +43 -149
  43. package/Core/Table/ArcTableAux.js +532 -0
  44. package/{ISA/ISA/ArcTypes → Core/Table}/ArcTables.js +20 -32
  45. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeCell.js +19 -76
  46. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeColumn.js +6 -6
  47. package/{ISA/ISA/ArcTypes → Core/Table}/CompositeHeader.js +14 -34
  48. package/{Templates → Core}/Template.js +16 -17
  49. package/Core/Templates.js +84 -0
  50. package/FileSystem/Commit.js +2 -2
  51. package/FileSystem/FileSystem.js +4 -4
  52. package/FileSystem/FileSystemTree.js +46 -8
  53. package/FileSystem/Path.js +10 -2
  54. package/Json/ARC.js +25 -0
  55. package/Json/Assay.js +202 -0
  56. package/Json/Comment.js +130 -0
  57. package/Json/ConverterOptions.js +18 -0
  58. package/Json/Decode.js +128 -0
  59. package/Json/Encode.js +45 -0
  60. package/Json/Investigation.js +220 -0
  61. package/Json/OntologyAnnotation.js +169 -0
  62. package/Json/OntologySourceReference.js +122 -0
  63. package/Json/Person.js +250 -0
  64. package/Json/Process/AssayMaterials.js +22 -0
  65. package/Json/Process/Component.js +79 -0
  66. package/Json/Process/Data.js +102 -0
  67. package/Json/Process/DataFile.js +81 -0
  68. package/Json/Process/Factor.js +48 -0
  69. package/Json/Process/FactorValue.js +53 -0
  70. package/Json/Process/Material.js +107 -0
  71. package/Json/Process/MaterialAttribute.js +45 -0
  72. package/Json/Process/MaterialAttributeValue.js +70 -0
  73. package/Json/Process/MaterialType.js +60 -0
  74. package/Json/Process/Process.js +107 -0
  75. package/Json/Process/ProcessInput.js +59 -0
  76. package/Json/Process/ProcessOutput.js +71 -0
  77. package/Json/Process/ProcessParameterValue.js +69 -0
  78. package/Json/Process/ProcessSequence.js +53 -0
  79. package/Json/Process/PropertyValue.js +82 -0
  80. package/Json/Process/Protocol.js +147 -0
  81. package/Json/Process/ProtocolParameter.js +45 -0
  82. package/Json/Process/Sample.js +134 -0
  83. package/Json/Process/Source.js +101 -0
  84. package/Json/Process/StudyMaterials.js +24 -0
  85. package/Json/Process/Value.js +42 -0
  86. package/Json/Publication.js +142 -0
  87. package/Json/StringTable.js +44 -0
  88. package/Json/Study.js +306 -0
  89. package/{ISA/ISA.Json/ArcTypes → Json/Table}/ArcTable.js +53 -49
  90. package/Json/Table/CellTable.js +40 -0
  91. package/Json/Table/CompositeCell.js +65 -0
  92. package/{ISA/ISA.Json/ArcTypes → Json/Table}/CompositeHeader.js +22 -19
  93. package/Json/Table/Compression.js +38 -0
  94. package/Json/Table/IOType.js +37 -0
  95. package/Json/Table/OATable.js +40 -0
  96. package/Json/Table/Templates.js +107 -0
  97. package/Json/context/rocrate/isa_assay_context.js +32 -0
  98. package/Json/context/rocrate/isa_comment_context.js +23 -0
  99. package/Json/context/rocrate/isa_component_context.js +24 -0
  100. package/Json/context/rocrate/isa_data_context.js +25 -0
  101. package/Json/context/rocrate/isa_factor_context.js +25 -0
  102. package/Json/context/rocrate/isa_factor_value_context.js +23 -0
  103. package/{ISA/ISA.Json → Json}/context/rocrate/isa_investigation_context.js +5 -5
  104. package/{ISA/ISA.Json → Json}/context/rocrate/isa_material_attribute_context.js +4 -4
  105. package/Json/context/rocrate/isa_material_attribute_value_context.js +23 -0
  106. package/Json/context/rocrate/isa_material_context.js +26 -0
  107. package/Json/context/rocrate/isa_ontology_annotation_context.js +23 -0
  108. package/Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
  109. package/Json/context/rocrate/isa_organization_context.js +22 -0
  110. package/Json/context/rocrate/isa_person_context.js +33 -0
  111. package/Json/context/rocrate/isa_process_context.js +29 -0
  112. package/Json/context/rocrate/isa_process_parameter_value_context.js +23 -0
  113. package/Json/context/rocrate/isa_protocol_context.js +28 -0
  114. package/{ISA/ISA.Json → Json}/context/rocrate/isa_protocol_parameter_context.js +4 -4
  115. package/Json/context/rocrate/isa_publication_context.js +25 -0
  116. package/Json/context/rocrate/isa_sample_context.js +24 -0
  117. package/Json/context/rocrate/isa_source_context.js +25 -0
  118. package/Json/context/rocrate/isa_study_context.js +40 -0
  119. package/Json/context/rocrate/property_value_context.js +4 -0
  120. package/Json/context/rocrate/rocrate_context.js +23 -0
  121. package/Json.js +193 -0
  122. package/README.md +33 -12
  123. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/ArcTable.js +12 -12
  124. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeCell.js +8 -7
  125. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeColumn.js +10 -10
  126. package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeHeader.js +10 -10
  127. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcAssay.js +11 -11
  128. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcInvestigation.js +34 -37
  129. package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcStudy.js +12 -12
  130. package/{ISA/ISA.Spreadsheet → Spreadsheet}/CollectionAux.js +7 -7
  131. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Assays.js +32 -32
  132. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Comment.js +5 -5
  133. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Contacts.js +28 -30
  134. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Conversions.js +22 -16
  135. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/DesignDescriptors.js +1 -1
  136. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Factors.js +23 -22
  137. package/Spreadsheet/Metadata/OntologyAnnotation.js +64 -0
  138. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/OntologySourceReference.js +22 -24
  139. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Protocols.js +17 -17
  140. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Publication.js +29 -31
  141. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/SparseTable.js +23 -22
  142. package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Study.js +38 -40
  143. package/{Templates/Template.Spreadsheet.js → Spreadsheet/Template.js} +31 -31
  144. package/Template.Web.js +27 -0
  145. package/WebRequest/WebRequest.Node.js +2 -2
  146. package/WebRequest/WebRequest.js +2 -2
  147. package/Xlsx.js +85 -0
  148. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
  149. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
  150. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  151. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  152. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js +14 -14
  153. package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
  154. package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
  155. package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
  156. package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
  157. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
  158. package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
  159. package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
  160. package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
  161. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
  162. package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
  163. package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
  164. package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
  165. package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
  166. package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
  167. package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
  168. package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
  169. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
  170. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +3 -3
  171. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
  172. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
  173. package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
  174. package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
  175. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
  176. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
  177. package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
  178. package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +19 -19
  179. package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +5 -5
  180. package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +2 -2
  181. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +1 -1
  182. package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +2 -2
  183. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.js +2 -2
  184. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/CHANGELOG.md +18 -0
  185. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.d.ts +9 -0
  186. package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.js +21 -0
  187. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.js +337 -40
  188. package/fable_modules/fable-library-js.4.16.0/MapUtil.d.ts +12 -0
  189. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MapUtil.js +15 -0
  190. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.d.ts +6 -3
  191. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.js +2 -13
  192. package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/package.json +1 -1
  193. package/fable_modules/project_cracked.json +1 -1
  194. package/index.js +14 -12
  195. package/package.json +1 -1
  196. package/Contracts/Contracts.ArcTypes.js +0 -268
  197. package/FileSystemTree.js +0 -51
  198. package/ISA/ISA/ArcTypes/ArcTableAux.js +0 -1155
  199. package/ISA/ISA/ArcTypes/CompositeRow.js +0 -111
  200. package/ISA/ISA/Builder/Types.js +0 -243
  201. package/ISA/ISA/Fable.js +0 -123
  202. package/ISA/ISA/Helper.js +0 -505
  203. package/ISA/ISA/JsonTypes/Assay.js +0 -620
  204. package/ISA/ISA/JsonTypes/AssayMaterials.js +0 -39
  205. package/ISA/ISA/JsonTypes/ColumnIndex.js +0 -246
  206. package/ISA/ISA/JsonTypes/Comment.js +0 -58
  207. package/ISA/ISA/JsonTypes/Component.js +0 -165
  208. package/ISA/ISA/JsonTypes/Factor.js +0 -128
  209. package/ISA/ISA/JsonTypes/Investigation.js +0 -204
  210. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +0 -196
  211. package/ISA/ISA/JsonTypes/OntologySourceReference.js +0 -85
  212. package/ISA/ISA/JsonTypes/Person.js +0 -152
  213. package/ISA/ISA/JsonTypes/Publication.js +0 -105
  214. package/ISA/ISA/JsonTypes/Study.js +0 -942
  215. package/ISA/ISA/JsonTypes/StudyMaterials.js +0 -45
  216. package/ISA/ISA/UIHelper.js +0 -19
  217. package/ISA/ISA.Json/ArcTypes/ArcAssay.js +0 -303
  218. package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +0 -122
  219. package/ISA/ISA.Json/ArcTypes/ArcStudy.js +0 -203
  220. package/ISA/ISA.Json/ArcTypes/CellTable.js +0 -40
  221. package/ISA/ISA.Json/ArcTypes/CompositeCell.js +0 -62
  222. package/ISA/ISA.Json/ArcTypes/IOType.js +0 -33
  223. package/ISA/ISA.Json/ArcTypes/OATable.js +0 -42
  224. package/ISA/ISA.Json/Assay.js +0 -129
  225. package/ISA/ISA.Json/Comment.js +0 -80
  226. package/ISA/ISA.Json/ConverterOptions.js +0 -51
  227. package/ISA/ISA.Json/Data.js +0 -253
  228. package/ISA/ISA.Json/Decode.js +0 -61
  229. package/ISA/ISA.Json/Factor.js +0 -194
  230. package/ISA/ISA.Json/GEncode.js +0 -40
  231. package/ISA/ISA.Json/Investigation.js +0 -89
  232. package/ISA/ISA.Json/Material.js +0 -232
  233. package/ISA/ISA.Json/Ontology.js +0 -200
  234. package/ISA/ISA.Json/Person.js +0 -186
  235. package/ISA/ISA.Json/Process.js +0 -305
  236. package/ISA/ISA.Json/Protocol.js +0 -281
  237. package/ISA/ISA.Json/Publication.js +0 -86
  238. package/ISA/ISA.Json/StringTable.js +0 -44
  239. package/ISA/ISA.Json/Study.js +0 -186
  240. package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +0 -34
  241. package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +0 -23
  242. package/ISA/ISA.Json/context/rocrate/isa_component_context.js +0 -24
  243. package/ISA/ISA.Json/context/rocrate/isa_data_context.js +0 -25
  244. package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +0 -25
  245. package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +0 -25
  246. package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +0 -25
  247. package/ISA/ISA.Json/context/rocrate/isa_material_context.js +0 -26
  248. package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +0 -25
  249. package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +0 -26
  250. package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +0 -22
  251. package/ISA/ISA.Json/context/rocrate/isa_person_context.js +0 -31
  252. package/ISA/ISA.Json/context/rocrate/isa_process_context.js +0 -31
  253. package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +0 -25
  254. package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +0 -30
  255. package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +0 -27
  256. package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +0 -26
  257. package/ISA/ISA.Json/context/rocrate/isa_source_context.js +0 -25
  258. package/ISA/ISA.Json/context/rocrate/isa_study_context.js +0 -42
  259. package/ISA/ISA.Json/context/rocrate/rocrate_context.js +0 -25
  260. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +0 -65
  261. package/Path.js +0 -10
  262. package/Templates/Template.Json.js +0 -90
  263. package/Templates/Template.Web.js +0 -27
  264. package/Templates/Templates.js +0 -82
  265. package/fable_modules/fable-library-js.4.13.0/MapUtil.d.ts +0 -10
  266. /package/{ISA/ISA/JsonTypes → Core}/URI.js +0 -0
  267. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.d.ts +0 -0
  268. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.js +0 -0
  269. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.d.ts +0 -0
  270. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.js +0 -0
  271. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.d.ts +0 -0
  272. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.js +0 -0
  273. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.d.ts +0 -0
  274. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.js +0 -0
  275. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.d.ts +0 -0
  276. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.js +0 -0
  277. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.d.ts +0 -0
  278. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.d.ts +0 -0
  279. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.js +0 -0
  280. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.d.ts +0 -0
  281. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.js +0 -0
  282. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.d.ts +0 -0
  283. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.d.ts +0 -0
  284. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.js +0 -0
  285. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.d.ts +0 -0
  286. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.js +0 -0
  287. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.d.ts +0 -0
  288. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.js +0 -0
  289. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.d.ts +0 -0
  290. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.js +0 -0
  291. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.d.ts +0 -0
  292. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.js +0 -0
  293. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.d.ts +0 -0
  294. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.js +0 -0
  295. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.d.ts +0 -0
  296. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.js +0 -0
  297. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  298. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.js +0 -0
  299. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.d.ts +0 -0
  300. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.js +0 -0
  301. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.d.ts +0 -0
  302. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.js +0 -0
  303. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.d.ts +0 -0
  304. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.js +0 -0
  305. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.d.ts +0 -0
  306. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.js +0 -0
  307. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.d.ts +0 -0
  308. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.js +0 -0
  309. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.d.ts +0 -0
  310. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.js +0 -0
  311. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.d.ts +0 -0
  312. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.js +0 -0
  313. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.d.ts +0 -0
  314. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.js +0 -0
  315. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.d.ts +0 -0
  316. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.js +0 -0
  317. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.d.ts +0 -0
  318. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.js +0 -0
  319. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.d.ts +0 -0
  320. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.js +0 -0
  321. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.d.ts +0 -0
  322. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.js +0 -0
  323. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.d.ts +0 -0
  324. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.js +0 -0
  325. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.d.ts +0 -0
  326. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.js +0 -0
  327. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/README.md +0 -0
  328. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.d.ts +0 -0
  329. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.js +0 -0
  330. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.d.ts +0 -0
  331. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.js +0 -0
  332. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.d.ts +0 -0
  333. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.js +0 -0
  334. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.d.ts +0 -0
  335. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.js +0 -0
  336. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.d.ts +0 -0
  337. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.js +0 -0
  338. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.d.ts +0 -0
  339. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.js +0 -0
  340. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.d.ts +0 -0
  341. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.js +0 -0
  342. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.d.ts +0 -0
  343. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.js +0 -0
  344. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.d.ts +0 -0
  345. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.js +0 -0
  346. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.d.ts +0 -0
  347. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.js +0 -0
  348. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.d.ts +0 -0
  349. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.js +0 -0
  350. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.d.ts +0 -0
  351. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.js +0 -0
  352. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.d.ts +0 -0
  353. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.js +0 -0
  354. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.d.ts +0 -0
  355. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.js +0 -0
  356. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.d.ts +0 -0
  357. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.js +0 -0
  358. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.d.ts +0 -0
  359. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.js +0 -0
  360. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.d.ts +0 -0
  361. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.js +0 -0
  362. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.d.ts +0 -0
  363. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.js +0 -0
  364. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/big.d.ts +0 -0
  365. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.d.ts +0 -0
  366. /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.js +0 -0
@@ -1,24 +1,25 @@
1
- import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, list_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { Comment$_$reflection } from "../../ISA/JsonTypes/Comment.js";
4
- import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
1
+ import { Record } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
2
+ import { record_type, list_type, string_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
+ import { Comment$_$reflection } from "../../Core/Comment.js";
4
+ import { ofSeq, append, reverse, cons, empty, map, ofArray } from "../../fable_modules/fable-library-js.4.16.0/List.js";
5
5
  import { Comment_toString, Comment_fromString } from "./Comment.js";
6
- import { SparseRowModule_fromValues, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
7
- import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../ISA/Identifier.js";
8
- import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
9
- import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
10
- import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
11
- import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
12
- import { Option_fromValueWithDefault } from "./Conversions.js";
13
- import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
14
- import { ArcStudy } from "../../ISA/ArcTypes/ArcTypes.js";
6
+ import { SparseRowModule_fromValues, SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
7
+ import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../Core/Helper/Identifier.js";
8
+ import { addToDict } from "../../fable_modules/fable-library-js.4.16.0/MapUtil.js";
9
+ import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
10
+ import { Option_fromValueWithDefault, ResizeArray_iter } from "../../Core/Helper/Collections.js";
11
+ import { List_distinct } from "../../fable_modules/fable-library-js.4.16.0/Seq2.js";
12
+ import { stringHash } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
13
+ import { ArcStudy } from "../../Core/ArcTypes.js";
15
14
  import { toRows as toRows_1, fromRows as fromRows_1 } from "./DesignDescriptors.js";
16
15
  import { toRows as toRows_2, fromRows as fromRows_2 } from "./Publication.js";
17
16
  import { toRows as toRows_3, fromRows as fromRows_3 } from "./Factors.js";
18
17
  import { toRows as toRows_4, fromRows as fromRows_4 } from "./Assays.js";
19
18
  import { toRows as toRows_5, fromRows as fromRows_5 } from "./Protocols.js";
20
19
  import { toRows as toRows_6, fromRows as fromRows_6 } from "./Contacts.js";
21
- import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library-js.4.13.0/Seq.js";
20
+ import { singleton, append as append_1, delay, collect } from "../../fable_modules/fable-library-js.4.16.0/Seq.js";
21
+ import { ARCtrl_ArcTable__ArcTable_GetProcesses, ARCtrl_ArcTable__ArcTable_GetProtocols } from "../../Core/Conversion.js";
22
+ import { getFactors } from "../../Core/Process/ProcessSequence.js";
22
23
 
23
24
  export class StudyInfo extends Record {
24
25
  constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, FileName, Comments) {
@@ -34,7 +35,7 @@ export class StudyInfo extends Record {
34
35
  }
35
36
 
36
37
  export function StudyInfo_$reflection() {
37
- return record_type("ARCtrl.ISA.Spreadsheet.Studies.StudyInfo", [], StudyInfo, () => [["Identifier", string_type], ["Title", string_type], ["Description", string_type], ["SubmissionDate", string_type], ["PublicReleaseDate", string_type], ["FileName", string_type], ["Comments", list_type(Comment$_$reflection())]]);
38
+ return record_type("ARCtrl.Spreadsheet.Studies.StudyInfo", [], StudyInfo, () => [["Identifier", string_type], ["Title", string_type], ["Description", string_type], ["SubmissionDate", string_type], ["PublicReleaseDate", string_type], ["FileName", string_type], ["Comments", list_type(Comment$_$reflection())]]);
38
39
  }
39
40
 
40
41
  export function StudyInfo_create(identifier, title, description, submissionDate, publicReleaseDate, fileName, comments) {
@@ -45,12 +46,12 @@ export function StudyInfo_get_Labels() {
45
46
  return ofArray(["Study Identifier", "Study Title", "Study Description", "Study Submission Date", "Study Public Release Date", "Study File Name"]);
46
47
  }
47
48
 
48
- export function StudyInfo_FromSparseTable_651559CC(matrix) {
49
+ export function StudyInfo_FromSparseTable_3ECCA699(matrix) {
49
50
  const comments = map((k) => Comment_fromString(k, SparseTable__TryGetValueDefault_5BAE6133(matrix, "", [k, 0])), matrix.CommentKeys);
50
51
  return StudyInfo_create(SparseTable__TryGetValueDefault_5BAE6133(matrix, createMissingIdentifier(), ["Study Identifier", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Title", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Description", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Submission Date", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Public Release Date", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study File Name", 0]), comments);
51
52
  }
52
53
 
53
- export function StudyInfo_ToSparseTable_1B3D5E9B(study) {
54
+ export function StudyInfo_ToSparseTable_1680536E(study) {
54
55
  const matrix = SparseTable_Create_Z2192E64B(void 0, StudyInfo_get_Labels(), void 0, 2);
55
56
  let commentKeys = empty();
56
57
  const patternInput = (study.Identifier.indexOf("MISSING_IDENTIFIER_") === 0) ? ["", ""] : [study.Identifier, Study_fileNameFromIdentifier(study.Identifier)];
@@ -60,15 +61,12 @@ export function StudyInfo_ToSparseTable_1B3D5E9B(study) {
60
61
  addToDict(matrix.Matrix, ["Study Submission Date", 1], defaultArg(study.SubmissionDate, ""));
61
62
  addToDict(matrix.Matrix, ["Study Public Release Date", 1], defaultArg(study.PublicReleaseDate, ""));
62
63
  addToDict(matrix.Matrix, ["Study File Name", 1], patternInput[1]);
63
- if (!(study.Comments.length === 0)) {
64
- const array = study.Comments;
65
- array.forEach((comment) => {
66
- const patternInput_1 = Comment_toString(comment);
67
- const n = patternInput_1[0];
68
- commentKeys = cons(n, commentKeys);
69
- addToDict(matrix.Matrix, [n, 1], patternInput_1[1]);
70
- });
71
- }
64
+ ResizeArray_iter((comment) => {
65
+ const patternInput_1 = Comment_toString(comment);
66
+ const n = patternInput_1[0];
67
+ commentKeys = cons(n, commentKeys);
68
+ addToDict(matrix.Matrix, [n, 1], patternInput_1[1]);
69
+ }, study.Comments);
72
70
  return new SparseTable(matrix.Matrix, matrix.Keys, reverse(List_distinct(commentKeys, {
73
71
  Equals: (x, y) => (x === y),
74
72
  GetHashCode: stringHash,
@@ -77,13 +75,16 @@ export function StudyInfo_ToSparseTable_1B3D5E9B(study) {
77
75
 
78
76
  export function StudyInfo_fromRows(lineNumber, rows) {
79
77
  const tupledArg = SparseTable_FromRows_Z5579EC29(rows, StudyInfo_get_Labels(), lineNumber);
80
- return [tupledArg[0], tupledArg[1], tupledArg[2], StudyInfo_FromSparseTable_651559CC(tupledArg[3])];
78
+ return [tupledArg[0], tupledArg[1], tupledArg[2], StudyInfo_FromSparseTable_3ECCA699(tupledArg[3])];
81
79
  }
82
80
 
83
- export function StudyInfo_toRows_1B3D5E9B(study) {
84
- return SparseTable_ToRows_6A3D4534(StudyInfo_ToSparseTable_1B3D5E9B(study));
81
+ export function StudyInfo_toRows_1680536E(study) {
82
+ return SparseTable_ToRows_759CAFC1(StudyInfo_ToSparseTable_1680536E(study));
85
83
  }
86
84
 
85
+ /**
86
+ * FACTORS AND PROTOCOLS ARE NOT USED ANYMORE, Lukas, 21.03.24
87
+ */
87
88
  export function fromParts(studyInfo, designDescriptors, publications, factors, assays, protocols, contacts) {
88
89
  const assayIdentifiers = map((assay) => assay.Identifier, assays);
89
90
  let arcstudy;
@@ -91,16 +92,12 @@ export function fromParts(studyInfo, designDescriptors, publications, factors, a
91
92
  const description = Option_fromValueWithDefault("", studyInfo.Description);
92
93
  const submissionDate = Option_fromValueWithDefault("", studyInfo.SubmissionDate);
93
94
  const publicReleaseDate = Option_fromValueWithDefault("", studyInfo.PublicReleaseDate);
94
- const publications_1 = toArray(publications);
95
- const contacts_1 = toArray(contacts);
96
- const studyDesignDescriptors = toArray(designDescriptors);
97
- let tables;
98
- const collection = map((p) => ArcTable.fromProtocol(p), protocols);
99
- tables = Array.from(collection);
95
+ const publications_1 = Array.from(publications);
96
+ const contacts_1 = Array.from(contacts);
97
+ const studyDesignDescriptors = Array.from(designDescriptors);
100
98
  const registeredAssayIdentifiers = Array.from(assayIdentifiers);
101
- const factors_1 = toArray(factors);
102
- const comments = toArray(studyInfo.Comments);
103
- arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors_1, comments);
99
+ const comments = Array.from(studyInfo.Comments);
100
+ arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, [], registeredAssayIdentifiers, comments);
104
101
  if (arcstudy.isEmpty && (arcstudy.Identifier === "")) {
105
102
  return void 0;
106
103
  }
@@ -253,8 +250,9 @@ export function fromRows(lineNumber, en) {
253
250
  }
254
251
 
255
252
  export function toRows(study, assays) {
256
- const protocols = ofSeq(collect((p) => p.GetProtocols(), study.Tables));
253
+ const protocols = ofSeq(collect(ARCtrl_ArcTable__ArcTable_GetProtocols, study.Tables));
254
+ const factors = ofSeq(collect((f) => getFactors(ARCtrl_ArcTable__ArcTable_GetProcesses(f)), study.Tables));
257
255
  const assays_1 = defaultArg(assays, ofSeq(study.GetRegisteredAssaysOrIdentifier()));
258
- return delay(() => append_1(StudyInfo_toRows_1B3D5E9B(study), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY DESIGN DESCRIPTORS"])), delay(() => append_1(toRows_1("Study Design", ofArray(study.StudyDesignDescriptors)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY PUBLICATIONS"])), delay(() => append_1(toRows_2("Study Publication", ofArray(study.Publications)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY FACTORS"])), delay(() => append_1(toRows_3("Study Factor", ofArray(study.Factors)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY ASSAYS"])), delay(() => append_1(toRows_4("Study Assay", assays_1), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY PROTOCOLS"])), delay(() => append_1(toRows_5("Study Protocol", protocols), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY CONTACTS"])), delay(() => toRows_6("Study Person", ofArray(study.Contacts)))))))))))))))))))))))))));
256
+ return delay(() => append_1(StudyInfo_toRows_1680536E(study), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY DESIGN DESCRIPTORS"])), delay(() => append_1(toRows_1("Study Design", ofSeq(study.StudyDesignDescriptors)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY PUBLICATIONS"])), delay(() => append_1(toRows_2("Study Publication", ofSeq(study.Publications)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY FACTORS"])), delay(() => append_1(toRows_3("Study Factor", factors), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY ASSAYS"])), delay(() => append_1(toRows_4("Study Assay", assays_1), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY PROTOCOLS"])), delay(() => append_1(toRows_5("Study Protocol", protocols), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY CONTACTS"])), delay(() => toRows_6("Study Person", ofSeq(study.Contacts)))))))))))))))))))))))))));
259
257
  }
260
258
 
@@ -1,23 +1,23 @@
1
- import { toString, Record, FSharpException } from "../fable_modules/fable-library-js.4.13.0/Types.js";
2
- import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library-js.4.13.0/Reflection.js";
3
- import { toArray as toArray_1, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library-js.4.13.0/List.js";
4
- import { toRows, fromRows, toSparseTable, fromSparseTable } from "../ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js";
5
- import { Comment$_$reflection } from "../ISA/ISA/JsonTypes/Comment.js";
6
- import { Comment_fromString } from "../ISA/ISA.Spreadsheet/Metadata/Comment.js";
7
- import { SparseRowModule_fromFsRow, SparseRowModule_writeToSheet, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "../ISA/ISA.Spreadsheet/Metadata/SparseTable.js";
8
- import { createMissingIdentifier } from "../ISA/ISA/Identifier.js";
9
- import { addToDict } from "../fable_modules/fable-library-js.4.13.0/MapUtil.js";
10
- import { List_distinct } from "../fable_modules/fable-library-js.4.13.0/Seq2.js";
11
- import { getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.13.0/Util.js";
12
- import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.13.0/Seq.js";
13
- import { Person } from "../ISA/ISA/JsonTypes/Person.js";
14
- import { toArray } from "../fable_modules/fable-library-js.4.13.0/Option.js";
15
- import { toRows as toRows_1, fromRows as fromRows_1 } from "../ISA/ISA.Spreadsheet/Metadata/Contacts.js";
16
- import { parse } from "../fable_modules/fable-library-js.4.13.0/Guid.js";
17
- import { Template, Organisation } from "./Template.js";
1
+ import { toString, Record, FSharpException } from "../fable_modules/fable-library-js.4.16.0/Types.js";
2
+ import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library-js.4.16.0/Reflection.js";
3
+ import { ofSeq, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library-js.4.16.0/List.js";
4
+ import { toRows, fromRows, toSparseTable, fromSparseTable } from "./Metadata/OntologyAnnotation.js";
5
+ import { Comment$_$reflection } from "../Core/Comment.js";
6
+ import { Comment_fromString } from "./Metadata/Comment.js";
7
+ import { SparseRowModule_fromFsRow, SparseRowModule_writeToSheet, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt, SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./Metadata/SparseTable.js";
8
+ import { createMissingIdentifier } from "../Core/Helper/Identifier.js";
9
+ import { addToDict } from "../fable_modules/fable-library-js.4.16.0/MapUtil.js";
10
+ import { List_distinct } from "../fable_modules/fable-library-js.4.16.0/Seq2.js";
11
+ import { getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.16.0/Util.js";
12
+ import { tryPick, iterateIndexed, toList, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.16.0/Seq.js";
13
+ import { Person_orcidKey } from "../Core/Conversion.js";
14
+ import { toArray } from "../fable_modules/fable-library-js.4.16.0/Option.js";
15
+ import { toRows as toRows_1, fromRows as fromRows_1 } from "./Metadata/Contacts.js";
16
+ import { parse } from "../fable_modules/fable-library-js.4.16.0/Guid.js";
17
+ import { Template, Organisation } from "../Core/Template.js";
18
18
  import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js";
19
- import { toFsWorksheet, tryFromFsWorksheet } from "../ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js";
20
- import { now } from "../fable_modules/fable-library-js.4.13.0/Date.js";
19
+ import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
20
+ import { now } from "../fable_modules/fable-library-js.4.16.0/Date.js";
21
21
  import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js";
22
22
 
23
23
  export class TemplateReadError extends FSharpException {
@@ -28,7 +28,7 @@ export class TemplateReadError extends FSharpException {
28
28
  }
29
29
 
30
30
  export function TemplateReadError_$reflection() {
31
- return class_type("ARCtrl.Template.Spreadsheet.TemplateReadError", void 0, TemplateReadError, class_type("System.Exception"));
31
+ return class_type("ARCtrl.Spreadsheet.TemplateReadError", void 0, TemplateReadError, class_type("System.Exception"));
32
32
  }
33
33
 
34
34
  export const Metadata_ER_labels = ofArray(["ER", "ER Term Accession Number", "ER Term Source REF"]);
@@ -83,7 +83,7 @@ export class Metadata_Template_TemplateInfo extends Record {
83
83
  }
84
84
 
85
85
  export function Metadata_Template_TemplateInfo_$reflection() {
86
- return record_type("ARCtrl.Template.Spreadsheet.Metadata.Template.TemplateInfo", [], Metadata_Template_TemplateInfo, () => [["Id", string_type], ["Name", string_type], ["Version", string_type], ["Description", string_type], ["Organisation", string_type], ["Table", string_type], ["Comments", list_type(Comment$_$reflection())]]);
86
+ return record_type("ARCtrl.Spreadsheet.Metadata.Template.TemplateInfo", [], Metadata_Template_TemplateInfo, () => [["Id", string_type], ["Name", string_type], ["Version", string_type], ["Description", string_type], ["Organisation", string_type], ["Table", string_type], ["Comments", list_type(Comment$_$reflection())]]);
87
87
  }
88
88
 
89
89
  export function Metadata_Template_TemplateInfo_create(id, name, version, description, organisation, table, comments) {
@@ -98,12 +98,12 @@ export function Metadata_Template_TemplateInfo_get_Labels() {
98
98
  return ofArray(["Id", "Name", "Version", "Description", "Organisation", "Table"]);
99
99
  }
100
100
 
101
- export function Metadata_Template_TemplateInfo_FromSparseTable_651559CC(matrix) {
101
+ export function Metadata_Template_TemplateInfo_FromSparseTable_3ECCA699(matrix) {
102
102
  const comments = map((k) => Comment_fromString(k, SparseTable__TryGetValueDefault_5BAE6133(matrix, "", [k, 0])), matrix.CommentKeys);
103
103
  return Metadata_Template_TemplateInfo_create(SparseTable__TryGetValueDefault_5BAE6133(matrix, createMissingIdentifier(), ["Id", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Name", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Version", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Description", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Organisation", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Table", 0]), comments);
104
104
  }
105
105
 
106
- export function Metadata_Template_TemplateInfo_ToSparseTable_2285DF3F(template) {
106
+ export function Metadata_Template_TemplateInfo_ToSparseTable_48C39BE1(template) {
107
107
  let copyOfStruct, copyOfStruct_1;
108
108
  const matrix = SparseTable_Create_Z2192E64B(void 0, Metadata_Template_TemplateInfo_get_Labels(), void 0, 2);
109
109
  let commentKeys = empty();
@@ -121,11 +121,11 @@ export function Metadata_Template_TemplateInfo_ToSparseTable_2285DF3F(template)
121
121
 
122
122
  export function Metadata_Template_TemplateInfo_fromRows_9F97F2A(rows) {
123
123
  const tupledArg = SparseTable_FromRows_Z5579EC29(rows, Metadata_Template_TemplateInfo_get_Labels(), 0);
124
- return [tupledArg[0], Metadata_Template_TemplateInfo_FromSparseTable_651559CC(tupledArg[3])];
124
+ return [tupledArg[0], Metadata_Template_TemplateInfo_FromSparseTable_3ECCA699(tupledArg[3])];
125
125
  }
126
126
 
127
- export function Metadata_Template_TemplateInfo_toRows_2285DF3F(template) {
128
- return SparseTable_ToRows_6A3D4534(Metadata_Template_TemplateInfo_ToSparseTable_2285DF3F(template));
127
+ export function Metadata_Template_TemplateInfo_toRows_48C39BE1(template) {
128
+ return SparseTable_ToRows_759CAFC1(Metadata_Template_TemplateInfo_ToSparseTable_48C39BE1(template));
129
129
  }
130
130
 
131
131
  export function Metadata_Template_mapDeprecatedKeys(rows) {
@@ -141,7 +141,7 @@ export function Metadata_Template_mapDeprecatedKeys(rows) {
141
141
  case "#TAGS list":
142
142
  return [k, "TAGS"];
143
143
  case "Authors ORCID":
144
- return [k, `Comment[${Person.orcidKey}]`];
144
+ return [k, `Comment[${Person_orcidKey}]`];
145
145
  case "Authors Last Name":
146
146
  return [k, "Author Last Name"];
147
147
  case "Authors First Name":
@@ -257,15 +257,15 @@ export function Metadata_Template_fromRows(rows) {
257
257
  }
258
258
 
259
259
  export function Metadata_Template_toRows(template) {
260
- return delay(() => append(singleton(SparseRowModule_fromValues(["TEMPLATE"])), delay(() => append(Metadata_Template_TemplateInfo_toRows_2285DF3F(template), delay(() => append(singleton(SparseRowModule_fromValues(["ERS"])), delay(() => append(Metadata_ER_toRows(void 0, ofArray(template.EndpointRepositories)), delay(() => append(singleton(SparseRowModule_fromValues(["TAGS"])), delay(() => append(Metadata_Tags_toRows(void 0, ofArray(template.Tags)), delay(() => append(singleton(SparseRowModule_fromValues(["AUTHORS"])), delay(() => toRows_1("Author", ofArray(template.Authors)))))))))))))))));
260
+ return delay(() => append(singleton(SparseRowModule_fromValues(["TEMPLATE"])), delay(() => append(Metadata_Template_TemplateInfo_toRows_48C39BE1(template), delay(() => append(singleton(SparseRowModule_fromValues(["ERS"])), delay(() => append(Metadata_ER_toRows(void 0, toList(template.EndpointRepositories)), delay(() => append(singleton(SparseRowModule_fromValues(["TAGS"])), delay(() => append(Metadata_Tags_toRows(void 0, toList(template.Tags)), delay(() => append(singleton(SparseRowModule_fromValues(["AUTHORS"])), delay(() => toRows_1("Author", ofSeq(template.Authors)))))))))))))))));
261
261
  }
262
262
 
263
263
  export function Template_fromParts(templateInfo, ers, tags, authors, table, lastUpdated) {
264
264
  const id = parse(templateInfo.Id);
265
265
  const organisation = Organisation.ofString(templateInfo.Organisation);
266
- const authors_1 = toArray_1(authors);
267
- const repos = toArray_1(ers);
268
- const tags_1 = toArray_1(tags);
266
+ const authors_1 = Array.from(authors);
267
+ const repos = Array.from(ers);
268
+ const tags_1 = Array.from(tags);
269
269
  return Template.make(id, table, templateInfo.Name, templateInfo.Description, organisation, templateInfo.Version, authors_1, repos, tags_1, lastUpdated);
270
270
  }
271
271
 
@@ -0,0 +1,27 @@
1
+ import { defaultArg } from "./fable_modules/fable-library-js.4.16.0/Option.js";
2
+ import { singleton } from "./fable_modules/fable-library-js.4.16.0/AsyncBuilder.js";
3
+ import { downloadFile } from "./WebRequest/WebRequest.js";
4
+ import { Templates_fromJsonString } from "./Json/Table/Templates.js";
5
+ import { startAsPromise } from "./fable_modules/fable-library-js.4.16.0/Async.js";
6
+ import { class_type } from "./fable_modules/fable-library-js.4.16.0/Reflection.js";
7
+
8
+ export function getTemplates(url) {
9
+ const url_1 = defaultArg(url, "https://github.com/nfdi4plants/Swate-templates/releases/download/latest/templates.json");
10
+ return singleton.Delay(() => singleton.Bind(downloadFile(url_1), (_arg) => {
11
+ const mapResult = Templates_fromJsonString(_arg);
12
+ return singleton.Return(mapResult);
13
+ }));
14
+ }
15
+
16
+ export class WebController {
17
+ constructor() {
18
+ }
19
+ static getTemplates(url) {
20
+ return startAsPromise(singleton.Delay(() => singleton.Bind(getTemplates(url), (_arg) => singleton.Return(_arg))));
21
+ }
22
+ }
23
+
24
+ export function WebController_$reflection() {
25
+ return class_type("ARCtrl.Template.Web.WebController", void 0, WebController);
26
+ }
27
+
@@ -1,6 +1,6 @@
1
- import { awaitPromise } from "../fable_modules/fable-library-js.4.13.0/Async.js";
1
+ import { awaitPromise } from "../fable_modules/fable-library-js.4.16.0/Async.js";
2
2
  import { fetch$ } from "../fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js";
3
- import { empty } from "../fable_modules/fable-library-js.4.13.0/List.js";
3
+ import { empty } from "../fable_modules/fable-library-js.4.16.0/List.js";
4
4
 
5
5
  export function isNode() {
6
6
  return typeof process !== "undefined" &&
@@ -1,7 +1,7 @@
1
1
  import { downloadFile as downloadFile_1, isNode } from "./WebRequest.Node.js";
2
- import { singleton } from "../fable_modules/fable-library-js.4.13.0/AsyncBuilder.js";
2
+ import { singleton } from "../fable_modules/fable-library-js.4.16.0/AsyncBuilder.js";
3
3
  import { Http_get } from "../fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js";
4
- import { printf, toFail } from "../fable_modules/fable-library-js.4.13.0/String.js";
4
+ import { printf, toFail } from "../fable_modules/fable-library-js.4.16.0/String.js";
5
5
  import "isomorphic-fetch";
6
6
 
7
7
  export function downloadFile(url) {
package/Xlsx.js ADDED
@@ -0,0 +1,85 @@
1
+ import { toFsWorkbook, fromFsWorkbook } from "./Spreadsheet/ArcAssay.js";
2
+ import { class_type } from "./fable_modules/fable-library-js.4.16.0/Reflection.js";
3
+ import { ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_353D0DB7, ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D } from "./Spreadsheet/ArcStudy.js";
4
+ import { map, unwrap } from "./fable_modules/fable-library-js.4.16.0/Option.js";
5
+ import { ofSeq } from "./fable_modules/fable-library-js.4.16.0/List.js";
6
+ import { toLightFsWorkbook, toFsWorkbook as toFsWorkbook_1, fromFsWorkbook as fromFsWorkbook_1 } from "./Spreadsheet/ArcInvestigation.js";
7
+
8
+ export class XlsxHelper_AssayXlsx {
9
+ constructor() {
10
+ }
11
+ fromFsWorkbook(fswb) {
12
+ return fromFsWorkbook(fswb);
13
+ }
14
+ toFsWorkbook(assay) {
15
+ return toFsWorkbook(assay);
16
+ }
17
+ }
18
+
19
+ export function XlsxHelper_AssayXlsx_$reflection() {
20
+ return class_type("ARCtrl.XlsxHelper.AssayXlsx", void 0, XlsxHelper_AssayXlsx);
21
+ }
22
+
23
+ export function XlsxHelper_AssayXlsx_$ctor() {
24
+ return new XlsxHelper_AssayXlsx();
25
+ }
26
+
27
+ export class XlsxHelper_StudyXlsx {
28
+ constructor() {
29
+ }
30
+ fromFsWorkbook(fswb) {
31
+ return ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D(fswb);
32
+ }
33
+ toFsWorkbook(study, assays) {
34
+ return ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_353D0DB7(study, unwrap(map(ofSeq, assays)));
35
+ }
36
+ }
37
+
38
+ export function XlsxHelper_StudyXlsx_$reflection() {
39
+ return class_type("ARCtrl.XlsxHelper.StudyXlsx", void 0, XlsxHelper_StudyXlsx);
40
+ }
41
+
42
+ export function XlsxHelper_StudyXlsx_$ctor() {
43
+ return new XlsxHelper_StudyXlsx();
44
+ }
45
+
46
+ export class XlsxHelper_InvestigationXlsx {
47
+ constructor() {
48
+ }
49
+ fromFsWorkbook(fswb) {
50
+ return fromFsWorkbook_1(fswb);
51
+ }
52
+ toFsWorkbook(investigation) {
53
+ return toFsWorkbook_1(investigation);
54
+ }
55
+ toLightFsWorkbook(investigation) {
56
+ return toLightFsWorkbook(investigation);
57
+ }
58
+ }
59
+
60
+ export function XlsxHelper_InvestigationXlsx_$reflection() {
61
+ return class_type("ARCtrl.XlsxHelper.InvestigationXlsx", void 0, XlsxHelper_InvestigationXlsx);
62
+ }
63
+
64
+ export function XlsxHelper_InvestigationXlsx_$ctor() {
65
+ return new XlsxHelper_InvestigationXlsx();
66
+ }
67
+
68
+ export class XlsxController {
69
+ constructor() {
70
+ }
71
+ static get Assay() {
72
+ return new XlsxHelper_AssayXlsx();
73
+ }
74
+ static get Study() {
75
+ return new XlsxHelper_StudyXlsx();
76
+ }
77
+ static get Investigation() {
78
+ return new XlsxHelper_InvestigationXlsx();
79
+ }
80
+ }
81
+
82
+ export function XlsxController_$reflection() {
83
+ return class_type("ARCtrl.XlsxController", void 0, XlsxController);
84
+ }
85
+
@@ -1,11 +1,11 @@
1
- import { Union } from "../fable-library-js.4.13.0/Types.js";
2
- import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library-js.4.13.0/Reflection.js";
3
- import { defaultArg } from "../fable-library-js.4.13.0/Option.js";
4
- import { empty } from "../fable-library-js.4.13.0/Seq.js";
5
- import { keyValueList } from "../fable-library-js.4.13.0/MapUtil.js";
6
- import { int32ToString } from "../fable-library-js.4.13.0/Util.js";
1
+ import { Union } from "../fable-library-js.4.16.0/Types.js";
2
+ import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library-js.4.16.0/Reflection.js";
3
+ import { defaultArg } from "../fable-library-js.4.16.0/Option.js";
4
+ import { empty } from "../fable-library-js.4.16.0/Seq.js";
5
+ import { keyValueList } from "../fable-library-js.4.16.0/MapUtil.js";
6
+ import { int32ToString } from "../fable-library-js.4.16.0/Util.js";
7
7
  import { result } from "../Fable.Promise.2.2.2/Promise.fs.js";
8
- import { singleton } from "../fable-library-js.4.13.0/List.js";
8
+ import { singleton } from "../fable-library-js.4.16.0/List.js";
9
9
 
10
10
  export class Types_HttpRequestHeaders extends Union {
11
11
  constructor(tag, fields) {
@@ -1,6 +1,6 @@
1
- import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library-js.4.13.0/Result.js";
2
- import { class_type } from "../fable-library-js.4.13.0/Reflection.js";
3
- import { defaultOf, equals, disposeSafe, getEnumerator } from "../fable-library-js.4.13.0/Util.js";
1
+ import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library-js.4.16.0/Result.js";
2
+ import { class_type } from "../fable-library-js.4.16.0/Reflection.js";
3
+ import { defaultOf, equals, disposeSafe, getEnumerator } from "../fable-library-js.4.16.0/Util.js";
4
4
 
5
5
  /**
6
6
  * Creates promise (in rejected state) with supplied reason.
@@ -1,12 +1,12 @@
1
- import { fromContinuations } from "../fable-library-js.4.13.0/Async.js";
1
+ import { fromContinuations } from "../fable-library-js.4.16.0/Async.js";
2
2
  import { HttpResponse, ResponseContent, HttpRequest, BodyContent, HttpMethod, Header } from "./Types.fs.js";
3
- import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.13.0/List.js";
4
- import { ofArray, empty as empty_1 } from "../fable-library-js.4.13.0/Map.js";
5
- import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.13.0/Util.js";
6
- import { join, split, isNullOrEmpty } from "../fable-library-js.4.13.0/String.js";
7
- import { choose } from "../fable-library-js.4.13.0/Array.js";
8
- import { some } from "../fable-library-js.4.13.0/Option.js";
9
- import { singleton as singleton_1 } from "../fable-library-js.4.13.0/AsyncBuilder.js";
3
+ import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.16.0/List.js";
4
+ import { ofArray, empty as empty_1 } from "../fable-library-js.4.16.0/Map.js";
5
+ import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.16.0/Util.js";
6
+ import { join, split, isNullOrEmpty } from "../fable-library-js.4.16.0/String.js";
7
+ import { choose } from "../fable-library-js.4.16.0/Array.js";
8
+ import { some } from "../fable-library-js.4.16.0/Option.js";
9
+ import { singleton as singleton_1 } from "../fable-library-js.4.16.0/AsyncBuilder.js";
10
10
 
11
11
  /**
12
12
  * Download a Blob
@@ -1,5 +1,5 @@
1
- import { Record, Union } from "../fable-library-js.4.13.0/Types.js";
2
- import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.13.0/Reflection.js";
1
+ import { Record, Union } from "../fable-library-js.4.16.0/Types.js";
2
+ import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.16.0/Reflection.js";
3
3
 
4
4
  export class HttpMethod extends Union {
5
5
  constructor(tag, fields) {
@@ -1,18 +1,18 @@
1
- import { toString, Union } from "../../fable-library-js.4.13.0/Types.js";
2
- import { class_type, union_type } from "../../fable-library-js.4.13.0/Reflection.js";
3
- import { map, defaultArg, unwrap } from "../../fable-library-js.4.13.0/Option.js";
1
+ import { toString, Union } from "../../fable-library-js.4.16.0/Types.js";
2
+ import { class_type, union_type } from "../../fable-library-js.4.16.0/Reflection.js";
3
+ import { map, defaultArg, unwrap } from "../../fable-library-js.4.16.0/Option.js";
4
4
  import { FsAddress__get_FixedRow, FsAddress__get_FixedColumn, FsAddress__get_Address, FsAddress__Copy, CellReference_indexToColAdress, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
5
- import { parse as parse_3 } from "../../fable-library-js.4.13.0/Decimal.js";
6
- import Decimal from "../../fable-library-js.4.13.0/Decimal.js";
7
- import { parse } from "../../fable-library-js.4.13.0/Double.js";
8
- import { parse as parse_1 } from "../../fable-library-js.4.13.0/Int32.js";
9
- import { toUInt64, toInt64 } from "../../fable-library-js.4.13.0/BigInt.js";
10
- import { parse as parse_2 } from "../../fable-library-js.4.13.0/Long.js";
11
- import { parse as parse_4 } from "../../fable-library-js.4.13.0/Date.js";
12
- import { parse as parse_5 } from "../../fable-library-js.4.13.0/Guid.js";
13
- import { parse as parse_6 } from "../../fable-library-js.4.13.0/Char.js";
14
- import { forAll } from "../../fable-library-js.4.13.0/Seq.js";
15
- import { equals } from "../../fable-library-js.4.13.0/Util.js";
5
+ import { parse as parse_3 } from "../../fable-library-js.4.16.0/Decimal.js";
6
+ import Decimal from "../../fable-library-js.4.16.0/Decimal.js";
7
+ import { parse } from "../../fable-library-js.4.16.0/Double.js";
8
+ import { parse as parse_1 } from "../../fable-library-js.4.16.0/Int32.js";
9
+ import { toUInt64, toInt64 } from "../../fable-library-js.4.16.0/BigInt.js";
10
+ import { parse as parse_2 } from "../../fable-library-js.4.16.0/Long.js";
11
+ import { parse as parse_4 } from "../../fable-library-js.4.16.0/Date.js";
12
+ import { parse as parse_5 } from "../../fable-library-js.4.16.0/Guid.js";
13
+ import { parse as parse_6 } from "../../fable-library-js.4.16.0/Char.js";
14
+ import { forAll } from "../../fable-library-js.4.16.0/Seq.js";
15
+ import { equals } from "../../fable-library-js.4.16.0/Util.js";
16
16
 
17
17
  export class DataType extends Union {
18
18
  constructor(tag, fields) {
@@ -1,10 +1,10 @@
1
- import { addToSet, addToDict, getItemFromDict } from "../../fable-library-js.4.13.0/MapUtil.js";
2
- import { some } from "../../fable-library-js.4.13.0/Option.js";
3
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
4
- import { minBy, min, singleton, empty, delay, collect, max, isEmpty, iterate, map } from "../../fable-library-js.4.13.0/Seq.js";
1
+ import { addToSet, addToDict, getItemFromDict } from "../../fable-library-js.4.16.0/MapUtil.js";
2
+ import { some } from "../../fable-library-js.4.16.0/Option.js";
3
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
4
+ import { minBy, min, singleton, empty, delay, collect, max, isEmpty, iterate, map } from "../../fable-library-js.4.16.0/Seq.js";
5
5
  import { FsAddress_$ctor_Z37302880, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
6
- import { comparePrimitives } from "../../fable-library-js.4.13.0/Util.js";
7
- import { rangeDouble } from "../../fable-library-js.4.13.0/Range.js";
6
+ import { comparePrimitives } from "../../fable-library-js.4.16.0/Util.js";
7
+ import { rangeDouble } from "../../fable-library-js.4.16.0/Range.js";
8
8
 
9
9
  export function Dictionary_tryGet(k, dict) {
10
10
  if (dict.has(k)) {
@@ -1,9 +1,9 @@
1
- import { toString, Union } from "../../fable-library-js.4.13.0/Types.js";
2
- import { class_type, union_type, char_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { toString, Union } from "../../fable-library-js.4.16.0/Types.js";
2
+ import { class_type, union_type, char_type } from "../../fable-library-js.4.16.0/Reflection.js";
3
3
  import { DataType } from "../Cells/FsCell.fs.js";
4
- import { head, tail, isEmpty, append, empty, map, reduce } from "../../fable-library-js.4.13.0/List.js";
4
+ import { head, tail, isEmpty, append, empty, map, reduce } from "../../fable-library-js.4.16.0/List.js";
5
5
  import { SheetEntity$1__get_Messages, Message__MapText_11D407F6, SheetEntity$1 } from "./Types.fs.js";
6
- import { printf, toText } from "../../fable-library-js.4.13.0/String.js";
6
+ import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
7
7
  import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
8
8
 
9
9
  export class ReduceOperation extends Union {
@@ -1,7 +1,7 @@
1
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
2
2
  import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
3
- import { append, map, empty } from "../../fable-library-js.4.13.0/List.js";
4
- import { printf, toText } from "../../fable-library-js.4.13.0/String.js";
3
+ import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
4
+ import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
5
5
  import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
6
6
 
7
7
  export class ColumnBuilder {
@@ -1,6 +1,6 @@
1
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
2
2
  import { SheetEntity$1 } from "./Types.fs.js";
3
- import { singleton } from "../../fable-library-js.4.13.0/List.js";
3
+ import { singleton } from "../../fable-library-js.4.16.0/List.js";
4
4
 
5
5
  export class DSL {
6
6
  constructor() {
@@ -1,4 +1,4 @@
1
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
2
2
 
3
3
  export class OptionalSource$1 {
4
4
  constructor(s) {
@@ -1,7 +1,7 @@
1
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
2
2
  import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
3
- import { append, map, empty } from "../../fable-library-js.4.13.0/List.js";
4
- import { printf, toText } from "../../fable-library-js.4.13.0/String.js";
3
+ import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
4
+ import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
5
5
  import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
6
6
 
7
7
  export class RowBuilder {
@@ -1,7 +1,7 @@
1
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
2
2
  import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
3
- import { append, map, empty } from "../../fable-library-js.4.13.0/List.js";
4
- import { printf, toText } from "../../fable-library-js.4.13.0/String.js";
3
+ import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
4
+ import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
5
5
 
6
6
  export class SheetBuilder {
7
7
  constructor(name) {
@@ -1,7 +1,7 @@
1
- import { class_type } from "../../fable-library-js.4.13.0/Reflection.js";
1
+ import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
2
2
  import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
3
- import { append, map, empty } from "../../fable-library-js.4.13.0/List.js";
4
- import { printf, toText } from "../../fable-library-js.4.13.0/String.js";
3
+ import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
4
+ import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
5
5
 
6
6
  export class TableBuilder {
7
7
  constructor(name) {