@nfdi4plants/arctrl 3.0.0-beta.3 → 3.0.0-beta.4
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/README.md +2 -0
- package/dist/ts/index.js +63 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +354 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +28 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/AsyncBuilder.js +186 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +8 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Boolean.js +24 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +73 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +31 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +574 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +59 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +65 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +30 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +5 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +5 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +48 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +120 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +680 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +40 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +655 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +105 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +320 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +204 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Native.js +10 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Numeric.js +73 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +65 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +23 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +111 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +114 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +36 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +846 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +65 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +1160 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +364 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +40 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +193 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Unicode.13.0.0.js +6 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Uri.js +160 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +367 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +825 -0
- package/dist/ts/ts/ARC.js +914 -0
- package/dist/ts/ts/Contract/ARC.js +52 -0
- package/dist/ts/ts/Contract/ArcAssay.js +80 -0
- package/dist/ts/ts/Contract/ArcInvestigation.js +57 -0
- package/dist/ts/ts/Contract/ArcRun.js +76 -0
- package/dist/ts/ts/Contract/ArcStudy.js +76 -0
- package/dist/ts/ts/Contract/ArcWorkflow.js +77 -0
- package/dist/ts/ts/Contract/Contract.js +45 -0
- package/dist/ts/ts/Contract/Datamap.js +221 -0
- package/dist/ts/ts/Contract/Git.js +57 -0
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +57 -0
- package/dist/ts/ts/ContractIO/ContractIO.js +202 -0
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +273 -0
- package/dist/ts/ts/Conversion.js +1247 -0
- package/dist/ts/ts/Core/ArcTypes.js +3393 -0
- package/dist/ts/ts/Core/Comment.js +91 -0
- package/dist/ts/ts/Core/CommentList.js +27 -0
- package/dist/ts/ts/Core/Conversion.js +923 -0
- package/dist/ts/ts/Core/Data.js +179 -0
- package/dist/ts/ts/Core/DataContext.js +108 -0
- package/dist/ts/ts/Core/DataFile.js +50 -0
- package/dist/ts/ts/Core/DataMap.js +53 -0
- package/dist/ts/ts/Core/Helper/Collections.js +323 -0
- package/dist/ts/ts/Core/Helper/HashCodes.js +35 -0
- package/dist/ts/ts/Core/Helper/Identifier.js +96 -0
- package/dist/ts/ts/Core/Helper/ORCID.js +34 -0
- package/dist/ts/ts/Core/Helper/Regex.js +296 -0
- package/dist/ts/ts/Core/Helper/SemVer.js +31 -0
- package/dist/ts/ts/Core/Helper/Url.js +32 -0
- package/dist/ts/ts/Core/IdentifierSetters.js +9 -0
- package/dist/ts/ts/Core/OntologyAnnotation.js +207 -0
- package/dist/ts/ts/Core/OntologySourceReference.js +84 -0
- package/dist/ts/ts/Core/Person.js +183 -0
- package/dist/ts/ts/Core/Process/ColumnIndex.js +73 -0
- package/dist/ts/ts/Core/Process/Component.js +121 -0
- package/dist/ts/ts/Core/Process/Factor.js +104 -0
- package/dist/ts/ts/Core/Process/FactorValue.js +68 -0
- package/dist/ts/ts/Core/Process/Material.js +49 -0
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +30 -0
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +68 -0
- package/dist/ts/ts/Core/Process/MaterialType.js +28 -0
- package/dist/ts/ts/Core/Process/Process.js +136 -0
- package/dist/ts/ts/Core/Process/ProcessInput.js +207 -0
- package/dist/ts/ts/Core/Process/ProcessOutput.js +178 -0
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +135 -0
- package/dist/ts/ts/Core/Process/ProcessSequence.js +56 -0
- package/dist/ts/ts/Core/Process/Protocol.js +54 -0
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +69 -0
- package/dist/ts/ts/Core/Process/Sample.js +44 -0
- package/dist/ts/ts/Core/Process/Source.js +38 -0
- package/dist/ts/ts/Core/Publication.js +108 -0
- package/dist/ts/ts/Core/Table/ArcTable.js +889 -0
- package/dist/ts/ts/Core/Table/ArcTableAux.js +993 -0
- package/dist/ts/ts/Core/Table/ArcTables.js +415 -0
- package/dist/ts/ts/Core/Table/CompositeCell.js +334 -0
- package/dist/ts/ts/Core/Table/CompositeColumn.js +52 -0
- package/dist/ts/ts/Core/Table/CompositeHeader.js +792 -0
- package/dist/ts/ts/Core/Template.js +180 -0
- package/dist/ts/ts/Core/Templates.js +75 -0
- package/dist/ts/ts/Core/URI.js +8 -0
- package/dist/ts/ts/Core/Value.js +194 -0
- package/dist/ts/ts/CrossAsync.js +20 -0
- package/dist/ts/ts/FileSystem/DefaultGitattributes.js +3 -0
- package/dist/ts/ts/FileSystem/DefaultGitignore.js +3 -0
- package/dist/ts/ts/FileSystem/FileSystem.js +48 -0
- package/dist/ts/ts/FileSystem/FileSystemTree.js +339 -0
- package/dist/ts/ts/FileSystem/Path.js +36 -0
- package/dist/ts/ts/Json/Assay.d.ts +1 -1
- package/dist/ts/ts/Json/Assay.js +221 -0
- package/dist/ts/ts/Json/Comment.d.ts +1 -1
- package/dist/ts/ts/Json/Comment.js +112 -0
- package/dist/ts/ts/Json/Data.d.ts +1 -1
- package/dist/ts/ts/Json/Data.js +138 -0
- package/dist/ts/ts/Json/DataFile.d.ts +1 -1
- package/dist/ts/ts/Json/DataFile.js +55 -0
- package/dist/ts/ts/Json/DataMap/DataContext.d.ts +1 -1
- package/dist/ts/ts/Json/DataMap/DataContext.js +39 -0
- package/dist/ts/ts/Json/DataMap/DataMap.d.ts +1 -1
- package/dist/ts/ts/Json/DataMap/DataMap.js +27 -0
- package/dist/ts/ts/Json/Decode.d.ts +2 -2
- package/dist/ts/ts/Json/Decode.js +209 -0
- package/dist/ts/ts/Json/Encode.d.ts +1 -1
- package/dist/ts/ts/Json/Encode.js +65 -0
- package/dist/ts/ts/Json/IDTable.d.ts +1 -1
- package/dist/ts/ts/Json/IDTable.js +28 -0
- package/dist/ts/ts/Json/Investigation.d.ts +1 -1
- package/dist/ts/ts/Json/Investigation.js +229 -0
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +194 -0
- package/dist/ts/ts/Json/OntologySourceReference.d.ts +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +119 -0
- package/dist/ts/ts/Json/Person.d.ts +1 -1
- package/dist/ts/ts/Json/Person.js +316 -0
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +21 -0
- package/dist/ts/ts/Json/Process/Component.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Component.js +41 -0
- package/dist/ts/ts/Json/Process/Factor.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +53 -0
- package/dist/ts/ts/Json/Process/FactorValue.d.ts +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +44 -0
- package/dist/ts/ts/Json/Process/Material.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Material.js +112 -0
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +43 -0
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +44 -0
- package/dist/ts/ts/Json/Process/MaterialType.d.ts +1 -1
- package/dist/ts/ts/Json/Process/MaterialType.js +45 -0
- package/dist/ts/ts/Json/Process/Process.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Process.js +103 -0
- package/dist/ts/ts/Json/Process/ProcessInput.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProcessInput.js +42 -0
- package/dist/ts/ts/Json/Process/ProcessOutput.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProcessOutput.js +35 -0
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +28 -0
- package/dist/ts/ts/Json/Process/Protocol.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +166 -0
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +43 -0
- package/dist/ts/ts/Json/Process/Sample.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +165 -0
- package/dist/ts/ts/Json/Process/Source.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Source.js +133 -0
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +23 -0
- package/dist/ts/ts/Json/Process/Value.d.ts +1 -1
- package/dist/ts/ts/Json/Process/Value.js +41 -0
- package/dist/ts/ts/Json/PropertyValue.d.ts +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +280 -0
- package/dist/ts/ts/Json/Publication.d.ts +1 -1
- package/dist/ts/ts/Json/Publication.js +123 -0
- package/dist/ts/ts/Json/ROCrate/LDContext.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDContext.js +115 -0
- package/dist/ts/ts/Json/ROCrate/LDGraph.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +83 -0
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDNode.js +190 -0
- package/dist/ts/ts/Json/ROCrate/LDRef.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDRef.js +24 -0
- package/dist/ts/ts/Json/ROCrate/LDValue.d.ts +1 -1
- package/dist/ts/ts/Json/ROCrate/LDValue.js +63 -0
- package/dist/ts/ts/Json/StringTable.d.ts +1 -1
- package/dist/ts/ts/Json/StringTable.js +66 -0
- package/dist/ts/ts/Json/Study.d.ts +1 -1
- package/dist/ts/ts/Json/Study.js +326 -0
- package/dist/ts/ts/Json/Table/ArcTable.d.ts +1 -1
- package/dist/ts/ts/Json/Table/ArcTable.js +210 -0
- package/dist/ts/ts/Json/Table/CellTable.d.ts +1 -1
- package/dist/ts/ts/Json/Table/CellTable.js +53 -0
- package/dist/ts/ts/Json/Table/CompositeCell.d.ts +1 -1
- package/dist/ts/ts/Json/Table/CompositeCell.js +106 -0
- package/dist/ts/ts/Json/Table/CompositeHeader.d.ts +1 -1
- package/dist/ts/ts/Json/Table/CompositeHeader.js +121 -0
- package/dist/ts/ts/Json/Table/IOType.d.ts +1 -1
- package/dist/ts/ts/Json/Table/IOType.js +15 -0
- package/dist/ts/ts/Json/Table/OATable.d.ts +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +50 -0
- package/dist/ts/ts/Json/Table/Templates.d.ts +1 -1
- package/dist/ts/ts/Json/Table/Templates.js +15 -0
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +61 -0
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +29 -0
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +41 -0
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +69 -0
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +37 -0
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +37 -0
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +41 -0
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +25 -0
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +86 -0
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +57 -0
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +61 -0
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +45 -0
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +33 -0
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +33 -0
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +77 -0
- package/dist/ts/ts/Json/context/rocrate/property_value_context.d.ts +1 -1
- package/dist/ts/ts/Json/context/rocrate/property_value_context.js +61 -0
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.d.ts +1 -1
- package/dist/ts/ts/Json.js +171 -0
- package/dist/ts/ts/JsonIO/Assay.js +77 -0
- package/dist/ts/ts/JsonIO/Investigation.js +77 -0
- package/dist/ts/ts/JsonIO/LDObject.js +77 -0
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +56 -0
- package/dist/ts/ts/JsonIO/Study.js +77 -0
- package/dist/ts/ts/JsonIO/Table/Compression.d.ts +1 -1
- package/dist/ts/ts/JsonIO/Table/Compression.js +39 -0
- package/dist/ts/ts/JsonIO/Table/Templates.d.ts +1 -1
- package/dist/ts/ts/JsonIO/Table/Templates.js +25 -0
- package/dist/ts/ts/ROCrate/Generic/Comment.js +103 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.js +624 -0
- package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +103 -0
- package/dist/ts/ts/ROCrate/Generic/File.js +184 -0
- package/dist/ts/ts/ROCrate/Generic/LabProcess.js +222 -0
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +257 -0
- package/dist/ts/ts/ROCrate/Generic/Organization.js +63 -0
- package/dist/ts/ts/ROCrate/Generic/Person.js +377 -0
- package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +143 -0
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +512 -0
- package/dist/ts/ts/ROCrate/Generic/Sample.js +131 -0
- package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +173 -0
- package/dist/ts/ts/ROCrate/Helper.js +7 -0
- package/dist/ts/ts/ROCrate/LDContext.js +288 -0
- package/dist/ts/ts/ROCrate/LDObject.js +855 -0
- package/dist/ts/ts/ROCrate/ROCrateContext.js +39 -0
- package/dist/ts/ts/ROCrateIO.d.ts +1 -1
- package/dist/ts/ts/ROCrateIO.js +58 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +149 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +63 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +108 -0
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +410 -0
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +169 -0
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +316 -0
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +136 -0
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +92 -0
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +125 -0
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +34 -0
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMap.js +33 -0
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts +2 -2
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +41 -0
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +418 -0
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts +3 -3
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +85 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +90 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +58 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +85 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +133 -0
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +15 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +74 -0
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +58 -0
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +62 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +94 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +81 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +91 -0
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +193 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +238 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +105 -0
- package/dist/ts/ts/Template.Web.js +22 -0
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +53 -0
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +78 -0
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +13 -0
- package/dist/ts/ts/WebRequest/WebRequest.js +19 -0
- package/dist/ts/ts/Xlsx.d.ts +1 -1
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +91 -0
- package/dist/ts/ts/Yaml/Encode.js +8 -0
- package/dist/ts/ts/Yaml/ValidationPackage.js +26 -0
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +40 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +344 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +103 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +19 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +17 -0
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +7 -0
- package/dist/ts/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +5 -0
- package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +18 -0
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +44 -0
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +5 -0
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +142 -0
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +76 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +359 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +344 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +154 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +116 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +126 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +135 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +422 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +5 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +25 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +28 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +69 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +42 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +29 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +348 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +86 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +68 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +12 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +54 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +33 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +63 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +66 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +544 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +31 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +38 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +79 -0
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Encode.fs.js +57 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +235 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +16 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +45 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +89 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +480 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +11 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +212 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +164 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +136 -0
- package/package.json +10 -7
- package/dist/ts/__vite-browser-external-2447137e.js +0 -4
- package/dist/ts/__vite-browser-external-b3701507.cjs +0 -1
- package/dist/ts/arctrl.cjs.js +0 -5691
- package/dist/ts/arctrl.es.js +0 -35562
- package/dist/ts/arctrl.umd.js +0 -5691
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { map, value, bind, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
3
|
+
import { MaterialAttribute__get_NameText, MaterialAttribute_create_A220A8A } from './MaterialAttribute.js';
|
|
4
|
+
import '../Helper/Url.js';
|
|
5
|
+
|
|
6
|
+
class MaterialAttributeValue extends Record {
|
|
7
|
+
constructor(ID, Category, Value, Unit) {
|
|
8
|
+
super();
|
|
9
|
+
this.ID = ID;
|
|
10
|
+
this.Category = Category;
|
|
11
|
+
this.Value = Value;
|
|
12
|
+
this.Unit = Unit;
|
|
13
|
+
}
|
|
14
|
+
Print() {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return toString(this$);
|
|
17
|
+
}
|
|
18
|
+
PrintCompact() {
|
|
19
|
+
let value_2, category_2, category_1, value_1;
|
|
20
|
+
const this$ = this;
|
|
21
|
+
const category = map(MaterialAttribute__get_NameText, this$.Category);
|
|
22
|
+
const unit = map((oa) => oa.NameText, this$.Unit);
|
|
23
|
+
const value$1 = map((v) => {
|
|
24
|
+
const s = v.PrintCompact();
|
|
25
|
+
if (unit == null) {
|
|
26
|
+
return s;
|
|
27
|
+
} else {
|
|
28
|
+
return s + " " + value(unit);
|
|
29
|
+
}
|
|
30
|
+
}, this$.Value);
|
|
31
|
+
return category == null ? value$1 == null ? "" : (value_2 = value(value$1), value_2) : value$1 == null ? (category_2 = value(category), category_2 + ":No Value") : (category_1 = value(category), value_1 = value(value$1), category_1 + ":" + value_1);
|
|
32
|
+
}
|
|
33
|
+
AlternateName() {
|
|
34
|
+
return void 0;
|
|
35
|
+
}
|
|
36
|
+
MeasurementMethod() {
|
|
37
|
+
return void 0;
|
|
38
|
+
}
|
|
39
|
+
Description() {
|
|
40
|
+
return void 0;
|
|
41
|
+
}
|
|
42
|
+
GetCategory() {
|
|
43
|
+
const this$ = this;
|
|
44
|
+
return bind((x) => x.CharacteristicType, this$.Category);
|
|
45
|
+
}
|
|
46
|
+
GetValue() {
|
|
47
|
+
const this$ = this;
|
|
48
|
+
return this$.Value;
|
|
49
|
+
}
|
|
50
|
+
GetUnit() {
|
|
51
|
+
const this$ = this;
|
|
52
|
+
return this$.Unit;
|
|
53
|
+
}
|
|
54
|
+
GetAdditionalType() {
|
|
55
|
+
return "MaterialAttributeValue";
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function MaterialAttributeValue_make(id, category, value, unit) {
|
|
59
|
+
return new MaterialAttributeValue(id, category, value, unit);
|
|
60
|
+
}
|
|
61
|
+
function MaterialAttributeValue_create_ZE1D108D(Id, Category, Value, Unit) {
|
|
62
|
+
return MaterialAttributeValue_make(Id, Category, Value, Unit);
|
|
63
|
+
}
|
|
64
|
+
function MaterialAttributeValue_createAsPV(alternateName, measurementMethod, description, category, value, unit) {
|
|
65
|
+
return MaterialAttributeValue_create_ZE1D108D(void 0, unwrap(map((c) => MaterialAttribute_create_A220A8A(void 0, c), category)), unwrap(value), unwrap(unit));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { MaterialAttributeValue, MaterialAttributeValue_createAsPV, MaterialAttributeValue_create_ZE1D108D, MaterialAttributeValue_make };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Union } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
|
|
3
|
+
function MaterialType_ExtractName() {
|
|
4
|
+
return new MaterialType(0, []);
|
|
5
|
+
}
|
|
6
|
+
function MaterialType_LabeledExtractName() {
|
|
7
|
+
return new MaterialType(1, []);
|
|
8
|
+
}
|
|
9
|
+
class MaterialType extends Union {
|
|
10
|
+
constructor(tag, fields) {
|
|
11
|
+
super();
|
|
12
|
+
this.tag = tag;
|
|
13
|
+
this.fields = fields;
|
|
14
|
+
}
|
|
15
|
+
cases() {
|
|
16
|
+
return ["ExtractName", "LabeledExtractName"];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function MaterialType__get_AsString(this$) {
|
|
20
|
+
if (this$.tag === /* LabeledExtractName */
|
|
21
|
+
1) {
|
|
22
|
+
return "Labeled Extract";
|
|
23
|
+
} else {
|
|
24
|
+
return "Extract";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { MaterialType, MaterialType_ExtractName, MaterialType_LabeledExtractName, MaterialType__get_AsString };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { Record, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { length, empty, choose, append, collect } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
3
|
+
import { defaultArg, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
4
|
+
import { ProcessInput_tryData_5B3D5BA9, ProcessInput_trySample_5B3D5BA9, ProcessInput_tryMaterial_5B3D5BA9, ProcessInput_trySource_5B3D5BA9, ProcessInput_tryGetCharacteristicValues_5B3D5BA9 } from './ProcessInput.js';
|
|
5
|
+
import { parse } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
|
|
6
|
+
import { ProcessOutput_tryData_Z42C11600, ProcessOutput_tryGetFactorValues_Z42C11600, ProcessOutput_trySample_Z42C11600, ProcessOutput_tryMaterial_Z42C11600, ProcessOutput_tryGetCharacteristicValues_Z42C11600 } from './ProcessOutput.js';
|
|
7
|
+
import '../Helper/Url.js';
|
|
8
|
+
import { ActivePatterns_$007CRegex$007C_$007C } from '../Helper/Regex.js';
|
|
9
|
+
import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
10
|
+
import { safeHash, equals } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
11
|
+
import { List_distinct } from '../../../node_modules/@fable-org/fable-library-js/Seq2.js';
|
|
12
|
+
|
|
13
|
+
class Process extends Record {
|
|
14
|
+
constructor(ID, Name, ExecutesProtocol, ParameterValues, Performer, Date$, PreviousProcess, NextProcess, Inputs, Outputs, Comments) {
|
|
15
|
+
super();
|
|
16
|
+
this.ID = ID;
|
|
17
|
+
this.Name = Name;
|
|
18
|
+
this.ExecutesProtocol = ExecutesProtocol;
|
|
19
|
+
this.ParameterValues = ParameterValues;
|
|
20
|
+
this.Performer = Performer;
|
|
21
|
+
this.Date = Date$;
|
|
22
|
+
this.PreviousProcess = PreviousProcess;
|
|
23
|
+
this.NextProcess = NextProcess;
|
|
24
|
+
this.Inputs = Inputs;
|
|
25
|
+
this.Outputs = Outputs;
|
|
26
|
+
this.Comments = Comments;
|
|
27
|
+
}
|
|
28
|
+
Print() {
|
|
29
|
+
const this$ = this;
|
|
30
|
+
return toString(this$);
|
|
31
|
+
}
|
|
32
|
+
PrintCompact() {
|
|
33
|
+
const this$ = this;
|
|
34
|
+
const inputCount = length(defaultArg(this$.Inputs, empty())) | 0;
|
|
35
|
+
const outputCount = length(defaultArg(this$.Outputs, empty())) | 0;
|
|
36
|
+
const paramCount = length(defaultArg(this$.ParameterValues, empty())) | 0;
|
|
37
|
+
const name = defaultArg(this$.Name, "Unnamed Process");
|
|
38
|
+
return toText(printf("%s [%i Inputs -> %i Params -> %i Outputs]"))(name)(inputCount)(paramCount)(outputCount);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function Process_make(id, name, executesProtocol, parameterValues, performer, date, previousProcess, nextProcess, inputs, outputs, comments) {
|
|
42
|
+
return new Process(id, name, executesProtocol, parameterValues, performer, date, previousProcess, nextProcess, inputs, outputs, comments);
|
|
43
|
+
}
|
|
44
|
+
function Process_create_Z7C1F7FA9(Id, Name, ExecutesProtocol, ParameterValues, Performer, Date$, PreviousProcess, NextProcess, Inputs, Outputs, Comments) {
|
|
45
|
+
return Process_make(Id, Name, ExecutesProtocol, ParameterValues, Performer, Date$, PreviousProcess, NextProcess, Inputs, Outputs, Comments);
|
|
46
|
+
}
|
|
47
|
+
function Process_composeName(processNameRoot, i) {
|
|
48
|
+
return `${processNameRoot}_${i}`;
|
|
49
|
+
}
|
|
50
|
+
function Process_decomposeName_Z721C83C5(name) {
|
|
51
|
+
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(?<name>.+)_(?<num>\\d+)", name);
|
|
52
|
+
if (activePatternResult != null) {
|
|
53
|
+
const r = value(activePatternResult);
|
|
54
|
+
return [r.groups && r.groups.name || "", parse(r.groups && r.groups.num || "", 511, false, 32)];
|
|
55
|
+
} else {
|
|
56
|
+
return [name, void 0];
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function Process_getParameterValues_763471FF(p) {
|
|
60
|
+
return defaultArg(p.ParameterValues, empty());
|
|
61
|
+
}
|
|
62
|
+
function Process_getInputCharacteristicValues_763471FF(p) {
|
|
63
|
+
const matchValue = p.Inputs;
|
|
64
|
+
if (matchValue == null) {
|
|
65
|
+
return empty();
|
|
66
|
+
} else {
|
|
67
|
+
return List_distinct(collect((inp) => defaultArg(ProcessInput_tryGetCharacteristicValues_5B3D5BA9(inp), empty()), value(matchValue)), {
|
|
68
|
+
Equals: equals,
|
|
69
|
+
GetHashCode: safeHash
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function Process_getOutputCharacteristicValues_763471FF(p) {
|
|
74
|
+
const matchValue = p.Outputs;
|
|
75
|
+
if (matchValue == null) {
|
|
76
|
+
return empty();
|
|
77
|
+
} else {
|
|
78
|
+
return List_distinct(collect((out) => defaultArg(ProcessOutput_tryGetCharacteristicValues_Z42C11600(out), empty()), value(matchValue)), {
|
|
79
|
+
Equals: equals,
|
|
80
|
+
GetHashCode: safeHash
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function Process_getCharacteristicValues_763471FF(p) {
|
|
85
|
+
return List_distinct(append(Process_getInputCharacteristicValues_763471FF(p), Process_getOutputCharacteristicValues_763471FF(p)), {
|
|
86
|
+
Equals: equals,
|
|
87
|
+
GetHashCode: safeHash
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function Process_getCharacteristics_763471FF(p) {
|
|
91
|
+
return List_distinct(choose((cv) => cv.Category, Process_getCharacteristicValues_763471FF(p)), {
|
|
92
|
+
Equals: equals,
|
|
93
|
+
GetHashCode: safeHash
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
function Process_getFactorValues_763471FF(p) {
|
|
97
|
+
return List_distinct(collect((arg) => defaultArg(ProcessOutput_tryGetFactorValues_Z42C11600(arg), empty()), defaultArg(p.Outputs, empty())), {
|
|
98
|
+
Equals: equals,
|
|
99
|
+
GetHashCode: safeHash
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
function Process_getFactors_763471FF(p) {
|
|
103
|
+
return List_distinct(choose((fv) => fv.Category, Process_getFactorValues_763471FF(p)), {
|
|
104
|
+
Equals: equals,
|
|
105
|
+
GetHashCode: safeHash
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
function Process_getUnits_763471FF(p) {
|
|
109
|
+
return append(choose((cv) => cv.Unit, Process_getCharacteristicValues_763471FF(p)), append(choose((pv) => pv.Unit, Process_getParameterValues_763471FF(p)), choose((fv) => fv.Unit, Process_getFactorValues_763471FF(p))));
|
|
110
|
+
}
|
|
111
|
+
function Process_getSources_763471FF(p) {
|
|
112
|
+
return List_distinct(choose(ProcessInput_trySource_5B3D5BA9, defaultArg(p.Inputs, empty())), {
|
|
113
|
+
Equals: equals,
|
|
114
|
+
GetHashCode: safeHash
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
function Process_getData_763471FF(p) {
|
|
118
|
+
return List_distinct(append(choose(ProcessInput_tryData_5B3D5BA9, defaultArg(p.Inputs, empty())), choose(ProcessOutput_tryData_Z42C11600, defaultArg(p.Outputs, empty()))), {
|
|
119
|
+
Equals: equals,
|
|
120
|
+
GetHashCode: safeHash
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function Process_getSamples_763471FF(p) {
|
|
124
|
+
return List_distinct(append(choose(ProcessInput_trySample_5B3D5BA9, defaultArg(p.Inputs, empty())), choose(ProcessOutput_trySample_Z42C11600, defaultArg(p.Outputs, empty()))), {
|
|
125
|
+
Equals: equals,
|
|
126
|
+
GetHashCode: safeHash
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function Process_getMaterials_763471FF(p) {
|
|
130
|
+
return List_distinct(append(choose(ProcessInput_tryMaterial_5B3D5BA9, defaultArg(p.Inputs, empty())), choose(ProcessOutput_tryMaterial_Z42C11600, defaultArg(p.Outputs, empty()))), {
|
|
131
|
+
Equals: equals,
|
|
132
|
+
GetHashCode: safeHash
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export { Process, Process_composeName, Process_create_Z7C1F7FA9, Process_decomposeName_Z721C83C5, Process_getCharacteristicValues_763471FF, Process_getCharacteristics_763471FF, Process_getData_763471FF, Process_getFactorValues_763471FF, Process_getFactors_763471FF, Process_getInputCharacteristicValues_763471FF, Process_getMaterials_763471FF, Process_getOutputCharacteristicValues_763471FF, Process_getParameterValues_763471FF, Process_getSamples_763471FF, Process_getSources_763471FF, Process_getUnits_763471FF, Process_make };
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { Union, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { Source_create_Z5CA08497, Source_setCharacteristicValues } from './Source.js';
|
|
3
|
+
import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
|
+
import { Material_create_Z66909A6D, Material_setCharacteristicValues } from './Material.js';
|
|
5
|
+
import { Data } from '../Data.js';
|
|
6
|
+
import { Sample_create_62424AD2, Sample_setCharacteristicValues } from './Sample.js';
|
|
7
|
+
import { defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
8
|
+
import { empty } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
9
|
+
import { DataFile_RawDataFile } from '../DataFile.js';
|
|
10
|
+
|
|
11
|
+
function ProcessInput_Source(Item) {
|
|
12
|
+
return new ProcessInput(0, [Item]);
|
|
13
|
+
}
|
|
14
|
+
function ProcessInput_Sample(Item) {
|
|
15
|
+
return new ProcessInput(1, [Item]);
|
|
16
|
+
}
|
|
17
|
+
function ProcessInput_Data(Item) {
|
|
18
|
+
return new ProcessInput(2, [Item]);
|
|
19
|
+
}
|
|
20
|
+
function ProcessInput_Material(Item) {
|
|
21
|
+
return new ProcessInput(3, [Item]);
|
|
22
|
+
}
|
|
23
|
+
class ProcessInput extends Union {
|
|
24
|
+
constructor(tag, fields) {
|
|
25
|
+
super();
|
|
26
|
+
this.tag = tag;
|
|
27
|
+
this.fields = fields;
|
|
28
|
+
}
|
|
29
|
+
cases() {
|
|
30
|
+
return ["Source", "Sample", "Data", "Material"];
|
|
31
|
+
}
|
|
32
|
+
Print() {
|
|
33
|
+
const this$ = this;
|
|
34
|
+
return toString(this$);
|
|
35
|
+
}
|
|
36
|
+
PrintCompact() {
|
|
37
|
+
const this$ = this;
|
|
38
|
+
switch (this$.tag) {
|
|
39
|
+
case /* Source */
|
|
40
|
+
0: {
|
|
41
|
+
const s_1 = this$.fields[0];
|
|
42
|
+
const arg_1 = s_1.PrintCompact();
|
|
43
|
+
return toText(printf("Source {%s}"))(arg_1);
|
|
44
|
+
}
|
|
45
|
+
case /* Material */
|
|
46
|
+
3: {
|
|
47
|
+
const m = this$.fields[0];
|
|
48
|
+
const arg_2 = m.PrintCompact();
|
|
49
|
+
return toText(printf("Material {%s}"))(arg_2);
|
|
50
|
+
}
|
|
51
|
+
case /* Data */
|
|
52
|
+
2: {
|
|
53
|
+
const d = this$.fields[0];
|
|
54
|
+
const arg_3 = d.PrintCompact();
|
|
55
|
+
return toText(printf("Data {%s}"))(arg_3);
|
|
56
|
+
}
|
|
57
|
+
default: {
|
|
58
|
+
const s = this$.fields[0];
|
|
59
|
+
const arg = s.PrintCompact();
|
|
60
|
+
return toText(printf("Sample {%s}"))(arg);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function ProcessInput__get_TryName(this$) {
|
|
66
|
+
switch (this$.tag) {
|
|
67
|
+
case /* Source */
|
|
68
|
+
0:
|
|
69
|
+
return this$.fields[0].Name;
|
|
70
|
+
case /* Material */
|
|
71
|
+
3:
|
|
72
|
+
return this$.fields[0].Name;
|
|
73
|
+
case /* Data */
|
|
74
|
+
2: {
|
|
75
|
+
const d = this$.fields[0];
|
|
76
|
+
return d.Name;
|
|
77
|
+
}
|
|
78
|
+
default:
|
|
79
|
+
return this$.fields[0].Name;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function ProcessInput__get_Name(this$) {
|
|
83
|
+
return defaultArg(ProcessInput__get_TryName(this$), "");
|
|
84
|
+
}
|
|
85
|
+
function ProcessInput_isSample_5B3D5BA9(pi) {
|
|
86
|
+
if (pi.tag === /* Sample */
|
|
87
|
+
1) {
|
|
88
|
+
return true;
|
|
89
|
+
} else {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function ProcessInput_isSource_5B3D5BA9(pi) {
|
|
94
|
+
if (pi.tag === /* Source */
|
|
95
|
+
0) {
|
|
96
|
+
return true;
|
|
97
|
+
} else {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function ProcessInput_isData_5B3D5BA9(pi) {
|
|
102
|
+
if (pi.tag === /* Data */
|
|
103
|
+
2) {
|
|
104
|
+
return true;
|
|
105
|
+
} else {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function ProcessInput_isMaterial_5B3D5BA9(pi) {
|
|
110
|
+
if (pi.tag === /* Material */
|
|
111
|
+
3) {
|
|
112
|
+
return true;
|
|
113
|
+
} else {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
function ProcessInput__isSource(this$) {
|
|
118
|
+
return ProcessInput_isSource_5B3D5BA9(this$);
|
|
119
|
+
}
|
|
120
|
+
function ProcessInput__isSample(this$) {
|
|
121
|
+
return ProcessInput_isSample_5B3D5BA9(this$);
|
|
122
|
+
}
|
|
123
|
+
function ProcessInput__isData(this$) {
|
|
124
|
+
return ProcessInput_isData_5B3D5BA9(this$);
|
|
125
|
+
}
|
|
126
|
+
function ProcessInput__isMaterial(this$) {
|
|
127
|
+
return ProcessInput_isMaterial_5B3D5BA9(this$);
|
|
128
|
+
}
|
|
129
|
+
function ProcessInput_trySample_5B3D5BA9(pi) {
|
|
130
|
+
if (pi.tag === /* Sample */
|
|
131
|
+
1) {
|
|
132
|
+
return pi.fields[0];
|
|
133
|
+
} else {
|
|
134
|
+
return void 0;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function ProcessInput_trySource_5B3D5BA9(pi) {
|
|
138
|
+
if (pi.tag === /* Source */
|
|
139
|
+
0) {
|
|
140
|
+
return pi.fields[0];
|
|
141
|
+
} else {
|
|
142
|
+
return void 0;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function ProcessInput_tryData_5B3D5BA9(pi) {
|
|
146
|
+
if (pi.tag === /* Data */
|
|
147
|
+
2) {
|
|
148
|
+
return pi.fields[0];
|
|
149
|
+
} else {
|
|
150
|
+
return void 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function ProcessInput_tryMaterial_5B3D5BA9(pi) {
|
|
154
|
+
if (pi.tag === /* Material */
|
|
155
|
+
3) {
|
|
156
|
+
return pi.fields[0];
|
|
157
|
+
} else {
|
|
158
|
+
return void 0;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
function ProcessInput_setCharacteristicValues(characteristics, pi) {
|
|
162
|
+
switch (pi.tag) {
|
|
163
|
+
case /* Source */
|
|
164
|
+
0:
|
|
165
|
+
return ProcessInput_Source(Source_setCharacteristicValues(characteristics, pi.fields[0]));
|
|
166
|
+
case /* Material */
|
|
167
|
+
3:
|
|
168
|
+
return ProcessInput_Material(Material_setCharacteristicValues(characteristics, pi.fields[0]));
|
|
169
|
+
case /* Data */
|
|
170
|
+
2:
|
|
171
|
+
return pi;
|
|
172
|
+
default:
|
|
173
|
+
return ProcessInput_Sample(Sample_setCharacteristicValues(characteristics, pi.fields[0]));
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
function ProcessInput_tryGetCharacteristicValues_5B3D5BA9(pi) {
|
|
177
|
+
switch (pi.tag) {
|
|
178
|
+
case /* Source */
|
|
179
|
+
0:
|
|
180
|
+
return pi.fields[0].Characteristics;
|
|
181
|
+
case /* Material */
|
|
182
|
+
3:
|
|
183
|
+
return pi.fields[0].Characteristics;
|
|
184
|
+
case /* Data */
|
|
185
|
+
2:
|
|
186
|
+
return void 0;
|
|
187
|
+
default:
|
|
188
|
+
return pi.fields[0].Characteristics;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
function ProcessInput_getCharacteristicValues_5B3D5BA9(pi) {
|
|
192
|
+
return defaultArg(ProcessInput_tryGetCharacteristicValues_5B3D5BA9(pi), empty());
|
|
193
|
+
}
|
|
194
|
+
function ProcessInput_createSource_Z5E00540E(name, characteristics) {
|
|
195
|
+
return ProcessInput_Source(Source_create_Z5CA08497(void 0, name, unwrap(characteristics)));
|
|
196
|
+
}
|
|
197
|
+
function ProcessInput_createSample_Z598187B7(name, characteristics, factors, derivesFrom) {
|
|
198
|
+
return ProcessInput_Sample(Sample_create_62424AD2(void 0, name, unwrap(characteristics), unwrap(factors), unwrap(derivesFrom)));
|
|
199
|
+
}
|
|
200
|
+
function ProcessInput_createMaterial_4452CB4C(name, characteristics, derivesFrom) {
|
|
201
|
+
return ProcessInput_Material(Material_create_Z66909A6D(void 0, name, void 0, unwrap(characteristics), unwrap(derivesFrom)));
|
|
202
|
+
}
|
|
203
|
+
function ProcessInput_createRawData_Z721C83C5(name) {
|
|
204
|
+
return ProcessInput_Data(Data.create(void 0, name, DataFile_RawDataFile()));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export { ProcessInput, ProcessInput_Data, ProcessInput_Material, ProcessInput_Sample, ProcessInput_Source, ProcessInput__get_Name, ProcessInput__get_TryName, ProcessInput__isData, ProcessInput__isMaterial, ProcessInput__isSample, ProcessInput__isSource, ProcessInput_createMaterial_4452CB4C, ProcessInput_createRawData_Z721C83C5, ProcessInput_createSample_Z598187B7, ProcessInput_createSource_Z5E00540E, ProcessInput_getCharacteristicValues_5B3D5BA9, ProcessInput_isData_5B3D5BA9, ProcessInput_isMaterial_5B3D5BA9, ProcessInput_isSample_5B3D5BA9, ProcessInput_isSource_5B3D5BA9, ProcessInput_setCharacteristicValues, ProcessInput_tryData_5B3D5BA9, ProcessInput_tryGetCharacteristicValues_5B3D5BA9, ProcessInput_tryMaterial_5B3D5BA9, ProcessInput_trySample_5B3D5BA9, ProcessInput_trySource_5B3D5BA9 };
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { Union, toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { Material_create_Z66909A6D } from './Material.js';
|
|
3
|
+
import { toText, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
4
|
+
import { Data } from '../Data.js';
|
|
5
|
+
import { Sample_create_62424AD2, Sample_setFactorValues } from './Sample.js';
|
|
6
|
+
import { defaultArg, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
7
|
+
import { empty } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
8
|
+
import { DataFile_RawDataFile } from '../DataFile.js';
|
|
9
|
+
|
|
10
|
+
function ProcessOutput_Sample(Item) {
|
|
11
|
+
return new ProcessOutput(0, [Item]);
|
|
12
|
+
}
|
|
13
|
+
function ProcessOutput_Data(Item) {
|
|
14
|
+
return new ProcessOutput(1, [Item]);
|
|
15
|
+
}
|
|
16
|
+
function ProcessOutput_Material(Item) {
|
|
17
|
+
return new ProcessOutput(2, [Item]);
|
|
18
|
+
}
|
|
19
|
+
class ProcessOutput extends Union {
|
|
20
|
+
constructor(tag, fields) {
|
|
21
|
+
super();
|
|
22
|
+
this.tag = tag;
|
|
23
|
+
this.fields = fields;
|
|
24
|
+
}
|
|
25
|
+
cases() {
|
|
26
|
+
return ["Sample", "Data", "Material"];
|
|
27
|
+
}
|
|
28
|
+
Print() {
|
|
29
|
+
const this$ = this;
|
|
30
|
+
return toString(this$);
|
|
31
|
+
}
|
|
32
|
+
PrintCompact() {
|
|
33
|
+
const this$ = this;
|
|
34
|
+
switch (this$.tag) {
|
|
35
|
+
case /* Material */
|
|
36
|
+
2: {
|
|
37
|
+
const m = this$.fields[0];
|
|
38
|
+
const arg_1 = m.PrintCompact();
|
|
39
|
+
return toText(printf("Material {%s}"))(arg_1);
|
|
40
|
+
}
|
|
41
|
+
case /* Data */
|
|
42
|
+
1: {
|
|
43
|
+
const d = this$.fields[0];
|
|
44
|
+
const arg_2 = d.PrintCompact();
|
|
45
|
+
return toText(printf("Data {%s}"))(arg_2);
|
|
46
|
+
}
|
|
47
|
+
default: {
|
|
48
|
+
const s = this$.fields[0];
|
|
49
|
+
const arg = s.PrintCompact();
|
|
50
|
+
return toText(printf("Sample {%s}"))(arg);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function ProcessOutput__get_TryName(this$) {
|
|
56
|
+
switch (this$.tag) {
|
|
57
|
+
case /* Material */
|
|
58
|
+
2:
|
|
59
|
+
return this$.fields[0].Name;
|
|
60
|
+
case /* Data */
|
|
61
|
+
1: {
|
|
62
|
+
const d = this$.fields[0];
|
|
63
|
+
return d.Name;
|
|
64
|
+
}
|
|
65
|
+
default:
|
|
66
|
+
return this$.fields[0].Name;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function ProcessOutput__get_Name(this$) {
|
|
70
|
+
return defaultArg(ProcessOutput__get_TryName(this$), "");
|
|
71
|
+
}
|
|
72
|
+
function ProcessOutput_isSample_Z42C11600(po) {
|
|
73
|
+
if (po.tag === /* Sample */
|
|
74
|
+
0) {
|
|
75
|
+
return true;
|
|
76
|
+
} else {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function ProcessOutput_isData_Z42C11600(po) {
|
|
81
|
+
if (po.tag === /* Data */
|
|
82
|
+
1) {
|
|
83
|
+
return true;
|
|
84
|
+
} else {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function ProcessOutput_isMaterial_Z42C11600(po) {
|
|
89
|
+
if (po.tag === /* Material */
|
|
90
|
+
2) {
|
|
91
|
+
return true;
|
|
92
|
+
} else {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function ProcessOutput__isSample(this$) {
|
|
97
|
+
return ProcessOutput_isSample_Z42C11600(this$);
|
|
98
|
+
}
|
|
99
|
+
function ProcessOutput__isData(this$) {
|
|
100
|
+
return ProcessOutput_isData_Z42C11600(this$);
|
|
101
|
+
}
|
|
102
|
+
function ProcessOutput__isMaterial(this$) {
|
|
103
|
+
return ProcessOutput_isMaterial_Z42C11600(this$);
|
|
104
|
+
}
|
|
105
|
+
function ProcessOutput_trySample_Z42C11600(po) {
|
|
106
|
+
if (po.tag === /* Sample */
|
|
107
|
+
0) {
|
|
108
|
+
return po.fields[0];
|
|
109
|
+
} else {
|
|
110
|
+
return void 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function ProcessOutput_tryData_Z42C11600(po) {
|
|
114
|
+
if (po.tag === /* Data */
|
|
115
|
+
1) {
|
|
116
|
+
return po.fields[0];
|
|
117
|
+
} else {
|
|
118
|
+
return void 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function ProcessOutput_tryMaterial_Z42C11600(po) {
|
|
122
|
+
if (po.tag === /* Material */
|
|
123
|
+
2) {
|
|
124
|
+
return po.fields[0];
|
|
125
|
+
} else {
|
|
126
|
+
return void 0;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function ProcessOutput_tryGetCharacteristicValues_Z42C11600(po) {
|
|
130
|
+
switch (po.tag) {
|
|
131
|
+
case /* Material */
|
|
132
|
+
2:
|
|
133
|
+
return po.fields[0].Characteristics;
|
|
134
|
+
case /* Data */
|
|
135
|
+
1:
|
|
136
|
+
return void 0;
|
|
137
|
+
default:
|
|
138
|
+
return po.fields[0].Characteristics;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
function ProcessOutput_tryGetFactorValues_Z42C11600(po) {
|
|
142
|
+
switch (po.tag) {
|
|
143
|
+
case /* Material */
|
|
144
|
+
2:
|
|
145
|
+
return void 0;
|
|
146
|
+
case /* Data */
|
|
147
|
+
1:
|
|
148
|
+
return void 0;
|
|
149
|
+
default:
|
|
150
|
+
return po.fields[0].FactorValues;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function ProcessOutput_setFactorValues(values, po) {
|
|
154
|
+
switch (po.tag) {
|
|
155
|
+
case /* Material */
|
|
156
|
+
2:
|
|
157
|
+
return po;
|
|
158
|
+
case /* Data */
|
|
159
|
+
1:
|
|
160
|
+
return po;
|
|
161
|
+
default:
|
|
162
|
+
return ProcessOutput_Sample(Sample_setFactorValues(values, po.fields[0]));
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function ProcessOutput_getFactorValues_Z42C11600(po) {
|
|
166
|
+
return defaultArg(ProcessOutput_tryGetFactorValues_Z42C11600(po), empty());
|
|
167
|
+
}
|
|
168
|
+
function ProcessOutput_createSample_Z598187B7(name, characteristics, factors, derivesFrom) {
|
|
169
|
+
return ProcessOutput_Sample(Sample_create_62424AD2(void 0, name, unwrap(characteristics), unwrap(factors), unwrap(derivesFrom)));
|
|
170
|
+
}
|
|
171
|
+
function ProcessOutput_createMaterial_4452CB4C(name, characteristics, derivesFrom) {
|
|
172
|
+
return ProcessOutput_Material(Material_create_Z66909A6D(void 0, name, void 0, unwrap(characteristics), unwrap(derivesFrom)));
|
|
173
|
+
}
|
|
174
|
+
function ProcessOutput_createRawData_Z721C83C5(name) {
|
|
175
|
+
return ProcessOutput_Data(Data.create(void 0, name, DataFile_RawDataFile()));
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export { ProcessOutput, ProcessOutput_Data, ProcessOutput_Material, ProcessOutput_Sample, ProcessOutput__get_Name, ProcessOutput__get_TryName, ProcessOutput__isData, ProcessOutput__isMaterial, ProcessOutput__isSample, ProcessOutput_createMaterial_4452CB4C, ProcessOutput_createRawData_Z721C83C5, ProcessOutput_createSample_Z598187B7, ProcessOutput_getFactorValues_Z42C11600, ProcessOutput_isData_Z42C11600, ProcessOutput_isMaterial_Z42C11600, ProcessOutput_isSample_Z42C11600, ProcessOutput_setFactorValues, ProcessOutput_tryData_Z42C11600, ProcessOutput_tryGetCharacteristicValues_Z42C11600, ProcessOutput_tryGetFactorValues_Z42C11600, ProcessOutput_tryMaterial_Z42C11600, ProcessOutput_trySample_Z42C11600 };
|