@nfdi4plants/arctrl 3.2.2 → 3.3.0
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.
- package/README.md +0 -64
- package/dist/ts/index.d.ts +44 -7
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +45 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
- package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
- package/dist/ts/ts/ARC.d.ts +22 -5
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +282 -185
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
- package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +887 -201
- package/dist/ts/ts/CWL/Decode.d.ts +480 -211
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +3614 -2462
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
- package/dist/ts/ts/CWL/Encode.d.ts +225 -85
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +1858 -970
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
- package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +255 -6
- package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +107 -16
- package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +35 -9
- package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +101 -19
- package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +18 -25
- package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterValue.js +59 -35
- package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +462 -89
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +34 -13
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
- package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +221 -86
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +13 -14
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +4 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
- package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +47 -20
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +4 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +16 -17
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
- package/dist/ts/ts/ContractIO/ContractIO.d.ts +7 -0
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +95 -18
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -0
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +12 -5
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +26 -18
- package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +55 -31
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +1 -2
- package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Investigation.js +15 -14
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts +4 -2
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +134 -97
- package/dist/ts/ts/Conversion/Run.d.ts +36 -6
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +320 -136
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +23 -12
- package/dist/ts/ts/Conversion/Table.d.ts +3 -2
- package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Table.js +8 -8
- package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +655 -163
- package/dist/ts/ts/Conversion.js +6 -6
- package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +219 -129
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +2 -2
- package/dist/ts/ts/Core/CommentList.js +7 -7
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +68 -59
- package/dist/ts/ts/Core/Data.d.ts +6 -0
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +32 -12
- package/dist/ts/ts/Core/DataContext.d.ts +1 -1
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +4 -4
- package/dist/ts/ts/Core/DataFile.d.ts +11 -8
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +55 -61
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +2 -3
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +2 -4
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +52 -53
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +2 -2
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +22 -22
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +7 -7
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +2 -2
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
- package/dist/ts/ts/Core/Process/Process.js +21 -21
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
- package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +9 -9
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +3 -3
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/ScalarValue.js +9 -13
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +59 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts +4 -0
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeCell.js +39 -2
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +2 -2
- package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +37 -19
- package/dist/ts/ts/Json/Assay.js +22 -22
- package/dist/ts/ts/Json/Comment.js +9 -9
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +11 -11
- package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +3 -5
- package/dist/ts/ts/Json/Encode.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +20 -20
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +20 -20
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +5 -6
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +7 -7
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +9 -10
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +8 -9
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +17 -17
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +9 -9
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +10 -11
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +24 -24
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +10 -10
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
- package/dist/ts/ts/Json/Run.js +9 -9
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +4 -7
- package/dist/ts/ts/Json/Study.js +20 -20
- package/dist/ts/ts/Json/Table/CellTable.js +1 -2
- package/dist/ts/ts/Json/Table/OATable.js +1 -2
- package/dist/ts/ts/Json/Workflow.js +9 -9
- package/dist/ts/ts/Json.d.ts +121 -1
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +310 -2
- package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Comment.js +67 -0
- package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Data.js +49 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/DataFile.js +48 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +173 -17
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Publication.js +68 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +6 -6
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +31 -39
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +56 -49
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +18 -4
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +49 -38
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +10 -12
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
- package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +8 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +8 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +18 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +4 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -8
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +5 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +2 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +7 -9
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +6 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +9 -11
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -12
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +7 -9
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
- package/dist/ts/ts/Xlsx.js +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
- package/package.json +5 -4
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { concat } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
2
2
|
import { match, create } from '../../../node_modules/@fable-org/fable-library-ts/RegExp.js';
|
|
3
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { parse } from '../../../node_modules/@fable-org/fable-library-ts/Int32.js';
|
|
5
4
|
import { Exception } from '../../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
6
5
|
|
|
@@ -27,7 +26,7 @@ function ActivePatterns_$007CRegex$007C_$007C(pattern, input) {
|
|
|
27
26
|
function ActivePatterns_$007CReferenceColumnHeader$007C_$007C(input) {
|
|
28
27
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(Term Source REF|Term Accession Number)\\s*\\((?<id>.*)\\)", input);
|
|
29
28
|
if (activePatternResult != null) {
|
|
30
|
-
const r =
|
|
29
|
+
const r = activePatternResult;
|
|
31
30
|
return {
|
|
32
31
|
Annotation: r.groups && r.groups.id || ""
|
|
33
32
|
};
|
|
@@ -38,7 +37,7 @@ function ActivePatterns_$007CReferenceColumnHeader$007C_$007C(input) {
|
|
|
38
37
|
function ActivePatterns_$007CTermColumn$007C_$007C(input) {
|
|
39
38
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(?<termcolumntype>.+?)\\s*\\[(?<termname>.+)\\]", input);
|
|
40
39
|
if (activePatternResult != null) {
|
|
41
|
-
const r =
|
|
40
|
+
const r = activePatternResult;
|
|
42
41
|
return {
|
|
43
42
|
TermColumnType: r.groups && r.groups.termcolumntype || "",
|
|
44
43
|
TermName: r.groups && r.groups.termname || ""
|
|
@@ -50,7 +49,7 @@ function ActivePatterns_$007CTermColumn$007C_$007C(input) {
|
|
|
50
49
|
function ActivePatterns_$007CUnitColumnHeader$007C_$007C(input) {
|
|
51
50
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("Unit", input);
|
|
52
51
|
if (activePatternResult != null) {
|
|
53
|
-
const o =
|
|
52
|
+
const o = activePatternResult;
|
|
54
53
|
return o[0];
|
|
55
54
|
} else {
|
|
56
55
|
return void 0;
|
|
@@ -59,7 +58,7 @@ function ActivePatterns_$007CUnitColumnHeader$007C_$007C(input) {
|
|
|
59
58
|
function ActivePatterns_$007CParameterColumnHeader$007C_$007C(input) {
|
|
60
59
|
const activePatternResult = ActivePatterns_$007CTermColumn$007C_$007C(input);
|
|
61
60
|
if (activePatternResult != null) {
|
|
62
|
-
const r =
|
|
61
|
+
const r = activePatternResult;
|
|
63
62
|
const matchValue = r.TermColumnType;
|
|
64
63
|
switch (matchValue) {
|
|
65
64
|
case "Parameter":
|
|
@@ -75,7 +74,7 @@ function ActivePatterns_$007CParameterColumnHeader$007C_$007C(input) {
|
|
|
75
74
|
function ActivePatterns_$007CFactorColumnHeader$007C_$007C(input) {
|
|
76
75
|
const activePatternResult = ActivePatterns_$007CTermColumn$007C_$007C(input);
|
|
77
76
|
if (activePatternResult != null) {
|
|
78
|
-
const r =
|
|
77
|
+
const r = activePatternResult;
|
|
79
78
|
const matchValue = r.TermColumnType;
|
|
80
79
|
switch (matchValue) {
|
|
81
80
|
case "Factor":
|
|
@@ -91,7 +90,7 @@ function ActivePatterns_$007CFactorColumnHeader$007C_$007C(input) {
|
|
|
91
90
|
function ActivePatterns_$007CCharacteristicColumnHeader$007C_$007C(input) {
|
|
92
91
|
const activePatternResult = ActivePatterns_$007CTermColumn$007C_$007C(input);
|
|
93
92
|
if (activePatternResult != null) {
|
|
94
|
-
const r =
|
|
93
|
+
const r = activePatternResult;
|
|
95
94
|
const matchValue = r.TermColumnType;
|
|
96
95
|
switch (matchValue) {
|
|
97
96
|
case "Characteristic":
|
|
@@ -108,7 +107,7 @@ function ActivePatterns_$007CCharacteristicColumnHeader$007C_$007C(input) {
|
|
|
108
107
|
function ActivePatterns_$007CComponentColumnHeader$007C_$007C(input) {
|
|
109
108
|
const activePatternResult = ActivePatterns_$007CTermColumn$007C_$007C(input);
|
|
110
109
|
if (activePatternResult != null) {
|
|
111
|
-
const r =
|
|
110
|
+
const r = activePatternResult;
|
|
112
111
|
const matchValue = r.TermColumnType;
|
|
113
112
|
switch (matchValue) {
|
|
114
113
|
case "Component":
|
|
@@ -124,36 +123,36 @@ function ActivePatterns_$007CComponentColumnHeader$007C_$007C(input) {
|
|
|
124
123
|
function ActivePatterns_$007CTermAnnotationShort$007C_$007C(input) {
|
|
125
124
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, input);
|
|
126
125
|
if (activePatternResult != null) {
|
|
127
|
-
const value
|
|
126
|
+
const value = activePatternResult;
|
|
128
127
|
return {
|
|
129
|
-
IDSpace: value
|
|
130
|
-
LocalID: value
|
|
128
|
+
IDSpace: value.groups && value.groups.idspace || "",
|
|
129
|
+
LocalID: value.groups && value.groups.localid || ""
|
|
131
130
|
};
|
|
132
131
|
} else {
|
|
133
132
|
return void 0;
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
135
|
function ActivePatterns_$007CTermAnnotation$007C_$007C(input) {
|
|
137
|
-
let matchResult = void 0, value
|
|
136
|
+
let matchResult = void 0, value = void 0;
|
|
138
137
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, input);
|
|
139
138
|
if (activePatternResult != null) {
|
|
140
139
|
matchResult = 0;
|
|
141
|
-
value
|
|
140
|
+
value = activePatternResult;
|
|
142
141
|
} else {
|
|
143
142
|
const activePatternResult_1 = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationURIPattern, input);
|
|
144
143
|
if (activePatternResult_1 != null) {
|
|
145
144
|
matchResult = 0;
|
|
146
|
-
value
|
|
145
|
+
value = activePatternResult_1;
|
|
147
146
|
} else {
|
|
148
147
|
const activePatternResult_2 = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationURIPattern_lessRestrictive, input);
|
|
149
148
|
if (activePatternResult_2 != null) {
|
|
150
149
|
matchResult = 0;
|
|
151
|
-
value
|
|
150
|
+
value = activePatternResult_2;
|
|
152
151
|
} else {
|
|
153
152
|
const activePatternResult_3 = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationURIPattern_MS_RO_PO, input);
|
|
154
153
|
if (activePatternResult_3 != null) {
|
|
155
154
|
matchResult = 0;
|
|
156
|
-
value
|
|
155
|
+
value = activePatternResult_3;
|
|
157
156
|
} else {
|
|
158
157
|
matchResult = 1;
|
|
159
158
|
}
|
|
@@ -163,8 +162,8 @@ function ActivePatterns_$007CTermAnnotation$007C_$007C(input) {
|
|
|
163
162
|
switch (matchResult) {
|
|
164
163
|
case 0:
|
|
165
164
|
return {
|
|
166
|
-
IDSpace: value
|
|
167
|
-
LocalID: value
|
|
165
|
+
IDSpace: value.groups && value.groups.idspace || "",
|
|
166
|
+
LocalID: value.groups && value.groups.localid || ""
|
|
168
167
|
};
|
|
169
168
|
default:
|
|
170
169
|
return void 0;
|
|
@@ -173,11 +172,11 @@ function ActivePatterns_$007CTermAnnotation$007C_$007C(input) {
|
|
|
173
172
|
function ActivePatterns_$007CTSRColumnHeader$007C_$007C(input) {
|
|
174
173
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("Term Source REF\\s*\\((?<id>.*)\\)", input);
|
|
175
174
|
if (activePatternResult != null) {
|
|
176
|
-
const r =
|
|
175
|
+
const r = activePatternResult;
|
|
177
176
|
const matchValue = r.groups && r.groups.id || "";
|
|
178
177
|
const activePatternResult_1 = ActivePatterns_$007CTermAnnotation$007C_$007C(matchValue);
|
|
179
178
|
if (activePatternResult_1 != null) {
|
|
180
|
-
const r_1 =
|
|
179
|
+
const r_1 = activePatternResult_1;
|
|
181
180
|
return r_1;
|
|
182
181
|
} else {
|
|
183
182
|
return {
|
|
@@ -192,11 +191,11 @@ function ActivePatterns_$007CTSRColumnHeader$007C_$007C(input) {
|
|
|
192
191
|
function ActivePatterns_$007CTANColumnHeader$007C_$007C(input) {
|
|
193
192
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("Term Accession Number\\s*\\((?<id>.*)\\)", input);
|
|
194
193
|
if (activePatternResult != null) {
|
|
195
|
-
const r =
|
|
194
|
+
const r = activePatternResult;
|
|
196
195
|
const matchValue = r.groups && r.groups.id || "";
|
|
197
196
|
const activePatternResult_1 = ActivePatterns_$007CTermAnnotation$007C_$007C(matchValue);
|
|
198
197
|
if (activePatternResult_1 != null) {
|
|
199
|
-
const r_1 =
|
|
198
|
+
const r_1 = activePatternResult_1;
|
|
200
199
|
return r_1;
|
|
201
200
|
} else {
|
|
202
201
|
return {
|
|
@@ -211,7 +210,7 @@ function ActivePatterns_$007CTANColumnHeader$007C_$007C(input) {
|
|
|
211
210
|
function ActivePatterns_$007CInputColumnHeader$007C_$007C(input) {
|
|
212
211
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_InputPattern, input);
|
|
213
212
|
if (activePatternResult != null) {
|
|
214
|
-
const r =
|
|
213
|
+
const r = activePatternResult;
|
|
215
214
|
return r.groups && r.groups.iotype || "";
|
|
216
215
|
} else {
|
|
217
216
|
return void 0;
|
|
@@ -220,7 +219,7 @@ function ActivePatterns_$007CInputColumnHeader$007C_$007C(input) {
|
|
|
220
219
|
function ActivePatterns_$007COutputColumnHeader$007C_$007C(input) {
|
|
221
220
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_OutputPattern, input);
|
|
222
221
|
if (activePatternResult != null) {
|
|
223
|
-
const r =
|
|
222
|
+
const r = activePatternResult;
|
|
224
223
|
return r.groups && r.groups.iotype || "";
|
|
225
224
|
} else {
|
|
226
225
|
return void 0;
|
|
@@ -229,7 +228,7 @@ function ActivePatterns_$007COutputColumnHeader$007C_$007C(input) {
|
|
|
229
228
|
function ActivePatterns_$007CAutoGeneratedTableName$007C_$007C(input) {
|
|
230
229
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("^New\\sTable\\s(?<number>\\d+)$", input);
|
|
231
230
|
if (activePatternResult != null) {
|
|
232
|
-
const r =
|
|
231
|
+
const r = activePatternResult;
|
|
233
232
|
return parse(r.groups && r.groups.number || "", 511, false, 32);
|
|
234
233
|
} else {
|
|
235
234
|
return void 0;
|
|
@@ -238,7 +237,7 @@ function ActivePatterns_$007CAutoGeneratedTableName$007C_$007C(input) {
|
|
|
238
237
|
function ActivePatterns_$007CComment$007C_$007C(input) {
|
|
239
238
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_CommentPattern, input);
|
|
240
239
|
if (activePatternResult != null) {
|
|
241
|
-
const r =
|
|
240
|
+
const r = activePatternResult;
|
|
242
241
|
return r.groups && r.groups.commentKey || "";
|
|
243
242
|
} else {
|
|
244
243
|
return void 0;
|
|
@@ -248,7 +247,7 @@ function tryParseReferenceColumnHeader(str) {
|
|
|
248
247
|
const matchValue = str.trim();
|
|
249
248
|
const activePatternResult = ActivePatterns_$007CReferenceColumnHeader$007C_$007C(matchValue);
|
|
250
249
|
if (activePatternResult != null) {
|
|
251
|
-
const v =
|
|
250
|
+
const v = activePatternResult;
|
|
252
251
|
return v;
|
|
253
252
|
} else {
|
|
254
253
|
return void 0;
|
|
@@ -258,10 +257,10 @@ function tryParseTermAnnotationShort(str) {
|
|
|
258
257
|
const matchValue = str.trim();
|
|
259
258
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, matchValue);
|
|
260
259
|
if (activePatternResult != null) {
|
|
261
|
-
const value
|
|
260
|
+
const value = activePatternResult;
|
|
262
261
|
return {
|
|
263
|
-
IDSpace: value
|
|
264
|
-
LocalID: value
|
|
262
|
+
IDSpace: value.groups && value.groups.idspace || "",
|
|
263
|
+
LocalID: value.groups && value.groups.localid || ""
|
|
265
264
|
};
|
|
266
265
|
} else {
|
|
267
266
|
return void 0;
|
|
@@ -269,26 +268,26 @@ function tryParseTermAnnotationShort(str) {
|
|
|
269
268
|
}
|
|
270
269
|
function tryParseTermAnnotation(str) {
|
|
271
270
|
const matchValue = str.trim();
|
|
272
|
-
let matchResult = void 0, value
|
|
271
|
+
let matchResult = void 0, value = void 0;
|
|
273
272
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationShortPattern, matchValue);
|
|
274
273
|
if (activePatternResult != null) {
|
|
275
274
|
matchResult = 0;
|
|
276
|
-
value
|
|
275
|
+
value = activePatternResult;
|
|
277
276
|
} else {
|
|
278
277
|
const activePatternResult_1 = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationURIPattern, matchValue);
|
|
279
278
|
if (activePatternResult_1 != null) {
|
|
280
279
|
matchResult = 0;
|
|
281
|
-
value
|
|
280
|
+
value = activePatternResult_1;
|
|
282
281
|
} else {
|
|
283
282
|
const activePatternResult_2 = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationURIPattern_lessRestrictive, matchValue);
|
|
284
283
|
if (activePatternResult_2 != null) {
|
|
285
284
|
matchResult = 0;
|
|
286
|
-
value
|
|
285
|
+
value = activePatternResult_2;
|
|
287
286
|
} else {
|
|
288
287
|
const activePatternResult_3 = ActivePatterns_$007CRegex$007C_$007C(Pattern_TermAnnotationURIPattern_MS_RO_PO, matchValue);
|
|
289
288
|
if (activePatternResult_3 != null) {
|
|
290
289
|
matchResult = 0;
|
|
291
|
-
value
|
|
290
|
+
value = activePatternResult_3;
|
|
292
291
|
} else {
|
|
293
292
|
matchResult = 1;
|
|
294
293
|
}
|
|
@@ -298,8 +297,8 @@ function tryParseTermAnnotation(str) {
|
|
|
298
297
|
switch (matchResult) {
|
|
299
298
|
case 0:
|
|
300
299
|
return {
|
|
301
|
-
IDSpace: value
|
|
302
|
-
LocalID: value
|
|
300
|
+
IDSpace: value.groups && value.groups.idspace || "",
|
|
301
|
+
LocalID: value.groups && value.groups.localid || ""
|
|
303
302
|
};
|
|
304
303
|
default:
|
|
305
304
|
return void 0;
|
|
@@ -309,7 +308,7 @@ function tryGetTermAnnotationShortString(str) {
|
|
|
309
308
|
let r = void 0;
|
|
310
309
|
const option_1 = tryParseTermAnnotation(str);
|
|
311
310
|
if (option_1 != null) {
|
|
312
|
-
return r =
|
|
311
|
+
return r = option_1, r.IDSpace + ":" + r.LocalID;
|
|
313
312
|
} else {
|
|
314
313
|
return void 0;
|
|
315
314
|
}
|
|
@@ -319,15 +318,15 @@ function getTermAnnotationShortString(str) {
|
|
|
319
318
|
if (matchValue == null) {
|
|
320
319
|
throw new Exception(concat("Unable to parse '", str, "' to term accession."));
|
|
321
320
|
} else {
|
|
322
|
-
return
|
|
321
|
+
return matchValue;
|
|
323
322
|
}
|
|
324
323
|
}
|
|
325
324
|
function tryParseExcelNumberFormat(headerStr) {
|
|
326
325
|
const matchValue = headerStr.trim();
|
|
327
326
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_ExcelNumberFormat, matchValue);
|
|
328
327
|
if (activePatternResult != null) {
|
|
329
|
-
const value
|
|
330
|
-
return value
|
|
328
|
+
const value = activePatternResult;
|
|
329
|
+
return value.groups && value.groups.numberFormat || "";
|
|
331
330
|
} else {
|
|
332
331
|
return void 0;
|
|
333
332
|
}
|
|
@@ -336,8 +335,8 @@ function tryParseIOTypeHeader(headerStr) {
|
|
|
336
335
|
const matchValue = headerStr.trim();
|
|
337
336
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_IOTypePattern, matchValue);
|
|
338
337
|
if (activePatternResult != null) {
|
|
339
|
-
const value
|
|
340
|
-
return value
|
|
338
|
+
const value = activePatternResult;
|
|
339
|
+
return value.groups && value.groups.iotype || "";
|
|
341
340
|
} else {
|
|
342
341
|
return void 0;
|
|
343
342
|
}
|
|
@@ -345,7 +344,7 @@ function tryParseIOTypeHeader(headerStr) {
|
|
|
345
344
|
function tryParseTermColumn(input) {
|
|
346
345
|
const activePatternResult = ActivePatterns_$007CTermColumn$007C_$007C(input);
|
|
347
346
|
if (activePatternResult != null) {
|
|
348
|
-
const r =
|
|
347
|
+
const r = activePatternResult;
|
|
349
348
|
return r;
|
|
350
349
|
} else {
|
|
351
350
|
return void 0;
|
|
@@ -354,7 +353,7 @@ function tryParseTermColumn(input) {
|
|
|
354
353
|
function tryParseUnitColumnHeader(input) {
|
|
355
354
|
const activePatternResult = ActivePatterns_$007CUnitColumnHeader$007C_$007C(input);
|
|
356
355
|
if (activePatternResult != null) {
|
|
357
|
-
const r =
|
|
356
|
+
const r = activePatternResult;
|
|
358
357
|
return r;
|
|
359
358
|
} else {
|
|
360
359
|
return void 0;
|
|
@@ -363,7 +362,7 @@ function tryParseUnitColumnHeader(input) {
|
|
|
363
362
|
function tryParseParameterColumnHeader(input) {
|
|
364
363
|
const activePatternResult = ActivePatterns_$007CParameterColumnHeader$007C_$007C(input);
|
|
365
364
|
if (activePatternResult != null) {
|
|
366
|
-
const r =
|
|
365
|
+
const r = activePatternResult;
|
|
367
366
|
return r;
|
|
368
367
|
} else {
|
|
369
368
|
return void 0;
|
|
@@ -372,7 +371,7 @@ function tryParseParameterColumnHeader(input) {
|
|
|
372
371
|
function tryParseFactorColumnHeader(input) {
|
|
373
372
|
const activePatternResult = ActivePatterns_$007CFactorColumnHeader$007C_$007C(input);
|
|
374
373
|
if (activePatternResult != null) {
|
|
375
|
-
const r =
|
|
374
|
+
const r = activePatternResult;
|
|
376
375
|
return r;
|
|
377
376
|
} else {
|
|
378
377
|
return void 0;
|
|
@@ -381,7 +380,7 @@ function tryParseFactorColumnHeader(input) {
|
|
|
381
380
|
function tryParseCharacteristicColumnHeader(input) {
|
|
382
381
|
const activePatternResult = ActivePatterns_$007CCharacteristicColumnHeader$007C_$007C(input);
|
|
383
382
|
if (activePatternResult != null) {
|
|
384
|
-
const r =
|
|
383
|
+
const r = activePatternResult;
|
|
385
384
|
return r;
|
|
386
385
|
} else {
|
|
387
386
|
return void 0;
|
|
@@ -390,7 +389,7 @@ function tryParseCharacteristicColumnHeader(input) {
|
|
|
390
389
|
function tryParseComponentColumnHeader(input) {
|
|
391
390
|
const activePatternResult = ActivePatterns_$007CComponentColumnHeader$007C_$007C(input);
|
|
392
391
|
if (activePatternResult != null) {
|
|
393
|
-
const r =
|
|
392
|
+
const r = activePatternResult;
|
|
394
393
|
return r;
|
|
395
394
|
} else {
|
|
396
395
|
return void 0;
|
|
@@ -399,7 +398,7 @@ function tryParseComponentColumnHeader(input) {
|
|
|
399
398
|
function tryParseTSRColumnHeader(input) {
|
|
400
399
|
const activePatternResult = ActivePatterns_$007CTSRColumnHeader$007C_$007C(input);
|
|
401
400
|
if (activePatternResult != null) {
|
|
402
|
-
const r =
|
|
401
|
+
const r = activePatternResult;
|
|
403
402
|
return r;
|
|
404
403
|
} else {
|
|
405
404
|
return void 0;
|
|
@@ -408,7 +407,7 @@ function tryParseTSRColumnHeader(input) {
|
|
|
408
407
|
function tryParseTANColumnHeader(input) {
|
|
409
408
|
const activePatternResult = ActivePatterns_$007CTANColumnHeader$007C_$007C(input);
|
|
410
409
|
if (activePatternResult != null) {
|
|
411
|
-
const r =
|
|
410
|
+
const r = activePatternResult;
|
|
412
411
|
return r;
|
|
413
412
|
} else {
|
|
414
413
|
return void 0;
|
|
@@ -417,7 +416,7 @@ function tryParseTANColumnHeader(input) {
|
|
|
417
416
|
function tryParseInputColumnHeader(input) {
|
|
418
417
|
const activePatternResult = ActivePatterns_$007CInputColumnHeader$007C_$007C(input);
|
|
419
418
|
if (activePatternResult != null) {
|
|
420
|
-
const r =
|
|
419
|
+
const r = activePatternResult;
|
|
421
420
|
return r;
|
|
422
421
|
} else {
|
|
423
422
|
return void 0;
|
|
@@ -426,7 +425,7 @@ function tryParseInputColumnHeader(input) {
|
|
|
426
425
|
function tryParseOutputColumnHeader(input) {
|
|
427
426
|
const activePatternResult = ActivePatterns_$007COutputColumnHeader$007C_$007C(input);
|
|
428
427
|
if (activePatternResult != null) {
|
|
429
|
-
const r =
|
|
428
|
+
const r = activePatternResult;
|
|
430
429
|
return r;
|
|
431
430
|
} else {
|
|
432
431
|
return void 0;
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import { Record } from '@fable-org/fable-library-ts/Types.ts';
|
|
2
1
|
import { int32 } from '@fable-org/fable-library-ts/Int32.ts';
|
|
3
2
|
import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
4
|
-
import {
|
|
3
|
+
import { Record } from '@fable-org/fable-library-ts/Types.ts';
|
|
5
4
|
import { TypeInfo } from '@fable-org/fable-library-ts/Reflection.ts';
|
|
6
5
|
export declare const SemVerAux_Pattern = "^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<pre>[0-9A-Za-z-\\.]+))?(\\+(?<build>[0-9A-Za-z-\\.]+))?$";
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Compares two pre-release identifiers, see https://semver.org/#spec-item-11
|
|
8
|
+
*/
|
|
9
|
+
export declare function SemVerAux_compareIdentifier(a: string, b: string): int32;
|
|
10
|
+
/**
|
|
11
|
+
* Compares the pre-release versions of two otherwise equal versions, see https://semver.org/#spec-item-11
|
|
12
|
+
*/
|
|
13
|
+
export declare function SemVerAux_comparePreRelease(a: Option<string>, b: Option<string>): int32;
|
|
14
|
+
export declare class SemVer extends Record {
|
|
8
15
|
readonly Major: int32;
|
|
9
16
|
readonly Minor: int32;
|
|
10
17
|
readonly Patch: int32;
|
|
11
18
|
readonly PreRelease: Option<string>;
|
|
12
19
|
readonly Metadata: Option<string>;
|
|
13
20
|
constructor(Major: int32, Minor: int32, Patch: int32, PreRelease: Option<string>, Metadata: Option<string>);
|
|
21
|
+
Equals(other: any): boolean;
|
|
22
|
+
GetHashCode(): int32;
|
|
23
|
+
CompareTo(other: any): int32;
|
|
14
24
|
}
|
|
15
25
|
export declare function SemVer_$reflection(): TypeInfo;
|
|
16
26
|
export declare function SemVer_make(major: int32, minor: int32, patch: int32, pre: Option<string>, meta: Option<string>): SemVer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemVer.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Helper/SemVer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SemVer.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Helper/SemVer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAS,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAA4B,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEzF,OAAO,EAAY,MAAM,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAqD,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAIxH,eAAO,MAAM,iBAAiB,yHAAyH,CAAC;AAWxJ;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,CA4BvE;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAwCvF;AAED,qBAAa,MAAO,SAAQ,MAAM;IAC9B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;gBACtB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;IAQ1G,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;IAK3B,WAAW,IAAI,KAAK;IAIpB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK;CAU/B;AAED,wBAAgB,kBAAkB,IAAI,QAAQ,CAE7C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAEvH;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAErH;AAED,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAUxE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAWtD"}
|
|
@@ -1,12 +1,84 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { forAll } from '../../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
2
|
+
import { isDigit } from '../../../node_modules/@fable-org/fable-library-ts/Char.js';
|
|
3
|
+
import { trimStart, toText, printf } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
4
|
+
import { comparePrimitives, equals, arrayHash } from '../../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
2
5
|
import { parse } from '../../../node_modules/@fable-org/fable-library-ts/Int32.js';
|
|
3
|
-
import {
|
|
6
|
+
import { item } from '../../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
7
|
+
import { unwrap, value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
8
|
+
import { Operators_InvalidArg } from '../../../node_modules/@fable-org/fable-library-ts/FSharp.Core.js';
|
|
9
|
+
import { Record, toString } from '../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
4
10
|
import { record_type, int32_type, option_type, string_type } from '../../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
5
11
|
import { ActivePatterns_$007CRegex$007C_$007C } from './Regex.js';
|
|
6
12
|
import { StringBuilder_$ctor, StringBuilder__Append_Z721C83C5 } from '../../../node_modules/@fable-org/fable-library-ts/System.Text.js';
|
|
7
|
-
import { toText, printf } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
8
13
|
|
|
9
14
|
const SemVerAux_Pattern = "^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<pre>[0-9A-Za-z-\\.]+))?(\\+(?<build>[0-9A-Za-z-\\.]+))?$";
|
|
15
|
+
function SemVerAux_isNumericIdentifier(identifier) {
|
|
16
|
+
if (identifier.length > 0) {
|
|
17
|
+
return forAll(isDigit, identifier.split(""));
|
|
18
|
+
} else {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function SemVerAux_compareIdentifier(a, b) {
|
|
23
|
+
const matchValue = SemVerAux_isNumericIdentifier(a);
|
|
24
|
+
const matchValue_1 = SemVerAux_isNumericIdentifier(b);
|
|
25
|
+
if (matchValue) {
|
|
26
|
+
if (matchValue_1) {
|
|
27
|
+
const matchValue_3 = trimStart(a, "0");
|
|
28
|
+
const b$0027 = trimStart(b, "0");
|
|
29
|
+
const a$0027 = matchValue_3;
|
|
30
|
+
if (a$0027.length !== b$0027.length) {
|
|
31
|
+
return comparePrimitives(a$0027.length, b$0027.length) | 0;
|
|
32
|
+
} else if (a$0027 !== b$0027) {
|
|
33
|
+
return comparePrimitives(a$0027, b$0027) | 0;
|
|
34
|
+
} else {
|
|
35
|
+
return comparePrimitives(a, b) | 0;
|
|
36
|
+
}
|
|
37
|
+
} else {
|
|
38
|
+
return -1;
|
|
39
|
+
}
|
|
40
|
+
} else if (matchValue_1) {
|
|
41
|
+
return 1;
|
|
42
|
+
} else {
|
|
43
|
+
return comparePrimitives(a, b) | 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function SemVerAux_comparePreRelease(a, b) {
|
|
47
|
+
if (a != null) {
|
|
48
|
+
if (b != null) {
|
|
49
|
+
const a_1 = a;
|
|
50
|
+
const b_1 = b;
|
|
51
|
+
const matchValue_1 = a_1.split(".");
|
|
52
|
+
const b_2 = b_1.split(".");
|
|
53
|
+
const a_2 = matchValue_1;
|
|
54
|
+
const loop = (i_mut) => {
|
|
55
|
+
loop:
|
|
56
|
+
while (true) {
|
|
57
|
+
const i = i_mut;
|
|
58
|
+
if (i === a_2.length ? true : i === b_2.length) {
|
|
59
|
+
return comparePrimitives(a_2.length, b_2.length) | 0;
|
|
60
|
+
} else {
|
|
61
|
+
const matchValue_3 = SemVerAux_compareIdentifier(item(i, a_2), item(i, b_2)) | 0;
|
|
62
|
+
if (matchValue_3 === 0) {
|
|
63
|
+
i_mut = i + 1;
|
|
64
|
+
continue loop;
|
|
65
|
+
} else {
|
|
66
|
+
return matchValue_3 | 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
return loop(0) | 0;
|
|
73
|
+
} else {
|
|
74
|
+
return -1;
|
|
75
|
+
}
|
|
76
|
+
} else if (b != null) {
|
|
77
|
+
return 1;
|
|
78
|
+
} else {
|
|
79
|
+
return 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
10
82
|
class SemVer extends Record {
|
|
11
83
|
constructor(Major, Minor, Patch, PreRelease, Metadata) {
|
|
12
84
|
super();
|
|
@@ -16,6 +88,24 @@ class SemVer extends Record {
|
|
|
16
88
|
this.PreRelease = PreRelease;
|
|
17
89
|
this.Metadata = Metadata;
|
|
18
90
|
}
|
|
91
|
+
Equals(other) {
|
|
92
|
+
let other_1 = void 0;
|
|
93
|
+
const this$ = this;
|
|
94
|
+
return other instanceof SemVer && (other_1 = other, this$.Major === other_1.Major && this$.Minor === other_1.Minor && this$.Patch === other_1.Patch && equals(this$.PreRelease, other_1.PreRelease));
|
|
95
|
+
}
|
|
96
|
+
GetHashCode() {
|
|
97
|
+
const this$ = this;
|
|
98
|
+
return arrayHash([this$.Major, this$.Minor, this$.Patch, this$.PreRelease]) | 0;
|
|
99
|
+
}
|
|
100
|
+
CompareTo(other) {
|
|
101
|
+
const this$ = this;
|
|
102
|
+
if (other instanceof SemVer) {
|
|
103
|
+
const other_1 = other;
|
|
104
|
+
return (this$.Major !== other_1.Major ? comparePrimitives(this$.Major, other_1.Major) : this$.Minor !== other_1.Minor ? comparePrimitives(this$.Minor, other_1.Minor) : this$.Patch !== other_1.Patch ? comparePrimitives(this$.Patch, other_1.Patch) : SemVerAux_comparePreRelease(this$.PreRelease, other_1.PreRelease)) | 0;
|
|
105
|
+
} else {
|
|
106
|
+
throw Operators_InvalidArg("other", "Cannot compare SemVer with a value of a different type");
|
|
107
|
+
}
|
|
108
|
+
}
|
|
19
109
|
}
|
|
20
110
|
function SemVer_$reflection() {
|
|
21
111
|
return record_type("ARCtrl.Helper.SemVer.SemVer", [], SemVer, () => [["Major", int32_type], ["Minor", int32_type], ["Patch", int32_type], ["PreRelease", option_type(string_type)], ["Metadata", option_type(string_type)]]);
|
|
@@ -29,9 +119,9 @@ function SemVer_create_Z55658624(major, minor, patch, pre, meta) {
|
|
|
29
119
|
function SemVer_tryOfString_Z721C83C5(str) {
|
|
30
120
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(SemVerAux_Pattern, str);
|
|
31
121
|
if (activePatternResult != null) {
|
|
32
|
-
const m =
|
|
122
|
+
const m = activePatternResult;
|
|
33
123
|
const g = m;
|
|
34
|
-
return SemVer_create_Z55658624(parse(g.groups && g.groups.major || "", 511, false, 32), parse(g.groups && g.groups.minor || "", 511, false, 32), parse(g.groups && g.groups.patch || "", 511, false, 32), unwrap((g.groups && g.groups.pre) != null ? g.groups && g.groups.pre || "" : void 0), unwrap((g.groups && g.groups.build) != null ? g.groups && g.groups.build || "" : void 0));
|
|
124
|
+
return SemVer_create_Z55658624(parse(g.groups && g.groups.major || "", 511, false, 32), (g.groups && g.groups.minor) != null ? parse(g.groups && g.groups.minor || "", 511, false, 32) : 0, (g.groups && g.groups.patch) != null ? parse(g.groups && g.groups.patch || "", 511, false, 32) : 0, unwrap((g.groups && g.groups.pre) != null ? g.groups && g.groups.pre || "" : void 0), unwrap((g.groups && g.groups.build) != null ? g.groups && g.groups.build || "" : void 0));
|
|
35
125
|
} else {
|
|
36
126
|
return void 0;
|
|
37
127
|
}
|
|
@@ -49,4 +139,4 @@ function SemVer__AsString(this$) {
|
|
|
49
139
|
return toString(sb);
|
|
50
140
|
}
|
|
51
141
|
|
|
52
|
-
export { SemVer, SemVerAux_Pattern, SemVer_$reflection, SemVer__AsString, SemVer_create_Z55658624, SemVer_make, SemVer_tryOfString_Z721C83C5 };
|
|
142
|
+
export { SemVer, SemVerAux_Pattern, SemVerAux_compareIdentifier, SemVerAux_comparePreRelease, SemVer_$reflection, SemVer__AsString, SemVer_create_Z55658624, SemVer_make, SemVer_tryOfString_Z721C83C5 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Helper/Url.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAG3D,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,eAAO,MAAM,mBAAmB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Helper/Url.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAG3D,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,eAAO,MAAM,mBAAmB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC,CAAkyE,CAAC;AAEh4E,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAQjE"}
|
|
@@ -20,7 +20,7 @@ function POParser(tsr, localTan) {
|
|
|
20
20
|
function ROParser(tsr, localTan) {
|
|
21
21
|
return concat("https://www.ebi.ac.uk/ols4/ontologies/ro/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252F", tsr, "_", localTan);
|
|
22
22
|
}
|
|
23
|
-
const uriParserCollection = Dictionary_ofSeq([["DPBO", (tsr) => (localTan) => OntobeeDPBOParser(tsr, localTan)], ["
|
|
23
|
+
const uriParserCollection = Dictionary_ofSeq([["DPBO", (tsr) => (localTan) => OntobeeDPBOParser(tsr, localTan)], ["ENVO", (tsr_1) => (localTan_1) => BioregistryParser(tsr_1, localTan_1)], ["CHEBI", (tsr_2) => (localTan_2) => BioregistryParser(tsr_2, localTan_2)], ["GO", (tsr_3) => (localTan_3) => BioregistryParser(tsr_3, localTan_3)], ["OBI", (tsr_4) => (localTan_4) => BioregistryParser(tsr_4, localTan_4)], ["PATO", (tsr_5) => (localTan_5) => BioregistryParser(tsr_5, localTan_5)], ["PECO", (tsr_6) => (localTan_6) => BioregistryParser(tsr_6, localTan_6)], ["TO", (tsr_7) => (localTan_7) => BioregistryParser(tsr_7, localTan_7)], ["UO", (tsr_8) => (localTan_8) => BioregistryParser(tsr_8, localTan_8)], ["EFO", (tsr_9) => (localTan_9) => BioregistryParser(tsr_9, localTan_9)], ["NCIT", (tsr_10) => (localTan_10) => BioregistryParser(tsr_10, localTan_10)], ["OMP", (tsr_11) => (localTan_11) => BioregistryParser(tsr_11, localTan_11)]]);
|
|
24
24
|
function createOAUri(tsr, localTan) {
|
|
25
25
|
const matchValue = Dictionary_tryFind(tsr, uriParserCollection);
|
|
26
26
|
if (matchValue == null) {
|