@nfdi4plants/arctrl 2.0.1 → 2.1.0-alpha.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 +43 -108
- package/Contract/ARC.js +1 -1
- package/Contract/ArcAssay.js +37 -14
- package/Contract/ArcInvestigation.js +4 -4
- package/Contract/ArcStudy.js +37 -14
- 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 +3 -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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { unwrap, defaultArg, bind, map } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { unwrap, defaultArg, bind, map } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
|
+
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
4
4
|
import { Factor, Factor_$reflection } from "./Factor.js";
|
|
5
5
|
import { Value_$reflection } from "../Value.js";
|
|
6
6
|
import { OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
7
|
-
import { int32ToString } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
7
|
+
import { int32ToString } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
8
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
9
9
|
|
|
10
10
|
export class FactorValue extends Record {
|
|
11
11
|
constructor(ID, Category, Value, Unit) {
|
|
@@ -36,13 +36,13 @@ export class FactorValue extends Record {
|
|
|
36
36
|
return (category == null) ? ((value == null) ? "" : ((value_2 = value, value_2))) : ((value == null) ? ((category_2 = category, (category_2 + ":") + "No Value")) : ((category_1 = category, (value_1 = value, (category_1 + ":") + value_1))));
|
|
37
37
|
}
|
|
38
38
|
AlternateName() {
|
|
39
|
-
return
|
|
39
|
+
return undefined;
|
|
40
40
|
}
|
|
41
41
|
MeasurementMethod() {
|
|
42
|
-
return
|
|
42
|
+
return undefined;
|
|
43
43
|
}
|
|
44
44
|
Description() {
|
|
45
|
-
return
|
|
45
|
+
return undefined;
|
|
46
46
|
}
|
|
47
47
|
GetCategory() {
|
|
48
48
|
const this$ = this;
|
|
@@ -114,7 +114,7 @@ export function FactorValue__MapCategory_658CFBF6(this$, f) {
|
|
|
114
114
|
|
|
115
115
|
export function FactorValue__SetCategory_ZDED3A0F(this$, c) {
|
|
116
116
|
let matchValue, p;
|
|
117
|
-
return new FactorValue(this$.ID, (matchValue = this$.Category, (matchValue == null) ? Factor.create(
|
|
117
|
+
return new FactorValue(this$.ID, (matchValue = this$.Category, (matchValue == null) ? Factor.create(undefined, c) : ((p = matchValue, p.SetCategory(c)))), this$.Value, this$.Unit);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
@@ -132,6 +132,6 @@ export function FactorValue_nameEqualsString(name, fv) {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
export function FactorValue_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
|
|
135
|
-
return FactorValue_create_30BDC49(
|
|
135
|
+
return FactorValue_create_30BDC49(undefined, unwrap(map((c) => Factor.create(undefined, c), category)), unwrap(value), unwrap(unit));
|
|
136
136
|
}
|
|
137
137
|
|
package/Core/Process/Material.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { choose, empty, length } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { choose, empty, length } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
3
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
5
5
|
import { MaterialType_$reflection, MaterialType__get_AsString } from "./MaterialType.js";
|
|
6
|
-
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
6
|
+
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
7
7
|
import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
|
|
8
8
|
|
|
9
9
|
export class Material extends Record {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
3
3
|
import { OntologyAnnotation, OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
4
|
-
import { bind, map, defaultArg, unwrap } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { bind, map, defaultArg, unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
5
5
|
import { Option_fromValueWithDefault } from "../Helper/Collections.js";
|
|
6
6
|
|
|
7
7
|
export class MaterialAttribute extends Record {
|
|
@@ -41,7 +41,7 @@ export function MaterialAttribute_get_empty() {
|
|
|
41
41
|
*/
|
|
42
42
|
export function MaterialAttribute_fromString_5980DC03(term, source, accession, comments) {
|
|
43
43
|
const oa = OntologyAnnotation.create(term, source, accession, unwrap(comments));
|
|
44
|
-
return MaterialAttribute_make(
|
|
44
|
+
return MaterialAttribute_make(undefined, Option_fromValueWithDefault(new OntologyAnnotation(), oa));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { unwrap, defaultArg, bind, map } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { unwrap, defaultArg, bind, map } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
3
|
import { MaterialAttribute__SetCategory_ZDED3A0F, MaterialAttribute_create_A220A8A, MaterialAttribute__MapCategory_658CFBF6, MaterialAttribute__get_TryNameText, MaterialAttribute_$reflection, MaterialAttribute__get_NameText } from "./MaterialAttribute.js";
|
|
4
|
-
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
5
5
|
import { Value_$reflection } from "../Value.js";
|
|
6
6
|
import { OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
7
|
-
import { int32ToString } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
7
|
+
import { int32ToString } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
8
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
9
9
|
|
|
10
10
|
export class MaterialAttributeValue extends Record {
|
|
11
11
|
constructor(ID, Category, Value, Unit) {
|
|
@@ -36,13 +36,13 @@ export class MaterialAttributeValue extends Record {
|
|
|
36
36
|
return (category == null) ? ((value == null) ? "" : ((value_2 = value, value_2))) : ((value == null) ? ((category_2 = category, (category_2 + ":") + "No Value")) : ((category_1 = category, (value_1 = value, (category_1 + ":") + value_1))));
|
|
37
37
|
}
|
|
38
38
|
AlternateName() {
|
|
39
|
-
return
|
|
39
|
+
return undefined;
|
|
40
40
|
}
|
|
41
41
|
MeasurementMethod() {
|
|
42
|
-
return
|
|
42
|
+
return undefined;
|
|
43
43
|
}
|
|
44
44
|
Description() {
|
|
45
|
-
return
|
|
45
|
+
return undefined;
|
|
46
46
|
}
|
|
47
47
|
GetCategory() {
|
|
48
48
|
const this$ = this;
|
|
@@ -124,7 +124,7 @@ export function MaterialAttributeValue__MapCategory_658CFBF6(this$, f) {
|
|
|
124
124
|
|
|
125
125
|
export function MaterialAttributeValue__SetCategory_ZDED3A0F(this$, c) {
|
|
126
126
|
let matchValue;
|
|
127
|
-
return new MaterialAttributeValue(this$.ID, (matchValue = this$.Category, (matchValue == null) ? MaterialAttribute_create_A220A8A(
|
|
127
|
+
return new MaterialAttributeValue(this$.ID, (matchValue = this$.Category, (matchValue == null) ? MaterialAttribute_create_A220A8A(undefined, c) : MaterialAttribute__SetCategory_ZDED3A0F(matchValue, c)), this$.Value, this$.Unit);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**
|
|
@@ -149,6 +149,6 @@ export function MaterialAttributeValue_nameEqualsString(name, mv) {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
export function MaterialAttributeValue_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
|
|
152
|
-
return MaterialAttributeValue_create_ZE1D108D(
|
|
152
|
+
return MaterialAttributeValue_create_ZE1D108D(undefined, unwrap(map((c) => MaterialAttribute_create_A220A8A(undefined, c), category)), unwrap(value), unwrap(unit));
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -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 MaterialType extends Union {
|
|
5
5
|
constructor(tag, fields) {
|
package/Core/Process/Process.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { zip, tryPick, map as map_1, tryFind, append, collect, choose, empty, length } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { map, value as value_4, bind, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { zip, tryPick, map as map_1, tryFind, append, collect, choose, empty, length } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
3
|
+
import { map, value as value_4, bind, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
5
|
+
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
6
6
|
import { Protocol_$reflection } from "./Protocol.js";
|
|
7
7
|
import { ProcessParameterValue_$reflection } from "./ProcessParameterValue.js";
|
|
8
8
|
import { ProcessInput_tryMaterial_5B3D5BA9, ProcessInput_trySample_5B3D5BA9, ProcessInput_tryData_5B3D5BA9, ProcessInput_trySource_5B3D5BA9, ProcessInput_tryGetCharacteristicValues_5B3D5BA9, ProcessInput_$reflection } from "./ProcessInput.js";
|
|
9
9
|
import { ProcessOutput_tryMaterial_Z42C11600, ProcessOutput_trySample_Z42C11600, ProcessOutput_tryData_Z42C11600, ProcessOutput_tryGetFactorValues_Z42C11600, ProcessOutput_tryGetCharacteristicValues_Z42C11600, ProcessOutput_$reflection } from "./ProcessOutput.js";
|
|
10
10
|
import { Comment$_$reflection } from "../Comment.js";
|
|
11
11
|
import { ActivePatterns_$007CRegex$007C_$007C } from "../Helper/Regex.js";
|
|
12
|
-
import { parse } from "../../fable_modules/fable-library-js.4.
|
|
13
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
14
|
-
import { safeHash, equals } from "../../fable_modules/fable-library-js.4.
|
|
12
|
+
import { parse } from "../../fable_modules/fable-library-js.4.22.0/Int32.js";
|
|
13
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
14
|
+
import { safeHash, equals } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
15
15
|
import { ProtocolParameter } from "./ProtocolParameter.js";
|
|
16
16
|
import { Option_fromValueWithDefault } from "../Helper/Collections.js";
|
|
17
17
|
|
|
@@ -71,7 +71,7 @@ export function Process_decomposeName_Z721C83C5(name) {
|
|
|
71
71
|
return [(r.groups && r.groups.name) || "", parse((r.groups && r.groups.num) || "", 511, false, 32)];
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
|
-
return [name,
|
|
74
|
+
return [name, undefined];
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -188,12 +188,12 @@ export function Process_getUnits_763471FF(p) {
|
|
|
188
188
|
export function Process_tryGetInputsWithParameterBy(predicate, p) {
|
|
189
189
|
const matchValue = p.ParameterValues;
|
|
190
190
|
if (matchValue == null) {
|
|
191
|
-
return
|
|
191
|
+
return undefined;
|
|
192
192
|
}
|
|
193
193
|
else {
|
|
194
194
|
const matchValue_1 = tryFind((pv) => predicate(defaultArg(pv.Category, ProtocolParameter.empty)), matchValue);
|
|
195
195
|
if (matchValue_1 == null) {
|
|
196
|
-
return
|
|
196
|
+
return undefined;
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
const paramValue = matchValue_1;
|
|
@@ -208,12 +208,12 @@ export function Process_tryGetInputsWithParameterBy(predicate, p) {
|
|
|
208
208
|
export function Process_tryGetOutputsWithParameterBy(predicate, p) {
|
|
209
209
|
const matchValue = p.ParameterValues;
|
|
210
210
|
if (matchValue == null) {
|
|
211
|
-
return
|
|
211
|
+
return undefined;
|
|
212
212
|
}
|
|
213
213
|
else {
|
|
214
214
|
const matchValue_1 = tryFind((pv) => predicate(defaultArg(pv.Category, ProtocolParameter.empty)), matchValue);
|
|
215
215
|
if (matchValue_1 == null) {
|
|
216
|
-
return
|
|
216
|
+
return undefined;
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
219
|
const paramValue = matchValue_1;
|
|
@@ -228,7 +228,7 @@ export function Process_tryGetOutputsWithParameterBy(predicate, p) {
|
|
|
228
228
|
export function Process_tryGetInputsWithCharacteristicBy(predicate, p) {
|
|
229
229
|
const matchValue = p.Inputs;
|
|
230
230
|
if (matchValue == null) {
|
|
231
|
-
return
|
|
231
|
+
return undefined;
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
234
234
|
return Option_fromValueWithDefault(empty(), choose((i) => tryPick((mv) => {
|
|
@@ -250,7 +250,7 @@ export function Process_tryGetInputsWithCharacteristicBy(predicate, p) {
|
|
|
250
250
|
case 0:
|
|
251
251
|
return [i, mv];
|
|
252
252
|
default:
|
|
253
|
-
return
|
|
253
|
+
return undefined;
|
|
254
254
|
}
|
|
255
255
|
}, defaultArg(ProcessInput_tryGetCharacteristicValues_5B3D5BA9(i), empty())), matchValue));
|
|
256
256
|
}
|
|
@@ -297,11 +297,11 @@ export function Process_tryGetOutputsWithCharacteristicBy(predicate, p) {
|
|
|
297
297
|
case 0:
|
|
298
298
|
return [tupledArg[1], mv];
|
|
299
299
|
default:
|
|
300
|
-
return
|
|
300
|
+
return undefined;
|
|
301
301
|
}
|
|
302
302
|
}, defaultArg(ProcessInput_tryGetCharacteristicValues_5B3D5BA9(tupledArg[0]), empty())), zip(is, os)));
|
|
303
303
|
default:
|
|
304
|
-
return
|
|
304
|
+
return undefined;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -311,7 +311,7 @@ export function Process_tryGetOutputsWithCharacteristicBy(predicate, p) {
|
|
|
311
311
|
export function Process_tryGetOutputsWithFactorBy(predicate, p) {
|
|
312
312
|
const matchValue = p.Outputs;
|
|
313
313
|
if (matchValue == null) {
|
|
314
|
-
return
|
|
314
|
+
return undefined;
|
|
315
315
|
}
|
|
316
316
|
else {
|
|
317
317
|
return Option_fromValueWithDefault(empty(), choose((o) => tryPick((mv) => {
|
|
@@ -333,7 +333,7 @@ export function Process_tryGetOutputsWithFactorBy(predicate, p) {
|
|
|
333
333
|
case 0:
|
|
334
334
|
return [o, mv];
|
|
335
335
|
default:
|
|
336
|
-
return
|
|
336
|
+
return undefined;
|
|
337
337
|
}
|
|
338
338
|
}, defaultArg(ProcessOutput_tryGetFactorValues_Z42C11600(o), empty())), matchValue));
|
|
339
339
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Union, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Union, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
3
3
|
import { Source_create_Z5CA08497, Source_getUnits_53E41069, Source_setCharacteristicValues, Source_get_empty, Source_$reflection } from "./Source.js";
|
|
4
4
|
import { Sample_create_62424AD2, Sample_getUnits_53716792, Sample_setCharacteristicValues, Sample_$reflection } from "./Sample.js";
|
|
5
5
|
import { Data, Data_$reflection } from "../Data.js";
|
|
6
6
|
import { Material_create_Z66909A6D, Material_getUnits_ZBCDEB61, Material_setCharacteristicValues, Material_$reflection } from "./Material.js";
|
|
7
|
-
import { union_type } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { empty, choose } from "../../fable_modules/fable-library-js.4.
|
|
7
|
+
import { union_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
8
|
+
import { unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
9
|
+
import { empty, choose } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
10
10
|
import { DataFile } from "../DataFile.js";
|
|
11
11
|
|
|
12
12
|
export class ProcessInput extends Union {
|
|
@@ -175,7 +175,7 @@ export function ProcessInput_trySample_5B3D5BA9(pi) {
|
|
|
175
175
|
return pi.fields[0];
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
178
|
-
return
|
|
178
|
+
return undefined;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
|
|
@@ -187,7 +187,7 @@ export function ProcessInput_trySource_5B3D5BA9(pi) {
|
|
|
187
187
|
return pi.fields[0];
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
190
|
-
return
|
|
190
|
+
return undefined;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
|
|
@@ -199,7 +199,7 @@ export function ProcessInput_tryData_5B3D5BA9(pi) {
|
|
|
199
199
|
return pi.fields[0];
|
|
200
200
|
}
|
|
201
201
|
else {
|
|
202
|
-
return
|
|
202
|
+
return undefined;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
|
|
@@ -211,7 +211,7 @@ export function ProcessInput_tryMaterial_5B3D5BA9(pi) {
|
|
|
211
211
|
return pi.fields[0];
|
|
212
212
|
}
|
|
213
213
|
else {
|
|
214
|
-
return
|
|
214
|
+
return undefined;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
@@ -238,7 +238,7 @@ export function ProcessInput_tryGetCharacteristicValues_5B3D5BA9(pi) {
|
|
|
238
238
|
case 3:
|
|
239
239
|
return pi.fields[0].Characteristics;
|
|
240
240
|
case 2:
|
|
241
|
-
return
|
|
241
|
+
return undefined;
|
|
242
242
|
default:
|
|
243
243
|
return pi.fields[0].Characteristics;
|
|
244
244
|
}
|
|
@@ -272,26 +272,26 @@ export function ProcessInput_getUnits_5B3D5BA9(pi) {
|
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
export function ProcessInput_createSource_Z5E00540E(name, characteristics) {
|
|
275
|
-
return new ProcessInput(0, [Source_create_Z5CA08497(
|
|
275
|
+
return new ProcessInput(0, [Source_create_Z5CA08497(undefined, name, unwrap(characteristics))]);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
export function ProcessInput_createSample_Z598187B7(name, characteristics, factors, derivesFrom) {
|
|
279
|
-
return new ProcessInput(1, [Sample_create_62424AD2(
|
|
279
|
+
return new ProcessInput(1, [Sample_create_62424AD2(undefined, name, unwrap(characteristics), unwrap(factors), unwrap(derivesFrom))]);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
export function ProcessInput_createMaterial_4452CB4C(name, characteristics, derivesFrom) {
|
|
283
|
-
return new ProcessInput(3, [Material_create_Z66909A6D(
|
|
283
|
+
return new ProcessInput(3, [Material_create_Z66909A6D(undefined, name, undefined, unwrap(characteristics), unwrap(derivesFrom))]);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
export function ProcessInput_createImageFile_Z721C83C5(name) {
|
|
287
|
-
return new ProcessInput(2, [Data.create(
|
|
287
|
+
return new ProcessInput(2, [Data.create(undefined, name, new DataFile(2, []))]);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export function ProcessInput_createRawData_Z721C83C5(name) {
|
|
291
|
-
return new ProcessInput(2, [Data.create(
|
|
291
|
+
return new ProcessInput(2, [Data.create(undefined, name, new DataFile(0, []))]);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
export function ProcessInput_createDerivedData_Z721C83C5(name) {
|
|
295
|
-
return new ProcessInput(2, [Data.create(
|
|
295
|
+
return new ProcessInput(2, [Data.create(undefined, name, new DataFile(1, []))]);
|
|
296
296
|
}
|
|
297
297
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Union, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Union, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
3
3
|
import { Sample_create_62424AD2, Sample_getUnits_53716792, Sample_setFactorValues, Sample_get_empty, Sample_$reflection } from "./Sample.js";
|
|
4
4
|
import { Data, Data_$reflection } from "../Data.js";
|
|
5
5
|
import { Material_create_Z66909A6D, Material_getUnits_ZBCDEB61, Material_$reflection } from "./Material.js";
|
|
6
|
-
import { union_type } from "../../fable_modules/fable-library-js.4.
|
|
7
|
-
import { unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { empty, choose } from "../../fable_modules/fable-library-js.4.
|
|
6
|
+
import { union_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
7
|
+
import { unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
8
|
+
import { empty, choose } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
9
9
|
import { DataFile } from "../DataFile.js";
|
|
10
10
|
|
|
11
11
|
export class ProcessOutput extends Union {
|
|
@@ -149,7 +149,7 @@ export function ProcessOutput_trySample_Z42C11600(po) {
|
|
|
149
149
|
return po.fields[0];
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
152
|
-
return
|
|
152
|
+
return undefined;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
@@ -161,7 +161,7 @@ export function ProcessOutput_tryData_Z42C11600(po) {
|
|
|
161
161
|
return po.fields[0];
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
164
|
-
return
|
|
164
|
+
return undefined;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
@@ -173,7 +173,7 @@ export function ProcessOutput_tryMaterial_Z42C11600(po) {
|
|
|
173
173
|
return po.fields[0];
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
176
|
-
return
|
|
176
|
+
return undefined;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
|
|
@@ -185,7 +185,7 @@ export function ProcessOutput_tryGetCharacteristicValues_Z42C11600(po) {
|
|
|
185
185
|
case 2:
|
|
186
186
|
return po.fields[0].Characteristics;
|
|
187
187
|
case 1:
|
|
188
|
-
return
|
|
188
|
+
return undefined;
|
|
189
189
|
default:
|
|
190
190
|
return po.fields[0].Characteristics;
|
|
191
191
|
}
|
|
@@ -204,9 +204,9 @@ export function ProcessOutput_tryGetCharacteristics_Z42C11600(po) {
|
|
|
204
204
|
export function ProcessOutput_tryGetFactorValues_Z42C11600(po) {
|
|
205
205
|
switch (po.tag) {
|
|
206
206
|
case 2:
|
|
207
|
-
return
|
|
207
|
+
return undefined;
|
|
208
208
|
case 1:
|
|
209
|
-
return
|
|
209
|
+
return undefined;
|
|
210
210
|
default:
|
|
211
211
|
return po.fields[0].FactorValues;
|
|
212
212
|
}
|
|
@@ -242,22 +242,22 @@ export function ProcessOutput_getUnits_Z42C11600(po) {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
export function ProcessOutput_createSample_Z598187B7(name, characteristics, factors, derivesFrom) {
|
|
245
|
-
return new ProcessOutput(0, [Sample_create_62424AD2(
|
|
245
|
+
return new ProcessOutput(0, [Sample_create_62424AD2(undefined, name, unwrap(characteristics), unwrap(factors), unwrap(derivesFrom))]);
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
export function ProcessOutput_createMaterial_4452CB4C(name, characteristics, derivesFrom) {
|
|
249
|
-
return new ProcessOutput(2, [Material_create_Z66909A6D(
|
|
249
|
+
return new ProcessOutput(2, [Material_create_Z66909A6D(undefined, name, undefined, unwrap(characteristics), unwrap(derivesFrom))]);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
export function ProcessOutput_createImageFile_Z721C83C5(name) {
|
|
253
|
-
return new ProcessOutput(1, [Data.create(
|
|
253
|
+
return new ProcessOutput(1, [Data.create(undefined, name, new DataFile(2, []))]);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
export function ProcessOutput_createRawData_Z721C83C5(name) {
|
|
257
|
-
return new ProcessOutput(1, [Data.create(
|
|
257
|
+
return new ProcessOutput(1, [Data.create(undefined, name, new DataFile(0, []))]);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
export function ProcessOutput_createDerivedData_Z721C83C5(name) {
|
|
261
|
-
return new ProcessOutput(1, [Data.create(
|
|
261
|
+
return new ProcessOutput(1, [Data.create(undefined, name, new DataFile(1, []))]);
|
|
262
262
|
}
|
|
263
263
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { bind, unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { int32ToString } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { bind, unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
2
|
+
import { int32ToString } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
3
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
4
4
|
import { ProtocolParameter_$reflection, ProtocolParameter } from "./ProtocolParameter.js";
|
|
5
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { record_type, option_type } from "../../fable_modules/fable-library-js.4.
|
|
5
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
6
|
+
import { record_type, option_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
7
7
|
import { Value_$reflection } from "../Value.js";
|
|
8
8
|
import { OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
9
9
|
|
|
@@ -65,7 +65,7 @@ export class ProcessParameterValue extends Record {
|
|
|
65
65
|
SetCategory(c) {
|
|
66
66
|
let matchValue, p;
|
|
67
67
|
const this$ = this;
|
|
68
|
-
return new ProcessParameterValue((matchValue = this$.Category, (matchValue == null) ? ProtocolParameter.create(
|
|
68
|
+
return new ProcessParameterValue((matchValue = this$.Category, (matchValue == null) ? ProtocolParameter.create(undefined, c) : ((p = matchValue, p.SetCategory(c)))), this$.Value, this$.Unit);
|
|
69
69
|
}
|
|
70
70
|
static tryGetNameText(pv) {
|
|
71
71
|
return pv.TryNameText;
|
|
@@ -80,7 +80,7 @@ export class ProcessParameterValue extends Record {
|
|
|
80
80
|
return pv.Category;
|
|
81
81
|
}
|
|
82
82
|
static createAsPV(alternateName, measurementMethod, description, category, value, unit) {
|
|
83
|
-
const category_1 = map((c) => ProtocolParameter.create(
|
|
83
|
+
const category_1 = map((c) => ProtocolParameter.create(undefined, c), category);
|
|
84
84
|
return ProcessParameterValue.create(unwrap(category_1), unwrap(value), unwrap(unit));
|
|
85
85
|
}
|
|
86
86
|
Print() {
|
|
@@ -104,13 +104,13 @@ export class ProcessParameterValue extends Record {
|
|
|
104
104
|
return (category == null) ? ((value == null) ? "" : ((value_2 = value, value_2))) : ((value == null) ? ((category_2 = category, (category_2 + ":") + "No Value")) : ((category_1 = category, (value_1 = value, (category_1 + ":") + value_1))));
|
|
105
105
|
}
|
|
106
106
|
AlternateName() {
|
|
107
|
-
return
|
|
107
|
+
return undefined;
|
|
108
108
|
}
|
|
109
109
|
MeasurementMethod() {
|
|
110
|
-
return
|
|
110
|
+
return undefined;
|
|
111
111
|
}
|
|
112
112
|
Description() {
|
|
113
|
-
return
|
|
113
|
+
return undefined;
|
|
114
114
|
}
|
|
115
115
|
GetCategory() {
|
|
116
116
|
const this$ = this;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { List_groupBy, List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { singleton, zip, map, empty, collect, concat, filter, choose } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { value as value_4, defaultArg, bind } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { arrayHash, equalArrays, comparePrimitives, safeHash, equals, stringHash } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { List_groupBy, List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
2
|
+
import { singleton, zip, map, empty, collect, concat, filter, choose } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
3
|
+
import { value as value_4, defaultArg, bind } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
|
+
import { arrayHash, equalArrays, comparePrimitives, safeHash, equals, stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
5
5
|
import { Process_getMaterials_763471FF, Process_getSamples_763471FF, Process_getSources_763471FF, Process_getData_763471FF, Process_getUnits_763471FF, Process_getFactors_763471FF, Process_tryGetOutputsWithFactorBy, Process_tryGetOutputsWithCharacteristicBy, Process_tryGetInputsWithCharacteristicBy, Process_getCharacteristics_763471FF, Process_getParameters_763471FF, Process_tryGetOutputsWithParameterBy, Process_tryGetInputsWithParameterBy } from "./Process.js";
|
|
6
|
-
import { FSharpSet__Contains, ofList } from "../../fable_modules/fable-library-js.4.
|
|
6
|
+
import { FSharpSet__Contains, ofList } from "../../fable_modules/fable-library-js.4.22.0/Set.js";
|
|
7
7
|
import { ProcessOutput__get_Name, ProcessOutput_getName_Z42C11600 } from "./ProcessOutput.js";
|
|
8
8
|
import { ProcessInput__get_Name, ProcessInput_getName_5B3D5BA9 } from "./ProcessInput.js";
|
|
9
|
-
import { FSharpMap__TryFind, ofList as ofList_1 } from "../../fable_modules/fable-library-js.4.
|
|
9
|
+
import { FSharpMap__TryFind, ofList as ofList_1 } from "../../fable_modules/fable-library-js.4.22.0/Map.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Returns the names of the protocols the given processes impelement
|
package/Core/Process/Protocol.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Record } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
3
3
|
import { OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
4
4
|
import { ProtocolParameter_$reflection } from "./ProtocolParameter.js";
|
|
5
5
|
import { Component_$reflection } from "./Component.js";
|
|
6
6
|
import { Comment$_$reflection } from "../Comment.js";
|
|
7
|
-
import { empty, filter, singleton, append, exists, tryFind } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { equals } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { defaultArg, map } from "../../fable_modules/fable-library-js.4.
|
|
7
|
+
import { empty, filter, singleton, append, exists, tryFind } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
8
|
+
import { equals } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
9
|
+
import { defaultArg, map } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
10
10
|
|
|
11
11
|
export class Protocol extends Record {
|
|
12
12
|
constructor(ID, Name, ProtocolType, Description, Uri, Version, Parameters, Components, Comments) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../OntologyAnnotation.js";
|
|
2
|
-
import { bind, map, defaultArg, unwrap } from "../../fable_modules/fable-library-js.4.
|
|
2
|
+
import { bind, map, defaultArg, unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
3
|
import { Option_fromValueWithDefault } from "../Helper/Collections.js";
|
|
4
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
5
|
+
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
6
6
|
|
|
7
7
|
export class ProtocolParameter extends Record {
|
|
8
8
|
constructor(ID, ParameterName) {
|
|
@@ -22,7 +22,7 @@ export class ProtocolParameter extends Record {
|
|
|
22
22
|
static fromString(term, source, accession, comments) {
|
|
23
23
|
const oa = OntologyAnnotation.create(term, source, accession, unwrap(comments));
|
|
24
24
|
const parameterName = Option_fromValueWithDefault(new OntologyAnnotation(), oa);
|
|
25
|
-
return ProtocolParameter.make(
|
|
25
|
+
return ProtocolParameter.make(undefined, parameterName);
|
|
26
26
|
}
|
|
27
27
|
static toStringObject(pp) {
|
|
28
28
|
const value = {
|
package/Core/Process/Sample.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { append, choose, empty, length } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { append, choose, empty, length } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
3
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
5
|
+
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
6
6
|
import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
|
|
7
7
|
import { FactorValue_$reflection } from "./FactorValue.js";
|
|
8
8
|
import { Source_$reflection } from "./Source.js";
|
package/Core/Process/Source.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Record, toString } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { choose, empty, length } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { choose, empty, length } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
3
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
5
|
+
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
6
6
|
import { MaterialAttributeValue_$reflection } from "./MaterialAttributeValue.js";
|
|
7
7
|
|
|
8
8
|
export class Source extends Record {
|