@nfdi4plants/arctrl 2.0.0 → 2.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARC.js +25 -25
- package/Contract/ARC.js +1 -1
- package/Contract/ArcAssay.js +6 -6
- package/Contract/ArcInvestigation.js +4 -4
- package/Contract/ArcStudy.js +6 -6
- package/Contract/Contract.js +6 -6
- package/Contract/Datamap.js +5 -5
- package/Contract/Git.js +6 -6
- package/Contract/ValidationPackagesConfig.js +5 -5
- package/Core/ArcTypes.js +17 -17
- package/Core/Comment.js +16 -9
- package/Core/CommentList.js +6 -6
- package/Core/Conversion.js +64 -64
- package/Core/Data.js +11 -11
- package/Core/DataContext.js +4 -4
- package/Core/DataFile.js +2 -2
- package/Core/DataMap.js +4 -4
- package/Core/Helper/Collections.js +11 -11
- package/Core/Helper/HashCodes.js +5 -5
- package/Core/Helper/Identifier.js +9 -9
- package/Core/Helper/Regex.js +38 -38
- package/Core/Helper/SemVer.js +8 -8
- package/Core/OntologyAnnotation.js +11 -11
- package/Core/OntologySourceReference.js +4 -4
- package/Core/Person.js +11 -11
- package/Core/Process/ColumnIndex.js +7 -7
- package/Core/Process/Component.js +10 -10
- package/Core/Process/Factor.js +6 -6
- package/Core/Process/FactorValue.js +10 -10
- package/Core/Process/Material.js +5 -5
- package/Core/Process/MaterialAttribute.js +4 -4
- package/Core/Process/MaterialAttributeValue.js +10 -10
- package/Core/Process/MaterialType.js +2 -2
- package/Core/Process/Process.js +19 -19
- package/Core/Process/ProcessInput.js +16 -16
- package/Core/Process/ProcessOutput.js +16 -16
- package/Core/Process/ProcessParameterValue.js +10 -10
- package/Core/Process/ProcessSequence.js +6 -6
- package/Core/Process/Protocol.js +5 -5
- package/Core/Process/ProtocolParameter.js +4 -4
- package/Core/Process/Sample.js +5 -5
- package/Core/Process/Source.js +5 -5
- package/Core/Publication.js +10 -10
- package/Core/Table/ArcTable.js +35 -28
- package/Core/Table/ArcTableAux.js +22 -22
- package/Core/Table/ArcTables.js +14 -14
- package/Core/Table/CompositeCell.js +6 -6
- package/Core/Table/CompositeColumn.js +5 -5
- package/Core/Table/CompositeHeader.js +9 -9
- package/Core/Template.js +7 -7
- package/Core/Templates.js +8 -8
- package/Core/Value.js +11 -11
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +14 -14
- package/FileSystem/Path.js +11 -3
- package/Json/ARC.js +21 -15
- package/Json/Assay.js +108 -169
- package/Json/Comment.js +84 -122
- package/Json/ConverterOptions.js +2 -2
- package/Json/Data.js +100 -107
- package/Json/DataFile.js +22 -57
- package/Json/DataMap/DataContext.js +25 -16
- package/Json/DataMap/DataMap.js +11 -7
- package/Json/Decode.js +11 -14
- package/Json/Encode.js +24 -13
- package/Json/IDTable.js +14 -3
- package/Json/Investigation.js +194 -176
- package/Json/OntologyAnnotation.js +113 -127
- package/Json/OntologySourceReference.js +93 -111
- package/Json/Person.js +204 -135
- package/Json/Process/AssayMaterials.js +12 -14
- package/Json/Process/Component.js +23 -68
- package/Json/Process/Factor.js +28 -46
- package/Json/Process/FactorValue.js +28 -50
- package/Json/Process/Material.js +56 -83
- package/Json/Process/MaterialAttribute.js +23 -45
- package/Json/Process/MaterialAttributeValue.js +28 -71
- package/Json/Process/MaterialType.js +17 -35
- package/Json/Process/Process.js +70 -85
- package/Json/Process/ProcessInput.js +18 -45
- package/Json/Process/ProcessOutput.js +15 -63
- package/Json/Process/ProcessParameterValue.js +21 -70
- package/Json/Process/Protocol.js +80 -83
- package/Json/Process/ProtocolParameter.js +23 -44
- package/Json/Process/Sample.js +66 -93
- package/Json/Process/Source.js +54 -81
- package/Json/Process/StudyMaterials.js +13 -15
- package/Json/Process/Value.js +19 -29
- package/Json/PropertyValue.js +86 -28
- package/Json/Publication.js +92 -115
- package/Json/ROCrateObject.js +146 -0
- package/Json/StringTable.js +27 -10
- package/Json/Study.js +193 -182
- package/Json/Table/ArcTable.js +119 -115
- package/Json/Table/CellTable.js +24 -11
- package/Json/Table/CompositeCell.js +40 -41
- package/Json/Table/CompositeHeader.js +24 -36
- package/Json/Table/IOType.js +9 -31
- package/Json/Table/OATable.js +23 -10
- package/Json/Table/Templates.js +82 -90
- package/Json/context/rocrate/isa_assay_context.js +60 -4
- package/Json/context/rocrate/isa_comment_context.js +28 -4
- package/Json/context/rocrate/isa_component_context.js +44 -4
- package/Json/context/rocrate/isa_data_context.js +40 -4
- package/Json/context/rocrate/isa_factor_context.js +40 -4
- package/Json/context/rocrate/isa_factor_value_context.js +52 -4
- package/Json/context/rocrate/isa_investigation_context.js +68 -4
- package/Json/context/rocrate/isa_material_attribute_context.js +32 -4
- package/Json/context/rocrate/isa_material_attribute_value_context.js +48 -4
- package/Json/context/rocrate/isa_material_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_annotation_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +40 -4
- package/Json/context/rocrate/isa_organization_context.js +24 -4
- package/Json/context/rocrate/isa_person_context.js +85 -5
- package/Json/context/rocrate/isa_process_context.js +56 -4
- package/Json/context/rocrate/isa_process_parameter_value_context.js +48 -4
- package/Json/context/rocrate/isa_protocol_context.js +60 -4
- package/Json/context/rocrate/isa_protocol_parameter_context.js +32 -4
- package/Json/context/rocrate/isa_publication_context.js +44 -4
- package/Json/context/rocrate/isa_sample_context.js +32 -4
- package/Json/context/rocrate/isa_source_context.js +32 -4
- package/Json/context/rocrate/isa_study_context.js +72 -4
- package/Json/context/rocrate/property_value_context.js +58 -2
- package/Json/context/rocrate/rocrate_context.js +45 -5
- package/Json.js +12 -12
- package/JsonIO/ARC.js +31 -0
- package/JsonIO/Assay.js +99 -0
- package/JsonIO/Comment.js +73 -0
- package/JsonIO/Data.js +50 -0
- package/JsonIO/DataFile.js +49 -0
- package/JsonIO/DataMap/DataMap.js +29 -0
- package/JsonIO/Decode.js +4 -0
- package/JsonIO/Investigation.js +99 -0
- package/JsonIO/OntologyAnnotation.js +73 -0
- package/JsonIO/OntologySourceReference.js +73 -0
- package/JsonIO/Person.js +74 -0
- package/JsonIO/Process/Component.js +50 -0
- package/JsonIO/Process/Factor.js +28 -0
- package/JsonIO/Process/FactorValue.js +29 -0
- package/JsonIO/Process/Material.js +50 -0
- package/JsonIO/Process/MaterialAttribute.js +29 -0
- package/JsonIO/Process/MaterialAttributeValue.js +50 -0
- package/JsonIO/Process/MaterialType.js +28 -0
- package/JsonIO/Process/Process.js +50 -0
- package/JsonIO/Process/ProcessInput.js +29 -0
- package/JsonIO/Process/ProcessOutput.js +50 -0
- package/JsonIO/Process/ProcessParameterValue.js +50 -0
- package/{Json → JsonIO}/Process/ProcessSequence.js +16 -16
- package/JsonIO/Process/Protocol.js +50 -0
- package/JsonIO/Process/ProtocolParameter.js +28 -0
- package/JsonIO/Process/Sample.js +50 -0
- package/JsonIO/Process/Source.js +50 -0
- package/JsonIO/Process/StudyMaterials.js +22 -0
- package/JsonIO/Process/Value.js +23 -0
- package/JsonIO/Publication.js +74 -0
- package/JsonIO/ROCrateObject.js +146 -0
- package/JsonIO/Study.js +99 -0
- package/JsonIO/Table/ArcTable.js +82 -0
- package/JsonIO/Table/CompositeCell.js +28 -0
- package/JsonIO/Table/CompositeHeader.js +28 -0
- package/{Json → JsonIO}/Table/Compression.js +20 -10
- package/JsonIO/Table/IOType.js +28 -0
- package/JsonIO/Table/Templates.js +88 -0
- package/ROCrate/ISAProfile/Assay.js +32 -0
- package/ROCrate/ISAProfile/Data.js +28 -0
- package/ROCrate/ISAProfile/Dataset.js +18 -0
- package/ROCrate/ISAProfile/Investigation.js +35 -0
- package/ROCrate/ISAProfile/LabProcess.js +32 -0
- package/ROCrate/ISAProfile/LabProtocol.js +33 -0
- package/ROCrate/ISAProfile/Person.js +35 -0
- package/ROCrate/ISAProfile/PropertyValue.js +30 -0
- package/ROCrate/ISAProfile/Sample.js +27 -0
- package/ROCrate/ISAProfile/ScholarlyArticle.js +30 -0
- package/ROCrate/ISAProfile/Study.js +35 -0
- package/ROCrate/ROCrateObject.js +61 -0
- package/Spreadsheet/AnnotationTable/ArcTable.js +16 -16
- package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +25 -25
- package/Spreadsheet/ArcAssay.js +9 -9
- package/Spreadsheet/ArcInvestigation.js +14 -14
- package/Spreadsheet/ArcStudy.js +7 -7
- package/Spreadsheet/CollectionAux.js +11 -11
- package/Spreadsheet/DataMap.js +3 -3
- package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
- package/Spreadsheet/DataMapTable/DataMapHeader.js +23 -23
- package/Spreadsheet/DataMapTable/DataMapTable.js +13 -13
- package/Spreadsheet/Metadata/Assays.js +11 -11
- package/Spreadsheet/Metadata/Comment.js +5 -5
- package/Spreadsheet/Metadata/Contacts.js +7 -7
- package/Spreadsheet/Metadata/Conversions.js +7 -7
- package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/Spreadsheet/Metadata/Factors.js +8 -8
- package/Spreadsheet/Metadata/OntologyAnnotation.js +6 -6
- package/Spreadsheet/Metadata/OntologySourceReference.js +6 -6
- package/Spreadsheet/Metadata/Protocols.js +9 -9
- package/Spreadsheet/Metadata/Publication.js +7 -7
- package/Spreadsheet/Metadata/SparseTable.js +21 -21
- package/Spreadsheet/Metadata/Study.js +12 -12
- package/Spreadsheet/Template.js +21 -21
- package/Template.Web.js +6 -6
- package/ValidationPackages/ValidationPackage.js +6 -6
- package/ValidationPackages/ValidationPackagesConfig.js +9 -9
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +9 -9
- package/Yaml/Encode.js +1 -1
- package/Yaml/ValidationPackage.js +5 -5
- package/Yaml/ValidationPackagesConfig.js +5 -5
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs +219 -0
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs.js +209 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fableproj +47 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs +310 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs.js +166 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs +162 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs.js +141 -0
- package/fable_modules/DynamicObj.4.0.0/FablePy.fs +215 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs +46 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs.js +43 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs +33 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs.js +21 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs +72 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs.js +86 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0/obj/Release → DynamicObj.4.0.0/obj/Debug}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1/obj/Debug → DynamicObj.4.0.0/obj/Release}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +6 -6
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +11 -11
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs.js +15 -15
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Operators.fs.js +6 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsSpreadsheet.fableproj +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs.js +11 -11
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Cell.fs.js +64 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Column.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Row.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Table.fs.js +30 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs.js +38 -13
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Workbook.fs.js +46 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js +33 -8
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs.js +2 -2
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs +67 -28
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs.js +79 -50
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Encode.fs +139 -54
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +192 -0
- package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +33 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs +12 -5
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs.js +2 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs +9 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs.js +16 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Encode.fs +13 -5
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +58 -0
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +28 -0
- package/fable_modules/YAMLicious.0.0.1/Decode.fs.js +17 -17
- package/fable_modules/YAMLicious.0.0.1/Encode.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Library.fs.js +1 -1
- package/fable_modules/YAMLicious.0.0.1/Persil.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/Preprocessing.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Reader.fs.js +9 -9
- package/fable_modules/YAMLicious.0.0.1/RegexActivePatterns.fs.js +36 -36
- package/fable_modules/YAMLicious.0.0.1/Writer.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/YAMLiciousTypes.fs.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.js +10 -10
- package/fable_modules/fable-library-js.4.22.0/Async.d.ts +27 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Async.js +1 -7
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.d.ts +13 -13
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.js +4 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/CHANGELOG.md +40 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.js +4 -5
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.js +31 -31
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.js +10 -10
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.js +4 -4
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.js +47 -48
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.js +3 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.js +17 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.d.ts +2 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.js +19 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/FsSpreadsheet.6.2.0/DSL/Operators.fs.js +0 -6
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Cell.fs.js +0 -38
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Column.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Row.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Table.fs.js +0 -15
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Workbook.fs.js +0 -35
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +0 -113
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +0 -28
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs +0 -20
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +0 -45
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +0 -21
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -18
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -19
- package/fable_modules/fable-library-js.4.16.0/Async.d.ts +0 -32
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Cell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Column.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Row.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Table.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Workbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.d.ts +0 -0
package/Core/Conversion.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { remove, toFail,
|
|
1
|
+
import { remove, toFail, printf, toText } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
2
2
|
import { Comment$ } from "./Comment.js";
|
|
3
|
-
import { zip as zip_1, fold, empty as empty_1, singleton as singleton_1, append, delay, map as map_1, filter, toList, indexed, tryPick, choose } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { unwrap, value as value_10, map, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
3
|
+
import { zip as zip_1, fold, empty as empty_1, singleton as singleton_1, append, delay, map as map_1, filter, toList, indexed, tryPick, choose } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
4
|
+
import { unwrap, value as value_10, map, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
5
5
|
import { Option_fromValueWithDefault, ResizeArray_filter } from "./Helper/Collections.js";
|
|
6
6
|
import { Value as Value_2 } from "./Value.js";
|
|
7
7
|
import { Component_create_Z2F0B38C7 } from "./Process/Component.js";
|
|
@@ -9,29 +9,29 @@ import { ProtocolParameter } from "./Process/ProtocolParameter.js";
|
|
|
9
9
|
import { ProcessParameterValue } from "./Process/ProcessParameterValue.js";
|
|
10
10
|
import { FactorValue_create_30BDC49 } from "./Process/FactorValue.js";
|
|
11
11
|
import { Factor } from "./Process/Factor.js";
|
|
12
|
-
import { toString } from "../fable_modules/fable-library-js.4.
|
|
12
|
+
import { toString } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
13
13
|
import { MaterialAttributeValue_create_ZE1D108D } from "./Process/MaterialAttributeValue.js";
|
|
14
14
|
import { MaterialAttribute_create_A220A8A } from "./Process/MaterialAttribute.js";
|
|
15
15
|
import { ProcessInput_getCharacteristicValues_5B3D5BA9, ProcessInput__isMaterial, ProcessInput__isData, ProcessInput_setCharacteristicValues, ProcessInput__get_Name, ProcessInput__isSource, ProcessInput__isSample, ProcessInput, ProcessInput_createSource_Z5E00540E, ProcessInput_createRawData_Z721C83C5, ProcessInput_createMaterial_4452CB4C, ProcessInput_createSample_Z598187B7 } from "./Process/ProcessInput.js";
|
|
16
16
|
import { ProcessOutput_getFactorValues_Z42C11600, ProcessOutput__isMaterial, ProcessOutput__isData, ProcessOutput_setFactorValues, ProcessOutput__get_Name, ProcessOutput__isSample, ProcessOutput, ProcessOutput_createRawData_Z721C83C5, ProcessOutput_createMaterial_4452CB4C, ProcessOutput_createSample_Z598187B7 } from "./Process/ProcessOutput.js";
|
|
17
17
|
import { CompositeCell } from "./Table/CompositeCell.js";
|
|
18
18
|
import { OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
19
|
-
import { safeHash, equals, disposeSafe, getEnumerator, comparePrimitives, arrayHash, equalArrays, stringHash, int32ToString } from "../fable_modules/fable-library-js.4.
|
|
19
|
+
import { safeHash, equals, disposeSafe, getEnumerator, comparePrimitives, arrayHash, equalArrays, stringHash, int32ToString } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
20
20
|
import { IOType, CompositeHeader } from "./Table/CompositeHeader.js";
|
|
21
21
|
import { ActivePatterns_$007CRegex$007C_$007C } from "./Helper/Regex.js";
|
|
22
22
|
import { ARCtrl_Process_Component__Component_TryGetColumnIndex, ARCtrl_Process_ProtocolParameter__ProtocolParameter_TryGetColumnIndex, tryGetFactorColumnIndex, tryGetCharacteristicColumnIndex, tryGetComponentIndex, tryGetParameterColumnIndex, ARCtrl_OntologyAnnotation__OntologyAnnotation_setColumnIndex_Static, ARCtrl_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4 } from "./Process/ColumnIndex.js";
|
|
23
|
-
import { getItemFromDict } from "../fable_modules/fable-library-js.4.
|
|
24
|
-
import { initialize, zip, append as append_1, sortBy, head, tryPick as tryPick_1, collect, mapIndexed, item, map as map_2, empty, length, ofArray, isEmpty, singleton, choose as choose_1 } from "../fable_modules/fable-library-js.4.
|
|
23
|
+
import { getItemFromDict } from "../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
24
|
+
import { initialize, zip, append as append_1, sortBy, head, tryPick as tryPick_1, collect, mapIndexed, item, map as map_2, empty, length, ofArray, isEmpty, singleton, choose as choose_1 } from "../fable_modules/fable-library-js.4.22.0/List.js";
|
|
25
25
|
import { Source_create_Z5CA08497 } from "./Process/Source.js";
|
|
26
26
|
import { Sample_create_62424AD2 } from "./Process/Sample.js";
|
|
27
27
|
import { Process_create_Z7C1F7FA9, Process_decomposeName_Z721C83C5, Process_make, Process_composeName } from "./Process/Process.js";
|
|
28
28
|
import { Protocol_create_Z414665E7, Protocol_addComponent, Protocol_addParameter, Protocol_setName, Protocol_setDescription, Protocol_setUri, Protocol_setVersion, Protocol_setProtocolType, Protocol_make } from "./Process/Protocol.js";
|
|
29
|
-
import { List_distinct, List_groupBy } from "../fable_modules/fable-library-js.4.
|
|
29
|
+
import { List_distinct, List_groupBy } from "../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
30
30
|
import { createMissingIdentifier } from "./Helper/Identifier.js";
|
|
31
31
|
import { boxHashSeq, boxHashOption } from "./Helper/HashCodes.js";
|
|
32
32
|
import { ArcTable } from "./Table/ArcTable.js";
|
|
33
|
-
import { singleton as singleton_2 } from "../fable_modules/fable-library-js.4.
|
|
34
|
-
import { rangeDouble } from "../fable_modules/fable-library-js.4.
|
|
33
|
+
import { singleton as singleton_2 } from "../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
34
|
+
import { rangeDouble } from "../fable_modules/fable-library-js.4.22.0/Range.js";
|
|
35
35
|
import { Unchecked_alignByHeaders } from "./Table/ArcTableAux.js";
|
|
36
36
|
import { ArcTables } from "./Table/ArcTables.js";
|
|
37
37
|
|
|
@@ -56,11 +56,11 @@ export function Person_setSourceAssayComment(person, assayIdentifier) {
|
|
|
56
56
|
*/
|
|
57
57
|
export function Person_getSourceAssayIdentifiersFromComments(person) {
|
|
58
58
|
return choose((c) => {
|
|
59
|
-
if (defaultArg(map((n) =>
|
|
59
|
+
if (defaultArg(map((n) => n.startsWith(Person_AssayIdentifierPrefix), c.Name), false)) {
|
|
60
60
|
return c.Value;
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
|
-
return
|
|
63
|
+
return undefined;
|
|
64
64
|
}
|
|
65
65
|
}, person.Comments);
|
|
66
66
|
}
|
|
@@ -68,7 +68,7 @@ export function Person_getSourceAssayIdentifiersFromComments(person) {
|
|
|
68
68
|
export function Person_removeSourceAssayComments(person) {
|
|
69
69
|
return ResizeArray_filter((c) => {
|
|
70
70
|
if (c.Name != null) {
|
|
71
|
-
return !
|
|
71
|
+
return !value_10(c.Name).startsWith(Person_AssayIdentifierPrefix);
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
74
|
return false;
|
|
@@ -80,7 +80,7 @@ export function Person_setOrcidFromComments(person) {
|
|
|
80
80
|
const person_1 = person.Copy();
|
|
81
81
|
const isOrcidComment = (c) => {
|
|
82
82
|
if (c.Name != null) {
|
|
83
|
-
return
|
|
83
|
+
return value_10(c.Name).toLocaleUpperCase().endsWith(Person_orcidKey);
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
86
86
|
return false;
|
|
@@ -91,7 +91,7 @@ export function Person_setOrcidFromComments(person) {
|
|
|
91
91
|
return c_1.Value;
|
|
92
92
|
}
|
|
93
93
|
else {
|
|
94
|
-
return
|
|
94
|
+
return undefined;
|
|
95
95
|
}
|
|
96
96
|
}, person_1.Comments), ResizeArray_filter((arg) => !isOrcidComment(arg), person_1.Comments)];
|
|
97
97
|
person_1.ORCID = patternInput[0];
|
|
@@ -119,21 +119,21 @@ export function JsonTypes_valueOfCell(value) {
|
|
|
119
119
|
switch (value.tag) {
|
|
120
120
|
case 0:
|
|
121
121
|
if (value.fields[0].isEmpty()) {
|
|
122
|
-
return [
|
|
122
|
+
return [undefined, undefined];
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
|
-
return [new Value_2(0, [value.fields[0]]),
|
|
125
|
+
return [new Value_2(0, [value.fields[0]]), undefined];
|
|
126
126
|
}
|
|
127
127
|
case 2:
|
|
128
|
-
return [(value.fields[0] === "") ?
|
|
128
|
+
return [(value.fields[0] === "") ? undefined : Value_2.fromString(value.fields[0]), value.fields[1].isEmpty() ? undefined : value.fields[1]];
|
|
129
129
|
case 3:
|
|
130
130
|
throw new Error("Data cell should not be parsed to isa value");
|
|
131
131
|
default:
|
|
132
132
|
if (value.fields[0] === "") {
|
|
133
|
-
return [
|
|
133
|
+
return [undefined, undefined];
|
|
134
134
|
}
|
|
135
135
|
else {
|
|
136
|
-
return [Value_2.fromString(value.fields[0]),
|
|
136
|
+
return [Value_2.fromString(value.fields[0]), undefined];
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -151,7 +151,7 @@ export function JsonTypes_composeComponent(header, value) {
|
|
|
151
151
|
*/
|
|
152
152
|
export function JsonTypes_composeParameterValue(header, value) {
|
|
153
153
|
const patternInput = JsonTypes_valueOfCell(value);
|
|
154
|
-
const p = ProtocolParameter.create(
|
|
154
|
+
const p = ProtocolParameter.create(undefined, header.ToTerm());
|
|
155
155
|
return ProcessParameterValue.create(p, unwrap(patternInput[0]), unwrap(patternInput[1]));
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -160,7 +160,7 @@ export function JsonTypes_composeParameterValue(header, value) {
|
|
|
160
160
|
*/
|
|
161
161
|
export function JsonTypes_composeFactorValue(header, value) {
|
|
162
162
|
const patternInput = JsonTypes_valueOfCell(value);
|
|
163
|
-
return FactorValue_create_30BDC49(
|
|
163
|
+
return FactorValue_create_30BDC49(undefined, Factor.create(toString(header), header.ToTerm()), unwrap(patternInput[0]), unwrap(patternInput[1]));
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/**
|
|
@@ -168,7 +168,7 @@ export function JsonTypes_composeFactorValue(header, value) {
|
|
|
168
168
|
*/
|
|
169
169
|
export function JsonTypes_composeCharacteristicValue(header, value) {
|
|
170
170
|
const patternInput = JsonTypes_valueOfCell(value);
|
|
171
|
-
return MaterialAttributeValue_create_ZE1D108D(
|
|
171
|
+
return MaterialAttributeValue_create_ZE1D108D(undefined, MaterialAttribute_create_A220A8A(undefined, header.ToTerm()), unwrap(patternInput[0]), unwrap(patternInput[1]));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export function JsonTypes_composeFreetextMaterialName(headerFT, name) {
|
|
@@ -433,7 +433,7 @@ export function JsonTypes_decomposeTechnologyPlatform(name) {
|
|
|
433
433
|
const tan = (r.groups && r.groups.ontology) || "";
|
|
434
434
|
oa = OntologyAnnotation.fromTermAnnotation(tan);
|
|
435
435
|
const v = (r.groups && r.groups.value) || "";
|
|
436
|
-
return OntologyAnnotation.create(v, oa.TermSourceREF, oa.TermAccessionNumber);
|
|
436
|
+
return OntologyAnnotation.create(v, unwrap(oa.TermSourceREF), unwrap(oa.TermAccessionNumber));
|
|
437
437
|
}
|
|
438
438
|
else {
|
|
439
439
|
return OntologyAnnotation.create(name);
|
|
@@ -450,7 +450,7 @@ export function ProcessParsing_tryComponentGetter(generalI, valueI, valueHeader)
|
|
|
450
450
|
return (matrix) => ((i) => JsonTypes_composeComponent(new CompositeHeader(0, [newOA]), getItemFromDict(matrix, [generalI, i])));
|
|
451
451
|
}
|
|
452
452
|
else {
|
|
453
|
-
return
|
|
453
|
+
return undefined;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
|
|
@@ -463,7 +463,7 @@ export function ProcessParsing_tryParameterGetter(generalI, valueI, valueHeader)
|
|
|
463
463
|
return (matrix) => ((i_1) => JsonTypes_composeParameterValue(cat, getItemFromDict(matrix, [generalI, i_1])));
|
|
464
464
|
}
|
|
465
465
|
else {
|
|
466
|
-
return
|
|
466
|
+
return undefined;
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
|
|
@@ -476,7 +476,7 @@ export function ProcessParsing_tryFactorGetter(generalI, valueI, valueHeader) {
|
|
|
476
476
|
return (matrix) => ((i_1) => JsonTypes_composeFactorValue(cat, getItemFromDict(matrix, [generalI, i_1])));
|
|
477
477
|
}
|
|
478
478
|
else {
|
|
479
|
-
return
|
|
479
|
+
return undefined;
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
|
|
@@ -489,7 +489,7 @@ export function ProcessParsing_tryCharacteristicGetter(generalI, valueI, valueHe
|
|
|
489
489
|
return (matrix) => ((i_1) => JsonTypes_composeCharacteristicValue(cat, getItemFromDict(matrix, [generalI, i_1])));
|
|
490
490
|
}
|
|
491
491
|
else {
|
|
492
|
-
return
|
|
492
|
+
return undefined;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
|
|
@@ -501,7 +501,7 @@ export function ProcessParsing_tryGetProtocolTypeGetter(generalI, header) {
|
|
|
501
501
|
return (matrix) => ((i) => getItemFromDict(matrix, [generalI, i]).AsTerm);
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
504
|
-
return
|
|
504
|
+
return undefined;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
|
|
@@ -513,7 +513,7 @@ export function ProcessParsing_tryGetProtocolREFGetter(generalI, header) {
|
|
|
513
513
|
return (matrix) => ((i) => getItemFromDict(matrix, [generalI, i]).AsFreeText);
|
|
514
514
|
}
|
|
515
515
|
else {
|
|
516
|
-
return
|
|
516
|
+
return undefined;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
|
|
@@ -525,7 +525,7 @@ export function ProcessParsing_tryGetProtocolDescriptionGetter(generalI, header)
|
|
|
525
525
|
return (matrix) => ((i) => getItemFromDict(matrix, [generalI, i]).AsFreeText);
|
|
526
526
|
}
|
|
527
527
|
else {
|
|
528
|
-
return
|
|
528
|
+
return undefined;
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
|
|
@@ -537,7 +537,7 @@ export function ProcessParsing_tryGetProtocolURIGetter(generalI, header) {
|
|
|
537
537
|
return (matrix) => ((i) => getItemFromDict(matrix, [generalI, i]).AsFreeText);
|
|
538
538
|
}
|
|
539
539
|
else {
|
|
540
|
-
return
|
|
540
|
+
return undefined;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
|
|
@@ -549,7 +549,7 @@ export function ProcessParsing_tryGetProtocolVersionGetter(generalI, header) {
|
|
|
549
549
|
return (matrix) => ((i) => getItemFromDict(matrix, [generalI, i]).AsFreeText);
|
|
550
550
|
}
|
|
551
551
|
else {
|
|
552
|
-
return
|
|
552
|
+
return undefined;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
|
|
@@ -561,7 +561,7 @@ export function ProcessParsing_tryGetInputGetter(generalI, header) {
|
|
|
561
561
|
return (matrix) => ((i) => JsonTypes_composeProcessInput(header, getItemFromDict(matrix, [generalI, i])));
|
|
562
562
|
}
|
|
563
563
|
else {
|
|
564
|
-
return
|
|
564
|
+
return undefined;
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
|
|
@@ -573,7 +573,7 @@ export function ProcessParsing_tryGetOutputGetter(generalI, header) {
|
|
|
573
573
|
return (matrix) => ((i) => JsonTypes_composeProcessOutput(header, getItemFromDict(matrix, [generalI, i])));
|
|
574
574
|
}
|
|
575
575
|
else {
|
|
576
|
-
return
|
|
576
|
+
return undefined;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
|
|
@@ -585,7 +585,7 @@ export function ProcessParsing_tryGetCommentGetter(generalI, header) {
|
|
|
585
585
|
return (matrix) => ((i) => (new Comment$(header.fields[0], getItemFromDict(matrix, [generalI, i]).AsFreeText)));
|
|
586
586
|
}
|
|
587
587
|
else {
|
|
588
|
-
return
|
|
588
|
+
return undefined;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
|
|
@@ -620,7 +620,7 @@ export function ProcessParsing_getProcessGetter(processNameRoot, headers) {
|
|
|
620
620
|
let inputGetter_1;
|
|
621
621
|
const matchValue = tryPick((tupledArg_10) => ProcessParsing_tryGetInputGetter(tupledArg_10[0], tupledArg_10[1]), headers_1);
|
|
622
622
|
if (matchValue == null) {
|
|
623
|
-
inputGetter_1 = ((matrix_1) => ((i_1) => singleton(new ProcessInput(0, [Source_create_Z5CA08497(
|
|
623
|
+
inputGetter_1 = ((matrix_1) => ((i_1) => singleton(new ProcessInput(0, [Source_create_Z5CA08497(undefined, `${processNameRoot}_Input_${i_1}`, toList(map_1((f_1) => f_1(matrix_1)(i_1), charGetters)))]))));
|
|
624
624
|
}
|
|
625
625
|
else {
|
|
626
626
|
const inputGetter = matchValue;
|
|
@@ -633,14 +633,14 @@ export function ProcessParsing_getProcessGetter(processNameRoot, headers) {
|
|
|
633
633
|
let outputGetter_1;
|
|
634
634
|
const matchValue_1 = tryPick((tupledArg_11) => ProcessParsing_tryGetOutputGetter(tupledArg_11[0], tupledArg_11[1]), headers_1);
|
|
635
635
|
if (matchValue_1 == null) {
|
|
636
|
-
outputGetter_1 = ((matrix_3) => ((i_3) => singleton(new ProcessOutput(0, [Sample_create_62424AD2(
|
|
636
|
+
outputGetter_1 = ((matrix_3) => ((i_3) => singleton(new ProcessOutput(0, [Sample_create_62424AD2(undefined, `${processNameRoot}_Output_${i_3}`, undefined, toList(map_1((f_3) => f_3(matrix_3)(i_3), factorValueGetters)))]))));
|
|
637
637
|
}
|
|
638
638
|
else {
|
|
639
639
|
const outputGetter = matchValue_1;
|
|
640
640
|
outputGetter_1 = ((matrix_2) => ((i_2) => {
|
|
641
641
|
const factors = toList(map_1((f_2) => f_2(matrix_2)(i_2), factorValueGetters));
|
|
642
642
|
const output = outputGetter(matrix_2)(i_2);
|
|
643
|
-
return (!ProcessOutput__isSample(output) && !isEmpty(factors)) ? ofArray([output, ProcessOutput_createSample_Z598187B7(ProcessOutput__get_Name(output),
|
|
643
|
+
return (!ProcessOutput__isSample(output) && !isEmpty(factors)) ? ofArray([output, ProcessOutput_createSample_Z598187B7(ProcessOutput__get_Name(output), undefined, factors)]) : singleton((length(factors) > 0) ? ProcessOutput_setFactorValues(factors, output) : output);
|
|
644
644
|
}));
|
|
645
645
|
}
|
|
646
646
|
return (matrix_4) => ((i_4) => {
|
|
@@ -649,7 +649,7 @@ export function ProcessParsing_getProcessGetter(processNameRoot, headers) {
|
|
|
649
649
|
const parameters = map((list_5) => map_2((pv) => value_10(pv.Category), list_5), paramvalues);
|
|
650
650
|
const comments = Option_fromValueWithDefault(empty(), map_2((f_5) => f_5(matrix_4)(i_4), commentGetters));
|
|
651
651
|
let protocol;
|
|
652
|
-
const p_1 = Protocol_make(
|
|
652
|
+
const p_1 = Protocol_make(undefined, map((f_6) => f_6(matrix_4)(i_4), protocolREFGetter), map((f_7) => f_7(matrix_4)(i_4), protocolTypeGetter), map((f_8) => f_8(matrix_4)(i_4), protocolDescriptionGetter), map((f_9) => f_9(matrix_4)(i_4), protocolURIGetter), map((f_10) => f_10(matrix_4)(i_4), protocolVersionGetter), parameters, Option_fromValueWithDefault(empty(), map_2((f_11) => f_11(matrix_4)(i_4), componentGetters)), undefined);
|
|
653
653
|
let matchResult;
|
|
654
654
|
if (p_1.Name == null) {
|
|
655
655
|
if (p_1.ProtocolType == null) {
|
|
@@ -684,7 +684,7 @@ export function ProcessParsing_getProcessGetter(processNameRoot, headers) {
|
|
|
684
684
|
}
|
|
685
685
|
switch (matchResult) {
|
|
686
686
|
case 0: {
|
|
687
|
-
protocol =
|
|
687
|
+
protocol = undefined;
|
|
688
688
|
break;
|
|
689
689
|
}
|
|
690
690
|
default:
|
|
@@ -694,7 +694,7 @@ export function ProcessParsing_getProcessGetter(processNameRoot, headers) {
|
|
|
694
694
|
const inputs = inputGetter_1(matrix_4)(i_4);
|
|
695
695
|
const outputs = outputGetter_1(matrix_4)(i_4);
|
|
696
696
|
patternInput = (((length(inputs) === 1) && (length(outputs) === 2)) ? [ofArray([item(0, inputs), item(0, inputs)]), outputs] : (((length(inputs) === 2) && (length(outputs) === 1)) ? [inputs, ofArray([item(0, outputs), item(0, outputs)])] : [inputs, outputs]));
|
|
697
|
-
return Process_make(
|
|
697
|
+
return Process_make(undefined, pn, protocol, paramvalues, undefined, undefined, undefined, undefined, patternInput[0], patternInput[1], comments);
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
|
|
@@ -756,7 +756,7 @@ export function ProcessParsing_mergeIdenticalProcesses(processes) {
|
|
|
756
756
|
const pVs = item(0, processes_1).ParameterValues;
|
|
757
757
|
const inputs = Option_fromValueWithDefault(empty(), collect((p) => defaultArg(p.Inputs, empty()), processes_1));
|
|
758
758
|
const outputs = Option_fromValueWithDefault(empty(), collect((p_1) => defaultArg(p_1.Outputs, empty()), processes_1));
|
|
759
|
-
return Process_create_Z7C1F7FA9(
|
|
759
|
+
return Process_create_Z7C1F7FA9(undefined, (length(l) > 1) ? Process_composeName(n, i) : n, unwrap(item(0, processes_1).ExecutesProtocol), unwrap(pVs), undefined, undefined, undefined, undefined, unwrap(inputs), unwrap(outputs), unwrap(item(0, processes_1).Comments));
|
|
760
760
|
}, l);
|
|
761
761
|
}
|
|
762
762
|
|
|
@@ -784,7 +784,7 @@ export function ProcessParsing_processToRows(p) {
|
|
|
784
784
|
return i_2;
|
|
785
785
|
}
|
|
786
786
|
else {
|
|
787
|
-
return
|
|
787
|
+
return undefined;
|
|
788
788
|
}
|
|
789
789
|
}, ios), head(ios)[0]);
|
|
790
790
|
const inputForType = defaultArg(tryPick_1((tupledArg_3) => {
|
|
@@ -793,7 +793,7 @@ export function ProcessParsing_processToRows(p) {
|
|
|
793
793
|
return i_3;
|
|
794
794
|
}
|
|
795
795
|
else {
|
|
796
|
-
return
|
|
796
|
+
return undefined;
|
|
797
797
|
}
|
|
798
798
|
}, ios), head(ios)[0]);
|
|
799
799
|
const chars = map_2((cv) => [JsonTypes_decomposeCharacteristicValue(cv), tryGetCharacteristicColumnIndex(cv)], ProcessInput_getCharacteristicValues_5B3D5BA9(inputForCharas));
|
|
@@ -803,7 +803,7 @@ export function ProcessParsing_processToRows(p) {
|
|
|
803
803
|
return o_4;
|
|
804
804
|
}
|
|
805
805
|
else {
|
|
806
|
-
return
|
|
806
|
+
return undefined;
|
|
807
807
|
}
|
|
808
808
|
}, ios), head(ios)[1]);
|
|
809
809
|
const outputForType = defaultArg(tryPick_1((tupledArg_5) => {
|
|
@@ -812,7 +812,7 @@ export function ProcessParsing_processToRows(p) {
|
|
|
812
812
|
return o_5;
|
|
813
813
|
}
|
|
814
814
|
else {
|
|
815
|
-
return
|
|
815
|
+
return undefined;
|
|
816
816
|
}
|
|
817
817
|
}, ios), head(ios)[1]);
|
|
818
818
|
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_Z42C11600(outputForFactors))))), {
|
|
@@ -827,37 +827,37 @@ export function ProcessParsing_processToRows(p) {
|
|
|
827
827
|
|
|
828
828
|
export function ARCtrl_CompositeHeader__CompositeHeader_TryParameter(this$) {
|
|
829
829
|
if (this$.tag === 3) {
|
|
830
|
-
return ProtocolParameter.create(
|
|
830
|
+
return ProtocolParameter.create(undefined, this$.fields[0]);
|
|
831
831
|
}
|
|
832
832
|
else {
|
|
833
|
-
return
|
|
833
|
+
return undefined;
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
export function ARCtrl_CompositeHeader__CompositeHeader_TryFactor(this$) {
|
|
838
838
|
if (this$.tag === 2) {
|
|
839
|
-
return Factor.create(
|
|
839
|
+
return Factor.create(undefined, this$.fields[0]);
|
|
840
840
|
}
|
|
841
841
|
else {
|
|
842
|
-
return
|
|
842
|
+
return undefined;
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
export function ARCtrl_CompositeHeader__CompositeHeader_TryCharacteristic(this$) {
|
|
847
847
|
if (this$.tag === 1) {
|
|
848
|
-
return MaterialAttribute_create_A220A8A(
|
|
848
|
+
return MaterialAttribute_create_A220A8A(undefined, this$.fields[0]);
|
|
849
849
|
}
|
|
850
850
|
else {
|
|
851
|
-
return
|
|
851
|
+
return undefined;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
export function ARCtrl_CompositeHeader__CompositeHeader_TryComponent(this$) {
|
|
856
856
|
if (this$.tag === 0) {
|
|
857
|
-
return Component_create_Z2F0B38C7(
|
|
857
|
+
return Component_create_Z2F0B38C7(undefined, undefined, this$.fields[0]);
|
|
858
858
|
}
|
|
859
859
|
else {
|
|
860
|
-
return
|
|
860
|
+
return undefined;
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
|
|
@@ -962,15 +962,15 @@ export function CompositeRow_toProtocol(tableName, row) {
|
|
|
962
962
|
case 4:
|
|
963
963
|
return Protocol_setName(p, v_3);
|
|
964
964
|
case 5:
|
|
965
|
-
return Protocol_addParameter(ProtocolParameter.create(
|
|
965
|
+
return Protocol_addParameter(ProtocolParameter.create(undefined, oa_1), p);
|
|
966
966
|
case 6:
|
|
967
967
|
return Protocol_addComponent(Component_create_Z2F0B38C7(Value_2.fromString(v_4), unit, oa_2), p);
|
|
968
968
|
case 7:
|
|
969
|
-
return Protocol_addComponent(Component_create_Z2F0B38C7(new Value_2(0, [t]),
|
|
969
|
+
return Protocol_addComponent(Component_create_Z2F0B38C7(new Value_2(0, [t]), undefined, oa_3), p);
|
|
970
970
|
default:
|
|
971
971
|
return p;
|
|
972
972
|
}
|
|
973
|
-
}, Protocol_create_Z414665E7(
|
|
973
|
+
}, Protocol_create_Z414665E7(undefined, tableName), row);
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
/**
|
|
@@ -984,7 +984,7 @@ export function ARCtrl_ArcTable__ArcTable_fromProtocol_Static_3BF20962(p) {
|
|
|
984
984
|
try {
|
|
985
985
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
986
986
|
const pp = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
987
|
-
t.AddColumn(new CompositeHeader(3, [value_10(pp.ParameterName)]),
|
|
987
|
+
t.AddColumn(new CompositeHeader(3, [value_10(pp.ParameterName)]), undefined, unwrap(ARCtrl_Process_ProtocolParameter__ProtocolParameter_TryGetColumnIndex(pp)));
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
990
|
finally {
|
|
@@ -995,7 +995,7 @@ export function ARCtrl_ArcTable__ArcTable_fromProtocol_Static_3BF20962(p) {
|
|
|
995
995
|
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
996
996
|
const c = enumerator_1["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
997
997
|
const v_1 = map((arg) => singleton_2(ARCtrl_CompositeCell__CompositeCell_fromValue_Static_Z6986DF18(arg, unwrap(c.ComponentUnit))), c.ComponentValue);
|
|
998
|
-
t.AddColumn(new CompositeHeader(3, [value_10(c.ComponentType)]), v_1, ARCtrl_Process_Component__Component_TryGetColumnIndex(c));
|
|
998
|
+
t.AddColumn(new CompositeHeader(3, [value_10(c.ComponentType)]), unwrap(v_1), unwrap(ARCtrl_Process_Component__Component_TryGetColumnIndex(c)));
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
finally {
|
|
@@ -1038,13 +1038,13 @@ export function ARCtrl_ArcTable__ArcTable_GetProtocols(this$) {
|
|
|
1038
1038
|
case 8:
|
|
1039
1039
|
return Protocol_setName(p, "");
|
|
1040
1040
|
case 3:
|
|
1041
|
-
return Protocol_addParameter(ProtocolParameter.create(
|
|
1041
|
+
return Protocol_addParameter(ProtocolParameter.create(undefined, h.fields[0]), p);
|
|
1042
1042
|
case 0:
|
|
1043
|
-
return Protocol_addComponent(Component_create_Z2F0B38C7(
|
|
1043
|
+
return Protocol_addComponent(Component_create_Z2F0B38C7(undefined, undefined, h.fields[0]), p);
|
|
1044
1044
|
default:
|
|
1045
1045
|
return p;
|
|
1046
1046
|
}
|
|
1047
|
-
}, Protocol_create_Z414665E7(
|
|
1047
|
+
}, Protocol_create_Z414665E7(undefined, this$.Name), source)));
|
|
1048
1048
|
}
|
|
1049
1049
|
else {
|
|
1050
1050
|
return List_distinct(initialize(this$.RowCount, (i) => {
|
|
@@ -1064,7 +1064,7 @@ export function ARCtrl_ArcTable__ArcTable_GetProtocols(this$) {
|
|
|
1064
1064
|
*/
|
|
1065
1065
|
export function ARCtrl_ArcTable__ArcTable_GetProcesses(this$) {
|
|
1066
1066
|
if (this$.RowCount === 0) {
|
|
1067
|
-
return singleton(Process_create_Z7C1F7FA9(
|
|
1067
|
+
return singleton(Process_create_Z7C1F7FA9(undefined, this$.Name));
|
|
1068
1068
|
}
|
|
1069
1069
|
else {
|
|
1070
1070
|
let getter;
|
package/Core/Data.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { printf, toText } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { item } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { printf, toText } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
2
|
+
import { item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
3
|
+
import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
4
|
import { ResizeArray_map } from "./Helper/Collections.js";
|
|
5
5
|
import { hash, boxHashSeq, boxHashOption, boxHashArray } from "./Helper/HashCodes.js";
|
|
6
|
-
import { toString } from "../fable_modules/fable-library-js.4.
|
|
6
|
+
import { toString } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
7
7
|
import { DataFile__get_AsString } from "./DataFile.js";
|
|
8
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
8
|
+
import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
9
9
|
|
|
10
10
|
export function DataAux_nameFromPathAndSelector(path, selector) {
|
|
11
11
|
return toText(printf("%s#%s"))(path)(selector);
|
|
@@ -17,7 +17,7 @@ export function DataAux_pathAndSelectorFromName(name) {
|
|
|
17
17
|
return [item(0, parts), item(1, parts)];
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
|
-
return [name,
|
|
20
|
+
return [name, undefined];
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -26,7 +26,7 @@ export class Data {
|
|
|
26
26
|
this._id = id;
|
|
27
27
|
let patternInput_1;
|
|
28
28
|
if (name == null) {
|
|
29
|
-
patternInput_1 = [
|
|
29
|
+
patternInput_1 = [undefined, undefined];
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
32
|
const patternInput = DataAux_pathAndSelectorFromName(name);
|
|
@@ -50,13 +50,13 @@ export class Data {
|
|
|
50
50
|
get Name() {
|
|
51
51
|
let matchValue, matchValue_1, p_1, p, s;
|
|
52
52
|
const this$ = this;
|
|
53
|
-
return unwrap((matchValue = this$._filePath, (matchValue_1 = this$._selector, (matchValue == null) ?
|
|
53
|
+
return unwrap((matchValue = this$._filePath, (matchValue_1 = this$._selector, (matchValue == null) ? undefined : ((matchValue_1 == null) ? ((p_1 = matchValue, p_1)) : ((p = matchValue, (s = matchValue_1, DataAux_nameFromPathAndSelector(p, s))))))));
|
|
54
54
|
}
|
|
55
55
|
set Name(name) {
|
|
56
56
|
const this$ = this;
|
|
57
57
|
if (name == null) {
|
|
58
|
-
this$._filePath =
|
|
59
|
-
this$._selector =
|
|
58
|
+
this$._filePath = undefined;
|
|
59
|
+
this$._selector = undefined;
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
62
|
const patternInput = DataAux_pathAndSelectorFromName(name);
|
|
@@ -159,7 +159,7 @@ export class Data {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
export function Data_$reflection() {
|
|
162
|
-
return class_type("ARCtrl.Data",
|
|
162
|
+
return class_type("ARCtrl.Data", undefined, Data);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export function Data_$ctor_5909441C(id, name, dataType, format, selectorFormat, comments) {
|
package/Core/DataContext.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { hash, boxHashSeq, boxHashOption, boxHashArray } from "./Helper/HashCodes.js";
|
|
2
|
-
import { unwrap, map } from "../fable_modules/fable-library-js.4.
|
|
2
|
+
import { unwrap, map } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
3
|
import { Value as Value_1 } from "./Value.js";
|
|
4
4
|
import { Data_$reflection, Data } from "./Data.js";
|
|
5
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
5
|
+
import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
6
6
|
import { OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
7
7
|
|
|
8
8
|
export class DataContext extends Data {
|
|
@@ -53,7 +53,7 @@ export class DataContext extends Data {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export function DataContext_$reflection() {
|
|
56
|
-
return class_type("ARCtrl.DataContext",
|
|
56
|
+
return class_type("ARCtrl.DataContext", undefined, DataContext, Data_$reflection());
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export function DataContext_$ctor_Z780A8A2A(id, name, dataType, format, selectorFormat, explication, unit, objectType, label, description, generatedBy, comments) {
|
|
@@ -118,7 +118,7 @@ export function DataContext_fromData_Z7B4D7BF5(data, explication, unit, objectTy
|
|
|
118
118
|
|
|
119
119
|
export function DataContext_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
|
|
120
120
|
let oa, v;
|
|
121
|
-
return DataContext_$ctor_Z780A8A2A(
|
|
121
|
+
return DataContext_$ctor_Z780A8A2A(undefined, undefined, undefined, undefined, undefined, unwrap(category), unwrap(unit), unwrap((value == null) ? undefined : ((value.tag === 0) ? ((oa = value.fields[0], oa)) : ((v = value, new OntologyAnnotation(v.Text))))), unwrap(alternateName), unwrap(description), unwrap(measurementMethod));
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
export function DataContext__Copy(this$) {
|
package/Core/DataFile.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Union } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { union_type } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Union } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { union_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class DataFile extends Union {
|
|
5
5
|
constructor(tag, fields) {
|
package/Core/DataMap.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CompositeHeader, IOType } from "./Table/CompositeHeader.js";
|
|
2
2
|
import { OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
3
|
-
import { ofArray } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { iterateIndexed, map } from "../fable_modules/fable-library-js.4.
|
|
3
|
+
import { ofArray } from "../fable_modules/fable-library-js.4.22.0/List.js";
|
|
4
|
+
import { iterateIndexed, map } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
5
5
|
import { CompositeCell } from "./Table/CompositeCell.js";
|
|
6
6
|
import { boxHashSeq, hash } from "./Helper/HashCodes.js";
|
|
7
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
7
|
+
import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
8
8
|
import { DataContext__Copy, DataContext__set_Description_6DFDD678, DataContext__get_Description, DataContext__set_ObjectType_279AAFF2, DataContext__get_ObjectType, DataContext__set_Unit_279AAFF2, DataContext__get_Unit, DataContext__set_Explication_279AAFF2, DataContext__get_Explication } from "./DataContext.js";
|
|
9
9
|
|
|
10
10
|
export const DataMapAux_dataHeader = new CompositeHeader(11, [new IOType(2, [])]);
|
|
@@ -102,7 +102,7 @@ export class DataMap {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
export function DataMap_$reflection() {
|
|
105
|
-
return class_type("ARCtrl.DataMap",
|
|
105
|
+
return class_type("ARCtrl.DataMap", undefined, DataMap);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
export function DataMap_$ctor_4E3220A7(dataContexts) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { disposeSafe, getEnumerator, defaultOf, structuralHash, equals } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { value as value_1, some } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { empty, singleton, append, head, tail, isEmpty } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { Dictionary } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { iterate } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { tryGetValue, addToDict } from "../../fable_modules/fable-library-js.4.
|
|
7
|
-
import { FSharpRef } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { contains } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { disposeSafe, getEnumerator, defaultOf, structuralHash, equals } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
2
|
+
import { value as value_1, some } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
|
+
import { empty, singleton, append, head, tail, isEmpty } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
4
|
+
import { Dictionary } from "../../fable_modules/fable-library-js.4.22.0/MutableMap.js";
|
|
5
|
+
import { iterate } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
6
|
+
import { tryGetValue, addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
7
|
+
import { FSharpRef } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
8
|
+
import { contains } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* If the value matches the default, a None is returned, else a Some is returned
|
|
12
12
|
*/
|
|
13
13
|
export function Option_fromValueWithDefault(d, v) {
|
|
14
14
|
if (equals(d, v)) {
|
|
15
|
-
return
|
|
15
|
+
return undefined;
|
|
16
16
|
}
|
|
17
17
|
else {
|
|
18
18
|
return some(v);
|
|
@@ -57,7 +57,7 @@ export function List_tryPickAndRemove(f, lst) {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
|
-
return [
|
|
60
|
+
return [undefined, newList];
|
|
61
61
|
}
|
|
62
62
|
break;
|
|
63
63
|
}
|
|
@@ -86,7 +86,7 @@ export function Dictionary_tryFind(key, dict) {
|
|
|
86
86
|
return some(patternInput[1]);
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
|
-
return
|
|
89
|
+
return undefined;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
package/Core/Helper/HashCodes.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { second, minute, hour, day, month, year } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { numberHash, identityHash } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { value as value_1 } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { fold } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { fold as fold_1 } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { second, minute, hour, day, month, year } from "../../fable_modules/fable-library-js.4.22.0/Date.js";
|
|
2
|
+
import { numberHash, identityHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
3
|
+
import { value as value_1 } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
|
+
import { fold } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
5
|
+
import { fold as fold_1 } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
6
6
|
|
|
7
7
|
export function mergeHashes(hash1, hash2) {
|
|
8
8
|
return ((-1640531527 + hash2) + (hash1 << 6)) + (hash1 >> 2);
|