@nfdi4plants/arctrl 3.0.0-beta.4 → 3.0.0-beta.6
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/node_modules/@fable-org/fable-library-js/Array.js +894 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
- package/dist/ts/ts/ARC.d.ts +12 -5
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +172 -93
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +8 -1
- package/dist/ts/ts/Contract/ArcAssay.js +14 -5
- package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
- package/dist/ts/ts/Contract/ArcRun.js +19 -6
- package/dist/ts/ts/Contract/ArcStudy.js +19 -6
- package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
- package/dist/ts/ts/Contract/Contract.js +42 -1
- package/dist/ts/ts/Contract/Datamap.js +61 -17
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +22 -6
- package/dist/ts/ts/Contract/License.d.ts +5 -0
- package/dist/ts/ts/Contract/License.d.ts.map +1 -0
- package/dist/ts/ts/Contract/License.js +34 -0
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
- package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
- package/dist/ts/ts/Conversion.js +321 -48
- package/dist/ts/ts/Core/ArcTypes.js +216 -15
- package/dist/ts/ts/Core/Comment.js +11 -1
- package/dist/ts/ts/Core/CommentList.js +77 -2
- package/dist/ts/ts/Core/Conversion.js +123 -43
- package/dist/ts/ts/Core/Data.js +9 -2
- package/dist/ts/ts/Core/DataContext.js +19 -4
- package/dist/ts/ts/Core/DataFile.js +38 -1
- package/dist/ts/ts/Core/DataMap.js +111 -5
- package/dist/ts/ts/Core/Helper/Collections.js +106 -5
- package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
- package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
- package/dist/ts/ts/Core/Helper/Regex.js +134 -2
- package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
- package/dist/ts/ts/Core/IdentifierSetters.d.ts +3 -1
- package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
- package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
- package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
- package/dist/ts/ts/Core/Person.js +8 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
- package/dist/ts/ts/Core/Process/Component.js +37 -4
- package/dist/ts/ts/Core/Process/Factor.js +9 -4
- package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
- package/dist/ts/ts/Core/Process/Material.js +14 -4
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
- package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
- package/dist/ts/ts/Core/Process/Process.js +150 -7
- package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
- package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
- package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
- package/dist/ts/ts/Core/Process/Protocol.js +78 -4
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
- package/dist/ts/ts/Core/Process/Sample.js +21 -3
- package/dist/ts/ts/Core/Process/Source.js +13 -3
- package/dist/ts/ts/Core/Publication.js +8 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
- package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
- package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
- package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
- package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
- package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
- package/dist/ts/ts/Core/Template.js +12 -2
- package/dist/ts/ts/Core/Templates.js +8 -4
- package/dist/ts/ts/Core/Value.js +7 -3
- package/dist/ts/ts/CrossAsync.js +11 -1
- package/dist/ts/ts/FileSystem/Commit.js +18 -0
- package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
- package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +17 -3
- package/dist/ts/ts/Json/Assay.d.ts +1 -1
- package/dist/ts/ts/Json/Assay.js +28 -28
- package/dist/ts/ts/Json/Comment.js +10 -10
- package/dist/ts/ts/Json/Data.js +6 -6
- package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
- package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
- package/dist/ts/ts/Json/Decode.js +14 -9
- package/dist/ts/ts/Json/Encode.js +43 -11
- package/dist/ts/ts/Json/Investigation.js +40 -22
- package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
- package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
- package/dist/ts/ts/Json/Person.js +26 -26
- package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +27 -7
- package/dist/ts/ts/Json/Process/Factor.js +3 -3
- package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
- package/dist/ts/ts/Json/Process/Material.js +9 -9
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
- package/dist/ts/ts/Json/Process/Process.js +12 -12
- package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
- package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
- package/dist/ts/ts/Json/Process/Protocol.js +13 -13
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
- package/dist/ts/ts/Json/Process/Sample.js +14 -14
- package/dist/ts/ts/Json/Process/Source.js +9 -9
- package/dist/ts/ts/Json/Process/Value.js +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +1 -1
- package/dist/ts/ts/Json/Publication.js +6 -6
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
- package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
- package/dist/ts/ts/Json/Run.d.ts +11 -0
- package/dist/ts/ts/Json/Run.d.ts.map +1 -0
- package/dist/ts/ts/Json/Run.js +76 -0
- package/dist/ts/ts/Json/StringTable.js +1 -1
- package/dist/ts/ts/Json/Study.js +34 -34
- package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
- package/dist/ts/ts/Json/Table/CellTable.js +6 -6
- package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
- package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
- package/dist/ts/ts/Json/Table/IOType.js +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +7 -7
- package/dist/ts/ts/Json/Table/Templates.js +92 -6
- package/dist/ts/ts/Json/Workflow.d.ts +11 -0
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Json/Workflow.js +93 -0
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
- package/dist/ts/ts/Json.d.ts +34 -2
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +129 -2
- package/dist/ts/ts/JsonIO/Assay.js +15 -3
- package/dist/ts/ts/JsonIO/Investigation.js +15 -3
- package/dist/ts/ts/JsonIO/LDObject.js +17 -3
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
- package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
- package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Person.js +67 -0
- package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Run.js +50 -0
- package/dist/ts/ts/JsonIO/Study.js +15 -3
- package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
- package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
- package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Workflow.js +50 -0
- package/dist/ts/ts/License.d.ts +39 -0
- package/dist/ts/ts/License.d.ts.map +1 -0
- package/dist/ts/ts/License.js +123 -0
- package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
- package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
- package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
- package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
- package/dist/ts/ts/ROCrate/LDContext.js +15 -6
- package/dist/ts/ts/ROCrate/LDObject.js +53 -17
- package/dist/ts/ts/ROCrateIO.d.ts +9 -3
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +67 -14
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
- package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
- package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/Template.Web.js +5 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
- package/dist/ts/ts/Xlsx.d.ts +21 -1
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +81 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
- package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
- package/package.json +1 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defaultArg, unwrap, value, map } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { DataMap__Copy } from './DataMap.js';
|
|
3
|
-
import { toArray, filter, contains, forAll, fold, length, toList, delay,
|
|
4
|
-
import { getEnumerator, safeHash, equals, disposeSafe,
|
|
3
|
+
import { toArray, filter, contains, forAll, fold, length, toList, delay, map as map$1, item, choose, exists, tryFindIndex, iterate, removeAt, tryFind, append, collect } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
|
+
import { stringHash, getEnumerator, safeHash, equals, disposeSafe, defaultOf } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
5
5
|
import { ResizeArray_map, ResizeArray_filter, ResizeArray_choose } from './Helper/Collections.js';
|
|
6
6
|
import { contains as contains$1, removeInPlace, addRangeInPlace } from '../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
7
7
|
import { toText, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
8
8
|
import { rangeDouble } from '../../node_modules/@fable-org/fable-library-js/Range.js';
|
|
9
9
|
import { boxHashArray, boxHashOption, boxHashSeq } from './Helper/HashCodes.js';
|
|
10
10
|
import { checkValidCharacters } from './Helper/Identifier.js';
|
|
11
|
-
import { ArcTables, ArcTablesAux_getIOMap, ArcTablesAux_applyIOMap } from './Table/ArcTables.js';
|
|
11
|
+
import { ArcTables, ArcTables_$reflection, ArcTablesAux_getIOMap, ArcTablesAux_applyIOMap } from './Table/ArcTables.js';
|
|
12
|
+
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
12
13
|
import { Array_distinct } from '../../node_modules/@fable-org/fable-library-js/Seq2.js';
|
|
13
14
|
import { FSharpRef } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
14
15
|
|
|
@@ -613,6 +614,12 @@ class ArcAssay extends ArcTables {
|
|
|
613
614
|
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
614
615
|
}
|
|
615
616
|
}
|
|
617
|
+
function ArcAssay_$reflection() {
|
|
618
|
+
return class_type("ARCtrl.ArcAssay", void 0, ArcAssay, ArcTables_$reflection());
|
|
619
|
+
}
|
|
620
|
+
function ArcAssay_$ctor_11E1F34(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
621
|
+
return new ArcAssay(identifier, title, description, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments);
|
|
622
|
+
}
|
|
616
623
|
class ArcStudy extends ArcTables {
|
|
617
624
|
constructor(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
618
625
|
super(defaultArg(tables, []));
|
|
@@ -1269,6 +1276,12 @@ class ArcStudy extends ArcTables {
|
|
|
1269
1276
|
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
|
|
1270
1277
|
}
|
|
1271
1278
|
}
|
|
1279
|
+
function ArcStudy_$reflection() {
|
|
1280
|
+
return class_type("ARCtrl.ArcStudy", void 0, ArcStudy, ArcTables_$reflection());
|
|
1281
|
+
}
|
|
1282
|
+
function ArcStudy_$ctor_64321D5B(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
1283
|
+
return new ArcStudy(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments);
|
|
1284
|
+
}
|
|
1272
1285
|
class ArcWorkflow {
|
|
1273
1286
|
constructor(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
1274
1287
|
let identifier_1;
|
|
@@ -1313,6 +1326,9 @@ class ArcWorkflow {
|
|
|
1313
1326
|
return boxHashArray([ArcWorkflow__get_Identifier(this$), boxHashOption(ArcWorkflow__get_Title(this$)), boxHashOption(ArcWorkflow__get_Description(this$)), boxHashOption(ArcWorkflow__get_WorkflowType(this$)), boxHashOption(ArcWorkflow__get_URI(this$)), boxHashOption(ArcWorkflow__get_Version(this$)), boxHashSeq(ArcWorkflow__get_SubWorkflowIdentifiers(this$)), boxHashSeq(ArcWorkflow__get_Parameters(this$)), boxHashSeq(ArcWorkflow__get_Components(this$)), boxHashOption(ArcWorkflow__get_DataMap(this$)), boxHashSeq(ArcWorkflow__get_Contacts(this$)), boxHashSeq(ArcWorkflow__get_Comments(this$))]) | 0;
|
|
1314
1327
|
}
|
|
1315
1328
|
}
|
|
1329
|
+
function ArcWorkflow_$reflection() {
|
|
1330
|
+
return class_type("ARCtrl.ArcWorkflow", void 0, ArcWorkflow);
|
|
1331
|
+
}
|
|
1316
1332
|
function ArcWorkflow_$ctor_Z3BB02240(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
1317
1333
|
return new ArcWorkflow(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments);
|
|
1318
1334
|
}
|
|
@@ -1966,6 +1982,12 @@ class ArcRun extends ArcTables {
|
|
|
1966
1982
|
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.WorkflowIdentifiers), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
1967
1983
|
}
|
|
1968
1984
|
}
|
|
1985
|
+
function ArcRun_$reflection() {
|
|
1986
|
+
return class_type("ARCtrl.ArcRun", void 0, ArcRun, ArcTables_$reflection());
|
|
1987
|
+
}
|
|
1988
|
+
function ArcRun_$ctor_Z38E7054B(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments) {
|
|
1989
|
+
return new ArcRun(identifier, title, description, measurementType, technologyType, technologyPlatform, workflowIdentifiers, tables, datamap, performers, comments);
|
|
1990
|
+
}
|
|
1969
1991
|
class ArcInvestigation {
|
|
1970
1992
|
constructor(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
|
|
1971
1993
|
const this$ = new FSharpRef(defaultOf());
|
|
@@ -2197,7 +2219,8 @@ class ArcInvestigation {
|
|
|
2197
2219
|
const this$ = this;
|
|
2198
2220
|
const assayIdent = assay.Identifier;
|
|
2199
2221
|
const matchValue = tryFindIndex((x_1) => x_1 === assayIdent, map$1((x) => x.Identifier, this$.Assays));
|
|
2200
|
-
if (matchValue == null)
|
|
2222
|
+
if (matchValue == null) {
|
|
2223
|
+
} else {
|
|
2201
2224
|
throw new Error(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
|
|
2202
2225
|
}
|
|
2203
2226
|
assay.Investigation = this$;
|
|
@@ -2315,7 +2338,8 @@ class ArcInvestigation {
|
|
|
2315
2338
|
const this$ = this;
|
|
2316
2339
|
const assayIdent = assay.Identifier;
|
|
2317
2340
|
const matchValue = tryFindIndex((x) => x === assayIdent, map$1((a) => a.Identifier, removeAt(index, this$.Assays)));
|
|
2318
|
-
if (matchValue == null)
|
|
2341
|
+
if (matchValue == null) {
|
|
2342
|
+
} else {
|
|
2319
2343
|
throw new Error(`Cannot create assay with name ${assayIdent}, as assay names must be unique and assay at index ${value(matchValue)} has the same name.`);
|
|
2320
2344
|
}
|
|
2321
2345
|
assay.Investigation = this$;
|
|
@@ -2429,7 +2453,8 @@ class ArcInvestigation {
|
|
|
2429
2453
|
const this$ = this;
|
|
2430
2454
|
const study_1 = study;
|
|
2431
2455
|
const matchValue = tryFindIndex((x) => x.Identifier === study_1.Identifier, this$.Studies);
|
|
2432
|
-
if (matchValue == null)
|
|
2456
|
+
if (matchValue == null) {
|
|
2457
|
+
} else {
|
|
2433
2458
|
throw new Error(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
|
|
2434
2459
|
}
|
|
2435
2460
|
study.Investigation = this$;
|
|
@@ -2458,7 +2483,8 @@ class ArcInvestigation {
|
|
|
2458
2483
|
const this$ = this;
|
|
2459
2484
|
const studyIdent = studyIdentifier;
|
|
2460
2485
|
const matchValue = tryFind((x) => x === studyIdent, this$.StudyIdentifiers);
|
|
2461
|
-
if (matchValue != null)
|
|
2486
|
+
if (matchValue != null) {
|
|
2487
|
+
} else {
|
|
2462
2488
|
throw new Error(`The given study with identifier '${studyIdent}' must be added to Investigation before it can be registered.`);
|
|
2463
2489
|
}
|
|
2464
2490
|
const studyIdent_1 = studyIdentifier;
|
|
@@ -2562,7 +2588,8 @@ class ArcInvestigation {
|
|
|
2562
2588
|
const this$ = this;
|
|
2563
2589
|
const study_1 = study;
|
|
2564
2590
|
const matchValue = tryFindIndex((x) => x.Identifier === study_1.Identifier, removeAt(index, this$.Studies));
|
|
2565
|
-
if (matchValue == null)
|
|
2591
|
+
if (matchValue == null) {
|
|
2592
|
+
} else {
|
|
2566
2593
|
throw new Error(`Cannot create study with name ${study_1.Identifier}, as study names must be unique and study at index ${value(matchValue)} has the same name.`);
|
|
2567
2594
|
}
|
|
2568
2595
|
study.Investigation = this$;
|
|
@@ -2644,12 +2671,14 @@ class ArcInvestigation {
|
|
|
2644
2671
|
const this$ = this;
|
|
2645
2672
|
const study = this$.GetStudyAt(studyIndex);
|
|
2646
2673
|
const matchValue = tryFind((x) => x === assayIdentifier, map$1((a) => a.Identifier, this$.Assays));
|
|
2647
|
-
if (matchValue != null)
|
|
2674
|
+
if (matchValue != null) {
|
|
2675
|
+
} else {
|
|
2648
2676
|
throw new Error("The given assay must be added to Investigation before it can be registered.");
|
|
2649
2677
|
}
|
|
2650
2678
|
const assayIdent_1 = assayIdentifier;
|
|
2651
2679
|
const matchValue_1 = tryFindIndex((x_1) => x_1 === assayIdent_1, study.RegisteredAssayIdentifiers);
|
|
2652
|
-
if (matchValue_1 == null)
|
|
2680
|
+
if (matchValue_1 == null) {
|
|
2681
|
+
} else {
|
|
2653
2682
|
throw new Error(`Cannot create assay with name ${assayIdent_1}, as assay names must be unique and assay at index ${value(matchValue_1)} has the same name.`);
|
|
2654
2683
|
}
|
|
2655
2684
|
study.RegisterAssay(assayIdentifier);
|
|
@@ -2734,7 +2763,8 @@ class ArcInvestigation {
|
|
|
2734
2763
|
const this$ = this;
|
|
2735
2764
|
const workflow_1 = workflow;
|
|
2736
2765
|
const matchValue = tryFindIndex((x) => ArcWorkflow__get_Identifier(x) === ArcWorkflow__get_Identifier(workflow_1), this$.Workflows);
|
|
2737
|
-
if (matchValue == null)
|
|
2766
|
+
if (matchValue == null) {
|
|
2767
|
+
} else {
|
|
2738
2768
|
throw new Error(`Cannot create workflow with name ${ArcWorkflow__get_Identifier(workflow_1)}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
|
|
2739
2769
|
}
|
|
2740
2770
|
ArcWorkflow__set_Investigation_Z1E102E3E(workflow, this$);
|
|
@@ -2828,7 +2858,8 @@ class ArcInvestigation {
|
|
|
2828
2858
|
const this$ = this;
|
|
2829
2859
|
const workflow_1 = workflow;
|
|
2830
2860
|
const matchValue = tryFindIndex((x) => ArcWorkflow__get_Identifier(x) === ArcWorkflow__get_Identifier(workflow_1), this$.Workflows);
|
|
2831
|
-
if (matchValue == null)
|
|
2861
|
+
if (matchValue == null) {
|
|
2862
|
+
} else {
|
|
2832
2863
|
throw new Error(`Cannot create workflow with name ${ArcWorkflow__get_Identifier(workflow_1)}, as workflow names must be unique and workflow at index ${value(matchValue)} has the same name.`);
|
|
2833
2864
|
}
|
|
2834
2865
|
ArcWorkflow__set_Investigation_Z1E102E3E(workflow, this$);
|
|
@@ -2876,7 +2907,8 @@ class ArcInvestigation {
|
|
|
2876
2907
|
const this$ = this;
|
|
2877
2908
|
const run_1 = run;
|
|
2878
2909
|
const matchValue = tryFindIndex((x) => x.Identifier === run_1.Identifier, this$.Runs);
|
|
2879
|
-
if (matchValue == null)
|
|
2910
|
+
if (matchValue == null) {
|
|
2911
|
+
} else {
|
|
2880
2912
|
throw new Error(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
|
|
2881
2913
|
}
|
|
2882
2914
|
run.Investigation = this$;
|
|
@@ -2970,7 +3002,8 @@ class ArcInvestigation {
|
|
|
2970
3002
|
const this$ = this;
|
|
2971
3003
|
const run_1 = run;
|
|
2972
3004
|
const matchValue = tryFindIndex((x) => x.Identifier === run_1.Identifier, this$.Runs);
|
|
2973
|
-
if (matchValue == null)
|
|
3005
|
+
if (matchValue == null) {
|
|
3006
|
+
} else {
|
|
2974
3007
|
throw new Error(`Cannot create run with name ${run_1.Identifier}, as run names must be unique and run at index ${value(matchValue)} has the same name.`);
|
|
2975
3008
|
}
|
|
2976
3009
|
run.Investigation = this$;
|
|
@@ -3262,6 +3295,12 @@ class ArcInvestigation {
|
|
|
3262
3295
|
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.OntologySourceReferences), boxHashSeq(this$.RegisteredStudyIdentifiers), boxHashSeq(this$.Comments), boxHashSeq(this$.Remarks)]) | 0;
|
|
3263
3296
|
}
|
|
3264
3297
|
}
|
|
3298
|
+
function ArcInvestigation_$reflection() {
|
|
3299
|
+
return class_type("ARCtrl.ArcInvestigation", void 0, ArcInvestigation);
|
|
3300
|
+
}
|
|
3301
|
+
function ArcInvestigation_$ctor_Z67823F6C(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks) {
|
|
3302
|
+
return new ArcInvestigation(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, workflows, runs, registeredStudyIdentifiers, comments, remarks);
|
|
3303
|
+
}
|
|
3265
3304
|
function ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier(assayIdentifier, investigationIdentifier) {
|
|
3266
3305
|
return `Error. Unable to find assay with identifier '${assayIdentifier}' in investigation ${investigationIdentifier}.`;
|
|
3267
3306
|
}
|
|
@@ -3277,6 +3316,9 @@ function ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier(runIdentifier, investig
|
|
|
3277
3316
|
function ArcWorkflow__get_Identifier(this$) {
|
|
3278
3317
|
return this$["identifier@1151"];
|
|
3279
3318
|
}
|
|
3319
|
+
function ArcWorkflow__set_Identifier_Z721C83C5(this$, i) {
|
|
3320
|
+
this$["identifier@1151"] = i;
|
|
3321
|
+
}
|
|
3280
3322
|
function ArcWorkflow__get_Investigation(this$) {
|
|
3281
3323
|
return this$.investigation;
|
|
3282
3324
|
}
|
|
@@ -3286,27 +3328,51 @@ function ArcWorkflow__set_Investigation_Z1E102E3E(this$, a) {
|
|
|
3286
3328
|
function ArcWorkflow__get_Title(this$) {
|
|
3287
3329
|
return this$["title@1156"];
|
|
3288
3330
|
}
|
|
3331
|
+
function ArcWorkflow__set_Title_6DFDD678(this$, t) {
|
|
3332
|
+
this$["title@1156"] = t;
|
|
3333
|
+
}
|
|
3289
3334
|
function ArcWorkflow__get_Description(this$) {
|
|
3290
3335
|
return this$["description@1157"];
|
|
3291
3336
|
}
|
|
3337
|
+
function ArcWorkflow__set_Description_6DFDD678(this$, d) {
|
|
3338
|
+
this$["description@1157"] = d;
|
|
3339
|
+
}
|
|
3292
3340
|
function ArcWorkflow__get_SubWorkflowIdentifiers(this$) {
|
|
3293
3341
|
return this$["subWorkflowIdentifiers@1158"];
|
|
3294
3342
|
}
|
|
3343
|
+
function ArcWorkflow__set_SubWorkflowIdentifiers_70A00D82(this$, s) {
|
|
3344
|
+
this$["subWorkflowIdentifiers@1158"] = s;
|
|
3345
|
+
}
|
|
3295
3346
|
function ArcWorkflow__get_WorkflowType(this$) {
|
|
3296
3347
|
return this$["workflowType@1159"];
|
|
3297
3348
|
}
|
|
3349
|
+
function ArcWorkflow__set_WorkflowType_279AAFF2(this$, w) {
|
|
3350
|
+
this$["workflowType@1159"] = w;
|
|
3351
|
+
}
|
|
3298
3352
|
function ArcWorkflow__get_URI(this$) {
|
|
3299
3353
|
return this$["uri@1160"];
|
|
3300
3354
|
}
|
|
3355
|
+
function ArcWorkflow__set_URI_6DFDD678(this$, u) {
|
|
3356
|
+
this$["uri@1160"] = u;
|
|
3357
|
+
}
|
|
3301
3358
|
function ArcWorkflow__get_Version(this$) {
|
|
3302
3359
|
return this$["version@1161"];
|
|
3303
3360
|
}
|
|
3361
|
+
function ArcWorkflow__set_Version_6DFDD678(this$, v) {
|
|
3362
|
+
this$["version@1161"] = v;
|
|
3363
|
+
}
|
|
3304
3364
|
function ArcWorkflow__get_Parameters(this$) {
|
|
3305
3365
|
return this$["parameters@1162"];
|
|
3306
3366
|
}
|
|
3367
|
+
function ArcWorkflow__set_Parameters_10749ED2(this$, p) {
|
|
3368
|
+
this$["parameters@1162"] = p;
|
|
3369
|
+
}
|
|
3307
3370
|
function ArcWorkflow__get_Components(this$) {
|
|
3308
3371
|
return this$["components@1163"];
|
|
3309
3372
|
}
|
|
3373
|
+
function ArcWorkflow__set_Components_Z3A507DDE(this$, c) {
|
|
3374
|
+
this$["components@1163"] = c;
|
|
3375
|
+
}
|
|
3310
3376
|
function ArcWorkflow__get_DataMap(this$) {
|
|
3311
3377
|
return this$.dataMap;
|
|
3312
3378
|
}
|
|
@@ -3322,6 +3388,9 @@ function ArcWorkflow__set_Contacts_Z7E0D1CA3(this$, c) {
|
|
|
3322
3388
|
function ArcWorkflow__get_Comments(this$) {
|
|
3323
3389
|
return this$["comments@1166"];
|
|
3324
3390
|
}
|
|
3391
|
+
function ArcWorkflow__set_Comments_149C14BB(this$, c) {
|
|
3392
|
+
this$["comments@1166"] = c;
|
|
3393
|
+
}
|
|
3325
3394
|
function ArcWorkflow__get_StaticHash(this$) {
|
|
3326
3395
|
return this$.staticHash;
|
|
3327
3396
|
}
|
|
@@ -3337,6 +3406,135 @@ function ArcWorkflow_create_Z3BB02240(identifier, title, description, workflowTy
|
|
|
3337
3406
|
function ArcWorkflow_make(identifier, title, description, workflowType, uri, version, subWorkflowIdentifiers, parameters, components, datamap, contacts, comments) {
|
|
3338
3407
|
return ArcWorkflow_$ctor_Z3BB02240(identifier, unwrap(title), unwrap(description), unwrap(workflowType), unwrap(uri), unwrap(version), subWorkflowIdentifiers, parameters, components, unwrap(datamap), contacts, comments);
|
|
3339
3408
|
}
|
|
3409
|
+
function ArcWorkflow_get_FileName() {
|
|
3410
|
+
return "isa.run.xlsx";
|
|
3411
|
+
}
|
|
3412
|
+
function ArcWorkflow__get_SubWorkflowIdentifiersCount(this$) {
|
|
3413
|
+
return ArcWorkflow__get_SubWorkflowIdentifiers(this$).length;
|
|
3414
|
+
}
|
|
3415
|
+
function ArcWorkflow__get_SubWorkflowCount(this$) {
|
|
3416
|
+
return ArcWorkflow__get_SubWorkflows(this$).length;
|
|
3417
|
+
}
|
|
3418
|
+
function ArcWorkflow__get_SubWorkflows(this$) {
|
|
3419
|
+
let inv;
|
|
3420
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3421
|
+
if (investigation != null) {
|
|
3422
|
+
inv = value(investigation);
|
|
3423
|
+
} else {
|
|
3424
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3425
|
+
}
|
|
3426
|
+
const collection = choose((workflowIdentifier) => inv.TryGetWorkflow(workflowIdentifier), ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3427
|
+
return Array.from(collection);
|
|
3428
|
+
}
|
|
3429
|
+
function ArcWorkflow__get_VacantSubWorkflowIdentifiers(this$) {
|
|
3430
|
+
let inv;
|
|
3431
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3432
|
+
if (investigation != null) {
|
|
3433
|
+
inv = value(investigation);
|
|
3434
|
+
} else {
|
|
3435
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3436
|
+
}
|
|
3437
|
+
const collection = filter((arg) => !inv.ContainsWorkflow(arg), ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3438
|
+
return Array.from(collection);
|
|
3439
|
+
}
|
|
3440
|
+
function ArcWorkflow__AddSubWorkflow_Z1C75CB0E(this$, subWorkflow) {
|
|
3441
|
+
let inv;
|
|
3442
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3443
|
+
if (investigation != null) {
|
|
3444
|
+
inv = value(investigation);
|
|
3445
|
+
} else {
|
|
3446
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3447
|
+
}
|
|
3448
|
+
inv.AddWorkflow(subWorkflow);
|
|
3449
|
+
}
|
|
3450
|
+
function ArcWorkflow_addSubWorkflow_Z1C75CB0E(subWorkflow) {
|
|
3451
|
+
return (workflow) => {
|
|
3452
|
+
const newWorkflow = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3453
|
+
ArcWorkflow__AddSubWorkflow_Z1C75CB0E(newWorkflow, subWorkflow);
|
|
3454
|
+
return newWorkflow;
|
|
3455
|
+
};
|
|
3456
|
+
}
|
|
3457
|
+
function ArcWorkflow__InitSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3458
|
+
const subWorkflow = ArcWorkflow_$ctor_Z3BB02240(subWorkflowIdentifier);
|
|
3459
|
+
ArcWorkflow__AddSubWorkflow_Z1C75CB0E(this$, subWorkflow);
|
|
3460
|
+
return subWorkflow;
|
|
3461
|
+
}
|
|
3462
|
+
function ArcWorkflow_initSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3463
|
+
return (workflow) => {
|
|
3464
|
+
const copy = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3465
|
+
return [copy, ArcWorkflow__InitSubWorkflow_Z721C83C5(copy, subWorkflowIdentifier)];
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
function ArcWorkflow__RegisterSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3469
|
+
if (contains(subWorkflowIdentifier, ArcWorkflow__get_SubWorkflowIdentifiers(this$), {
|
|
3470
|
+
Equals: (x, y) => x === y,
|
|
3471
|
+
GetHashCode: stringHash
|
|
3472
|
+
})) {
|
|
3473
|
+
throw new Error(`SubWorkflow \`${subWorkflowIdentifier}\` is already registered on the workflow.`);
|
|
3474
|
+
}
|
|
3475
|
+
void ArcWorkflow__get_SubWorkflowIdentifiers(this$).push(subWorkflowIdentifier);
|
|
3476
|
+
}
|
|
3477
|
+
function ArcWorkflow_registerSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3478
|
+
return (workflow) => {
|
|
3479
|
+
const copy = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3480
|
+
ArcWorkflow__RegisterSubWorkflow_Z721C83C5(copy, subWorkflowIdentifier);
|
|
3481
|
+
return copy;
|
|
3482
|
+
};
|
|
3483
|
+
}
|
|
3484
|
+
function ArcWorkflow__DeregisterSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3485
|
+
removeInPlace(subWorkflowIdentifier, ArcWorkflow__get_SubWorkflowIdentifiers(this$), {
|
|
3486
|
+
Equals: (x, y) => x === y,
|
|
3487
|
+
GetHashCode: stringHash
|
|
3488
|
+
});
|
|
3489
|
+
}
|
|
3490
|
+
function ArcWorkflow_deregisterSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3491
|
+
return (workflow) => {
|
|
3492
|
+
const copy = ArcWorkflow__Copy_6FCE9E49(workflow);
|
|
3493
|
+
ArcWorkflow__DeregisterSubWorkflow_Z721C83C5(copy, subWorkflowIdentifier);
|
|
3494
|
+
return copy;
|
|
3495
|
+
};
|
|
3496
|
+
}
|
|
3497
|
+
function ArcWorkflow__GetRegisteredSubWorkflow_Z721C83C5(this$, subWorkflowIdentifier) {
|
|
3498
|
+
if (!contains(subWorkflowIdentifier, ArcWorkflow__get_SubWorkflowIdentifiers(this$), {
|
|
3499
|
+
Equals: (x, y) => x === y,
|
|
3500
|
+
GetHashCode: stringHash
|
|
3501
|
+
})) {
|
|
3502
|
+
throw new Error(`SubWorkflow \`${subWorkflowIdentifier}\` is not registered on the workflow.`);
|
|
3503
|
+
}
|
|
3504
|
+
let inv;
|
|
3505
|
+
const investigation = ArcWorkflow__get_Investigation(this$);
|
|
3506
|
+
if (investigation != null) {
|
|
3507
|
+
inv = value(investigation);
|
|
3508
|
+
} else {
|
|
3509
|
+
throw new Error("Cannot execute this function. Object is not part of ArcInvestigation.");
|
|
3510
|
+
}
|
|
3511
|
+
return inv.GetWorkflow(subWorkflowIdentifier);
|
|
3512
|
+
}
|
|
3513
|
+
function ArcWorkflow_getRegisteredSubWorkflow_Z721C83C5(subWorkflowIdentifier) {
|
|
3514
|
+
return (workflow) => ArcWorkflow__GetRegisteredSubWorkflow_Z721C83C5(ArcWorkflow__Copy_6FCE9E49(workflow), subWorkflowIdentifier);
|
|
3515
|
+
}
|
|
3516
|
+
function ArcWorkflow_getRegisteredSubWorkflows() {
|
|
3517
|
+
return (workflow) => ArcWorkflow__get_SubWorkflows(ArcWorkflow__Copy_6FCE9E49(workflow));
|
|
3518
|
+
}
|
|
3519
|
+
function ArcWorkflow__GetRegisteredSubWorkflowsOrIdentifier(this$) {
|
|
3520
|
+
const matchValue = ArcWorkflow__get_Investigation(this$);
|
|
3521
|
+
if (matchValue == null) {
|
|
3522
|
+
return ResizeArray_map(ArcWorkflow_init_Z721C83C5, ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3523
|
+
} else {
|
|
3524
|
+
const i = value(matchValue);
|
|
3525
|
+
return ResizeArray_map((identifier) => {
|
|
3526
|
+
const matchValue_1 = i.TryGetWorkflow(identifier);
|
|
3527
|
+
if (matchValue_1 == null) {
|
|
3528
|
+
return ArcWorkflow_init_Z721C83C5(identifier);
|
|
3529
|
+
} else {
|
|
3530
|
+
return value(matchValue_1);
|
|
3531
|
+
}
|
|
3532
|
+
}, ArcWorkflow__get_SubWorkflowIdentifiers(this$));
|
|
3533
|
+
}
|
|
3534
|
+
}
|
|
3535
|
+
function ArcWorkflow_getRegisteredSubWorkflowsOrIdentifier() {
|
|
3536
|
+
return (workflow) => ArcWorkflow__GetRegisteredSubWorkflowsOrIdentifier(ArcWorkflow__Copy_6FCE9E49(workflow));
|
|
3537
|
+
}
|
|
3340
3538
|
function ArcWorkflow__Copy_6FCE9E49(this$, copyInvestigationRef) {
|
|
3341
3539
|
const copyInvestigationRef_1 = defaultArg(copyInvestigationRef, false);
|
|
3342
3540
|
const nextWorkFlowType = map((w) => w.Copy(), ArcWorkflow__get_WorkflowType(this$));
|
|
@@ -3386,8 +3584,11 @@ function ArcWorkflow__StructurallyEquals_Z1C75CB0E(this$, other) {
|
|
|
3386
3584
|
}
|
|
3387
3585
|
}, true, toList(delay(() => map$1((i_5) => equals(item(i_5, a_4), item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))]);
|
|
3388
3586
|
}
|
|
3587
|
+
function ArcWorkflow__ReferenceEquals_1680536E(this$, other) {
|
|
3588
|
+
return this$ === other;
|
|
3589
|
+
}
|
|
3389
3590
|
function ArcWorkflow__GetLightHashCode(this$) {
|
|
3390
3591
|
return boxHashArray([ArcWorkflow__get_Identifier(this$), boxHashOption(ArcWorkflow__get_Title(this$)), boxHashOption(ArcWorkflow__get_Description(this$)), boxHashOption(ArcWorkflow__get_WorkflowType(this$)), boxHashOption(ArcWorkflow__get_URI(this$)), boxHashOption(ArcWorkflow__get_Version(this$)), boxHashSeq(ArcWorkflow__get_SubWorkflowIdentifiers(this$)), boxHashSeq(ArcWorkflow__get_Parameters(this$)), boxHashSeq(ArcWorkflow__get_Components(this$)), boxHashSeq(ArcWorkflow__get_Contacts(this$)), boxHashSeq(ArcWorkflow__get_Comments(this$))]);
|
|
3391
3592
|
}
|
|
3392
3593
|
|
|
3393
|
-
export { ArcAssay, ArcInvestigation, ArcRun, ArcStudy, ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier, ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier, ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier, ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier, ArcWorkflow, ArcWorkflow_$ctor_Z3BB02240, ArcWorkflow__Copy_6FCE9E49, ArcWorkflow__GetLightHashCode, ArcWorkflow__StructurallyEquals_Z1C75CB0E, ArcWorkflow__get_Comments, ArcWorkflow__get_Components, ArcWorkflow__get_Contacts, ArcWorkflow__get_DataMap, ArcWorkflow__get_Description, ArcWorkflow__get_Identifier, ArcWorkflow__get_Investigation, ArcWorkflow__get_Parameters, ArcWorkflow__get_StaticHash, ArcWorkflow__get_SubWorkflowIdentifiers, ArcWorkflow__get_Title, ArcWorkflow__get_URI, ArcWorkflow__get_Version, ArcWorkflow__get_WorkflowType, ArcWorkflow__set_Contacts_Z7E0D1CA3, ArcWorkflow__set_DataMap_51F1E59E, ArcWorkflow__set_Investigation_Z1E102E3E, ArcWorkflow__set_StaticHash_Z524259A4, ArcWorkflow_create_Z3BB02240, ArcWorkflow_init_Z721C83C5, ArcWorkflow_make };
|
|
3594
|
+
export { ArcAssay, ArcAssay_$ctor_11E1F34, ArcAssay_$reflection, ArcInvestigation, ArcInvestigation_$ctor_Z67823F6C, ArcInvestigation_$reflection, ArcRun, ArcRun_$ctor_Z38E7054B, ArcRun_$reflection, ArcStudy, ArcStudy_$ctor_64321D5B, ArcStudy_$reflection, ArcTypesAux_ErrorMsgs_unableToFindAssayIdentifier, ArcTypesAux_ErrorMsgs_unableToFindRunIdentifier, ArcTypesAux_ErrorMsgs_unableToFindStudyIdentifier, ArcTypesAux_ErrorMsgs_unableToFindWorkflowIdentifier, ArcWorkflow, ArcWorkflow_$ctor_Z3BB02240, ArcWorkflow_$reflection, ArcWorkflow__AddSubWorkflow_Z1C75CB0E, ArcWorkflow__Copy_6FCE9E49, ArcWorkflow__DeregisterSubWorkflow_Z721C83C5, ArcWorkflow__GetLightHashCode, ArcWorkflow__GetRegisteredSubWorkflow_Z721C83C5, ArcWorkflow__GetRegisteredSubWorkflowsOrIdentifier, ArcWorkflow__InitSubWorkflow_Z721C83C5, ArcWorkflow__ReferenceEquals_1680536E, ArcWorkflow__RegisterSubWorkflow_Z721C83C5, ArcWorkflow__StructurallyEquals_Z1C75CB0E, ArcWorkflow__get_Comments, ArcWorkflow__get_Components, ArcWorkflow__get_Contacts, ArcWorkflow__get_DataMap, ArcWorkflow__get_Description, ArcWorkflow__get_Identifier, ArcWorkflow__get_Investigation, ArcWorkflow__get_Parameters, ArcWorkflow__get_StaticHash, ArcWorkflow__get_SubWorkflowCount, ArcWorkflow__get_SubWorkflowIdentifiers, ArcWorkflow__get_SubWorkflowIdentifiersCount, ArcWorkflow__get_SubWorkflows, ArcWorkflow__get_Title, ArcWorkflow__get_URI, ArcWorkflow__get_VacantSubWorkflowIdentifiers, ArcWorkflow__get_Version, ArcWorkflow__get_WorkflowType, ArcWorkflow__set_Comments_149C14BB, ArcWorkflow__set_Components_Z3A507DDE, ArcWorkflow__set_Contacts_Z7E0D1CA3, ArcWorkflow__set_DataMap_51F1E59E, ArcWorkflow__set_Description_6DFDD678, ArcWorkflow__set_Identifier_Z721C83C5, ArcWorkflow__set_Investigation_Z1E102E3E, ArcWorkflow__set_Parameters_10749ED2, ArcWorkflow__set_StaticHash_Z524259A4, ArcWorkflow__set_SubWorkflowIdentifiers_70A00D82, ArcWorkflow__set_Title_6DFDD678, ArcWorkflow__set_URI_6DFDD678, ArcWorkflow__set_Version_6DFDD678, ArcWorkflow__set_WorkflowType_279AAFF2, ArcWorkflow_addSubWorkflow_Z1C75CB0E, ArcWorkflow_create_Z3BB02240, ArcWorkflow_deregisterSubWorkflow_Z721C83C5, ArcWorkflow_getRegisteredSubWorkflow_Z721C83C5, ArcWorkflow_getRegisteredSubWorkflows, ArcWorkflow_getRegisteredSubWorkflowsOrIdentifier, ArcWorkflow_get_FileName, ArcWorkflow_initSubWorkflow_Z721C83C5, ArcWorkflow_init_Z721C83C5, ArcWorkflow_make, ArcWorkflow_registerSubWorkflow_Z721C83C5 };
|
|
@@ -7,6 +7,7 @@ import { map, choose, ofArray } from '../../node_modules/@fable-org/fable-librar
|
|
|
7
7
|
import { toString, Record } from '../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
8
8
|
import { match, create } from '../../node_modules/@fable-org/fable-library-js/RegExp.js';
|
|
9
9
|
import { Pattern_handleGroupPatterns } from './Helper/Regex.js';
|
|
10
|
+
import { class_type, record_type, int32_type, string_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
10
11
|
|
|
11
12
|
class Comment$ {
|
|
12
13
|
constructor(name, value) {
|
|
@@ -67,6 +68,12 @@ class Comment$ {
|
|
|
67
68
|
return new Comment$(unwrap(nameResult != null ? replace(replace(nameResult[0], "Name = ", ""), '"', "") : void 0), unwrap(valueResult != null ? replace(replace(valueResult[0], "Value = ", ""), '"', "") : void 0));
|
|
68
69
|
}
|
|
69
70
|
}
|
|
71
|
+
function Comment$_$reflection() {
|
|
72
|
+
return class_type("ARCtrl.Comment", void 0, Comment$);
|
|
73
|
+
}
|
|
74
|
+
function Comment_$ctor_40457300(name, value) {
|
|
75
|
+
return new Comment$(name, value);
|
|
76
|
+
}
|
|
70
77
|
class Remark extends Record {
|
|
71
78
|
constructor(Line, Value) {
|
|
72
79
|
super();
|
|
@@ -87,5 +94,8 @@ class Remark extends Record {
|
|
|
87
94
|
return Remark.make(this$.Line, this$.Value);
|
|
88
95
|
}
|
|
89
96
|
}
|
|
97
|
+
function Remark_$reflection() {
|
|
98
|
+
return record_type("ARCtrl.Remark", [], Remark, () => [["Line", int32_type], ["Value", string_type]]);
|
|
99
|
+
}
|
|
90
100
|
|
|
91
|
-
export { Comment$, Remark };
|
|
101
|
+
export { Comment$, Comment$_$reflection, Comment_$ctor_40457300, Remark, Remark_$reflection };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { tryPick } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
1
|
+
import { tryPick, exists } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
2
2
|
import { value } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
|
+
import { ofSeq } from '../../node_modules/@fable-org/fable-library-js/Map.js';
|
|
4
|
+
import { ResizeArray_choose, ResizeArray_map, ResizeArray_appendSingleton, ResizeArray_filter } from './Helper/Collections.js';
|
|
5
|
+
import { comparePrimitives, equals } from '../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
3
6
|
|
|
4
7
|
function tryItem(key, comments) {
|
|
5
8
|
return tryPick((c) => {
|
|
@@ -23,5 +26,77 @@ function tryItem(key, comments) {
|
|
|
23
26
|
}
|
|
24
27
|
}, comments);
|
|
25
28
|
}
|
|
29
|
+
function containsKey(key, comments) {
|
|
30
|
+
return exists((c) => {
|
|
31
|
+
const matchValue = c.Name;
|
|
32
|
+
let matchResult, n_1;
|
|
33
|
+
if (matchValue != null) {
|
|
34
|
+
if (value(matchValue) === key) {
|
|
35
|
+
matchResult = 0;
|
|
36
|
+
n_1 = value(matchValue);
|
|
37
|
+
} else {
|
|
38
|
+
matchResult = 1;
|
|
39
|
+
}
|
|
40
|
+
} else {
|
|
41
|
+
matchResult = 1;
|
|
42
|
+
}
|
|
43
|
+
switch (matchResult) {
|
|
44
|
+
case 0:
|
|
45
|
+
return true;
|
|
46
|
+
default:
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
}, comments);
|
|
50
|
+
}
|
|
51
|
+
function item(key, comments) {
|
|
52
|
+
return value(tryItem(key, comments));
|
|
53
|
+
}
|
|
54
|
+
function toMap(comments) {
|
|
55
|
+
return ofSeq(ResizeArray_choose((c) => {
|
|
56
|
+
const matchValue = c.Name;
|
|
57
|
+
if (matchValue != null) {
|
|
58
|
+
return [value(matchValue), c.Value];
|
|
59
|
+
} else {
|
|
60
|
+
return void 0;
|
|
61
|
+
}
|
|
62
|
+
}, comments), {
|
|
63
|
+
Compare: comparePrimitives
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function set$(comment, comments) {
|
|
67
|
+
if (containsKey(value(comment.Name), comments)) {
|
|
68
|
+
return ResizeArray_map((c) => {
|
|
69
|
+
if (equals(c.Name, comment.Name)) {
|
|
70
|
+
return comment;
|
|
71
|
+
} else {
|
|
72
|
+
return c;
|
|
73
|
+
}
|
|
74
|
+
}, comments);
|
|
75
|
+
} else {
|
|
76
|
+
return ResizeArray_appendSingleton(comment, comments);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function dropByKey(key, comments) {
|
|
80
|
+
return ResizeArray_filter((c) => {
|
|
81
|
+
const matchValue = c.Name;
|
|
82
|
+
let matchResult, n_1;
|
|
83
|
+
if (matchValue != null) {
|
|
84
|
+
if (value(matchValue) === key) {
|
|
85
|
+
matchResult = 0;
|
|
86
|
+
n_1 = value(matchValue);
|
|
87
|
+
} else {
|
|
88
|
+
matchResult = 1;
|
|
89
|
+
}
|
|
90
|
+
} else {
|
|
91
|
+
matchResult = 1;
|
|
92
|
+
}
|
|
93
|
+
switch (matchResult) {
|
|
94
|
+
case 0:
|
|
95
|
+
return false;
|
|
96
|
+
default:
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
}, comments);
|
|
100
|
+
}
|
|
26
101
|
|
|
27
|
-
export { tryItem };
|
|
102
|
+
export { containsKey, dropByKey, item, set$, toMap, tryItem };
|