@nfdi4plants/arctrl 1.0.0-alpha10

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 (296) hide show
  1. package/ARC.js +262 -0
  2. package/Contract/Contract.js +95 -0
  3. package/Contracts/Contracts.ARCtrl.js +35 -0
  4. package/Contracts/Contracts.ArcAssay.js +65 -0
  5. package/Contracts/Contracts.ArcInvestigation.js +58 -0
  6. package/Contracts/Contracts.ArcStudy.js +65 -0
  7. package/Contracts/Contracts.Git.js +91 -0
  8. package/FileSystem/Commit.js +18 -0
  9. package/FileSystem/DefaultGitignore.js +3 -0
  10. package/FileSystem/FileSystem.js +53 -0
  11. package/FileSystem/FileSystemTree.js +223 -0
  12. package/FileSystem/Path.js +38 -0
  13. package/FileSystemTree.js +51 -0
  14. package/ISA/ISA/ArcTypes/ArcTable.js +848 -0
  15. package/ISA/ISA/ArcTypes/ArcTableAux.js +1105 -0
  16. package/ISA/ISA/ArcTypes/ArcTables.js +479 -0
  17. package/ISA/ISA/ArcTypes/ArcTypes.js +2281 -0
  18. package/ISA/ISA/ArcTypes/CompositeCell.js +180 -0
  19. package/ISA/ISA/ArcTypes/CompositeColumn.js +48 -0
  20. package/ISA/ISA/ArcTypes/CompositeHeader.js +668 -0
  21. package/ISA/ISA/ArcTypes/CompositeRow.js +111 -0
  22. package/ISA/ISA/ArcTypes/IdentifierSetters.js +26 -0
  23. package/ISA/ISA/Builder/Types.js +243 -0
  24. package/ISA/ISA/Fable.js +50 -0
  25. package/ISA/ISA/Helper.js +338 -0
  26. package/ISA/ISA/Identifier.js +76 -0
  27. package/ISA/ISA/JsonTypes/AnnotationValue.js +56 -0
  28. package/ISA/ISA/JsonTypes/Assay.js +620 -0
  29. package/ISA/ISA/JsonTypes/AssayMaterials.js +39 -0
  30. package/ISA/ISA/JsonTypes/ColumnIndex.js +246 -0
  31. package/ISA/ISA/JsonTypes/Comment.js +58 -0
  32. package/ISA/ISA/JsonTypes/CommentList.js +139 -0
  33. package/ISA/ISA/JsonTypes/Component.js +158 -0
  34. package/ISA/ISA/JsonTypes/Data.js +55 -0
  35. package/ISA/ISA/JsonTypes/DataFile.js +68 -0
  36. package/ISA/ISA/JsonTypes/Factor.js +128 -0
  37. package/ISA/ISA/JsonTypes/FactorValue.js +109 -0
  38. package/ISA/ISA/JsonTypes/Investigation.js +204 -0
  39. package/ISA/ISA/JsonTypes/Material.js +66 -0
  40. package/ISA/ISA/JsonTypes/MaterialAttribute.js +101 -0
  41. package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +126 -0
  42. package/ISA/ISA/JsonTypes/MaterialType.js +41 -0
  43. package/ISA/ISA/JsonTypes/OntologyAnnotation.js +219 -0
  44. package/ISA/ISA/JsonTypes/OntologySourceReference.js +85 -0
  45. package/ISA/ISA/JsonTypes/Person.js +137 -0
  46. package/ISA/ISA/JsonTypes/Process.js +401 -0
  47. package/ISA/ISA/JsonTypes/ProcessInput.js +297 -0
  48. package/ISA/ISA/JsonTypes/ProcessOutput.js +263 -0
  49. package/ISA/ISA/JsonTypes/ProcessParameterValue.js +129 -0
  50. package/ISA/ISA/JsonTypes/ProcessSequence.js +255 -0
  51. package/ISA/ISA/JsonTypes/Protocol.js +277 -0
  52. package/ISA/ISA/JsonTypes/ProtocolParameter.js +101 -0
  53. package/ISA/ISA/JsonTypes/Publication.js +105 -0
  54. package/ISA/ISA/JsonTypes/Sample.js +71 -0
  55. package/ISA/ISA/JsonTypes/Source.js +54 -0
  56. package/ISA/ISA/JsonTypes/Study.js +942 -0
  57. package/ISA/ISA/JsonTypes/StudyMaterials.js +45 -0
  58. package/ISA/ISA/JsonTypes/URI.js +19 -0
  59. package/ISA/ISA/JsonTypes/Value.js +210 -0
  60. package/ISA/ISA/Regex.js +588 -0
  61. package/ISA/ISA.Json/Assay.js +123 -0
  62. package/ISA/ISA.Json/Comment.js +84 -0
  63. package/ISA/ISA.Json/ConverterOptions.js +33 -0
  64. package/ISA/ISA.Json/Data.js +271 -0
  65. package/ISA/ISA.Json/Decode.js +46 -0
  66. package/ISA/ISA.Json/Factor.js +194 -0
  67. package/ISA/ISA.Json/GEncode.js +15 -0
  68. package/ISA/ISA.Json/Investigation.js +132 -0
  69. package/ISA/ISA.Json/Material.js +233 -0
  70. package/ISA/ISA.Json/Ontology.js +204 -0
  71. package/ISA/ISA.Json/Person.js +204 -0
  72. package/ISA/ISA.Json/Process.js +291 -0
  73. package/ISA/ISA.Json/Protocol.js +242 -0
  74. package/ISA/ISA.Json/Publication.js +92 -0
  75. package/ISA/ISA.Json/Study.js +230 -0
  76. package/ISA/ISA.Json/Validation/Fable.js +69 -0
  77. package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +88 -0
  78. package/ISA/ISA.Json/Validation/ValidationResult.js +45 -0
  79. package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +137 -0
  80. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +78 -0
  81. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +59 -0
  82. package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +478 -0
  83. package/ISA/ISA.Spreadsheet/ArcAssay.js +150 -0
  84. package/ISA/ISA.Spreadsheet/ArcInvestigation.js +314 -0
  85. package/ISA/ISA.Spreadsheet/ArcStudy.js +67 -0
  86. package/ISA/ISA.Spreadsheet/CollectionAux.js +128 -0
  87. package/ISA/ISA.Spreadsheet/Metadata/Assays.js +81 -0
  88. package/ISA/ISA.Spreadsheet/Metadata/Comment.js +60 -0
  89. package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +104 -0
  90. package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +180 -0
  91. package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +27 -0
  92. package/ISA/ISA.Spreadsheet/Metadata/Factors.js +85 -0
  93. package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +65 -0
  94. package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +73 -0
  95. package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +116 -0
  96. package/ISA/ISA.Spreadsheet/Metadata/Publication.js +96 -0
  97. package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +451 -0
  98. package/ISA/ISA.Spreadsheet/Metadata/Study.js +260 -0
  99. package/README.md +277 -0
  100. package/SemVer.js +60 -0
  101. package/Templates/Template.Json.js +85 -0
  102. package/Templates/Template.Spreadsheet.js +315 -0
  103. package/Templates/Template.Web.js +27 -0
  104. package/Templates/Template.js +179 -0
  105. package/Templates/Templates.js +82 -0
  106. package/WebRequest/WebRequest.js +38 -0
  107. package/fable_modules/Fable.Fetch.2.6.0/Fable.Fetch.fableproj +21 -0
  108. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs +469 -0
  109. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +111 -0
  110. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
  111. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
  112. package/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +20 -0
  113. package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
  114. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
  115. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
  116. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
  117. package/fable_modules/Fable.SimpleHttp.3.5.0/Fable.SimpleHttp.fableproj +23 -0
  118. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs +357 -0
  119. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +429 -0
  120. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs +52 -0
  121. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +112 -0
  122. package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs +387 -0
  123. package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs.js +240 -0
  124. package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCellsCollection.fs +725 -0
  125. package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCellsCollection.fs.js +522 -0
  126. package/fable_modules/FsSpreadsheet.4.1.0/DSL/CellBuilder.fs +195 -0
  127. package/fable_modules/FsSpreadsheet.4.1.0/DSL/CellBuilder.fs.js +208 -0
  128. package/fable_modules/FsSpreadsheet.4.1.0/DSL/ColumnBuilder.fs +209 -0
  129. package/fable_modules/FsSpreadsheet.4.1.0/DSL/ColumnBuilder.fs.js +137 -0
  130. package/fable_modules/FsSpreadsheet.4.1.0/DSL/DSL.fs +61 -0
  131. package/fable_modules/FsSpreadsheet.4.1.0/DSL/DSL.fs.js +62 -0
  132. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Expression.fs +24 -0
  133. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Expression.fs.js +56 -0
  134. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Operators.fs +102 -0
  135. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Operators.fs.js +6 -0
  136. package/fable_modules/FsSpreadsheet.4.1.0/DSL/RowBuilder.fs +200 -0
  137. package/fable_modules/FsSpreadsheet.4.1.0/DSL/RowBuilder.fs.js +137 -0
  138. package/fable_modules/FsSpreadsheet.4.1.0/DSL/SheetBuilder.fs +139 -0
  139. package/fable_modules/FsSpreadsheet.4.1.0/DSL/SheetBuilder.fs.js +116 -0
  140. package/fable_modules/FsSpreadsheet.4.1.0/DSL/TableBuilder.fs +120 -0
  141. package/fable_modules/FsSpreadsheet.4.1.0/DSL/TableBuilder.fs.js +120 -0
  142. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Transform.fs +229 -0
  143. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Transform.fs.js +421 -0
  144. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Types.fs +151 -0
  145. package/fable_modules/FsSpreadsheet.4.1.0/DSL/Types.fs.js +277 -0
  146. package/fable_modules/FsSpreadsheet.4.1.0/DSL/WorkbookBuilder.fs +114 -0
  147. package/fable_modules/FsSpreadsheet.4.1.0/DSL/WorkbookBuilder.fs.js +104 -0
  148. package/fable_modules/FsSpreadsheet.4.1.0/FsAddress.fs +177 -0
  149. package/fable_modules/FsSpreadsheet.4.1.0/FsAddress.fs.js +249 -0
  150. package/fable_modules/FsSpreadsheet.4.1.0/FsColumn.fs +200 -0
  151. package/fable_modules/FsSpreadsheet.4.1.0/FsColumn.fs.js +125 -0
  152. package/fable_modules/FsSpreadsheet.4.1.0/FsRow.fs +202 -0
  153. package/fable_modules/FsSpreadsheet.4.1.0/FsRow.fs.js +135 -0
  154. package/fable_modules/FsSpreadsheet.4.1.0/FsSpreadsheet.fableproj +58 -0
  155. package/fable_modules/FsSpreadsheet.4.1.0/FsWorkbook.fs +183 -0
  156. package/fable_modules/FsSpreadsheet.4.1.0/FsWorkbook.fs.js +138 -0
  157. package/fable_modules/FsSpreadsheet.4.1.0/FsWorksheet.fs +628 -0
  158. package/fable_modules/FsSpreadsheet.4.1.0/FsWorksheet.fs.js +398 -0
  159. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRange.fs +19 -0
  160. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRange.fs.js +41 -0
  161. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeAddress.fs +222 -0
  162. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeAddress.fs.js +235 -0
  163. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeBase.fs +93 -0
  164. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeBase.fs.js +91 -0
  165. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeColumn.fs +65 -0
  166. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeColumn.fs.js +74 -0
  167. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeRow.fs +22 -0
  168. package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeRow.fs.js +40 -0
  169. package/fable_modules/FsSpreadsheet.4.1.0/SheetBuilder.fs +249 -0
  170. package/fable_modules/FsSpreadsheet.4.1.0/SheetBuilder.fs.js +325 -0
  171. package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTable.fs +455 -0
  172. package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTable.fs.js +310 -0
  173. package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableField.fs +140 -0
  174. package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableField.fs.js +173 -0
  175. package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableRow.fs +6 -0
  176. package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableRow.fs.js +17 -0
  177. package/fable_modules/FsSpreadsheet.4.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  178. package/fable_modules/FsSpreadsheet.4.1.0/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +19 -0
  179. package/fable_modules/FsSpreadsheet.4.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  180. package/fable_modules/FsSpreadsheet.4.1.0/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +19 -0
  181. package/fable_modules/Thoth.Json.10.1.0/Decode.fs +1366 -0
  182. package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +1798 -0
  183. package/fable_modules/Thoth.Json.10.1.0/Encode.fs +621 -0
  184. package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +472 -0
  185. package/fable_modules/Thoth.Json.10.1.0/Extra.fs +31 -0
  186. package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +8 -0
  187. package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +30 -0
  188. package/fable_modules/Thoth.Json.10.1.0/Types.fs +59 -0
  189. package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +98 -0
  190. package/fable_modules/Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs +19 -0
  191. package/fable_modules/Thoth.Json.10.1.0/package.json +5 -0
  192. package/fable_modules/fable-library.4.1.4/Array.d.ts +120 -0
  193. package/fable_modules/fable-library.4.1.4/Array.js +1204 -0
  194. package/fable_modules/fable-library.4.1.4/Async.d.ts +32 -0
  195. package/fable_modules/fable-library.4.1.4/Async.js +158 -0
  196. package/fable_modules/fable-library.4.1.4/AsyncBuilder.d.ts +59 -0
  197. package/fable_modules/fable-library.4.1.4/AsyncBuilder.js +183 -0
  198. package/fable_modules/fable-library.4.1.4/BigInt.d.ts +115 -0
  199. package/fable_modules/fable-library.4.1.4/BigInt.js +282 -0
  200. package/fable_modules/fable-library.4.1.4/BitConverter.d.ts +27 -0
  201. package/fable_modules/fable-library.4.1.4/BitConverter.js +138 -0
  202. package/fable_modules/fable-library.4.1.4/Boolean.d.ts +3 -0
  203. package/fable_modules/fable-library.4.1.4/Boolean.js +21 -0
  204. package/fable_modules/fable-library.4.1.4/Char.d.ts +65 -0
  205. package/fable_modules/fable-library.4.1.4/Char.js +169 -0
  206. package/fable_modules/fable-library.4.1.4/Choice.d.ts +138 -0
  207. package/fable_modules/fable-library.4.1.4/Choice.js +227 -0
  208. package/fable_modules/fable-library.4.1.4/Date.d.ts +70 -0
  209. package/fable_modules/fable-library.4.1.4/Date.js +451 -0
  210. package/fable_modules/fable-library.4.1.4/DateOffset.d.ts +63 -0
  211. package/fable_modules/fable-library.4.1.4/DateOffset.js +268 -0
  212. package/fable_modules/fable-library.4.1.4/DateOnly.d.ts +18 -0
  213. package/fable_modules/fable-library.4.1.4/DateOnly.js +124 -0
  214. package/fable_modules/fable-library.4.1.4/Decimal.d.ts +45 -0
  215. package/fable_modules/fable-library.4.1.4/Decimal.js +212 -0
  216. package/fable_modules/fable-library.4.1.4/Double.d.ts +11 -0
  217. package/fable_modules/fable-library.4.1.4/Double.js +46 -0
  218. package/fable_modules/fable-library.4.1.4/Encoding.d.ts +12 -0
  219. package/fable_modules/fable-library.4.1.4/Encoding.js +173 -0
  220. package/fable_modules/fable-library.4.1.4/Event.d.ts +31 -0
  221. package/fable_modules/fable-library.4.1.4/Event.js +93 -0
  222. package/fable_modules/fable-library.4.1.4/FSharp.Collections.d.ts +7 -0
  223. package/fable_modules/fable-library.4.1.4/FSharp.Collections.js +27 -0
  224. package/fable_modules/fable-library.4.1.4/FSharp.Core.d.ts +17 -0
  225. package/fable_modules/fable-library.4.1.4/FSharp.Core.js +69 -0
  226. package/fable_modules/fable-library.4.1.4/Global.d.ts +24 -0
  227. package/fable_modules/fable-library.4.1.4/Global.js +8 -0
  228. package/fable_modules/fable-library.4.1.4/Guid.d.ts +10 -0
  229. package/fable_modules/fable-library.4.1.4/Guid.js +142 -0
  230. package/fable_modules/fable-library.4.1.4/Int32.d.ts +28 -0
  231. package/fable_modules/fable-library.4.1.4/Int32.js +135 -0
  232. package/fable_modules/fable-library.4.1.4/List.d.ts +143 -0
  233. package/fable_modules/fable-library.4.1.4/List.js +1273 -0
  234. package/fable_modules/fable-library.4.1.4/Long.d.ts +3 -0
  235. package/fable_modules/fable-library.4.1.4/Long.js +46 -0
  236. package/fable_modules/fable-library.4.1.4/MailboxProcessor.d.ts +25 -0
  237. package/fable_modules/fable-library.4.1.4/MailboxProcessor.js +93 -0
  238. package/fable_modules/fable-library.4.1.4/Map.d.ts +178 -0
  239. package/fable_modules/fable-library.4.1.4/Map.js +1396 -0
  240. package/fable_modules/fable-library.4.1.4/MapUtil.d.ts +10 -0
  241. package/fable_modules/fable-library.4.1.4/MapUtil.js +112 -0
  242. package/fable_modules/fable-library.4.1.4/MutableMap.d.ts +52 -0
  243. package/fable_modules/fable-library.4.1.4/MutableMap.js +326 -0
  244. package/fable_modules/fable-library.4.1.4/MutableSet.d.ts +39 -0
  245. package/fable_modules/fable-library.4.1.4/MutableSet.js +232 -0
  246. package/fable_modules/fable-library.4.1.4/Native.d.ts +2 -0
  247. package/fable_modules/fable-library.4.1.4/Native.js +8 -0
  248. package/fable_modules/fable-library.4.1.4/Numeric.d.ts +19 -0
  249. package/fable_modules/fable-library.4.1.4/Numeric.js +71 -0
  250. package/fable_modules/fable-library.4.1.4/Observable.d.ts +32 -0
  251. package/fable_modules/fable-library.4.1.4/Observable.js +113 -0
  252. package/fable_modules/fable-library.4.1.4/Option.d.ts +28 -0
  253. package/fable_modules/fable-library.4.1.4/Option.js +96 -0
  254. package/fable_modules/fable-library.4.1.4/README.md +3 -0
  255. package/fable_modules/fable-library.4.1.4/Random.d.ts +37 -0
  256. package/fable_modules/fable-library.4.1.4/Random.js +170 -0
  257. package/fable_modules/fable-library.4.1.4/Range.d.ts +12 -0
  258. package/fable_modules/fable-library.4.1.4/Range.js +45 -0
  259. package/fable_modules/fable-library.4.1.4/Reflection.d.ts +119 -0
  260. package/fable_modules/fable-library.4.1.4/Reflection.js +461 -0
  261. package/fable_modules/fable-library.4.1.4/RegExp.d.ts +10 -0
  262. package/fable_modules/fable-library.4.1.4/RegExp.js +132 -0
  263. package/fable_modules/fable-library.4.1.4/Seq.d.ts +165 -0
  264. package/fable_modules/fable-library.4.1.4/Seq.js +1379 -0
  265. package/fable_modules/fable-library.4.1.4/Seq2.d.ts +18 -0
  266. package/fable_modules/fable-library.4.1.4/Seq2.js +111 -0
  267. package/fable_modules/fable-library.4.1.4/Set.d.ts +190 -0
  268. package/fable_modules/fable-library.4.1.4/Set.js +1789 -0
  269. package/fable_modules/fable-library.4.1.4/String.d.ts +49 -0
  270. package/fable_modules/fable-library.4.1.4/String.js +540 -0
  271. package/fable_modules/fable-library.4.1.4/System.Collections.Generic.d.ts +71 -0
  272. package/fable_modules/fable-library.4.1.4/System.Collections.Generic.js +307 -0
  273. package/fable_modules/fable-library.4.1.4/System.Text.d.ts +30 -0
  274. package/fable_modules/fable-library.4.1.4/System.Text.js +110 -0
  275. package/fable_modules/fable-library.4.1.4/SystemException.d.ts +5 -0
  276. package/fable_modules/fable-library.4.1.4/SystemException.js +5 -0
  277. package/fable_modules/fable-library.4.1.4/TimeOnly.d.ts +15 -0
  278. package/fable_modules/fable-library.4.1.4/TimeOnly.js +122 -0
  279. package/fable_modules/fable-library.4.1.4/TimeSpan.d.ts +34 -0
  280. package/fable_modules/fable-library.4.1.4/TimeSpan.js +177 -0
  281. package/fable_modules/fable-library.4.1.4/Timer.d.ts +19 -0
  282. package/fable_modules/fable-library.4.1.4/Timer.js +67 -0
  283. package/fable_modules/fable-library.4.1.4/Types.d.ts +58 -0
  284. package/fable_modules/fable-library.4.1.4/Types.js +208 -0
  285. package/fable_modules/fable-library.4.1.4/Unicode.13.0.0.d.ts +2 -0
  286. package/fable_modules/fable-library.4.1.4/Unicode.13.0.0.js +4 -0
  287. package/fable_modules/fable-library.4.1.4/Uri.d.ts +29 -0
  288. package/fable_modules/fable-library.4.1.4/Uri.js +142 -0
  289. package/fable_modules/fable-library.4.1.4/Util.d.ts +187 -0
  290. package/fable_modules/fable-library.4.1.4/Util.js +662 -0
  291. package/fable_modules/fable-library.4.1.4/lib/big.d.ts +338 -0
  292. package/fable_modules/fable-library.4.1.4/lib/big.js +826 -0
  293. package/fable_modules/fable-library.4.1.4/package.json +23 -0
  294. package/fable_modules/project_cracked.json +1 -0
  295. package/index.js +13 -0
  296. package/package.json +24 -0
