@nfdi4plants/arctrl 1.0.0-beta.1 → 1.0.0-beta.2
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/ARC.js +24 -24
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcAssay.js +3 -3
- package/Contracts/Contracts.ArcInvestigation.js +3 -3
- package/Contracts/Contracts.ArcStudy.js +3 -3
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +15 -15
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +20 -20
- package/ISA/ISA/ArcTypes/ArcTableAux.js +17 -17
- package/ISA/ISA/ArcTypes/ArcTables.js +21 -21
- package/ISA/ISA/ArcTypes/ArcTypes.js +64 -64
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +5 -5
- package/ISA/ISA/Helper.js +9 -9
- package/ISA/ISA/Identifier.js +2 -2
- package/ISA/ISA/JsonTypes/AnnotationValue.js +5 -5
- package/ISA/ISA/JsonTypes/Assay.js +26 -26
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +23 -23
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +12 -12
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +12 -12
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +4 -4
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +10 -10
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +8 -8
- package/ISA/ISA/JsonTypes/Person.js +9 -9
- package/ISA/ISA/JsonTypes/Process.js +11 -11
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +14 -14
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +4 -4
- package/ISA/ISA/JsonTypes/Publication.js +8 -8
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +58 -58
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +7 -7
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/Assay.js +5 -5
- package/ISA/ISA.Json/Comment.js +5 -5
- package/ISA/ISA.Json/ConverterOptions.js +1 -1
- package/ISA/ISA.Json/Data.js +5 -5
- package/ISA/ISA.Json/Decode.js +4 -4
- package/ISA/ISA.Json/Factor.js +5 -5
- package/ISA/ISA.Json/GEncode.js +3 -3
- package/ISA/ISA.Json/Investigation.js +6 -6
- package/ISA/ISA.Json/Material.js +5 -5
- package/ISA/ISA.Json/Ontology.js +6 -6
- package/ISA/ISA.Json/Person.js +10 -10
- package/ISA/ISA.Json/Process.js +5 -5
- package/ISA/ISA.Json/Protocol.js +6 -6
- package/ISA/ISA.Json/Publication.js +4 -4
- package/ISA/ISA.Json/Study.js +6 -6
- package/ISA/ISA.Json/Validation/Fable.js +6 -6
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
- package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +9 -9
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +8 -8
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +9 -9
- package/ISA/ISA.Spreadsheet/ArcAssay.js +13 -13
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +36 -36
- package/ISA/ISA.Spreadsheet/ArcStudy.js +10 -10
- package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +10 -10
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +6 -6
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +11 -11
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +9 -9
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +19 -19
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
- package/README.md +29 -256
- package/SemVer.js +7 -7
- package/Templates/Template.Json.js +7 -7
- package/Templates/Template.Spreadsheet.js +20 -20
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +5 -5
- package/WebRequest/WebRequest.js +4 -4
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.2.2.2}/Fable.Promise.fableproj +3 -4
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs +176 -0
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +143 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +4 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +4 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +19 -19
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
- package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
- package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
- package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
package/ARC.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { concat, fold, exactlyOne, choose, map } from "./fable_modules/fable-library.4.1
|
|
1
|
+
import { concat, fold, exactlyOne, choose, map } from "./fable_modules/fable-library.4.4.1/Array.js";
|
|
2
2
|
import { toFsWorkbook as toFsWorkbook_1, fromFsWorkbook } from "./ISA/ISA.Spreadsheet/ArcAssay.js";
|
|
3
3
|
import { tryFromContract } from "./Contracts/Contracts.ArcAssay.js";
|
|
4
4
|
import { ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9, ARCtrl_ISA_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D } from "./ISA/ISA.Spreadsheet/ArcStudy.js";
|
|
5
5
|
import { tryFromContract as tryFromContract_1 } from "./Contracts/Contracts.ArcStudy.js";
|
|
6
6
|
import { toFsWorkbook, fromFsWorkbook as fromFsWorkbook_1 } from "./ISA/ISA.Spreadsheet/ArcInvestigation.js";
|
|
7
7
|
import { tryFromContract as tryFromContract_2 } from "./Contracts/Contracts.ArcInvestigation.js";
|
|
8
|
-
import { collect, toList, empty, singleton, append, delay, iterate, find, tryFind, toArray } from "./fable_modules/fable-library.4.1
|
|
8
|
+
import { collect, toList, empty, singleton, append, delay, iterate, find, tryFind, toArray } from "./fable_modules/fable-library.4.4.1/Seq.js";
|
|
9
9
|
import { createRunsFolder, createWorkflowsFolder, createInvestigationFile, createStudyFolder, createStudiesFolder, createAssayFolder, createAssaysFolder } from "./FileSystemTree.js";
|
|
10
10
|
import { FileSystemTree } from "./FileSystem/FileSystemTree.js";
|
|
11
11
|
import { FileSystem } from "./FileSystem/FileSystem.js";
|
|
12
|
-
import { bind, map as map_1, value as value_2, defaultArg, unwrap } from "./fable_modules/fable-library.4.1
|
|
12
|
+
import { bind, map as map_1, value as value_2, defaultArg, unwrap } from "./fable_modules/fable-library.4.4.1/Option.js";
|
|
13
13
|
import { tryISAReadContractFromPath } from "./Contracts/Contracts.ARCtrl.js";
|
|
14
14
|
import { ArcTables } from "./ISA/ISA/ArcTypes/ArcTables.js";
|
|
15
|
-
import { addToDict } from "./fable_modules/fable-library.4.1
|
|
15
|
+
import { addToDict } from "./fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
16
16
|
import { ArcInvestigation } from "./ISA/ISA/ArcTypes/ArcTypes.js";
|
|
17
17
|
import { Assay_fileNameFromIdentifier, Study_fileNameFromIdentifier } from "./ISA/ISA/Identifier.js";
|
|
18
|
-
import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.5.0.
|
|
18
|
+
import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.5.0.1/Cells/FsCellsCollection.fs.js";
|
|
19
19
|
import { Contract } from "./Contract/Contract.js";
|
|
20
20
|
import { Clone_createCloneContract_5000466F, Init_createAddRemoteContract_Z721C83C5, gitignoreContract, Init_createInitContract_6DFDD678 } from "./Contracts/Contracts.Git.js";
|
|
21
|
-
import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library.4.1
|
|
22
|
-
import { comparePrimitives } from "./fable_modules/fable-library.4.1
|
|
23
|
-
import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library.4.1
|
|
24
|
-
import { class_type } from "./fable_modules/fable-library.4.1
|
|
21
|
+
import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library.4.4.1/Set.js";
|
|
22
|
+
import { comparePrimitives } from "./fable_modules/fable-library.4.4.1/Util.js";
|
|
23
|
+
import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library.4.4.1/Map.js";
|
|
24
|
+
import { class_type } from "./fable_modules/fable-library.4.4.1/Reflection.js";
|
|
25
25
|
|
|
26
26
|
export function ARCAux_getArcAssaysFromContracts(contracts) {
|
|
27
27
|
return map(fromFsWorkbook, choose(tryFromContract, contracts));
|
|
@@ -47,23 +47,23 @@ export function ARCAux_updateFSByISA(isa, fs) {
|
|
|
47
47
|
const assays = createAssaysFolder(map(createAssayFolder, patternInput[1]));
|
|
48
48
|
const studies = createStudiesFolder(map(createStudyFolder, patternInput[0]));
|
|
49
49
|
const investigation = createInvestigationFile();
|
|
50
|
-
let
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
tree:
|
|
50
|
+
let tree_1;
|
|
51
|
+
const tree = FileSystemTree.createRootFolder([investigation, assays, studies]);
|
|
52
|
+
tree_1 = FileSystem.create({
|
|
53
|
+
tree: tree,
|
|
54
54
|
});
|
|
55
|
-
return fs.Union(
|
|
55
|
+
return fs.Union(tree_1);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export function ARCAux_updateFSByCWL(cwl, fs) {
|
|
59
59
|
const workflows = createWorkflowsFolder([]);
|
|
60
60
|
const runs = createRunsFolder([]);
|
|
61
|
-
let
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
tree:
|
|
61
|
+
let tree_1;
|
|
62
|
+
const tree = FileSystemTree.createRootFolder([workflows, runs]);
|
|
63
|
+
tree_1 = FileSystem.create({
|
|
64
|
+
tree: tree,
|
|
65
65
|
});
|
|
66
|
-
return fs.Union(
|
|
66
|
+
return fs.Union(tree_1);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
export class ARC {
|
|
@@ -181,7 +181,7 @@ export class ARC {
|
|
|
181
181
|
return new ARC(unwrap(isaCopy), this$._cwl, fsCopy);
|
|
182
182
|
}
|
|
183
183
|
GetRegisteredPayload(IgnoreHidden) {
|
|
184
|
-
let tree,
|
|
184
|
+
let tree, paths, array_3;
|
|
185
185
|
const this$ = this;
|
|
186
186
|
const registeredStudies = defaultArg(map_1((isa) => isa.Studies.slice(), map_1((i) => i.Copy(), this$._isa)), []);
|
|
187
187
|
const registeredAssays = concat(map((s) => s.RegisteredAssays.slice(), registeredStudies));
|
|
@@ -219,17 +219,17 @@ export class ARC {
|
|
|
219
219
|
else {
|
|
220
220
|
return tree_1;
|
|
221
221
|
}
|
|
222
|
-
}, (tree = ((
|
|
222
|
+
}, (tree = ((paths = ((array_3 = FileSystemTree.toFilePaths()(fsCopy.Tree), array_3.filter((p) => {
|
|
223
223
|
if ((p.indexOf("workflows") === 0) ? true : (p.indexOf("runs") === 0)) {
|
|
224
224
|
return true;
|
|
225
225
|
}
|
|
226
226
|
else {
|
|
227
227
|
return FSharpSet__Contains(includeFiles, p);
|
|
228
228
|
}
|
|
229
|
-
}))), FileSystemTree.fromFilePaths(
|
|
229
|
+
}))), FileSystemTree.fromFilePaths(paths))), ignoreHidden ? FileSystemTree.filterFiles((n) => !(n.indexOf(".") === 0))(tree) : tree)), FileSystemTree.fromFilePaths([]));
|
|
230
230
|
}
|
|
231
231
|
GetAdditionalPayload(IgnoreHidden) {
|
|
232
|
-
let tree,
|
|
232
|
+
let tree, paths, array;
|
|
233
233
|
const this$ = this;
|
|
234
234
|
const ignoreHidden = defaultArg(IgnoreHidden, true);
|
|
235
235
|
const registeredPayload = ofSeq(FileSystemTree.toFilePaths()(this$.GetRegisteredPayload()), {
|
|
@@ -242,7 +242,7 @@ export class ARC {
|
|
|
242
242
|
else {
|
|
243
243
|
return tree_1;
|
|
244
244
|
}
|
|
245
|
-
}, (tree = ((
|
|
245
|
+
}, (tree = ((paths = ((array = FileSystemTree.toFilePaths()(this$._fs.Copy().Tree), array.filter((p) => !FSharpSet__Contains(registeredPayload, p)))), FileSystemTree.fromFilePaths(paths))), ignoreHidden ? FileSystemTree.filterFiles((n) => !(n.indexOf(".") === 0))(tree) : tree)), FileSystemTree.fromFilePaths([]));
|
|
246
246
|
}
|
|
247
247
|
static get DefaultContracts() {
|
|
248
248
|
return ofSeq_1([[".gitignore", gitignoreContract]], {
|
package/Contract/Contract.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Record } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library.4.1
|
|
3
|
-
import { defaultArg } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { Record } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { class_type, option_type, record_type, array_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
4
4
|
|
|
5
5
|
export class CLITool extends Record {
|
|
6
6
|
constructor(Name, Arguments) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { some } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { some } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
2
|
import { combineMany } from "../FileSystem/Path.js";
|
|
3
|
-
import { equalsWith } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { defaultOf } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { defaultOf } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
5
|
|
|
6
6
|
export function tryFromContract(c) {
|
|
7
7
|
let matchResult, fsworkbook;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { some } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { some } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
2
|
import { combineMany } from "../FileSystem/Path.js";
|
|
3
|
-
import { equalsWith } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { defaultOf } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { defaultOf } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
5
|
|
|
6
6
|
export function tryFromContract(c) {
|
|
7
7
|
let matchResult, fsworkbook;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { some } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { some } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
2
|
import { combineMany } from "../FileSystem/Path.js";
|
|
3
|
-
import { equalsWith } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { defaultOf } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { equalsWith } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { defaultOf } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
5
|
|
|
6
6
|
export function tryFromContract(c) {
|
|
7
7
|
let matchResult, fsworkbook;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Contract, CLITool } from "../Contract/Contract.js";
|
|
2
2
|
import { dgi } from "../FileSystem/DefaultGitignore.js";
|
|
3
|
-
import { class_type } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { value, defaultArg } from "../fable_modules/fable-library.4.1
|
|
5
|
-
import { replace } from "../fable_modules/fable-library.4.1
|
|
6
|
-
import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { class_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
4
|
+
import { value, defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
5
|
+
import { replace } from "../fable_modules/fable-library.4.4.1/String.js";
|
|
6
|
+
import { empty, singleton, append, delay, toArray } from "../fable_modules/fable-library.4.4.1/Seq.js";
|
|
7
7
|
|
|
8
8
|
export function gitWithArgs(arguments$) {
|
|
9
9
|
return CLITool.create("git", arguments$);
|
package/FileSystem/Commit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Record } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { record_type, class_type, string_type } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { Record } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { record_type, class_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class Commit extends Record {
|
|
5
5
|
constructor(Hash, UserName, UserEmail, Date$, Message) {
|
package/FileSystem/FileSystem.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defaultArg } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
2
|
import { FileSystemTree_$reflection, FileSystemTree } from "./FileSystemTree.js";
|
|
3
|
-
import { map, append } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { Record } from "../fable_modules/fable-library.4.1
|
|
3
|
+
import { map, append } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { Record } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
5
5
|
import { Commit_$reflection } from "./Commit.js";
|
|
6
|
-
import { record_type, array_type } from "../fable_modules/fable-library.4.1
|
|
6
|
+
import { record_type, array_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export class FileSystem extends Record {
|
|
9
9
|
constructor(Tree, History) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { unwrap, defaultArg } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { append as append_1, choose, equalsWith, tail, head, map, tryFind } from "../fable_modules/fable-library.4.1
|
|
3
|
-
import { singleton, append, delay, toArray } from "../fable_modules/fable-library.4.1
|
|
4
|
-
import { Array_distinct, Array_groupBy } from "../fable_modules/fable-library.4.1
|
|
5
|
-
import { curry2, arrayHash, stringHash } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { unwrap, defaultArg } from "../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { append as append_1, choose, equalsWith, tail, head, map, tryFind } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
3
|
+
import { singleton, append, delay, toArray } from "../fable_modules/fable-library.4.4.1/Seq.js";
|
|
4
|
+
import { Array_distinct, Array_groupBy } from "../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
5
|
+
import { curry2, arrayHash, stringHash } from "../fable_modules/fable-library.4.4.1/Util.js";
|
|
6
6
|
import { combineMany, split } from "./Path.js";
|
|
7
|
-
import { empty, reverse, toArray as toArray_1, cons } from "../fable_modules/fable-library.4.1
|
|
8
|
-
import { Union } from "../fable_modules/fable-library.4.1
|
|
9
|
-
import { union_type, array_type, string_type } from "../fable_modules/fable-library.4.1
|
|
7
|
+
import { empty, reverse, toArray as toArray_1, cons } from "../fable_modules/fable-library.4.4.1/List.js";
|
|
8
|
+
import { Union } from "../fable_modules/fable-library.4.4.1/Types.js";
|
|
9
|
+
import { union_type, array_type, string_type } from "../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
10
10
|
|
|
11
11
|
export class FileSystemTree extends Union {
|
|
12
12
|
constructor(tag, fields) {
|
|
@@ -73,9 +73,9 @@ export class FileSystemTree extends Union {
|
|
|
73
73
|
}
|
|
74
74
|
static fromFilePaths(paths) {
|
|
75
75
|
const loop = (paths_1, parent) => {
|
|
76
|
-
const files = map((
|
|
77
|
-
const
|
|
78
|
-
return FileSystemTree.createFile(
|
|
76
|
+
const files = map((arg) => {
|
|
77
|
+
const name = head(arg);
|
|
78
|
+
return FileSystemTree.createFile(name);
|
|
79
79
|
}, paths_1.filter((p) => (p.length === 1)));
|
|
80
80
|
const folders = map((tupledArg) => {
|
|
81
81
|
const parent_1 = FileSystemTree.createFolder(tupledArg[0], []);
|
|
@@ -106,8 +106,8 @@ export class FileSystemTree extends Union {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
109
|
-
const
|
|
110
|
-
void (res.push(
|
|
109
|
+
const item = combineMany(toArray_1(reverse(cons(parent.fields[0], output))));
|
|
110
|
+
void (res.push(item));
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
if (defaultArg(removeRoot, true)) {
|
|
@@ -205,11 +205,11 @@ export class FileSystemTree extends Union {
|
|
|
205
205
|
Union(otherFST) {
|
|
206
206
|
let array_1;
|
|
207
207
|
const this$ = this;
|
|
208
|
-
const
|
|
208
|
+
const paths = Array_distinct((array_1 = this$.ToFilePaths(), append_1(otherFST.ToFilePaths(), array_1)), {
|
|
209
209
|
Equals: (x, y) => (x === y),
|
|
210
210
|
GetHashCode: stringHash,
|
|
211
211
|
});
|
|
212
|
-
return FileSystemTree.fromFilePaths(
|
|
212
|
+
return FileSystemTree.fromFilePaths(paths);
|
|
213
213
|
}
|
|
214
214
|
Copy() {
|
|
215
215
|
const this$ = this;
|
package/FileSystem/Path.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { trim, join, trimStart, trimEnd, split as split_1 } from "../fable_modules/fable-library.4.1
|
|
2
|
-
import { last, mapIndexed } from "../fable_modules/fable-library.4.1
|
|
1
|
+
import { trim, join, trimStart, trimEnd, split as split_1 } from "../fable_modules/fable-library.4.4.1/String.js";
|
|
2
|
+
import { last, mapIndexed } from "../fable_modules/fable-library.4.4.1/Array.js";
|
|
3
3
|
|
|
4
4
|
export const seperators = ["/", "\\"];
|
|
5
5
|
|
package/FileSystemTree.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileSystemTree } from "./FileSystem/FileSystemTree.js";
|
|
2
|
-
import { append } from "./fable_modules/fable-library.4.1
|
|
2
|
+
import { append } from "./fable_modules/fable-library.4.4.1/Array.js";
|
|
3
3
|
|
|
4
4
|
export function createGitKeepFile() {
|
|
5
5
|
return FileSystemTree.createFile(".gitkeep");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Dictionary } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { compareArrays, safeHash, disposeSafe, getEnumerator, equals, comparePrimitives, arrayHash, equalArrays } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { value as value_9, map as map_2, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { Dictionary } from "../../../fable_modules/fable-library.4.4.1/MutableMap.js";
|
|
2
|
+
import { compareArrays, safeHash, disposeSafe, getEnumerator, equals, comparePrimitives, arrayHash, equalArrays } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
3
|
+
import { value as value_9, map as map_2, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
4
4
|
import { Unchecked_extendToRowCount, ProcessParsing_processToRows, ProcessParsing_alignByHeaders, ProcessParsing_mergeIdenticalProcesses, ProcessParsing_getProcessGetter, Unchecked_removeRowCells_withIndexChange, Unchecked_addRow, Unchecked_getEmptyCellForHeader, Unchecked_removeColumnCells_withIndexChange, tryFindDuplicateUniqueInArray, Unchecked_removeColumnCells, Unchecked_removeHeader, Unchecked_fillMissingCells, Unchecked_addColumn, tryFindDuplicateUnique, Unchecked_setCellAt, SanityChecks_validateColumn, SanityChecks_validateRowIndex, SanityChecks_validateColumnIndex, Unchecked_tryGetCellAt, getRowCount, getColumnCount } from "./ArcTableAux.js";
|
|
5
|
-
import { item, append as append_1, indexed as indexed_1, choose, toList, zip, fold, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../../fable_modules/fable-library.4.1
|
|
6
|
-
import { rangeDouble } from "../../../fable_modules/fable-library.4.1
|
|
5
|
+
import { item, append as append_1, indexed as indexed_1, choose, toList, zip, fold, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
6
|
+
import { rangeDouble } from "../../../fable_modules/fable-library.4.4.1/Range.js";
|
|
7
7
|
import { CompositeColumn } from "./CompositeColumn.js";
|
|
8
|
-
import { sortBy, indexed, mapIndexed, singleton as singleton_1, initialize, sortDescending, iterateIndexed, map as map_1 } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { append, collect as collect_1, initialize as initialize_1, singleton as singleton_2, empty as empty_1, iterate, isEmpty } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { toString } from "../../../fable_modules/fable-library.4.1
|
|
12
|
-
import { join, printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
8
|
+
import { sortBy, indexed, mapIndexed, singleton as singleton_1, initialize, sortDescending, iterateIndexed, map as map_1 } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
9
|
+
import { append, collect as collect_1, initialize as initialize_1, singleton as singleton_2, empty as empty_1, iterate, isEmpty } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
10
|
+
import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../../fable_modules/fable-library.4.4.1/System.Text.js";
|
|
11
|
+
import { toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
12
|
+
import { join, printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
13
13
|
import { CompositeCell } from "./CompositeCell.js";
|
|
14
14
|
import { CompositeHeader } from "./CompositeHeader.js";
|
|
15
15
|
import { createMissingIdentifier } from "../Identifier.js";
|
|
@@ -18,12 +18,12 @@ import { Protocol_create_Z7DFD6E67, Protocol_addComponent, Protocol_addParameter
|
|
|
18
18
|
import { OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
|
|
19
19
|
import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
|
|
20
20
|
import { Component_create_61502994 } from "../JsonTypes/Component.js";
|
|
21
|
-
import { Array_groupBy, List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
21
|
+
import { Array_groupBy, List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
22
22
|
import { toProtocol } from "./CompositeRow.js";
|
|
23
23
|
import { Process_create_Z42860F3E } from "../JsonTypes/Process.js";
|
|
24
|
-
import { getItemFromDict } from "../../../fable_modules/fable-library.4.1
|
|
24
|
+
import { getItemFromDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
25
25
|
import { HashCodes_boxHashArray } from "../Helper.js";
|
|
26
|
-
import { class_type } from "../../../fable_modules/fable-library.4.1
|
|
26
|
+
import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
27
27
|
|
|
28
28
|
export class ArcTable {
|
|
29
29
|
constructor(name, headers, values) {
|
|
@@ -587,27 +587,27 @@ export class ArcTable {
|
|
|
587
587
|
}
|
|
588
588
|
AddProtocolTypeColumn(types, index) {
|
|
589
589
|
const this$ = this;
|
|
590
|
-
const cells = map_2((array) => map_1((
|
|
590
|
+
const cells = map_2((array) => map_1((Item) => (new CompositeCell(0, [Item])), array), types);
|
|
591
591
|
this$.AddColumn(new CompositeHeader(4, []), cells, index);
|
|
592
592
|
}
|
|
593
593
|
AddProtocolVersionColumn(versions, index) {
|
|
594
594
|
const this$ = this;
|
|
595
|
-
const cells = map_2((array) => map_1((
|
|
595
|
+
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), versions);
|
|
596
596
|
this$.AddColumn(new CompositeHeader(7, []), cells, index);
|
|
597
597
|
}
|
|
598
598
|
AddProtocolUriColumn(uris, index) {
|
|
599
599
|
const this$ = this;
|
|
600
|
-
const cells = map_2((array) => map_1((
|
|
600
|
+
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), uris);
|
|
601
601
|
this$.AddColumn(new CompositeHeader(6, []), cells, index);
|
|
602
602
|
}
|
|
603
603
|
AddProtocolDescriptionColumn(descriptions, index) {
|
|
604
604
|
const this$ = this;
|
|
605
|
-
const cells = map_2((array) => map_1((
|
|
605
|
+
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), descriptions);
|
|
606
606
|
this$.AddColumn(new CompositeHeader(5, []), cells, index);
|
|
607
607
|
}
|
|
608
608
|
AddProtocolNameColumn(names, index) {
|
|
609
609
|
const this$ = this;
|
|
610
|
-
const cells = map_2((array) => map_1((
|
|
610
|
+
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), names);
|
|
611
611
|
this$.AddColumn(new CompositeHeader(8, []), cells, index);
|
|
612
612
|
}
|
|
613
613
|
GetProtocolTypeColumn() {
|
|
@@ -732,8 +732,8 @@ export class ArcTable {
|
|
|
732
732
|
static SplitByColumnValues(columnIndex) {
|
|
733
733
|
return (table) => mapIndexed((i, indexGroup) => {
|
|
734
734
|
let headers;
|
|
735
|
-
const
|
|
736
|
-
headers = Array.from(
|
|
735
|
+
const collection = table.Headers;
|
|
736
|
+
headers = Array.from(collection);
|
|
737
737
|
const rows = map_1((i_1) => table.GetRow(i_1), indexGroup);
|
|
738
738
|
return ArcTable.createFromRows(table.Name, headers, rows);
|
|
739
739
|
}, map_1((tupledArg) => map_1((tuple_1) => tuple_1[0], tupledArg[1], Int32Array), Array_groupBy((tuple) => tuple[1], indexed(table.GetColumn(columnIndex).Cells), {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { getItemFromDict, addToDict } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { map as map_1, defaultArg, unwrap, value as value_9, some } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { empty as empty_2, singleton as singleton_1, append, delay, map, tryPick, toList, indexed, initialize, filter, tryFindIndex, maxBy } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { arrayHash, equalArrays, stringHash, int32ToString, compareArrays, disposeSafe, getEnumerator, compare, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { pick, exists, zip, append as append_1, sortBy, tryPick as tryPick_1, collect, mapIndexed, item, length, map as map_2, ofArray, singleton, choose, ofSeq, empty as empty_1, head, tail as tail_1, isEmpty, cons } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { getItemFromDict, addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
2
|
+
import { map as map_1, defaultArg, unwrap, value as value_9, some } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
3
|
+
import { empty as empty_2, singleton as singleton_1, append, delay, map, tryPick, toList, indexed, initialize, filter, tryFindIndex, maxBy } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
4
|
+
import { arrayHash, equalArrays, stringHash, int32ToString, compareArrays, disposeSafe, getEnumerator, compare, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
|
+
import { pick, exists, zip, append as append_1, sortBy, tryPick as tryPick_1, collect, mapIndexed, item, length, map as map_2, ofArray, singleton, choose, ofSeq, empty as empty_1, head, tail as tail_1, isEmpty, cons } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
6
6
|
import { CompositeCell } from "./CompositeCell.js";
|
|
7
|
-
import { max } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { iterateIndexed } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { FSharpSet__get_MinimumElement, FSharpSet__get_IsEmpty, difference, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { Value_fromString_Z721C83C5, Value } from "../JsonTypes/Value.js";
|
|
7
|
+
import { max } from "../../../fable_modules/fable-library.4.4.1/Double.js";
|
|
8
|
+
import { iterateIndexed } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
9
|
+
import { FSharpSet__get_MinimumElement, FSharpSet__get_IsEmpty, difference, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.4.1/Set.js";
|
|
10
|
+
import { Value_fromString_Z721C83C5, Value as Value_1 } from "../JsonTypes/Value.js";
|
|
11
11
|
import { Component_fromOptions } from "../JsonTypes/Component.js";
|
|
12
12
|
import { ProcessParameterValue_create_569825F3 } from "../JsonTypes/ProcessParameterValue.js";
|
|
13
13
|
import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
|
|
14
14
|
import { FactorValue_create_18335379 } from "../JsonTypes/FactorValue.js";
|
|
15
15
|
import { Factor } from "../JsonTypes/Factor.js";
|
|
16
|
-
import { toString } from "../../../fable_modules/fable-library.4.1
|
|
16
|
+
import { toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
17
17
|
import { MaterialAttributeValue_create_7F714043 } from "../JsonTypes/MaterialAttributeValue.js";
|
|
18
18
|
import { MaterialAttribute_create_Z6C54B221 } from "../JsonTypes/MaterialAttribute.js";
|
|
19
19
|
import { ProcessInput_getCharacteristicValues_102B6859, ProcessInput__isMaterial, ProcessInput__isData, ProcessInput_setCharacteristicValues, ProcessInput__get_Name, ProcessInput__isSource, ProcessInput__isSample, ProcessInput, ProcessInput_createDerivedData_Z721C83C5, ProcessInput_createRawData_Z721C83C5, ProcessInput_createImageFile_Z721C83C5, ProcessInput_createMaterial_2363974C, ProcessInput_createSample_Z6DF16D07, ProcessInput_createSource_7888CE42 } from "../JsonTypes/ProcessInput.js";
|
|
20
|
-
import { remove, printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
20
|
+
import { remove, printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
21
21
|
import { ProcessOutput_getFactorValues_11830B70, ProcessOutput__isMaterial, ProcessOutput__isData, ProcessOutput_setFactorValues, ProcessOutput__get_Name, ProcessOutput__isSample, ProcessOutput, ProcessOutput_createDerivedData_Z721C83C5, ProcessOutput_createRawData_Z721C83C5, ProcessOutput_createImageFile_Z721C83C5, ProcessOutput_createMaterial_2363974C, ProcessOutput_createSample_Z6DF16D07 } from "../JsonTypes/ProcessOutput.js";
|
|
22
22
|
import { IOType, CompositeHeader } from "./CompositeHeader.js";
|
|
23
23
|
import { tryGetFactorColumnIndex, tryGetCharacteristicColumnIndex, tryGetComponentIndex, tryGetParameterColumnIndex, ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4 } from "../JsonTypes/ColumnIndex.js";
|
|
@@ -26,9 +26,9 @@ import { Sample_create_E50ED22 } from "../JsonTypes/Sample.js";
|
|
|
26
26
|
import { Process_create_Z42860F3E, Process_decomposeName_Z721C83C5, Process_make, Process_composeName } from "../JsonTypes/Process.js";
|
|
27
27
|
import { List_tryPickAndRemove, Option_fromValueWithDefault } from "../Helper.js";
|
|
28
28
|
import { Protocol_make } from "../JsonTypes/Protocol.js";
|
|
29
|
-
import { List_groupBy } from "../../../fable_modules/fable-library.4.1
|
|
29
|
+
import { List_groupBy } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
30
30
|
import { createMissingIdentifier } from "../Identifier.js";
|
|
31
|
-
import { Dictionary } from "../../../fable_modules/fable-library.4.1
|
|
31
|
+
import { Dictionary } from "../../../fable_modules/fable-library.4.4.1/MutableMap.js";
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Returns the dictionary with the binding added to the given dictionary.
|
|
@@ -418,7 +418,7 @@ export function Unchecked_addRow(index, newCells, headers, values) {
|
|
|
418
418
|
export function JsonTypes_valueOfCell(value) {
|
|
419
419
|
switch (value.tag) {
|
|
420
420
|
case 0:
|
|
421
|
-
return [new
|
|
421
|
+
return [new Value_1(0, [value.fields[0]]), void 0];
|
|
422
422
|
case 2:
|
|
423
423
|
return [Value_fromString_Z721C83C5(value.fields[0]), value.fields[1]];
|
|
424
424
|
default:
|
|
@@ -568,7 +568,7 @@ export function JsonTypes_composeProcessOutput(header, value) {
|
|
|
568
568
|
* Convert an ISA Value and Unit tuple to a CompositeCell
|
|
569
569
|
*/
|
|
570
570
|
export function JsonTypes_cellOfValue(value, unit) {
|
|
571
|
-
const value_2 = defaultArg(value, new
|
|
571
|
+
const value_2 = defaultArg(value, new Value_1(3, [""]));
|
|
572
572
|
switch (value_2.tag) {
|
|
573
573
|
case 3:
|
|
574
574
|
if (unit != null) {
|
|
@@ -1017,7 +1017,7 @@ export function ProcessParsing_processToRows(p) {
|
|
|
1017
1017
|
return void 0;
|
|
1018
1018
|
}
|
|
1019
1019
|
}, ios), head(ios)[1]);
|
|
1020
|
-
const vals = map_2((tuple_5) => tuple_5[0], sortBy((
|
|
1020
|
+
const vals = map_2((tuple_5) => tuple_5[0], sortBy((arg) => defaultArg(arg[1], 10000), append_1(chars, append_1(components, append_1(pvs, map_2((fv) => [JsonTypes_decomposeFactorValue(fv), tryGetFactorColumnIndex(fv)], ProcessOutput_getFactorValues_11830B70(outputForFactors))))), {
|
|
1021
1021
|
Compare: comparePrimitives,
|
|
1022
1022
|
}));
|
|
1023
1023
|
return toList(delay(() => append(singleton_1(JsonTypes_decomposeProcessInput(inputForType)), delay(() => append(protVals, delay(() => append(vals, delay(() => singleton_1(JsonTypes_decomposeProcessOutput(outputForType))))))))));
|
|
@@ -1053,7 +1053,7 @@ export function ProcessParsing_alignByHeaders(keepOrder, rows) {
|
|
|
1053
1053
|
loop:
|
|
1054
1054
|
while (true) {
|
|
1055
1055
|
const colI = colI_mut, rows_2 = rows_2_mut;
|
|
1056
|
-
if (!exists((
|
|
1056
|
+
if (!exists((arg) => !isEmpty(arg), rows_2)) {
|
|
1057
1057
|
return [headers, values];
|
|
1058
1058
|
}
|
|
1059
1059
|
else {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { append, toArray, reduce, choose, map as map_1, delay, toList, length, findIndex, tryFindIndex } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { append, toArray, reduce, choose, map as map_1, delay, toList, length, findIndex, tryFindIndex } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
2
2
|
import { Dict_tryFind } from "../Helper.js";
|
|
3
|
-
import { addToSet, addToDict } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { toIterator, equals, comparePrimitives, stringHash, compare, disposeSafe, getEnumerator } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { bind, map as map_3, unwrap, defaultArg, value as value_2 } from "../../../fable_modules/fable-library.4.1
|
|
6
|
-
import { collect as collect_1, map as map_4, insertRangeInPlace, fold } from "../../../fable_modules/fable-library.4.1
|
|
3
|
+
import { addToSet, addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
4
|
+
import { toIterator, equals, comparePrimitives, stringHash, compare, disposeSafe, getEnumerator } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
|
+
import { bind, map as map_3, unwrap, defaultArg, value as value_2 } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
6
|
+
import { collect as collect_1, map as map_4, insertRangeInPlace, fold } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
7
7
|
import { CompositeHeader } from "./CompositeHeader.js";
|
|
8
|
-
import { Array_groupBy, distinct } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { FSharpSet__get_IsEmpty, ofSeq, intersect } from "../../../fable_modules/fable-library.4.1
|
|
8
|
+
import { Array_groupBy, distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
9
|
+
import { FSharpSet__get_IsEmpty, ofSeq, intersect } from "../../../fable_modules/fable-library.4.4.1/Set.js";
|
|
10
10
|
import { ArcTable } from "./ArcTable.js";
|
|
11
|
-
import { map as map_2, collect } from "../../../fable_modules/fable-library.4.1
|
|
11
|
+
import { map as map_2, collect } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
12
12
|
import { Unchecked_fillMissingCells, ProcessParsing_groupProcesses, ProcessParsing_processToRows, ProcessParsing_alignByHeaders } from "./ArcTableAux.js";
|
|
13
|
-
import { tryFind, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.1
|
|
14
|
-
import { class_type } from "../../../fable_modules/fable-library.4.1
|
|
13
|
+
import { tryFind, ofSeq as ofSeq_1 } from "../../../fable_modules/fable-library.4.4.1/Map.js";
|
|
14
|
+
import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* If a table with the given name exists in the TableList, returns it, else returns None.
|
|
@@ -256,8 +256,8 @@ export class ArcTables {
|
|
|
256
256
|
}
|
|
257
257
|
GetTable(name) {
|
|
258
258
|
const this$ = this;
|
|
259
|
-
const
|
|
260
|
-
return this$.GetTableAt(
|
|
259
|
+
const index = ArcTablesAux_findIndexByTableName(name, this$.Tables) | 0;
|
|
260
|
+
return this$.GetTableAt(index);
|
|
261
261
|
}
|
|
262
262
|
UpdateTableAt(index, table) {
|
|
263
263
|
const this$ = this;
|
|
@@ -294,8 +294,8 @@ export class ArcTables {
|
|
|
294
294
|
}
|
|
295
295
|
RemoveTable(name) {
|
|
296
296
|
const this$ = this;
|
|
297
|
-
const
|
|
298
|
-
this$.RemoveTableAt(
|
|
297
|
+
const index = ArcTablesAux_findIndexByTableName(name, this$.Tables) | 0;
|
|
298
|
+
this$.RemoveTableAt(index);
|
|
299
299
|
}
|
|
300
300
|
MapTableAt(index, updateFun) {
|
|
301
301
|
const this$ = this;
|
|
@@ -413,23 +413,23 @@ export class ArcTables {
|
|
|
413
413
|
return new ArcTables(Array.from(tables));
|
|
414
414
|
}
|
|
415
415
|
static fromProcesses(ps) {
|
|
416
|
-
let
|
|
417
|
-
return new ArcTables((
|
|
416
|
+
let collection;
|
|
417
|
+
return new ArcTables((collection = map_2((tupledArg) => {
|
|
418
418
|
const tupledArg_1 = ProcessParsing_alignByHeaders(true, collect(ProcessParsing_processToRows, tupledArg[1]));
|
|
419
419
|
return ArcTable.create(tupledArg[0], tupledArg_1[0], tupledArg_1[1]);
|
|
420
|
-
}, ProcessParsing_groupProcesses(ps)), Array.from(
|
|
420
|
+
}, ProcessParsing_groupProcesses(ps)), Array.from(collection)));
|
|
421
421
|
}
|
|
422
422
|
static updateReferenceTablesBySheets(referenceTables, sheetTables, keepUnusedRefTables) {
|
|
423
|
-
let
|
|
423
|
+
let collection, s, array;
|
|
424
424
|
const keepUnusedRefTables_1 = defaultArg(keepUnusedRefTables, false);
|
|
425
425
|
const usedTables = new Set([]);
|
|
426
426
|
const referenceTableMap = ofSeq_1(choose((t) => map_3((c) => [c.Cells[0].AsFreeText, t], t.TryGetProtocolNameColumn()), referenceTables.Tables), {
|
|
427
427
|
Compare: comparePrimitives,
|
|
428
428
|
});
|
|
429
|
-
return new ArcTables((
|
|
429
|
+
return new ArcTables((collection = ((s = map_4((t_3) => {
|
|
430
430
|
Unchecked_fillMissingCells(t_3.Headers, t_3.Values);
|
|
431
431
|
return t_3;
|
|
432
|
-
}, map_4((tupledArg) => reduce((
|
|
432
|
+
}, map_4((tupledArg) => reduce((table, table_1) => ArcTable.append(table, table_1), tupledArg[1]), Array_groupBy((t_2) => t_2.Name, map_4((t_1) => {
|
|
433
433
|
const k = defaultArg(bind((c_1) => {
|
|
434
434
|
if (c_1.AsFreeText === "") {
|
|
435
435
|
return void 0;
|
|
@@ -458,7 +458,7 @@ export class ArcTables {
|
|
|
458
458
|
else {
|
|
459
459
|
return kv[1];
|
|
460
460
|
}
|
|
461
|
-
}, referenceTableMap), s) : s)), Array.from(
|
|
461
|
+
}, referenceTableMap), s) : s)), Array.from(collection)));
|
|
462
462
|
}
|
|
463
463
|
GetEnumerator() {
|
|
464
464
|
const this$ = this;
|