@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
|
@@ -20,7 +20,7 @@ function getEmptyCellForHeader(header, columCellOption) {
|
|
|
20
20
|
if (columCellOption == null) {
|
|
21
21
|
matchResult = 0;
|
|
22
22
|
} else {
|
|
23
|
-
switch (
|
|
23
|
+
switch (columCellOption.tag) {
|
|
24
24
|
case /* Term */
|
|
25
25
|
0: {
|
|
26
26
|
matchResult = 0;
|
|
@@ -47,21 +47,21 @@ function getEmptyCellForHeader(header, columCellOption) {
|
|
|
47
47
|
return CompositeCell.emptyFreeText;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function ensureCellHashInValueMap(value
|
|
50
|
+
function ensureCellHashInValueMap(value, valueMap) {
|
|
51
51
|
const loop = (hash_mut) => {
|
|
52
52
|
loop:
|
|
53
53
|
while (true) {
|
|
54
54
|
const hash = hash_mut;
|
|
55
|
-
const hash_2 = (hash == null ? safeHash(value
|
|
55
|
+
const hash_2 = (hash == null ? safeHash(value) : hash) | 0;
|
|
56
56
|
if (valueMap.has(hash_2)) {
|
|
57
|
-
if (equals(getItemFromDict(valueMap, hash_2), value
|
|
57
|
+
if (equals(getItemFromDict(valueMap, hash_2), value)) {
|
|
58
58
|
return hash_2 | 0;
|
|
59
59
|
} else {
|
|
60
60
|
hash_mut = hash_2 + 4269;
|
|
61
61
|
continue loop;
|
|
62
62
|
}
|
|
63
63
|
} else {
|
|
64
|
-
addToDict(valueMap, hash_2, value
|
|
64
|
+
addToDict(valueMap, hash_2, value);
|
|
65
65
|
return hash_2 | 0;
|
|
66
66
|
}
|
|
67
67
|
break;
|
|
@@ -329,15 +329,13 @@ class ArcTableValues {
|
|
|
329
329
|
let matchValue;
|
|
330
330
|
const dict = this$._columns;
|
|
331
331
|
let patternInput;
|
|
332
|
-
|
|
333
|
-
patternInput = [tryGetValue(dict, i,
|
|
334
|
-
outArg = v;
|
|
335
|
-
})), outArg];
|
|
332
|
+
const cell = new FSharpRef(defaultOf());
|
|
333
|
+
patternInput = [tryGetValue(dict, i, cell), cell.contents];
|
|
336
334
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
337
335
|
if (matchValue != null) {
|
|
338
|
-
if (
|
|
336
|
+
if (matchValue.tag === /* Sparse */
|
|
339
337
|
1) {
|
|
340
|
-
const values =
|
|
338
|
+
const values = matchValue.fields[0];
|
|
341
339
|
let enumerator = getEnumerator(values);
|
|
342
340
|
try {
|
|
343
341
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
@@ -349,7 +347,7 @@ class ArcTableValues {
|
|
|
349
347
|
disposeSafe(enumerator);
|
|
350
348
|
}
|
|
351
349
|
} else {
|
|
352
|
-
const valueHash =
|
|
350
|
+
const valueHash = matchValue.fields[0] | 0;
|
|
353
351
|
for (let i_1 = 0; i_1 <= this$._rowCount - 1; i_1++) {
|
|
354
352
|
hash = -1640531527 + i_1 + (hash << 6) + (hash >> 2) | 0;
|
|
355
353
|
hash = -1640531527 + valueHash + (hash << 6) + (hash >> 2) | 0;
|
|
@@ -379,13 +377,11 @@ class ArcTableValues {
|
|
|
379
377
|
let matchValue;
|
|
380
378
|
const dict = this$._columns;
|
|
381
379
|
let patternInput;
|
|
382
|
-
|
|
383
|
-
patternInput = [tryGetValue(dict, col,
|
|
384
|
-
outArg = v;
|
|
385
|
-
})), outArg];
|
|
380
|
+
const cell = new FSharpRef(defaultOf());
|
|
381
|
+
patternInput = [tryGetValue(dict, col, cell), cell.contents];
|
|
386
382
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
387
383
|
if (matchValue != null) {
|
|
388
|
-
const colValueRefs =
|
|
384
|
+
const colValueRefs = matchValue;
|
|
389
385
|
if (colValueRefs.tag === /* Sparse */
|
|
390
386
|
1) {
|
|
391
387
|
const values = colValueRefs.fields[0];
|
|
@@ -404,13 +400,11 @@ class ArcTableValues {
|
|
|
404
400
|
let matchValue;
|
|
405
401
|
const dict = this$._columns;
|
|
406
402
|
let patternInput;
|
|
407
|
-
|
|
408
|
-
patternInput = [tryGetValue(dict, colI,
|
|
409
|
-
outArg = v;
|
|
410
|
-
})), outArg];
|
|
403
|
+
const cell = new FSharpRef(defaultOf());
|
|
404
|
+
patternInput = [tryGetValue(dict, colI, cell), cell.contents];
|
|
411
405
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
412
406
|
if (matchValue != null) {
|
|
413
|
-
const matchValue_1 =
|
|
407
|
+
const matchValue_1 = matchValue;
|
|
414
408
|
if (matchValue_1.tag === /* Sparse */
|
|
415
409
|
1) {
|
|
416
410
|
const values = matchValue_1.fields[0];
|
|
@@ -466,7 +460,7 @@ function $007CIsUniqueExistingHeader$007C_$007C(existingHeaders, input) {
|
|
|
466
460
|
function tryFindDuplicateUnique(newHeader, existingHeaders) {
|
|
467
461
|
const activePatternResult = $007CIsUniqueExistingHeader$007C_$007C(existingHeaders, newHeader);
|
|
468
462
|
if (activePatternResult != null) {
|
|
469
|
-
const index =
|
|
463
|
+
const index = activePatternResult | 0;
|
|
470
464
|
return index;
|
|
471
465
|
} else {
|
|
472
466
|
return void 0;
|
|
@@ -591,21 +585,19 @@ function SanityChecks_validateArcTableValues(headers, values, raiseException) {
|
|
|
591
585
|
const key = colIndex | 0;
|
|
592
586
|
const dict = values.Columns;
|
|
593
587
|
let patternInput;
|
|
594
|
-
|
|
595
|
-
patternInput = [tryGetValue(dict, key,
|
|
596
|
-
outArg = v;
|
|
597
|
-
})), outArg];
|
|
588
|
+
const cell = new FSharpRef(defaultOf());
|
|
589
|
+
patternInput = [tryGetValue(dict, key, cell), cell.contents];
|
|
598
590
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
599
591
|
if (matchValue != null) {
|
|
600
|
-
if (
|
|
592
|
+
if (matchValue.tag === /* Sparse */
|
|
601
593
|
1) {
|
|
602
|
-
const column =
|
|
594
|
+
const column = matchValue.fields[0];
|
|
603
595
|
let enumerator = getEnumerator(column);
|
|
604
596
|
try {
|
|
605
597
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
606
598
|
const kv = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
607
|
-
const
|
|
608
|
-
if (!
|
|
599
|
+
const cell_2 = getItemFromDict(values.ValueMap, kv[1]);
|
|
600
|
+
if (!cell_2.ValidateAgainstHeader(header, raiseException)) {
|
|
609
601
|
isValid = false;
|
|
610
602
|
}
|
|
611
603
|
}
|
|
@@ -613,9 +605,9 @@ function SanityChecks_validateArcTableValues(headers, values, raiseException) {
|
|
|
613
605
|
disposeSafe(enumerator);
|
|
614
606
|
}
|
|
615
607
|
} else {
|
|
616
|
-
const hash =
|
|
617
|
-
const
|
|
618
|
-
if (!
|
|
608
|
+
const hash = matchValue.fields[0] | 0;
|
|
609
|
+
const cell_1 = getItemFromDict(values.ValueMap, hash);
|
|
610
|
+
if (!cell_1.ValidateAgainstHeader(header, raiseException)) {
|
|
619
611
|
isValid = false;
|
|
620
612
|
}
|
|
621
613
|
}
|
|
@@ -629,13 +621,11 @@ function Unchecked_tryGetCellAt(column, row, values) {
|
|
|
629
621
|
let option_1;
|
|
630
622
|
const dict = values.Columns;
|
|
631
623
|
let patternInput;
|
|
632
|
-
|
|
633
|
-
patternInput = [tryGetValue(dict, column,
|
|
634
|
-
outArg = v;
|
|
635
|
-
})), outArg];
|
|
624
|
+
const cell = new FSharpRef(defaultOf());
|
|
625
|
+
patternInput = [tryGetValue(dict, column, cell), cell.contents];
|
|
636
626
|
option_1 = patternInput[0] ? patternInput[1] : void 0;
|
|
637
627
|
if (option_1 != null) {
|
|
638
|
-
const col =
|
|
628
|
+
const col = option_1;
|
|
639
629
|
if (col.tag === /* Sparse */
|
|
640
630
|
1) {
|
|
641
631
|
const vals = col.fields[0];
|
|
@@ -660,10 +650,8 @@ function Unchecked_getCellWithDefault(column, row, headers, values) {
|
|
|
660
650
|
let matchValue;
|
|
661
651
|
const dict = values.Columns;
|
|
662
652
|
let patternInput;
|
|
663
|
-
|
|
664
|
-
patternInput = [tryGetValue(dict, column,
|
|
665
|
-
outArg = v;
|
|
666
|
-
})), outArg];
|
|
653
|
+
const cell = new FSharpRef(defaultOf());
|
|
654
|
+
patternInput = [tryGetValue(dict, column, cell), cell.contents];
|
|
667
655
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
668
656
|
if (matchValue == null) {
|
|
669
657
|
if (row < values.RowCount) {
|
|
@@ -672,7 +660,7 @@ function Unchecked_getCellWithDefault(column, row, headers, values) {
|
|
|
672
660
|
return getEmptyCellForHeader(item$1(column, headers), void 0);
|
|
673
661
|
}
|
|
674
662
|
} else {
|
|
675
|
-
const col =
|
|
663
|
+
const col = matchValue;
|
|
676
664
|
if (col.tag === /* Sparse */
|
|
677
665
|
1) {
|
|
678
666
|
const vals = col.fields[0];
|
|
@@ -700,13 +688,11 @@ function Unchecked_setCellAt(columnIndex, rowIndex, c, values) {
|
|
|
700
688
|
let matchValue;
|
|
701
689
|
const dict = values.Columns;
|
|
702
690
|
let patternInput;
|
|
703
|
-
|
|
704
|
-
patternInput = [tryGetValue(dict, columnIndex,
|
|
705
|
-
outArg = v;
|
|
706
|
-
})), outArg];
|
|
691
|
+
const cell = new FSharpRef(defaultOf());
|
|
692
|
+
patternInput = [tryGetValue(dict, columnIndex, cell), cell.contents];
|
|
707
693
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
708
694
|
if (matchValue != null) {
|
|
709
|
-
const col =
|
|
695
|
+
const col = matchValue;
|
|
710
696
|
if (col.tag === /* Sparse */
|
|
711
697
|
1) {
|
|
712
698
|
const vals = col.fields[0];
|
|
@@ -747,13 +733,11 @@ function Unchecked_removeCellAt(columnIndex, rowIndex, values) {
|
|
|
747
733
|
let matchValue;
|
|
748
734
|
const dict = values.Columns;
|
|
749
735
|
let patternInput;
|
|
750
|
-
|
|
751
|
-
patternInput = [tryGetValue(dict, columnIndex,
|
|
752
|
-
outArg = v;
|
|
753
|
-
})), outArg];
|
|
736
|
+
const cell = new FSharpRef(defaultOf());
|
|
737
|
+
patternInput = [tryGetValue(dict, columnIndex, cell), cell.contents];
|
|
754
738
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
755
739
|
if (matchValue != null) {
|
|
756
|
-
const col =
|
|
740
|
+
const col = matchValue;
|
|
757
741
|
if (col.tag === /* Sparse */
|
|
758
742
|
1) {
|
|
759
743
|
const vals = col.fields[0];
|
|
@@ -775,7 +759,7 @@ function Unchecked_moveCellTo(fromCol, fromRow, toCol, toRow, values) {
|
|
|
775
759
|
const matchValue = Unchecked_tryGetCellAt(fromCol, fromRow, values);
|
|
776
760
|
if (matchValue == null) {
|
|
777
761
|
} else {
|
|
778
|
-
const cell =
|
|
762
|
+
const cell = matchValue;
|
|
779
763
|
Unchecked_removeCellAt(fromCol, fromRow, values);
|
|
780
764
|
Unchecked_setCellAt(toCol, toRow, cell, values);
|
|
781
765
|
}
|
|
@@ -872,21 +856,19 @@ function Unchecked_moveColumnCellsTo(fromCol, toCol, values) {
|
|
|
872
856
|
let matchValue;
|
|
873
857
|
const dict = values.Columns;
|
|
874
858
|
let patternInput;
|
|
875
|
-
|
|
876
|
-
patternInput = [tryGetValue(dict, fromCol,
|
|
877
|
-
outArg = v;
|
|
878
|
-
})), outArg];
|
|
859
|
+
const cell = new FSharpRef(defaultOf());
|
|
860
|
+
patternInput = [tryGetValue(dict, fromCol, cell), cell.contents];
|
|
879
861
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
880
862
|
if (matchValue != null) {
|
|
881
|
-
const col =
|
|
863
|
+
const col = matchValue;
|
|
882
864
|
Unchecked_removeColumnCells(fromCol, values);
|
|
883
865
|
const key_1 = toCol | 0;
|
|
884
|
-
const value
|
|
866
|
+
const value = col;
|
|
885
867
|
const dict_1 = values.Columns;
|
|
886
868
|
if (dict_1.has(key_1)) {
|
|
887
|
-
dict_1.set(key_1, value
|
|
869
|
+
dict_1.set(key_1, value);
|
|
888
870
|
} else {
|
|
889
|
-
addToDict(dict_1, key_1, value
|
|
871
|
+
addToDict(dict_1, key_1, value);
|
|
890
872
|
}
|
|
891
873
|
}
|
|
892
874
|
}
|
|
@@ -963,15 +945,13 @@ function Unchecked_fillMissingCells(headers, values) {
|
|
|
963
945
|
let matchValue;
|
|
964
946
|
const dict = values.Columns;
|
|
965
947
|
let patternInput;
|
|
966
|
-
|
|
967
|
-
patternInput = [tryGetValue(dict, i,
|
|
968
|
-
outArg = v;
|
|
969
|
-
})), outArg];
|
|
948
|
+
const cell = new FSharpRef(defaultOf());
|
|
949
|
+
patternInput = [tryGetValue(dict, i, cell), cell.contents];
|
|
970
950
|
matchValue = patternInput[0] ? patternInput[1] : void 0;
|
|
971
951
|
if (matchValue != null) {
|
|
972
|
-
if (
|
|
952
|
+
if (matchValue.tag === /* Sparse */
|
|
973
953
|
1) {
|
|
974
|
-
const vals =
|
|
954
|
+
const vals = matchValue.fields[0];
|
|
975
955
|
if (vals.size < values.RowCount) {
|
|
976
956
|
const header = item$1(i, headers);
|
|
977
957
|
const defaultHash = ensureCellHashInValueMap(vals.size === 0 ? getEmptyCellForHeader(header, void 0) : (i_1 = max(vals.keys(), {
|
|
@@ -1130,7 +1110,7 @@ function Unchecked_alignByHeaders(keepOrder, rows) {
|
|
|
1130
1110
|
if (firstMatch == null) {
|
|
1131
1111
|
return newL;
|
|
1132
1112
|
} else {
|
|
1133
|
-
Unchecked_setCellAt(colI, rowI,
|
|
1113
|
+
Unchecked_setCellAt(colI, rowI, firstMatch, values);
|
|
1134
1114
|
return newL;
|
|
1135
1115
|
}
|
|
1136
1116
|
}
|
|
@@ -20,7 +20,7 @@ function ArcTablesAux_findIndexByTableName(name, tables) {
|
|
|
20
20
|
if (matchValue == null) {
|
|
21
21
|
throw new Exception(concat("Unable to find table with name '", name, "'!"));
|
|
22
22
|
} else {
|
|
23
|
-
return
|
|
23
|
+
return matchValue | 0;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
function ArcTablesAux_getIOMap(tables) {
|
|
@@ -31,7 +31,7 @@ function ArcTablesAux_getIOMap(tables) {
|
|
|
31
31
|
if (matchValue == null) {
|
|
32
32
|
addToDict(mappings, name, ioType);
|
|
33
33
|
} else {
|
|
34
|
-
const oldIOType =
|
|
34
|
+
const oldIOType = matchValue;
|
|
35
35
|
const newIOType = oldIOType.Merge(ioType);
|
|
36
36
|
mappings.set(name, newIOType);
|
|
37
37
|
}
|
|
@@ -44,7 +44,7 @@ function ArcTablesAux_getIOMap(tables) {
|
|
|
44
44
|
const matchValue_1 = table.TryGetInputColumn();
|
|
45
45
|
if (matchValue_1 == null) {
|
|
46
46
|
} else {
|
|
47
|
-
const ic =
|
|
47
|
+
const ic = matchValue_1;
|
|
48
48
|
const ioType_1 = value(ic.Header.TryInput());
|
|
49
49
|
ResizeArray_iter((c) => {
|
|
50
50
|
includeInMap(c.ToFreeTextCell().AsFreeText, ioType_1);
|
|
@@ -53,7 +53,7 @@ function ArcTablesAux_getIOMap(tables) {
|
|
|
53
53
|
const matchValue_2 = table.TryGetOutputColumn();
|
|
54
54
|
if (matchValue_2 == null) {
|
|
55
55
|
} else {
|
|
56
|
-
const oc =
|
|
56
|
+
const oc = matchValue_2;
|
|
57
57
|
const ioType_2 = value(oc.Header.TryOutput());
|
|
58
58
|
ResizeArray_iter((c_1) => {
|
|
59
59
|
includeInMap(c_1.ToFreeTextCell().AsFreeText, ioType_2);
|
|
@@ -73,14 +73,14 @@ function ArcTablesAux_applyIOMap(map, tables) {
|
|
|
73
73
|
const matchValue = table.TryGetInputColumn();
|
|
74
74
|
if (matchValue == null) {
|
|
75
75
|
} else {
|
|
76
|
-
const ic =
|
|
76
|
+
const ic = matchValue;
|
|
77
77
|
const index = findIndex((x) => x.isInput, table.Headers) | 0;
|
|
78
78
|
const newIOType = ResizeArray_fold((io, c) => {
|
|
79
79
|
const matchValue_1 = Dictionary_tryFind(c.ToFreeTextCell().AsFreeText, map);
|
|
80
80
|
if (matchValue_1 == null) {
|
|
81
81
|
return io;
|
|
82
82
|
} else {
|
|
83
|
-
const newIO =
|
|
83
|
+
const newIO = matchValue_1;
|
|
84
84
|
return io.Merge(newIO);
|
|
85
85
|
}
|
|
86
86
|
}, value(ic.Header.TryInput()), ic.Cells);
|
|
@@ -89,14 +89,14 @@ function ArcTablesAux_applyIOMap(map, tables) {
|
|
|
89
89
|
const matchValue_2 = table.TryGetOutputColumn();
|
|
90
90
|
if (matchValue_2 == null) {
|
|
91
91
|
} else {
|
|
92
|
-
const oc =
|
|
92
|
+
const oc = matchValue_2;
|
|
93
93
|
const index_1 = findIndex((x_1) => x_1.isOutput, table.Headers) | 0;
|
|
94
94
|
const newIOType_1 = ResizeArray_fold((io_1, c_1) => {
|
|
95
95
|
const matchValue_3 = Dictionary_tryFind(c_1.ToFreeTextCell().AsFreeText, map);
|
|
96
96
|
if (matchValue_3 == null) {
|
|
97
97
|
return io_1;
|
|
98
98
|
} else {
|
|
99
|
-
const newIO_1 =
|
|
99
|
+
const newIO_1 = matchValue_3;
|
|
100
100
|
return io_1.Merge(newIO_1);
|
|
101
101
|
}
|
|
102
102
|
}, value(oc.Header.TryOutput()), oc.Cells);
|
|
@@ -128,16 +128,16 @@ function ArcTablesAux_SanityChecks_validateNewNameUnique(newName, existingNames)
|
|
|
128
128
|
const matchValue = tryFindIndex((x) => x === newName, existingNames);
|
|
129
129
|
if (matchValue == null) {
|
|
130
130
|
} else {
|
|
131
|
-
throw new Exception(`Cannot create table with name ${newName}, as table names must be unique and table at index ${
|
|
131
|
+
throw new Exception(`Cannot create table with name ${newName}, as table names must be unique and table at index ${matchValue} has the same name.`);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
function ArcTablesAux_SanityChecks_validateNewNameAtUnique(index, newName, existingNames) {
|
|
135
135
|
const matchValue = tryFindIndex((x) => x === newName, existingNames);
|
|
136
136
|
if (matchValue == null) {
|
|
137
|
-
} else if (index ===
|
|
138
|
-
const i_1 =
|
|
137
|
+
} else if (index === matchValue) {
|
|
138
|
+
const i_1 = matchValue | 0;
|
|
139
139
|
} else {
|
|
140
|
-
const i_2 =
|
|
140
|
+
const i_2 = matchValue | 0;
|
|
141
141
|
throw new Exception(`Cannot create table with name ${newName}, as table names must be unique and table at index ${i_2} has the same name.`);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -244,7 +244,7 @@ class ArcTables {
|
|
|
244
244
|
if (matchValue == null) {
|
|
245
245
|
this$.AddTable(table);
|
|
246
246
|
} else {
|
|
247
|
-
const index =
|
|
247
|
+
const index = matchValue | 0;
|
|
248
248
|
this$.SetTableAt(index, table);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
@@ -383,7 +383,7 @@ class ArcTables {
|
|
|
383
383
|
let c = void 0;
|
|
384
384
|
const option_1 = t.TryGetProtocolNameColumn();
|
|
385
385
|
if (option_1 != null) {
|
|
386
|
-
return c =
|
|
386
|
+
return c = option_1, [item(0, c.Cells).AsFreeText, t];
|
|
387
387
|
} else {
|
|
388
388
|
return void 0;
|
|
389
389
|
}
|
|
@@ -392,12 +392,12 @@ class ArcTables {
|
|
|
392
392
|
});
|
|
393
393
|
return new ArcTables((collection = (s = ResizeArray_map((tupledArg) => reduce((table_1, table_2) => ArcTable.append(table_1, table_2), tupledArg[1]), ResizeArray_groupBy((t_2) => t_2.Name, ResizeArray_map((t_1) => {
|
|
394
394
|
let option_5 = void 0, option_3 = void 0, i = void 0, c_1 = void 0;
|
|
395
|
-
const k = defaultArg((option_5 = (option_3 = tryFindIndex((x_1) => equals(x_1, CompositeHeader.ProtocolREF), t_1.Headers), option_3 != null ? (i =
|
|
395
|
+
const k = defaultArg((option_5 = (option_3 = tryFindIndex((x_1) => equals(x_1, CompositeHeader.ProtocolREF), t_1.Headers), option_3 != null ? (i = option_3 | 0, t_1.TryGetCellAt(i, 0)) : void 0), option_5 != null ? (c_1 = option_5, c_1.AsFreeText === "" ? void 0 : c_1.AsFreeText) : void 0), t_1.Name);
|
|
396
396
|
const matchValue = tryFind$1(k, referenceTableMap);
|
|
397
397
|
if (matchValue == null) {
|
|
398
398
|
return t_1;
|
|
399
399
|
} else {
|
|
400
|
-
const rt =
|
|
400
|
+
const rt = matchValue;
|
|
401
401
|
addToSet(k, usedTables);
|
|
402
402
|
const updatedTable = ArcTable.updateReferenceByAnnotationTable(rt, t_1);
|
|
403
403
|
return ArcTable.fromArcTableValues(t_1.Name, updatedTable.Headers, updatedTable.Values);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompositeHeader.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Table/CompositeHeader.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAE9E,OAAO,EAA2B,QAAQ,EAAuB,MAAM,2CAA2C,CAAC;AACnH,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAE,KAAK,EAAY,MAAM,sCAAsC,CAAC;AAEvE,OAAO,
|
|
1
|
+
{"version":3,"file":"CompositeHeader.d.ts","sourceRoot":"","sources":["../../../../../src/ARCtrl/ts/Core/Table/CompositeHeader.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAE9E,OAAO,EAA2B,QAAQ,EAAuB,MAAM,2CAA2C,CAAC;AACnH,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAE,KAAK,EAAY,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAkC,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9F,MAAM,MAAM,aAAa,GACnB,MAAM,CAAC,CAAC,CAAC,GACT,MAAM,CAAC,CAAC,CAAC,GACT,MAAM,CAAC,CAAC,CAAC,GACT,MAAM,CAAC,CAAC,CAAC,GACT,MAAM,CAAC,CAAC,CAAC,CAAA;AAEf,MAAM,MAAM,aAAa,GAAG;IACxB,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAClB,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAClB,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAChB,CAAC,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;IACpB,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,MAAM,CAAC,CAAC,CAAA;CAC5B,CAAA;AAED,wBAAgB,aAAa,QAE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;IAG7D,MAAM,CAAC,SAAS,CAAC,EAAE,EAAE,kBAAkB,GAAG,sBAAsB;IAGhE,MAAM,CAAC,YAAY,IAAI,sBAAsB;IAG7C,MAAM,CAAC,mBAAmB,IAAI,sBAAsB;IAGpD,MAAM,CAAC,WAAW,IAAI,sBAAsB;IAG5C,MAAM,CAAC,eAAe,IAAI,sBAAsB;IAGhD,MAAM,CAAC,WAAW,IAAI,sBAAsB;IAG5C,MAAM,CAAC,SAAS,IAAI,sBAAsB;IAG1C,MAAM,CAAC,IAAI,IAAI,sBAAsB;IAGrC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,aAAa,GAAG,sBAAsB;IAGvD,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,GAAG,sBAAsB;IAGxD,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,sBAAsB;IAGlD,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,sBAAsB;CAGpD;AAED,wBAAgB,2BAA2B,IAAI,QAAQ,CAEtD"}
|
|
@@ -4,7 +4,6 @@ import { name, getUnionCases, union_type, string_type } from '../../../node_modu
|
|
|
4
4
|
import { concat, toFail, printf } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
5
5
|
import { Union, toString } from '../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
6
6
|
import { tryParseIOTypeHeader, ActivePatterns_$007CRegex$007C_$007C, Pattern_InputPattern, Pattern_OutputPattern, Pattern_CommentPattern, ActivePatterns_$007CTermColumn$007C_$007C } from '../Helper/Regex.js';
|
|
7
|
-
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
8
7
|
import { OntologyAnnotation, OntologyAnnotation_$reflection } from '../OntologyAnnotation.js';
|
|
9
8
|
|
|
10
9
|
function IOType_Source() {
|
|
@@ -181,7 +180,7 @@ class IOType extends Union {
|
|
|
181
180
|
if (matchValue == null) {
|
|
182
181
|
return void 0;
|
|
183
182
|
} else {
|
|
184
|
-
const s =
|
|
183
|
+
const s = matchValue;
|
|
185
184
|
return IOType.ofString(s);
|
|
186
185
|
}
|
|
187
186
|
}
|
|
@@ -407,24 +406,24 @@ class CompositeHeader extends Union {
|
|
|
407
406
|
const matchValue = str.trim();
|
|
408
407
|
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Pattern_InputPattern, matchValue);
|
|
409
408
|
if (activePatternResult != null) {
|
|
410
|
-
const r =
|
|
409
|
+
const r = activePatternResult;
|
|
411
410
|
const iotype = r.groups && r.groups.iotype || "";
|
|
412
411
|
return CompositeHeader_Input(IOType.ofString(iotype));
|
|
413
412
|
} else {
|
|
414
413
|
const activePatternResult_1 = ActivePatterns_$007CRegex$007C_$007C(Pattern_OutputPattern, matchValue);
|
|
415
414
|
if (activePatternResult_1 != null) {
|
|
416
|
-
const r_1 =
|
|
415
|
+
const r_1 = activePatternResult_1;
|
|
417
416
|
const iotype_1 = r_1.groups && r_1.groups.iotype || "";
|
|
418
417
|
return CompositeHeader_Output(IOType.ofString(iotype_1));
|
|
419
418
|
} else {
|
|
420
419
|
const activePatternResult_2 = ActivePatterns_$007CRegex$007C_$007C(Pattern_CommentPattern, matchValue);
|
|
421
420
|
if (activePatternResult_2 != null) {
|
|
422
|
-
const r_2 =
|
|
421
|
+
const r_2 = activePatternResult_2;
|
|
423
422
|
return CompositeHeader_Comment$(r_2.groups && r_2.groups.commentKey || "");
|
|
424
423
|
} else {
|
|
425
424
|
const activePatternResult_3 = ActivePatterns_$007CTermColumn$007C_$007C(matchValue);
|
|
426
425
|
if (activePatternResult_3 != null) {
|
|
427
|
-
const r_3 =
|
|
426
|
+
const r_3 = activePatternResult_3;
|
|
428
427
|
const matchValue_1 = r_3.TermColumnType;
|
|
429
428
|
switch (matchValue_1) {
|
|
430
429
|
case "Parameter":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Templates.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Core/Templates.ts"],"names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O,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,CAAC;IAG5G;;OAEG;IACH,MAAM,CAAC,4BAA4B,CAAC,SAAS,EAAE,kBAAkB,EAAE,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,CAAC;IAG5H;;OAEG;IACH,MAAM,CAAC,0BAA0B,CAAC,SAAS,EAAE,kBAAkB,EAAE,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,CAAC;IAG1H;;OAEG;IACH,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE;CAG9D;AAED,wBAAgB,qBAAqB,IAAI,QAAQ,CAEhD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defaultArg
|
|
1
|
+
import { defaultArg } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
2
2
|
import { ResizeArray_filter, ResizeArray_distinct, ResizeArray_collect, ResizeArray_append } from './Helper/Collections.js';
|
|
3
3
|
import { getEnumerator, safeHash, equals, disposeSafe, uncurry2 } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
4
4
|
import { contains } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
@@ -26,7 +26,7 @@ function TemplatesAux_filterOnTags(tagGetter, queryTags, comparer, templates) {
|
|
|
26
26
|
});
|
|
27
27
|
const isValid_1 = isValid;
|
|
28
28
|
if (isValid_1 != null) {
|
|
29
|
-
const maybe =
|
|
29
|
+
const maybe = isValid_1;
|
|
30
30
|
isValid = comparer(maybe, contains$1);
|
|
31
31
|
} else {
|
|
32
32
|
isValid = contains$1;
|
|
@@ -4,6 +4,11 @@ import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
|
4
4
|
export declare const seperators: MutableArray<string>;
|
|
5
5
|
export declare const alternativeLICENSEFileNames: FSharpList<string>;
|
|
6
6
|
export declare function split(path: string): MutableArray<string>;
|
|
7
|
+
/**
|
|
8
|
+
* True when a path starts with a URI scheme, as in https://example.org/data.csv or file:///data.csv. A drive letter, as
|
|
9
|
+
* in C:/data.csv, is no scheme.
|
|
10
|
+
*/
|
|
11
|
+
export declare function hasUriScheme(path: string): boolean;
|
|
7
12
|
export declare function hasLeadingSeparator(path: string): boolean;
|
|
8
13
|
export declare function isUncPath(path: string): boolean;
|
|
9
14
|
export declare function tryGetDrivePrefix(path: string): Option<string>;
|
|
@@ -18,8 +23,9 @@ export declare function combineMany(paths: MutableArray<string>): string;
|
|
|
18
23
|
export declare function normalizeSegments(segments: MutableArray<string>): MutableArray<string>;
|
|
19
24
|
/**
|
|
20
25
|
* Normalize a path by resolving "." and ".." segments.
|
|
21
|
-
* Note:
|
|
22
|
-
*
|
|
26
|
+
* Note: A path without segments, such as "." or "./", keeps its trimmed form so that the relative markers used by
|
|
27
|
+
* existing callers survive. If ".." segments cancel every segment, the path names the directory it starts from and
|
|
28
|
+
* the result is ".".
|
|
23
29
|
*/
|
|
24
30
|
export declare function normalize(path: string): string;
|
|
25
31
|
export declare function normalizePathKey(path: string): string;
|
|
@@ -27,6 +33,11 @@ export declare function normalizePathKey(path: string): string;
|
|
|
27
33
|
* Resolve a path (possibly relative) against the directory of a file path.
|
|
28
34
|
*/
|
|
29
35
|
export declare function resolvePathFromFile(filePath: string, path: string): string;
|
|
36
|
+
/**
|
|
37
|
+
* The path of a file relative to the directory of another file, where both paths start at the same root. This is the
|
|
38
|
+
* inverse of resolvePathFromFile for a relative path.
|
|
39
|
+
*/
|
|
40
|
+
export declare function getRelativePathFromFile(filePath: string, path: string): string;
|
|
30
41
|
export declare function getFileName(path: string): string;
|
|
31
42
|
/**
|
|
32
43
|
* Checks if `path` points to a file with the name `fileName`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/FileSystem/Path.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAW,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/FileSystem/Path.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAW,MAAM,qCAAqC,CAAC;AAI1E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAI/D,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,MAAM,CAAe,CAAC;AAE5D,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,MAAM,CAAyD,CAAC;AAErH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAUxD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAElD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAYzD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAO/C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAO9D;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAiBpF;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAU1D;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAwDhH;AAED,wBAAgB,OA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