@@ -0,0 +1,338 @@
1
+ import { some, value as value_1 } from "../../fable_modules/fable-library.4.1.4/Option.js";
2
+ import { isIterable, defaultOf, structuralHash, equals, numberHash, identityHash } from "../../fable_modules/fable-library.4.1.4/Util.js";
3
+ import { exactlyOne, partition, fold } from "../../fable_modules/fable-library.4.1.4/Array.js";
4
+ import { empty, singleton, append, head, tail, isEmpty } from "../../fable_modules/fable-library.4.1.4/List.js";
5
+ import { Dictionary } from "../../fable_modules/fable-library.4.1.4/MutableMap.js";
6
+ import { isEmpty as isEmpty_1, iterate } from "../../fable_modules/fable-library.4.1.4/Seq.js";
7
+ import { tryGetValue, addToDict } from "../../fable_modules/fable-library.4.1.4/MapUtil.js";
8
+ import { Union, toString, FSharpRef } from "../../fable_modules/fable-library.4.1.4/Types.js";
9
+ import { append_generic, distinct_generic, isList_generic, isMap_generic } from "./Fable.js";
10
+ import { union_type, makeUnion, option_type, makeGenericType, getUnionCases, name, obj_type } from "../../fable_modules/fable-library.4.1.4/Reflection.js";
11
+
12
+ export function HashCodes_boxHashOption(a) {
13
+ let copyOfStruct, copyOfStruct_1;
14
+ return (a != null) ? ((copyOfStruct = value_1(a), identityHash(copyOfStruct))) : ((copyOfStruct_1 = 0, numberHash(copyOfStruct_1)));
15
+ }
16
+
17
+ export function HashCodes_boxHashArray(a) {
18
+ return fold((acc, o) => {
19
+ let copyOfStruct;
20
+ return ((-1640531527 + ((copyOfStruct = o, identityHash(copyOfStruct)))) + (acc << 6)) + (acc >> 2);
21
+ }, 0, a);
22
+ }
23
+
24
+ /**
25
+ * If the value matches the default, a None is returned, else a Some is returned
26
+ */
27
+ export function Option_fromValueWithDefault(d, v) {
28
+ if (equals(d, v)) {
29
+ return void 0;
30
+ }
31
+ else {
32
+ return some(v);
33
+ }
34
+ }
35
+
36
+ /**
37
+ * Applies the function f on the value of the option if it exists, else applies it on the default value. If the result value matches the default, a None is returned
38
+ */
39
+ export function Option_mapDefault(d, f, o) {
40
+ return Option_fromValueWithDefault(d, (o == null) ? f(d) : f(value_1(o)));
41
+ }
42
+
43
+ /**
44
+ * Applies the function f on the value of the option if it exists, else returns the default value.
45
+ */
46
+ export function Option_mapOrDefault(d, f, o) {
47
+ if (o == null) {
48
+ return d;
49
+ }
50
+ else {
51
+ return some(f(value_1(o)));
52
+ }
53
+ }
54
+
55
+ export function List_tryPickAndRemove(f, lst) {
56
+ const loop = (newList_mut, remainingList_mut) => {
57
+ loop:
58
+ while (true) {
59
+ const newList = newList_mut, remainingList = remainingList_mut;
60
+ if (!isEmpty(remainingList)) {
61
+ const t = tail(remainingList);
62
+ const h = head(remainingList);
63
+ const matchValue = f(h);
64
+ if (matchValue == null) {
65
+ newList_mut = append(newList, singleton(h));
66
+ remainingList_mut = t;
67
+ continue loop;
68
+ }
69
+ else {
70
+ return [some(value_1(matchValue)), append(newList, t)];
71
+ }
72
+ }
73
+ else {
74
+ return [void 0, newList];
75
+ }
76
+ break;
77
+ }
78
+ };
79
+ return loop(empty(), lst);
80
+ }
81
+
82
+ export function Dict_ofSeq(s) {
83
+ const dict = new Dictionary([], {
84
+ Equals: equals,
85
+ GetHashCode: structuralHash,
86
+ });
87
+ iterate((tupledArg) => {
88
+ addToDict(dict, tupledArg[0], tupledArg[1]);
89
+ }, s);
90
+ return dict;
91
+ }
92
+
93
+ export function Dict_tryFind(key, dict) {
94
+ let patternInput;
95
+ let outArg = defaultOf();
96
+ patternInput = [tryGetValue(dict, key, new FSharpRef(() => outArg, (v) => {
97
+ outArg = v;
98
+ })), outArg];
99
+ if (patternInput[0]) {
100
+ return some(patternInput[1]);
101
+ }
102
+ else {
103
+ return void 0;
104
+ }
105
+ }
106
+
107
+ export function Dict_ofSeqWithMerge(merge, s) {
108
+ const dict = new Dictionary([], {
109
+ Equals: equals,
110
+ GetHashCode: structuralHash,
111
+ });
112
+ iterate((tupledArg) => {
113
+ const k = tupledArg[0];
114
+ const v = tupledArg[1];
115
+ const matchValue = Dict_tryFind(k, dict);
116
+ if (matchValue == null) {
117
+ addToDict(dict, k, v);
118
+ }
119
+ else {
120
+ const v$0027 = value_1(matchValue);
121
+ dict.delete(k);
122
+ addToDict(dict, k, merge(v$0027, v));
123
+ }
124
+ }, s);
125
+ return dict;
126
+ }
127
+
128
+ /**
129
+ * Get the type of the IEnumerable elements. E.g. for Array<'T> it would be 'T
130
+ */
131
+ export function Update_isMapType(v) {
132
+ return isMap_generic(v);
133
+ }
134
+
135
+ export function Update_isListType(v) {
136
+ return isList_generic(v);
137
+ }
138
+
139
+ /**
140
+ * Get the type of the IEnumerable elements. E.g. for Array<'T> it would be 'T
141
+ */
142
+ export function Update_enumGetInnerType(v) {
143
+ return obj_type;
144
+ }
145
+
146
+ /**
147
+ * updates oldRT with newRT by replacing all values, but appending all lists.
148
+ *
149
+ * newRTList@oldRTList
150
+ */
151
+ export function Update_updateAppend(oldVal, newVal) {
152
+ let matchResult, oldInternal, others;
153
+ if (typeof oldVal === "string") {
154
+ matchResult = 0;
155
+ }
156
+ else if (isIterable(oldVal)) {
157
+ let activePatternResult;
158
+ const a = oldVal;
159
+ activePatternResult = ((a == null) ? void 0 : (undefined));
160
+ if (activePatternResult != null) {
161
+ matchResult = 1;
162
+ oldInternal = value_1(activePatternResult);
163
+ }
164
+ else {
165
+ matchResult = 2;
166
+ }
167
+ }
168
+ else {
169
+ let activePatternResult_1;
170
+ const a_1 = oldVal;
171
+ activePatternResult_1 = ((a_1 == null) ? void 0 : (undefined));
172
+ if (activePatternResult_1 != null) {
173
+ matchResult = 1;
174
+ oldInternal = value_1(activePatternResult_1);
175
+ }
176
+ else {
177
+ matchResult = 3;
178
+ others = oldVal;
179
+ }
180
+ }
181
+ switch (matchResult) {
182
+ case 0:
183
+ return newVal;
184
+ case 1:
185
+ if (typeof oldInternal === "string") {
186
+ return newVal;
187
+ }
188
+ else if (isIterable(oldInternal)) {
189
+ let activePatternResult_2;
190
+ const a_2 = newVal;
191
+ activePatternResult_2 = ((a_2 == null) ? void 0 : (undefined));
192
+ if (activePatternResult_2 != null) {
193
+ const newInternal = value_1(activePatternResult_2);
194
+ const v = Update_updateAppend(oldInternal, newInternal);
195
+ const cases_1 = partition((x) => (name(x) === "Some"), getUnionCases(makeGenericType(option_type(obj_type), [obj_type])));
196
+ const patternInput = [exactlyOne(cases_1[0]), [v]];
197
+ return makeUnion(patternInput[0], patternInput[1]);
198
+ }
199
+ else {
200
+ return oldVal;
201
+ }
202
+ }
203
+ else {
204
+ return newVal;
205
+ }
206
+ case 2: {
207
+ const oldSeq = oldVal;
208
+ const newSeq = newVal;
209
+ const innerType = Update_enumGetInnerType(oldVal);
210
+ if (Update_isMapType(oldVal)) {
211
+ return newVal;
212
+ }
213
+ else {
214
+ return distinct_generic(append_generic(oldSeq, newSeq));
215
+ }
216
+ }
217
+ default:
218
+ return newVal;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * updates oldRT with newRT by replacing all values, but only if the new value is not empty.
224
+ */
225
+ export function Update_updateOnlyByExisting(oldVal, newVal) {
226
+ if (equals(newVal, defaultOf())) {
227
+ return oldVal;
228
+ }
229
+ else {
230
+ let activePatternResult;
231
+ const a = oldVal;
232
+ activePatternResult = ((a == null) ? void 0 : (undefined));
233
+ if (activePatternResult != null) {
234
+ const oldInternal = value_1(activePatternResult);
235
+ let activePatternResult_1;
236
+ const a_1 = newVal;
237
+ activePatternResult_1 = ((a_1 == null) ? void 0 : (undefined));
238
+ if (activePatternResult_1 != null) {
239
+ const newInternal = value_1(activePatternResult_1);
240
+ const v = Update_updateOnlyByExisting(oldInternal, newInternal);
241
+ const cases_1 = partition((x) => (name(x) === "Some"), getUnionCases(makeGenericType(option_type(obj_type), [obj_type])));
242
+ const patternInput = [exactlyOne(cases_1[0]), [v]];
243
+ return makeUnion(patternInput[0], patternInput[1]);
244
+ }
245
+ else {
246
+ return oldVal;
247
+ }
248
+ }
249
+ else if (typeof oldVal === "string") {
250
+ const newStr = newVal;
251
+ if (toString(newStr) === "") {
252
+ return oldVal;
253
+ }
254
+ else {
255
+ return newStr;
256
+ }
257
+ }
258
+ else if (isIterable(oldVal)) {
259
+ const newSeq = newVal;
260
+ if (isEmpty_1(newSeq)) {
261
+ return oldVal;
262
+ }
263
+ else {
264
+ return newSeq;
265
+ }
266
+ }
267
+ else {
268
+ return newVal;
269
+ }
270
+ }
271
+ }
272
+
273
+ /**
274
+ * updates oldRT with newRT by replacing all values, but only if the new value is not empty.
275
+ */
276
+ export function Update_updateOnlyByExistingAppend(oldVal, newVal) {
277
+ if (equals(newVal, defaultOf())) {
278
+ return oldVal;
279
+ }
280
+ else {
281
+ let activePatternResult;
282
+ const a = oldVal;
283
+ activePatternResult = ((a == null) ? void 0 : (undefined));
284
+ if (activePatternResult != null) {
285
+ const oldInternal = value_1(activePatternResult);
286
+ let activePatternResult_1;
287
+ const a_1 = newVal;
288
+ activePatternResult_1 = ((a_1 == null) ? void 0 : (undefined));
289
+ if (activePatternResult_1 != null) {
290
+ const newInternal = value_1(activePatternResult_1);
291
+ const v = Update_updateOnlyByExistingAppend(oldInternal, newInternal);
292
+ const cases_1 = partition((x) => (name(x) === "Some"), getUnionCases(makeGenericType(option_type(obj_type), [obj_type])));
293
+ const patternInput = [exactlyOne(cases_1[0]), [v]];
294
+ return makeUnion(patternInput[0], patternInput[1]);
295
+ }
296
+ else {
297
+ return oldVal;
298
+ }
299
+ }
300
+ else if (typeof oldVal === "string") {
301
+ const newStr = newVal;
302
+ if (toString(newStr) === "") {
303
+ return oldVal;
304
+ }
305
+ else {
306
+ return newStr;
307
+ }
308
+ }
309
+ else if (isIterable(oldVal)) {
310
+ const innerType = Update_enumGetInnerType(oldVal);
311
+ if (Update_isMapType(oldVal)) {
312
+ return newVal;
313
+ }
314
+ else {
315
+ return distinct_generic(append_generic(oldVal, newVal));
316
+ }
317
+ }
318
+ else {
319
+ return newVal;
320
+ }
321
+ }
322
+ }
323
+
324
+ export class Update_UpdateOptions extends Union {
325
+ constructor(tag, fields) {
326
+ super();
327
+ this.tag = tag;
328
+ this.fields = fields;
329
+ }
330
+ cases() {
331
+ return ["UpdateAll", "UpdateByExisting", "UpdateAllAppendLists", "UpdateByExistingAppendLists"];
332
+ }
333
+ }
334
+
335
+ export function Update_UpdateOptions_$reflection() {
336
+ return union_type("ARCtrl.ISA.Aux.Update.UpdateOptions", [], Update_UpdateOptions, () => [[], [], [], []]);
337
+ }
338
+
@@ -0,0 +1,76 @@
1
+ import { match, isMatch } from "../../fable_modules/fable-library.4.1.4/RegExp.js";
2
+ import { newGuid } from "../../fable_modules/fable-library.4.1.4/Guid.js";
3
+ import { combineMany } from "../../FileSystem/Path.js";
4
+
5
+ export function checkValidCharacters(identifier) {
6
+ if (!isMatch(/^[a-zA-Z0-9_\- ]+$/gu, identifier)) {
7
+ throw new Error("New identifier contains forbidden characters! Allowed characters are: letters, digits, underscore (_), dash (-) and whitespace ( ).");
8
+ }
9
+ }
10
+
11
+ export function createMissingIdentifier() {
12
+ let copyOfStruct;
13
+ return "MISSING_IDENTIFIER_" + ((copyOfStruct = newGuid(), copyOfStruct));
14
+ }
15
+
16
+ export function isMissingIdentifier(str) {
17
+ return str.indexOf("MISSING_IDENTIFIER_") === 0;
18
+ }
19
+
20
+ export function removeMissingIdentifier(str) {
21
+ if (str.indexOf("MISSING_IDENTIFIER_") === 0) {
22
+ return "";
23
+ }
24
+ else {
25
+ return str;
26
+ }
27
+ }
28
+
29
+ /**
30
+ * On read-in the FileName can be any combination of "assays" (assay folder name), assayIdentifier and "isa.assay.xlsx" (the actual file name).
31
+ *
32
+ * This functions extracts assayIdentifier from any of these combinations and returns it.
33
+ */
34
+ export function Assay_identifierFromFileName(fileName) {
35
+ const m = match(/^(assays(\/|\\))?(?<identifier>[a-zA-Z0-9_\- ]+)((\/|\\)isa.assay.xlsx)?$/gu, fileName);
36
+ const matchValue = m != null;
37
+ if (matchValue) {
38
+ return (m.groups && m.groups.identifier) || "";
39
+ }
40
+ else {
41
+ throw new Error(`Cannot parse identifier from FileName \`${fileName}\``);
42
+ }
43
+ }
44
+
45
+ /**
46
+ * On writing a xlsx file we unify our output to a relative path to ARC root. So: `assays/assayIdentifier/isa.assay.xlsx`.
47
+ */
48
+ export function Assay_fileNameFromIdentifier(identifier) {
49
+ checkValidCharacters(identifier);
50
+ return combineMany(["assays", identifier, "isa.assay.xlsx"]);
51
+ }
52
+
53
+ /**
54
+ * On read-in the FileName can be any combination of "studies" (study folder name), studyIdentifier and "isa.study.xlsx" (the actual file name).
55
+ *
56
+ * This functions extracts studyIdentifier from any of these combinations and returns it.
57
+ */
58
+ export function Study_identifierFromFileName(fileName) {
59
+ const m = match(/^(studies(\/|\\))?(?<identifier>[a-zA-Z0-9_\- ]+)((\/|\\)isa.study.xlsx)?$/gu, fileName);
60
+ const matchValue = m != null;
61
+ if (matchValue) {
62
+ return (m.groups && m.groups.identifier) || "";
63
+ }
64
+ else {
65
+ throw new Error(`Cannot parse identifier from FileName \`${fileName}\``);
66
+ }
67
+ }
68
+
69
+ /**
70
+ * On writing a xlsx file we unify our output to a relative path to ARC root. So: `studies/studyIdentifier/isa.study.xlsx`.
71
+ */
72
+ export function Study_fileNameFromIdentifier(identifier) {
73
+ checkValidCharacters(identifier);
74
+ return combineMany(["studies", identifier, "isa.study.xlsx"]);
75
+ }
76
+
@@ -0,0 +1,56 @@
1
+ import { Union } from "../../../fable_modules/fable-library.4.1.4/Types.js";
2
+ import { union_type, int32_type, float64_type, string_type } from "../../../fable_modules/fable-library.4.1.4/Reflection.js";
3
+ import { parse } from "../../../fable_modules/fable-library.4.1.4/Double.js";
4
+ import { parse as parse_1 } from "../../../fable_modules/fable-library.4.1.4/Int32.js";
5
+ import { int32ToString } from "../../../fable_modules/fable-library.4.1.4/Util.js";
6
+
7
+ export class AnnotationValue extends Union {
8
+ constructor(tag, fields) {
9
+ super();
10
+ this.tag = tag;
11
+ this.fields = fields;
12
+ }
13
+ cases() {
14
+ return ["Text", "Float", "Int"];
15
+ }
16
+ }
17
+
18
+ export function AnnotationValue_$reflection() {
19
+ return union_type("ARCtrl.ISA.AnnotationValue", [], AnnotationValue, () => [[["Item", string_type]], [["Item", float64_type]], [["Item", int32_type]]]);
20
+ }
21
+
22
+ export function AnnotationValue_get_empty() {
23
+ return new AnnotationValue(0, [""]);
24
+ }
25
+
26
+ /**
27
+ * Create a ISAJson Annotation value from a ISATab string entry
28
+ */
29
+ export function AnnotationValue_fromString_Z721C83C5(s) {
30
+ try {
31
+ return new AnnotationValue(2, [parse_1(s, 511, false, 32)]);
32
+ }
33
+ catch (matchValue) {
34
+ try {
35
+ return new AnnotationValue(1, [parse(s)]);
36
+ }
37
+ catch (matchValue_1) {
38
+ return new AnnotationValue(0, [s]);
39
+ }
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Get a ISATab string Annotation Name from a ISAJson object
45
+ */
46
+ export function AnnotationValue_toString_Z6FAD7738(v) {
47
+ switch (v.tag) {
48
+ case 2:
49
+ return int32ToString(v.fields[0]);
50
+ case 1:
51
+ return v.fields[0].toString();
52
+ default:
53
+ return v.fields[0];
54
+ }
55
+ }
56
+