@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
|
@@ -64,7 +64,7 @@ class FsCellsCollection {
|
|
|
64
64
|
if (matchValue == null) {
|
|
65
65
|
addToDict(dictionary, key, 1);
|
|
66
66
|
} else {
|
|
67
|
-
const count =
|
|
67
|
+
const count = matchValue | 0;
|
|
68
68
|
dictionary.set(key, count + 1);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -72,8 +72,8 @@ class FsCellsCollection {
|
|
|
72
72
|
const matchValue = Dictionary_tryGet(key, dictionary);
|
|
73
73
|
if (matchValue == null) {
|
|
74
74
|
return false;
|
|
75
|
-
} else if (
|
|
76
|
-
const count_1 =
|
|
75
|
+
} else if (matchValue > 1) {
|
|
76
|
+
const count_1 = matchValue | 0;
|
|
77
77
|
dictionary.set(key, count_1 - 1);
|
|
78
78
|
return false;
|
|
79
79
|
} else {
|
|
@@ -119,7 +119,7 @@ class FsCellsCollection {
|
|
|
119
119
|
this$._count = this$._count + 1 | 0;
|
|
120
120
|
FsCellsCollection.IncrementUsage(this$._rowsUsed, row_1);
|
|
121
121
|
FsCellsCollection.IncrementUsage(this$._columnsUsed, column_1);
|
|
122
|
-
addToDict((matchValue = Dictionary_tryGet(row_1, this$._rowsCollection), matchValue == null ? (columnsCollection_1 = /* @__PURE__ */ new Map([]), addToDict(this$._rowsCollection, row_1, columnsCollection_1), columnsCollection_1) :
|
|
122
|
+
addToDict((matchValue = Dictionary_tryGet(row_1, this$._rowsCollection), matchValue == null ? (columnsCollection_1 = /* @__PURE__ */ new Map([]), addToDict(this$._rowsCollection, row_1, columnsCollection_1), columnsCollection_1) : matchValue), column_1, cell);
|
|
123
123
|
if (row_1 > this$._maxRowUsed) {
|
|
124
124
|
this$._maxRowUsed = row_1 | 0;
|
|
125
125
|
}
|
|
@@ -129,7 +129,7 @@ class FsCellsCollection {
|
|
|
129
129
|
const matchValue_1 = Dictionary_tryGet(row_1, this$._deleted);
|
|
130
130
|
if (matchValue_1 == null) {
|
|
131
131
|
} else {
|
|
132
|
-
const delHash =
|
|
132
|
+
const delHash = matchValue_1;
|
|
133
133
|
delHash.delete(column_1);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -171,7 +171,7 @@ class FsCellsCollection {
|
|
|
171
171
|
if (matchValue == null) {
|
|
172
172
|
return false;
|
|
173
173
|
} else {
|
|
174
|
-
const colsCollection =
|
|
174
|
+
const colsCollection = matchValue;
|
|
175
175
|
return colsCollection.has(colIndex);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
@@ -205,16 +205,16 @@ class FsCellsCollection {
|
|
|
205
205
|
const delHash_3 = /* @__PURE__ */ new Set([]);
|
|
206
206
|
addToSet(column, delHash_3);
|
|
207
207
|
addToDict(this$._deleted, row, delHash_3);
|
|
208
|
-
} else if (delHash =
|
|
209
|
-
const delHash_1 =
|
|
208
|
+
} else if (delHash = matchValue, delHash.has(column)) {
|
|
209
|
+
const delHash_1 = matchValue;
|
|
210
210
|
} else {
|
|
211
|
-
const delHash_2 =
|
|
211
|
+
const delHash_2 = matchValue;
|
|
212
212
|
addToSet(column, delHash_2);
|
|
213
213
|
}
|
|
214
214
|
const matchValue_1 = Dictionary_tryGet(row, this$._rowsCollection);
|
|
215
215
|
if (matchValue_1 == null) {
|
|
216
216
|
} else {
|
|
217
|
-
const columnsCollection =
|
|
217
|
+
const columnsCollection = matchValue_1;
|
|
218
218
|
columnsCollection.delete(column);
|
|
219
219
|
if (columnsCollection.size === 0) {
|
|
220
220
|
this$._rowsCollection.delete(row);
|
|
@@ -236,7 +236,7 @@ class FsCellsCollection {
|
|
|
236
236
|
const matchValue = Dictionary_tryGet(rowIndex, this$._rowsCollection);
|
|
237
237
|
if (matchValue == null) {
|
|
238
238
|
} else {
|
|
239
|
-
const colsCollection =
|
|
239
|
+
const colsCollection = matchValue;
|
|
240
240
|
try {
|
|
241
241
|
getItemFromDict(colsCollection, colIndex).Value = "";
|
|
242
242
|
} catch (matchValue_1) {
|
|
@@ -289,14 +289,14 @@ class FsCellsCollection {
|
|
|
289
289
|
if (matchValue == null) {
|
|
290
290
|
return empty();
|
|
291
291
|
} else {
|
|
292
|
-
const columnsCollection =
|
|
292
|
+
const columnsCollection = matchValue;
|
|
293
293
|
return collect((co) => {
|
|
294
294
|
const matchValue_1 = Dictionary_tryGet(co, columnsCollection);
|
|
295
295
|
let matchResult = void 0, cell_1 = void 0;
|
|
296
296
|
if (matchValue_1 != null) {
|
|
297
|
-
if (predicate(
|
|
297
|
+
if (predicate(matchValue_1)) {
|
|
298
298
|
matchResult = 0;
|
|
299
|
-
cell_1 =
|
|
299
|
+
cell_1 = matchValue_1;
|
|
300
300
|
} else {
|
|
301
301
|
matchResult = 1;
|
|
302
302
|
}
|
|
@@ -345,11 +345,11 @@ class FsCellsCollection {
|
|
|
345
345
|
if (matchValue == null) {
|
|
346
346
|
return empty();
|
|
347
347
|
} else {
|
|
348
|
-
const columnsCollection =
|
|
348
|
+
const columnsCollection = matchValue;
|
|
349
349
|
return collect((co) => {
|
|
350
350
|
const matchValue_1 = Dictionary_tryGet(co, columnsCollection);
|
|
351
351
|
if (matchValue_1 != null) {
|
|
352
|
-
return singleton(
|
|
352
|
+
return singleton(matchValue_1);
|
|
353
353
|
} else {
|
|
354
354
|
return empty();
|
|
355
355
|
}
|
|
@@ -388,8 +388,8 @@ class FsCellsCollection {
|
|
|
388
388
|
if (matchValue == null) {
|
|
389
389
|
return void 0;
|
|
390
390
|
} else {
|
|
391
|
-
const matchValue_1 = Dictionary_tryGet(column,
|
|
392
|
-
return matchValue_1 == null ? void 0 :
|
|
391
|
+
const matchValue_1 = Dictionary_tryGet(column, matchValue);
|
|
392
|
+
return matchValue_1 == null ? void 0 : matchValue_1;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parse } from '../../../node_modules/@fable-org/fable-library-ts/Int32.js';
|
|
2
|
-
import { toText, printf, toFail } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
2
|
+
import { getCharAtIndex, toText, printf, toFail } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
3
3
|
import { StringBuilder_$ctor, StringBuilder__Append_244C7CD6 } from '../../../node_modules/@fable-org/fable-library-ts/System.Text.js';
|
|
4
4
|
import { iterate } from '../../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
5
5
|
import { isLetter, isDigit } from '../../../node_modules/@fable-org/fable-library-ts/Char.js';
|
|
@@ -16,7 +16,7 @@ function CellReference_colAdressToIndex(columnAdress) {
|
|
|
16
16
|
let sum = 0;
|
|
17
17
|
for (let i = 0; i <= length - 1; i++) {
|
|
18
18
|
let c_1;
|
|
19
|
-
const c = columnAdress
|
|
19
|
+
const c = getCharAtIndex(columnAdress, length - 1 - i);
|
|
20
20
|
c_1 = c.toLocaleUpperCase();
|
|
21
21
|
let factor;
|
|
22
22
|
const value = Math.pow(26, i);
|
|
@@ -35,7 +35,7 @@ function CellReference_indexToColAdress(i) {
|
|
|
35
35
|
} else {
|
|
36
36
|
const mod26 = (index - 1) % 26;
|
|
37
37
|
index_mut = ~~((index - 1) / 26);
|
|
38
|
-
acc_mut = String.fromCharCode(("A".charCodeAt(0) >>> 0) + mod26 & 65535) + acc;
|
|
38
|
+
acc_mut = String.fromCharCode(~~(("A".charCodeAt(0) >>> 0) + mod26) & 65535) + acc;
|
|
39
39
|
continue loop;
|
|
40
40
|
}
|
|
41
41
|
break;
|
|
@@ -125,7 +125,7 @@ class FsWorksheet {
|
|
|
125
125
|
void self._rows.push(row_3);
|
|
126
126
|
return row_3;
|
|
127
127
|
} else {
|
|
128
|
-
return
|
|
128
|
+
return matchValue;
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -363,7 +363,7 @@ class FsWorksheet {
|
|
|
363
363
|
if (matchValue == null) {
|
|
364
364
|
self.RowWithRange(newRange, true);
|
|
365
365
|
} else {
|
|
366
|
-
const row =
|
|
366
|
+
const row = matchValue;
|
|
367
367
|
row.RangeAddress = newRange;
|
|
368
368
|
}
|
|
369
369
|
}, groupBy((c) => c.RowNumber | 0, self._cells.GetCells(), {
|
|
@@ -418,7 +418,7 @@ class FsWorksheet {
|
|
|
418
418
|
void self._tables.push(table_2);
|
|
419
419
|
return table_2;
|
|
420
420
|
} else {
|
|
421
|
-
return
|
|
421
|
+
return matchValue;
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
/**
|
|
@@ -536,15 +536,15 @@ class FsWorksheet {
|
|
|
536
536
|
*
|
|
537
537
|
* If an FsCell exists at the given position, overwrites it.
|
|
538
538
|
*/
|
|
539
|
-
SetValueAt(value
|
|
539
|
+
SetValueAt(value, rowIndex, colIndex) {
|
|
540
540
|
const self = this;
|
|
541
541
|
const matchValue = self.CellCollection.TryGetCell(rowIndex, colIndex);
|
|
542
542
|
if (matchValue == null) {
|
|
543
|
-
self.CellCollection.Add(value
|
|
543
|
+
self.CellCollection.Add(value, rowIndex, colIndex);
|
|
544
544
|
return self;
|
|
545
545
|
} else {
|
|
546
|
-
const c =
|
|
547
|
-
c.SetValueAs(value
|
|
546
|
+
const c = matchValue;
|
|
547
|
+
c.SetValueAs(value);
|
|
548
548
|
return self;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { minValue, tryParse, toString } from '../../../../node_modules/@fable-org/fable-library-ts/Date.js';
|
|
2
1
|
import { FSharpRef } from '../../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
2
|
+
import { minValue, tryParse, toString } from '../../../../node_modules/@fable-org/fable-library-ts/Date.js';
|
|
3
3
|
import { FSharpResult$2_Ok, FSharpResult$2_Error$ } from '../../../../node_modules/@fable-org/fable-library-ts/Result.js';
|
|
4
4
|
import { ErrorReason$1_BadPrimitive } from '../../Thoth.Json.Core.0.9.1/Types.fs.js';
|
|
5
5
|
import { item } from '../../../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
@@ -11,10 +11,8 @@ const Decode_datetime = {
|
|
|
11
11
|
Decode(helpers, value) {
|
|
12
12
|
if (helpers.isString(value)) {
|
|
13
13
|
let matchValue;
|
|
14
|
-
|
|
15
|
-
matchValue = [tryParse(helpers.asString(value),
|
|
16
|
-
outArg = v;
|
|
17
|
-
})), outArg];
|
|
14
|
+
const cell = new FSharpRef(minValue());
|
|
15
|
+
matchValue = [tryParse(helpers.asString(value), cell), cell.contents];
|
|
18
16
|
return matchValue[0] ? FSharpResult$2_Ok(matchValue[1]) : FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value)]);
|
|
19
17
|
} else {
|
|
20
18
|
return FSharpResult$2_Error$(["", ErrorReason$1_BadPrimitive("a datetime", value)]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { seq } from '../../Thoth.Json.Core.0.9.1/Encode.fs.js';
|
|
2
2
|
import { toList, delay, map, collect, singleton, append, isEmpty, empty, iterate } from '../../../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
3
3
|
import { encodeNoNumbers, encode, decode as decode$1 } from './Row.fs.js';
|
|
4
|
-
import {
|
|
4
|
+
import { defaultArg } from '../../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
5
5
|
import { FsCell } from '../Cells/FsCell.fs.js';
|
|
6
6
|
import { rangeDouble } from '../../../../node_modules/@fable-org/fable-library-ts/Range.js';
|
|
7
7
|
import { encode as encode$1, decode } from './Table.fs.js';
|
|
@@ -13,7 +13,7 @@ function encodeRows(noNumbering, sheet) {
|
|
|
13
13
|
sheet.RescanRows();
|
|
14
14
|
const jRows = noNumbering ? seq(toList(delay(() => map((r) => encodeNoNumbers(toList(delay(() => collect((c) => {
|
|
15
15
|
const matchValue = sheet.CellCollection.TryGetCell(r, c);
|
|
16
|
-
return matchValue == null ? singleton(new FsCell("")) : singleton(
|
|
16
|
+
return matchValue == null ? singleton(new FsCell("")) : singleton(matchValue);
|
|
17
17
|
}, rangeDouble(1, 1, sheet.MaxColumnIndex))))), rangeDouble(1, 1, sheet.MaxRowIndex))))) : seq(map(encode, sheet.Rows));
|
|
18
18
|
const values_1 = toList(delay(() => {
|
|
19
19
|
let value = void 0;
|
|
@@ -45,7 +45,7 @@ const decodeRows = object((builder) => {
|
|
|
45
45
|
iterate((tupledArg) => {
|
|
46
46
|
const rowI = tupledArg[0];
|
|
47
47
|
let colIndex = 0;
|
|
48
|
-
const rowI_1 = (rowI == null ? rowIndex + 1 :
|
|
48
|
+
const rowI_1 = (rowI == null ? rowIndex + 1 : rowI) | 0;
|
|
49
49
|
rowIndex = rowI_1 | 0;
|
|
50
50
|
const r = sheet.Row(rowI_1);
|
|
51
51
|
iterate((cell) => {
|
|
@@ -62,7 +62,7 @@ const decodeRows = object((builder) => {
|
|
|
62
62
|
} else {
|
|
63
63
|
iterate((t) => {
|
|
64
64
|
sheet.AddTable(t);
|
|
65
|
-
},
|
|
65
|
+
}, ts);
|
|
66
66
|
}
|
|
67
67
|
return sheet;
|
|
68
68
|
});
|
|
@@ -70,7 +70,7 @@ function encodeColumns(noNumbering, sheet) {
|
|
|
70
70
|
sheet.RescanRows();
|
|
71
71
|
const jColumns = noNumbering ? seq(toList(delay(() => map((c) => encodeNoNumbers$1(toList(delay(() => collect((r) => {
|
|
72
72
|
const matchValue = sheet.CellCollection.TryGetCell(r, c);
|
|
73
|
-
return matchValue == null ? singleton(new FsCell("")) : singleton(
|
|
73
|
+
return matchValue == null ? singleton(new FsCell("")) : singleton(matchValue);
|
|
74
74
|
}, rangeDouble(1, 1, sheet.MaxRowIndex))))), rangeDouble(1, 1, sheet.MaxColumnIndex))))) : seq(map(encode$2, sheet.Columns));
|
|
75
75
|
const values_1 = toList(delay(() => {
|
|
76
76
|
let value = void 0;
|
|
@@ -104,7 +104,7 @@ const decodeColumns = object((builder) => {
|
|
|
104
104
|
iterate((tupledArg) => {
|
|
105
105
|
const colI = tupledArg[0];
|
|
106
106
|
let rowIndex = 0;
|
|
107
|
-
const colI_1 = (colI == null ? colIndex + 1 :
|
|
107
|
+
const colI_1 = (colI == null ? colIndex + 1 : colI) | 0;
|
|
108
108
|
colIndex = colI_1 | 0;
|
|
109
109
|
const col = sheet.Column(colI_1);
|
|
110
110
|
iterate((cell) => {
|
|
@@ -121,7 +121,7 @@ const decodeColumns = object((builder) => {
|
|
|
121
121
|
} else {
|
|
122
122
|
iterate((t) => {
|
|
123
123
|
sheet.AddTable(t);
|
|
124
|
-
},
|
|
124
|
+
}, ts);
|
|
125
125
|
}
|
|
126
126
|
return sheet;
|
|
127
127
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FsAddress } from '../FsAddress.fs.js';
|
|
2
2
|
import { defaultOf, equals } from '../../../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
3
3
|
import { toFail, printf } from '../../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
4
|
-
import { value } from '../../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
5
4
|
import { FsCell } from '../Cells/FsCell.fs.js';
|
|
6
5
|
import { class_type } from '../../../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
7
6
|
|
|
@@ -48,7 +47,7 @@ class FsRangeBase {
|
|
|
48
47
|
cells.Add(newCell, absRow, absColumn);
|
|
49
48
|
return newCell;
|
|
50
49
|
} else {
|
|
51
|
-
return
|
|
50
|
+
return cell;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
/**
|
|
@@ -6,7 +6,7 @@ import { FsRange } from '../Ranges/FsRange.fs.js';
|
|
|
6
6
|
import { FsRow } from '../FsRow.fs.js';
|
|
7
7
|
import { FsRangeAddress } from '../Ranges/FsRangeAddress.fs.js';
|
|
8
8
|
import { FsAddress } from '../FsAddress.fs.js';
|
|
9
|
-
import { defaultArg,
|
|
9
|
+
import { defaultArg, some, value } from '../../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
10
10
|
import { replace, toText, printf, concat } from '../../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
11
11
|
import { FsColumn } from '../FsColumn.fs.js';
|
|
12
12
|
import { rangeDouble } from '../../../../node_modules/@fable-org/fable-library-ts/Range.js';
|
|
@@ -25,7 +25,7 @@ class FsTable extends FsRangeBase {
|
|
|
25
25
|
this._lastRangeAddress = rangeAddress;
|
|
26
26
|
this._showTotalsRow = defaultArg(showTotalsRow, false);
|
|
27
27
|
this._showHeaderRow = defaultArg(showHeaderRow, true);
|
|
28
|
-
this._fieldNames = fieldNames == null ? /* @__PURE__ */ new Map([]) : (fns =
|
|
28
|
+
this._fieldNames = fieldNames == null ? /* @__PURE__ */ new Map([]) : (fns = fieldNames, length(fns) !== super.ColumnCount() ? (() => {
|
|
29
29
|
let arg = void 0, arg_1 = void 0;
|
|
30
30
|
throw ArgumentException_$ctor_Z384F8060((arg = length(fns) | 0, arg_1 = super.ColumnCount() | 0, toText(printf("The number of field names (%i) must match the number of columns (%i) in the range."))(arg)(arg_1)), "fieldNames");
|
|
31
31
|
})() : void 0, dict = /* @__PURE__ */ new Map([]), iterateIndexed((i, fn) => {
|
|
@@ -97,7 +97,7 @@ class FsTable extends FsRangeBase {
|
|
|
97
97
|
if (matchValue == null) {
|
|
98
98
|
throw new Exception(concat('Error. Unable to get header row for table "', this$.Name, '" as `ShowHeaderRow` is set to `false`.'));
|
|
99
99
|
} else {
|
|
100
|
-
return
|
|
100
|
+
return matchValue;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
@@ -232,7 +232,7 @@ class FsTable extends FsRangeBase {
|
|
|
232
232
|
this$.RescanRange();
|
|
233
233
|
return newField;
|
|
234
234
|
} else {
|
|
235
|
-
return
|
|
235
|
+
return matchValue;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
@@ -284,7 +284,7 @@ class FsTable extends FsRangeBase {
|
|
|
284
284
|
if (matchValue == null) {
|
|
285
285
|
throw ArgumentException_$ctor_Z384F8060("The FsTabelField does not exist in this FsTable", "oldName");
|
|
286
286
|
} else {
|
|
287
|
-
const field =
|
|
287
|
+
const field = matchValue;
|
|
288
288
|
this$._fieldNames.delete(oldName);
|
|
289
289
|
addToDict(this$._fieldNames, newName, field);
|
|
290
290
|
}
|
|
@@ -408,7 +408,7 @@ class FsTable extends FsRangeBase {
|
|
|
408
408
|
if (matchValue == null) {
|
|
409
409
|
return void 0;
|
|
410
410
|
} else {
|
|
411
|
-
const tf =
|
|
411
|
+
const tf = matchValue;
|
|
412
412
|
return tf.HeaderCell(cellsCollection, this$.ShowHeaderRow);
|
|
413
413
|
}
|
|
414
414
|
}
|
|
@@ -484,7 +484,7 @@ class FsTable extends FsRangeBase {
|
|
|
484
484
|
addToDict(this$._fieldNames, name, new FsTableField(name, cellPos));
|
|
485
485
|
cellPos = cellPos + 1 | 0;
|
|
486
486
|
} else {
|
|
487
|
-
const tableField =
|
|
487
|
+
const tableField = matchValue;
|
|
488
488
|
tableField.Index = cellPos | 0;
|
|
489
489
|
addToDict(this$._fieldNames, name, tableField);
|
|
490
490
|
cellPos = cellPos + 1 | 0;
|
|
@@ -3,7 +3,7 @@ import { some, value } from '../../../node_modules/@fable-org/fable-library-ts/O
|
|
|
3
3
|
import { fromDate, op_Addition, offset } from '../../../node_modules/@fable-org/fable-library-ts/DateOffset.js';
|
|
4
4
|
import { FsAddress } from '../FsSpreadsheet.7.0.1/FsAddress.fs.js';
|
|
5
5
|
import { toString } from '../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
6
|
-
import {
|
|
6
|
+
import { parseIgnoringUnderscores } from '../../../node_modules/@fable-org/fable-library-ts/Double.js';
|
|
7
7
|
import { parse } from '../../../node_modules/@fable-org/fable-library-ts/Boolean.js';
|
|
8
8
|
|
|
9
9
|
function writeFromFsCell(fsCell) {
|
|
@@ -34,7 +34,7 @@ function readToFsCell(worksheetName, rowIndex, columnIndex, jsCell) {
|
|
|
34
34
|
const vTemp = toString(value(jsCell.value));
|
|
35
35
|
switch (t) {
|
|
36
36
|
case 2:
|
|
37
|
-
return createFscell(DataType.Number$,
|
|
37
|
+
return createFscell(DataType.Number$, parseIgnoringUnderscores(vTemp));
|
|
38
38
|
case 3:
|
|
39
39
|
return createFscell(DataType.String$, vTemp);
|
|
40
40
|
case 4:
|
|
@@ -8,7 +8,6 @@ import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.
|
|
|
8
8
|
import { writeFromFsCell } from './Cell.fs.js';
|
|
9
9
|
import { FsTable } from '../FsSpreadsheet.7.0.1/Tables/FsTable.fs.js';
|
|
10
10
|
import { FsRangeAddress } from '../FsSpreadsheet.7.0.1/Ranges/FsRangeAddress.fs.js';
|
|
11
|
-
import { Operators_IsNull } from '../../../node_modules/@fable-org/fable-library-ts/FSharp.Core.js';
|
|
12
11
|
|
|
13
12
|
function writeFromFsTable(fscellcollection, fsTable) {
|
|
14
13
|
const fsColumns = fsTable.GetColumns(fscellcollection);
|
|
@@ -49,7 +48,7 @@ function readToFsTable(table) {
|
|
|
49
48
|
let tableRef;
|
|
50
49
|
const rangeAddress = table_1.tableRef;
|
|
51
50
|
tableRef = FsRangeAddress.fromString(rangeAddress);
|
|
52
|
-
return new FsTable(
|
|
51
|
+
return new FsTable(table_1.displayName == null ? table_1.name : table_1.displayName, tableRef, table_1.totalsRow, table_1.headerRow);
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
export { readToFsTable, writeFromFsTable };
|