@nfdi4plants/arctrl 3.1.0 → 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 +219 -59
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +696 -124
- package/dist/ts/ts/CWL/Decode.d.ts +303 -61
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +1162 -679
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +37 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +57 -0
- package/dist/ts/ts/CWL/Encode.d.ts +138 -14
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +798 -522
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +32 -6
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +31 -3
- 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 +69 -18
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +191 -52
- package/dist/ts/ts/CWL/OperationDescription.d.ts +8 -6
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +7 -3
- package/dist/ts/ts/CWL/Outputs.d.ts +55 -16
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +170 -75
- package/dist/ts/ts/CWL/ParameterReference.d.ts +15 -9
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +36 -17
- 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 +183 -66
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +475 -137
- package/dist/ts/ts/CWL/ToolDescription.d.ts +57 -8
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +98 -7
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +30 -7
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +28 -3
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +91 -36
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +206 -41
- 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 +49 -44
- 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 +38 -18
- 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 +19 -12
- package/dist/ts/ts/Conversion/Person.d.ts +5 -5
- package/dist/ts/ts/Conversion/Person.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Person.js +57 -25
- 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 +452 -69
- 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 +26 -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 +30 -15
- 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 +86 -47
- package/dist/ts/ts/Conversion.d.ts +24 -21
- package/dist/ts/ts/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Conversion.js +20 -13
- 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 +585 -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 +10 -10
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +5 -5
- 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 +6 -5
- 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.7 → YAMLicious.1.0.0}/Decode.fs.js +100 -134
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Encode.fs.js +10 -10
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Escapes.fs.js +41 -34
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Persil.fs.js +56 -204
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +319 -0
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +1884 -0
- 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.7 → YAMLicious.1.0.0}/RegexActivePatterns.fs.js +16 -16
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +840 -0
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → YAMLicious.1.0.0}/Writer.fs.js +106 -76
- package/dist/ts/ts/fable_modules/{YAMLicious.1.0.0-alpha.7 → 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.7/FlowToBlock.fs.js +0 -956
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Preprocessing.fs.js +0 -181
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Reader.fs.js +0 -1493
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/Regex.fs.js +0 -21
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0-alpha.7/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.7 → YAMLicious.1.0.0}/Interop/JsInterop.fs.js +0 -0
|
@@ -1,1244 +0,0 @@
|
|
|
1
|
-
import { Helpers_allocateArrayFromCons } from './Native.js';
|
|
2
|
-
import { some, defaultArg, map as map$1, value } from './Option.js';
|
|
3
|
-
import { max as max$1, min as min$1 } from './Double.js';
|
|
4
|
-
import { defaultOf, copyToArray, getEnumerator, disposeSafe, equals } from './Util.js';
|
|
5
|
-
import { SR_indexOutOfBounds } from './Global.js';
|
|
6
|
-
|
|
7
|
-
function indexNotFound() {
|
|
8
|
-
throw new Error("An index satisfying the predicate was not found in the collection.");
|
|
9
|
-
}
|
|
10
|
-
function differentLengths() {
|
|
11
|
-
throw new Error("Arrays had different lengths");
|
|
12
|
-
}
|
|
13
|
-
function append(array1, array2, cons) {
|
|
14
|
-
const len1 = array1.length | 0;
|
|
15
|
-
const len2 = array2.length | 0;
|
|
16
|
-
const newArray = Helpers_allocateArrayFromCons(cons, len1 + len2);
|
|
17
|
-
for (let i = 0; i <= (len1 - 1); i++) {
|
|
18
|
-
setItem(newArray, i, item(i, array1));
|
|
19
|
-
}
|
|
20
|
-
for (let i_1 = 0; i_1 <= (len2 - 1); i_1++) {
|
|
21
|
-
setItem(newArray, i_1 + len1, item(i_1, array2));
|
|
22
|
-
}
|
|
23
|
-
return newArray;
|
|
24
|
-
}
|
|
25
|
-
function filter(predicate, array) {
|
|
26
|
-
return array.filter(predicate);
|
|
27
|
-
}
|
|
28
|
-
function fill(target, targetIndex, count, value) {
|
|
29
|
-
const start = targetIndex | 0;
|
|
30
|
-
return target.fill(value, start, (start + count));
|
|
31
|
-
}
|
|
32
|
-
function getSubArray(array, start, count) {
|
|
33
|
-
const start_1 = start | 0;
|
|
34
|
-
return array.slice(start_1, (start_1 + count));
|
|
35
|
-
}
|
|
36
|
-
function last(array) {
|
|
37
|
-
if (array.length === 0) {
|
|
38
|
-
throw new Error("The input array was empty\\nParameter name: array");
|
|
39
|
-
}
|
|
40
|
-
return item(array.length - 1, array);
|
|
41
|
-
}
|
|
42
|
-
function tryLast(array) {
|
|
43
|
-
if (array.length === 0) {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
return some(item(array.length - 1, array));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function mapIndexed(f, source, cons) {
|
|
51
|
-
const len = source.length | 0;
|
|
52
|
-
const target = Helpers_allocateArrayFromCons(cons, len);
|
|
53
|
-
for (let i = 0; i <= (len - 1); i++) {
|
|
54
|
-
setItem(target, i, f(i, item(i, source)));
|
|
55
|
-
}
|
|
56
|
-
return target;
|
|
57
|
-
}
|
|
58
|
-
function map(f, source, cons) {
|
|
59
|
-
const len = source.length | 0;
|
|
60
|
-
const target = Helpers_allocateArrayFromCons(cons, len);
|
|
61
|
-
for (let i = 0; i <= (len - 1); i++) {
|
|
62
|
-
setItem(target, i, f(item(i, source)));
|
|
63
|
-
}
|
|
64
|
-
return target;
|
|
65
|
-
}
|
|
66
|
-
function mapIndexed2(f, source1, source2, cons) {
|
|
67
|
-
if (source1.length !== source2.length) {
|
|
68
|
-
throw new Error("Arrays had different lengths");
|
|
69
|
-
}
|
|
70
|
-
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
71
|
-
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
72
|
-
setItem(result, i, f(i, item(i, source1), item(i, source2)));
|
|
73
|
-
}
|
|
74
|
-
return result;
|
|
75
|
-
}
|
|
76
|
-
function map2(f, source1, source2, cons) {
|
|
77
|
-
if (source1.length !== source2.length) {
|
|
78
|
-
throw new Error("Arrays had different lengths");
|
|
79
|
-
}
|
|
80
|
-
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
81
|
-
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
82
|
-
setItem(result, i, f(item(i, source1), item(i, source2)));
|
|
83
|
-
}
|
|
84
|
-
return result;
|
|
85
|
-
}
|
|
86
|
-
function mapIndexed3(f, source1, source2, source3, cons) {
|
|
87
|
-
if ((source1.length !== source2.length) ? true : (source2.length !== source3.length)) {
|
|
88
|
-
throw new Error("Arrays had different lengths");
|
|
89
|
-
}
|
|
90
|
-
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
91
|
-
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
92
|
-
setItem(result, i, f(i, item(i, source1), item(i, source2), item(i, source3)));
|
|
93
|
-
}
|
|
94
|
-
return result;
|
|
95
|
-
}
|
|
96
|
-
function map3(f, source1, source2, source3, cons) {
|
|
97
|
-
if ((source1.length !== source2.length) ? true : (source2.length !== source3.length)) {
|
|
98
|
-
throw new Error("Arrays had different lengths");
|
|
99
|
-
}
|
|
100
|
-
const result = Helpers_allocateArrayFromCons(cons, source1.length);
|
|
101
|
-
for (let i = 0; i <= (source1.length - 1); i++) {
|
|
102
|
-
setItem(result, i, f(item(i, source1), item(i, source2), item(i, source3)));
|
|
103
|
-
}
|
|
104
|
-
return result;
|
|
105
|
-
}
|
|
106
|
-
function mapFold(mapping, state, array, cons) {
|
|
107
|
-
const matchValue = array.length | 0;
|
|
108
|
-
if (matchValue === 0) {
|
|
109
|
-
return [[], state];
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
let acc = state;
|
|
113
|
-
const res = Helpers_allocateArrayFromCons(cons, matchValue);
|
|
114
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
115
|
-
const patternInput = mapping(acc, item(i, array));
|
|
116
|
-
setItem(res, i, patternInput[0]);
|
|
117
|
-
acc = patternInput[1];
|
|
118
|
-
}
|
|
119
|
-
return [res, acc];
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function mapFoldBack(mapping, array, state, cons) {
|
|
123
|
-
const matchValue = array.length | 0;
|
|
124
|
-
if (matchValue === 0) {
|
|
125
|
-
return [[], state];
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
let acc = state;
|
|
129
|
-
const res = Helpers_allocateArrayFromCons(cons, matchValue);
|
|
130
|
-
for (let i = array.length - 1; i >= 0; i--) {
|
|
131
|
-
const patternInput = mapping(item(i, array), acc);
|
|
132
|
-
setItem(res, i, patternInput[0]);
|
|
133
|
-
acc = patternInput[1];
|
|
134
|
-
}
|
|
135
|
-
return [res, acc];
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
function indexed(source) {
|
|
139
|
-
const len = source.length | 0;
|
|
140
|
-
const target = new Array(len);
|
|
141
|
-
for (let i = 0; i <= (len - 1); i++) {
|
|
142
|
-
setItem(target, i, [i, item(i, source)]);
|
|
143
|
-
}
|
|
144
|
-
return target;
|
|
145
|
-
}
|
|
146
|
-
function truncate(count, array) {
|
|
147
|
-
const count_1 = max$1(0, count) | 0;
|
|
148
|
-
return array.slice(0, (0 + count_1));
|
|
149
|
-
}
|
|
150
|
-
function concat(arrays, cons) {
|
|
151
|
-
const arrays_1 = Array.isArray(arrays) ? arrays : (Array.from(arrays));
|
|
152
|
-
const matchValue = arrays_1.length | 0;
|
|
153
|
-
switch (matchValue) {
|
|
154
|
-
case 0:
|
|
155
|
-
return Helpers_allocateArrayFromCons(cons, 0);
|
|
156
|
-
case 1:
|
|
157
|
-
return item(0, arrays_1);
|
|
158
|
-
default: {
|
|
159
|
-
let totalIdx = 0;
|
|
160
|
-
let totalLength = 0;
|
|
161
|
-
for (let idx = 0; idx <= (arrays_1.length - 1); idx++) {
|
|
162
|
-
const arr_1 = item(idx, arrays_1);
|
|
163
|
-
totalLength = ((totalLength + arr_1.length) | 0);
|
|
164
|
-
}
|
|
165
|
-
const result = Helpers_allocateArrayFromCons(cons, totalLength);
|
|
166
|
-
for (let idx_1 = 0; idx_1 <= (arrays_1.length - 1); idx_1++) {
|
|
167
|
-
const arr_2 = item(idx_1, arrays_1);
|
|
168
|
-
for (let j = 0; j <= (arr_2.length - 1); j++) {
|
|
169
|
-
setItem(result, totalIdx, item(j, arr_2));
|
|
170
|
-
totalIdx = ((totalIdx + 1) | 0);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
return result;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
function collect(mapping, array, cons) {
|
|
178
|
-
return concat(map(mapping, array, defaultOf()), cons);
|
|
179
|
-
}
|
|
180
|
-
function where(predicate, array) {
|
|
181
|
-
return array.filter(predicate);
|
|
182
|
-
}
|
|
183
|
-
function indexOf(array, item_1, start, count, eq) {
|
|
184
|
-
const start_1 = defaultArg(start, 0) | 0;
|
|
185
|
-
const end$0027 = defaultArg(map$1((c) => (start_1 + c), count), array.length) | 0;
|
|
186
|
-
const loop = (i_mut) => {
|
|
187
|
-
loop: while (true) {
|
|
188
|
-
const i = i_mut;
|
|
189
|
-
if (i >= end$0027) {
|
|
190
|
-
return -1;
|
|
191
|
-
}
|
|
192
|
-
else if (eq.Equals(item_1, item(i, array))) {
|
|
193
|
-
return i | 0;
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
i_mut = (i + 1);
|
|
197
|
-
continue loop;
|
|
198
|
-
}
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
return loop(start_1) | 0;
|
|
203
|
-
}
|
|
204
|
-
function contains(value, array, eq) {
|
|
205
|
-
return indexOf(array, value, undefined, undefined, eq) >= 0;
|
|
206
|
-
}
|
|
207
|
-
function empty(cons) {
|
|
208
|
-
return Helpers_allocateArrayFromCons(cons, 0);
|
|
209
|
-
}
|
|
210
|
-
function singleton(value, cons) {
|
|
211
|
-
const ar = Helpers_allocateArrayFromCons(cons, 1);
|
|
212
|
-
setItem(ar, 0, value);
|
|
213
|
-
return ar;
|
|
214
|
-
}
|
|
215
|
-
function initialize(count, initializer, cons) {
|
|
216
|
-
if (count < 0) {
|
|
217
|
-
throw new Error("The input must be non-negative\\nParameter name: count");
|
|
218
|
-
}
|
|
219
|
-
const result = Helpers_allocateArrayFromCons(cons, count);
|
|
220
|
-
for (let i = 0; i <= (count - 1); i++) {
|
|
221
|
-
setItem(result, i, initializer(i));
|
|
222
|
-
}
|
|
223
|
-
return result;
|
|
224
|
-
}
|
|
225
|
-
function pairwise(array) {
|
|
226
|
-
if (array.length < 2) {
|
|
227
|
-
return [];
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
const count = (array.length - 1) | 0;
|
|
231
|
-
const result = new Array(count);
|
|
232
|
-
for (let i = 0; i <= (count - 1); i++) {
|
|
233
|
-
setItem(result, i, [item(i, array), item(i + 1, array)]);
|
|
234
|
-
}
|
|
235
|
-
return result;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
function replicate(count, initial, cons) {
|
|
239
|
-
if (count < 0) {
|
|
240
|
-
throw new Error("The input must be non-negative\\nParameter name: count");
|
|
241
|
-
}
|
|
242
|
-
const result = Helpers_allocateArrayFromCons(cons, count);
|
|
243
|
-
for (let i = 0; i <= (result.length - 1); i++) {
|
|
244
|
-
setItem(result, i, initial);
|
|
245
|
-
}
|
|
246
|
-
return result;
|
|
247
|
-
}
|
|
248
|
-
function copy(array) {
|
|
249
|
-
return array.slice();
|
|
250
|
-
}
|
|
251
|
-
function copyTo(source, sourceIndex, target, targetIndex, count) {
|
|
252
|
-
copyToArray(source, sourceIndex, target, targetIndex, count);
|
|
253
|
-
}
|
|
254
|
-
function reverse(array) {
|
|
255
|
-
const array_2 = array.slice();
|
|
256
|
-
return array_2.reverse();
|
|
257
|
-
}
|
|
258
|
-
function scan(folder, state, array, cons) {
|
|
259
|
-
const res = Helpers_allocateArrayFromCons(cons, array.length + 1);
|
|
260
|
-
setItem(res, 0, state);
|
|
261
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
262
|
-
setItem(res, i + 1, folder(item(i, res), item(i, array)));
|
|
263
|
-
}
|
|
264
|
-
return res;
|
|
265
|
-
}
|
|
266
|
-
function scanBack(folder, array, state, cons) {
|
|
267
|
-
const res = Helpers_allocateArrayFromCons(cons, array.length + 1);
|
|
268
|
-
setItem(res, array.length, state);
|
|
269
|
-
for (let i = array.length - 1; i >= 0; i--) {
|
|
270
|
-
setItem(res, i, folder(item(i, array), item(i + 1, res)));
|
|
271
|
-
}
|
|
272
|
-
return res;
|
|
273
|
-
}
|
|
274
|
-
function skip(count, array, cons) {
|
|
275
|
-
if (count > array.length) {
|
|
276
|
-
throw new Error("count is greater than array length\\nParameter name: count");
|
|
277
|
-
}
|
|
278
|
-
if (count === array.length) {
|
|
279
|
-
return Helpers_allocateArrayFromCons(cons, 0);
|
|
280
|
-
}
|
|
281
|
-
else {
|
|
282
|
-
const count_1 = ((count < 0) ? 0 : count) | 0;
|
|
283
|
-
return array.slice(count_1);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
function skipWhile(predicate, array, cons) {
|
|
287
|
-
let count = 0;
|
|
288
|
-
while ((count < array.length) && predicate(item(count, array))) {
|
|
289
|
-
count = ((count + 1) | 0);
|
|
290
|
-
}
|
|
291
|
-
if (count === array.length) {
|
|
292
|
-
return Helpers_allocateArrayFromCons(cons, 0);
|
|
293
|
-
}
|
|
294
|
-
else {
|
|
295
|
-
const count_1 = count | 0;
|
|
296
|
-
return array.slice(count_1);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
function take(count, array, cons) {
|
|
300
|
-
if (count < 0) {
|
|
301
|
-
throw new Error("The input must be non-negative\\nParameter name: count");
|
|
302
|
-
}
|
|
303
|
-
if (count > array.length) {
|
|
304
|
-
throw new Error("count is greater than array length\\nParameter name: count");
|
|
305
|
-
}
|
|
306
|
-
if (count === 0) {
|
|
307
|
-
return Helpers_allocateArrayFromCons(cons, 0);
|
|
308
|
-
}
|
|
309
|
-
else {
|
|
310
|
-
return array.slice(0, (0 + count));
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
function takeWhile(predicate, array, cons) {
|
|
314
|
-
let count = 0;
|
|
315
|
-
while ((count < array.length) && predicate(item(count, array))) {
|
|
316
|
-
count = ((count + 1) | 0);
|
|
317
|
-
}
|
|
318
|
-
if (count === 0) {
|
|
319
|
-
return Helpers_allocateArrayFromCons(cons, 0);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
const count_1 = count | 0;
|
|
323
|
-
return array.slice(0, (0 + count_1));
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
function addInPlace(x, array) {
|
|
327
|
-
array.push(x);
|
|
328
|
-
}
|
|
329
|
-
function addRangeInPlace(range, array) {
|
|
330
|
-
const enumerator = getEnumerator(range);
|
|
331
|
-
try {
|
|
332
|
-
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
333
|
-
addInPlace(enumerator["System.Collections.Generic.IEnumerator`1.get_Current"](), array);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
finally {
|
|
337
|
-
disposeSafe(enumerator);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
function insertRangeInPlace(index, range, array) {
|
|
341
|
-
let index_1;
|
|
342
|
-
let i = index;
|
|
343
|
-
const enumerator = getEnumerator(range);
|
|
344
|
-
try {
|
|
345
|
-
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
346
|
-
const x = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
347
|
-
(index_1 = (i | 0), array.splice(index_1, 0, x));
|
|
348
|
-
i = ((i + 1) | 0);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
finally {
|
|
352
|
-
disposeSafe(enumerator);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
function removeInPlace(item_1, array, eq) {
|
|
356
|
-
const i = indexOf(array, item_1, undefined, undefined, eq) | 0;
|
|
357
|
-
if (i > -1) {
|
|
358
|
-
array.splice(i, 1);
|
|
359
|
-
return true;
|
|
360
|
-
}
|
|
361
|
-
else {
|
|
362
|
-
return false;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
function removeAllInPlace(predicate, array) {
|
|
366
|
-
const countRemoveAll = (count) => {
|
|
367
|
-
const i = (array.findIndex(predicate)) | 0;
|
|
368
|
-
if (i > -1) {
|
|
369
|
-
array.splice(i, 1);
|
|
370
|
-
return (countRemoveAll(count) + 1) | 0;
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
return count | 0;
|
|
374
|
-
}
|
|
375
|
-
};
|
|
376
|
-
return countRemoveAll(0) | 0;
|
|
377
|
-
}
|
|
378
|
-
function partition(f, source, cons) {
|
|
379
|
-
const len = source.length | 0;
|
|
380
|
-
const res1 = Helpers_allocateArrayFromCons(cons, len);
|
|
381
|
-
const res2 = Helpers_allocateArrayFromCons(cons, len);
|
|
382
|
-
let iTrue = 0;
|
|
383
|
-
let iFalse = 0;
|
|
384
|
-
for (let i = 0; i <= (len - 1); i++) {
|
|
385
|
-
if (f(item(i, source))) {
|
|
386
|
-
setItem(res1, iTrue, item(i, source));
|
|
387
|
-
iTrue = ((iTrue + 1) | 0);
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
setItem(res2, iFalse, item(i, source));
|
|
391
|
-
iFalse = ((iFalse + 1) | 0);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
return [truncate(iTrue, res1), truncate(iFalse, res2)];
|
|
395
|
-
}
|
|
396
|
-
function find(predicate, array) {
|
|
397
|
-
const matchValue = array.find(predicate);
|
|
398
|
-
if (matchValue == null) {
|
|
399
|
-
return indexNotFound();
|
|
400
|
-
}
|
|
401
|
-
else {
|
|
402
|
-
return value(matchValue);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
function tryFind(predicate, array) {
|
|
406
|
-
return array.find(predicate);
|
|
407
|
-
}
|
|
408
|
-
function findIndex(predicate, array) {
|
|
409
|
-
const matchValue = (array.findIndex(predicate)) | 0;
|
|
410
|
-
if (matchValue > -1) {
|
|
411
|
-
return matchValue | 0;
|
|
412
|
-
}
|
|
413
|
-
else {
|
|
414
|
-
indexNotFound();
|
|
415
|
-
return -1;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
function tryFindIndex(predicate, array) {
|
|
419
|
-
const matchValue = (array.findIndex(predicate)) | 0;
|
|
420
|
-
if (matchValue > -1) {
|
|
421
|
-
return matchValue;
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
return undefined;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
function pick(chooser, array) {
|
|
428
|
-
const loop = (i_mut) => {
|
|
429
|
-
loop: while (true) {
|
|
430
|
-
const i = i_mut;
|
|
431
|
-
if (i >= array.length) {
|
|
432
|
-
return indexNotFound();
|
|
433
|
-
}
|
|
434
|
-
else {
|
|
435
|
-
const matchValue = chooser(item(i, array));
|
|
436
|
-
if (matchValue != null) {
|
|
437
|
-
return value(matchValue);
|
|
438
|
-
}
|
|
439
|
-
else {
|
|
440
|
-
i_mut = (i + 1);
|
|
441
|
-
continue loop;
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
break;
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
return loop(0);
|
|
448
|
-
}
|
|
449
|
-
function tryPick(chooser, array) {
|
|
450
|
-
const loop = (i_mut) => {
|
|
451
|
-
loop: while (true) {
|
|
452
|
-
const i = i_mut;
|
|
453
|
-
if (i >= array.length) {
|
|
454
|
-
return undefined;
|
|
455
|
-
}
|
|
456
|
-
else {
|
|
457
|
-
const matchValue = chooser(item(i, array));
|
|
458
|
-
if (matchValue == null) {
|
|
459
|
-
i_mut = (i + 1);
|
|
460
|
-
continue loop;
|
|
461
|
-
}
|
|
462
|
-
else {
|
|
463
|
-
return matchValue;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
break;
|
|
467
|
-
}
|
|
468
|
-
};
|
|
469
|
-
return loop(0);
|
|
470
|
-
}
|
|
471
|
-
function findBack(predicate, array) {
|
|
472
|
-
const loop = (i_mut) => {
|
|
473
|
-
loop: while (true) {
|
|
474
|
-
const i = i_mut;
|
|
475
|
-
if (i < 0) {
|
|
476
|
-
return indexNotFound();
|
|
477
|
-
}
|
|
478
|
-
else if (predicate(item(i, array))) {
|
|
479
|
-
return item(i, array);
|
|
480
|
-
}
|
|
481
|
-
else {
|
|
482
|
-
i_mut = (i - 1);
|
|
483
|
-
continue loop;
|
|
484
|
-
}
|
|
485
|
-
break;
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
return loop(array.length - 1);
|
|
489
|
-
}
|
|
490
|
-
function tryFindBack(predicate, array) {
|
|
491
|
-
const loop = (i_mut) => {
|
|
492
|
-
loop: while (true) {
|
|
493
|
-
const i = i_mut;
|
|
494
|
-
if (i < 0) {
|
|
495
|
-
return undefined;
|
|
496
|
-
}
|
|
497
|
-
else if (predicate(item(i, array))) {
|
|
498
|
-
return some(item(i, array));
|
|
499
|
-
}
|
|
500
|
-
else {
|
|
501
|
-
i_mut = (i - 1);
|
|
502
|
-
continue loop;
|
|
503
|
-
}
|
|
504
|
-
break;
|
|
505
|
-
}
|
|
506
|
-
};
|
|
507
|
-
return loop(array.length - 1);
|
|
508
|
-
}
|
|
509
|
-
function findLastIndex(predicate, array) {
|
|
510
|
-
const loop = (i_mut) => {
|
|
511
|
-
loop: while (true) {
|
|
512
|
-
const i = i_mut;
|
|
513
|
-
if (i < 0) {
|
|
514
|
-
return -1;
|
|
515
|
-
}
|
|
516
|
-
else if (predicate(item(i, array))) {
|
|
517
|
-
return i | 0;
|
|
518
|
-
}
|
|
519
|
-
else {
|
|
520
|
-
i_mut = (i - 1);
|
|
521
|
-
continue loop;
|
|
522
|
-
}
|
|
523
|
-
break;
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
return loop(array.length - 1) | 0;
|
|
527
|
-
}
|
|
528
|
-
function findIndexBack(predicate, array) {
|
|
529
|
-
const loop = (i_mut) => {
|
|
530
|
-
loop: while (true) {
|
|
531
|
-
const i = i_mut;
|
|
532
|
-
if (i < 0) {
|
|
533
|
-
indexNotFound();
|
|
534
|
-
return -1;
|
|
535
|
-
}
|
|
536
|
-
else if (predicate(item(i, array))) {
|
|
537
|
-
return i | 0;
|
|
538
|
-
}
|
|
539
|
-
else {
|
|
540
|
-
i_mut = (i - 1);
|
|
541
|
-
continue loop;
|
|
542
|
-
}
|
|
543
|
-
break;
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
return loop(array.length - 1) | 0;
|
|
547
|
-
}
|
|
548
|
-
function tryFindIndexBack(predicate, array) {
|
|
549
|
-
const loop = (i_mut) => {
|
|
550
|
-
loop: while (true) {
|
|
551
|
-
const i = i_mut;
|
|
552
|
-
if (i < 0) {
|
|
553
|
-
return undefined;
|
|
554
|
-
}
|
|
555
|
-
else if (predicate(item(i, array))) {
|
|
556
|
-
return i;
|
|
557
|
-
}
|
|
558
|
-
else {
|
|
559
|
-
i_mut = (i - 1);
|
|
560
|
-
continue loop;
|
|
561
|
-
}
|
|
562
|
-
break;
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
return loop(array.length - 1);
|
|
566
|
-
}
|
|
567
|
-
function choose(chooser, array, cons) {
|
|
568
|
-
const res = [];
|
|
569
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
570
|
-
const matchValue = chooser(item(i, array));
|
|
571
|
-
if (matchValue != null) {
|
|
572
|
-
const y = value(matchValue);
|
|
573
|
-
res.push(y);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
if (equals(cons, defaultOf())) {
|
|
577
|
-
return res;
|
|
578
|
-
}
|
|
579
|
-
else {
|
|
580
|
-
return map((x) => x, res, cons);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
function foldIndexed(folder, state, array) {
|
|
584
|
-
return array.reduce(((delegateArg, delegateArg_1, delegateArg_2) => folder(delegateArg_2, delegateArg, delegateArg_1)), state);
|
|
585
|
-
}
|
|
586
|
-
function fold(folder, state, array) {
|
|
587
|
-
const folder_1 = folder;
|
|
588
|
-
return array.reduce((folder_1), state);
|
|
589
|
-
}
|
|
590
|
-
function iterate(action, array) {
|
|
591
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
592
|
-
action(item(i, array));
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
function iterateIndexed(action, array) {
|
|
596
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
597
|
-
action(i, item(i, array));
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
function iterate2(action, array1, array2) {
|
|
601
|
-
if (array1.length !== array2.length) {
|
|
602
|
-
differentLengths();
|
|
603
|
-
}
|
|
604
|
-
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
605
|
-
action(item(i, array1), item(i, array2));
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
function iterateIndexed2(action, array1, array2) {
|
|
609
|
-
if (array1.length !== array2.length) {
|
|
610
|
-
differentLengths();
|
|
611
|
-
}
|
|
612
|
-
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
613
|
-
action(i, item(i, array1), item(i, array2));
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
function isEmpty(array) {
|
|
617
|
-
return array.length === 0;
|
|
618
|
-
}
|
|
619
|
-
function forAll(predicate, array) {
|
|
620
|
-
return array.every(predicate);
|
|
621
|
-
}
|
|
622
|
-
function permute(f, array) {
|
|
623
|
-
const size = array.length | 0;
|
|
624
|
-
const res = array.slice();
|
|
625
|
-
const checkFlags = new Array(size);
|
|
626
|
-
iterateIndexed((i, x) => {
|
|
627
|
-
const j = f(i) | 0;
|
|
628
|
-
if ((j < 0) ? true : (j >= size)) {
|
|
629
|
-
throw new Error("Not a valid permutation");
|
|
630
|
-
}
|
|
631
|
-
setItem(res, j, x);
|
|
632
|
-
setItem(checkFlags, j, 1);
|
|
633
|
-
}, array);
|
|
634
|
-
if (!(checkFlags.every((y) => (1 === y)))) {
|
|
635
|
-
throw new Error("Not a valid permutation");
|
|
636
|
-
}
|
|
637
|
-
return res;
|
|
638
|
-
}
|
|
639
|
-
function setSlice(target, lower, upper, source) {
|
|
640
|
-
const lower_1 = defaultArg(lower, 0) | 0;
|
|
641
|
-
const upper_1 = defaultArg(upper, -1) | 0;
|
|
642
|
-
const length = (((upper_1 >= 0) ? upper_1 : (target.length - 1)) - lower_1) | 0;
|
|
643
|
-
for (let i = 0; i <= length; i++) {
|
|
644
|
-
setItem(target, i + lower_1, item(i, source));
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
function sortInPlaceBy(projection, xs, comparer) {
|
|
648
|
-
xs.sort((x, y) => comparer.Compare(projection(x), projection(y)));
|
|
649
|
-
}
|
|
650
|
-
function sortInPlace(xs, comparer) {
|
|
651
|
-
xs.sort((x, y) => comparer.Compare(x, y));
|
|
652
|
-
}
|
|
653
|
-
function sort(xs, comparer) {
|
|
654
|
-
const xs_1 = xs.slice();
|
|
655
|
-
xs_1.sort((x, y) => comparer.Compare(x, y));
|
|
656
|
-
return xs_1;
|
|
657
|
-
}
|
|
658
|
-
function sortBy(projection, xs, comparer) {
|
|
659
|
-
const xs_1 = xs.slice();
|
|
660
|
-
xs_1.sort((x, y) => comparer.Compare(projection(x), projection(y)));
|
|
661
|
-
return xs_1;
|
|
662
|
-
}
|
|
663
|
-
function sortDescending(xs, comparer) {
|
|
664
|
-
const xs_1 = xs.slice();
|
|
665
|
-
xs_1.sort((x, y) => (comparer.Compare(x, y) * -1));
|
|
666
|
-
return xs_1;
|
|
667
|
-
}
|
|
668
|
-
function sortByDescending(projection, xs, comparer) {
|
|
669
|
-
const xs_1 = xs.slice();
|
|
670
|
-
xs_1.sort((x, y) => (comparer.Compare(projection(x), projection(y)) * -1));
|
|
671
|
-
return xs_1;
|
|
672
|
-
}
|
|
673
|
-
function sortWith(comparer, xs) {
|
|
674
|
-
const comparer_1 = comparer;
|
|
675
|
-
const xs_1 = xs.slice();
|
|
676
|
-
xs_1.sort(comparer_1);
|
|
677
|
-
return xs_1;
|
|
678
|
-
}
|
|
679
|
-
function allPairs(xs, ys) {
|
|
680
|
-
const len1 = xs.length | 0;
|
|
681
|
-
const len2 = ys.length | 0;
|
|
682
|
-
const res = new Array(len1 * len2);
|
|
683
|
-
for (let i = 0; i <= (xs.length - 1); i++) {
|
|
684
|
-
for (let j = 0; j <= (ys.length - 1); j++) {
|
|
685
|
-
setItem(res, (i * len2) + j, [item(i, xs), item(j, ys)]);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
return res;
|
|
689
|
-
}
|
|
690
|
-
function unfold(generator, state) {
|
|
691
|
-
const res = [];
|
|
692
|
-
const loop = (state_1_mut) => {
|
|
693
|
-
loop: while (true) {
|
|
694
|
-
const state_1 = state_1_mut;
|
|
695
|
-
const matchValue = generator(state_1);
|
|
696
|
-
if (matchValue != null) {
|
|
697
|
-
const x = value(matchValue)[0];
|
|
698
|
-
const s = value(matchValue)[1];
|
|
699
|
-
res.push(x);
|
|
700
|
-
state_1_mut = s;
|
|
701
|
-
continue loop;
|
|
702
|
-
}
|
|
703
|
-
break;
|
|
704
|
-
}
|
|
705
|
-
};
|
|
706
|
-
loop(state);
|
|
707
|
-
return res;
|
|
708
|
-
}
|
|
709
|
-
function unzip(array) {
|
|
710
|
-
const len = array.length | 0;
|
|
711
|
-
const res1 = new Array(len);
|
|
712
|
-
const res2 = new Array(len);
|
|
713
|
-
iterateIndexed((i, tupledArg) => {
|
|
714
|
-
setItem(res1, i, tupledArg[0]);
|
|
715
|
-
setItem(res2, i, tupledArg[1]);
|
|
716
|
-
}, array);
|
|
717
|
-
return [res1, res2];
|
|
718
|
-
}
|
|
719
|
-
function unzip3(array) {
|
|
720
|
-
const len = array.length | 0;
|
|
721
|
-
const res1 = new Array(len);
|
|
722
|
-
const res2 = new Array(len);
|
|
723
|
-
const res3 = new Array(len);
|
|
724
|
-
iterateIndexed((i, tupledArg) => {
|
|
725
|
-
setItem(res1, i, tupledArg[0]);
|
|
726
|
-
setItem(res2, i, tupledArg[1]);
|
|
727
|
-
setItem(res3, i, tupledArg[2]);
|
|
728
|
-
}, array);
|
|
729
|
-
return [res1, res2, res3];
|
|
730
|
-
}
|
|
731
|
-
function zip(array1, array2) {
|
|
732
|
-
if (array1.length !== array2.length) {
|
|
733
|
-
differentLengths();
|
|
734
|
-
}
|
|
735
|
-
const result = new Array(array1.length);
|
|
736
|
-
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
737
|
-
setItem(result, i, [item(i, array1), item(i, array2)]);
|
|
738
|
-
}
|
|
739
|
-
return result;
|
|
740
|
-
}
|
|
741
|
-
function zip3(array1, array2, array3) {
|
|
742
|
-
if ((array1.length !== array2.length) ? true : (array2.length !== array3.length)) {
|
|
743
|
-
differentLengths();
|
|
744
|
-
}
|
|
745
|
-
const result = new Array(array1.length);
|
|
746
|
-
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
747
|
-
setItem(result, i, [item(i, array1), item(i, array2), item(i, array3)]);
|
|
748
|
-
}
|
|
749
|
-
return result;
|
|
750
|
-
}
|
|
751
|
-
function chunkBySize(chunkSize, array) {
|
|
752
|
-
if (chunkSize < 1) {
|
|
753
|
-
throw new Error("The input must be positive.\\nParameter name: size");
|
|
754
|
-
}
|
|
755
|
-
if (array.length === 0) {
|
|
756
|
-
return [[]];
|
|
757
|
-
}
|
|
758
|
-
else {
|
|
759
|
-
const result = [];
|
|
760
|
-
for (let x = 0; x <= (~~Math.ceil(array.length / chunkSize) - 1); x++) {
|
|
761
|
-
let slice;
|
|
762
|
-
const start_1 = (x * chunkSize) | 0;
|
|
763
|
-
slice = (array.slice(start_1, (start_1 + chunkSize)));
|
|
764
|
-
result.push(slice);
|
|
765
|
-
}
|
|
766
|
-
return result;
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
function splitAt(index, array) {
|
|
770
|
-
if ((index < 0) ? true : (index > array.length)) {
|
|
771
|
-
throw new Error((SR_indexOutOfBounds + "\\nParameter name: ") + "index");
|
|
772
|
-
}
|
|
773
|
-
return [array.slice(0, (0 + index)), array.slice(index)];
|
|
774
|
-
}
|
|
775
|
-
function compareWith(comparer, source1, source2) {
|
|
776
|
-
if (source1 == null) {
|
|
777
|
-
if (source2 == null) {
|
|
778
|
-
return 0;
|
|
779
|
-
}
|
|
780
|
-
else {
|
|
781
|
-
return -1;
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
else if (source2 == null) {
|
|
785
|
-
return 1;
|
|
786
|
-
}
|
|
787
|
-
else {
|
|
788
|
-
const len1 = source1.length | 0;
|
|
789
|
-
const len2 = source2.length | 0;
|
|
790
|
-
const len = ((len1 < len2) ? len1 : len2) | 0;
|
|
791
|
-
let i = 0;
|
|
792
|
-
let res = 0;
|
|
793
|
-
while ((res === 0) && (i < len)) {
|
|
794
|
-
res = (comparer(item(i, source1), item(i, source2)) | 0);
|
|
795
|
-
i = ((i + 1) | 0);
|
|
796
|
-
}
|
|
797
|
-
if (res !== 0) {
|
|
798
|
-
return res | 0;
|
|
799
|
-
}
|
|
800
|
-
else if (len1 > len2) {
|
|
801
|
-
return 1;
|
|
802
|
-
}
|
|
803
|
-
else if (len1 < len2) {
|
|
804
|
-
return -1;
|
|
805
|
-
}
|
|
806
|
-
else {
|
|
807
|
-
return 0;
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
function compareTo(comparer, source1, source2) {
|
|
812
|
-
if (source1 == null) {
|
|
813
|
-
if (source2 == null) {
|
|
814
|
-
return 0;
|
|
815
|
-
}
|
|
816
|
-
else {
|
|
817
|
-
return -1;
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
else if (source2 == null) {
|
|
821
|
-
return 1;
|
|
822
|
-
}
|
|
823
|
-
else {
|
|
824
|
-
const len1 = source1.length | 0;
|
|
825
|
-
const len2 = source2.length | 0;
|
|
826
|
-
if (len1 > len2) {
|
|
827
|
-
return 1;
|
|
828
|
-
}
|
|
829
|
-
else if (len1 < len2) {
|
|
830
|
-
return -1;
|
|
831
|
-
}
|
|
832
|
-
else {
|
|
833
|
-
let i = 0;
|
|
834
|
-
let res = 0;
|
|
835
|
-
while ((res === 0) && (i < len1)) {
|
|
836
|
-
res = (comparer(item(i, source1), item(i, source2)) | 0);
|
|
837
|
-
i = ((i + 1) | 0);
|
|
838
|
-
}
|
|
839
|
-
return res | 0;
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
function equalsWith(equals, array1, array2) {
|
|
844
|
-
if (array1 == null) {
|
|
845
|
-
if (array2 == null) {
|
|
846
|
-
return true;
|
|
847
|
-
}
|
|
848
|
-
else {
|
|
849
|
-
return false;
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
else if (array2 == null) {
|
|
853
|
-
return false;
|
|
854
|
-
}
|
|
855
|
-
else {
|
|
856
|
-
let i = 0;
|
|
857
|
-
let result = true;
|
|
858
|
-
const length1 = array1.length | 0;
|
|
859
|
-
const length2 = array2.length | 0;
|
|
860
|
-
if (length1 > length2) {
|
|
861
|
-
return false;
|
|
862
|
-
}
|
|
863
|
-
else if (length1 < length2) {
|
|
864
|
-
return false;
|
|
865
|
-
}
|
|
866
|
-
else {
|
|
867
|
-
while ((i < length1) && result) {
|
|
868
|
-
result = equals(item(i, array1), item(i, array2));
|
|
869
|
-
i = ((i + 1) | 0);
|
|
870
|
-
}
|
|
871
|
-
return result;
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
function exactlyOne(array) {
|
|
876
|
-
switch (array.length) {
|
|
877
|
-
case 1:
|
|
878
|
-
return item(0, array);
|
|
879
|
-
case 0:
|
|
880
|
-
throw new Error("The input sequence was empty\\nParameter name: array");
|
|
881
|
-
default:
|
|
882
|
-
throw new Error("Input array too long\\nParameter name: array");
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
function tryExactlyOne(array) {
|
|
886
|
-
if (array.length === 1) {
|
|
887
|
-
return some(item(0, array));
|
|
888
|
-
}
|
|
889
|
-
else {
|
|
890
|
-
return undefined;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
function head(array) {
|
|
894
|
-
if (array.length === 0) {
|
|
895
|
-
throw new Error("The input array was empty\\nParameter name: array");
|
|
896
|
-
}
|
|
897
|
-
else {
|
|
898
|
-
return item(0, array);
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
function tryHead(array) {
|
|
902
|
-
if (array.length === 0) {
|
|
903
|
-
return undefined;
|
|
904
|
-
}
|
|
905
|
-
else {
|
|
906
|
-
return some(item(0, array));
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
function tail(array) {
|
|
910
|
-
if (array.length === 0) {
|
|
911
|
-
throw new Error("Not enough elements\\nParameter name: array");
|
|
912
|
-
}
|
|
913
|
-
return array.slice(1);
|
|
914
|
-
}
|
|
915
|
-
function item(index, array) {
|
|
916
|
-
if ((index < 0) ? true : (index >= array.length)) {
|
|
917
|
-
throw new Error("Index was outside the bounds of the array.\\nParameter name: index");
|
|
918
|
-
}
|
|
919
|
-
else {
|
|
920
|
-
return array[index];
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
function setItem(array, index, value) {
|
|
924
|
-
if ((index < 0) ? true : (index >= array.length)) {
|
|
925
|
-
throw new Error("Index was outside the bounds of the array.\\nParameter name: index");
|
|
926
|
-
}
|
|
927
|
-
else {
|
|
928
|
-
array[index] = value;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
function tryItem(index, array) {
|
|
932
|
-
if ((index < 0) ? true : (index >= array.length)) {
|
|
933
|
-
return undefined;
|
|
934
|
-
}
|
|
935
|
-
else {
|
|
936
|
-
return some(array[index]);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
function foldBackIndexed(folder, array, state) {
|
|
940
|
-
return array.reduceRight(((delegateArg, delegateArg_1, delegateArg_2) => folder(delegateArg_2, delegateArg_1, delegateArg)), state);
|
|
941
|
-
}
|
|
942
|
-
function foldBack(folder, array, state) {
|
|
943
|
-
return array.reduceRight(((delegateArg, delegateArg_1) => folder(delegateArg_1, delegateArg)), state);
|
|
944
|
-
}
|
|
945
|
-
function foldIndexed2(folder, state, array1, array2) {
|
|
946
|
-
let acc = state;
|
|
947
|
-
if (array1.length !== array2.length) {
|
|
948
|
-
throw new Error("Arrays have different lengths");
|
|
949
|
-
}
|
|
950
|
-
for (let i = 0; i <= (array1.length - 1); i++) {
|
|
951
|
-
acc = folder(i, acc, item(i, array1), item(i, array2));
|
|
952
|
-
}
|
|
953
|
-
return acc;
|
|
954
|
-
}
|
|
955
|
-
function fold2(folder, state, array1, array2) {
|
|
956
|
-
return foldIndexed2((_arg, acc, x, y) => folder(acc, x, y), state, array1, array2);
|
|
957
|
-
}
|
|
958
|
-
function foldBackIndexed2(folder, array1, array2, state) {
|
|
959
|
-
let acc = state;
|
|
960
|
-
if (array1.length !== array2.length) {
|
|
961
|
-
differentLengths();
|
|
962
|
-
}
|
|
963
|
-
const size = array1.length | 0;
|
|
964
|
-
for (let i = 1; i <= size; i++) {
|
|
965
|
-
acc = folder(i - 1, item(size - i, array1), item(size - i, array2), acc);
|
|
966
|
-
}
|
|
967
|
-
return acc;
|
|
968
|
-
}
|
|
969
|
-
function foldBack2(f, array1, array2, state) {
|
|
970
|
-
return foldBackIndexed2((_arg, x, y, acc) => f(x, y, acc), array1, array2, state);
|
|
971
|
-
}
|
|
972
|
-
function reduce(reduction, array) {
|
|
973
|
-
if (array.length === 0) {
|
|
974
|
-
throw new Error("The input array was empty");
|
|
975
|
-
}
|
|
976
|
-
const reduction_1 = reduction;
|
|
977
|
-
return array.reduce(reduction_1);
|
|
978
|
-
}
|
|
979
|
-
function reduceBack(reduction, array) {
|
|
980
|
-
if (array.length === 0) {
|
|
981
|
-
throw new Error("The input array was empty");
|
|
982
|
-
}
|
|
983
|
-
const reduction_1 = reduction;
|
|
984
|
-
return array.reduceRight(reduction_1);
|
|
985
|
-
}
|
|
986
|
-
function forAll2(predicate, array1, array2) {
|
|
987
|
-
return fold2((acc, x, y) => (acc && predicate(x, y)), true, array1, array2);
|
|
988
|
-
}
|
|
989
|
-
function existsOffset(predicate_mut, array_mut, index_mut) {
|
|
990
|
-
existsOffset: while (true) {
|
|
991
|
-
const predicate = predicate_mut, array = array_mut, index = index_mut;
|
|
992
|
-
if (index === array.length) {
|
|
993
|
-
return false;
|
|
994
|
-
}
|
|
995
|
-
else if (predicate(item(index, array))) {
|
|
996
|
-
return true;
|
|
997
|
-
}
|
|
998
|
-
else {
|
|
999
|
-
predicate_mut = predicate;
|
|
1000
|
-
array_mut = array;
|
|
1001
|
-
index_mut = (index + 1);
|
|
1002
|
-
continue existsOffset;
|
|
1003
|
-
}
|
|
1004
|
-
break;
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
function exists(predicate, array) {
|
|
1008
|
-
return existsOffset(predicate, array, 0);
|
|
1009
|
-
}
|
|
1010
|
-
function existsOffset2(predicate_mut, array1_mut, array2_mut, index_mut) {
|
|
1011
|
-
existsOffset2: while (true) {
|
|
1012
|
-
const predicate = predicate_mut, array1 = array1_mut, array2 = array2_mut, index = index_mut;
|
|
1013
|
-
if (index === array1.length) {
|
|
1014
|
-
return false;
|
|
1015
|
-
}
|
|
1016
|
-
else if (predicate(item(index, array1), item(index, array2))) {
|
|
1017
|
-
return true;
|
|
1018
|
-
}
|
|
1019
|
-
else {
|
|
1020
|
-
predicate_mut = predicate;
|
|
1021
|
-
array1_mut = array1;
|
|
1022
|
-
array2_mut = array2;
|
|
1023
|
-
index_mut = (index + 1);
|
|
1024
|
-
continue existsOffset2;
|
|
1025
|
-
}
|
|
1026
|
-
break;
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
function exists2(predicate, array1, array2) {
|
|
1030
|
-
if (array1.length !== array2.length) {
|
|
1031
|
-
differentLengths();
|
|
1032
|
-
}
|
|
1033
|
-
return existsOffset2(predicate, array1, array2, 0);
|
|
1034
|
-
}
|
|
1035
|
-
function sum(array, adder) {
|
|
1036
|
-
let acc = adder.GetZero();
|
|
1037
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1038
|
-
acc = adder.Add(acc, item(i, array));
|
|
1039
|
-
}
|
|
1040
|
-
return acc;
|
|
1041
|
-
}
|
|
1042
|
-
function sumBy(projection, array, adder) {
|
|
1043
|
-
let acc = adder.GetZero();
|
|
1044
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1045
|
-
acc = adder.Add(acc, projection(item(i, array)));
|
|
1046
|
-
}
|
|
1047
|
-
return acc;
|
|
1048
|
-
}
|
|
1049
|
-
function maxBy(projection, xs, comparer) {
|
|
1050
|
-
return reduce((x, y) => ((comparer.Compare(projection(y), projection(x)) > 0) ? y : x), xs);
|
|
1051
|
-
}
|
|
1052
|
-
function max(xs, comparer) {
|
|
1053
|
-
return reduce((x, y) => ((comparer.Compare(y, x) > 0) ? y : x), xs);
|
|
1054
|
-
}
|
|
1055
|
-
function minBy(projection, xs, comparer) {
|
|
1056
|
-
return reduce((x, y) => ((comparer.Compare(projection(y), projection(x)) > 0) ? x : y), xs);
|
|
1057
|
-
}
|
|
1058
|
-
function min(xs, comparer) {
|
|
1059
|
-
return reduce((x, y) => ((comparer.Compare(y, x) > 0) ? x : y), xs);
|
|
1060
|
-
}
|
|
1061
|
-
function average(array, averager) {
|
|
1062
|
-
if (array.length === 0) {
|
|
1063
|
-
throw new Error("The input array was empty\\nParameter name: array");
|
|
1064
|
-
}
|
|
1065
|
-
let total = averager.GetZero();
|
|
1066
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1067
|
-
total = averager.Add(total, item(i, array));
|
|
1068
|
-
}
|
|
1069
|
-
return averager.DivideByInt(total, array.length);
|
|
1070
|
-
}
|
|
1071
|
-
function averageBy(projection, array, averager) {
|
|
1072
|
-
if (array.length === 0) {
|
|
1073
|
-
throw new Error("The input array was empty\\nParameter name: array");
|
|
1074
|
-
}
|
|
1075
|
-
let total = averager.GetZero();
|
|
1076
|
-
for (let i = 0; i <= (array.length - 1); i++) {
|
|
1077
|
-
total = averager.Add(total, projection(item(i, array)));
|
|
1078
|
-
}
|
|
1079
|
-
return averager.DivideByInt(total, array.length);
|
|
1080
|
-
}
|
|
1081
|
-
function windowed(windowSize, source) {
|
|
1082
|
-
if (windowSize <= 0) {
|
|
1083
|
-
throw new Error("windowSize must be positive");
|
|
1084
|
-
}
|
|
1085
|
-
let res;
|
|
1086
|
-
const len = max$1(0, (source.length - windowSize) + 1) | 0;
|
|
1087
|
-
res = (new Array(len));
|
|
1088
|
-
for (let i = windowSize; i <= source.length; i++) {
|
|
1089
|
-
setItem(res, i - windowSize, source.slice(i - windowSize, (i - 1) + 1));
|
|
1090
|
-
}
|
|
1091
|
-
return res;
|
|
1092
|
-
}
|
|
1093
|
-
function splitInto(chunks, array) {
|
|
1094
|
-
if (chunks < 1) {
|
|
1095
|
-
throw new Error("The input must be positive.\\nParameter name: chunks");
|
|
1096
|
-
}
|
|
1097
|
-
if (array.length === 0) {
|
|
1098
|
-
return [[]];
|
|
1099
|
-
}
|
|
1100
|
-
else {
|
|
1101
|
-
const result = [];
|
|
1102
|
-
const chunks_1 = min$1(chunks, array.length) | 0;
|
|
1103
|
-
const minChunkSize = ~~(array.length / chunks_1) | 0;
|
|
1104
|
-
const chunksWithExtraItem = (array.length % chunks_1) | 0;
|
|
1105
|
-
for (let i = 0; i <= (chunks_1 - 1); i++) {
|
|
1106
|
-
const chunkSize = ((i < chunksWithExtraItem) ? (minChunkSize + 1) : minChunkSize) | 0;
|
|
1107
|
-
let slice;
|
|
1108
|
-
const start_1 = ((i * minChunkSize) + min$1(chunksWithExtraItem, i)) | 0;
|
|
1109
|
-
slice = (array.slice(start_1, (start_1 + chunkSize)));
|
|
1110
|
-
result.push(slice);
|
|
1111
|
-
}
|
|
1112
|
-
return result;
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
function transpose(arrays, cons) {
|
|
1116
|
-
const arrays_1 = Array.isArray(arrays) ? arrays : (Array.from(arrays));
|
|
1117
|
-
const len = arrays_1.length | 0;
|
|
1118
|
-
if (len === 0) {
|
|
1119
|
-
return new Array(0);
|
|
1120
|
-
}
|
|
1121
|
-
else {
|
|
1122
|
-
const firstArray = item(0, arrays_1);
|
|
1123
|
-
const lenInner = firstArray.length | 0;
|
|
1124
|
-
if (!forAll((a) => (a.length === lenInner), arrays_1)) {
|
|
1125
|
-
differentLengths();
|
|
1126
|
-
}
|
|
1127
|
-
const result = new Array(lenInner);
|
|
1128
|
-
for (let i = 0; i <= (lenInner - 1); i++) {
|
|
1129
|
-
setItem(result, i, Helpers_allocateArrayFromCons(cons, len));
|
|
1130
|
-
for (let j = 0; j <= (len - 1); j++) {
|
|
1131
|
-
item(i, result)[j] = item(i, item(j, arrays_1));
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
return result;
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
function insertAt(index, y, xs, cons) {
|
|
1138
|
-
const len = xs.length | 0;
|
|
1139
|
-
if ((index < 0) ? true : (index > len)) {
|
|
1140
|
-
throw new Error((SR_indexOutOfBounds + "\\nParameter name: ") + "index");
|
|
1141
|
-
}
|
|
1142
|
-
const target = Helpers_allocateArrayFromCons(cons, len + 1);
|
|
1143
|
-
for (let i = 0; i <= (index - 1); i++) {
|
|
1144
|
-
setItem(target, i, item(i, xs));
|
|
1145
|
-
}
|
|
1146
|
-
setItem(target, index, y);
|
|
1147
|
-
for (let i_1 = index; i_1 <= (len - 1); i_1++) {
|
|
1148
|
-
setItem(target, i_1 + 1, item(i_1, xs));
|
|
1149
|
-
}
|
|
1150
|
-
return target;
|
|
1151
|
-
}
|
|
1152
|
-
function insertManyAt(index, ys, xs, cons) {
|
|
1153
|
-
const len = xs.length | 0;
|
|
1154
|
-
if ((index < 0) ? true : (index > len)) {
|
|
1155
|
-
throw new Error((SR_indexOutOfBounds + "\\nParameter name: ") + "index");
|
|
1156
|
-
}
|
|
1157
|
-
const ys_1 = Array.from(ys);
|
|
1158
|
-
const len2 = ys_1.length | 0;
|
|
1159
|
-
const target = Helpers_allocateArrayFromCons(cons, len + len2);
|
|
1160
|
-
for (let i = 0; i <= (index - 1); i++) {
|
|
1161
|
-
setItem(target, i, item(i, xs));
|
|
1162
|
-
}
|
|
1163
|
-
for (let i_1 = 0; i_1 <= (len2 - 1); i_1++) {
|
|
1164
|
-
setItem(target, index + i_1, item(i_1, ys_1));
|
|
1165
|
-
}
|
|
1166
|
-
for (let i_2 = index; i_2 <= (len - 1); i_2++) {
|
|
1167
|
-
setItem(target, i_2 + len2, item(i_2, xs));
|
|
1168
|
-
}
|
|
1169
|
-
return target;
|
|
1170
|
-
}
|
|
1171
|
-
function removeAt(index, xs) {
|
|
1172
|
-
if ((index < 0) ? true : (index >= xs.length)) {
|
|
1173
|
-
throw new Error((SR_indexOutOfBounds + "\\nParameter name: ") + "index");
|
|
1174
|
-
}
|
|
1175
|
-
let i = -1;
|
|
1176
|
-
return filter((_arg) => {
|
|
1177
|
-
i = ((i + 1) | 0);
|
|
1178
|
-
return i !== index;
|
|
1179
|
-
}, xs);
|
|
1180
|
-
}
|
|
1181
|
-
function removeManyAt(index, count, xs) {
|
|
1182
|
-
let i = -1;
|
|
1183
|
-
let status = -1;
|
|
1184
|
-
const ys = filter((_arg) => {
|
|
1185
|
-
i = ((i + 1) | 0);
|
|
1186
|
-
if (i === index) {
|
|
1187
|
-
status = 0;
|
|
1188
|
-
return false;
|
|
1189
|
-
}
|
|
1190
|
-
else if (i > index) {
|
|
1191
|
-
if (i < (index + count)) {
|
|
1192
|
-
return false;
|
|
1193
|
-
}
|
|
1194
|
-
else {
|
|
1195
|
-
status = 1;
|
|
1196
|
-
return true;
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
else {
|
|
1200
|
-
return true;
|
|
1201
|
-
}
|
|
1202
|
-
}, xs);
|
|
1203
|
-
const status_1 = (((status === 0) && ((i + 1) === (index + count))) ? 1 : status) | 0;
|
|
1204
|
-
if (status_1 < 1) {
|
|
1205
|
-
throw new Error((SR_indexOutOfBounds + "\\nParameter name: ") + ((status_1 < 0) ? "index" : "count"));
|
|
1206
|
-
}
|
|
1207
|
-
return ys;
|
|
1208
|
-
}
|
|
1209
|
-
function updateAt(index, y, xs, cons) {
|
|
1210
|
-
const len = xs.length | 0;
|
|
1211
|
-
if ((index < 0) ? true : (index >= len)) {
|
|
1212
|
-
throw new Error((SR_indexOutOfBounds + "\\nParameter name: ") + "index");
|
|
1213
|
-
}
|
|
1214
|
-
const target = Helpers_allocateArrayFromCons(cons, len);
|
|
1215
|
-
for (let i = 0; i <= (len - 1); i++) {
|
|
1216
|
-
setItem(target, i, (i === index) ? y : item(i, xs));
|
|
1217
|
-
}
|
|
1218
|
-
return target;
|
|
1219
|
-
}
|
|
1220
|
-
function resize(xs, newSize, zero, cons) {
|
|
1221
|
-
let array, array_1, start_2, count_2;
|
|
1222
|
-
if (newSize < 0) {
|
|
1223
|
-
throw new Error("The input must be non-negative.\\nParameter name: newSize");
|
|
1224
|
-
}
|
|
1225
|
-
const zero_1 = defaultArg(zero, defaultOf());
|
|
1226
|
-
if (xs.contents == null) {
|
|
1227
|
-
xs.contents = ((array = Helpers_allocateArrayFromCons(cons, newSize), array.fill(zero_1, 0, (0 + newSize))));
|
|
1228
|
-
}
|
|
1229
|
-
else {
|
|
1230
|
-
const len = xs.contents.length | 0;
|
|
1231
|
-
if (newSize < len) {
|
|
1232
|
-
xs.contents = ((array_1 = xs.contents, array_1.slice(0, (0 + newSize))));
|
|
1233
|
-
}
|
|
1234
|
-
else if (newSize > len) {
|
|
1235
|
-
const target = Helpers_allocateArrayFromCons(cons, newSize);
|
|
1236
|
-
if (len > 0) {
|
|
1237
|
-
copyTo(xs.contents, 0, target, 0, len);
|
|
1238
|
-
}
|
|
1239
|
-
xs.contents = ((start_2 = (len | 0), (count_2 = ((newSize - len) | 0), target.fill(zero_1, start_2, (start_2 + count_2)))));
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
export { addInPlace, addRangeInPlace, allPairs, append, average, averageBy, choose, chunkBySize, collect, compareTo, compareWith, concat, contains, copy, copyTo, empty, equalsWith, exactlyOne, exists, exists2, existsOffset, existsOffset2, fill, filter, find, findBack, findIndex, findIndexBack, findLastIndex, fold, fold2, foldBack, foldBack2, foldBackIndexed, foldBackIndexed2, foldIndexed, foldIndexed2, forAll, forAll2, getSubArray, head, indexOf, indexed, initialize, insertAt, insertManyAt, insertRangeInPlace, isEmpty, item, iterate, iterate2, iterateIndexed, iterateIndexed2, last, map, map2, map3, mapFold, mapFoldBack, mapIndexed, mapIndexed2, mapIndexed3, max, maxBy, min, minBy, pairwise, partition, permute, pick, reduce, reduceBack, removeAllInPlace, removeAt, removeInPlace, removeManyAt, replicate, resize, reverse, scan, scanBack, setItem, setSlice, singleton, skip, skipWhile, sort, sortBy, sortByDescending, sortDescending, sortInPlace, sortInPlaceBy, sortWith, splitAt, splitInto, sum, sumBy, tail, take, takeWhile, transpose, truncate, tryExactlyOne, tryFind, tryFindBack, tryFindIndex, tryFindIndexBack, tryHead, tryItem, tryLast, tryPick, unfold, unzip, unzip3, updateAt, where, windowed, zip, zip3 };
|