@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,14 +1,15 @@
1
1
  import { CompositeCell } from './CompositeCell.js';
2
2
  import { op_UnaryNegation_Int32 } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
3
3
  import { value, bind } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
- import { safeHash, getEnumerator, disposeSafe, defaultOf, toIterator, compare, comparePrimitives, equals } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
4
+ import { safeHash, comparePrimitives, getEnumerator, disposeSafe, defaultOf, toIterator, equals, compare } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
5
5
  import { addToDict, getItemFromDict, tryGetValue } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
6
6
  import { Union, FSharpRef, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
7
- import { isEmpty, max, toList, iterateIndexed, iterate, delay, length, filter, tryFindIndex, item, collect, singleton, empty as empty$1, map } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
8
- import { ResizeArray_map, ResizeArray_init, ResizeArray_iteri, ResizeArray_create, List_tryPickAndRemove } from '../Helper/Collections.js';
9
- import { toFail, toConsole, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
7
+ import { union_type, int32_type, class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
8
+ import { maxBy, iterate, length, item, iterateIndexed, max, isEmpty, toList, delay, collect, singleton, empty, map, tryFindIndex, filter } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
9
+ import { ResizeArray_init, ResizeArray_create, ResizeArray_map, ResizeArray_iteri, List_tryPickAndRemove } from '../Helper/Collections.js';
10
+ import { toFail, printf, toConsole } from '../../../node_modules/@fable-org/fable-library-js/String.js';
10
11
  import { rangeDouble } from '../../../node_modules/@fable-org/fable-library-js/Range.js';
11
- import { ofSeq, empty, length as length$1, isEmpty as isEmpty$1, tail, head, cons, exists, pick, mapIndexed } from '../../../node_modules/@fable-org/fable-library-js/List.js';
12
+ import { isEmpty as isEmpty$1, tail, head, cons, empty as empty$1, ofSeq, length as length$1, exists, pick, mapIndexed } from '../../../node_modules/@fable-org/fable-library-js/List.js';
12
13
  import { max as max$1 } from '../../../node_modules/@fable-org/fable-library-js/Double.js';
13
14
  import { setItem } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
14
15
 
@@ -71,6 +72,19 @@ class ColumnValueRefs extends Union {
71
72
  return ["Constant", "Sparse"];
72
73
  }
73
74
  }
75
+ function ColumnValueRefs_$reflection() {
76
+ return union_type("ARCtrl.ArcTableAux.ColumnValueRefs", [], ColumnValueRefs, () => [[["Item", int32_type]], [["Item", class_type("System.Collections.Generic.Dictionary`2", [int32_type, int32_type])]]]);
77
+ }
78
+ function ColumnValueRefs__get_RowCount(this$) {
79
+ if (this$.tag === /* Sparse */
80
+ 1) {
81
+ return maxBy((kv) => kv[0], this$.fields[0], {
82
+ Compare: comparePrimitives
83
+ });
84
+ } else {
85
+ return void 0;
86
+ }
87
+ }
74
88
  function ColumnValueRefs__Copy(this$) {
75
89
  if (this$.tag === /* Sparse */
76
90
  1) {
@@ -97,6 +111,23 @@ function ColumnValueRefs__ToSparse_Z524259A4(this$, rowCount) {
97
111
  return ColumnValueRefs_Sparse(d);
98
112
  }
99
113
  }
114
+ function ColumnValueRefs__AsSparse(this$) {
115
+ if (this$.tag === /* Sparse */
116
+ 1) {
117
+ return this$.fields[0];
118
+ } else {
119
+ const valueHash = this$.fields[0] | 0;
120
+ throw new Error("Cannot convert a constant column to sparse. Use ToSparse first.");
121
+ }
122
+ }
123
+ function ColumnValueRefs__AsConstant(this$) {
124
+ if (this$.tag === /* Sparse */
125
+ 1) {
126
+ throw new Error("Cannot convert a sparse column to constant. Use ToSparse first.");
127
+ } else {
128
+ return this$.fields[0] | 0;
129
+ }
130
+ }
100
131
  function ColumnValueRefs_fromCellColumn_14896151(column, previousRowCount, valueMap) {
101
132
  const l = length(column) | 0;
102
133
  const cells = /* @__PURE__ */ new Map([]);
@@ -118,7 +149,7 @@ function ColumnValueRefs_fromCellColumn_14896151(column, previousRowCount, value
118
149
  const cells_2 = current.fields[0];
119
150
  cells_2.set(i, hash_1);
120
151
  } else if (current.fields[0] === hash_1) {
121
- current.fields[0] | 0;
152
+ const cellHash_1 = current.fields[0] | 0;
122
153
  } else {
123
154
  const cellHash_2 = current.fields[0] | 0;
124
155
  const cells_1 = /* @__PURE__ */ new Map([]);
@@ -370,13 +401,13 @@ class ArcTableValues {
370
401
  if (matchValue_1.tag === /* Sparse */
371
402
  1) {
372
403
  const values = matchValue_1.fields[0];
373
- return collect((rowI_1) => values.has(rowI_1) ? singleton([[colI, rowI_1], getItemFromDict(this$._valueMap, getItemFromDict(values, rowI_1))]) : empty$1(), rangeDouble(0, 1, this$._rowCount - 1));
404
+ return collect((rowI_1) => values.has(rowI_1) ? singleton([[colI, rowI_1], getItemFromDict(this$._valueMap, getItemFromDict(values, rowI_1))]) : empty(), rangeDouble(0, 1, this$._rowCount - 1));
374
405
  } else {
375
406
  const valueHash = matchValue_1.fields[0] | 0;
376
407
  return map((rowI) => [[colI, rowI], getItemFromDict(this$._valueMap, valueHash)], rangeDouble(0, 1, this$._rowCount - 1));
377
408
  }
378
409
  } else {
379
- return empty$1();
410
+ return empty();
380
411
  }
381
412
  }, rangeDouble(0, 1, this$.ColumnCount - 1))));
382
413
  }
