@nfdi4plants/arctrl 3.1.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/index.d.ts +3 -0
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +3 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +1296 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +174 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +190 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +479 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Boolean.js +23 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Char.js +172 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Choice.js +187 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/CollectionUtil.js +148 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +843 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/DateOffset.js +247 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +279 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +53 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Collections.js +48 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +148 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +31 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Guid.js +140 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +165 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +1282 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +40 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +1298 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MapUtil.js +126 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +323 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +225 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Native.js +14 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +63 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Option.js +81 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +174 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +47 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Reflection.js +471 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +137 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Result.js +169 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +1398 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +110 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +1670 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +660 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +328 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +201 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +292 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/TimeSpan.js +170 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +199 -0
- package/dist/ts/node_modules/@fable-org/{fable-library-js → fable-library-ts}/Unicode.13.0.0.js +0 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Uri.js +154 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +747 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +1052 -0
- package/dist/ts/ts/ARC.d.ts +122 -62
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +142 -86
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +32 -0
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -0
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +95 -0
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +12 -12
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +7 -7
- package/dist/ts/ts/CWL/CWLTypes.d.ts +62 -19
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +241 -60
- package/dist/ts/ts/CWL/Decode.d.ts +24 -25
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +454 -314
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +4 -4
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +10 -10
- package/dist/ts/ts/CWL/Encode.d.ts +26 -17
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +451 -411
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +31 -7
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +29 -8
- package/dist/ts/ts/CWL/HashHelpers.d.ts +4 -3
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +9 -9
- package/dist/ts/ts/CWL/Inputs.d.ts +8 -8
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +9 -13
- package/dist/ts/ts/CWL/OperationDescription.d.ts +7 -7
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +5 -8
- package/dist/ts/ts/CWL/Outputs.d.ts +10 -10
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +36 -17
- package/dist/ts/ts/CWL/ParameterReference.d.ts +13 -10
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +29 -21
- package/dist/ts/ts/CWL/ParameterValue.d.ts +57 -0
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ParameterValue.js +321 -0
- package/dist/ts/ts/CWL/Requirements.d.ts +51 -23
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +89 -81
- package/dist/ts/ts/CWL/ToolDescription.d.ts +33 -9
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +29 -8
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +29 -8
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +26 -8
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +45 -21
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +70 -34
- package/dist/ts/ts/CWLRunResolver.d.ts +11 -11
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +16 -16
- package/dist/ts/ts/Contract/ARC.d.ts +2 -2
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +1 -1
- package/dist/ts/ts/Contract/ArcAssay.d.ts +7 -6
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +15 -10
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts +5 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +12 -7
- package/dist/ts/ts/Contract/ArcRun.d.ts +11 -10
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +24 -21
- package/dist/ts/ts/Contract/ArcStudy.d.ts +8 -7
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +15 -10
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +9 -8
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +20 -16
- package/dist/ts/ts/Contract/Contract.d.ts +38 -8
- package/dist/ts/ts/Contract/Contract.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Contract.js +46 -7
- package/dist/ts/ts/Contract/Datamap.d.ts +5 -4
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +45 -32
- package/dist/ts/ts/Contract/Git.d.ts +6 -5
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +4 -4
- package/dist/ts/ts/Contract/License.d.ts +4 -3
- package/dist/ts/ts/Contract/License.d.ts.map +1 -1
- package/dist/ts/ts/Contract/License.js +5 -5
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts +5 -4
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +6 -7
- package/dist/ts/ts/ContractIO/ContractIO.d.ts +5 -4
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +45 -43
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +13 -12
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +6 -6
- package/dist/ts/ts/Conversion/Assay.d.ts +5 -5
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +35 -16
- package/dist/ts/ts/Conversion/Basic.d.ts +16 -13
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +69 -38
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts +3 -3
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +8 -8
- package/dist/ts/ts/Conversion/Datamap.d.ts +4 -4
- package/dist/ts/ts/Conversion/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Datamap.js +2 -2
- package/dist/ts/ts/Conversion/DateTime.d.ts +1 -1
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +7 -6
- package/dist/ts/ts/Conversion/Investigation.d.ts +5 -5
- package/dist/ts/ts/Conversion/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Investigation.js +17 -10
- package/dist/ts/ts/Conversion/Person.d.ts +4 -4
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Person.js +39 -23
- package/dist/ts/ts/Conversion/Process.d.ts +14 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +57 -46
- package/dist/ts/ts/Conversion/Run.d.ts +12 -17
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +450 -68
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts +4 -4
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +25 -17
- package/dist/ts/ts/Conversion/Study.d.ts +5 -5
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +27 -13
- package/dist/ts/ts/Conversion/Table.d.ts +10 -11
- package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Table.js +17 -24
- package/dist/ts/ts/Conversion/Workflow.d.ts +17 -17
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +78 -40
- package/dist/ts/ts/Conversion.d.ts +10 -11
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +2 -2
- package/dist/ts/ts/Core/ArcTypes.d.ts +331 -76
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +567 -299
- package/dist/ts/ts/Core/Comment.d.ts +5 -5
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +17 -10
- package/dist/ts/ts/Core/CommentList.d.ts +3 -3
- package/dist/ts/ts/Core/CommentList.d.ts.map +1 -1
- package/dist/ts/ts/Core/CommentList.js +8 -8
- package/dist/ts/ts/Core/Conversion.d.ts +25 -25
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +102 -102
- package/dist/ts/ts/Core/Data.d.ts +6 -6
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +11 -10
- package/dist/ts/ts/Core/DataContext.d.ts +10 -10
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +3 -3
- package/dist/ts/ts/Core/DataFile.d.ts +9 -6
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +20 -9
- package/dist/ts/ts/Core/Datamap.d.ts +17 -16
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +16 -14
- package/dist/ts/ts/Core/Helper/Collections.d.ts +4 -4
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +30 -37
- package/dist/ts/ts/Core/Helper/HashCodes.d.ts +15 -4
- package/dist/ts/ts/Core/Helper/HashCodes.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/HashCodes.js +33 -14
- package/dist/ts/ts/Core/Helper/Identifier.d.ts +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +10 -8
- package/dist/ts/ts/Core/Helper/ORCID.d.ts +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +4 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts +7 -7
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +20 -12
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +5 -5
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +7 -7
- package/dist/ts/ts/Core/Helper/Url.d.ts +1 -1
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +8 -7
- package/dist/ts/ts/Core/IdentifierSetters.d.ts +2 -2
- package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.d.ts +23 -5
- package/dist/ts/ts/Core/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +116 -45
- package/dist/ts/ts/Core/OntologySourceReference.d.ts +4 -4
- package/dist/ts/ts/Core/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Core/OntologySourceReference.js +4 -4
- package/dist/ts/ts/Core/Person.d.ts +19 -9
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +27 -11
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts +11 -11
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +68 -29
- package/dist/ts/ts/Core/Process/Component.d.ts +16 -16
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +38 -25
- package/dist/ts/ts/Core/Process/Factor.d.ts +53 -8
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +62 -11
- package/dist/ts/ts/Core/Process/FactorValue.d.ts +15 -15
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +39 -47
- package/dist/ts/ts/Core/Process/Material.d.ts +9 -9
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +5 -5
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts +7 -7
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +17 -8
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts +15 -15
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +45 -48
- package/dist/ts/ts/Core/Process/MaterialType.d.ts +7 -5
- package/dist/ts/ts/Core/Process/MaterialType.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialType.js +14 -7
- package/dist/ts/ts/Core/Process/Process.d.ts +22 -22
- package/dist/ts/ts/Core/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Process.js +42 -26
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts +14 -14
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +15 -10
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts +14 -14
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +15 -10
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts +30 -15
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +56 -46
- package/dist/ts/ts/Core/Process/ProcessSequence.d.ts +16 -16
- package/dist/ts/ts/Core/Process/ProcessSequence.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessSequence.js +33 -26
- package/dist/ts/ts/Core/Process/Protocol.d.ts +9 -9
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +21 -13
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts +28 -7
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +33 -8
- package/dist/ts/ts/Core/Process/Sample.d.ts +10 -10
- package/dist/ts/ts/Core/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Sample.js +5 -5
- package/dist/ts/ts/Core/Process/Source.d.ts +8 -8
- package/dist/ts/ts/Core/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Source.js +5 -5
- package/dist/ts/ts/Core/Publication.d.ts +5 -5
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +18 -11
- package/dist/ts/ts/Core/ScalarValue.d.ts +41 -0
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -0
- package/dist/ts/ts/Core/{Value.js → ScalarValue.js} +56 -29
- package/dist/ts/ts/Core/Table/ArcTable.d.ts +134 -15
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +204 -68
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +15 -10
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +75 -71
- package/dist/ts/ts/Core/Table/ArcTables.d.ts +12 -9
- package/dist/ts/ts/Core/Table/ArcTables.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTables.js +42 -38
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts +46 -7
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeCell.js +52 -12
- package/dist/ts/ts/Core/Table/CompositeColumn.d.ts +20 -7
- package/dist/ts/ts/Core/Table/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeColumn.js +17 -4
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts +116 -22
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +219 -65
- package/dist/ts/ts/Core/Template.d.ts +15 -9
- package/dist/ts/ts/Core/Template.d.ts.map +1 -1
- package/dist/ts/ts/Core/Template.js +19 -11
- package/dist/ts/ts/Core/Templates.d.ts +24 -5
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +26 -8
- package/dist/ts/ts/Core/URI.d.ts.map +1 -1
- package/dist/ts/ts/CrossAsync.d.ts +6 -5
- package/dist/ts/ts/CrossAsync.d.ts.map +1 -1
- package/dist/ts/ts/CrossAsync.js +6 -6
- package/dist/ts/ts/FileSystem/Commit.d.ts +3 -3
- package/dist/ts/ts/FileSystem/Commit.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Commit.js +2 -2
- package/dist/ts/ts/FileSystem/FileSystem.d.ts +9 -9
- package/dist/ts/ts/FileSystem/FileSystem.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystem.js +4 -4
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +35 -16
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +36 -18
- package/dist/ts/ts/FileSystem/Path.d.ts +9 -8
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +13 -13
- package/dist/ts/ts/Json/Assay.d.ts +9 -9
- package/dist/ts/ts/Json/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Json/Assay.js +86 -50
- package/dist/ts/ts/Json/Comment.d.ts +4 -4
- package/dist/ts/ts/Json/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Json/Comment.js +38 -17
- package/dist/ts/ts/Json/Data.d.ts +7 -7
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +48 -20
- package/dist/ts/ts/Json/DataFile.d.ts +2 -2
- package/dist/ts/ts/Json/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Json/DataFile.js +10 -9
- package/dist/ts/ts/Json/Datamap/DataContext.d.ts +2 -2
- package/dist/ts/ts/Json/Datamap/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/Datamap/DataContext.js +14 -7
- package/dist/ts/ts/Json/Datamap/Datamap.d.ts +7 -7
- package/dist/ts/ts/Json/Datamap/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Json/Datamap/Datamap.js +4 -4
- package/dist/ts/ts/Json/Decode.d.ts +6 -6
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +32 -32
- package/dist/ts/ts/Json/Encode.d.ts +6 -5
- package/dist/ts/ts/Json/Encode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Encode.js +28 -26
- package/dist/ts/ts/Json/IDTable.d.ts +2 -2
- package/dist/ts/ts/Json/IDTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/IDTable.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts +9 -9
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +68 -33
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts +6 -6
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +60 -25
- package/dist/ts/ts/Json/OntologySourceReference.d.ts +4 -4
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +36 -15
- package/dist/ts/ts/Json/Person.d.ts +5 -5
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +57 -29
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +5 -5
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +12 -5
- package/dist/ts/ts/Json/Process/Component.d.ts +5 -5
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +25 -11
- package/dist/ts/ts/Json/Process/Factor.d.ts +4 -4
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +17 -9
- package/dist/ts/ts/Json/Process/FactorValue.d.ts +5 -5
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +14 -7
- package/dist/ts/ts/Json/Process/Material.d.ts +5 -5
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +31 -31
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +4 -4
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +16 -8
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +5 -5
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +14 -7
- package/dist/ts/ts/Json/Process/MaterialType.d.ts +2 -2
- package/dist/ts/ts/Json/Process/MaterialType.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialType.js +9 -8
- package/dist/ts/ts/Json/Process/Process.d.ts +4 -4
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +28 -14
- package/dist/ts/ts/Json/Process/ProcessInput.d.ts +4 -4
- package/dist/ts/ts/Json/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +4 -4
- package/dist/ts/ts/Json/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +5 -5
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +16 -8
- package/dist/ts/ts/Json/Process/Protocol.d.ts +4 -4
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +30 -16
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -4
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +16 -8
- package/dist/ts/ts/Json/Process/Sample.d.ts +7 -7
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +37 -60
- package/dist/ts/ts/Json/Process/Source.d.ts +5 -5
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +34 -57
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +5 -5
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +12 -5
- package/dist/ts/ts/Json/Process/Value.d.ts +6 -6
- package/dist/ts/ts/Json/Process/Value.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Value.js +4 -4
- package/dist/ts/ts/Json/PropertyValue.d.ts +6 -6
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +31 -22
- package/dist/ts/ts/Json/Publication.d.ts +5 -5
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +36 -15
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDContext.js +17 -16
- package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +21 -14
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDNode.js +94 -29
- package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDRef.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDRef.js +4 -4
- package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +2 -2
- package/dist/ts/ts/Json/ROCrate/LDValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDValue.js +8 -7
- package/dist/ts/ts/Json/Run.d.ts +7 -7
- package/dist/ts/ts/Json/Run.d.ts.map +1 -1
- package/dist/ts/ts/Json/Run.js +28 -14
- package/dist/ts/ts/Json/StringTable.d.ts +7 -7
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +10 -10
- package/dist/ts/ts/Json/Study.d.ts +9 -9
- package/dist/ts/ts/Json/Study.d.ts.map +1 -1
- package/dist/ts/ts/Json/Study.js +79 -45
- package/dist/ts/ts/Json/Table/ArcTable.d.ts +10 -10
- package/dist/ts/ts/Json/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/ArcTable.js +28 -28
- package/dist/ts/ts/Json/Table/CellTable.d.ts +9 -9
- package/dist/ts/ts/Json/Table/CellTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/CellTable.js +8 -8
- package/dist/ts/ts/Json/Table/CompositeCell.d.ts +6 -6
- package/dist/ts/ts/Json/Table/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/CompositeCell.js +7 -7
- package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +2 -2
- package/dist/ts/ts/Json/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/CompositeHeader.js +7 -7
- package/dist/ts/ts/Json/Table/IOType.d.ts +2 -2
- package/dist/ts/ts/Json/Table/IOType.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/IOType.js +2 -2
- package/dist/ts/ts/Json/Table/OATable.d.ts +8 -8
- package/dist/ts/ts/Json/Table/OATable.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +8 -8
- package/dist/ts/ts/Json/Table/Templates.d.ts +9 -9
- package/dist/ts/ts/Json/Table/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Json/Table/Templates.js +11 -11
- package/dist/ts/ts/Json/Workflow.d.ts +7 -7
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Json/Workflow.js +28 -14
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +3 -3
- package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/property_value_context.js +1 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +4 -4
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +3 -3
- package/dist/ts/ts/Json.d.ts +9 -9
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +2 -2
- package/dist/ts/ts/JsonIO/Assay.d.ts +6 -7
- package/dist/ts/ts/JsonIO/Assay.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Assay.js +13 -12
- package/dist/ts/ts/JsonIO/Datamap.d.ts +3 -4
- package/dist/ts/ts/JsonIO/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Datamap.js +7 -6
- package/dist/ts/ts/JsonIO/Investigation.d.ts +5 -6
- package/dist/ts/ts/JsonIO/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Investigation.js +11 -10
- package/dist/ts/ts/JsonIO/LDObject.d.ts +5 -6
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +14 -13
- package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts +5 -6
- package/dist/ts/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +11 -10
- package/dist/ts/ts/JsonIO/Person.d.ts +5 -6
- package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Person.js +11 -10
- package/dist/ts/ts/JsonIO/Run.d.ts +4 -5
- package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Run.js +9 -8
- package/dist/ts/ts/JsonIO/Study.d.ts +7 -8
- package/dist/ts/ts/JsonIO/Study.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Study.js +13 -12
- package/dist/ts/ts/JsonIO/Table/Compression.d.ts +6 -6
- package/dist/ts/ts/JsonIO/Table/Compression.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Table/Compression.js +4 -4
- package/dist/ts/ts/JsonIO/Table/Templates.d.ts +10 -10
- package/dist/ts/ts/JsonIO/Table/Templates.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Table/Templates.js +13 -12
- package/dist/ts/ts/JsonIO/Workflow.d.ts +4 -5
- package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/Workflow.js +9 -8
- package/dist/ts/ts/License.d.ts +12 -6
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +49 -14
- package/dist/ts/ts/ROCrate/Helper.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/Helper.js +1 -1
- package/dist/ts/ts/ROCrate/LDContext.d.ts +15 -4
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +27 -16
- package/dist/ts/ts/ROCrate/LDObject.d.ts +19 -10
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +76 -38
- package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Comment.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +11 -9
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +18 -16
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +22 -16
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +15 -13
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +25 -23
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +48 -45
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +11 -9
- package/dist/ts/ts/ROCrate/LDTypes/File.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/File.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/File.js +15 -13
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +18 -16
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +16 -14
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +17 -16
- package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +8 -6
- package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Person.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +28 -25
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +17 -16
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts +10 -6
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +104 -61
- package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Sample.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +14 -13
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +12 -10
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +11 -10
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +4 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +4 -3
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts +1 -1
- package/dist/ts/ts/ROCrate/ROCrateContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/ROCrateContext.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +13 -8
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +16 -13
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +13 -12
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +15 -15
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +23 -12
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +14 -14
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +17 -18
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +18 -17
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +37 -29
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +6 -6
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +16 -15
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +14 -14
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +21 -21
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +5 -5
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +9 -9
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +13 -12
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +5 -5
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +9 -9
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts +8 -8
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +11 -11
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Datamap.js +6 -5
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts +4 -4
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +14 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +30 -21
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +10 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +12 -9
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +11 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts +9 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +9 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +11 -9
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +13 -10
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +10 -10
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +55 -49
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts +14 -14
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +10 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +8 -8
- package/dist/ts/ts/Template.Web.d.ts +10 -6
- package/dist/ts/ts/Template.Web.d.ts.map +1 -1
- package/dist/ts/ts/Template.Web.js +4 -4
- package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts +6 -3
- package/dist/ts/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +10 -7
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts +7 -4
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +29 -24
- package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.Node.d.ts.map +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +4 -4
- package/dist/ts/ts/WebRequest/WebRequest.d.ts +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.d.ts.map +1 -1
- package/dist/ts/ts/WebRequest/WebRequest.js +3 -3
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +6 -6
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +13 -13
- package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts +7 -4
- package/dist/ts/ts/WorkflowGraph/BuildOptions.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/BuildOptions.js +2 -2
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -19
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +82 -68
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +52 -32
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +90 -30
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +5 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +4 -4
- package/dist/ts/ts/Xlsx.d.ts +5 -5
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +8 -6
- package/dist/ts/ts/Yaml/Encode.d.ts +2 -2
- package/dist/ts/ts/Yaml/Encode.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/Encode.js +2 -2
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +4 -5
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +12 -12
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +4 -5
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +12 -12
- package/dist/ts/ts/Yaml.d.ts +3 -3
- package/dist/ts/ts/Yaml.d.ts.map +1 -1
- package/dist/ts/ts/Yaml.js +3 -8
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/DynObj.fs.js +6 -6
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +515 -0
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/FableJS.fs.js +23 -8
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/HashCodes.fs.js +11 -11
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/PropertyHelper.fs.js +2 -2
- package/dist/ts/ts/fable_modules/{DynamicObj.7.1.0 → DynamicObj.8.0.0}/ReflectionUtils.fs.js +16 -6
- package/dist/ts/ts/fable_modules/{Fable.Fetch.2.6.0 → Fable.Fetch.2.7.0}/Fetch.fs.js +11 -11
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +8 -7
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +3 -3
- package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Http.fs.js +21 -21
- package/dist/ts/ts/fable_modules/{Fable.SimpleHttp.3.5.0 → Fable.SimpleHttp.3.6.0}/Types.fs.js +52 -19
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCell.fs.js +255 -126
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Cells/FsCellsCollection.fs.js +135 -18
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/CellBuilder.fs.js +9 -9
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Expression.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/RowBuilder.fs.js +5 -5
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/DSL/Types.fs.js +16 -16
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsAddress.fs.js +41 -17
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsColumn.fs.js +70 -7
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsRow.fs.js +76 -8
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorkbook.fs.js +77 -11
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/FsWorksheet.fs.js +237 -32
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/HashCodes.fs.js +9 -9
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Cell.fs.js +10 -10
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Column.fs.js +6 -6
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Row.fs.js +6 -6
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Table.fs.js +3 -3
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Value.fs.js +11 -11
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Workbook.fs.js +3 -3
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Json/Worksheet.fs.js +8 -8
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRange.fs.js +6 -5
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeAddress.fs.js +11 -5
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeBase.fs.js +18 -13
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeColumn.fs.js +9 -3
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTable.fs.js +185 -26
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.7.0.0-alpha.1 → FsSpreadsheet.7.0.1}/Tables/FsTableField.fs.js +48 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +65 -0
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/FsExtensions.fs.js +1 -1
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Json.fs.js +9 -9
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Table.fs.js +15 -14
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Workbook.fs.js +4 -4
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Worksheet.fs.js +4 -4
- package/dist/ts/ts/fable_modules/{FsSpreadsheet.Js.7.0.0-alpha.1 → FsSpreadsheet.Js.7.0.1}/Xlsx.fs.js +2 -2
- package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Decode.fs.js +265 -159
- package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Encode.fs.js +94 -36
- package/dist/ts/ts/fable_modules/{Thoth.Json.Core.0.7.0 → Thoth.Json.Core.0.9.1}/Types.fs.js +16 -22
- package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Decode.fs.js +9 -7
- package/dist/ts/ts/fable_modules/{Thoth.Json.JavaScript.0.4.1 → Thoth.Json.JavaScript.0.5.0}/Encode.fs.js +2 -3
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Decode.fs.js +98 -104
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Persil.fs.js +48 -48
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Preprocessing.fs.js +14 -14
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Reader.fs.js +129 -112
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +23 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +14 -14
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Syntax.fs.js +77 -56
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Writer.fs.js +34 -31
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/YAMLiciousTypes.fs.js +74 -32
- package/package.json +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +0 -1244
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +0 -146
- package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +0 -186
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +0 -286
- package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +0 -24
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +0 -172
- package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +0 -187
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +0 -185
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +0 -750
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +0 -271
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +0 -214
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +0 -49
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +0 -30
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +0 -72
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +0 -10
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +0 -145
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +0 -137
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +0 -1276
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +0 -49
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +0 -1399
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +0 -130
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +0 -330
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +0 -236
- package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +0 -10
- package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +0 -73
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +0 -99
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +0 -48
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +0 -465
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +0 -133
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +0 -168
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +0 -1381
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +0 -114
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +0 -1792
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +0 -557
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Collections.Generic.js +0 -320
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +0 -165
- package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +0 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +0 -180
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +0 -211
- package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +0 -160
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +0 -771
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +0 -825
- package/dist/ts/ts/Core/Value.d.ts +0 -41
- package/dist/ts/ts/Core/Value.d.ts.map +0 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.1.0/DynamicObj.fs.js +0 -367
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +0 -68
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/Regex.fs.js +0 -21
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.11/StringBuffer.fs.js +0 -60
- /package/dist/ts/ts/fable_modules/{Fable.Exceljs.1.6.0 → Fable.Exceljs.2.0.0_565fc3e-alpha.1}/ExcelJs.fs.js +0 -0
- /package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.11 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
|
@@ -0,0 +1,1398 @@
|
|
|
1
|
+
import { NotSupportedException_$ctor_Z721C83C5, InvalidOperationException_$ctor_Z721C83C5 } from './System.js';
|
|
2
|
+
import { getEnumerator, disposeSafe, toIterator, isArrayLike, isDisposable, Exception, clear } from './Util.js';
|
|
3
|
+
import { toString } from './Types.js';
|
|
4
|
+
import { class_type } from './Reflection.js';
|
|
5
|
+
import { value, some } from './Option.js';
|
|
6
|
+
import { KeyNotFoundException_$ctor_Z721C83C5 } from './System.Collections.Generic.js';
|
|
7
|
+
import { Operators_NullArgCheck, Operators_Lock } from './FSharp.Core.js';
|
|
8
|
+
import { singleton as singleton$1, tryFindBack as tryFindBack$1, tryFindIndexBack as tryFindIndexBack$1, foldBack as foldBack$1, item as item$1, tryHead as tryHead$1, tryItem as tryItem$1, mapFold as mapFold$1, mapFoldBack as mapFoldBack$1, reverse as reverse$1, scanBack as scanBack$1, pairwise as pairwise$1, splitInto as splitInto$1, windowed as windowed$1, map as map$1, transpose as transpose$1, permute as permute$1, chunkBySize as chunkBySize$1, randomShuffleInPlaceBy, randomChoiceBy as randomChoiceBy$1, randomChoiceWith as randomChoiceWith$1, randomChoice as randomChoice$1, randomChoicesBy as randomChoicesBy$1, randomSampleBy as randomSampleBy$1 } from './Array.js';
|
|
9
|
+
import { FSharpList, toArray as toArray$1, ofArray as ofArray$1, ofSeq as ofSeq$1, tryHead as tryHead$2, isEmpty as isEmpty$1, tryItem as tryItem$2, length as length$1 } from './List.js';
|
|
10
|
+
import { min as min$1 } from './Double.js';
|
|
11
|
+
import { SR_indexOutOfBounds } from './Global.js';
|
|
12
|
+
import { nonSeeded } from './Random.js';
|
|
13
|
+
|
|
14
|
+
const SR_enumerationAlreadyFinished = "Enumeration already finished.";
|
|
15
|
+
const SR_enumerationNotStarted = "Enumeration has not started. Call MoveNext.";
|
|
16
|
+
const SR_inputSequenceEmpty = "The input sequence was empty.";
|
|
17
|
+
const SR_inputSequenceTooLong = "The input sequence contains more than one element.";
|
|
18
|
+
const SR_keyNotFoundAlt = "An index satisfying the predicate was not found in the collection.";
|
|
19
|
+
const SR_notEnoughElements = "The input sequence has an insufficient number of elements.";
|
|
20
|
+
const SR_resetNotSupported = "Reset is not supported on this enumerator.";
|
|
21
|
+
function Enumerator_noReset() {
|
|
22
|
+
throw NotSupportedException_$ctor_Z721C83C5(SR_resetNotSupported);
|
|
23
|
+
}
|
|
24
|
+
function Enumerator_notStarted() {
|
|
25
|
+
throw InvalidOperationException_$ctor_Z721C83C5(SR_enumerationNotStarted);
|
|
26
|
+
}
|
|
27
|
+
function Enumerator_alreadyFinished() {
|
|
28
|
+
throw InvalidOperationException_$ctor_Z721C83C5(SR_enumerationAlreadyFinished);
|
|
29
|
+
}
|
|
30
|
+
class Enumerator_Seq {
|
|
31
|
+
constructor(f) {
|
|
32
|
+
this.f = f;
|
|
33
|
+
}
|
|
34
|
+
toString() {
|
|
35
|
+
const xs = this;
|
|
36
|
+
let i = 0;
|
|
37
|
+
let str = "seq [";
|
|
38
|
+
const e = getEnumerator(xs);
|
|
39
|
+
try {
|
|
40
|
+
while (i < 4 && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
41
|
+
if (i > 0) {
|
|
42
|
+
str = str + "; ";
|
|
43
|
+
}
|
|
44
|
+
str = str + toString(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
45
|
+
i = i + 1 | 0;
|
|
46
|
+
}
|
|
47
|
+
if (i === 4) {
|
|
48
|
+
str = str + "; ...";
|
|
49
|
+
}
|
|
50
|
+
return str + "]";
|
|
51
|
+
} finally {
|
|
52
|
+
disposeSafe(e);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
GetEnumerator() {
|
|
56
|
+
const x = this;
|
|
57
|
+
return x.f();
|
|
58
|
+
}
|
|
59
|
+
[Symbol.iterator]() {
|
|
60
|
+
return toIterator(getEnumerator(this));
|
|
61
|
+
}
|
|
62
|
+
"System.Collections.IEnumerable.GetEnumerator"() {
|
|
63
|
+
const x = this;
|
|
64
|
+
return x.f();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
function Enumerator_Seq_$reflection(gen0) {
|
|
68
|
+
return class_type("SeqModule.Enumerator.Seq", [gen0], Enumerator_Seq);
|
|
69
|
+
}
|
|
70
|
+
function Enumerator_Seq_$ctor_673A07F2(f) {
|
|
71
|
+
return new Enumerator_Seq(f);
|
|
72
|
+
}
|
|
73
|
+
class Enumerator_FromFunctions$1 {
|
|
74
|
+
constructor(current, next, dispose) {
|
|
75
|
+
this.current = current;
|
|
76
|
+
this.next = next;
|
|
77
|
+
this.dispose = dispose;
|
|
78
|
+
}
|
|
79
|
+
"System.Collections.Generic.IEnumerator`1.get_Current"() {
|
|
80
|
+
const _ = this;
|
|
81
|
+
return _.current();
|
|
82
|
+
}
|
|
83
|
+
"System.Collections.IEnumerator.get_Current"() {
|
|
84
|
+
const _ = this;
|
|
85
|
+
return _.current();
|
|
86
|
+
}
|
|
87
|
+
"System.Collections.IEnumerator.MoveNext"() {
|
|
88
|
+
const _ = this;
|
|
89
|
+
return _.next();
|
|
90
|
+
}
|
|
91
|
+
"System.Collections.IEnumerator.Reset"() {
|
|
92
|
+
Enumerator_noReset();
|
|
93
|
+
}
|
|
94
|
+
Dispose() {
|
|
95
|
+
const _ = this;
|
|
96
|
+
_.dispose();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function Enumerator_FromFunctions$1_$reflection(gen0) {
|
|
100
|
+
return class_type("SeqModule.Enumerator.FromFunctions`1", [gen0], Enumerator_FromFunctions$1);
|
|
101
|
+
}
|
|
102
|
+
function Enumerator_FromFunctions$1_$ctor_58C54629(current, next, dispose) {
|
|
103
|
+
return new Enumerator_FromFunctions$1(current, next, dispose);
|
|
104
|
+
}
|
|
105
|
+
function Enumerator_cast(e) {
|
|
106
|
+
return Enumerator_FromFunctions$1_$ctor_58C54629(() => e["System.Collections.Generic.IEnumerator`1.get_Current"](), () => e["System.Collections.IEnumerator.MoveNext"](), () => {
|
|
107
|
+
disposeSafe(e);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function Enumerator_concat(sources) {
|
|
111
|
+
let outerOpt = void 0;
|
|
112
|
+
let innerOpt = void 0;
|
|
113
|
+
let started = false;
|
|
114
|
+
let finished = false;
|
|
115
|
+
let curr = void 0;
|
|
116
|
+
const finish = () => {
|
|
117
|
+
finished = true;
|
|
118
|
+
if (innerOpt != null) {
|
|
119
|
+
const inner = value(innerOpt);
|
|
120
|
+
try {
|
|
121
|
+
disposeSafe(inner);
|
|
122
|
+
} finally {
|
|
123
|
+
innerOpt = void 0;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
if (outerOpt != null) {
|
|
127
|
+
const outer = value(outerOpt);
|
|
128
|
+
try {
|
|
129
|
+
disposeSafe(outer);
|
|
130
|
+
} finally {
|
|
131
|
+
outerOpt = void 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
return Enumerator_FromFunctions$1_$ctor_58C54629(() => {
|
|
136
|
+
if (!started) {
|
|
137
|
+
Enumerator_notStarted();
|
|
138
|
+
} else if (finished) {
|
|
139
|
+
Enumerator_alreadyFinished();
|
|
140
|
+
}
|
|
141
|
+
if (curr != null) {
|
|
142
|
+
return value(curr);
|
|
143
|
+
} else {
|
|
144
|
+
return Enumerator_alreadyFinished();
|
|
145
|
+
}
|
|
146
|
+
}, () => {
|
|
147
|
+
if (!started) {
|
|
148
|
+
started = true;
|
|
149
|
+
}
|
|
150
|
+
if (finished) {
|
|
151
|
+
return false;
|
|
152
|
+
} else {
|
|
153
|
+
let res = void 0;
|
|
154
|
+
while (res == null) {
|
|
155
|
+
let copyOfStruct = void 0;
|
|
156
|
+
const outerOpt_1 = outerOpt;
|
|
157
|
+
const innerOpt_1 = innerOpt;
|
|
158
|
+
if (outerOpt_1 != null) {
|
|
159
|
+
if (innerOpt_1 != null) {
|
|
160
|
+
const inner_1 = value(innerOpt_1);
|
|
161
|
+
if (inner_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
162
|
+
curr = some(inner_1["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
163
|
+
res = true;
|
|
164
|
+
} else {
|
|
165
|
+
try {
|
|
166
|
+
disposeSafe(inner_1);
|
|
167
|
+
} finally {
|
|
168
|
+
innerOpt = void 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
const outer_1 = value(outerOpt_1);
|
|
173
|
+
if (outer_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
174
|
+
const ie = outer_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
175
|
+
innerOpt = (copyOfStruct = ie, getEnumerator(copyOfStruct));
|
|
176
|
+
} else {
|
|
177
|
+
finish();
|
|
178
|
+
res = false;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
} else {
|
|
182
|
+
outerOpt = getEnumerator(sources);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
return value(res);
|
|
186
|
+
}
|
|
187
|
+
}, () => {
|
|
188
|
+
if (!finished) {
|
|
189
|
+
finish();
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
function Enumerator_enumerateThenFinally(f, e) {
|
|
194
|
+
return Enumerator_FromFunctions$1_$ctor_58C54629(() => e["System.Collections.Generic.IEnumerator`1.get_Current"](), () => e["System.Collections.IEnumerator.MoveNext"](), () => {
|
|
195
|
+
try {
|
|
196
|
+
disposeSafe(e);
|
|
197
|
+
} finally {
|
|
198
|
+
f();
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
function Enumerator_generateWhileSome(openf, compute, closef) {
|
|
203
|
+
let started = false;
|
|
204
|
+
let curr = void 0;
|
|
205
|
+
let state = some(openf());
|
|
206
|
+
const dispose = () => {
|
|
207
|
+
if (state != null) {
|
|
208
|
+
const x_1 = value(state);
|
|
209
|
+
try {
|
|
210
|
+
closef(x_1);
|
|
211
|
+
} finally {
|
|
212
|
+
state = void 0;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
const finish = () => {
|
|
217
|
+
try {
|
|
218
|
+
dispose();
|
|
219
|
+
} finally {
|
|
220
|
+
curr = void 0;
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
return Enumerator_FromFunctions$1_$ctor_58C54629(() => {
|
|
224
|
+
if (!started) {
|
|
225
|
+
Enumerator_notStarted();
|
|
226
|
+
}
|
|
227
|
+
if (curr != null) {
|
|
228
|
+
return value(curr);
|
|
229
|
+
} else {
|
|
230
|
+
return Enumerator_alreadyFinished();
|
|
231
|
+
}
|
|
232
|
+
}, () => {
|
|
233
|
+
if (!started) {
|
|
234
|
+
started = true;
|
|
235
|
+
}
|
|
236
|
+
if (state != null) {
|
|
237
|
+
const s = value(state);
|
|
238
|
+
let matchValue_1;
|
|
239
|
+
try {
|
|
240
|
+
matchValue_1 = compute(s);
|
|
241
|
+
} catch (matchValue) {
|
|
242
|
+
finish();
|
|
243
|
+
throw matchValue;
|
|
244
|
+
}
|
|
245
|
+
if (matchValue_1 != null) {
|
|
246
|
+
curr = matchValue_1;
|
|
247
|
+
return true;
|
|
248
|
+
} else {
|
|
249
|
+
finish();
|
|
250
|
+
return false;
|
|
251
|
+
}
|
|
252
|
+
} else {
|
|
253
|
+
return false;
|
|
254
|
+
}
|
|
255
|
+
}, dispose);
|
|
256
|
+
}
|
|
257
|
+
function Enumerator_unfold(f, state) {
|
|
258
|
+
let curr = void 0;
|
|
259
|
+
let acc = state;
|
|
260
|
+
return Enumerator_FromFunctions$1_$ctor_58C54629(() => {
|
|
261
|
+
if (curr != null) {
|
|
262
|
+
const x = value(curr)[0];
|
|
263
|
+
value(curr)[1];
|
|
264
|
+
return x;
|
|
265
|
+
} else {
|
|
266
|
+
return Enumerator_notStarted();
|
|
267
|
+
}
|
|
268
|
+
}, () => {
|
|
269
|
+
curr = f(acc);
|
|
270
|
+
if (curr != null) {
|
|
271
|
+
value(curr)[0];
|
|
272
|
+
const st_1 = value(curr)[1];
|
|
273
|
+
acc = st_1;
|
|
274
|
+
return true;
|
|
275
|
+
} else {
|
|
276
|
+
return false;
|
|
277
|
+
}
|
|
278
|
+
}, () => {
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
function indexNotFound() {
|
|
282
|
+
throw KeyNotFoundException_$ctor_Z721C83C5(SR_keyNotFoundAlt);
|
|
283
|
+
}
|
|
284
|
+
function mkSeq(f) {
|
|
285
|
+
return Enumerator_Seq_$ctor_673A07F2(f);
|
|
286
|
+
}
|
|
287
|
+
function ofSeq(xs) {
|
|
288
|
+
return getEnumerator(Operators_NullArgCheck("source", xs));
|
|
289
|
+
}
|
|
290
|
+
function delay(generator) {
|
|
291
|
+
return mkSeq(() => getEnumerator(generator()));
|
|
292
|
+
}
|
|
293
|
+
function concat(sources) {
|
|
294
|
+
return mkSeq(() => Enumerator_concat(sources));
|
|
295
|
+
}
|
|
296
|
+
function unfold(generator, state) {
|
|
297
|
+
return mkSeq(() => Enumerator_unfold(generator, state));
|
|
298
|
+
}
|
|
299
|
+
function empty() {
|
|
300
|
+
return delay(() => new Array(0));
|
|
301
|
+
}
|
|
302
|
+
function singleton(x) {
|
|
303
|
+
return delay(() => singleton$1(x));
|
|
304
|
+
}
|
|
305
|
+
function ofArray(arr) {
|
|
306
|
+
return arr;
|
|
307
|
+
}
|
|
308
|
+
function toArray(xs) {
|
|
309
|
+
if (xs instanceof FSharpList) {
|
|
310
|
+
const a = xs;
|
|
311
|
+
return toArray$1(a);
|
|
312
|
+
} else {
|
|
313
|
+
return Array.from(xs);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
function ofList(xs) {
|
|
317
|
+
return xs;
|
|
318
|
+
}
|
|
319
|
+
function toList(xs) {
|
|
320
|
+
if (isArrayLike(xs)) {
|
|
321
|
+
return ofArray$1(xs);
|
|
322
|
+
} else if (xs instanceof FSharpList) {
|
|
323
|
+
return xs;
|
|
324
|
+
} else {
|
|
325
|
+
return ofSeq$1(xs);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
function generate(create, compute, dispose) {
|
|
329
|
+
return mkSeq(() => Enumerator_generateWhileSome(create, compute, dispose));
|
|
330
|
+
}
|
|
331
|
+
function generateIndexed(create, compute, dispose) {
|
|
332
|
+
return mkSeq(() => {
|
|
333
|
+
let i = -1;
|
|
334
|
+
return Enumerator_generateWhileSome(create, (x) => {
|
|
335
|
+
i = i + 1 | 0;
|
|
336
|
+
return compute(i, x);
|
|
337
|
+
}, dispose);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
function append(xs, ys) {
|
|
341
|
+
return concat([xs, ys]);
|
|
342
|
+
}
|
|
343
|
+
function cast(xs) {
|
|
344
|
+
return mkSeq(() => Enumerator_cast(getEnumerator(Operators_NullArgCheck("source", xs))));
|
|
345
|
+
}
|
|
346
|
+
function choose(chooser, xs) {
|
|
347
|
+
return generate(() => ofSeq(xs), (e) => {
|
|
348
|
+
let curr = void 0;
|
|
349
|
+
while (curr == null && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
350
|
+
curr = chooser(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
351
|
+
}
|
|
352
|
+
return curr;
|
|
353
|
+
}, (e_1) => {
|
|
354
|
+
disposeSafe(e_1);
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
function compareWith(comparer, xs, ys) {
|
|
358
|
+
const e1 = ofSeq(xs);
|
|
359
|
+
try {
|
|
360
|
+
const e2 = ofSeq(ys);
|
|
361
|
+
try {
|
|
362
|
+
let c = 0;
|
|
363
|
+
let b1 = e1["System.Collections.IEnumerator.MoveNext"]();
|
|
364
|
+
let b2 = e2["System.Collections.IEnumerator.MoveNext"]();
|
|
365
|
+
while (c === 0 && b1 && b2) {
|
|
366
|
+
c = comparer(e1["System.Collections.Generic.IEnumerator`1.get_Current"](), e2["System.Collections.Generic.IEnumerator`1.get_Current"]()) | 0;
|
|
367
|
+
if (c === 0) {
|
|
368
|
+
b1 = e1["System.Collections.IEnumerator.MoveNext"]();
|
|
369
|
+
b2 = e2["System.Collections.IEnumerator.MoveNext"]();
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
return (c !== 0 ? c : b1 ? 1 : b2 ? -1 : 0) | 0;
|
|
373
|
+
} finally {
|
|
374
|
+
disposeSafe(e2);
|
|
375
|
+
}
|
|
376
|
+
} finally {
|
|
377
|
+
disposeSafe(e1);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
function contains(value, xs, comparer) {
|
|
381
|
+
const e = ofSeq(xs);
|
|
382
|
+
try {
|
|
383
|
+
let found = false;
|
|
384
|
+
while (!found && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
385
|
+
found = comparer.Equals(value, e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
386
|
+
}
|
|
387
|
+
return found;
|
|
388
|
+
} finally {
|
|
389
|
+
disposeSafe(e);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
function enumerateFromFunctions(create, moveNext, current) {
|
|
393
|
+
return generate(create, (x) => moveNext(x) ? some(current(x)) : void 0, (x_1) => {
|
|
394
|
+
const matchValue = x_1;
|
|
395
|
+
if (isDisposable(matchValue)) {
|
|
396
|
+
const id = matchValue;
|
|
397
|
+
disposeSafe(id);
|
|
398
|
+
}
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
function enumerateThenFinally(source, compensation) {
|
|
402
|
+
const compensation_1 = compensation;
|
|
403
|
+
return mkSeq(() => {
|
|
404
|
+
try {
|
|
405
|
+
return Enumerator_enumerateThenFinally(compensation_1, ofSeq(source));
|
|
406
|
+
} catch (matchValue) {
|
|
407
|
+
compensation_1();
|
|
408
|
+
throw matchValue;
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
function enumerateUsing(resource, source) {
|
|
413
|
+
const compensation = () => {
|
|
414
|
+
if (resource == null) {
|
|
415
|
+
} else {
|
|
416
|
+
let copyOfStruct = resource;
|
|
417
|
+
disposeSafe(copyOfStruct);
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
return mkSeq(() => {
|
|
421
|
+
try {
|
|
422
|
+
return Enumerator_enumerateThenFinally(compensation, ofSeq(source(resource)));
|
|
423
|
+
} catch (matchValue_1) {
|
|
424
|
+
compensation();
|
|
425
|
+
throw matchValue_1;
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
function enumerateWhile(guard, xs) {
|
|
430
|
+
return concat(unfold((i) => guard() ? [xs, i + 1] : void 0, 0));
|
|
431
|
+
}
|
|
432
|
+
function enumerateTryWith(source, catchFilter, catchHandler) {
|
|
433
|
+
return mkSeq(() => {
|
|
434
|
+
let e = void 0;
|
|
435
|
+
let caught = false;
|
|
436
|
+
let started = false;
|
|
437
|
+
let finished = false;
|
|
438
|
+
let curr = void 0;
|
|
439
|
+
const tryNext = () => {
|
|
440
|
+
try {
|
|
441
|
+
let en_2;
|
|
442
|
+
if (e == null) {
|
|
443
|
+
const en_1 = getEnumerator(source);
|
|
444
|
+
e = en_1;
|
|
445
|
+
en_2 = en_1;
|
|
446
|
+
} else {
|
|
447
|
+
en_2 = value(e);
|
|
448
|
+
}
|
|
449
|
+
if (en_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
450
|
+
curr = some(en_2["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
451
|
+
return true;
|
|
452
|
+
} else {
|
|
453
|
+
finished = true;
|
|
454
|
+
return false;
|
|
455
|
+
}
|
|
456
|
+
} catch (matchValue) {
|
|
457
|
+
if (!caught) {
|
|
458
|
+
const ex_1 = matchValue;
|
|
459
|
+
if (catchFilter(ex_1) !== 0) {
|
|
460
|
+
caught = true;
|
|
461
|
+
if (e == null) {
|
|
462
|
+
} else {
|
|
463
|
+
const en_3 = value(e);
|
|
464
|
+
try {
|
|
465
|
+
disposeSafe(en_3);
|
|
466
|
+
} catch (matchValue_1) {
|
|
467
|
+
}
|
|
468
|
+
e = void 0;
|
|
469
|
+
}
|
|
470
|
+
e = getEnumerator(catchHandler(ex_1));
|
|
471
|
+
return tryNext();
|
|
472
|
+
} else {
|
|
473
|
+
throw matchValue;
|
|
474
|
+
}
|
|
475
|
+
} else {
|
|
476
|
+
throw matchValue;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
return Enumerator_FromFunctions$1_$ctor_58C54629(() => {
|
|
481
|
+
if (!started) {
|
|
482
|
+
Enumerator_notStarted();
|
|
483
|
+
} else if (finished) {
|
|
484
|
+
Enumerator_alreadyFinished();
|
|
485
|
+
}
|
|
486
|
+
if (curr != null) {
|
|
487
|
+
return value(curr);
|
|
488
|
+
} else {
|
|
489
|
+
return Enumerator_alreadyFinished();
|
|
490
|
+
}
|
|
491
|
+
}, () => {
|
|
492
|
+
if (!started) {
|
|
493
|
+
started = true;
|
|
494
|
+
}
|
|
495
|
+
if (finished) {
|
|
496
|
+
return false;
|
|
497
|
+
} else {
|
|
498
|
+
return tryNext();
|
|
499
|
+
}
|
|
500
|
+
}, () => {
|
|
501
|
+
if (e == null) {
|
|
502
|
+
} else {
|
|
503
|
+
disposeSafe(value(e));
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
function filter(f, xs) {
|
|
509
|
+
return choose((x) => {
|
|
510
|
+
if (f(x)) {
|
|
511
|
+
return some(x);
|
|
512
|
+
} else {
|
|
513
|
+
return void 0;
|
|
514
|
+
}
|
|
515
|
+
}, xs);
|
|
516
|
+
}
|
|
517
|
+
function exists(predicate, xs) {
|
|
518
|
+
const e = ofSeq(xs);
|
|
519
|
+
try {
|
|
520
|
+
let found = false;
|
|
521
|
+
while (!found && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
522
|
+
found = predicate(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
523
|
+
}
|
|
524
|
+
return found;
|
|
525
|
+
} finally {
|
|
526
|
+
disposeSafe(e);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
function exists2(predicate, xs, ys) {
|
|
530
|
+
const e1 = ofSeq(xs);
|
|
531
|
+
try {
|
|
532
|
+
const e2 = ofSeq(ys);
|
|
533
|
+
try {
|
|
534
|
+
let found = false;
|
|
535
|
+
while (!found && e1["System.Collections.IEnumerator.MoveNext"]() && e2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
536
|
+
found = predicate(e1["System.Collections.Generic.IEnumerator`1.get_Current"](), e2["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
537
|
+
}
|
|
538
|
+
return found;
|
|
539
|
+
} finally {
|
|
540
|
+
disposeSafe(e2);
|
|
541
|
+
}
|
|
542
|
+
} finally {
|
|
543
|
+
disposeSafe(e1);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
function exactlyOne(xs) {
|
|
547
|
+
const e = ofSeq(xs);
|
|
548
|
+
try {
|
|
549
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
550
|
+
const v = e["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
551
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
552
|
+
throw new Exception(SR_inputSequenceTooLong + " (Parameter 'source')");
|
|
553
|
+
} else {
|
|
554
|
+
return v;
|
|
555
|
+
}
|
|
556
|
+
} else {
|
|
557
|
+
throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
|
|
558
|
+
}
|
|
559
|
+
} finally {
|
|
560
|
+
disposeSafe(e);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
function tryExactlyOne(xs) {
|
|
564
|
+
const e = ofSeq(xs);
|
|
565
|
+
try {
|
|
566
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
567
|
+
const v = e["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
568
|
+
return e["System.Collections.IEnumerator.MoveNext"]() ? void 0 : some(v);
|
|
569
|
+
} else {
|
|
570
|
+
return void 0;
|
|
571
|
+
}
|
|
572
|
+
} finally {
|
|
573
|
+
disposeSafe(e);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
function tryFind(predicate, xs) {
|
|
577
|
+
const e = ofSeq(xs);
|
|
578
|
+
try {
|
|
579
|
+
let res = void 0;
|
|
580
|
+
while (res == null && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
581
|
+
const c = e["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
582
|
+
if (predicate(c)) {
|
|
583
|
+
res = some(c);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
return res;
|
|
587
|
+
} finally {
|
|
588
|
+
disposeSafe(e);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
function find(predicate, xs) {
|
|
592
|
+
const matchValue = tryFind(predicate, xs);
|
|
593
|
+
if (matchValue == null) {
|
|
594
|
+
return indexNotFound();
|
|
595
|
+
} else {
|
|
596
|
+
return value(matchValue);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
function tryFindBack(predicate, xs) {
|
|
600
|
+
return tryFindBack$1(predicate, toArray(xs));
|
|
601
|
+
}
|
|
602
|
+
function findBack(predicate, xs) {
|
|
603
|
+
const matchValue = tryFindBack(predicate, xs);
|
|
604
|
+
if (matchValue == null) {
|
|
605
|
+
return indexNotFound();
|
|
606
|
+
} else {
|
|
607
|
+
return value(matchValue);
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
function tryFindIndex(predicate, xs) {
|
|
611
|
+
const e = ofSeq(xs);
|
|
612
|
+
try {
|
|
613
|
+
const loop = (i_mut) => {
|
|
614
|
+
loop:
|
|
615
|
+
while (true) {
|
|
616
|
+
const i = i_mut;
|
|
617
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
618
|
+
if (predicate(e["System.Collections.Generic.IEnumerator`1.get_Current"]())) {
|
|
619
|
+
return i;
|
|
620
|
+
} else {
|
|
621
|
+
i_mut = i + 1;
|
|
622
|
+
continue loop;
|
|
623
|
+
}
|
|
624
|
+
} else {
|
|
625
|
+
return void 0;
|
|
626
|
+
}
|
|
627
|
+
break;
|
|
628
|
+
}
|
|
629
|
+
};
|
|
630
|
+
return loop(0);
|
|
631
|
+
} finally {
|
|
632
|
+
disposeSafe(e);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
function findIndex(predicate, xs) {
|
|
636
|
+
const matchValue = tryFindIndex(predicate, xs);
|
|
637
|
+
if (matchValue == null) {
|
|
638
|
+
indexNotFound();
|
|
639
|
+
return -1;
|
|
640
|
+
} else {
|
|
641
|
+
return value(matchValue) | 0;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
function tryFindIndexBack(predicate, xs) {
|
|
645
|
+
return tryFindIndexBack$1(predicate, toArray(xs));
|
|
646
|
+
}
|
|
647
|
+
function findIndexBack(predicate, xs) {
|
|
648
|
+
const matchValue = tryFindIndexBack(predicate, xs);
|
|
649
|
+
if (matchValue == null) {
|
|
650
|
+
indexNotFound();
|
|
651
|
+
return -1;
|
|
652
|
+
} else {
|
|
653
|
+
return value(matchValue) | 0;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
function fold(folder, state, xs) {
|
|
657
|
+
const e = ofSeq(xs);
|
|
658
|
+
try {
|
|
659
|
+
let acc = state;
|
|
660
|
+
while (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
661
|
+
acc = folder(acc, e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
662
|
+
}
|
|
663
|
+
return acc;
|
|
664
|
+
} finally {
|
|
665
|
+
disposeSafe(e);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
function foldBack(folder, xs, state) {
|
|
669
|
+
return foldBack$1(folder, toArray(xs), state);
|
|
670
|
+
}
|
|
671
|
+
function fold2(folder, state, xs, ys) {
|
|
672
|
+
const e1 = ofSeq(xs);
|
|
673
|
+
try {
|
|
674
|
+
const e2 = ofSeq(ys);
|
|
675
|
+
try {
|
|
676
|
+
let acc = state;
|
|
677
|
+
while (e1["System.Collections.IEnumerator.MoveNext"]() && e2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
678
|
+
acc = folder(acc, e1["System.Collections.Generic.IEnumerator`1.get_Current"](), e2["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
679
|
+
}
|
|
680
|
+
return acc;
|
|
681
|
+
} finally {
|
|
682
|
+
disposeSafe(e2);
|
|
683
|
+
}
|
|
684
|
+
} finally {
|
|
685
|
+
disposeSafe(e1);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
function foldBack2(folder, xs, ys, state) {
|
|
689
|
+
const xs_1 = toArray(xs);
|
|
690
|
+
const ys_1 = toArray(ys);
|
|
691
|
+
const len = min$1(xs_1.length, ys_1.length) | 0;
|
|
692
|
+
let acc = state;
|
|
693
|
+
for (let i = len - 1; i >= 0; i--) {
|
|
694
|
+
acc = folder(item$1(i, xs_1), item$1(i, ys_1), acc);
|
|
695
|
+
}
|
|
696
|
+
return acc;
|
|
697
|
+
}
|
|
698
|
+
function forAll(predicate, xs) {
|
|
699
|
+
return !exists((x) => !predicate(x), xs);
|
|
700
|
+
}
|
|
701
|
+
function forAll2(predicate, xs, ys) {
|
|
702
|
+
return !exists2((x, y) => !predicate(x, y), xs, ys);
|
|
703
|
+
}
|
|
704
|
+
function tryHead(xs) {
|
|
705
|
+
if (isArrayLike(xs)) {
|
|
706
|
+
return tryHead$1(xs);
|
|
707
|
+
} else if (xs instanceof FSharpList) {
|
|
708
|
+
return tryHead$2(xs);
|
|
709
|
+
} else {
|
|
710
|
+
const e = ofSeq(xs);
|
|
711
|
+
try {
|
|
712
|
+
return e["System.Collections.IEnumerator.MoveNext"]() ? some(e["System.Collections.Generic.IEnumerator`1.get_Current"]()) : void 0;
|
|
713
|
+
} finally {
|
|
714
|
+
disposeSafe(e);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
function head(xs) {
|
|
719
|
+
const matchValue = tryHead(xs);
|
|
720
|
+
if (matchValue == null) {
|
|
721
|
+
throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
|
|
722
|
+
} else {
|
|
723
|
+
return value(matchValue);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
function initialize(count, f) {
|
|
727
|
+
return unfold((i) => i < count ? [f(i), i + 1] : void 0, 0);
|
|
728
|
+
}
|
|
729
|
+
function initializeInfinite(f) {
|
|
730
|
+
return initialize(2147483647, f);
|
|
731
|
+
}
|
|
732
|
+
function isEmpty(xs) {
|
|
733
|
+
if (isArrayLike(xs)) {
|
|
734
|
+
const a = xs;
|
|
735
|
+
return a.length === 0;
|
|
736
|
+
} else if (xs instanceof FSharpList) {
|
|
737
|
+
return isEmpty$1(xs);
|
|
738
|
+
} else {
|
|
739
|
+
const e = ofSeq(xs);
|
|
740
|
+
try {
|
|
741
|
+
return !e["System.Collections.IEnumerator.MoveNext"]();
|
|
742
|
+
} finally {
|
|
743
|
+
disposeSafe(e);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
function tryItem(index, xs) {
|
|
748
|
+
if (isArrayLike(xs)) {
|
|
749
|
+
return tryItem$1(index, xs);
|
|
750
|
+
} else if (xs instanceof FSharpList) {
|
|
751
|
+
return tryItem$2(index, xs);
|
|
752
|
+
} else {
|
|
753
|
+
const e = ofSeq(xs);
|
|
754
|
+
try {
|
|
755
|
+
const loop = (index_1_mut) => {
|
|
756
|
+
loop:
|
|
757
|
+
while (true) {
|
|
758
|
+
const index_1 = index_1_mut;
|
|
759
|
+
if (!e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
760
|
+
return void 0;
|
|
761
|
+
} else if (index_1 === 0) {
|
|
762
|
+
return some(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
763
|
+
} else {
|
|
764
|
+
index_1_mut = index_1 - 1;
|
|
765
|
+
continue loop;
|
|
766
|
+
}
|
|
767
|
+
break;
|
|
768
|
+
}
|
|
769
|
+
};
|
|
770
|
+
return loop(index);
|
|
771
|
+
} finally {
|
|
772
|
+
disposeSafe(e);
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
function item(index, xs) {
|
|
777
|
+
const matchValue = tryItem(index, xs);
|
|
778
|
+
if (matchValue == null) {
|
|
779
|
+
throw new Exception(SR_notEnoughElements + " (Parameter 'index')");
|
|
780
|
+
} else {
|
|
781
|
+
return value(matchValue);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
function iterate(action, xs) {
|
|
785
|
+
fold((unitVar, x) => {
|
|
786
|
+
action(x);
|
|
787
|
+
}, void 0, xs);
|
|
788
|
+
}
|
|
789
|
+
function iterate2(action, xs, ys) {
|
|
790
|
+
fold2((unitVar, x, y) => {
|
|
791
|
+
action(x, y);
|
|
792
|
+
}, void 0, xs, ys);
|
|
793
|
+
}
|
|
794
|
+
function iterateIndexed(action, xs) {
|
|
795
|
+
fold((i, x) => {
|
|
796
|
+
action(i, x);
|
|
797
|
+
return i + 1 | 0;
|
|
798
|
+
}, 0, xs);
|
|
799
|
+
}
|
|
800
|
+
function iterateIndexed2(action, xs, ys) {
|
|
801
|
+
fold2((i, x, y) => {
|
|
802
|
+
action(i, x, y);
|
|
803
|
+
return i + 1 | 0;
|
|
804
|
+
}, 0, xs, ys);
|
|
805
|
+
}
|
|
806
|
+
function tryLast(xs) {
|
|
807
|
+
const e = ofSeq(xs);
|
|
808
|
+
try {
|
|
809
|
+
const loop = (acc_mut) => {
|
|
810
|
+
loop:
|
|
811
|
+
while (true) {
|
|
812
|
+
const acc = acc_mut;
|
|
813
|
+
if (!e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
814
|
+
return acc;
|
|
815
|
+
} else {
|
|
816
|
+
acc_mut = e["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
817
|
+
continue loop;
|
|
818
|
+
}
|
|
819
|
+
break;
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
return e["System.Collections.IEnumerator.MoveNext"]() ? some(loop(e["System.Collections.Generic.IEnumerator`1.get_Current"]())) : void 0;
|
|
823
|
+
} finally {
|
|
824
|
+
disposeSafe(e);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
function last(xs) {
|
|
828
|
+
const matchValue = tryLast(xs);
|
|
829
|
+
if (matchValue == null) {
|
|
830
|
+
throw new Exception(SR_notEnoughElements + " (Parameter 'source')");
|
|
831
|
+
} else {
|
|
832
|
+
return value(matchValue);
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
function length(xs) {
|
|
836
|
+
if (isArrayLike(xs)) {
|
|
837
|
+
const a = xs;
|
|
838
|
+
return a.length | 0;
|
|
839
|
+
} else if (xs instanceof FSharpList) {
|
|
840
|
+
return length$1(xs) | 0;
|
|
841
|
+
} else {
|
|
842
|
+
const e = ofSeq(xs);
|
|
843
|
+
try {
|
|
844
|
+
let count = 0;
|
|
845
|
+
while (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
846
|
+
count = count + 1 | 0;
|
|
847
|
+
}
|
|
848
|
+
return count | 0;
|
|
849
|
+
} finally {
|
|
850
|
+
disposeSafe(e);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
function map(mapping, xs) {
|
|
855
|
+
return generate(() => ofSeq(xs), (e) => e["System.Collections.IEnumerator.MoveNext"]() ? some(mapping(e["System.Collections.Generic.IEnumerator`1.get_Current"]())) : void 0, (e_1) => {
|
|
856
|
+
disposeSafe(e_1);
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
function mapIndexed(mapping, xs) {
|
|
860
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => e["System.Collections.IEnumerator.MoveNext"]() ? some(mapping(i, e["System.Collections.Generic.IEnumerator`1.get_Current"]())) : void 0, (e_1) => {
|
|
861
|
+
disposeSafe(e_1);
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
function indexed(xs) {
|
|
865
|
+
return mapIndexed((i, x) => [i, x], xs);
|
|
866
|
+
}
|
|
867
|
+
function map2(mapping, xs, ys) {
|
|
868
|
+
return generate(() => [ofSeq(xs), ofSeq(ys)], (tupledArg) => {
|
|
869
|
+
const e1 = tupledArg[0];
|
|
870
|
+
const e2 = tupledArg[1];
|
|
871
|
+
return e1["System.Collections.IEnumerator.MoveNext"]() && e2["System.Collections.IEnumerator.MoveNext"]() ? some(mapping(e1["System.Collections.Generic.IEnumerator`1.get_Current"](), e2["System.Collections.Generic.IEnumerator`1.get_Current"]())) : void 0;
|
|
872
|
+
}, (tupledArg_1) => {
|
|
873
|
+
try {
|
|
874
|
+
disposeSafe(tupledArg_1[0]);
|
|
875
|
+
} finally {
|
|
876
|
+
disposeSafe(tupledArg_1[1]);
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
}
|
|
880
|
+
function mapIndexed2(mapping, xs, ys) {
|
|
881
|
+
return generateIndexed(() => [ofSeq(xs), ofSeq(ys)], (i, tupledArg) => {
|
|
882
|
+
const e1 = tupledArg[0];
|
|
883
|
+
const e2 = tupledArg[1];
|
|
884
|
+
return e1["System.Collections.IEnumerator.MoveNext"]() && e2["System.Collections.IEnumerator.MoveNext"]() ? some(mapping(i, e1["System.Collections.Generic.IEnumerator`1.get_Current"](), e2["System.Collections.Generic.IEnumerator`1.get_Current"]())) : void 0;
|
|
885
|
+
}, (tupledArg_1) => {
|
|
886
|
+
try {
|
|
887
|
+
disposeSafe(tupledArg_1[0]);
|
|
888
|
+
} finally {
|
|
889
|
+
disposeSafe(tupledArg_1[1]);
|
|
890
|
+
}
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
function map3(mapping, xs, ys, zs) {
|
|
894
|
+
return generate(() => [ofSeq(xs), ofSeq(ys), ofSeq(zs)], (tupledArg) => {
|
|
895
|
+
const e1 = tupledArg[0];
|
|
896
|
+
const e2 = tupledArg[1];
|
|
897
|
+
const e3 = tupledArg[2];
|
|
898
|
+
return e1["System.Collections.IEnumerator.MoveNext"]() && e2["System.Collections.IEnumerator.MoveNext"]() && e3["System.Collections.IEnumerator.MoveNext"]() ? some(mapping(e1["System.Collections.Generic.IEnumerator`1.get_Current"](), e2["System.Collections.Generic.IEnumerator`1.get_Current"](), e3["System.Collections.Generic.IEnumerator`1.get_Current"]())) : void 0;
|
|
899
|
+
}, (tupledArg_1) => {
|
|
900
|
+
try {
|
|
901
|
+
disposeSafe(tupledArg_1[0]);
|
|
902
|
+
} finally {
|
|
903
|
+
try {
|
|
904
|
+
disposeSafe(tupledArg_1[1]);
|
|
905
|
+
} finally {
|
|
906
|
+
disposeSafe(tupledArg_1[2]);
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
}
|
|
911
|
+
function readOnly(xs) {
|
|
912
|
+
return map((x) => x, Operators_NullArgCheck("source", xs));
|
|
913
|
+
}
|
|
914
|
+
class CachedSeq$1 {
|
|
915
|
+
constructor(cleanup, res) {
|
|
916
|
+
this.cleanup = cleanup;
|
|
917
|
+
this.res = res;
|
|
918
|
+
}
|
|
919
|
+
Dispose() {
|
|
920
|
+
const _ = this;
|
|
921
|
+
_.cleanup();
|
|
922
|
+
}
|
|
923
|
+
GetEnumerator() {
|
|
924
|
+
const _ = this;
|
|
925
|
+
return getEnumerator(_.res);
|
|
926
|
+
}
|
|
927
|
+
[Symbol.iterator]() {
|
|
928
|
+
return toIterator(getEnumerator(this));
|
|
929
|
+
}
|
|
930
|
+
"System.Collections.IEnumerable.GetEnumerator"() {
|
|
931
|
+
const _ = this;
|
|
932
|
+
return getEnumerator(_.res);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
function CachedSeq$1_$reflection(gen0) {
|
|
936
|
+
return class_type("SeqModule.CachedSeq`1", [gen0], CachedSeq$1);
|
|
937
|
+
}
|
|
938
|
+
function CachedSeq$1_$ctor_Z7A8347D4(cleanup, res) {
|
|
939
|
+
return new CachedSeq$1(cleanup, res);
|
|
940
|
+
}
|
|
941
|
+
function CachedSeq$1__Clear(_) {
|
|
942
|
+
_.cleanup();
|
|
943
|
+
}
|
|
944
|
+
function cache(source) {
|
|
945
|
+
const source_1 = Operators_NullArgCheck("source", source);
|
|
946
|
+
const prefix = [];
|
|
947
|
+
let enumeratorR = void 0;
|
|
948
|
+
return CachedSeq$1_$ctor_Z7A8347D4(() => {
|
|
949
|
+
Operators_Lock(prefix, () => {
|
|
950
|
+
clear(prefix);
|
|
951
|
+
let matchResult = void 0, e = void 0;
|
|
952
|
+
if (enumeratorR != null) {
|
|
953
|
+
if (value(enumeratorR) != null) {
|
|
954
|
+
matchResult = 0;
|
|
955
|
+
e = value(value(enumeratorR));
|
|
956
|
+
} else {
|
|
957
|
+
matchResult = 1;
|
|
958
|
+
}
|
|
959
|
+
} else {
|
|
960
|
+
matchResult = 1;
|
|
961
|
+
}
|
|
962
|
+
switch (matchResult) {
|
|
963
|
+
case 0: {
|
|
964
|
+
disposeSafe(e);
|
|
965
|
+
break;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
enumeratorR = void 0;
|
|
969
|
+
});
|
|
970
|
+
}, unfold((i_1) => Operators_Lock(prefix, () => {
|
|
971
|
+
if (i_1 < prefix.length) {
|
|
972
|
+
return [item$1(i_1, prefix), i_1 + 1];
|
|
973
|
+
} else {
|
|
974
|
+
if (i_1 >= prefix.length) {
|
|
975
|
+
let optEnumerator_2;
|
|
976
|
+
if (enumeratorR != null) {
|
|
977
|
+
optEnumerator_2 = value(enumeratorR);
|
|
978
|
+
} else {
|
|
979
|
+
const optEnumerator = getEnumerator(source_1);
|
|
980
|
+
enumeratorR = some(optEnumerator);
|
|
981
|
+
optEnumerator_2 = optEnumerator;
|
|
982
|
+
}
|
|
983
|
+
if (optEnumerator_2 == null) {
|
|
984
|
+
} else {
|
|
985
|
+
const enumerator = value(optEnumerator_2);
|
|
986
|
+
if (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
987
|
+
void prefix.push(enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
988
|
+
} else {
|
|
989
|
+
disposeSafe(enumerator);
|
|
990
|
+
enumeratorR = some(void 0);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
if (i_1 < prefix.length) {
|
|
995
|
+
return [item$1(i_1, prefix), i_1 + 1];
|
|
996
|
+
} else {
|
|
997
|
+
return void 0;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
}), 0));
|
|
1001
|
+
}
|
|
1002
|
+
function allPairs(xs, ys) {
|
|
1003
|
+
const ysCache = cache(ys);
|
|
1004
|
+
return delay(() => concat(map((x) => map((y) => [x, y], ysCache), xs)));
|
|
1005
|
+
}
|
|
1006
|
+
function mapFold(mapping, state, xs) {
|
|
1007
|
+
const patternInput = mapFold$1(mapping, state, toArray(xs));
|
|
1008
|
+
return [readOnly(patternInput[0]), patternInput[1]];
|
|
1009
|
+
}
|
|
1010
|
+
function mapFoldBack(mapping, xs, state) {
|
|
1011
|
+
const patternInput = mapFoldBack$1(mapping, toArray(xs), state);
|
|
1012
|
+
return [readOnly(patternInput[0]), patternInput[1]];
|
|
1013
|
+
}
|
|
1014
|
+
function tryPick(chooser, xs) {
|
|
1015
|
+
const e = ofSeq(xs);
|
|
1016
|
+
try {
|
|
1017
|
+
let res = void 0;
|
|
1018
|
+
while (res == null && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1019
|
+
res = chooser(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1020
|
+
}
|
|
1021
|
+
return res;
|
|
1022
|
+
} finally {
|
|
1023
|
+
disposeSafe(e);
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
function pick(chooser, xs) {
|
|
1027
|
+
const matchValue = tryPick(chooser, xs);
|
|
1028
|
+
if (matchValue == null) {
|
|
1029
|
+
return indexNotFound();
|
|
1030
|
+
} else {
|
|
1031
|
+
return value(matchValue);
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
function reduce(folder, xs) {
|
|
1035
|
+
const e = ofSeq(xs);
|
|
1036
|
+
try {
|
|
1037
|
+
const loop = (acc_mut) => {
|
|
1038
|
+
loop:
|
|
1039
|
+
while (true) {
|
|
1040
|
+
const acc = acc_mut;
|
|
1041
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1042
|
+
acc_mut = folder(acc, e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1043
|
+
continue loop;
|
|
1044
|
+
} else {
|
|
1045
|
+
return acc;
|
|
1046
|
+
}
|
|
1047
|
+
break;
|
|
1048
|
+
}
|
|
1049
|
+
};
|
|
1050
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1051
|
+
return loop(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1052
|
+
} else {
|
|
1053
|
+
throw new Exception(SR_inputSequenceEmpty);
|
|
1054
|
+
}
|
|
1055
|
+
} finally {
|
|
1056
|
+
disposeSafe(e);
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
function reduceBack(folder, xs) {
|
|
1060
|
+
const arr = toArray(xs);
|
|
1061
|
+
if (arr.length > 0) {
|
|
1062
|
+
return arr.reduceRight(folder);
|
|
1063
|
+
} else {
|
|
1064
|
+
throw new Exception(SR_inputSequenceEmpty);
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
function replicate(n, x) {
|
|
1068
|
+
return initialize(n, (_arg) => x);
|
|
1069
|
+
}
|
|
1070
|
+
function reverse(xs) {
|
|
1071
|
+
return delay(() => ofArray(reverse$1(toArray(xs))));
|
|
1072
|
+
}
|
|
1073
|
+
function scan(folder, state, xs) {
|
|
1074
|
+
return delay(() => {
|
|
1075
|
+
let acc = state;
|
|
1076
|
+
return concat([singleton(state), map((x) => {
|
|
1077
|
+
acc = folder(acc, x);
|
|
1078
|
+
return acc;
|
|
1079
|
+
}, xs)]);
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
function scanBack(folder, xs, state) {
|
|
1083
|
+
return delay(() => ofArray(scanBack$1(folder, toArray(xs), state)));
|
|
1084
|
+
}
|
|
1085
|
+
function skip(count, source) {
|
|
1086
|
+
return mkSeq(() => {
|
|
1087
|
+
const e = ofSeq(source);
|
|
1088
|
+
try {
|
|
1089
|
+
for (let _ = 1; _ <= count; _++) {
|
|
1090
|
+
if (!e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1091
|
+
throw new Exception(SR_notEnoughElements + " (Parameter 'source')");
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
return Enumerator_enumerateThenFinally(() => {
|
|
1095
|
+
}, e);
|
|
1096
|
+
} catch (matchValue) {
|
|
1097
|
+
disposeSafe(e);
|
|
1098
|
+
throw matchValue;
|
|
1099
|
+
}
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
function skipWhile(predicate, xs) {
|
|
1103
|
+
return delay(() => {
|
|
1104
|
+
let skipped = true;
|
|
1105
|
+
return filter((x) => {
|
|
1106
|
+
if (skipped) {
|
|
1107
|
+
skipped = predicate(x);
|
|
1108
|
+
}
|
|
1109
|
+
return !skipped;
|
|
1110
|
+
}, xs);
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
function tail(xs) {
|
|
1114
|
+
return skip(1, xs);
|
|
1115
|
+
}
|
|
1116
|
+
function take(count, xs) {
|
|
1117
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => {
|
|
1118
|
+
if (i < count) {
|
|
1119
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1120
|
+
return some(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1121
|
+
} else {
|
|
1122
|
+
throw new Exception(SR_notEnoughElements + " (Parameter 'source')");
|
|
1123
|
+
}
|
|
1124
|
+
} else {
|
|
1125
|
+
return void 0;
|
|
1126
|
+
}
|
|
1127
|
+
}, (e_1) => {
|
|
1128
|
+
disposeSafe(e_1);
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
function takeWhile(predicate, xs) {
|
|
1132
|
+
return generate(() => ofSeq(xs), (e) => e["System.Collections.IEnumerator.MoveNext"]() && predicate(e["System.Collections.Generic.IEnumerator`1.get_Current"]()) ? some(e["System.Collections.Generic.IEnumerator`1.get_Current"]()) : void 0, (e_1) => {
|
|
1133
|
+
disposeSafe(e_1);
|
|
1134
|
+
});
|
|
1135
|
+
}
|
|
1136
|
+
function truncate(count, xs) {
|
|
1137
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => i < count && e["System.Collections.IEnumerator.MoveNext"]() ? some(e["System.Collections.Generic.IEnumerator`1.get_Current"]()) : void 0, (e_1) => {
|
|
1138
|
+
disposeSafe(e_1);
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
function zip(xs, ys) {
|
|
1142
|
+
return map2((x, y) => [x, y], xs, ys);
|
|
1143
|
+
}
|
|
1144
|
+
function zip3(xs, ys, zs) {
|
|
1145
|
+
return map3((x, y, z) => [x, y, z], xs, ys, zs);
|
|
1146
|
+
}
|
|
1147
|
+
function collect(mapping, xs) {
|
|
1148
|
+
return delay(() => concat(map(mapping, xs)));
|
|
1149
|
+
}
|
|
1150
|
+
function where(predicate, xs) {
|
|
1151
|
+
return filter(predicate, xs);
|
|
1152
|
+
}
|
|
1153
|
+
function pairwise(xs) {
|
|
1154
|
+
return delay(() => ofArray(pairwise$1(toArray(xs))));
|
|
1155
|
+
}
|
|
1156
|
+
function splitInto(chunks, xs) {
|
|
1157
|
+
return delay(() => ofArray(splitInto$1(chunks, toArray(xs))));
|
|
1158
|
+
}
|
|
1159
|
+
function windowed(windowSize, xs) {
|
|
1160
|
+
return delay(() => ofArray(windowed$1(windowSize, toArray(xs))));
|
|
1161
|
+
}
|
|
1162
|
+
function transpose(xss) {
|
|
1163
|
+
return delay(() => ofArray(map$1(ofArray, transpose$1(map$1(toArray, toArray(xss))))));
|
|
1164
|
+
}
|
|
1165
|
+
function sortWith(comparer, xs) {
|
|
1166
|
+
return delay(() => {
|
|
1167
|
+
const arr = toArray(xs);
|
|
1168
|
+
arr.sort(comparer);
|
|
1169
|
+
return ofArray(arr);
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
function sort(xs, comparer) {
|
|
1173
|
+
return sortWith((x, y) => comparer.Compare(x, y) | 0, xs);
|
|
1174
|
+
}
|
|
1175
|
+
function sortBy(projection, xs, comparer) {
|
|
1176
|
+
return sortWith((x, y) => comparer.Compare(projection(x), projection(y)) | 0, xs);
|
|
1177
|
+
}
|
|
1178
|
+
function sortDescending(xs, comparer) {
|
|
1179
|
+
return sortWith((x, y) => comparer.Compare(x, y) * -1 | 0, xs);
|
|
1180
|
+
}
|
|
1181
|
+
function sortByDescending(projection, xs, comparer) {
|
|
1182
|
+
return sortWith((x, y) => comparer.Compare(projection(x), projection(y)) * -1 | 0, xs);
|
|
1183
|
+
}
|
|
1184
|
+
function sum(xs, adder) {
|
|
1185
|
+
return fold((acc, x) => adder.Add(acc, x), adder.GetZero(), xs);
|
|
1186
|
+
}
|
|
1187
|
+
function sumBy(f, xs, adder) {
|
|
1188
|
+
return fold((acc, x) => adder.Add(acc, f(x)), adder.GetZero(), xs);
|
|
1189
|
+
}
|
|
1190
|
+
function maxBy(projection, xs, comparer) {
|
|
1191
|
+
return reduce((x, y) => comparer.Compare(projection(y), projection(x)) > 0 ? y : x, xs);
|
|
1192
|
+
}
|
|
1193
|
+
function max(xs, comparer) {
|
|
1194
|
+
return reduce((x, y) => comparer.Compare(y, x) > 0 ? y : x, xs);
|
|
1195
|
+
}
|
|
1196
|
+
function minBy(projection, xs, comparer) {
|
|
1197
|
+
return reduce((x, y) => comparer.Compare(projection(y), projection(x)) > 0 ? x : y, xs);
|
|
1198
|
+
}
|
|
1199
|
+
function min(xs, comparer) {
|
|
1200
|
+
return reduce((x, y) => comparer.Compare(y, x) > 0 ? x : y, xs);
|
|
1201
|
+
}
|
|
1202
|
+
function average(xs, averager) {
|
|
1203
|
+
let count = 0;
|
|
1204
|
+
const total = fold((acc, x) => {
|
|
1205
|
+
count = count + 1 | 0;
|
|
1206
|
+
return averager.Add(acc, x);
|
|
1207
|
+
}, averager.GetZero(), xs);
|
|
1208
|
+
if (count === 0) {
|
|
1209
|
+
throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
|
|
1210
|
+
} else {
|
|
1211
|
+
return averager.DivideByInt(total, count);
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
function averageBy(f, xs, averager) {
|
|
1215
|
+
let count = 0;
|
|
1216
|
+
const total = fold((acc, x) => {
|
|
1217
|
+
count = count + 1 | 0;
|
|
1218
|
+
return averager.Add(acc, f(x));
|
|
1219
|
+
}, averager.GetZero(), xs);
|
|
1220
|
+
if (count === 0) {
|
|
1221
|
+
throw new Exception(SR_inputSequenceEmpty + " (Parameter 'source')");
|
|
1222
|
+
} else {
|
|
1223
|
+
return averager.DivideByInt(total, count);
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
function permute(f, xs) {
|
|
1227
|
+
return delay(() => ofArray(permute$1(f, toArray(xs))));
|
|
1228
|
+
}
|
|
1229
|
+
function chunkBySize(chunkSize, xs) {
|
|
1230
|
+
return delay(() => ofArray(chunkBySize$1(chunkSize, toArray(xs))));
|
|
1231
|
+
}
|
|
1232
|
+
function insertAt(index, y, xs) {
|
|
1233
|
+
let isDone = false;
|
|
1234
|
+
if (index < 0) {
|
|
1235
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1236
|
+
}
|
|
1237
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => {
|
|
1238
|
+
if ((isDone ? true : i < index) && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1239
|
+
return some(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1240
|
+
} else if (i === index) {
|
|
1241
|
+
isDone = true;
|
|
1242
|
+
return some(y);
|
|
1243
|
+
} else {
|
|
1244
|
+
if (!isDone) {
|
|
1245
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1246
|
+
}
|
|
1247
|
+
return void 0;
|
|
1248
|
+
}
|
|
1249
|
+
}, (e_1) => {
|
|
1250
|
+
disposeSafe(e_1);
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
function insertManyAt(index, ys, xs) {
|
|
1254
|
+
let status = -1;
|
|
1255
|
+
if (index < 0) {
|
|
1256
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1257
|
+
}
|
|
1258
|
+
return generateIndexed(() => [ofSeq(xs), ofSeq(ys)], (i, tupledArg) => {
|
|
1259
|
+
const e1 = tupledArg[0];
|
|
1260
|
+
const e2 = tupledArg[1];
|
|
1261
|
+
if (i === index) {
|
|
1262
|
+
status = 0;
|
|
1263
|
+
}
|
|
1264
|
+
let inserted;
|
|
1265
|
+
if (status === 0) {
|
|
1266
|
+
if (e2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1267
|
+
inserted = some(e2["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1268
|
+
} else {
|
|
1269
|
+
status = 1;
|
|
1270
|
+
inserted = void 0;
|
|
1271
|
+
}
|
|
1272
|
+
} else {
|
|
1273
|
+
inserted = void 0;
|
|
1274
|
+
}
|
|
1275
|
+
if (inserted == null) {
|
|
1276
|
+
if (e1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1277
|
+
return some(e1["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1278
|
+
} else {
|
|
1279
|
+
if (status < 1) {
|
|
1280
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1281
|
+
}
|
|
1282
|
+
return void 0;
|
|
1283
|
+
}
|
|
1284
|
+
} else {
|
|
1285
|
+
return some(value(inserted));
|
|
1286
|
+
}
|
|
1287
|
+
}, (tupledArg_1) => {
|
|
1288
|
+
disposeSafe(tupledArg_1[0]);
|
|
1289
|
+
disposeSafe(tupledArg_1[1]);
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
function removeAt(index, xs) {
|
|
1293
|
+
let isDone = false;
|
|
1294
|
+
if (index < 0) {
|
|
1295
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1296
|
+
}
|
|
1297
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => {
|
|
1298
|
+
if ((isDone ? true : i < index) && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1299
|
+
return some(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1300
|
+
} else if (i === index && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1301
|
+
isDone = true;
|
|
1302
|
+
return e["System.Collections.IEnumerator.MoveNext"]() ? some(e["System.Collections.Generic.IEnumerator`1.get_Current"]()) : void 0;
|
|
1303
|
+
} else {
|
|
1304
|
+
if (!isDone) {
|
|
1305
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1306
|
+
}
|
|
1307
|
+
return void 0;
|
|
1308
|
+
}
|
|
1309
|
+
}, (e_1) => {
|
|
1310
|
+
disposeSafe(e_1);
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
function removeManyAt(index, count, xs) {
|
|
1314
|
+
if (index < 0) {
|
|
1315
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1316
|
+
}
|
|
1317
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => {
|
|
1318
|
+
if (i < index) {
|
|
1319
|
+
if (e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1320
|
+
return some(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1321
|
+
} else {
|
|
1322
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1323
|
+
}
|
|
1324
|
+
} else {
|
|
1325
|
+
if (i === index) {
|
|
1326
|
+
for (let _ = 1; _ <= count; _++) {
|
|
1327
|
+
if (!e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1328
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'count')");
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
return e["System.Collections.IEnumerator.MoveNext"]() ? some(e["System.Collections.Generic.IEnumerator`1.get_Current"]()) : void 0;
|
|
1333
|
+
}
|
|
1334
|
+
}, (e_1) => {
|
|
1335
|
+
disposeSafe(e_1);
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
function updateAt(index, y, xs) {
|
|
1339
|
+
let isDone = false;
|
|
1340
|
+
if (index < 0) {
|
|
1341
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1342
|
+
}
|
|
1343
|
+
return generateIndexed(() => ofSeq(xs), (i, e) => {
|
|
1344
|
+
if ((isDone ? true : i < index) && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1345
|
+
return some(e["System.Collections.Generic.IEnumerator`1.get_Current"]());
|
|
1346
|
+
} else if (i === index && e["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1347
|
+
isDone = true;
|
|
1348
|
+
return some(y);
|
|
1349
|
+
} else {
|
|
1350
|
+
if (!isDone) {
|
|
1351
|
+
throw new Exception(SR_indexOutOfBounds + " (Parameter 'index')");
|
|
1352
|
+
}
|
|
1353
|
+
return void 0;
|
|
1354
|
+
}
|
|
1355
|
+
}, (e_1) => {
|
|
1356
|
+
disposeSafe(e_1);
|
|
1357
|
+
});
|
|
1358
|
+
}
|
|
1359
|
+
function randomShuffleBy(randomizer, xs) {
|
|
1360
|
+
const arr = toArray(xs);
|
|
1361
|
+
randomShuffleInPlaceBy(randomizer, arr);
|
|
1362
|
+
return ofArray(arr);
|
|
1363
|
+
}
|
|
1364
|
+
function randomShuffleWith(random, xs) {
|
|
1365
|
+
return randomShuffleBy(() => random.NextDouble(), xs);
|
|
1366
|
+
}
|
|
1367
|
+
function randomShuffle(xs) {
|
|
1368
|
+
return randomShuffleWith(nonSeeded(), xs);
|
|
1369
|
+
}
|
|
1370
|
+
function randomChoiceBy(randomizer, xs) {
|
|
1371
|
+
return randomChoiceBy$1(randomizer, toArray(xs));
|
|
1372
|
+
}
|
|
1373
|
+
function randomChoiceWith(random, xs) {
|
|
1374
|
+
return randomChoiceWith$1(random, toArray(xs));
|
|
1375
|
+
}
|
|
1376
|
+
function randomChoice(xs) {
|
|
1377
|
+
return randomChoice$1(toArray(xs));
|
|
1378
|
+
}
|
|
1379
|
+
function randomChoicesBy(randomizer, count, xs) {
|
|
1380
|
+
return ofArray(randomChoicesBy$1(randomizer, count, toArray(xs)));
|
|
1381
|
+
}
|
|
1382
|
+
function randomChoicesWith(random, count, xs) {
|
|
1383
|
+
return randomChoicesBy(() => random.NextDouble(), count, xs);
|
|
1384
|
+
}
|
|
1385
|
+
function randomChoices(count, xs) {
|
|
1386
|
+
return randomChoicesWith(nonSeeded(), count, xs);
|
|
1387
|
+
}
|
|
1388
|
+
function randomSampleBy(randomizer, count, xs) {
|
|
1389
|
+
return ofArray(randomSampleBy$1(randomizer, count, toArray(xs)));
|
|
1390
|
+
}
|
|
1391
|
+
function randomSampleWith(random, count, xs) {
|
|
1392
|
+
return randomSampleBy(() => random.NextDouble(), count, xs);
|
|
1393
|
+
}
|
|
1394
|
+
function randomSample(count, xs) {
|
|
1395
|
+
return randomSampleWith(nonSeeded(), count, xs);
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
export { CachedSeq$1, CachedSeq$1_$ctor_Z7A8347D4, CachedSeq$1_$reflection, CachedSeq$1__Clear, Enumerator_FromFunctions$1, Enumerator_FromFunctions$1_$ctor_58C54629, Enumerator_FromFunctions$1_$reflection, Enumerator_Seq, Enumerator_Seq_$ctor_673A07F2, Enumerator_Seq_$reflection, Enumerator_alreadyFinished, Enumerator_cast, Enumerator_concat, Enumerator_enumerateThenFinally, Enumerator_generateWhileSome, Enumerator_noReset, Enumerator_notStarted, Enumerator_unfold, SR_enumerationAlreadyFinished, SR_enumerationNotStarted, SR_inputSequenceEmpty, SR_inputSequenceTooLong, SR_keyNotFoundAlt, SR_notEnoughElements, SR_resetNotSupported, allPairs, append, average, averageBy, cache, cast, choose, chunkBySize, collect, compareWith, concat, contains, delay, empty, enumerateFromFunctions, enumerateThenFinally, enumerateTryWith, enumerateUsing, enumerateWhile, exactlyOne, exists, exists2, filter, find, findBack, findIndex, findIndexBack, fold, fold2, foldBack, foldBack2, forAll, forAll2, generate, generateIndexed, head, indexNotFound, indexed, initialize, initializeInfinite, insertAt, insertManyAt, isEmpty, item, iterate, iterate2, iterateIndexed, iterateIndexed2, last, length, map, map2, map3, mapFold, mapFoldBack, mapIndexed, mapIndexed2, max, maxBy, min, minBy, mkSeq, ofArray, ofList, ofSeq, pairwise, permute, pick, randomChoice, randomChoiceBy, randomChoiceWith, randomChoices, randomChoicesBy, randomChoicesWith, randomSample, randomSampleBy, randomSampleWith, randomShuffle, randomShuffleBy, randomShuffleWith, readOnly, reduce, reduceBack, removeAt, removeManyAt, replicate, reverse, scan, scanBack, singleton, skip, skipWhile, sort, sortBy, sortByDescending, sortDescending, sortWith, splitInto, sum, sumBy, tail, take, takeWhile, toArray, toList, transpose, truncate, tryExactlyOne, tryFind, tryFindBack, tryFindIndex, tryFindIndexBack, tryHead, tryItem, tryLast, tryPick, unfold, updateAt, where, windowed, zip, zip3 };
|