@nfdi4plants/arctrl 3.2.3 → 3.3.1

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 (454) hide show
  1. package/dist/ts/index.d.ts +44 -7
  2. package/dist/ts/index.d.ts.map +1 -1
  3. package/dist/ts/index.js +45 -8
  4. package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
  5. package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
  6. package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
  7. package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
  8. package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
  9. package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
  10. package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
  11. package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
  12. package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
  13. package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
  14. package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
  15. package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
  16. package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
  17. package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
  18. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
  19. package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
  20. package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
  21. package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
  22. package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
  23. package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
  24. package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
  25. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
  26. package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
  27. package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
  28. package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
  29. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
  30. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
  31. package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
  32. package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
  33. package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
  34. package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
  35. package/dist/ts/ts/ARC.d.ts +19 -2
  36. package/dist/ts/ts/ARC.d.ts.map +1 -1
  37. package/dist/ts/ts/ARC.js +128 -89
  38. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
  39. package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
  40. package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
  41. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
  42. package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
  43. package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
  44. package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
  45. package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
  46. package/dist/ts/ts/CWL/CWLTypes.js +887 -201
  47. package/dist/ts/ts/CWL/Decode.d.ts +480 -211
  48. package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
  49. package/dist/ts/ts/CWL/Decode.js +3614 -2462
  50. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
  51. package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
  52. package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
  53. package/dist/ts/ts/CWL/Encode.d.ts +225 -85
  54. package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
  55. package/dist/ts/ts/CWL/Encode.js +1858 -970
  56. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
  57. package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
  58. package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
  59. package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
  60. package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
  61. package/dist/ts/ts/CWL/HashHelpers.js +255 -6
  62. package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
  63. package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
  64. package/dist/ts/ts/CWL/Inputs.js +107 -16
  65. package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
  66. package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
  67. package/dist/ts/ts/CWL/OperationDescription.js +35 -9
  68. package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
  69. package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
  70. package/dist/ts/ts/CWL/Outputs.js +101 -19
  71. package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
  72. package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
  73. package/dist/ts/ts/CWL/ParameterReference.js +18 -25
  74. package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
  75. package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
  76. package/dist/ts/ts/CWL/ParameterValue.js +59 -35
  77. package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
  78. package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
  79. package/dist/ts/ts/CWL/Requirements.js +462 -89
  80. package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
  81. package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
  82. package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
  83. package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
  84. package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
  85. package/dist/ts/ts/CWL/ToolDescription.js +34 -13
  86. package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
  87. package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
  88. package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
  89. package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
  90. package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
  91. package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
  92. package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
  93. package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
  94. package/dist/ts/ts/CWLRunResolver.js +221 -86
  95. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  96. package/dist/ts/ts/Contract/ARC.js +13 -14
  97. package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
  98. package/dist/ts/ts/Contract/ArcAssay.js +4 -4
  99. package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
  100. package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
  101. package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
  102. package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
  103. package/dist/ts/ts/Contract/ArcRun.js +47 -20
  104. package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
  105. package/dist/ts/ts/Contract/ArcStudy.js +4 -4
  106. package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
  107. package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
  108. package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
  109. package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
  110. package/dist/ts/ts/Contract/Datamap.js +16 -17
  111. package/dist/ts/ts/Contract/Git.js +1 -1
  112. package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
  113. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
  114. package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
  115. package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
  116. package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
  117. package/dist/ts/ts/Conversion/Assay.js +26 -18
  118. package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
  119. package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
  120. package/dist/ts/ts/Conversion/Basic.js +55 -31
  121. package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
  122. package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
  123. package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
  124. package/dist/ts/ts/Conversion/DateTime.js +1 -2
  125. package/dist/ts/ts/Conversion/Investigation.js +11 -11
  126. package/dist/ts/ts/Conversion/Person.js +11 -11
  127. package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
  128. package/dist/ts/ts/Conversion/Process.js +107 -86
  129. package/dist/ts/ts/Conversion/Run.d.ts +36 -6
  130. package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
  131. package/dist/ts/ts/Conversion/Run.js +320 -136
  132. package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
  133. package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
  134. package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
  135. package/dist/ts/ts/Conversion/Study.js +23 -12
  136. package/dist/ts/ts/Conversion/Table.js +5 -5
  137. package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
  138. package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
  139. package/dist/ts/ts/Conversion/Workflow.js +655 -163
  140. package/dist/ts/ts/Conversion.js +6 -6
  141. package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
  142. package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
  143. package/dist/ts/ts/Core/ArcTypes.js +219 -129
  144. package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
  145. package/dist/ts/ts/Core/Comment.js +2 -2
  146. package/dist/ts/ts/Core/CommentList.js +7 -7
  147. package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
  148. package/dist/ts/ts/Core/Conversion.js +41 -41
  149. package/dist/ts/ts/Core/Data.d.ts.map +1 -1
  150. package/dist/ts/ts/Core/Data.js +14 -11
  151. package/dist/ts/ts/Core/DataContext.d.ts +1 -1
  152. package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
  153. package/dist/ts/ts/Core/DataContext.js +4 -4
  154. package/dist/ts/ts/Core/DataFile.d.ts +11 -8
  155. package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
  156. package/dist/ts/ts/Core/DataFile.js +55 -61
  157. package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
  158. package/dist/ts/ts/Core/Datamap.js +2 -3
  159. package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
  160. package/dist/ts/ts/Core/Helper/Collections.js +2 -4
  161. package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
  162. package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
  163. package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
  164. package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
  165. package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
  166. package/dist/ts/ts/Core/Helper/Regex.js +52 -53
  167. package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
  168. package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
  169. package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
  170. package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
  171. package/dist/ts/ts/Core/Helper/Url.js +1 -1
  172. package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
  173. package/dist/ts/ts/Core/Person.d.ts.map +1 -1
  174. package/dist/ts/ts/Core/Person.js +2 -2
  175. package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
  176. package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
  177. package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
  178. package/dist/ts/ts/Core/Process/Component.js +22 -22
  179. package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
  180. package/dist/ts/ts/Core/Process/Factor.js +7 -7
  181. package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
  182. package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
  183. package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
  184. package/dist/ts/ts/Core/Process/Material.js +2 -2
  185. package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
  186. package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
  187. package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
  188. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
  189. package/dist/ts/ts/Core/Process/Process.js +21 -21
  190. package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
  191. package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
  192. package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
  193. package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
  194. package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
  195. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
  196. package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
  197. package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
  198. package/dist/ts/ts/Core/Process/Protocol.js +9 -9
  199. package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
  200. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
  201. package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
  202. package/dist/ts/ts/Core/Publication.js +3 -3
  203. package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
  204. package/dist/ts/ts/Core/ScalarValue.js +9 -13
  205. package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
  206. package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
  207. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
  208. package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
  209. package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
  210. package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
  211. package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
  212. package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
  213. package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
  214. package/dist/ts/ts/Core/Templates.js +2 -2
  215. package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
  216. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  217. package/dist/ts/ts/FileSystem/Path.js +37 -19
  218. package/dist/ts/ts/Json/Assay.js +22 -22
  219. package/dist/ts/ts/Json/Comment.js +9 -9
  220. package/dist/ts/ts/Json/Data.d.ts.map +1 -1
  221. package/dist/ts/ts/Json/Data.js +11 -11
  222. package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
  223. package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
  224. package/dist/ts/ts/Json/Decode.js +3 -5
  225. package/dist/ts/ts/Json/Encode.js +2 -2
  226. package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
  227. package/dist/ts/ts/Json/Investigation.js +20 -20
  228. package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
  229. package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
  230. package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
  231. package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
  232. package/dist/ts/ts/Json/Person.d.ts.map +1 -1
  233. package/dist/ts/ts/Json/Person.js +20 -20
  234. package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
  235. package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
  236. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  237. package/dist/ts/ts/Json/Process/Component.js +5 -6
  238. package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
  239. package/dist/ts/ts/Json/Process/Factor.js +7 -7
  240. package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
  241. package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
  242. package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
  243. package/dist/ts/ts/Json/Process/Material.js +9 -10
  244. package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
  245. package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
  246. package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
  247. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
  248. package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
  249. package/dist/ts/ts/Json/Process/Process.js +8 -9
  250. package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
  251. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
  252. package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
  253. package/dist/ts/ts/Json/Process/Protocol.js +17 -17
  254. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  255. package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
  256. package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
  257. package/dist/ts/ts/Json/Process/Sample.js +9 -9
  258. package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
  259. package/dist/ts/ts/Json/Process/Source.js +10 -11
  260. package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
  261. package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
  262. package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
  263. package/dist/ts/ts/Json/PropertyValue.js +24 -24
  264. package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
  265. package/dist/ts/ts/Json/Publication.js +10 -10
  266. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
  267. package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
  268. package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
  269. package/dist/ts/ts/Json/Run.js +9 -9
  270. package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
  271. package/dist/ts/ts/Json/StringTable.js +4 -7
  272. package/dist/ts/ts/Json/Study.js +20 -20
  273. package/dist/ts/ts/Json/Table/CellTable.js +1 -2
  274. package/dist/ts/ts/Json/Table/OATable.js +1 -2
  275. package/dist/ts/ts/Json/Workflow.js +9 -9
  276. package/dist/ts/ts/Json.d.ts +121 -1
  277. package/dist/ts/ts/Json.d.ts.map +1 -1
  278. package/dist/ts/ts/Json.js +310 -2
  279. package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
  280. package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
  281. package/dist/ts/ts/JsonIO/Comment.js +67 -0
  282. package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
  283. package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
  284. package/dist/ts/ts/JsonIO/Data.js +49 -0
  285. package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
  286. package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
  287. package/dist/ts/ts/JsonIO/DataFile.js +48 -0
  288. package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
  289. package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
  290. package/dist/ts/ts/JsonIO/LDObject.js +173 -17
  291. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
  292. package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
  293. package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
  294. package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
  295. package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
  296. package/dist/ts/ts/JsonIO/Publication.js +68 -0
  297. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
  298. package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
  299. package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
  300. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
  301. package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
  302. package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
  303. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
  304. package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
  305. package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
  306. package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
  307. package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
  308. package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
  309. package/dist/ts/ts/License.d.ts.map +1 -1
  310. package/dist/ts/ts/License.js +6 -6
  311. package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
  312. package/dist/ts/ts/ROCrate/LDContext.js +31 -39
  313. package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
  314. package/dist/ts/ts/ROCrate/LDObject.js +56 -49
  315. package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
  316. package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
  317. package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
  318. package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
  319. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
  320. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
  321. package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
  322. package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
  323. package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
  324. package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
  325. package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
  326. package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
  327. package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
  328. package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
  329. package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
  330. package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
  331. package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
  332. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +11 -0
  333. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
  334. package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +61 -50
  335. package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
  336. package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
  337. package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
  338. package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
  339. package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
  340. package/dist/ts/ts/ROCrateIO.d.ts +18 -4
  341. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  342. package/dist/ts/ts/ROCrateIO.js +49 -38
  343. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
  344. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
  345. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
  346. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
  347. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
  348. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
  349. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
  350. package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
  351. package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
  352. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
  353. package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
  354. package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
  355. package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
  356. package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
  357. package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
  358. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
  359. package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
  360. package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
  361. package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
  362. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
  363. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
  364. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
  365. package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
  366. package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
  367. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  368. package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
  369. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
  370. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
  371. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  372. package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
  373. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
  374. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
  375. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
  376. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
  377. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
  378. package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
  379. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
  380. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
  381. package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
  382. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
  383. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
  384. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
  385. package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
  386. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
  387. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
  388. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  389. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
  390. package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
  391. package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
  392. package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
  393. package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
  394. package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
  395. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
  396. package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
  397. package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
  398. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
  399. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
  400. package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
  401. package/dist/ts/ts/Xlsx.js +3 -3
  402. package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
  403. package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
  404. package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
  405. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
  406. package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
  407. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
  408. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
  409. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
  410. package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
  411. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
  412. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
  413. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
  414. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
  415. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
  416. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
  417. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
  418. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
  419. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
  420. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
  421. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
  422. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
  423. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
  424. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
  425. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
  426. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
  427. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
  428. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
  429. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
  430. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
  431. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
  432. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
  433. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
  434. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
  435. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
  436. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
  437. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
  438. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
  439. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
  440. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
  441. package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
  442. package/package.json +5 -4
  443. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
  444. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
  445. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
  446. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
  447. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
  448. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
  449. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
  450. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
  451. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
  452. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
  453. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
  454. package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