@@ -388,6 +419,12 @@ class ArcTableValues {
388
419
  return getEnumerator(this$);
389
420
  }
390
421
  }
422
+ function ArcTableValues_$reflection() {
423
+ return class_type("ARCtrl.ArcTableAux.ArcTableValues", void 0, ArcTableValues);
424
+ }
425
+ function ArcTableValues_$ctor_39436F7C(cols, valueMap, rowCount) {
426
+ return new ArcTableValues(cols, valueMap, rowCount);
427
+ }
391
428
  function $007CIsUniqueExistingHeader$007C_$007C(existingHeaders, input) {
392
429
  switch (input.tag) {
393
430
  case /* Parameter */
@@ -452,9 +489,10 @@ function tryFindDuplicateUniqueInArray(existingHeaders) {
452
489
  continue loop;
453
490
  }
454
491
  }
492
+ break;
455
493
  }
456
494
  };
457
- return loop(0, empty(), ofSeq(filter((x) => !x.IsTermColumn, existingHeaders)));
495
+ return loop(0, empty$1(), ofSeq(filter((x) => !x.IsTermColumn, existingHeaders)));
458
496
  }
459
497
  function SanityChecks_validateColumnIndex(index, columnCount, allowAppend) {
460
498
  let x, y;
@@ -478,13 +516,16 @@ function SanityChecks_validateColumn(column) {
478
516
  column.Validate(true);
479
517
  }
480
518
  function SanityChecks_validateCellColumns(headers, columns, raiseException) {
519
+ let clo, clo_1, clo_2;
481
520
  let isValid = true;
482
521
  let en = getEnumerator(headers);
483
522
  let colIndex = 0;
484
523
  if (headers.length !== columns.length && columns.length !== 0) {
485
- ((message) => {
524
+ (raiseException ? (message) => {
486
525
  throw new Error(message);
487
- } )(`Invalid table. Number of headers (${headers.length}) does not match number of columns (${columns.length}).`);
526
+ } : (clo = toConsole(printf("%s")), (arg) => {
527
+ clo(arg);
528
+ }))(`Invalid table. Number of headers (${headers.length}) does not match number of columns (${columns.length}).`);
488
529
  isValid = false;
489
530
  }
490
531
  while (isValid && en["System.Collections.IEnumerator.MoveNext"]() && columns.length !== 0) {
@@ -497,15 +538,19 @@ function SanityChecks_validateCellColumns(headers, columns, raiseException) {
497
538
  const headerIsFreetext = !header.IsTermColumn && !header.IsDataColumn;
498
539
  const cellIsNotFreetext = !cell.isFreeText;
499
540
  if (headerIsData && (!cell.isData && cellIsNotFreetext)) {
500
- ((message_1) => {
541
+ (raiseException ? (message_1) => {
501
542
  throw new Error(message_1);
502
- } )(`Invalid combination of header \`${header}\` and cell \`${cell}\`. Data header should contain either Data or Freetext cells.`);
543
+ } : (clo_1 = toConsole(printf("%s")), (arg_1) => {
544
+ clo_1(arg_1);
545
+ }))(`Invalid combination of header \`${header}\` and cell \`${cell}\`. Data header should contain either Data or Freetext cells.`);
503
546
  isValid = false;
504
547
  }
505
548
  if (headerIsFreetext && cellIsNotFreetext) {
506
- ((message_2) => {
549
+ (raiseException ? (message_2) => {
507
550
  throw new Error(message_2);
508
- } )(`Invalid combination of header \`${header}\` and cell \`${cell}\`. Freetext header should not contain non-freetext cells.`);
551
+ } : (clo_2 = toConsole(printf("%s")), (arg_2) => {
552
+ clo_2(arg_2);
553
+ }))(`Invalid combination of header \`${header}\` and cell \`${cell}\`. Freetext header should not contain non-freetext cells.`);
509
554
  isValid = false;
510
555
  }
511
556
  }
@@ -653,7 +698,8 @@ function Unchecked_setCellAt(columnIndex, rowIndex, c, values) {
653
698
  } else {
654
699
  const valueHash = col.fields[0] | 0;
655
700
  const hash_2 = ensureCellHashInValueMap(c, values.ValueMap) | 0;
656
- if (hash_2 === valueHash) ; else {
701
+ if (hash_2 === valueHash) {
702
+ } else {
657
703
  const d = /* @__PURE__ */ new Map([]);
658
704
  for (let i = 0; i <= values.RowCount - 1; i++) {
659
705
  if (i === rowIndex) {
@@ -695,7 +741,7 @@ function Unchecked_removeCellAt(columnIndex, rowIndex, values) {
695
741
  }
696
742
  }
697
743
  } else {
698
- col.fields[0] | 0;
744
+ const valueHash = col.fields[0] | 0;
699
745
  if (rowIndex === 0 && values.RowCount === 1) {
700
746
  values.Columns.delete(columnIndex);
701
747
  }
@@ -704,7 +750,8 @@ function Unchecked_removeCellAt(columnIndex, rowIndex, values) {
704
750
  }
705
751
  function Unchecked_moveCellTo(fromCol, fromRow, toCol, toRow, values) {
706
752
  const matchValue = Unchecked_tryGetCellAt(fromCol, fromRow, values);
707
- if (matchValue == null) ; else {
753
+ if (matchValue == null) {
754
+ } else {
708
755
  const cell = value(matchValue);
709
756
  Unchecked_removeCellAt(fromCol, fromRow, values);
710
757
  Unchecked_setCellAt(toCol, toRow, cell, values);
@@ -729,7 +776,12 @@ function Unchecked_removeColumnCells_withIndexChange(colIndex, columnCount, valu
729
776
  }, values.Columns);
730
777
  values.Columns = cols;
731
778
  } else {
732
- Unchecked_removeColumnCells(colIndex, values);
779
+ const value = Unchecked_removeColumnCells(colIndex, values);
780
+ }
781
+ }
782
+ function Unchecked_removeRowCells(rowIndex, columnCount, values) {
783
+ for (let c = 0; c <= columnCount - 1; c++) {
784
+ Unchecked_removeCellAt(c, rowIndex, values);
733
785
  }
734
786
  }
735
787
  function Unchecked_removeRowCells_withIndexChange(rowIndex, values) {
@@ -761,6 +813,38 @@ function Unchecked_removeRowCells_withIndexChange(rowIndex, values) {
761
813
  values.RowCount = values.RowCount - 1 | 0;
762
814
  }
763
815
  }
816
+ function Unchecked_removeRowRange_withIndexChange(rowStartIndex, rowEndIndex, values) {
817
+ if (rowStartIndex === 0 && values.RowCount === rowEndIndex) {
818
+ values.RowCount = 0;
819
+ values.Columns = /* @__PURE__ */ new Map([]);
820
+ } else {
821
+ iterate((kv) => {
822
+ const matchValue = kv[1];
823
+ if (matchValue.tag === /* Sparse */
824
+ 1) {
825
+ const vals = matchValue.fields[0];
826
+ const range = rowEndIndex - rowStartIndex + 1 | 0;
827
+ if (rowEndIndex < values.RowCount - 1) {
828
+ const col = /* @__PURE__ */ new Map([]);
829
+ iterate((kv_1) => {
830
+ const rI = kv_1[0] | 0;
831
+ if (rI > rowEndIndex) {
832
+ addToDict(col, rI - range, kv_1[1]);
833
+ } else if (rI < rowStartIndex) {
834
+ addToDict(col, rI, kv_1[1]);
835
+ }
836
+ }, vals);
837
+ values.Columns.set(kv[0], ColumnValueRefs_Sparse(col));
838
+ } else {
839
+ for (let rowIndex = rowStartIndex; rowIndex <= rowEndIndex; rowIndex++) {
840
+ vals.delete(rowIndex);
841
+ }
842
+ }
843
+ }
844
+ }, values.Columns);
845
+ values.RowCount = values.RowCount - (rowEndIndex - rowStartIndex + 1) | 0;
846
+ }
847
+ }
764
848
  function Unchecked_moveColumnCellsTo(fromCol, toCol, values) {
765
849
  let matchValue;
766
850
  const dict = values.Columns;
@@ -810,7 +894,7 @@ function Unchecked_addRefColumn(newHeader, newCol, rowCount, index, forceReplace
810
894
  index_1 = value(hasDuplicateUnique) | 0;
811
895
  }
812
896
  const matchValue = headers.length | 0;
813
- values.RowCount | 0;
897
+ const matchValue_1 = values.RowCount | 0;
814
898
  const startColCount = matchValue | 0;
815
899
  if (hasDuplicateUnique != null) {
816
900
  Unchecked_removeHeader(index_1, headers);
@@ -839,6 +923,42 @@ function Unchecked_addColumn(newHeader, newCells, index, forceReplace, onlyHeade
839
923
  function Unchecked_addColumnFill(newHeader, newCell, index, forceReplace, onlyHeaders, headers, values) {
840
924
  Unchecked_addRefColumn(newHeader, ColumnValueRefs_Constant(ensureCellHashInValueMap(newCell, values.ValueMap)), 1, index, forceReplace, onlyHeaders, headers, values);
841
925
  }
926
+ function Unchecked_fillMissingCells(headers, values) {
927
+ let i_1;
928
+ if (values.RowCount === 0) {
929
+ } else {
930
+ for (let i = 0; i <= values.ColumnCount - 1; i++) {
931
+ let matchValue;
932
+ const dict = values.Columns;
933
+ let patternInput;
934
+ let outArg = defaultOf();
935
+ patternInput = [tryGetValue(dict, i, new FSharpRef(() => outArg, (v) => {
936
+ outArg = v;
937
+ })), outArg];
938
+ matchValue = patternInput[0] ? patternInput[1] : void 0;
939
+ if (matchValue != null) {
940
+ if (value(matchValue).tag === /* Sparse */
941
+ 1) {
942
+ const vals = value(matchValue).fields[0];
943
+ if (vals.size < values.RowCount) {
944
+ const header = headers[i];
945
+ const defaultHash = ensureCellHashInValueMap(vals.size === 0 ? getEmptyCellForHeader(header, void 0) : (i_1 = max(vals.keys(), {
946
+ Compare: comparePrimitives
947
+ }) | 0, getEmptyCellForHeader(header, getItemFromDict(values.ValueMap, getItemFromDict(vals, i_1)))), values.ValueMap) | 0;
948
+ for (let j = vals.size; j <= values.RowCount - 1; j++) {
949
+ if (!vals.has(j)) {
950
+ addToDict(vals, j, defaultHash);
951
+ }
952
+ }
953
+ }
954
+ }
955
+ } else {
956
+ const col = ColumnValueRefs_Constant(ensureCellHashInValueMap(getEmptyCellForHeader(headers[i], void 0), values.ValueMap));
957
+ const value = addToDict(values.Columns, i, col);
958
+ }
959
+ }
960
+ }
961
+ }
842
962
  function Unchecked_addEmptyRow(index, values) {
843
963
  if (index < values.RowCount && values.ColumnCount !== 0) {
844
964
  let enumerator = getEnumerator(values.Columns);
@@ -871,6 +991,7 @@ function Unchecked_addEmptyRow(index, values) {
871
991
  function Unchecked_addRow(index, newCells, headers, values) {
872
992
  const rowCount = values.RowCount | 0;
873
993
  const columnCount = values.ColumnCount | 0;
994
+ let increaseRowIndices;
874
995
  if (index < rowCount) {
875
996
  const lastRowIndex = max$1(rowCount - 1, 0) | 0;
876
997
  for (let rowIndex = lastRowIndex; rowIndex >= index; rowIndex--) {
@@ -878,8 +999,10 @@ function Unchecked_addRow(index, newCells, headers, values) {
878
999
  Unchecked_moveCellTo(columnIndex, rowIndex, columnIndex, rowIndex + 1, values);
879
1000
  }
880
1001
  }
1002
+ } else {
1003
+ increaseRowIndices = void 0;
881
1004
  }
882
- ResizeArray_iteri((columnIndex_1, cell) => {
1005
+ const setNewCells = ResizeArray_iteri((columnIndex_1, cell) => {
883
1006
  Unchecked_setCellAt(columnIndex_1, index, cell, values);
884
1007
  }, newCells);
885
1008
  }
@@ -887,6 +1010,7 @@ function Unchecked_addRows(index, newRows, headers, values) {
887
1010
  const rowCount = values.RowCount | 0;
888
1011
  const columnCount = values.ColumnCount | 0;
889
1012
  const numNewRows = newRows.length | 0;
1013
+ let increaseRowIndices;
890
1014
  if (index < rowCount) {
891
1015
  const lastRowIndex = max$1(rowCount - 1, 0) | 0;
892
1016
  for (let rowIndex = lastRowIndex; rowIndex >= index; rowIndex--) {
@@ -894,6 +1018,8 @@ function Unchecked_addRows(index, newRows, headers, values) {
894
1018
  Unchecked_moveCellTo(columnIndex, rowIndex, columnIndex, rowIndex + numNewRows, values);
895
1019
  }
896
1020
  }
1021
+ } else {
1022
+ increaseRowIndices = void 0;
897
1023
  }
898
1024
  let currentRowIndex = index;
899
1025
  let enumerator = getEnumerator(newRows);
@@ -963,7 +1089,7 @@ function Unchecked_alignByHeaders(keepOrder, rows) {
963
1089
  return l_1;
964
1090
  }
965
1091
  } else {
966
- return empty();
1092
+ return empty$1();
967
1093
  }
968
1094
  } else {
969
1095
  const patternInput = List_tryPickAndRemove((tupledArg) => {
@@ -985,9 +1111,10 @@ function Unchecked_alignByHeaders(keepOrder, rows) {
985
1111
  }, rows_2);
986
1112
  continue loop;
987
1113
  }
1114
+ break;
988
1115
  }
989
1116
  };
990
1117
  return loop(0, rows);
991
1118
  }
992
1119
 
993
- export { $007CIsUniqueExistingHeader$007C_$007C, ArcTableValues, ColumnValueRefs, ColumnValueRefs_Constant, ColumnValueRefs_Sparse, ColumnValueRefs__Copy, ColumnValueRefs__ToCellColumn_Z2609C9DD, ColumnValueRefs__ToSparse_Z524259A4, ColumnValueRefs_fromCellColumn_14896151, SanityChecks_validateArcTableValues, SanityChecks_validateCellColumns, SanityChecks_validateColumn, SanityChecks_validateColumnIndex, SanityChecks_validateRowIndex, Unchecked_addColumn, Unchecked_addColumnFill, Unchecked_addEmptyRow, Unchecked_addRefColumn, Unchecked_addRow, Unchecked_addRows, Unchecked_alignByHeaders, Unchecked_compositeHeaderMainColumnEqual, Unchecked_getCellWithDefault, Unchecked_moveCellTo, Unchecked_moveColumnCellsTo, Unchecked_moveColumnTo, Unchecked_removeCellAt, Unchecked_removeColumnCells, Unchecked_removeColumnCells_withIndexChange, Unchecked_removeHeader, Unchecked_removeRowCells_withIndexChange, Unchecked_setCellAt, Unchecked_tryGetCellAt, ensureCellHashInValueMap, getEmptyCellForHeader, tryFindDuplicateUnique, tryFindDuplicateUniqueInArray };
1120
+ export { $007CIsUniqueExistingHeader$007C_$007C, ArcTableValues, ArcTableValues_$ctor_39436F7C, ArcTableValues_$reflection, ColumnValueRefs, ColumnValueRefs_$reflection, ColumnValueRefs_Constant, ColumnValueRefs_Sparse, ColumnValueRefs__AsConstant, ColumnValueRefs__AsSparse, ColumnValueRefs__Copy, ColumnValueRefs__ToCellColumn_Z2609C9DD, ColumnValueRefs__ToSparse_Z524259A4, ColumnValueRefs__get_RowCount, ColumnValueRefs_fromCellColumn_14896151, SanityChecks_validateArcTableValues, SanityChecks_validateCellColumns, SanityChecks_validateColumn, SanityChecks_validateColumnIndex, SanityChecks_validateRowIndex, Unchecked_addColumn, Unchecked_addColumnFill, Unchecked_addEmptyRow, Unchecked_addRefColumn, Unchecked_addRow, Unchecked_addRows, Unchecked_alignByHeaders, Unchecked_compositeHeaderMainColumnEqual, Unchecked_fillMissingCells, Unchecked_getCellWithDefault, Unchecked_moveCellTo, Unchecked_moveColumnCellsTo, Unchecked_moveColumnTo, Unchecked_removeCellAt, Unchecked_removeColumnCells, Unchecked_removeColumnCells_withIndexChange, Unchecked_removeHeader, Unchecked_removeRowCells, Unchecked_removeRowCells_withIndexChange, Unchecked_removeRowRange_withIndexChange, Unchecked_setCellAt, Unchecked_tryGetCellAt, ensureCellHashInValueMap, getEmptyCellForHeader, tryFindDuplicateUnique, tryFindDuplicateUniqueInArray };
@@ -1,14 +1,15 @@
1
- import { toList, delay, map, choose, append, tryFindIndex, reduce, length, findIndex } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
1
+ import { tryFindIndex, findIndex, length, map, toList, delay, choose, append, reduce } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
2
2
  import { ArcTable } from './ArcTable.js';
3
- import { defaultArg, value, unwrap, map as map$1, bind } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
- import { CompositeHeader_ProtocolREF, CompositeHeader_Input, CompositeHeader_Output } from './CompositeHeader.js';
5
- import { equals, getEnumerator, toIterator, compare, disposeSafe, stringHash, comparePrimitives } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
6
- import { ResizeArray_map, ResizeArray_groupBy, ResizeArray_collect, ResizeArray_iter, ResizeArray_fold, Dictionary_tryFind } from '../Helper/Collections.js';
7
- import { addToSet, addToDict } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
3
+ import { value, defaultArg, unwrap, map as map$1, bind } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
4
+ import { CompositeHeader_Input, CompositeHeader_Output, CompositeHeader_ProtocolREF } from './CompositeHeader.js';
5
+ import { getEnumerator, disposeSafe, compare, stringHash, comparePrimitives, equals, toIterator } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
6
+ import { Dictionary_tryFind, ResizeArray_iter, ResizeArray_fold, ResizeArray_map, ResizeArray_groupBy, ResizeArray_collect } from '../Helper/Collections.js';
7
+ import { addToDict, addToSet } from '../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
8
8
  import { distinct } from '../../../node_modules/@fable-org/fable-library-js/Seq2.js';
9
- import { intersect, ofSeq as ofSeq$1, FSharpSet__get_IsEmpty } from '../../../node_modules/@fable-org/fable-library-js/Set.js';
9
+ import { intersect, ofSeq, FSharpSet__get_IsEmpty } from '../../../node_modules/@fable-org/fable-library-js/Set.js';
10
10
  import { insertRangeInPlace } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
11
- import { ofSeq, tryFind } from '../../../node_modules/@fable-org/fable-library-js/Map.js';
11
+ import { ofSeq as ofSeq$1, tryFind } from '../../../node_modules/@fable-org/fable-library-js/Map.js';
12
+ import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
12
13
 
13
14
  function ArcTablesAux_tryFindIndexByTableName(name, tables) {
14
15
  return tryFindIndex((t) => t.Name === name, tables);
@@ -124,14 +125,16 @@ function ArcTablesAux_SanityChecks_validateNamesUnique(names) {
124
125
  }
125
126
  function ArcTablesAux_SanityChecks_validateNewNameUnique(newName, existingNames) {
126
127
  const matchValue = tryFindIndex((x) => x === newName, existingNames);
127
- if (matchValue == null) ; else {
128
+ if (matchValue == null) {
129
+ } else {
128
130
  throw new Error(`Cannot create table with name ${newName}, as table names must be unique and table at index ${value(matchValue)} has the same name.`);
129
131
  }
130
132
  }
131
133
  function ArcTablesAux_SanityChecks_validateNewNameAtUnique(index, newName, existingNames) {
132
134
  const matchValue = tryFindIndex((x) => x === newName, existingNames);
133
- if (matchValue == null) ; else if (index === value(matchValue)) {
134
- value(matchValue) | 0;
135
+ if (matchValue == null) {
136
+ } else if (index === value(matchValue)) {
137
+ const i_1 = value(matchValue) | 0;
135
138
  } else {
136
139
  const i_2 = value(matchValue) | 0;
137
140
  throw new Error(`Cannot create table with name ${newName}, as table names must be unique and table at index ${i_2} has the same name.`);
@@ -139,9 +142,9 @@ function ArcTablesAux_SanityChecks_validateNewNameAtUnique(index, newName, exist
139
142
  }
140
143
  function ArcTablesAux_SanityChecks_validateNewNamesUnique(newNames, existingNames) {
141
144
  ArcTablesAux_SanityChecks_validateNamesUnique(newNames);
142
- const same = intersect(ofSeq$1(newNames, {
145
+ const same = intersect(ofSeq(newNames, {
143
146
  Compare: comparePrimitives
144
- }), ofSeq$1(existingNames, {
147
+ }), ofSeq(existingNames, {
145
148
  Compare: comparePrimitives
146
149
  }));
147
150
  if (!FSharpSet__get_IsEmpty(same)) {
@@ -371,7 +374,7 @@ class ArcTables {
371
374
  let collection, s, a;
372
375
  const keepUnusedRefTables_1 = defaultArg(keepUnusedRefTables, false);
373
376
  const usedTables = /* @__PURE__ */ new Set([]);
374
- const referenceTableMap = ofSeq(choose((t) => map$1((c) => [c.Cells[0].AsFreeText, t], t.TryGetProtocolNameColumn()), referenceTables.Tables), {
377
+ const referenceTableMap = ofSeq$1(choose((t) => map$1((c) => [c.Cells[0].AsFreeText, t], t.TryGetProtocolNameColumn()), referenceTables.Tables), {
375
378
  Compare: comparePrimitives
376
379
  });
377
380
  return new ArcTables((collection = (s = ResizeArray_map((tupledArg) => reduce((table, table_1) => ArcTable.append(table, table_1), tupledArg[1]), ResizeArray_groupBy((t_2) => t_2.Name, ResizeArray_map((t_1) => {
@@ -411,5 +414,11 @@ class ArcTables {
411
414
  return getEnumerator(this$.Tables);
412
415
  }
413
416
  }
417
+ function ArcTables_$reflection() {
418
+ return class_type("ARCtrl.ArcTables", void 0, ArcTables);
419
+ }
420
+ function ArcTables_$ctor_Z420F2E1A(initTables) {
421
+ return new ArcTables(initTables);
422
+ }
414
423
 
415
- export { ArcTables, ArcTablesAux_SanityChecks_validateNamesUnique, ArcTablesAux_SanityChecks_validateNewNameAtUnique, ArcTablesAux_SanityChecks_validateNewNameUnique, ArcTablesAux_SanityChecks_validateNewNamesUnique, ArcTablesAux_SanityChecks_validateSheetIndex, ArcTablesAux_applyIOMap, ArcTablesAux_findIndexByTableName, ArcTablesAux_getIOMap, ArcTablesAux_tryFindIndexByTableName };
424
+ export { ArcTables, ArcTablesAux_SanityChecks_validateNamesUnique, ArcTablesAux_SanityChecks_validateNewNameAtUnique, ArcTablesAux_SanityChecks_validateNewNameUnique, ArcTablesAux_SanityChecks_validateNewNamesUnique, ArcTablesAux_SanityChecks_validateSheetIndex, ArcTablesAux_applyIOMap, ArcTablesAux_findIndexByTableName, ArcTablesAux_getIOMap, ArcTablesAux_tryFindIndexByTableName, ArcTables_$ctor_Z420F2E1A, ArcTables_$reflection };
@@ -1,7 +1,8 @@
1
- import { OntologyAnnotation } from '../OntologyAnnotation.js';
1
+ import { OntologyAnnotation, OntologyAnnotation_$reflection } from '../OntologyAnnotation.js';
2
2
  import { defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
3
- import { Data } from '../Data.js';
3
+ import { Data, Data_$reflection } from '../Data.js';
4
4
  import { Union } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
5
+ import { union_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
5
6
 
6
7
  function CompositeCell_Term(Item) {
7
8
  return new CompositeCell(0, [Item]);
@@ -330,5 +331,8 @@ class CompositeCell extends Union {
330
331
  return CompositeCell_Data(d);
331
332
  }
332
333
  }
334
+ function CompositeCell_$reflection() {
335
+ return union_type("ARCtrl.CompositeCell", [], CompositeCell, () => [[["Item", OntologyAnnotation_$reflection()]], [["Item", string_type]], [["Item1", string_type], ["Item2", OntologyAnnotation_$reflection()]], [["Item", Data_$reflection()]]]);
336
+ }
333
337
 
334
- export { CompositeCell, CompositeCell_Data, CompositeCell_FreeText, CompositeCell_Term, CompositeCell_Unitized };
338
+ export { CompositeCell, CompositeCell_$reflection, CompositeCell_Data, CompositeCell_FreeText, CompositeCell_Term, CompositeCell_Unitized };
@@ -1,8 +1,9 @@
1
1
  import { defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
2
+ import { CompositeHeader_$reflection } from './CompositeHeader.js';
3
+ import { CompositeCell, CompositeCell_$reflection } from './CompositeCell.js';
4
+ import { exists, toArray, delay, collect, singleton, empty, isEmpty, fold } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
2
5
  import { Record } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
3
- import '../Helper/Url.js';
4
- import { exists, toArray, delay, isEmpty, fold, collect, singleton, empty } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
5
- import { CompositeCell } from './CompositeCell.js';
6
+ import { record_type, array_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
6
7
 
7
8
  class CompositeColumn extends Record {
8
9
  constructor(Header, Cells) {
@@ -48,5 +49,8 @@ class CompositeColumn extends Record {
48
49
  return this$.Header.IsUnique;
49
50
  }
50
51
  }
52
+ function CompositeColumn_$reflection() {
53
+ return record_type("ARCtrl.CompositeColumn", [], CompositeColumn, () => [["Header", CompositeHeader_$reflection()], ["Cells", array_type(CompositeCell_$reflection())]]);
54
+ }
51
55
 
52
- export { CompositeColumn };
56
+ export { CompositeColumn, CompositeColumn_$reflection };
@@ -1,7 +1,7 @@
1
1
  import { map } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
2
- import { getUnionCases, name, union_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
2
+ import { name, getUnionCases, union_type, string_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
3
3
  import { Union, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
4
- import { ActivePatterns_$007CRegex$007C_$007C, ActivePatterns_$007CTermColumn$007C_$007C, tryParseIOTypeHeader, Pattern_InputPattern, Pattern_OutputPattern, Pattern_CommentPattern } from '../Helper/Regex.js';
4
+ import { tryParseIOTypeHeader, ActivePatterns_$007CRegex$007C_$007C, Pattern_InputPattern, Pattern_OutputPattern, Pattern_CommentPattern, ActivePatterns_$007CTermColumn$007C_$007C } from '../Helper/Regex.js';
5
5
  import { value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
6
6
  import { toFail, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
7
7
  import { OntologyAnnotation, OntologyAnnotation_$reflection } from '../OntologyAnnotation.js';
@@ -98,7 +98,7 @@ class IOType extends Union {
98
98
  4) {
99
99
  if (this$.fields[0] === other.fields[0]) {
100
100
  const s1_1 = this$.fields[0];
101
- other.fields[0];
101
+ const s2_1 = other.fields[0];
102
102
  return IOType_FreeText(s1_1);
103
103
  } else {
104
104
  const s1_2 = this$.fields[0];
@@ -106,7 +106,7 @@ class IOType extends Union {
106
106
  throw new Error(`FreeText IO column names ${s1_2} and ${s2_2} do differ`);
107
107
  }
108
108
  } else {
109
- this$.fields[0];
109
+ const s = this$.fields[0];
110
110
  throw new Error(`FreeText IO column and ${other} can not be merged`);
111
111
  }
112
112
  }
@@ -338,21 +338,21 @@ class CompositeHeader extends Union {
338
338
  get IsDeprecated() {
339
339
  let s, s_1, s_2, s_3;
340
340
  const this$ = this;
341
- let matchResult;
341
+ let matchResult, s_4, s_5, s_6, s_7;
342
342
  if (this$.tag === /* FreeText */
343
343
  13) {
344
344
  if (s = this$.fields[0], s.toLocaleLowerCase() === "sample name") {
345
345
  matchResult = 0;
346
- this$.fields[0];
346
+ s_4 = this$.fields[0];
347
347
  } else if (s_1 = this$.fields[0], s_1.toLocaleLowerCase() === "source name") {
348
348
  matchResult = 1;
349
- this$.fields[0];
349
+ s_5 = this$.fields[0];
350
350
  } else if (s_2 = this$.fields[0], s_2.toLocaleLowerCase() === "data file name") {
351
351
  matchResult = 2;
352
- this$.fields[0];
352
+ s_6 = this$.fields[0];
353
353
  } else if (s_3 = this$.fields[0], s_3.toLocaleLowerCase() === "derived data file") {
354
354
  matchResult = 3;
355
- this$.fields[0];
355
+ s_7 = this$.fields[0];
356
356
  } else {
357
357
  matchResult = 4;
358
358
  }
@@ -408,7 +408,7 @@ class CompositeHeader extends Union {
408
408
  }
409
409
  get IsDataColumn() {
410
410
  const this$ = this;
411
- let matchResult;
411
+ let matchResult, anythingElse;
412
412
  switch (this$.tag) {
413
413
  case /* Input */
414
414
  11: {
@@ -417,6 +417,7 @@ class CompositeHeader extends Union {
417
417
  matchResult = 0;
418
418
  } else {
419
419
  matchResult = 1;
420
+ anythingElse = this$;
420
421
  }
421
422
  break;
422
423
  }
@@ -427,11 +428,13 @@ class CompositeHeader extends Union {
427
428
  matchResult = 0;
428
429
  } else {
429
430
  matchResult = 1;
431
+ anythingElse = this$;
430
432
  }
431
433
  break;
432
434
  }
433
435
  default: {
434
436
  matchResult = 1;
437
+ anythingElse = this$;
435
438
  }
436
439
  }
437
440
  switch (matchResult) {
@@ -515,18 +518,18 @@ class CompositeHeader extends Union {
515
518
  }
516
519
  get IsIOType() {
517
520
  const this$ = this;
518
- let matchResult;
521
+ let matchResult, io;
519
522
  switch (this$.tag) {
520
523
  case /* Input */
521
524
  11: {
522
525
  matchResult = 0;
523
- this$.fields[0];
526
+ io = this$.fields[0];
524
527
  break;
525
528
  }
526
529
  case /* Output */
527
530
  12: {
528
531
  matchResult = 0;
529
- this$.fields[0];
532
+ io = this$.fields[0];
530
533
  break;
531
534
  }
532
535
  default:
@@ -543,7 +546,7 @@ class CompositeHeader extends Union {
543
546
  const this$ = this;
544
547
  if (this$.tag === /* Input */
545
548
  11) {
546
- this$.fields[0];
549
+ const io = this$.fields[0];
547
550
  return true;
548
551
  } else {
549
552
  return false;
@@ -553,7 +556,7 @@ class CompositeHeader extends Union {
553
556
  const this$ = this;
554
557
  if (this$.tag === /* Output */
555
558
  12) {
556
- this$.fields[0];
559
+ const io = this$.fields[0];
557
560
  return true;
558
561
  } else {
559
562
  return false;
@@ -1,5 +1,6 @@
1
- import { safeHash, equals } from '../../node_modules/@fable-org/fable-library-js/Util.js';
1
+ import { equals, safeHash } from '../../node_modules/@fable-org/fable-library-js/Util.js';
2
2
  import { Union } from '../../node_modules/@fable-org/fable-library-js/Types.js';
3
+ import { union_type, string_type, class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
3
4
  import { ArcTable } from './Table/ArcTable.js';
4
5
  import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
5
6
  import { newGuid } from '../../node_modules/@fable-org/fable-library-js/Guid.js';
@@ -36,6 +37,9 @@ class Organisation extends Union {
36
37
  return equals(this$, Organisation_DataPLANT());
37
38
  }
38
39
  }
40
+ function Organisation_$reflection() {
41
+ return union_type("ARCtrl.Organisation", [], Organisation, () => [[], [["Item", string_type]]]);
42
+ }
39
43
  class Template {
40
44
  constructor(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated) {
41
45
  const name_1 = defaultArg(name, "");
@@ -176,5 +180,11 @@ class Template {
176
180
  return boxHashArray([(copyOfStruct = this$.Id, copyOfStruct), safeHash(this$.Table), this$.Name, safeHash(this$.Organisation), this$.Version, boxHashSeq(this$.Authors), boxHashSeq(this$.EndpointRepositories), boxHashSeq(this$.Tags), hashDateTime(this$.LastUpdated)]) | 0;
177
181
  }
178
182
  }
183
+ function Template_$reflection() {
184
+ return class_type("ARCtrl.Template", void 0, Template);
185
+ }
186
+ function Template_$ctor_Z17EA765C(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated) {
187
+ return new Template(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated);
188
+ }
179
189
 
180
- export { Organisation, Organisation_DataPLANT, Organisation_Other, Template };
190
+ export { Organisation, Organisation_$reflection, Organisation_DataPLANT, Organisation_Other, Template, Template_$ctor_Z17EA765C, Template_$reflection };
@@ -1,9 +1,10 @@
1
- import { value, defaultArg } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
- import { ResizeArray_distinct, ResizeArray_collect, ResizeArray_append, ResizeArray_filter } from './Helper/Collections.js';
3
- import { uncurry2, getEnumerator, safeHash, equals, disposeSafe } from '../../node_modules/@fable-org/fable-library-js/Util.js';
1
+ import { defaultArg, value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
2
+ import { ResizeArray_filter, ResizeArray_distinct, ResizeArray_collect, ResizeArray_append } from './Helper/Collections.js';
3
+ import { getEnumerator, safeHash, equals, disposeSafe, uncurry2 } from '../../node_modules/@fable-org/fable-library-js/Util.js';
4
4
  import { contains } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
5
5
  import { item, addRangeInPlace } from '../../node_modules/@fable-org/fable-library-js/Array.js';
6
6
  import { Array_distinct } from '../../node_modules/@fable-org/fable-library-js/Seq2.js';
7
+ import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
7
8
 
8
9
  function TemplatesAux_getComparer(matchAll) {
9
10
  if (defaultArg(matchAll, false)) {
@@ -71,5 +72,8 @@ class Templates {
71
72
  return ResizeArray_filter((t) => t.Organisation.IsOfficial(), templates);
72
73
  }
73
74
  }
75
+ function Templates_$reflection() {
76
+ return class_type("ARCtrl.Templates", void 0, Templates);
77
+ }
74
78
 
75
- export { Templates, TemplatesAux_filterOnTags, TemplatesAux_getComparer };
79
+ export { Templates, TemplatesAux_filterOnTags, TemplatesAux_getComparer, Templates_$reflection };