@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.
- 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 +19 -2
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +128 -89
- 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.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
- 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.js +11 -11
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +107 -86
- 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.js +5 -5
- 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 +41 -41
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +14 -11
- 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 +50 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- 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 +11 -0
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +61 -50
- 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.js +8 -8
- 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 +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
- 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 +7 -7
- 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 +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- 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,7 +1,7 @@
|
|
|
1
1
|
import { oneOf, map, string, int, float, object, resizeArray } from '../fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js';
|
|
2
2
|
import { int32ToString } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
3
3
|
import { ofArray, choose } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
4
|
-
import {
|
|
4
|
+
import { unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
5
5
|
import { tryInclude, tryIncludeSeq } from './Encode.js';
|
|
6
6
|
import { encoder, decoder, ROCrate_encoderDisambiguatingDescription, ROCrate_decoderDisambiguatingDescription } from './Comment.js';
|
|
7
7
|
import { map as map$1, filter } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
@@ -19,7 +19,7 @@ function OntologyAnnotation_encoder(oa) {
|
|
|
19
19
|
const values_1 = choose((tupledArg) => {
|
|
20
20
|
const option_1 = tupledArg[1];
|
|
21
21
|
if (option_1 != null) {
|
|
22
|
-
return [tupledArg[0],
|
|
22
|
+
return [tupledArg[0], option_1];
|
|
23
23
|
} else {
|
|
24
24
|
return void 0;
|
|
25
25
|
}
|
|
@@ -51,7 +51,7 @@ function OntologyAnnotation_compressedEncoder(stringTable, oa) {
|
|
|
51
51
|
const values_1 = choose((tupledArg) => {
|
|
52
52
|
const option_1 = tupledArg[1];
|
|
53
53
|
if (option_1 != null) {
|
|
54
|
-
return [tupledArg[0],
|
|
54
|
+
return [tupledArg[0], option_1];
|
|
55
55
|
} else {
|
|
56
56
|
return void 0;
|
|
57
57
|
}
|
|
@@ -78,27 +78,27 @@ function OntologyAnnotation_ROCrate_genID(o) {
|
|
|
78
78
|
if (matchValue_2 == null) {
|
|
79
79
|
return "#DummyOntologyAnnotation";
|
|
80
80
|
} else {
|
|
81
|
-
return "#UserTerm_" + replace(
|
|
81
|
+
return "#UserTerm_" + replace(matchValue_2, " ", "_");
|
|
82
82
|
}
|
|
83
83
|
} else {
|
|
84
|
-
return "#" + replace(
|
|
84
|
+
return "#" + replace(matchValue_1, " ", "_");
|
|
85
85
|
}
|
|
86
86
|
} else {
|
|
87
|
-
return URIModule_toString(
|
|
87
|
+
return URIModule_toString(matchValue);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
function OntologyAnnotation_ROCrate_encoderDefinedTerm(oa) {
|
|
91
|
-
let value
|
|
91
|
+
let value = void 0;
|
|
92
92
|
const values_1 = choose((tupledArg) => {
|
|
93
93
|
const option_1 = tupledArg[1];
|
|
94
94
|
if (option_1 != null) {
|
|
95
|
-
return [tupledArg[0],
|
|
95
|
+
return [tupledArg[0], option_1];
|
|
96
96
|
} else {
|
|
97
97
|
return void 0;
|
|
98
98
|
}
|
|
99
|
-
}, ofArray([["@id", (value
|
|
99
|
+
}, ofArray([["@id", (value = OntologyAnnotation_ROCrate_genID(oa), {
|
|
100
100
|
Encode(helpers) {
|
|
101
|
-
return helpers.encodeString(value
|
|
101
|
+
return helpers.encodeString(value);
|
|
102
102
|
}
|
|
103
103
|
})], ["@type", {
|
|
104
104
|
Encode(helpers_1) {
|
|
@@ -129,17 +129,17 @@ const OntologyAnnotation_ROCrate_decoderDefinedTerm = object((get$) => {
|
|
|
129
129
|
return OntologyAnnotation.create(unwrap((objectArg = get$.Optional, objectArg.Field("annotationValue", AnnotationValue_decoder))), unwrap((objectArg_1 = get$.Optional, objectArg_1.Field("termSource", string))), unwrap((objectArg_2 = get$.Optional, objectArg_2.Field("termAccession", string))), unwrap((arg_7 = resizeArray(ROCrate_decoderDisambiguatingDescription), objectArg_3 = get$.Optional, objectArg_3.Field("comments", arg_7))));
|
|
130
130
|
});
|
|
131
131
|
function OntologyAnnotation_ROCrate_encoderPropertyValue(oa) {
|
|
132
|
-
let value
|
|
132
|
+
let value = void 0;
|
|
133
133
|
const values_1 = choose((tupledArg) => {
|
|
134
134
|
const option_1 = tupledArg[1];
|
|
135
135
|
if (option_1 != null) {
|
|
136
|
-
return [tupledArg[0],
|
|
136
|
+
return [tupledArg[0], option_1];
|
|
137
137
|
} else {
|
|
138
138
|
return void 0;
|
|
139
139
|
}
|
|
140
|
-
}, ofArray([["@id", (value
|
|
140
|
+
}, ofArray([["@id", (value = OntologyAnnotation_ROCrate_genID(oa), {
|
|
141
141
|
Encode(helpers) {
|
|
142
|
-
return helpers.encodeString(value
|
|
142
|
+
return helpers.encodeString(value);
|
|
143
143
|
}
|
|
144
144
|
})], ["@type", {
|
|
145
145
|
Encode(helpers_1) {
|
|
@@ -171,9 +171,9 @@ function OntologyAnnotation_ISAJson_encoder(idMap, oa) {
|
|
|
171
171
|
const matchValue = c.Name;
|
|
172
172
|
let matchResult = void 0, n_1 = void 0;
|
|
173
173
|
if (matchValue != null) {
|
|
174
|
-
if (
|
|
174
|
+
if (matchValue === orderName) {
|
|
175
175
|
matchResult = 0;
|
|
176
|
-
n_1 =
|
|
176
|
+
n_1 = matchValue;
|
|
177
177
|
} else {
|
|
178
178
|
matchResult = 1;
|
|
179
179
|
}
|
|
@@ -190,7 +190,7 @@ function OntologyAnnotation_ISAJson_encoder(idMap, oa) {
|
|
|
190
190
|
const values_1 = choose((tupledArg) => {
|
|
191
191
|
const option_1 = tupledArg[1];
|
|
192
192
|
if (option_1 != null) {
|
|
193
|
-
return [tupledArg[0],
|
|
193
|
+
return [tupledArg[0], option_1];
|
|
194
194
|
} else {
|
|
195
195
|
return void 0;
|
|
196
196
|
}
|
|
@@ -219,7 +219,7 @@ function OntologyAnnotation_ISAJson_encoder(idMap, oa) {
|
|
|
219
219
|
};
|
|
220
220
|
};
|
|
221
221
|
if (idMap != null) {
|
|
222
|
-
return encode(OntologyAnnotation_ROCrate_genID, f, oa,
|
|
222
|
+
return encode(OntologyAnnotation_ROCrate_genID, f, oa, idMap);
|
|
223
223
|
} else {
|
|
224
224
|
return f(oa);
|
|
225
225
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologySourceReference.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/OntologySourceReference.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"OntologySourceReference.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/OntologySourceReference.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAK9G,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAK7E,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,OAAO,CAAC,GAAG,EAAE,uBAAuB,GAAG,UAAU,CAgChE;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,uBAAuB,CAGrD,CAAC;AAEH,wBAAgB,aAAa,CAAC,CAAC,EAAE,uBAAuB,GAAG,MAAM,CAchE;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,uBAAuB,GAAG,UAAU,CAyCxE;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,uBAAuB,CAG7D,CAAC;AAEH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,uBAAuB,GAAG,UAAU,CAgCjH;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,uBAAuB,CAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
2
|
-
import {
|
|
2
|
+
import { unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
3
|
import { tryInclude, tryIncludeSeq } from './Encode.js';
|
|
4
4
|
import { encoder as encoder$1, decoder as decoder$1, ISAJson_encoder as ISAJson_encoder$1 } from './Comment.js';
|
|
5
5
|
import { map } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
@@ -13,7 +13,7 @@ function encoder(osr) {
|
|
|
13
13
|
const values_1 = choose((tupledArg) => {
|
|
14
14
|
const option_1 = tupledArg[1];
|
|
15
15
|
if (option_1 != null) {
|
|
16
|
-
return [tupledArg[0],
|
|
16
|
+
return [tupledArg[0], option_1];
|
|
17
17
|
} else {
|
|
18
18
|
return void 0;
|
|
19
19
|
}
|
|
@@ -52,24 +52,24 @@ function ROCrate_genID(o) {
|
|
|
52
52
|
if (matchValue_1 == null) {
|
|
53
53
|
return "#DummyOntologySourceRef";
|
|
54
54
|
} else {
|
|
55
|
-
return "#OntologySourceRef_" + replace(
|
|
55
|
+
return "#OntologySourceRef_" + replace(matchValue_1, " ", "_");
|
|
56
56
|
}
|
|
57
57
|
} else {
|
|
58
|
-
return
|
|
58
|
+
return matchValue;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
function ROCrate_encoder(osr) {
|
|
62
|
-
let value
|
|
62
|
+
let value = void 0;
|
|
63
63
|
const values_1 = choose((tupledArg) => {
|
|
64
64
|
const option_1 = tupledArg[1];
|
|
65
65
|
if (option_1 != null) {
|
|
66
|
-
return [tupledArg[0],
|
|
66
|
+
return [tupledArg[0], option_1];
|
|
67
67
|
} else {
|
|
68
68
|
return void 0;
|
|
69
69
|
}
|
|
70
|
-
}, ofArray([["@id", (value
|
|
70
|
+
}, ofArray([["@id", (value = ROCrate_genID(osr), {
|
|
71
71
|
Encode(helpers) {
|
|
72
|
-
return helpers.encodeString(value
|
|
72
|
+
return helpers.encodeString(value);
|
|
73
73
|
}
|
|
74
74
|
})], ["@type", {
|
|
75
75
|
Encode(helpers_1) {
|
|
@@ -107,7 +107,7 @@ function ISAJson_encoder(idMap, osr) {
|
|
|
107
107
|
const values_1 = choose((tupledArg) => {
|
|
108
108
|
const option_1 = tupledArg[1];
|
|
109
109
|
if (option_1 != null) {
|
|
110
|
-
return [tupledArg[0],
|
|
110
|
+
return [tupledArg[0], option_1];
|
|
111
111
|
} else {
|
|
112
112
|
return void 0;
|
|
113
113
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Person.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAmB,MAAM,qCAAqC,CAAC;AAClF,OAAO,
|
|
1
|
+
{"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Json/Person.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAmB,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAsB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAO9G,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAO3C,OAAO,EAAE,IAAI,EAAgB,MAAM,qCAAqC,CAAC;AAKzE,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAoDlD;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,MAAM,CAGpC,CAAC;AAEH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CA2F/C;AAED,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAsB3E;AAED,eAAO,MAAM,2BAA2B,EAAE,SAAS,CAAC,MAAM,CAGxD,CAAC;AAEH,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAyDtD;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,CAG5C,CAAC;AAEH;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAgC7E;AAED,eAAO,MAAM,8BAA8B,EAAE,SAAS,CAAC,MAAM,CAGzD,CAAC;AAEL,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAAyJ,CAAC;AAE/M,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,UAAU,CA6DnG;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,CAG5C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { choose, ofArray } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
2
|
-
import {
|
|
2
|
+
import { unwrap, defaultArg } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
3
|
import { tryInclude, tryIncludeSeq } from './Encode.js';
|
|
4
4
|
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder, OntologyAnnotation_ROCrate_encoderDefinedTerm, OntologyAnnotation_ROCrate_decoderDefinedTerm } from './OntologyAnnotation.js';
|
|
5
5
|
import { encoder as encoder$1, decoder as decoder$1, ROCrate_encoderDisambiguatingDescription, ROCrate_decoderDisambiguatingDescription } from './Comment.js';
|
|
@@ -18,7 +18,7 @@ function encoder(person) {
|
|
|
18
18
|
const values_1 = choose((tupledArg) => {
|
|
19
19
|
const option_1 = tupledArg[1];
|
|
20
20
|
if (option_1 != null) {
|
|
21
|
-
return [tupledArg[0],
|
|
21
|
+
return [tupledArg[0], option_1];
|
|
22
22
|
} else {
|
|
23
23
|
return void 0;
|
|
24
24
|
}
|
|
@@ -78,8 +78,8 @@ function ROCrate_genID(p) {
|
|
|
78
78
|
if (matchValue != null) {
|
|
79
79
|
if (matchValue_1 != null) {
|
|
80
80
|
matchResult = 0;
|
|
81
|
-
n =
|
|
82
|
-
v =
|
|
81
|
+
n = matchValue;
|
|
82
|
+
v = matchValue_1;
|
|
83
83
|
} else {
|
|
84
84
|
matchResult = 1;
|
|
85
85
|
}
|
|
@@ -108,7 +108,7 @@ function ROCrate_genID(p) {
|
|
|
108
108
|
if (matchValue_5 == null) {
|
|
109
109
|
if (matchValue_6 != null) {
|
|
110
110
|
matchResult_1 = 2;
|
|
111
|
-
ln_2 =
|
|
111
|
+
ln_2 = matchValue_6;
|
|
112
112
|
} else {
|
|
113
113
|
matchResult_1 = 4;
|
|
114
114
|
}
|
|
@@ -118,17 +118,17 @@ function ROCrate_genID(p) {
|
|
|
118
118
|
} else if (matchValue_5 == null) {
|
|
119
119
|
if (matchValue_6 == null) {
|
|
120
120
|
matchResult_1 = 3;
|
|
121
|
-
fn_2 =
|
|
121
|
+
fn_2 = matchValue_4;
|
|
122
122
|
} else {
|
|
123
123
|
matchResult_1 = 1;
|
|
124
|
-
fn_1 =
|
|
125
|
-
ln_1 =
|
|
124
|
+
fn_1 = matchValue_4;
|
|
125
|
+
ln_1 = matchValue_6;
|
|
126
126
|
}
|
|
127
127
|
} else if (matchValue_6 != null) {
|
|
128
128
|
matchResult_1 = 0;
|
|
129
|
-
fn =
|
|
130
|
-
ln =
|
|
131
|
-
mn =
|
|
129
|
+
fn = matchValue_4;
|
|
130
|
+
ln = matchValue_6;
|
|
131
|
+
mn = matchValue_5;
|
|
132
132
|
} else {
|
|
133
133
|
matchResult_1 = 4;
|
|
134
134
|
}
|
|
@@ -145,10 +145,10 @@ function ROCrate_genID(p) {
|
|
|
145
145
|
return "#EmptyPerson";
|
|
146
146
|
}
|
|
147
147
|
} else {
|
|
148
|
-
return
|
|
148
|
+
return matchValue_3;
|
|
149
149
|
}
|
|
150
150
|
} else {
|
|
151
|
-
return
|
|
151
|
+
return orcid;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
function ROCrate_Affiliation_encoder(affiliation) {
|
|
@@ -179,17 +179,17 @@ const ROCrate_Affiliation_decoder = object((get$) => {
|
|
|
179
179
|
return objectArg.Field("name", string);
|
|
180
180
|
});
|
|
181
181
|
function ROCrate_encoder(oa) {
|
|
182
|
-
let value
|
|
182
|
+
let value = void 0;
|
|
183
183
|
const values_1 = choose((tupledArg) => {
|
|
184
184
|
const option_1 = tupledArg[1];
|
|
185
185
|
if (option_1 != null) {
|
|
186
|
-
return [tupledArg[0],
|
|
186
|
+
return [tupledArg[0], option_1];
|
|
187
187
|
} else {
|
|
188
188
|
return void 0;
|
|
189
189
|
}
|
|
190
|
-
}, ofArray([["@id", (value
|
|
190
|
+
}, ofArray([["@id", (value = ROCrate_genID(oa), {
|
|
191
191
|
Encode(helpers) {
|
|
192
|
-
return helpers.encodeString(value
|
|
192
|
+
return helpers.encodeString(value);
|
|
193
193
|
}
|
|
194
194
|
})], ["@type", {
|
|
195
195
|
Encode(helpers_1) {
|
|
@@ -244,7 +244,7 @@ function ROCrate_encodeAuthorListString(authorList) {
|
|
|
244
244
|
const values_1 = choose((tupledArg) => {
|
|
245
245
|
const option_1 = tupledArg[1];
|
|
246
246
|
if (option_1 != null) {
|
|
247
|
-
return [tupledArg[0],
|
|
247
|
+
return [tupledArg[0], option_1];
|
|
248
248
|
} else {
|
|
249
249
|
return void 0;
|
|
250
250
|
}
|
|
@@ -282,7 +282,7 @@ function ISAJson_encoder(idMap, person) {
|
|
|
282
282
|
const values_1 = choose((tupledArg) => {
|
|
283
283
|
const option_1 = tupledArg[1];
|
|
284
284
|
if (option_1 != null) {
|
|
285
|
-
return [tupledArg[0],
|
|
285
|
+
return [tupledArg[0], option_1];
|
|
286
286
|
} else {
|
|
287
287
|
return void 0;
|
|
288
288
|
}
|
|
@@ -331,7 +331,7 @@ function ISAJson_encoder(idMap, person) {
|
|
|
331
331
|
};
|
|
332
332
|
};
|
|
333
333
|
if (idMap != null) {
|
|
334
|
-
return encode(ROCrate_genID, f, person,
|
|
334
|
+
return encode(ROCrate_genID, f, person, idMap);
|
|
335
335
|
} else {
|
|
336
336
|
return f(person);
|
|
337
337
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssayMaterials.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/AssayMaterials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGlF,OAAO,
|
|
1
|
+
{"version":3,"file":"AssayMaterials.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/AssayMaterials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGlF,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAKtG,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU,CAkBpG"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getSamples, getMaterials } from '../../Core/Process/ProcessSequence.js';
|
|
2
2
|
import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
3
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { tryIncludeList } from '../Encode.js';
|
|
5
4
|
import { ISAJson_encoder } from './Sample.js';
|
|
6
5
|
import { ISAJson_encoder as ISAJson_encoder$1 } from './Material.js';
|
|
@@ -12,7 +11,7 @@ function encoder(idMap, ps) {
|
|
|
12
11
|
const values_1 = choose((tupledArg) => {
|
|
13
12
|
const option_1 = tupledArg[1];
|
|
14
13
|
if (option_1 != null) {
|
|
15
|
-
return [tupledArg[0],
|
|
14
|
+
return [tupledArg[0], option_1];
|
|
16
15
|
} else {
|
|
17
16
|
return void 0;
|
|
18
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Component.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAOjH,OAAO,EAAyF,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEnJ,OAAO,EAA+B,OAAO,IAAI,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAG3D,wBAAgB,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,UAAU,CAgBpD;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,SAAS,CAMvC,CAAC;AAEH,eAAO,MAAM,eAAe,kBAAY,CAAC;AAEzC,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,SAAS,CAA8C,CAAC;AAEhG,wBAAgB,aAAa,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,CAElD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,SAAS,GAAG,UAAU,CAoBjG;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,SAAS,CAc/C,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
2
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
3
2
|
import { tryInclude } from '../Encode.js';
|
|
4
3
|
import { OntologyAnnotation_encoder, OntologyAnnotation_decoder, OntologyAnnotation_ISAJson_encoder, OntologyAnnotation_ISAJson_decoder } from '../OntologyAnnotation.js';
|
|
5
4
|
import { encoder as encoder$1, decoder as decoder$1 } from './Value.js';
|
|
@@ -9,15 +8,15 @@ import { object } from '../../fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js';
|
|
|
9
8
|
import { encoder as encoder$2, decoder as decoder$2, genID } from '../PropertyValue.js';
|
|
10
9
|
import { Decode_uri } from '../Decode.js';
|
|
11
10
|
|
|
12
|
-
function encoder(value
|
|
11
|
+
function encoder(value) {
|
|
13
12
|
const values_1 = choose((tupledArg) => {
|
|
14
13
|
const option_1 = tupledArg[1];
|
|
15
14
|
if (option_1 != null) {
|
|
16
|
-
return [tupledArg[0],
|
|
15
|
+
return [tupledArg[0], option_1];
|
|
17
16
|
} else {
|
|
18
17
|
return void 0;
|
|
19
18
|
}
|
|
20
|
-
}, ofArray([tryInclude("type", OntologyAnnotation_encoder, value
|
|
19
|
+
}, ofArray([tryInclude("type", OntologyAnnotation_encoder, value.ComponentType), tryInclude("value", (value_1) => encoder$1(void 0, value_1), value.ComponentValue), tryInclude("unit", OntologyAnnotation_encoder, value.ComponentUnit)]));
|
|
21
20
|
return {
|
|
22
21
|
Encode(helpers) {
|
|
23
22
|
const arg = map((tupledArg_1) => [tupledArg_1[0], tupledArg_1[1].Encode(helpers)], values_1);
|
|
@@ -41,7 +40,7 @@ function ISAJson_encoder(idMap, c) {
|
|
|
41
40
|
const values_1 = choose((tupledArg) => {
|
|
42
41
|
const option_1 = tupledArg[1];
|
|
43
42
|
if (option_1 != null) {
|
|
44
|
-
return [tupledArg[0],
|
|
43
|
+
return [tupledArg[0], option_1];
|
|
45
44
|
} else {
|
|
46
45
|
return void 0;
|
|
47
46
|
}
|
|
@@ -66,7 +65,7 @@ const ISAJson_decoder = object((get$) => {
|
|
|
66
65
|
if (name == null) {
|
|
67
66
|
patternInput_1 = [void 0, void 0];
|
|
68
67
|
} else {
|
|
69
|
-
const patternInput = Component_decomposeName_Z721C83C5(
|
|
68
|
+
const patternInput = Component_decomposeName_Z721C83C5(name);
|
|
70
69
|
patternInput_1 = [patternInput[0], patternInput[1]];
|
|
71
70
|
}
|
|
72
71
|
return new Component(patternInput_1[0], patternInput_1[1], (objectArg_1 = get$.Optional, objectArg_1.Field("componentType", OntologyAnnotation_ISAJson_decoder)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Factor.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Factor.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Factor.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Factor.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAI3E,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAMjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAG3D,wBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAcvC;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAgC1F;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,MAAM,CAGpC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defaultArg } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
2
|
import { concat } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
3
|
import { OntologyAnnotation_ROCrate_genID, OntologyAnnotation_ISAJson_encoder, OntologyAnnotation_ISAJson_decoder } from '../OntologyAnnotation.js';
|
|
4
4
|
import { Factor } from '../../Core/Process/Factor.js';
|
|
@@ -16,18 +16,18 @@ function genID(f) {
|
|
|
16
16
|
if (matchValue_1 == null) {
|
|
17
17
|
return "#EmptyFactor";
|
|
18
18
|
} else {
|
|
19
|
-
return concat("#Factor/", OntologyAnnotation_ROCrate_genID(
|
|
19
|
+
return concat("#Factor/", OntologyAnnotation_ROCrate_genID(matchValue_1));
|
|
20
20
|
}
|
|
21
21
|
} else {
|
|
22
|
-
return concat("#Factor/",
|
|
22
|
+
return concat("#Factor/", matchValue);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
function encoder(idMap, value
|
|
25
|
+
function encoder(idMap, value) {
|
|
26
26
|
const f_1 = (value_1) => {
|
|
27
27
|
const values_1 = choose((tupledArg) => {
|
|
28
28
|
const option_2 = tupledArg[1];
|
|
29
29
|
if (option_2 != null) {
|
|
30
|
-
return [tupledArg[0],
|
|
30
|
+
return [tupledArg[0], option_2];
|
|
31
31
|
} else {
|
|
32
32
|
return void 0;
|
|
33
33
|
}
|
|
@@ -48,9 +48,9 @@ function encoder(idMap, value$1) {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
if (idMap != null) {
|
|
51
|
-
return encode(genID, f_1, value
|
|
51
|
+
return encode(genID, f_1, value, idMap);
|
|
52
52
|
} else {
|
|
53
|
-
return f_1(value
|
|
53
|
+
return f_1(value);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
const decoder = object((get$) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FactorValue.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/FactorValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAA0B,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,
|
|
1
|
+
{"version":3,"file":"FactorValue.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/FactorValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAA0B,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAW/D,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAI3D,eAAO,MAAM,eAAe,gBAAU,CAAC;AAEvC,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,WAAW,CAAgD,CAAC;AAEpG,wBAAgB,aAAa,CAAC,EAAE,EAAE,WAAW,GAAG,MAAM,CAErD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,GAAG,UAAU,CA4BpG;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,WAAW,CAGjD,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { encoder, decoder, genID } from '../PropertyValue.js';
|
|
2
2
|
import { FactorValue_createAsPV, FactorValue } from '../../Core/Process/FactorValue.js';
|
|
3
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
5
4
|
import { tryInclude } from '../Encode.js';
|
|
6
5
|
import { encoder as encoder$1, decoder as decoder$1 } from './Factor.js';
|
|
@@ -21,7 +20,7 @@ function ISAJson_encoder(idMap, fv) {
|
|
|
21
20
|
const values_1 = choose((tupledArg) => {
|
|
22
21
|
const option_1 = tupledArg[1];
|
|
23
22
|
if (option_1 != null) {
|
|
24
|
-
return [tupledArg[0],
|
|
23
|
+
return [tupledArg[0], option_1];
|
|
25
24
|
} else {
|
|
26
25
|
return void 0;
|
|
27
26
|
}
|
|
@@ -38,7 +37,7 @@ function ISAJson_encoder(idMap, fv) {
|
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
39
|
if (idMap != null) {
|
|
41
|
-
return encode(ISAJson_genID, f, fv,
|
|
40
|
+
return encode(ISAJson_genID, f, fv, idMap);
|
|
42
41
|
} else {
|
|
43
42
|
return f(fv);
|
|
44
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Material.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Material.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Material.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Material.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAA8B,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAYjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,aAAa,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAcjD;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,QAAQ,GAAG,UAAU,CAiCxD;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,QAAQ,CAU5C,CAAC;AAEL,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,QAAQ,GAAG,UAAU,CAgChG;AAED,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,MAAM,CAA2F,CAAC;AAEjJ,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,QAAQ,CAM5C,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
1
|
import { replace } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
2
|
import { Material } from '../../Core/Process/Material.js';
|
|
4
3
|
import { choose, ofArray, singleton } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
@@ -19,24 +18,24 @@ function ROCrate_genID(m) {
|
|
|
19
18
|
if (matchValue_1 == null) {
|
|
20
19
|
return "#EmptyMaterial";
|
|
21
20
|
} else {
|
|
22
|
-
return "#Material_" + replace(
|
|
21
|
+
return "#Material_" + replace(matchValue_1, " ", "_");
|
|
23
22
|
}
|
|
24
23
|
} else {
|
|
25
|
-
return
|
|
24
|
+
return matchValue;
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
function ROCrate_encoder(oa) {
|
|
29
|
-
let value
|
|
28
|
+
let value = void 0;
|
|
30
29
|
const values_1 = choose((tupledArg) => {
|
|
31
30
|
const option_1 = tupledArg[1];
|
|
32
31
|
if (option_1 != null) {
|
|
33
|
-
return [tupledArg[0],
|
|
32
|
+
return [tupledArg[0], option_1];
|
|
34
33
|
} else {
|
|
35
34
|
return void 0;
|
|
36
35
|
}
|
|
37
|
-
}, ofArray([["@id", (value
|
|
36
|
+
}, ofArray([["@id", (value = ROCrate_genID(oa), {
|
|
38
37
|
Encode(helpers) {
|
|
39
|
-
return helpers.encodeString(value
|
|
38
|
+
return helpers.encodeString(value);
|
|
40
39
|
}
|
|
41
40
|
})], ["@type", list(singleton({
|
|
42
41
|
Encode(helpers_1) {
|
|
@@ -61,7 +60,7 @@ function ROCrate_encoder(oa) {
|
|
|
61
60
|
const ROCrate_decoder = (() => {
|
|
62
61
|
const decode = () => object((get$) => {
|
|
63
62
|
let matchValue = void 0, objectArg = void 0, objectArg_2 = void 0, objectArg_3 = void 0, objectArg_4 = void 0, arg_11 = void 0, objectArg_5 = void 0, arg_13 = void 0, objectArg_6 = void 0;
|
|
64
|
-
if (!(matchValue = (objectArg = get$.Optional, objectArg.Field("additionalType", Decode_uri)), matchValue == null ? true :
|
|
63
|
+
if (!(matchValue = (objectArg = get$.Optional, objectArg.Field("additionalType", Decode_uri)), matchValue == null ? true : matchValue === "Material")) {
|
|
65
64
|
const objectArg_1 = get$.Required;
|
|
66
65
|
objectArg_1.Field("FailBecauseNotSample", unit);
|
|
67
66
|
}
|
|
@@ -74,7 +73,7 @@ function ISAJson_encoder(idMap, c) {
|
|
|
74
73
|
const values_1 = choose((tupledArg) => {
|
|
75
74
|
const option_1 = tupledArg[1];
|
|
76
75
|
if (option_1 != null) {
|
|
77
|
-
return [tupledArg[0],
|
|
76
|
+
return [tupledArg[0], option_1];
|
|
78
77
|
} else {
|
|
79
78
|
return void 0;
|
|
80
79
|
}
|
|
@@ -95,7 +94,7 @@ function ISAJson_encoder(idMap, c) {
|
|
|
95
94
|
};
|
|
96
95
|
};
|
|
97
96
|
if (idMap != null) {
|
|
98
|
-
return encode(ROCrate_genID, f, c,
|
|
97
|
+
return encode(ROCrate_genID, f, c, idMap);
|
|
99
98
|
} else {
|
|
100
99
|
return f(c);
|
|
101
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaterialAttribute.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/MaterialAttribute.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"MaterialAttribute.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/MaterialAttribute.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAI/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAIjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAG3D,wBAAgB,KAAK,CAAC,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAQlD;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,iBAAiB,GAAG,UAAU,CA4BrG;AAED,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,iBAAiB,CAG/C,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
1
|
import { concat } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
2
|
import { OntologyAnnotation_ROCrate_genID, OntologyAnnotation_ISAJson_encoder, OntologyAnnotation_ISAJson_decoder } from '../OntologyAnnotation.js';
|
|
4
3
|
import { MaterialAttribute } from '../../Core/Process/MaterialAttribute.js';
|
|
@@ -13,15 +12,15 @@ function genID(m) {
|
|
|
13
12
|
if (matchValue == null) {
|
|
14
13
|
return "#EmptyFactor";
|
|
15
14
|
} else {
|
|
16
|
-
return concat("#MaterialAttribute/", OntologyAnnotation_ROCrate_genID(
|
|
15
|
+
return concat("#MaterialAttribute/", OntologyAnnotation_ROCrate_genID(matchValue));
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
|
-
function encoder(idMap, value
|
|
18
|
+
function encoder(idMap, value) {
|
|
20
19
|
const f = (value_1) => {
|
|
21
20
|
const values_1 = choose((tupledArg) => {
|
|
22
21
|
const option_1 = tupledArg[1];
|
|
23
22
|
if (option_1 != null) {
|
|
24
|
-
return [tupledArg[0],
|
|
23
|
+
return [tupledArg[0], option_1];
|
|
25
24
|
} else {
|
|
26
25
|
return void 0;
|
|
27
26
|
}
|
|
@@ -38,9 +37,9 @@ function encoder(idMap, value$1) {
|
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
39
|
if (idMap != null) {
|
|
41
|
-
return encode(genID, f, value
|
|
40
|
+
return encode(genID, f, value, idMap);
|
|
42
41
|
} else {
|
|
43
|
-
return f(value
|
|
42
|
+
return f(value);
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
const decoder = object((get$) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaterialAttributeValue.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/MaterialAttributeValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAqC,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACzH,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,
|
|
1
|
+
{"version":3,"file":"MaterialAttributeValue.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/MaterialAttributeValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAqC,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACzH,OAAO,EAAqB,SAAS,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAW/D,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAI3D,eAAO,MAAM,eAAe,gBAAU,CAAC;AAEvC,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,sBAAsB,CAAsE,CAAC;AAErI,wBAAgB,aAAa,CAAC,EAAE,EAAE,sBAAsB,GAAG,MAAM,CAEhE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,GAAG,UAAU,CA4B/G;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,sBAAsB,CAG5D,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { encoder, decoder, genID } from '../PropertyValue.js';
|
|
2
2
|
import { MaterialAttributeValue_createAsPV, MaterialAttributeValue } from '../../Core/Process/MaterialAttributeValue.js';
|
|
3
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { choose, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
5
4
|
import { tryInclude } from '../Encode.js';
|
|
6
5
|
import { encoder as encoder$1, decoder as decoder$1 } from './MaterialAttribute.js';
|
|
@@ -21,7 +20,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
21
20
|
const values_1 = choose((tupledArg) => {
|
|
22
21
|
const option_1 = tupledArg[1];
|
|
23
22
|
if (option_1 != null) {
|
|
24
|
-
return [tupledArg[0],
|
|
23
|
+
return [tupledArg[0], option_1];
|
|
25
24
|
} else {
|
|
26
25
|
return void 0;
|
|
27
26
|
}
|
|
@@ -38,7 +37,7 @@ function ISAJson_encoder(idMap, oa) {
|
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
39
|
if (idMap != null) {
|
|
41
|
-
return encode(ISAJson_genID, f, oa,
|
|
40
|
+
return encode(ISAJson_genID, f, oa, idMap);
|
|
42
41
|
} else {
|
|
43
42
|
return f(oa);
|
|
44
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Process.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Process.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Process.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Json/Process/Process.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAG/D,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,SAAS,EAAqB,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAmBjH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAE3D,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAchD;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,GAAG,UAAU,CAiC7G;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,OAAO,CAG7C,CAAC;AAEH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,GAAG,UAAU,CAwCtJ;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,OAAO,CAM3C,CAAC"}
|