@@ -4,7 +4,7 @@ import { setItem, item } from './Array.js';
4
4
  import { some } from './Option.js';
5
5
  import { FSharpRef } from './Types.js';
6
6
  import { class_type } from './Reflection.js';
7
- import { tryGetValue, getItemFromDict } from './MapUtil.js';
7
+ import { getItemFromDict } from './MapUtil.js';
8
8
 
9
9
  class HashSet {
10
10
  constructor(items, comparer) {
@@ -12,6 +12,7 @@ class HashSet {
12
12
  this.comparer = comparer;
13
13
  this$.contents = this;
14
14
  this.hashMap = /* @__PURE__ */ new Map([]);
15
+ this.count = 0;
15
16
  this["init@9"] = 1;
16
17
  const enumerator = getEnumerator(items);
17
18
  try {
@@ -116,36 +117,36 @@ function HashSet_$reflection(gen0) {
116
117
  function HashSet_$ctor_Z6150332D(items, comparer) {
117
118
  return new HashSet(items, comparer);
118
119
  }
119
- function HashSet__TryFindIndex_2B595(this$, k) {
120
- const h = this$.comparer.GetHashCode(k) | 0;
121
- let matchValue;
122
- let outArg = defaultOf();
123
- matchValue = [tryGetValue(this$.hashMap, h, new FSharpRef(() => outArg, (v) => {
124
- outArg = v;
125
- })), outArg];
126
- if (matchValue[0]) {
127
- return [true, h, matchValue[1].findIndex((v_1) => this$.comparer.Equals(k, v_1))];
120
+ function HashSet__TryFindBucket_Z524259A4(this$, h) {
121
+ if (this$.hashMap.has(h)) {
122
+ return getItemFromDict(this$.hashMap, h);
128
123
  } else {
129
- return [false, h, -1];
124
+ return void 0;
130
125
  }
131
126
  }
132
- function HashSet__TryFind_2B595(this$, k) {
133
- const matchValue = HashSet__TryFindIndex_2B595(this$, k);
134
- let matchResult = void 0;
135
- if (matchValue[0]) {
136
- if (matchValue[2] > -1) {
137
- matchResult = 0;
138
- } else {
139
- matchResult = 1;
127
+ function HashSet__FindIndex_Z142BBCA7(this$, k, bucket) {
128
+ let i = 0;
129
+ let found = -1;
130
+ while (found < 0 && i < bucket.length) {
131
+ if (this$.comparer.Equals(k, item(i, bucket))) {
132
+ found = i | 0;
140
133
  }
141
- } else {
142
- matchResult = 1;
134
+ i = i + 1 | 0;
143
135
  }
144
- switch (matchResult) {
145
- case 0:
146
- return some(item(matchValue[2], getItemFromDict(this$.hashMap, matchValue[1])));
147
- default:
136
+ return found | 0;
137
+ }
138
+ function HashSet__TryFind_2B595(this$, k) {
139
+ const matchValue = HashSet__TryFindBucket_Z524259A4(this$, this$.comparer.GetHashCode(k));
140
+ if (matchValue == null) {
141
+ return void 0;
142
+ } else {
143
+ const bucket = matchValue;
144
+ const i = HashSet__FindIndex_Z142BBCA7(this$, k, bucket) | 0;
145
+ if (i > -1) {
146
+ return some(item(i, bucket));
147
+ } else {
148
148
  return void 0;
149
+ }
149
150
  }
150
151
  }
151
152
  function HashSet__get_Comparer(this$) {
@@ -153,76 +154,55 @@ function HashSet__get_Comparer(this$) {
153
154
  }
154
155
  function HashSet__Clear(this$) {
155
156
  this$.hashMap.clear();
157
+ this$.count = 0;
156
158
  }
157
159
  function HashSet__get_Count(this$) {
158
- let count = 0;
159
- let enumerator = getEnumerator(this$.hashMap.values());
160
- try {
161
- while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
162
- const items = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
163
- count = count + items.length | 0;
164
- }
165
- } finally {
166
- disposeSafe(enumerator);
167
- }
168
- return count | 0;
160
+ return this$.count | 0;
169
161
  }
170
162
  function HashSet__Add_2B595(this$, k) {
171
- const matchValue = HashSet__TryFindIndex_2B595(this$, k);
172
- if (matchValue[0]) {
173
- if (matchValue[2] > -1) {
163
+ const h = this$.comparer.GetHashCode(k) | 0;
164
+ const matchValue = HashSet__TryFindBucket_Z524259A4(this$, h);
165
+ if (matchValue == null) {
166
+ this$.hashMap.set(h, [k]);
167
+ this$.count = this$.count + 1 | 0;
168
+ return true;
169
+ } else {
170
+ const bucket = matchValue;
171
+ if (HashSet__FindIndex_Z142BBCA7(this$, k, bucket) > -1) {
174
172
  return false;
175
173
  } else {
176
- void getItemFromDict(this$.hashMap, matchValue[1]).push(k);
174
+ void bucket.push(k);
175
+ this$.count = this$.count + 1 | 0;
177
176
  return true;
178
177
  }
179
- } else {
180
- this$.hashMap.set(matchValue[1], [k]);
181
- return true;
182
178
  }
183
179
  }
184
180
  function HashSet__Contains_2B595(this$, k) {
185
- const matchValue = HashSet__TryFindIndex_2B595(this$, k);
186
- let matchResult = void 0;
187
- if (matchValue[0]) {
188
- if (matchValue[2] > -1) {
189
- matchResult = 0;
190
- } else {
191
- matchResult = 1;
192
- }
181
+ const matchValue = HashSet__TryFindBucket_Z524259A4(this$, this$.comparer.GetHashCode(k));
182
+ if (matchValue == null) {
183
+ return false;
193
184
  } else {
194
- matchResult = 1;
195
- }
196
- switch (matchResult) {
197
- case 0:
198
- return true;
199
- default:
200
- return false;
185
+ return HashSet__FindIndex_Z142BBCA7(this$, k, matchValue) > -1;
201
186
  }
202
187
  }
203
188
  function HashSet__Remove_2B595(this$, k) {
204
- const matchValue = HashSet__TryFindIndex_2B595(this$, k);
205
- let matchResult = void 0;
206
- if (matchValue[0]) {
207
- if (matchValue[2] > -1) {
208
- matchResult = 0;
209
- } else {
210
- matchResult = 1;
211
- }
189
+ const h = this$.comparer.GetHashCode(k) | 0;
190
+ const matchValue = HashSet__TryFindBucket_Z524259A4(this$, h);
191
+ if (matchValue == null) {
192
+ return false;
212
193
  } else {
213
- matchResult = 1;
214
- }
215
- switch (matchResult) {
216
- case 0: {
217
- const h_1 = matchValue[1] | 0;
218
- getItemFromDict(this$.hashMap, h_1).splice(matchValue[2], 1);
219
- if (getItemFromDict(this$.hashMap, h_1).length === 0) {
220
- this$.hashMap.delete(h_1);
194
+ const bucket = matchValue;
195
+ const i = HashSet__FindIndex_Z142BBCA7(this$, k, bucket) | 0;
196
+ if (i > -1) {
197
+ bucket.splice(i, 1);
198
+ this$.count = this$.count - 1 | 0;
199
+ if (bucket.length === 0) {
200
+ this$.hashMap.delete(h);
221
201
  }
222
202
  return true;
223
- }
224
- default:
203
+ } else {
225
204
  return false;
205
+ }
226
206
  }
227
207
  }
228
208
 
@@ -0,0 +1,54 @@
1
+ import { Exception } from './Util.js';
2
+
3
+ const NumberStyles = {
4
+ None: 0,
5
+ AllowLeadingWhite: 1,
6
+ AllowTrailingWhite: 2,
7
+ AllowLeadingSign: 4,
8
+ AllowTrailingSign: 8,
9
+ AllowParentheses: 16,
10
+ AllowDecimalPoint: 32,
11
+ AllowThousands: 64,
12
+ AllowExponent: 128,
13
+ AllowHexSpecifier: 512,
14
+ Integer: 7,
15
+ Number: 111,
16
+ Float: 167
17
+ };
18
+ function digitsPattern(style) {
19
+ const integral = style & NumberStyles.AllowThousands ? "\\d+(?:,\\d*)*" : "\\d+";
20
+ const point = style & NumberStyles.AllowDecimalPoint ? "(?:\\.\\d*)?" : "";
21
+ const leadingPoint = style & NumberStyles.AllowDecimalPoint ? "|\\.\\d+" : "";
22
+ const exponent = style & NumberStyles.AllowExponent ? "(?:[eE][+-]?\\d+)?" : "";
23
+ return new RegExp(`^(?:${integral}${point}${leadingPoint})${exponent}$`);
24
+ }
25
+ function splitNumber(str, style) {
26
+ if (style & NumberStyles.AllowHexSpecifier) {
27
+ throw new Exception("The number style AllowHexSpecifier is not supported on floating point data types.");
28
+ }
29
+ let s = str.replace(/\0+$/, "");
30
+ if (style & NumberStyles.AllowLeadingWhite) {
31
+ s = s.replace(/^[\t-\r ]+/, "");
32
+ }
33
+ if (style & NumberStyles.AllowTrailingWhite) {
34
+ s = s.replace(/[\t-\r ]+$/, "");
35
+ }
36
+ let negative = false;
37
+ if (style & NumberStyles.AllowParentheses && s.startsWith("(") && s.endsWith(")")) {
38
+ s = s.slice(1, -1);
39
+ negative = true;
40
+ }
41
+ if (style & NumberStyles.AllowLeadingSign && /^[+-]/.test(s)) {
42
+ negative = s[0] === "-" ? !negative : negative;
43
+ s = s.slice(1);
44
+ } else if (style & NumberStyles.AllowTrailingSign && /[+-]$/.test(s)) {
45
+ negative = s[s.length - 1] === "-" ? !negative : negative;
46
+ s = s.slice(0, -1);
47
+ }
48
+ if (!digitsPattern(style).test(s)) {
49
+ return void 0;
50
+ }
51
+ return { digits: s.replace(/,/g, ""), negative };
52
+ }
53
+
54
+ export { NumberStyles, splitNumber };
@@ -80,14 +80,19 @@ function toExponential(x, dp) {
80
80
  return x[symbol]().toExponential(dp);
81
81
  }
82
82
  }
83
- function toHex(x) {
83
+ function toRadix(x, radix) {
84
84
  if (typeof x === "number") {
85
- return (Number(x) >>> 0).toString(16);
85
+ return (Number(x) >>> 0).toString(radix);
86
86
  } else if (typeof x === "bigint") {
87
- return BigInt.asUintN(64, x).toString(16);
88
- } else {
87
+ return BigInt.asUintN(64, x).toString(radix);
88
+ } else if (radix === 16) {
89
89
  return x[symbol]().toHex();
90
+ } else {
91
+ return String(x);
90
92
  }
91
93
  }
94
+ function toHex(x) {
95
+ return toRadix(x, 16);
96
+ }
92
97
 
93
- export { compare, divide, isIntegral, isNumeric, multiply, symbol, toExponential, toFixed, toHex, toPrecision };
98
+ export { compare, divide, isIntegral, isNumeric, multiply, symbol, toExponential, toFixed, toHex, toPrecision, toRadix };
@@ -1,5 +1,4 @@
1
1
  import { ArgumentOutOfRangeException_$ctor_Z721C83C5, ArgumentNullException_$ctor_Z721C83C5 } from './System.js';
2
- import { Operators_IsNull } from './FSharp.Core.js';
3
2
  import { class_type } from './Reflection.js';
4
3
  import { toInt64_unchecked, fromInt32, compare, toFloat64, toInt32_unchecked, op_Addition, fromFloat64 } from './BigInt.js';
5
4
  import { item, setItem } from './Array.js';
@@ -14,7 +13,7 @@ function Native_randomNext(minValue, maxValue) {
14
13
  return Math.floor(Math.random() * (maxValue - minValue)) + minValue;
15
14
  }
16
15
  function Native_randomBytes(buffer) {
17
- if (Operators_IsNull(buffer)) {
16
+ if (buffer == null) {
18
17
  throw ArgumentNullException_$ctor_Z721C83C5("buffer");
19
18
  }
20
19
  for (let i = 0; i < buffer.length; i += 6) {
@@ -113,11 +112,11 @@ class Seeded {
113
112
  }
114
113
  NextBytes(buffer) {
115
114
  const this$ = this;
116
- if (Operators_IsNull(buffer)) {
115
+ if (buffer == null) {
117
116
  throw ArgumentNullException_$ctor_Z721C83C5("buffer");
118
117
  }
119
118
  for (let i = 0; i <= buffer.length - 1; i++) {
120
- setItem(buffer, i, Seeded__InternalSample(this$) % (~~255 + 1) & 255);
119
+ setItem(buffer, i, ~~(Seeded__InternalSample(this$) % (~~255 + 1)) & 255);
121
120
  }
122
121
  }
123
122
  }
@@ -1,4 +1,5 @@
1
- import { compare, Exception } from './Util.js';
1
+ import { compare } from './Util.js';
2
+ import { Operators_InvalidArg } from './FSharp.Core.js';
2
3
  import { delay, unfold } from './Seq.js';
3
4
  import { fromZero, op_Addition, toInt64_unchecked, toUInt64_unchecked } from './BigInt.js';
4
5
  import { fromParts, op_Addition as op_Addition$1 } from './Decimal.js';
@@ -6,7 +7,7 @@ import { fromParts, op_Addition as op_Addition$1 } from './Decimal.js';
6
7
  function makeRangeStepFunction(step, stop, zero, add) {
7
8
  const stepComparedWithZero = compare(step, zero) | 0;
8
9
  if (stepComparedWithZero === 0) {
9
- throw new Exception("The step of a range cannot be zero");
10
+ throw Operators_InvalidArg("step", "The step of a range cannot be zero.");
10
11
  }
11
12
  const stepGreaterThanZero = stepComparedWithZero > 0;
12
13
  return (x) => {
@@ -37,7 +38,7 @@ function rangeChar(start, stop) {
37
38
  const intStop = ~~stop.charCodeAt(0) | 0;
38
39
  return delay(() => unfold((i) => {
39
40
  if (i <= intStop) {
40
- return [String.fromCharCode(i & 65535), i + 1];
41
+ return [String.fromCharCode(~~i & 65535), i + 1];
41
42
  } else {
42
43
  return void 0;
43
44
  }
@@ -1,8 +1,8 @@
1
1
  import { Exception } from './Util.js';
2
2
 
3
3
  function create(pattern, options2 = 0) {
4
- if ((options2 & ~(1 ^ 2 ^ 8 ^ 16 ^ 256)) !== 0) {
5
- throw new Exception("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");
4
+ if ((options2 & ~(1 ^ 2 ^ 8 ^ 16 ^ 256 ^ 1024)) !== 0) {
5
+ throw new Exception("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline, ECMAScript and NonBacktracking");
6
6
  }
7
7
  let flags = "gu";
8
8
  flags += options2 & 1 ? "i" : "";