@nfdi4plants/arctrl 2.5.1 → 3.0.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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/ts/cjs/index.js +39 -0
- package/dist/ts/cjs/ts/ARC.js +965 -0
- package/dist/ts/cjs/ts/Contract/ARC.js +61 -0
- package/dist/ts/cjs/ts/Contract/ArcAssay.js +103 -0
- package/dist/ts/cjs/ts/Contract/ArcInvestigation.js +77 -0
- package/dist/ts/cjs/ts/Contract/ArcRun.js +103 -0
- package/dist/ts/cjs/ts/Contract/ArcStudy.js +103 -0
- package/dist/ts/cjs/ts/Contract/ArcWorkflow.js +104 -0
- package/dist/ts/cjs/ts/Contract/Contract.js +100 -0
- package/dist/ts/cjs/ts/Contract/Datamap.js +314 -0
- package/dist/ts/cjs/ts/Contract/Git.js +94 -0
- package/dist/ts/cjs/ts/Contract/ValidationPackagesConfig.js +97 -0
- package/dist/ts/cjs/ts/ContractIO/ContractIO.js +217 -0
- package/dist/ts/cjs/ts/ContractIO/FileSystemHelper.js +205 -0
- package/dist/ts/cjs/ts/Conversion.js +1700 -0
- package/dist/ts/cjs/ts/Core/ArcTypes.js +3803 -0
- package/dist/ts/cjs/ts/Core/Comment.js +106 -0
- package/dist/ts/cjs/ts/Core/CommentList.js +134 -0
- package/dist/ts/cjs/ts/Core/Conversion.js +1131 -0
- package/dist/ts/cjs/ts/Core/Data.js +194 -0
- package/dist/ts/cjs/ts/Core/DataContext.js +141 -0
- package/dist/ts/cjs/ts/Core/DataFile.js +98 -0
- package/dist/ts/cjs/ts/Core/DataMap.js +185 -0
- package/dist/ts/cjs/ts/Core/Helper/Collections.js +419 -0
- package/dist/ts/cjs/ts/Core/Helper/HashCodes.js +40 -0
- package/dist/ts/cjs/ts/Core/Helper/Identifier.js +329 -0
- package/dist/ts/cjs/ts/Core/Helper/ORCID.js +40 -0
- package/dist/ts/cjs/ts/Core/Helper/Printer.js +2 -0
- package/dist/ts/cjs/ts/Core/Helper/Regex.js +616 -0
- package/dist/ts/cjs/ts/Core/Helper/SemVer.js +59 -0
- package/dist/ts/cjs/ts/Core/Helper/Url.js +40 -0
- package/dist/ts/cjs/ts/Core/IPropertyValue.js +2 -0
- package/dist/ts/cjs/ts/Core/IdentifierSetters.js +27 -0
- package/dist/ts/cjs/ts/Core/OntologyAnnotation.js +215 -0
- package/dist/ts/cjs/ts/Core/OntologySourceReference.js +94 -0
- package/dist/ts/cjs/ts/Core/Person.js +196 -0
- package/dist/ts/cjs/ts/Core/Process/ColumnIndex.js +258 -0
- package/dist/ts/cjs/ts/Core/Process/Component.js +200 -0
- package/dist/ts/cjs/ts/Core/Process/Factor.js +111 -0
- package/dist/ts/cjs/ts/Core/Process/FactorValue.js +143 -0
- package/dist/ts/cjs/ts/Core/Process/Material.js +68 -0
- package/dist/ts/cjs/ts/Core/Process/MaterialAttribute.js +103 -0
- package/dist/ts/cjs/ts/Core/Process/MaterialAttributeValue.js +160 -0
- package/dist/ts/cjs/ts/Core/Process/MaterialType.js +51 -0
- package/dist/ts/cjs/ts/Core/Process/Process.js +371 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessInput.js +321 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessOutput.js +282 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessParameterValue.js +141 -0
- package/dist/ts/cjs/ts/Core/Process/ProcessSequence.js +250 -0
- package/dist/ts/cjs/ts/Core/Process/Protocol.js +248 -0
- package/dist/ts/cjs/ts/Core/Process/ProtocolParameter.js +75 -0
- package/dist/ts/cjs/ts/Core/Process/Sample.js +73 -0
- package/dist/ts/cjs/ts/Core/Process/Source.js +56 -0
- package/dist/ts/cjs/ts/Core/Publication.js +118 -0
- package/dist/ts/cjs/ts/Core/Table/ArcTable.js +906 -0
- package/dist/ts/cjs/ts/Core/Table/ArcTableAux.js +582 -0
- package/dist/ts/cjs/ts/Core/Table/ArcTables.js +483 -0
- package/dist/ts/cjs/ts/Core/Table/CompositeCell.js +317 -0
- package/dist/ts/cjs/ts/Core/Table/CompositeColumn.js +58 -0
- package/dist/ts/cjs/ts/Core/Table/CompositeHeader.js +718 -0
- package/dist/ts/cjs/ts/Core/Template.js +196 -0
- package/dist/ts/cjs/ts/Core/Templates.js +86 -0
- package/dist/ts/cjs/ts/Core/URI.js +20 -0
- package/dist/ts/cjs/ts/Core/Value.js +191 -0
- package/dist/ts/cjs/ts/CrossAsync.js +35 -0
- package/dist/ts/cjs/ts/FileSystem/Commit.js +20 -0
- package/dist/ts/cjs/ts/FileSystem/DefaultGitattributes.js +4 -0
- package/dist/ts/cjs/ts/FileSystem/DefaultGitignore.js +4 -0
- package/dist/ts/cjs/ts/FileSystem/FileSystem.js +55 -0
- package/dist/ts/cjs/ts/FileSystem/FileSystemTree.js +322 -0
- package/dist/ts/cjs/ts/FileSystem/Path.js +63 -0
- package/dist/ts/cjs/ts/Json/Assay.js +234 -0
- package/dist/ts/cjs/ts/Json/Comment.js +119 -0
- package/dist/ts/cjs/ts/Json/Data.js +147 -0
- package/dist/ts/cjs/ts/Json/DataFile.js +54 -0
- package/dist/ts/cjs/ts/Json/DataMap/DataContext.js +40 -0
- package/dist/ts/cjs/ts/Json/DataMap/DataMap.js +30 -0
- package/dist/ts/cjs/ts/Json/Decode.js +126 -0
- package/dist/ts/cjs/ts/Json/Encode.js +75 -0
- package/dist/ts/cjs/ts/Json/IDTable.js +30 -0
- package/dist/ts/cjs/ts/Json/Investigation.js +254 -0
- package/dist/ts/cjs/ts/Json/OntologyAnnotation.js +207 -0
- package/dist/ts/cjs/ts/Json/OntologySourceReference.js +125 -0
- package/dist/ts/cjs/ts/Json/Person.js +338 -0
- package/dist/ts/cjs/ts/Json/Process/AssayMaterials.js +21 -0
- package/dist/ts/cjs/ts/Json/Process/Component.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/Factor.js +58 -0
- package/dist/ts/cjs/ts/Json/Process/FactorValue.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/Material.js +120 -0
- package/dist/ts/cjs/ts/Json/Process/MaterialAttribute.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/MaterialAttributeValue.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/MaterialType.js +46 -0
- package/dist/ts/cjs/ts/Json/Process/Process.js +109 -0
- package/dist/ts/cjs/ts/Json/Process/ProcessInput.js +38 -0
- package/dist/ts/cjs/ts/Json/Process/ProcessOutput.js +33 -0
- package/dist/ts/cjs/ts/Json/Process/ProcessParameterValue.js +33 -0
- package/dist/ts/cjs/ts/Json/Process/Protocol.js +180 -0
- package/dist/ts/cjs/ts/Json/Process/ProtocolParameter.js +47 -0
- package/dist/ts/cjs/ts/Json/Process/Sample.js +176 -0
- package/dist/ts/cjs/ts/Json/Process/Source.js +145 -0
- package/dist/ts/cjs/ts/Json/Process/StudyMaterials.js +23 -0
- package/dist/ts/cjs/ts/Json/Process/Value.js +39 -0
- package/dist/ts/cjs/ts/Json/PropertyValue.js +300 -0
- package/dist/ts/cjs/ts/Json/Publication.js +130 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDContext.js +123 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDGraph.js +88 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDNode.js +213 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDRef.js +25 -0
- package/dist/ts/cjs/ts/Json/ROCrate/LDValue.js +70 -0
- package/dist/ts/cjs/ts/Json/StringTable.js +63 -0
- package/dist/ts/cjs/ts/Json/Study.js +347 -0
- package/dist/ts/cjs/ts/Json/Table/ArcTable.js +230 -0
- package/dist/ts/cjs/ts/Json/Table/CellTable.js +58 -0
- package/dist/ts/cjs/ts/Json/Table/CompositeCell.js +103 -0
- package/dist/ts/cjs/ts/Json/Table/CompositeHeader.js +108 -0
- package/dist/ts/cjs/ts/Json/Table/IOType.js +16 -0
- package/dist/ts/cjs/ts/Json/Table/OATable.js +55 -0
- package/dist/ts/cjs/ts/Json/Table/Templates.js +106 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_assay_context.js +89 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_comment_context.js +47 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_data_context.js +61 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_investigation_context.js +97 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_material_context.js +58 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_ontology_annotation_context.js +56 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +62 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_organization_context.js +42 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_person_context.js +112 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_process_context.js +82 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_protocol_context.js +85 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_publication_context.js +66 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_sample_context.js +53 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_source_context.js +53 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/isa_study_context.js +113 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/property_value_context.js +61 -0
- package/dist/ts/cjs/ts/Json/context/rocrate/rocrate_context.js +63 -0
- package/dist/ts/cjs/ts/Json.js +195 -0
- package/dist/ts/cjs/ts/JsonIO/Assay.js +104 -0
- package/dist/ts/cjs/ts/JsonIO/Investigation.js +104 -0
- package/dist/ts/cjs/ts/JsonIO/OntologyAnnotation.js +77 -0
- package/dist/ts/cjs/ts/JsonIO/Study.js +104 -0
- package/dist/ts/cjs/ts/JsonIO/Table/Compression.js +47 -0
- package/dist/ts/cjs/ts/JsonIO/Table/Templates.js +92 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Comment.js +117 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Dataset.js +671 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/DefinedTerm.js +117 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/File.js +202 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/LabProcess.js +240 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/LabProtocol.js +277 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Organization.js +73 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Person.js +413 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/PostalAddress.js +161 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/PropertyValue.js +550 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/Sample.js +141 -0
- package/dist/ts/cjs/ts/ROCrate/Generic/ScholarlyArticle.js +189 -0
- package/dist/ts/cjs/ts/ROCrate/Helper.js +7 -0
- package/dist/ts/cjs/ts/ROCrate/LDContext.js +284 -0
- package/dist/ts/cjs/ts/ROCrate/LDObject.js +984 -0
- package/dist/ts/cjs/ts/ROCrate/ROCrateContext.js +44 -0
- package/dist/ts/cjs/ts/ROCrateIO.js +64 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/ArcTable.js +165 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/CompositeCell.js +68 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +79 -0
- package/dist/ts/cjs/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +476 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcAssay.js +218 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcInvestigation.js +340 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcRun.js +177 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcStudy.js +130 -0
- package/dist/ts/cjs/ts/Spreadsheet/ArcWorkflow.js +166 -0
- package/dist/ts/cjs/ts/Spreadsheet/CollectionAux.js +128 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMap.js +41 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMapTable/DataMapColumn.js +43 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMapTable/DataMapHeader.js +480 -0
- package/dist/ts/cjs/ts/Spreadsheet/DataMapTable/DataMapTable.js +105 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Assays.js +98 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Comment.js +68 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Contacts.js +92 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Conversions.js +187 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/DesignDescriptors.js +25 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Factors.js +83 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/OntologyAnnotation.js +65 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/OntologySourceReference.js +68 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Protocols.js +103 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Publication.js +88 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Run.js +99 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/SparseTable.js +460 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Study.js +259 -0
- package/dist/ts/cjs/ts/Spreadsheet/Metadata/Workflow.js +111 -0
- package/dist/ts/cjs/ts/Template.Web.js +29 -0
- package/dist/ts/cjs/ts/ValidationPackages/ValidationPackage.js +63 -0
- package/dist/ts/cjs/ts/ValidationPackages/ValidationPackagesConfig.js +90 -0
- package/dist/ts/cjs/ts/WebRequest/WebRequest.Node.js +17 -0
- package/dist/ts/cjs/ts/WebRequest/WebRequest.js +20 -0
- package/dist/ts/cjs/ts/Xlsx.js +133 -0
- package/dist/ts/cjs/ts/Yaml/Encode.js +9 -0
- package/dist/ts/cjs/ts/Yaml/ValidationPackage.js +49 -0
- package/dist/ts/cjs/ts/Yaml/ValidationPackagesConfig.js +50 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +444 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +142 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +53 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +23 -0
- package/dist/ts/cjs/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +87 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +5 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +123 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.js +2 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +360 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +220 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +20 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +431 -0
- package/dist/ts/cjs/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +186 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.js +477 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js +521 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.js +211 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.js +58 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.js +139 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.js +365 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.js +259 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.js +127 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.js +137 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js +140 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js +435 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.js +69 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.js +40 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.js +40 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.js +31 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.js +78 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.js +46 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.js +134 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.js +43 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.js +238 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.js +93 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.js +76 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.js +42 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.js +332 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.js +175 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +80 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +65 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +53 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +55 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +34 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +68 -0
- package/dist/ts/cjs/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +72 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +1316 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +200 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +103 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +97 -0
- package/dist/ts/cjs/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +59 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1723 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +75 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +13 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +50 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +104 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +527 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +12 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +235 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +166 -0
- package/dist/ts/cjs/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +174 -0
- package/dist/ts/esm/index.js +16 -0
- package/dist/ts/esm/ts/ARC.js +948 -0
- package/dist/ts/esm/ts/Contract/ARC.js +58 -0
- package/dist/ts/esm/ts/Contract/ArcAssay.js +93 -0
- package/dist/ts/esm/ts/Contract/ArcInvestigation.js +69 -0
- package/dist/ts/esm/ts/Contract/ArcRun.js +93 -0
- package/dist/ts/esm/ts/Contract/ArcStudy.js +93 -0
- package/dist/ts/esm/ts/Contract/ArcWorkflow.js +94 -0
- package/dist/ts/esm/ts/Contract/Contract.js +87 -0
- package/dist/ts/esm/ts/Contract/Datamap.js +287 -0
- package/dist/ts/esm/ts/Contract/Git.js +72 -0
- package/dist/ts/esm/ts/Contract/ValidationPackagesConfig.js +88 -0
- package/dist/ts/esm/ts/ContractIO/ContractIO.js +207 -0
- package/dist/ts/esm/ts/ContractIO/FileSystemHelper.js +176 -0
- package/dist/ts/esm/ts/Conversion.js +1582 -0
- package/dist/ts/esm/ts/Core/ArcTypes.js +3728 -0
- package/dist/ts/esm/ts/Core/Comment.js +98 -0
- package/dist/ts/esm/ts/Core/CommentList.js +126 -0
- package/dist/ts/esm/ts/Core/Conversion.js +1078 -0
- package/dist/ts/esm/ts/Core/Data.js +186 -0
- package/dist/ts/esm/ts/Core/DataContext.js +119 -0
- package/dist/ts/esm/ts/Core/DataFile.js +82 -0
- package/dist/ts/esm/ts/Core/DataMap.js +156 -0
- package/dist/ts/esm/ts/Core/Helper/Collections.js +390 -0
- package/dist/ts/esm/ts/Core/Helper/HashCodes.js +32 -0
- package/dist/ts/esm/ts/Core/Helper/Identifier.js +298 -0
- package/dist/ts/esm/ts/Core/Helper/ORCID.js +34 -0
- package/dist/ts/esm/ts/Core/Helper/Printer.js +1 -0
- package/dist/ts/esm/ts/Core/Helper/Regex.js +579 -0
- package/dist/ts/esm/ts/Core/Helper/SemVer.js +50 -0
- package/dist/ts/esm/ts/Core/Helper/Url.js +30 -0
- package/dist/ts/esm/ts/Core/IPropertyValue.js +1 -0
- package/dist/ts/esm/ts/Core/IdentifierSetters.js +21 -0
- package/dist/ts/esm/ts/Core/OntologyAnnotation.js +209 -0
- package/dist/ts/esm/ts/Core/OntologySourceReference.js +88 -0
- package/dist/ts/esm/ts/Core/Person.js +190 -0
- package/dist/ts/esm/ts/Core/Process/ColumnIndex.js +204 -0
- package/dist/ts/esm/ts/Core/Process/Component.js +180 -0
- package/dist/ts/esm/ts/Core/Process/Factor.js +106 -0
- package/dist/ts/esm/ts/Core/Process/FactorValue.js +127 -0
- package/dist/ts/esm/ts/Core/Process/Material.js +57 -0
- package/dist/ts/esm/ts/Core/Process/MaterialAttribute.js +86 -0
- package/dist/ts/esm/ts/Core/Process/MaterialAttributeValue.js +142 -0
- package/dist/ts/esm/ts/Core/Process/MaterialType.js +42 -0
- package/dist/ts/esm/ts/Core/Process/Process.js +341 -0
- package/dist/ts/esm/ts/Core/Process/ProcessInput.js +283 -0
- package/dist/ts/esm/ts/Core/Process/ProcessOutput.js +248 -0
- package/dist/ts/esm/ts/Core/Process/ProcessParameterValue.js +136 -0
- package/dist/ts/esm/ts/Core/Process/ProcessSequence.js +227 -0
- package/dist/ts/esm/ts/Core/Process/Protocol.js +210 -0
- package/dist/ts/esm/ts/Core/Process/ProtocolParameter.js +70 -0
- package/dist/ts/esm/ts/Core/Process/Sample.js +59 -0
- package/dist/ts/esm/ts/Core/Process/Source.js +45 -0
- package/dist/ts/esm/ts/Core/Publication.js +112 -0
- package/dist/ts/esm/ts/Core/Table/ArcTable.js +900 -0
- package/dist/ts/esm/ts/Core/Table/ArcTableAux.js +552 -0
- package/dist/ts/esm/ts/Core/Table/ArcTables.js +468 -0
- package/dist/ts/esm/ts/Core/Table/CompositeCell.js +308 -0
- package/dist/ts/esm/ts/Core/Table/CompositeColumn.js +53 -0
- package/dist/ts/esm/ts/Core/Table/CompositeHeader.js +691 -0
- package/dist/ts/esm/ts/Core/Template.js +186 -0
- package/dist/ts/esm/ts/Core/Templates.js +79 -0
- package/dist/ts/esm/ts/Core/URI.js +16 -0
- package/dist/ts/esm/ts/Core/Value.js +182 -0
- package/dist/ts/esm/ts/CrossAsync.js +27 -0
- package/dist/ts/esm/ts/FileSystem/Commit.js +15 -0
- package/dist/ts/esm/ts/FileSystem/DefaultGitattributes.js +1 -0
- package/dist/ts/esm/ts/FileSystem/DefaultGitignore.js +1 -0
- package/dist/ts/esm/ts/FileSystem/FileSystem.js +50 -0
- package/dist/ts/esm/ts/FileSystem/FileSystemTree.js +315 -0
- package/dist/ts/esm/ts/FileSystem/Path.js +51 -0
- package/dist/ts/esm/ts/Json/Assay.js +225 -0
- package/dist/ts/esm/ts/Json/Comment.js +111 -0
- package/dist/ts/esm/ts/Json/Data.js +138 -0
- package/dist/ts/esm/ts/Json/DataFile.js +50 -0
- package/dist/ts/esm/ts/Json/DataMap/DataContext.js +36 -0
- package/dist/ts/esm/ts/Json/DataMap/DataMap.js +24 -0
- package/dist/ts/esm/ts/Json/Decode.js +117 -0
- package/dist/ts/esm/ts/Json/Encode.js +63 -0
- package/dist/ts/esm/ts/Json/IDTable.js +26 -0
- package/dist/ts/esm/ts/Json/Investigation.js +244 -0
- package/dist/ts/esm/ts/Json/OntologyAnnotation.js +197 -0
- package/dist/ts/esm/ts/Json/OntologySourceReference.js +118 -0
- package/dist/ts/esm/ts/Json/Person.js +329 -0
- package/dist/ts/esm/ts/Json/Process/AssayMaterials.js +18 -0
- package/dist/ts/esm/ts/Json/Process/Component.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Factor.js +53 -0
- package/dist/ts/esm/ts/Json/Process/FactorValue.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Material.js +114 -0
- package/dist/ts/esm/ts/Json/Process/MaterialAttribute.js +42 -0
- package/dist/ts/esm/ts/Json/Process/MaterialAttributeValue.js +42 -0
- package/dist/ts/esm/ts/Json/Process/MaterialType.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Process.js +103 -0
- package/dist/ts/esm/ts/Json/Process/ProcessInput.js +33 -0
- package/dist/ts/esm/ts/Json/Process/ProcessOutput.js +28 -0
- package/dist/ts/esm/ts/Json/Process/ProcessParameterValue.js +28 -0
- package/dist/ts/esm/ts/Json/Process/Protocol.js +174 -0
- package/dist/ts/esm/ts/Json/Process/ProtocolParameter.js +42 -0
- package/dist/ts/esm/ts/Json/Process/Sample.js +170 -0
- package/dist/ts/esm/ts/Json/Process/Source.js +139 -0
- package/dist/ts/esm/ts/Json/Process/StudyMaterials.js +20 -0
- package/dist/ts/esm/ts/Json/Process/Value.js +35 -0
- package/dist/ts/esm/ts/Json/PropertyValue.js +295 -0
- package/dist/ts/esm/ts/Json/Publication.js +123 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDContext.js +119 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDGraph.js +84 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDNode.js +207 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDRef.js +21 -0
- package/dist/ts/esm/ts/Json/ROCrate/LDValue.js +65 -0
- package/dist/ts/esm/ts/Json/StringTable.js +56 -0
- package/dist/ts/esm/ts/Json/Study.js +337 -0
- package/dist/ts/esm/ts/Json/Table/ArcTable.js +221 -0
- package/dist/ts/esm/ts/Json/Table/CellTable.js +51 -0
- package/dist/ts/esm/ts/Json/Table/CompositeCell.js +97 -0
- package/dist/ts/esm/ts/Json/Table/CompositeHeader.js +104 -0
- package/dist/ts/esm/ts/Json/Table/IOType.js +12 -0
- package/dist/ts/esm/ts/Json/Table/OATable.js +48 -0
- package/dist/ts/esm/ts/Json/Table/Templates.js +98 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_assay_context.js +84 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_comment_context.js +42 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_data_context.js +56 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_investigation_context.js +92 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_material_context.js +53 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_ontology_annotation_context.js +51 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +57 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_organization_context.js +37 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_person_context.js +107 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_process_context.js +77 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_protocol_context.js +80 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_publication_context.js +61 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_sample_context.js +48 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_source_context.js +48 -0
- package/dist/ts/esm/ts/Json/context/rocrate/isa_study_context.js +108 -0
- package/dist/ts/esm/ts/Json/context/rocrate/property_value_context.js +58 -0
- package/dist/ts/esm/ts/Json/context/rocrate/rocrate_context.js +58 -0
- package/dist/ts/esm/ts/Json.js +175 -0
- package/dist/ts/esm/ts/JsonIO/Assay.js +90 -0
- package/dist/ts/esm/ts/JsonIO/Investigation.js +90 -0
- package/dist/ts/esm/ts/JsonIO/OntologyAnnotation.js +66 -0
- package/dist/ts/esm/ts/JsonIO/Study.js +90 -0
- package/dist/ts/esm/ts/JsonIO/Table/Compression.js +43 -0
- package/dist/ts/esm/ts/JsonIO/Table/Templates.js +80 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Comment.js +112 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Dataset.js +666 -0
- package/dist/ts/esm/ts/ROCrate/Generic/DefinedTerm.js +112 -0
- package/dist/ts/esm/ts/ROCrate/Generic/File.js +197 -0
- package/dist/ts/esm/ts/ROCrate/Generic/LabProcess.js +235 -0
- package/dist/ts/esm/ts/ROCrate/Generic/LabProtocol.js +272 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Organization.js +68 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Person.js +408 -0
- package/dist/ts/esm/ts/ROCrate/Generic/PostalAddress.js +156 -0
- package/dist/ts/esm/ts/ROCrate/Generic/PropertyValue.js +545 -0
- package/dist/ts/esm/ts/ROCrate/Generic/Sample.js +136 -0
- package/dist/ts/esm/ts/ROCrate/Generic/ScholarlyArticle.js +184 -0
- package/dist/ts/esm/ts/ROCrate/Helper.js +4 -0
- package/dist/ts/esm/ts/ROCrate/LDContext.js +273 -0
- package/dist/ts/esm/ts/ROCrate/LDObject.js +967 -0
- package/dist/ts/esm/ts/ROCrate/ROCrateContext.js +38 -0
- package/dist/ts/esm/ts/ROCrateIO.js +54 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/ArcTable.js +154 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/CompositeCell.js +61 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +72 -0
- package/dist/ts/esm/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +460 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcAssay.js +204 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcInvestigation.js +318 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcRun.js +163 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcStudy.js +117 -0
- package/dist/ts/esm/ts/Spreadsheet/ArcWorkflow.js +152 -0
- package/dist/ts/esm/ts/Spreadsheet/CollectionAux.js +117 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMap.js +37 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMapTable/DataMapColumn.js +39 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMapTable/DataMapHeader.js +463 -0
- package/dist/ts/esm/ts/Spreadsheet/DataMapTable/DataMapTable.js +97 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Assays.js +90 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Comment.js +59 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Contacts.js +84 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Conversions.js +176 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/DesignDescriptors.js +18 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Factors.js +75 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/OntologyAnnotation.js +59 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/OntologySourceReference.js +60 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Protocols.js +95 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Publication.js +80 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Run.js +91 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/SparseTable.js +437 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Study.js +245 -0
- package/dist/ts/esm/ts/Spreadsheet/Metadata/Workflow.js +103 -0
- package/dist/ts/esm/ts/Template.Web.js +23 -0
- package/dist/ts/esm/ts/ValidationPackages/ValidationPackage.js +57 -0
- package/dist/ts/esm/ts/ValidationPackages/ValidationPackagesConfig.js +84 -0
- package/dist/ts/esm/ts/WebRequest/WebRequest.Node.js +13 -0
- package/dist/ts/esm/ts/WebRequest/WebRequest.js +17 -0
- package/dist/ts/esm/ts/Xlsx.js +116 -0
- package/dist/ts/esm/ts/Yaml/Encode.js +5 -0
- package/dist/ts/esm/ts/Yaml/ValidationPackage.js +41 -0
- package/dist/ts/esm/ts/Yaml/ValidationPackagesConfig.js +42 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +432 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +118 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +43 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +18 -0
- package/dist/ts/esm/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +79 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +2 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +102 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.js +1 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +281 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +203 -0
- package/dist/ts/esm/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +16 -0
- package/dist/ts/esm/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +380 -0
- package/dist/ts/esm/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +151 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.js +463 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js +473 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.js +189 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.js +43 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.js +122 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.js +306 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.js +224 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.js +121 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.js +131 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js +134 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js +429 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.js +62 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.js +35 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.js +35 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.js +27 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.js +74 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.js +41 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.js +129 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.js +33 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.js +206 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.js +80 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.js +60 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.js +31 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.js +326 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.js +152 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +76 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +48 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +48 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +51 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +30 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +64 -0
- package/dist/ts/esm/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +67 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +1269 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +178 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +79 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +91 -0
- package/dist/ts/esm/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +55 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1692 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +57 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +9 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +43 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +96 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +522 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.js +9 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +221 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +156 -0
- package/dist/ts/esm/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +148 -0
- package/dist/ts/types/index.d.ts +17 -0
- package/dist/ts/types/index.d.ts.map +1 -0
- package/dist/ts/types/ts/ARC.d.ts +80 -0
- package/dist/ts/types/ts/ARC.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ARC.d.ts +7 -0
- package/dist/ts/types/ts/Contract/ARC.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcAssay.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ArcAssay.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcInvestigation.d.ts +10 -0
- package/dist/ts/types/ts/Contract/ArcInvestigation.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcRun.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ArcRun.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcStudy.d.ts +13 -0
- package/dist/ts/types/ts/Contract/ArcStudy.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ArcWorkflow.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ArcWorkflow.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/Contract.d.ts +39 -0
- package/dist/ts/types/ts/Contract/Contract.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/Datamap.d.ts +29 -0
- package/dist/ts/types/ts/Contract/Datamap.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/Git.d.ts +28 -0
- package/dist/ts/types/ts/Contract/Git.d.ts.map +1 -0
- package/dist/ts/types/ts/Contract/ValidationPackagesConfig.d.ts +12 -0
- package/dist/ts/types/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -0
- package/dist/ts/types/ts/ContractIO/ContractIO.d.ts +11 -0
- package/dist/ts/types/ts/ContractIO/ContractIO.d.ts.map +1 -0
- package/dist/ts/types/ts/ContractIO/FileSystemHelper.d.ts +33 -0
- package/dist/ts/types/ts/ContractIO/FileSystemHelper.d.ts.map +1 -0
- package/dist/ts/types/ts/Conversion.d.ts +282 -0
- package/dist/ts/types/ts/Conversion.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/ArcTypes.d.ts +618 -0
- package/dist/ts/types/ts/Core/ArcTypes.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Comment.d.ts +35 -0
- package/dist/ts/types/ts/Core/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/CommentList.d.ts +28 -0
- package/dist/ts/types/ts/Core/CommentList.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Conversion.d.ts +216 -0
- package/dist/ts/types/ts/Core/Conversion.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Data.d.ts +49 -0
- package/dist/ts/types/ts/Core/Data.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/DataContext.d.ts +47 -0
- package/dist/ts/types/ts/Core/DataContext.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/DataFile.d.ts +27 -0
- package/dist/ts/types/ts/Core/DataFile.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/DataMap.d.ts +52 -0
- package/dist/ts/types/ts/Core/DataMap.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Collections.d.ts +50 -0
- package/dist/ts/types/ts/Core/Helper/Collections.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/HashCodes.d.ts +9 -0
- package/dist/ts/types/ts/Core/Helper/HashCodes.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Identifier.d.ts +119 -0
- package/dist/ts/types/ts/Core/Helper/Identifier.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/ORCID.d.ts +7 -0
- package/dist/ts/types/ts/Core/Helper/ORCID.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Printer.d.ts +5 -0
- package/dist/ts/types/ts/Core/Helper/Printer.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Regex.d.ts +194 -0
- package/dist/ts/types/ts/Core/Helper/Regex.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/SemVer.d.ts +20 -0
- package/dist/ts/types/ts/Core/Helper/SemVer.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Helper/Url.d.ts +10 -0
- package/dist/ts/types/ts/Core/Helper/Url.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/IPropertyValue.d.ts +13 -0
- package/dist/ts/types/ts/Core/IPropertyValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/IdentifierSetters.d.ts +7 -0
- package/dist/ts/types/ts/Core/IdentifierSetters.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/OntologyAnnotation.d.ts +48 -0
- package/dist/ts/types/ts/Core/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/OntologySourceReference.d.ts +31 -0
- package/dist/ts/types/ts/Core/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Person.d.ts +56 -0
- package/dist/ts/types/ts/Core/Person.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ColumnIndex.d.ts +79 -0
- package/dist/ts/types/ts/Core/Process/ColumnIndex.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Component.d.ts +65 -0
- package/dist/ts/types/ts/Core/Process/Component.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Factor.d.ts +44 -0
- package/dist/ts/types/ts/Core/Process/Factor.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/FactorValue.d.ts +44 -0
- package/dist/ts/types/ts/Core/Process/FactorValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Material.d.ts +27 -0
- package/dist/ts/types/ts/Core/Process/Material.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttribute.d.ts +53 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttribute.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttributeValue.d.ts +55 -0
- package/dist/ts/types/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/MaterialType.d.ts +22 -0
- package/dist/ts/types/ts/Core/Process/MaterialType.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Process.d.ts +113 -0
- package/dist/ts/types/ts/Core/Process/Process.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessInput.d.ts +117 -0
- package/dist/ts/types/ts/Core/Process/ProcessInput.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessOutput.d.ts +106 -0
- package/dist/ts/types/ts/Core/Process/ProcessOutput.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessParameterValue.d.ts +40 -0
- package/dist/ts/types/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProcessSequence.d.ts +89 -0
- package/dist/ts/types/ts/Core/Process/ProcessSequence.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Protocol.d.ts +141 -0
- package/dist/ts/types/ts/Core/Process/Protocol.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/ProtocolParameter.d.ts +32 -0
- package/dist/ts/types/ts/Core/Process/ProtocolParameter.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Sample.d.ts +31 -0
- package/dist/ts/types/ts/Core/Process/Sample.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Process/Source.d.ts +24 -0
- package/dist/ts/types/ts/Core/Process/Source.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Publication.d.ts +36 -0
- package/dist/ts/types/ts/Core/Publication.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/ArcTable.d.ts +130 -0
- package/dist/ts/types/ts/Core/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/ArcTableAux.d.ts +103 -0
- package/dist/ts/types/ts/Core/Table/ArcTableAux.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/ArcTables.d.ts +91 -0
- package/dist/ts/types/ts/Core/Table/ArcTables.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/CompositeCell.d.ts +58 -0
- package/dist/ts/types/ts/Core/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/CompositeColumn.d.ts +19 -0
- package/dist/ts/types/ts/Core/Table/CompositeColumn.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Table/CompositeHeader.d.ts +130 -0
- package/dist/ts/types/ts/Core/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Template.d.ts +69 -0
- package/dist/ts/types/ts/Core/Template.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Templates.d.ts +18 -0
- package/dist/ts/types/ts/Core/Templates.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/URI.d.ts +13 -0
- package/dist/ts/types/ts/Core/URI.d.ts.map +1 -0
- package/dist/ts/types/ts/Core/Value.d.ts +41 -0
- package/dist/ts/types/ts/Core/Value.d.ts.map +1 -0
- package/dist/ts/types/ts/CrossAsync.d.ts +9 -0
- package/dist/ts/types/ts/CrossAsync.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/Commit.d.ts +13 -0
- package/dist/ts/types/ts/FileSystem/Commit.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitattributes.d.ts +2 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitattributes.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitignore.d.ts +2 -0
- package/dist/ts/types/ts/FileSystem/DefaultGitignore.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/FileSystem.d.ts +21 -0
- package/dist/ts/types/ts/FileSystem/FileSystem.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/FileSystemTree.d.ts +54 -0
- package/dist/ts/types/ts/FileSystem/FileSystemTree.d.ts.map +1 -0
- package/dist/ts/types/ts/FileSystem/Path.d.ts +14 -0
- package/dist/ts/types/ts/FileSystem/Path.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Assay.d.ts +19 -0
- package/dist/ts/types/ts/Json/Assay.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Comment.d.ts +14 -0
- package/dist/ts/types/ts/Json/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Data.d.ts +17 -0
- package/dist/ts/types/ts/Json/Data.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/DataFile.d.ts +7 -0
- package/dist/ts/types/ts/Json/DataFile.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/DataMap/DataContext.d.ts +5 -0
- package/dist/ts/types/ts/Json/DataMap/DataContext.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/DataMap/DataMap.d.ts +11 -0
- package/dist/ts/types/ts/Json/DataMap/DataMap.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Decode.d.ts +12 -0
- package/dist/ts/types/ts/Json/Decode.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Encode.d.ts +21 -0
- package/dist/ts/types/ts/Json/Encode.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/IDTable.d.ts +5 -0
- package/dist/ts/types/ts/Json/IDTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Investigation.d.ts +20 -0
- package/dist/ts/types/ts/Json/Investigation.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/OntologyAnnotation.d.ts +18 -0
- package/dist/ts/types/ts/Json/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/OntologySourceReference.d.ts +12 -0
- package/dist/ts/types/ts/Json/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Person.d.ts +22 -0
- package/dist/ts/types/ts/Json/Person.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/AssayMaterials.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/AssayMaterials.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Component.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/Component.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Factor.d.ts +8 -0
- package/dist/ts/types/ts/Json/Process/Factor.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/FactorValue.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/FactorValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Material.d.ts +12 -0
- package/dist/ts/types/ts/Json/Process/Material.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttribute.d.ts +8 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttribute.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttributeValue.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/MaterialType.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/MaterialType.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Process.d.ts +10 -0
- package/dist/ts/types/ts/Json/Process/Process.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProcessInput.d.ts +9 -0
- package/dist/ts/types/ts/Json/Process/ProcessInput.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProcessOutput.d.ts +9 -0
- package/dist/ts/types/ts/Json/Process/ProcessOutput.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProcessParameterValue.d.ts +11 -0
- package/dist/ts/types/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Protocol.d.ts +10 -0
- package/dist/ts/types/ts/Json/Process/Protocol.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/ProtocolParameter.d.ts +8 -0
- package/dist/ts/types/ts/Json/Process/ProtocolParameter.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Sample.d.ts +15 -0
- package/dist/ts/types/ts/Json/Process/Sample.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Source.d.ts +12 -0
- package/dist/ts/types/ts/Json/Process/Source.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/StudyMaterials.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/StudyMaterials.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Process/Value.d.ts +7 -0
- package/dist/ts/types/ts/Json/Process/Value.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/PropertyValue.d.ts +9 -0
- package/dist/ts/types/ts/Json/PropertyValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Publication.d.ts +14 -0
- package/dist/ts/types/ts/Json/Publication.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDContext.d.ts +5 -0
- package/dist/ts/types/ts/Json/ROCrate/LDContext.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDGraph.d.ts +5 -0
- package/dist/ts/types/ts/Json/ROCrate/LDGraph.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDNode.d.ts +13 -0
- package/dist/ts/types/ts/Json/ROCrate/LDNode.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDRef.d.ts +5 -0
- package/dist/ts/types/ts/Json/ROCrate/LDRef.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/ROCrate/LDValue.d.ts +7 -0
- package/dist/ts/types/ts/Json/ROCrate/LDValue.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/StringTable.d.ts +9 -0
- package/dist/ts/types/ts/Json/StringTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Study.d.ts +26 -0
- package/dist/ts/types/ts/Json/Study.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/ArcTable.d.ts +14 -0
- package/dist/ts/types/ts/Json/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/CellTable.d.ts +11 -0
- package/dist/ts/types/ts/Json/Table/CellTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/CompositeCell.d.ts +10 -0
- package/dist/ts/types/ts/Json/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/CompositeHeader.d.ts +5 -0
- package/dist/ts/types/ts/Json/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/IOType.d.ts +5 -0
- package/dist/ts/types/ts/Json/Table/IOType.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/OATable.d.ts +10 -0
- package/dist/ts/types/ts/Json/Table/OATable.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/Table/Templates.d.ts +15 -0
- package/dist/ts/types/ts/Json/Table/Templates.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_assay_context.d.ts +26 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_assay_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_comment_context.d.ts +16 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_comment_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_data_context.d.ts +18 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_data_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_investigation_context.d.ts +26 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_investigation_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_material_context.d.ts +19 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_material_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts +17 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_annotation_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts +19 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_ontology_source_reference_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_organization_context.d.ts +15 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_organization_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_person_context.d.ts +25 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_person_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_process_context.d.ts +23 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_process_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_protocol_context.d.ts +22 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_protocol_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_publication_context.d.ts +19 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_publication_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_sample_context.d.ts +18 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_sample_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_source_context.d.ts +18 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_source_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_study_context.d.ts +34 -0
- package/dist/ts/types/ts/Json/context/rocrate/isa_study_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/property_value_context.d.ts +3 -0
- package/dist/ts/types/ts/Json/context/rocrate/property_value_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json/context/rocrate/rocrate_context.d.ts +16 -0
- package/dist/ts/types/ts/Json/context/rocrate/rocrate_context.d.ts.map +1 -0
- package/dist/ts/types/ts/Json.d.ts +73 -0
- package/dist/ts/types/ts/Json.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Assay.d.ts +19 -0
- package/dist/ts/types/ts/JsonIO/Assay.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Investigation.d.ts +19 -0
- package/dist/ts/types/ts/JsonIO/Investigation.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/OntologyAnnotation.d.ts +16 -0
- package/dist/ts/types/ts/JsonIO/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Study.d.ts +20 -0
- package/dist/ts/types/ts/JsonIO/Study.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Table/Compression.d.ts +8 -0
- package/dist/ts/types/ts/JsonIO/Table/Compression.d.ts.map +1 -0
- package/dist/ts/types/ts/JsonIO/Table/Templates.d.ts +15 -0
- package/dist/ts/types/ts/JsonIO/Table/Templates.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Comment.d.ts +21 -0
- package/dist/ts/types/ts/ROCrate/Generic/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Dataset.d.ts +92 -0
- package/dist/ts/types/ts/ROCrate/Generic/Dataset.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/DefinedTerm.d.ts +21 -0
- package/dist/ts/types/ts/ROCrate/Generic/DefinedTerm.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/File.d.ts +35 -0
- package/dist/ts/types/ts/ROCrate/Generic/File.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProcess.d.ts +43 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProcess.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProtocol.d.ts +44 -0
- package/dist/ts/types/ts/ROCrate/Generic/LabProtocol.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Organization.d.ts +17 -0
- package/dist/ts/types/ts/ROCrate/Generic/Organization.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Person.d.ts +51 -0
- package/dist/ts/types/ts/ROCrate/Generic/Person.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/PostalAddress.d.ts +25 -0
- package/dist/ts/types/ts/ROCrate/Generic/PostalAddress.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/PropertyValue.d.ts +73 -0
- package/dist/ts/types/ts/ROCrate/Generic/PropertyValue.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/Sample.d.ts +30 -0
- package/dist/ts/types/ts/ROCrate/Generic/Sample.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Generic/ScholarlyArticle.d.ts +34 -0
- package/dist/ts/types/ts/ROCrate/Generic/ScholarlyArticle.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/Helper.d.ts +2 -0
- package/dist/ts/types/ts/ROCrate/Helper.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/LDContext.d.ts +45 -0
- package/dist/ts/types/ts/ROCrate/LDContext.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/LDObject.d.ts +97 -0
- package/dist/ts/types/ts/ROCrate/LDObject.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrate/ROCrateContext.d.ts +7 -0
- package/dist/ts/types/ts/ROCrate/ROCrateContext.d.ts.map +1 -0
- package/dist/ts/types/ts/ROCrateIO.d.ts +15 -0
- package/dist/ts/types/ts/ROCrateIO.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts +35 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts +9 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts +17 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts +22 -0
- package/dist/ts/types/ts/Spreadsheet/AnnotationTable/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcAssay.d.ts +31 -0
- package/dist/ts/types/ts/Spreadsheet/ArcAssay.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcInvestigation.d.ts +42 -0
- package/dist/ts/types/ts/Spreadsheet/ArcInvestigation.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcRun.d.ts +27 -0
- package/dist/ts/types/ts/Spreadsheet/ArcRun.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcStudy.d.ts +26 -0
- package/dist/ts/types/ts/Spreadsheet/ArcStudy.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/ArcWorkflow.d.ts +27 -0
- package/dist/ts/types/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/CollectionAux.d.ts +23 -0
- package/dist/ts/types/ts/Spreadsheet/CollectionAux.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMap.d.ts +8 -0
- package/dist/ts/types/ts/Spreadsheet/DataMap.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts +7 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapColumn.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts +23 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapHeader.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts +23 -0
- package/dist/ts/types/ts/Spreadsheet/DataMapTable/DataMapTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Assays.d.ts +14 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Comment.d.ts +14 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Contacts.d.ts +25 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Conversions.d.ts +60 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Conversions.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts +16 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/DesignDescriptors.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Factors.d.ts +18 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts +12 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts +18 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Protocols.d.ts +28 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Publication.d.ts +21 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Run.d.ts +14 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/SparseTable.d.ts +37 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Study.d.ts +38 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Workflow.d.ts +31 -0
- package/dist/ts/types/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -0
- package/dist/ts/types/ts/Template.Web.d.ts +11 -0
- package/dist/ts/types/ts/Template.Web.d.ts.map +1 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackage.d.ts +21 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackage.d.ts.map +1 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackagesConfig.d.ts +23 -0
- package/dist/ts/types/ts/ValidationPackages/ValidationPackagesConfig.d.ts.map +1 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.Node.d.ts +4 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.Node.d.ts.map +1 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.d.ts +4 -0
- package/dist/ts/types/ts/WebRequest/WebRequest.d.ts.map +1 -0
- package/dist/ts/types/ts/Xlsx.d.ts +50 -0
- package/dist/ts/types/ts/Xlsx.d.ts.map +1 -0
- package/dist/ts/types/ts/Yaml/Encode.d.ts +5 -0
- package/dist/ts/types/ts/Yaml/Encode.d.ts.map +1 -0
- package/dist/ts/types/ts/Yaml/ValidationPackage.d.ts +10 -0
- package/dist/ts/types/ts/Yaml/ValidationPackage.d.ts.map +1 -0
- package/dist/ts/types/ts/Yaml/ValidationPackagesConfig.d.ts +10 -0
- package/dist/ts/types/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.d.ts +69 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.d.ts +25 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.d.ts +11 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.d.ts +34 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Cell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.d.ts +14 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Column.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.d.ts +4 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.d.ts +30 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Row.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.d.ts +49 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.d.ts +35 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.d.ts +123 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.d.ts +27 -0
- package/dist/ts/types/ts/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.d.ts +253 -0
- package/dist/ts/types/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.d.ts +112 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.d.ts +8 -0
- package/dist/ts/types/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.d.ts +123 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.d.ts +113 -0
- package/dist/ts/types/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.d.ts +91 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.d.ts +181 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.d.ts +36 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.d.ts +23 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.d.ts +21 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.d.ts +157 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.d.ts +97 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.d.ts +37 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.d.ts +39 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.d.ts +36 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.d.ts +88 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.d.ts +9 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.d.ts +9 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.d.ts +5 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.d.ts +6 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.d.ts +94 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.d.ts +33 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.d.ts +31 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.d.ts +17 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.d.ts +71 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.d.ts +89 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.d.ts +19 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.d.ts +15 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.d.ts +6 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.d.ts +5 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.d.ts +20 -0
- package/dist/ts/types/ts/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.d.ts +105 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.d.ts +26 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.d.ts +99 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.d.ts +7 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.d.ts +5 -0
- package/dist/ts/types/ts/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.d.ts +64 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.d.ts +24 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.d.ts +3 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.d.ts +12 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.d.ts +6 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.d.ts +10 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Regex.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.d.ts +46 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.d.ts +12 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.d.ts.map +1 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.d.ts +70 -0
- package/dist/ts/types/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.d.ts.map +1 -0
- package/package.json +31 -8
- package/ARC.js +0 -795
- package/CWL/CWLTypes.js +0 -135
- package/CWL/Decode.js +0 -585
- package/CWL/Inputs.js +0 -62
- package/CWL/Outputs.js +0 -59
- package/CWL/Requirements.js +0 -72
- package/CWL/ToolDescription.js +0 -81
- package/CWL/WorkflowDescription.js +0 -81
- package/CWL/WorkflowSteps.js +0 -98
- package/ColumnIndex.js +0 -258
- package/Contract/ARC.js +0 -43
- package/Contract/ArcAssay.js +0 -102
- package/Contract/ArcInvestigation.js +0 -75
- package/Contract/ArcStudy.js +0 -102
- package/Contract/Contract.js +0 -98
- package/Contract/Datamap.js +0 -180
- package/Contract/Git.js +0 -94
- package/Contract/ValidationPackagesConfig.js +0 -96
- package/ContractIO/ContractIO.js +0 -204
- package/ContractIO/FileSystemHelper.js +0 -130
- package/Conversion.js +0 -1679
- package/Core/ArcTypes.js +0 -2263
- package/Core/Comment.js +0 -104
- package/Core/CommentList.js +0 -133
- package/Core/Conversion.js +0 -1113
- package/Core/Data.js +0 -193
- package/Core/DataContext.js +0 -139
- package/Core/DataFile.js +0 -84
- package/Core/DataMap.js +0 -191
- package/Core/Helper/Collections.js +0 -421
- package/Core/Helper/DateTime.js +0 -17
- package/Core/Helper/HashCodes.js +0 -39
- package/Core/Helper/Identifier.js +0 -183
- package/Core/Helper/ORCID.js +0 -39
- package/Core/Helper/Regex.js +0 -623
- package/Core/Helper/SemVer.js +0 -58
- package/Core/Helper/Url.js +0 -38
- package/Core/IdentifierSetters.js +0 -26
- package/Core/OntologyAnnotation.js +0 -213
- package/Core/OntologySourceReference.js +0 -92
- package/Core/Person.js +0 -194
- package/Core/Process/ColumnIndex.js +0 -258
- package/Core/Process/Component.js +0 -198
- package/Core/Process/Factor.js +0 -109
- package/Core/Process/FactorValue.js +0 -137
- package/Core/Process/Material.js +0 -66
- package/Core/Process/MaterialAttribute.js +0 -101
- package/Core/Process/MaterialAttributeValue.js +0 -154
- package/Core/Process/MaterialType.js +0 -41
- package/Core/Process/Process.js +0 -369
- package/Core/Process/ProcessInput.js +0 -297
- package/Core/Process/ProcessOutput.js +0 -263
- package/Core/Process/ProcessParameterValue.js +0 -135
- package/Core/Process/ProcessSequence.js +0 -251
- package/Core/Process/Protocol.js +0 -246
- package/Core/Process/ProtocolParameter.js +0 -73
- package/Core/Process/Sample.js +0 -71
- package/Core/Process/Source.js +0 -54
- package/Core/Publication.js +0 -116
- package/Core/Table/ArcTable.js +0 -901
- package/Core/Table/ArcTableAux.js +0 -583
- package/Core/Table/ArcTables.js +0 -481
- package/Core/Table/CompositeCell.js +0 -211
- package/Core/Table/CompositeColumn.js +0 -56
- package/Core/Table/CompositeHeader.js +0 -547
- package/Core/Template.js +0 -186
- package/Core/Templates.js +0 -84
- package/Core/URI.js +0 -19
- package/Core/Value.js +0 -137
- package/CrossAsync.js +0 -34
- package/FileSystem/Commit.js +0 -18
- package/FileSystem/DefaultGitattributes.js +0 -3
- package/FileSystem/DefaultGitignore.js +0 -3
- package/FileSystem/FileSystem.js +0 -53
- package/FileSystem/FileSystemTree.js +0 -275
- package/FileSystem/Path.js +0 -54
- package/FileSystem.js +0 -102
- package/Json/Assay.js +0 -171
- package/Json/Comment.js +0 -121
- package/Json/ConverterOptions.js +0 -18
- package/Json/Data.js +0 -149
- package/Json/DataFile.js +0 -55
- package/Json/DataMap/DataContext.js +0 -39
- package/Json/DataMap/DataMap.js +0 -29
- package/Json/Decode.js +0 -125
- package/Json/Encode.js +0 -74
- package/Json/IDTable.js +0 -30
- package/Json/Investigation.js +0 -256
- package/Json/OntologyAnnotation.js +0 -210
- package/Json/OntologySourceReference.js +0 -126
- package/Json/Person.js +0 -341
- package/Json/Process/AssayMaterials.js +0 -20
- package/Json/Process/Component.js +0 -48
- package/Json/Process/Factor.js +0 -57
- package/Json/Process/FactorValue.js +0 -48
- package/Json/Process/Material.js +0 -121
- package/Json/Process/MaterialAttribute.js +0 -46
- package/Json/Process/MaterialAttributeValue.js +0 -48
- package/Json/Process/MaterialType.js +0 -47
- package/Json/Process/Process.js +0 -109
- package/Json/Process/ProcessInput.js +0 -38
- package/Json/Process/ProcessOutput.js +0 -33
- package/Json/Process/ProcessParameterValue.js +0 -34
- package/Json/Process/Protocol.js +0 -180
- package/Json/Process/ProtocolParameter.js +0 -46
- package/Json/Process/Sample.js +0 -178
- package/Json/Process/Source.js +0 -146
- package/Json/Process/StudyMaterials.js +0 -22
- package/Json/Process/Value.js +0 -32
- package/Json/PropertyValue.js +0 -295
- package/Json/Publication.js +0 -132
- package/Json/ROCrate/LDContext.js +0 -121
- package/Json/ROCrate/LDGraph.js +0 -87
- package/Json/ROCrate/LDNode.js +0 -204
- package/Json/ROCrate/LDRef.js +0 -25
- package/Json/ROCrate/LDValue.js +0 -66
- package/Json/StringTable.js +0 -61
- package/Json/Study.js +0 -349
- package/Json/Table/ArcTable.js +0 -227
- package/Json/Table/CellTable.js +0 -56
- package/Json/Table/CompositeCell.js +0 -65
- package/Json/Table/CompositeHeader.js +0 -46
- package/Json/Table/IOType.js +0 -15
- package/Json/Table/OATable.js +0 -53
- package/Json/Table/Templates.js +0 -107
- package/Json/context/rocrate/isa_assay_context.js +0 -88
- package/Json/context/rocrate/isa_comment_context.js +0 -47
- package/Json/context/rocrate/isa_component_context.js +0 -64
- package/Json/context/rocrate/isa_data_context.js +0 -61
- package/Json/context/rocrate/isa_factor_context.js +0 -61
- package/Json/context/rocrate/isa_factor_value_context.js +0 -71
- package/Json/context/rocrate/isa_investigation_context.js +0 -97
- package/Json/context/rocrate/isa_material_attribute_context.js +0 -51
- package/Json/context/rocrate/isa_material_attribute_value_context.js +0 -67
- package/Json/context/rocrate/isa_material_context.js +0 -58
- package/Json/context/rocrate/isa_ontology_annotation_context.js +0 -55
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +0 -62
- package/Json/context/rocrate/isa_organization_context.js +0 -42
- package/Json/context/rocrate/isa_person_context.js +0 -113
- package/Json/context/rocrate/isa_process_context.js +0 -81
- package/Json/context/rocrate/isa_process_parameter_value_context.js +0 -67
- package/Json/context/rocrate/isa_protocol_context.js +0 -84
- package/Json/context/rocrate/isa_protocol_parameter_context.js +0 -51
- package/Json/context/rocrate/isa_publication_context.js +0 -65
- package/Json/context/rocrate/isa_sample_context.js +0 -52
- package/Json/context/rocrate/isa_source_context.js +0 -53
- package/Json/context/rocrate/isa_study_context.js +0 -112
- package/Json/context/rocrate/property_value_context.js +0 -60
- package/Json/context/rocrate/rocrate_context.js +0 -63
- package/Json.js +0 -193
- package/JsonIO/Assay.js +0 -99
- package/JsonIO/Comment.js +0 -73
- package/JsonIO/Data.js +0 -50
- package/JsonIO/DataFile.js +0 -49
- package/JsonIO/DataMap/DataMap.js +0 -29
- package/JsonIO/Decode.js +0 -4
- package/JsonIO/Investigation.js +0 -99
- package/JsonIO/LDObject.js +0 -56
- package/JsonIO/OntologyAnnotation.js +0 -73
- package/JsonIO/OntologySourceReference.js +0 -73
- package/JsonIO/Person.js +0 -74
- package/JsonIO/Process/Component.js +0 -50
- package/JsonIO/Process/Factor.js +0 -28
- package/JsonIO/Process/FactorValue.js +0 -29
- package/JsonIO/Process/Material.js +0 -50
- package/JsonIO/Process/MaterialAttribute.js +0 -29
- package/JsonIO/Process/MaterialAttributeValue.js +0 -50
- package/JsonIO/Process/MaterialType.js +0 -28
- package/JsonIO/Process/Process.js +0 -50
- package/JsonIO/Process/ProcessInput.js +0 -29
- package/JsonIO/Process/ProcessOutput.js +0 -50
- package/JsonIO/Process/ProcessParameterValue.js +0 -50
- package/JsonIO/Process/ProcessSequence.js +0 -55
- package/JsonIO/Process/Protocol.js +0 -50
- package/JsonIO/Process/ProtocolParameter.js +0 -28
- package/JsonIO/Process/Sample.js +0 -50
- package/JsonIO/Process/Source.js +0 -50
- package/JsonIO/Process/StudyMaterials.js +0 -22
- package/JsonIO/Process/Value.js +0 -23
- package/JsonIO/Publication.js +0 -74
- package/JsonIO/Study.js +0 -99
- package/JsonIO/Table/ArcTable.js +0 -82
- package/JsonIO/Table/CompositeCell.js +0 -28
- package/JsonIO/Table/CompositeHeader.js +0 -28
- package/JsonIO/Table/Compression.js +0 -48
- package/JsonIO/Table/IOType.js +0 -28
- package/JsonIO/Table/Templates.js +0 -88
- package/ROCrate/ArcROCrateMetadata.js +0 -36
- package/ROCrate/Generic/Comment.js +0 -115
- package/ROCrate/Generic/Dataset.js +0 -669
- package/ROCrate/Generic/DefinedTerm.js +0 -115
- package/ROCrate/Generic/File.js +0 -200
- package/ROCrate/Generic/LabProcess.js +0 -238
- package/ROCrate/Generic/LabProtocol.js +0 -275
- package/ROCrate/Generic/Organization.js +0 -71
- package/ROCrate/Generic/Person.js +0 -411
- package/ROCrate/Generic/PostalAddress.js +0 -159
- package/ROCrate/Generic/PropertyValue.js +0 -548
- package/ROCrate/Generic/Sample.js +0 -139
- package/ROCrate/Generic/ScholarlyArticle.js +0 -187
- package/ROCrate/Helper.js +0 -6
- package/ROCrate/ISAProfile/Assay.js +0 -60
- package/ROCrate/ISAProfile/Data.js +0 -55
- package/ROCrate/ISAProfile/Dataset.js +0 -19
- package/ROCrate/ISAProfile/Investigation.js +0 -63
- package/ROCrate/ISAProfile/LabProcess.js +0 -140
- package/ROCrate/ISAProfile/LabProtocol.js +0 -33
- package/ROCrate/ISAProfile/Person.js +0 -62
- package/ROCrate/ISAProfile/PropertyValue.js +0 -84
- package/ROCrate/ISAProfile/Sample.js +0 -54
- package/ROCrate/ISAProfile/ScholarlyArticle.js +0 -84
- package/ROCrate/ISAProfile/Study.js +0 -63
- package/ROCrate/LDContext.js +0 -283
- package/ROCrate/LDObject.js +0 -971
- package/ROCrate/ROCrateContext.js +0 -44
- package/ROCrateIO.js +0 -62
- package/Spreadsheet/AnnotationTable/ArcTable.js +0 -163
- package/Spreadsheet/AnnotationTable/CompositeCell.js +0 -57
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +0 -78
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +0 -475
- package/Spreadsheet/ArcAssay.js +0 -218
- package/Spreadsheet/ArcInvestigation.js +0 -340
- package/Spreadsheet/ArcStudy.js +0 -129
- package/Spreadsheet/CollectionAux.js +0 -128
- package/Spreadsheet/DataMap.js +0 -39
- package/Spreadsheet/DataMapTable/DataMapColumn.js +0 -42
- package/Spreadsheet/DataMapTable/DataMapHeader.js +0 -442
- package/Spreadsheet/DataMapTable/DataMapTable.js +0 -103
- package/Spreadsheet/Metadata/Assays.js +0 -81
- package/Spreadsheet/Metadata/Comment.js +0 -71
- package/Spreadsheet/Metadata/Contacts.js +0 -102
- package/Spreadsheet/Metadata/Conversions.js +0 -186
- package/Spreadsheet/Metadata/DesignDescriptors.js +0 -27
- package/Spreadsheet/Metadata/Factors.js +0 -86
- package/Spreadsheet/Metadata/OntologyAnnotation.js +0 -64
- package/Spreadsheet/Metadata/OntologySourceReference.js +0 -71
- package/Spreadsheet/Metadata/Protocols.js +0 -116
- package/Spreadsheet/Metadata/Publication.js +0 -94
- package/Spreadsheet/Metadata/SparseTable.js +0 -459
- package/Spreadsheet/Metadata/Study.js +0 -258
- package/Spreadsheet/Template.js +0 -361
- package/Template.Web.js +0 -27
- package/ValidationPackages/ValidationPackage.js +0 -61
- package/ValidationPackages/ValidationPackagesConfig.js +0 -88
- package/WebRequest/WebRequest.Node.js +0 -15
- package/WebRequest/WebRequest.js +0 -19
- package/Xlsx.js +0 -131
- package/Yaml/Encode.js +0 -8
- package/Yaml/ValidationPackage.js +0 -47
- package/Yaml/ValidationPackagesConfig.js +0 -48
- package/fable_modules/DynamicObj.7.0.1/DynObj.fs +0 -249
- package/fable_modules/DynamicObj.7.0.1/DynObj.fs.js +0 -194
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fableproj +0 -47
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fs +0 -1025
- package/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +0 -433
- package/fable_modules/DynamicObj.7.0.1/FableJS.fs +0 -178
- package/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +0 -141
- package/fable_modules/DynamicObj.7.0.1/FablePy.fs +0 -229
- package/fable_modules/DynamicObj.7.0.1/HashCodes.fs +0 -64
- package/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +0 -52
- package/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs +0 -33
- package/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +0 -21
- package/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs +0 -72
- package/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +0 -86
- package/fable_modules/DynamicObj.7.0.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/DynamicObj.7.0.1/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +0 -19
- package/fable_modules/DynamicObj.7.0.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/DynamicObj.7.0.1/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/Cell.fs +0 -32
- package/fable_modules/Fable.Exceljs.1.6.0/Column.fs +0 -24
- package/fable_modules/Fable.Exceljs.1.6.0/Csv.fs +0 -12
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs +0 -61
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +0 -4
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs +0 -36
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs.js +0 -20
- package/fable_modules/Fable.Exceljs.1.6.0/Fable.Exceljs.fableproj +0 -53
- package/fable_modules/Fable.Exceljs.1.6.0/Row.fs +0 -34
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs +0 -85
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs.js +0 -22
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs +0 -87
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +0 -73
- package/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs +0 -37
- package/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs +0 -120
- package/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs +0 -18
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +0 -19
- package/fable_modules/Fable.Fetch.2.6.0/Fable.Fetch.fableproj +0 -21
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs +0 -469
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +0 -111
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
- package/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -20
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
- package/fable_modules/Fable.SimpleHttp.3.5.0/Fable.SimpleHttp.fableproj +0 -23
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs +0 -357
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +0 -429
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs +0 -52
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +0 -112
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs +0 -436
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCell.fs.js +0 -272
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs +0 -725
- package/fable_modules/FsSpreadsheet.6.3.1/Cells/FsCellsCollection.fs.js +0 -522
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs +0 -196
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/CellBuilder.fs.js +0 -208
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/ColumnBuilder.fs +0 -209
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/ColumnBuilder.fs.js +0 -137
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/DSL.fs +0 -61
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/DSL.fs.js +0 -62
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs +0 -24
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Expression.fs.js +0 -56
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Operators.fs +0 -102
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Operators.fs.js +0 -6
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs +0 -200
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/RowBuilder.fs.js +0 -137
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/SheetBuilder.fs +0 -139
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/SheetBuilder.fs.js +0 -116
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/TableBuilder.fs +0 -120
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/TableBuilder.fs.js +0 -120
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Transform.fs +0 -229
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Transform.fs.js +0 -422
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs +0 -151
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/Types.fs.js +0 -277
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/WorkbookBuilder.fs +0 -114
- package/fable_modules/FsSpreadsheet.6.3.1/DSL/WorkbookBuilder.fs.js +0 -104
- package/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs +0 -191
- package/fable_modules/FsSpreadsheet.6.3.1/FsAddress.fs.js +0 -259
- package/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs +0 -202
- package/fable_modules/FsSpreadsheet.6.3.1/FsColumn.fs.js +0 -125
- package/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs +0 -204
- package/fable_modules/FsSpreadsheet.6.3.1/FsRow.fs.js +0 -135
- package/fable_modules/FsSpreadsheet.6.3.1/FsSpreadsheet.fableproj +0 -65
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs +0 -183
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js +0 -138
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs +0 -665
- package/fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js +0 -433
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs +0 -45
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Cell.fs.js +0 -64
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs +0 -28
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Column.fs.js +0 -39
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs +0 -28
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Row.fs.js +0 -39
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs +0 -24
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Table.fs.js +0 -30
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs +0 -70
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Value.fs.js +0 -73
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs +0 -33
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Workbook.fs.js +0 -46
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs +0 -148
- package/fable_modules/FsSpreadsheet.6.3.1/Json/Worksheet.fs.js +0 -134
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs +0 -19
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRange.fs.js +0 -41
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs +0 -222
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeAddress.fs.js +0 -236
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs +0 -93
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeBase.fs.js +0 -91
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs +0 -65
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeColumn.fs.js +0 -74
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs +0 -22
- package/fable_modules/FsSpreadsheet.6.3.1/Ranges/FsRangeRow.fs.js +0 -40
- package/fable_modules/FsSpreadsheet.6.3.1/SheetBuilder.fs +0 -249
- package/fable_modules/FsSpreadsheet.6.3.1/SheetBuilder.fs.js +0 -325
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs +0 -471
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTable.fs.js +0 -330
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs +0 -140
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableField.fs.js +0 -173
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableRow.fs +0 -6
- package/fable_modules/FsSpreadsheet.6.3.1/Tables/FsTableRow.fs.js +0 -17
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -19
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -19
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs +0 -88
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +0 -79
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs +0 -69
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +0 -64
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsSpreadsheet.Js.fableproj +0 -57
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs +0 -59
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +0 -39
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs +0 -50
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +0 -54
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs +0 -27
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +0 -34
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs +0 -41
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +0 -63
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs +0 -74
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +0 -70
- package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs +0 -1429
- package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +0 -1259
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs +0 -318
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +0 -192
- package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +0 -33
- package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs +0 -83
- package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +0 -33
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs +0 -88
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +0 -99
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs +0 -40
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +0 -58
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +0 -28
- package/fable_modules/YAMLicious.0.0.3/Decode.fs +0 -399
- package/fable_modules/YAMLicious.0.0.3/Decode.fs.js +0 -1717
- package/fable_modules/YAMLicious.0.0.3/Encode.fs +0 -148
- package/fable_modules/YAMLicious.0.0.3/Encode.fs.js +0 -74
- package/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs +0 -14
- package/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +0 -11
- package/fable_modules/YAMLicious.0.0.3/Interop/PyInterop.fs +0 -9
- package/fable_modules/YAMLicious.0.0.3/Library.fs +0 -138
- package/fable_modules/YAMLicious.0.0.3/Library.fs.js +0 -7
- package/fable_modules/YAMLicious.0.0.3/Persil.fs +0 -86
- package/fable_modules/YAMLicious.0.0.3/Persil.fs.js +0 -49
- package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs +0 -59
- package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +0 -102
- package/fable_modules/YAMLicious.0.0.3/Reader.fs +0 -295
- package/fable_modules/YAMLicious.0.0.3/Reader.fs.js +0 -530
- package/fable_modules/YAMLicious.0.0.3/Regex.fs +0 -108
- package/fable_modules/YAMLicious.0.0.3/Regex.fs.js +0 -19
- package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs +0 -166
- package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +0 -225
- package/fable_modules/YAMLicious.0.0.3/Writer.fs +0 -84
- package/fable_modules/YAMLicious.0.0.3/Writer.fs.js +0 -161
- package/fable_modules/YAMLicious.0.0.3/YAMLicious.fableproj +0 -39
- package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs +0 -82
- package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +0 -130
- package/fable_modules/YAMLicious.0.0.3/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/YAMLicious.0.0.3/obj/Debug/netstandard2.0/YAMLicious.AssemblyInfo.fs +0 -19
- package/fable_modules/YAMLicious.0.0.3/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/YAMLicious.0.0.3/obj/Release/netstandard2.0/YAMLicious.AssemblyInfo.fs +0 -19
- package/fable_modules/fable-library-js.4.24.0/Array.d.ts +0 -123
- package/fable_modules/fable-library-js.4.24.0/Array.js +0 -1242
- package/fable_modules/fable-library-js.4.24.0/Async.d.ts +0 -27
- package/fable_modules/fable-library-js.4.24.0/Async.js +0 -152
- package/fable_modules/fable-library-js.4.24.0/AsyncBuilder.d.ts +0 -59
- package/fable_modules/fable-library-js.4.24.0/AsyncBuilder.js +0 -183
- package/fable_modules/fable-library-js.4.24.0/BigInt.d.ts +0 -115
- package/fable_modules/fable-library-js.4.24.0/BigInt.js +0 -283
- package/fable_modules/fable-library-js.4.24.0/BitConverter.d.ts +0 -27
- package/fable_modules/fable-library-js.4.24.0/BitConverter.js +0 -138
- package/fable_modules/fable-library-js.4.24.0/Boolean.d.ts +0 -3
- package/fable_modules/fable-library-js.4.24.0/Boolean.js +0 -21
- package/fable_modules/fable-library-js.4.24.0/CHANGELOG.md +0 -92
- package/fable_modules/fable-library-js.4.24.0/Char.d.ts +0 -65
- package/fable_modules/fable-library-js.4.24.0/Char.js +0 -169
- package/fable_modules/fable-library-js.4.24.0/Choice.d.ts +0 -121
- package/fable_modules/fable-library-js.4.24.0/Choice.js +0 -184
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.d.ts +0 -7
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.js +0 -182
- package/fable_modules/fable-library-js.4.24.0/ConditionalWeakTable.d.ts +0 -9
- package/fable_modules/fable-library-js.4.24.0/ConditionalWeakTable.js +0 -21
- package/fable_modules/fable-library-js.4.24.0/Date.d.ts +0 -70
- package/fable_modules/fable-library-js.4.24.0/Date.js +0 -748
- package/fable_modules/fable-library-js.4.24.0/DateOffset.d.ts +0 -63
- package/fable_modules/fable-library-js.4.24.0/DateOffset.js +0 -268
- package/fable_modules/fable-library-js.4.24.0/DateOnly.d.ts +0 -18
- package/fable_modules/fable-library-js.4.24.0/DateOnly.js +0 -124
- package/fable_modules/fable-library-js.4.24.0/Decimal.d.ts +0 -45
- package/fable_modules/fable-library-js.4.24.0/Decimal.js +0 -212
- package/fable_modules/fable-library-js.4.24.0/Double.d.ts +0 -11
- package/fable_modules/fable-library-js.4.24.0/Double.js +0 -46
- package/fable_modules/fable-library-js.4.24.0/Encoding.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/Encoding.js +0 -173
- package/fable_modules/fable-library-js.4.24.0/Event.d.ts +0 -31
- package/fable_modules/fable-library-js.4.24.0/Event.js +0 -93
- package/fable_modules/fable-library-js.4.24.0/FSharp.Collections.d.ts +0 -7
- package/fable_modules/fable-library-js.4.24.0/FSharp.Collections.js +0 -27
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.CompilerServices.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.CompilerServices.js +0 -27
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.d.ts +0 -17
- package/fable_modules/fable-library-js.4.24.0/FSharp.Core.js +0 -69
- package/fable_modules/fable-library-js.4.24.0/Global.d.ts +0 -24
- package/fable_modules/fable-library-js.4.24.0/Global.js +0 -8
- package/fable_modules/fable-library-js.4.24.0/Guid.d.ts +0 -10
- package/fable_modules/fable-library-js.4.24.0/Guid.js +0 -142
- package/fable_modules/fable-library-js.4.24.0/Int32.d.ts +0 -28
- package/fable_modules/fable-library-js.4.24.0/Int32.js +0 -135
- package/fable_modules/fable-library-js.4.24.0/List.d.ts +0 -143
- package/fable_modules/fable-library-js.4.24.0/List.js +0 -1273
- package/fable_modules/fable-library-js.4.24.0/Long.d.ts +0 -3
- package/fable_modules/fable-library-js.4.24.0/Long.js +0 -46
- package/fable_modules/fable-library-js.4.24.0/MailboxProcessor.d.ts +0 -25
- package/fable_modules/fable-library-js.4.24.0/MailboxProcessor.js +0 -93
- package/fable_modules/fable-library-js.4.24.0/Map.d.ts +0 -178
- package/fable_modules/fable-library-js.4.24.0/Map.js +0 -1396
- package/fable_modules/fable-library-js.4.24.0/MapUtil.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/MapUtil.js +0 -127
- package/fable_modules/fable-library-js.4.24.0/MutableMap.d.ts +0 -52
- package/fable_modules/fable-library-js.4.24.0/MutableMap.js +0 -327
- package/fable_modules/fable-library-js.4.24.0/MutableSet.d.ts +0 -39
- package/fable_modules/fable-library-js.4.24.0/MutableSet.js +0 -233
- package/fable_modules/fable-library-js.4.24.0/Native.d.ts +0 -2
- package/fable_modules/fable-library-js.4.24.0/Native.js +0 -8
- package/fable_modules/fable-library-js.4.24.0/Numeric.d.ts +0 -19
- package/fable_modules/fable-library-js.4.24.0/Numeric.js +0 -71
- package/fable_modules/fable-library-js.4.24.0/Observable.d.ts +0 -32
- package/fable_modules/fable-library-js.4.24.0/Observable.js +0 -113
- package/fable_modules/fable-library-js.4.24.0/Option.d.ts +0 -28
- package/fable_modules/fable-library-js.4.24.0/Option.js +0 -96
- package/fable_modules/fable-library-js.4.24.0/README.md +0 -3
- package/fable_modules/fable-library-js.4.24.0/Random.d.ts +0 -37
- package/fable_modules/fable-library-js.4.24.0/Random.js +0 -170
- package/fable_modules/fable-library-js.4.24.0/Range.d.ts +0 -12
- package/fable_modules/fable-library-js.4.24.0/Range.js +0 -45
- package/fable_modules/fable-library-js.4.24.0/Reflection.d.ts +0 -119
- package/fable_modules/fable-library-js.4.24.0/Reflection.js +0 -461
- package/fable_modules/fable-library-js.4.24.0/RegExp.d.ts +0 -10
- package/fable_modules/fable-library-js.4.24.0/RegExp.js +0 -131
- package/fable_modules/fable-library-js.4.24.0/Result.d.ts +0 -37
- package/fable_modules/fable-library-js.4.24.0/Result.js +0 -165
- package/fable_modules/fable-library-js.4.24.0/Seq.d.ts +0 -165
- package/fable_modules/fable-library-js.4.24.0/Seq.js +0 -1378
- package/fable_modules/fable-library-js.4.24.0/Seq2.d.ts +0 -18
- package/fable_modules/fable-library-js.4.24.0/Seq2.js +0 -111
- package/fable_modules/fable-library-js.4.24.0/Set.d.ts +0 -190
- package/fable_modules/fable-library-js.4.24.0/Set.js +0 -1789
- package/fable_modules/fable-library-js.4.24.0/String.d.ts +0 -58
- package/fable_modules/fable-library-js.4.24.0/String.js +0 -554
- package/fable_modules/fable-library-js.4.24.0/System.Collections.Generic.d.ts +0 -79
- package/fable_modules/fable-library-js.4.24.0/System.Collections.Generic.js +0 -317
- package/fable_modules/fable-library-js.4.24.0/System.Text.d.ts +0 -38
- package/fable_modules/fable-library-js.4.24.0/System.Text.js +0 -162
- package/fable_modules/fable-library-js.4.24.0/SystemException.d.ts +0 -5
- package/fable_modules/fable-library-js.4.24.0/SystemException.js +0 -5
- package/fable_modules/fable-library-js.4.24.0/TimeOnly.d.ts +0 -15
- package/fable_modules/fable-library-js.4.24.0/TimeOnly.js +0 -122
- package/fable_modules/fable-library-js.4.24.0/TimeSpan.d.ts +0 -34
- package/fable_modules/fable-library-js.4.24.0/TimeSpan.js +0 -177
- package/fable_modules/fable-library-js.4.24.0/Timer.d.ts +0 -19
- package/fable_modules/fable-library-js.4.24.0/Timer.js +0 -67
- package/fable_modules/fable-library-js.4.24.0/Types.d.ts +0 -58
- package/fable_modules/fable-library-js.4.24.0/Types.js +0 -208
- package/fable_modules/fable-library-js.4.24.0/Unicode.13.0.0.d.ts +0 -2
- package/fable_modules/fable-library-js.4.24.0/Unicode.13.0.0.js +0 -4
- package/fable_modules/fable-library-js.4.24.0/Uri.d.ts +0 -31
- package/fable_modules/fable-library-js.4.24.0/Uri.js +0 -159
- package/fable_modules/fable-library-js.4.24.0/Util.d.ts +0 -210
- package/fable_modules/fable-library-js.4.24.0/Util.js +0 -769
- package/fable_modules/fable-library-js.4.24.0/big.d.ts +0 -338
- package/fable_modules/fable-library-js.4.24.0/lib/big.d.ts +0 -5
- package/fable_modules/fable-library-js.4.24.0/lib/big.js +0 -825
- package/fable_modules/fable-library-js.4.24.0/package.json +0 -24
- package/fable_modules/project_cracked.json +0 -1
- package/index.js +0 -16
|
@@ -0,0 +1,1700 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvestigationConversion = exports.StudyConversion = exports.AssayConversion = exports.ScholarlyArticleConversion = exports.PersonConversion = exports.DatamapConversion = exports.ProcessConversion = exports.BaseTypes = exports.ColumnIndex_orderName = void 0;
|
|
4
|
+
exports.DateTime_tryFromString = DateTime_tryFromString;
|
|
5
|
+
exports.DateTime_toString = DateTime_toString;
|
|
6
|
+
exports.ColumnIndex_tryGetIndex = ColumnIndex_tryGetIndex;
|
|
7
|
+
exports.ColumnIndex_setIndex = ColumnIndex_setIndex;
|
|
8
|
+
exports.ARCtrl_ROCrate_LDNode__LDNode_GetColumnIndex = ARCtrl_ROCrate_LDNode__LDNode_GetColumnIndex;
|
|
9
|
+
exports.ARCtrl_ROCrate_LDNode__LDNode_TryGetColumnIndex = ARCtrl_ROCrate_LDNode__LDNode_TryGetColumnIndex;
|
|
10
|
+
exports.ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4 = ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4;
|
|
11
|
+
exports.BaseTypes_$reflection = BaseTypes_$reflection;
|
|
12
|
+
exports.BaseTypes_composeComment_Z13201A7E = BaseTypes_composeComment_Z13201A7E;
|
|
13
|
+
exports.BaseTypes_decomposeComment_Z2F770004 = BaseTypes_decomposeComment_Z2F770004;
|
|
14
|
+
exports.BaseTypes_ontologyTermFromNameAndID_40457300 = BaseTypes_ontologyTermFromNameAndID_40457300;
|
|
15
|
+
exports.BaseTypes_tryOntologyTermFromNameAndID_40457300 = BaseTypes_tryOntologyTermFromNameAndID_40457300;
|
|
16
|
+
exports.BaseTypes_composeDefinedTerm_ZDED3A0F = BaseTypes_composeDefinedTerm_ZDED3A0F;
|
|
17
|
+
exports.BaseTypes_decomposeDefinedTerm_Z2F770004 = BaseTypes_decomposeDefinedTerm_Z2F770004;
|
|
18
|
+
exports.BaseTypes_composePropertyValueFromOA_ZDED3A0F = BaseTypes_composePropertyValueFromOA_ZDED3A0F;
|
|
19
|
+
exports.BaseTypes_decomposePropertyValueToOA_Z2F770004 = BaseTypes_decomposePropertyValueToOA_Z2F770004;
|
|
20
|
+
exports.BaseTypes_valuesOfCell_Z436420FE = BaseTypes_valuesOfCell_Z436420FE;
|
|
21
|
+
exports.BaseTypes_termOfHeader_6CAF647B = BaseTypes_termOfHeader_6CAF647B;
|
|
22
|
+
exports.BaseTypes_composeComponent = BaseTypes_composeComponent;
|
|
23
|
+
exports.BaseTypes_composeParameterValue = BaseTypes_composeParameterValue;
|
|
24
|
+
exports.BaseTypes_composeFactorValue = BaseTypes_composeFactorValue;
|
|
25
|
+
exports.BaseTypes_composeCharacteristicValue = BaseTypes_composeCharacteristicValue;
|
|
26
|
+
exports.BaseTypes_composeFreetextMaterialName = BaseTypes_composeFreetextMaterialName;
|
|
27
|
+
exports.BaseTypes_composeFile_3A03A101 = BaseTypes_composeFile_3A03A101;
|
|
28
|
+
exports.BaseTypes_decomposeFile_Z2F770004 = BaseTypes_decomposeFile_Z2F770004;
|
|
29
|
+
exports.BaseTypes_composeFragmentDescriptor_Z4C0BEF62 = BaseTypes_composeFragmentDescriptor_Z4C0BEF62;
|
|
30
|
+
exports.BaseTypes_decomposeFragmentDescriptor_Z6839B9E8 = BaseTypes_decomposeFragmentDescriptor_Z6839B9E8;
|
|
31
|
+
exports.BaseTypes_composeProcessInput = BaseTypes_composeProcessInput;
|
|
32
|
+
exports.BaseTypes_composeProcessOutput = BaseTypes_composeProcessOutput;
|
|
33
|
+
exports.BaseTypes_headerOntologyOfPropertyValue_Z2F770004 = BaseTypes_headerOntologyOfPropertyValue_Z2F770004;
|
|
34
|
+
exports.BaseTypes_cellOfPropertyValue_Z2F770004 = BaseTypes_cellOfPropertyValue_Z2F770004;
|
|
35
|
+
exports.BaseTypes_decomposeComponent_Z2F770004 = BaseTypes_decomposeComponent_Z2F770004;
|
|
36
|
+
exports.BaseTypes_decomposeParameterValue_Z2F770004 = BaseTypes_decomposeParameterValue_Z2F770004;
|
|
37
|
+
exports.BaseTypes_decomposeFactorValue_Z2F770004 = BaseTypes_decomposeFactorValue_Z2F770004;
|
|
38
|
+
exports.BaseTypes_decomposeCharacteristicValue_Z2F770004 = BaseTypes_decomposeCharacteristicValue_Z2F770004;
|
|
39
|
+
exports.BaseTypes_decomposeProcessInput_Z2F770004 = BaseTypes_decomposeProcessInput_Z2F770004;
|
|
40
|
+
exports.BaseTypes_decomposeProcessOutput_Z2F770004 = BaseTypes_decomposeProcessOutput_Z2F770004;
|
|
41
|
+
exports.BaseTypes_composeTechnologyPlatform_ZDED3A0F = BaseTypes_composeTechnologyPlatform_ZDED3A0F;
|
|
42
|
+
exports.BaseTypes_decomposeTechnologyPlatform_Z721C83C5 = BaseTypes_decomposeTechnologyPlatform_Z721C83C5;
|
|
43
|
+
exports.ProcessConversion_$reflection = ProcessConversion_$reflection;
|
|
44
|
+
exports.ProcessConversion_tryGetProtocolType_Z6839B9E8 = ProcessConversion_tryGetProtocolType_Z6839B9E8;
|
|
45
|
+
exports.ProcessConversion_composeProcessName = ProcessConversion_composeProcessName;
|
|
46
|
+
exports.ProcessConversion_decomposeProcessName_Z721C83C5 = ProcessConversion_decomposeProcessName_Z721C83C5;
|
|
47
|
+
exports.ProcessConversion_tryComponentGetter = ProcessConversion_tryComponentGetter;
|
|
48
|
+
exports.ProcessConversion_tryParameterGetter = ProcessConversion_tryParameterGetter;
|
|
49
|
+
exports.ProcessConversion_tryFactorGetter = ProcessConversion_tryFactorGetter;
|
|
50
|
+
exports.ProcessConversion_tryCharacteristicGetter = ProcessConversion_tryCharacteristicGetter;
|
|
51
|
+
exports.ProcessConversion_tryGetProtocolTypeGetter = ProcessConversion_tryGetProtocolTypeGetter;
|
|
52
|
+
exports.ProcessConversion_tryGetProtocolREFGetter = ProcessConversion_tryGetProtocolREFGetter;
|
|
53
|
+
exports.ProcessConversion_tryGetProtocolDescriptionGetter = ProcessConversion_tryGetProtocolDescriptionGetter;
|
|
54
|
+
exports.ProcessConversion_tryGetProtocolURIGetter = ProcessConversion_tryGetProtocolURIGetter;
|
|
55
|
+
exports.ProcessConversion_tryGetProtocolVersionGetter = ProcessConversion_tryGetProtocolVersionGetter;
|
|
56
|
+
exports.ProcessConversion_tryGetInputGetter = ProcessConversion_tryGetInputGetter;
|
|
57
|
+
exports.ProcessConversion_tryGetOutputGetter = ProcessConversion_tryGetOutputGetter;
|
|
58
|
+
exports.ProcessConversion_tryGetCommentGetter = ProcessConversion_tryGetCommentGetter;
|
|
59
|
+
exports.ProcessConversion_tryGetPerformerGetter = ProcessConversion_tryGetPerformerGetter;
|
|
60
|
+
exports.ProcessConversion_getProcessGetter = ProcessConversion_getProcessGetter;
|
|
61
|
+
exports.ProcessConversion_groupProcesses_Z27F0B586 = ProcessConversion_groupProcesses_Z27F0B586;
|
|
62
|
+
exports.ProcessConversion_processToRows_Z6839B9E8 = ProcessConversion_processToRows_Z6839B9E8;
|
|
63
|
+
exports.CompositeRow_toProtocol = CompositeRow_toProtocol;
|
|
64
|
+
exports.ARCtrl_ArcTable__ArcTable_fromProtocol_Static_Z6839B9E8 = ARCtrl_ArcTable__ArcTable_fromProtocol_Static_Z6839B9E8;
|
|
65
|
+
exports.ARCtrl_ArcTable__ArcTable_GetProtocols = ARCtrl_ArcTable__ArcTable_GetProtocols;
|
|
66
|
+
exports.ARCtrl_ArcTable__ArcTable_GetProcesses = ARCtrl_ArcTable__ArcTable_GetProcesses;
|
|
67
|
+
exports.ARCtrl_ArcTable__ArcTable_fromProcesses_Static_Z3575FB5F = ARCtrl_ArcTable__ArcTable_fromProcesses_Static_Z3575FB5F;
|
|
68
|
+
exports.ARCtrl_ArcTables__ArcTables_GetProcesses = ARCtrl_ArcTables__ArcTables_GetProcesses;
|
|
69
|
+
exports.ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586 = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586;
|
|
70
|
+
exports.DatamapConversion_$reflection = DatamapConversion_$reflection;
|
|
71
|
+
exports.DatamapConversion_composeFragmentDescriptors_Z8923FA3 = DatamapConversion_composeFragmentDescriptors_Z8923FA3;
|
|
72
|
+
exports.DatamapConversion_decomposeFragmentDescriptors_Z6E59645F = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F;
|
|
73
|
+
exports.PersonConversion_$reflection = PersonConversion_$reflection;
|
|
74
|
+
exports.PersonConversion_get_orcidKey = PersonConversion_get_orcidKey;
|
|
75
|
+
exports.PersonConversion_composeAffiliation_Z721C83C5 = PersonConversion_composeAffiliation_Z721C83C5;
|
|
76
|
+
exports.PersonConversion_decomposeAffiliation_Z2F770004 = PersonConversion_decomposeAffiliation_Z2F770004;
|
|
77
|
+
exports.PersonConversion_composeAddress_Z721C83C5 = PersonConversion_composeAddress_Z721C83C5;
|
|
78
|
+
exports.PersonConversion_decomposeAddress_4E60E31B = PersonConversion_decomposeAddress_4E60E31B;
|
|
79
|
+
exports.PersonConversion_composePerson_Z64D846DC = PersonConversion_composePerson_Z64D846DC;
|
|
80
|
+
exports.PersonConversion_decomposePerson_Z6839B9E8 = PersonConversion_decomposePerson_Z6839B9E8;
|
|
81
|
+
exports.ScholarlyArticleConversion_$reflection = ScholarlyArticleConversion_$reflection;
|
|
82
|
+
exports.ScholarlyArticleConversion_composeAuthor_Z721C83C5 = ScholarlyArticleConversion_composeAuthor_Z721C83C5;
|
|
83
|
+
exports.ScholarlyArticleConversion_splitAuthors_Z721C83C5 = ScholarlyArticleConversion_splitAuthors_Z721C83C5;
|
|
84
|
+
exports.ScholarlyArticleConversion_composeAuthors_Z721C83C5 = ScholarlyArticleConversion_composeAuthors_Z721C83C5;
|
|
85
|
+
exports.ScholarlyArticleConversion_decomposeAuthor_Z2F770004 = ScholarlyArticleConversion_decomposeAuthor_Z2F770004;
|
|
86
|
+
exports.ScholarlyArticleConversion_decomposeAuthors_1AAAE9A5 = ScholarlyArticleConversion_decomposeAuthors_1AAAE9A5;
|
|
87
|
+
exports.ScholarlyArticleConversion_composeScholarlyArticle_D324A6D = ScholarlyArticleConversion_composeScholarlyArticle_D324A6D;
|
|
88
|
+
exports.ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8 = ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8;
|
|
89
|
+
exports.AssayConversion_$reflection = AssayConversion_$reflection;
|
|
90
|
+
exports.AssayConversion_getDataFilesFromProcesses_6BABD1B0 = AssayConversion_getDataFilesFromProcesses_6BABD1B0;
|
|
91
|
+
exports.AssayConversion_composeAssay_1501C0F8 = AssayConversion_composeAssay_1501C0F8;
|
|
92
|
+
exports.AssayConversion_decomposeAssay_Z6839B9E8 = AssayConversion_decomposeAssay_Z6839B9E8;
|
|
93
|
+
exports.StudyConversion_$reflection = StudyConversion_$reflection;
|
|
94
|
+
exports.StudyConversion_composeStudy_1680536E = StudyConversion_composeStudy_1680536E;
|
|
95
|
+
exports.StudyConversion_decomposeStudy_Z6839B9E8 = StudyConversion_decomposeStudy_Z6839B9E8;
|
|
96
|
+
exports.InvestigationConversion_$reflection = InvestigationConversion_$reflection;
|
|
97
|
+
exports.InvestigationConversion_composeInvestigation_Z720BD3FF = InvestigationConversion_composeInvestigation_Z720BD3FF;
|
|
98
|
+
exports.InvestigationConversion_decomposeInvestigation_Z6839B9E8 = InvestigationConversion_decomposeInvestigation_Z6839B9E8;
|
|
99
|
+
exports.ARCtrl_ArcAssay__ArcAssay_ToROCrateAssay = ARCtrl_ArcAssay__ArcAssay_ToROCrateAssay;
|
|
100
|
+
exports.ARCtrl_ArcAssay__ArcAssay_fromROCrateAssay_Static_Z6839B9E8 = ARCtrl_ArcAssay__ArcAssay_fromROCrateAssay_Static_Z6839B9E8;
|
|
101
|
+
exports.ARCtrl_ArcStudy__ArcStudy_ToROCrateStudy = ARCtrl_ArcStudy__ArcStudy_ToROCrateStudy;
|
|
102
|
+
exports.ARCtrl_ArcStudy__ArcStudy_fromROCrateStudy_Static_Z6839B9E8 = ARCtrl_ArcStudy__ArcStudy_fromROCrateStudy_Static_Z6839B9E8;
|
|
103
|
+
exports.ARCtrl_ArcInvestigation__ArcInvestigation_ToROCrateInvestigation = ARCtrl_ArcInvestigation__ArcInvestigation_ToROCrateInvestigation;
|
|
104
|
+
exports.ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateInvestigation_Static_Z6839B9E8 = ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateInvestigation_Static_Z6839B9E8;
|
|
105
|
+
exports.ARCtrl_ROCrate_Dataset__Dataset_toArcAssay_Static_Z6839B9E8 = ARCtrl_ROCrate_Dataset__Dataset_toArcAssay_Static_Z6839B9E8;
|
|
106
|
+
exports.ARCtrl_ROCrate_Dataset__Dataset_fromArcAssay_Static_1501C0F8 = ARCtrl_ROCrate_Dataset__Dataset_fromArcAssay_Static_1501C0F8;
|
|
107
|
+
exports.ARCtrl_ROCrate_Dataset__Dataset_toArcStudy_Static_Z6839B9E8 = ARCtrl_ROCrate_Dataset__Dataset_toArcStudy_Static_Z6839B9E8;
|
|
108
|
+
exports.ARCtrl_ROCrate_Dataset__Dataset_fromArcStudy_Static_1680536E = ARCtrl_ROCrate_Dataset__Dataset_fromArcStudy_Static_1680536E;
|
|
109
|
+
exports.ARCtrl_ROCrate_Dataset__Dataset_toArcInvestigation_Static_Z6839B9E8 = ARCtrl_ROCrate_Dataset__Dataset_toArcInvestigation_Static_Z6839B9E8;
|
|
110
|
+
exports.ARCtrl_ROCrate_Dataset__Dataset_fromArcInvestigation_Static_Z720BD3FF = ARCtrl_ROCrate_Dataset__Dataset_fromArcInvestigation_Static_Z720BD3FF;
|
|
111
|
+
const Decode_fs_js_1 = require("./fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js");
|
|
112
|
+
const Decode_js_1 = require("./Json/Decode.js");
|
|
113
|
+
const String_js_1 = require("@fable-org/fable-library-js/String.js");
|
|
114
|
+
const Option_js_1 = require("@fable-org/fable-library-js/Option.js");
|
|
115
|
+
const Encode_fs_js_1 = require("./fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js");
|
|
116
|
+
const Encode_js_1 = require("./Json/Encode.js");
|
|
117
|
+
const Int32_js_1 = require("@fable-org/fable-library-js/Int32.js");
|
|
118
|
+
const Types_js_1 = require("@fable-org/fable-library-js/Types.js");
|
|
119
|
+
const LDObject_js_1 = require("./ROCrate/LDObject.js");
|
|
120
|
+
const Util_js_1 = require("@fable-org/fable-library-js/Util.js");
|
|
121
|
+
const Reflection_js_1 = require("@fable-org/fable-library-js/Reflection.js");
|
|
122
|
+
const Comment_js_1 = require("./ROCrate/Generic/Comment.js");
|
|
123
|
+
const Comment_js_2 = require("./Core/Comment.js");
|
|
124
|
+
const OntologyAnnotation_js_1 = require("./Core/OntologyAnnotation.js");
|
|
125
|
+
const Collections_js_1 = require("./Core/Helper/Collections.js");
|
|
126
|
+
const DefinedTerm_js_1 = require("./ROCrate/Generic/DefinedTerm.js");
|
|
127
|
+
const PropertyValue_js_1 = require("./ROCrate/Generic/PropertyValue.js");
|
|
128
|
+
const Data_js_1 = require("./Core/Data.js");
|
|
129
|
+
const CompositeCell_js_1 = require("./Core/Table/CompositeCell.js");
|
|
130
|
+
const CompositeHeader_js_1 = require("./Core/Table/CompositeHeader.js");
|
|
131
|
+
const DataFile_js_1 = require("./Core/DataFile.js");
|
|
132
|
+
const File_js_1 = require("./ROCrate/Generic/File.js");
|
|
133
|
+
const DataContext_js_1 = require("./Core/DataContext.js");
|
|
134
|
+
const Sample_js_1 = require("./ROCrate/Generic/Sample.js");
|
|
135
|
+
const Regex_js_1 = require("./Core/Helper/Regex.js");
|
|
136
|
+
const LabProtocol_js_1 = require("./ROCrate/Generic/LabProtocol.js");
|
|
137
|
+
const MapUtil_js_1 = require("@fable-org/fable-library-js/MapUtil.js");
|
|
138
|
+
const Person_js_1 = require("./ROCrate/Generic/Person.js");
|
|
139
|
+
const Seq_js_1 = require("@fable-org/fable-library-js/Seq.js");
|
|
140
|
+
const List_js_1 = require("@fable-org/fable-library-js/List.js");
|
|
141
|
+
const LabProcess_js_1 = require("./ROCrate/Generic/LabProcess.js");
|
|
142
|
+
const Seq2_js_1 = require("@fable-org/fable-library-js/Seq2.js");
|
|
143
|
+
const Identifier_js_1 = require("./Core/Helper/Identifier.js");
|
|
144
|
+
const ArcTable_js_1 = require("./Core/Table/ArcTable.js");
|
|
145
|
+
const Array_js_1 = require("@fable-org/fable-library-js/Array.js");
|
|
146
|
+
const Range_js_1 = require("@fable-org/fable-library-js/Range.js");
|
|
147
|
+
const ArcTableAux_js_1 = require("./Core/Table/ArcTableAux.js");
|
|
148
|
+
const ArcTables_js_1 = require("./Core/Table/ArcTables.js");
|
|
149
|
+
const DataMap_js_1 = require("./Core/DataMap.js");
|
|
150
|
+
const Organization_js_1 = require("./ROCrate/Generic/Organization.js");
|
|
151
|
+
const LDNode_js_1 = require("./Json/ROCrate/LDNode.js");
|
|
152
|
+
const Person_js_2 = require("./Core/Person.js");
|
|
153
|
+
const ORCID_js_1 = require("./Core/Helper/ORCID.js");
|
|
154
|
+
const System_Text_js_1 = require("@fable-org/fable-library-js/System.Text.js");
|
|
155
|
+
const ScholarlyArticle_js_1 = require("./ROCrate/Generic/ScholarlyArticle.js");
|
|
156
|
+
const Publication_js_1 = require("./Core/Publication.js");
|
|
157
|
+
const Dataset_js_1 = require("./ROCrate/Generic/Dataset.js");
|
|
158
|
+
const ArcTypes_js_1 = require("./Core/ArcTypes.js");
|
|
159
|
+
const Date_js_1 = require("@fable-org/fable-library-js/Date.js");
|
|
160
|
+
function DateTime_tryFromString(s) {
|
|
161
|
+
let matchValue;
|
|
162
|
+
try {
|
|
163
|
+
return (matchValue = (0, Decode_fs_js_1.fromString)(Decode_js_1.Decode_datetime, s), (matchValue.tag === /* Error */ 1) ? (() => {
|
|
164
|
+
let arg;
|
|
165
|
+
throw new Error((arg = matchValue.fields[0], (0, String_js_1.toText)((0, String_js_1.printf)("Error decoding string: %O"))(arg)));
|
|
166
|
+
})() : matchValue.fields[0]);
|
|
167
|
+
}
|
|
168
|
+
catch (matchValue_1) {
|
|
169
|
+
return undefined;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
function DateTime_toString(d) {
|
|
173
|
+
return (0, Encode_fs_js_1.toString)(0, (0, Encode_js_1.dateTime)(d));
|
|
174
|
+
}
|
|
175
|
+
function ColumnIndex_tryInt(str) {
|
|
176
|
+
let matchValue;
|
|
177
|
+
let outArg = 0;
|
|
178
|
+
matchValue = [(0, Int32_js_1.tryParse)(str, 511, false, 32, new Types_js_1.FSharpRef(() => outArg, (v) => {
|
|
179
|
+
outArg = (v | 0);
|
|
180
|
+
})), outArg];
|
|
181
|
+
if (matchValue[0]) {
|
|
182
|
+
return matchValue[1];
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
return undefined;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.ColumnIndex_orderName = "columnIndex";
|
|
189
|
+
function ColumnIndex_tryGetIndex(node) {
|
|
190
|
+
const matchValue = node.TryGetPropertyAsSingleton(exports.ColumnIndex_orderName);
|
|
191
|
+
let matchResult, ci;
|
|
192
|
+
if (matchValue != null) {
|
|
193
|
+
if (typeof (0, Option_js_1.value)(matchValue) === "string") {
|
|
194
|
+
matchResult = 0;
|
|
195
|
+
ci = (0, Option_js_1.value)(matchValue);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
matchResult = 1;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
matchResult = 1;
|
|
203
|
+
}
|
|
204
|
+
switch (matchResult) {
|
|
205
|
+
case 0:
|
|
206
|
+
return ColumnIndex_tryInt(ci);
|
|
207
|
+
default:
|
|
208
|
+
return undefined;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
function ColumnIndex_setIndex(node, index) {
|
|
212
|
+
node.SetProperty(exports.ColumnIndex_orderName, (0, Util_js_1.int32ToString)(index));
|
|
213
|
+
}
|
|
214
|
+
function ARCtrl_ROCrate_LDNode__LDNode_GetColumnIndex(this$) {
|
|
215
|
+
return (0, Option_js_1.value)(ColumnIndex_tryGetIndex(this$));
|
|
216
|
+
}
|
|
217
|
+
function ARCtrl_ROCrate_LDNode__LDNode_TryGetColumnIndex(this$) {
|
|
218
|
+
return ColumnIndex_tryGetIndex(this$);
|
|
219
|
+
}
|
|
220
|
+
function ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4(this$, index) {
|
|
221
|
+
ColumnIndex_setIndex(this$, index);
|
|
222
|
+
}
|
|
223
|
+
class BaseTypes {
|
|
224
|
+
constructor() {
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.BaseTypes = BaseTypes;
|
|
228
|
+
function BaseTypes_$reflection() {
|
|
229
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.BaseTypes", undefined, BaseTypes);
|
|
230
|
+
}
|
|
231
|
+
function BaseTypes_composeComment_Z13201A7E(comment) {
|
|
232
|
+
let name;
|
|
233
|
+
const matchValue = comment.Name;
|
|
234
|
+
if (matchValue == null) {
|
|
235
|
+
throw new Error("Comment must have a name");
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
name = (0, Option_js_1.value)(matchValue);
|
|
239
|
+
}
|
|
240
|
+
return Comment_js_1.LDComment.create(name, undefined, (0, Option_js_1.unwrap)(comment.Value));
|
|
241
|
+
}
|
|
242
|
+
function BaseTypes_decomposeComment_Z2F770004(comment, context) {
|
|
243
|
+
return new Comment_js_2.Comment$(Comment_js_1.LDComment.getNameAsString(comment, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(Comment_js_1.LDComment.tryGetTextAsString(comment, (0, Option_js_1.unwrap)(context))));
|
|
244
|
+
}
|
|
245
|
+
function BaseTypes_ontologyTermFromNameAndID_40457300(name, id) {
|
|
246
|
+
if (id == null) {
|
|
247
|
+
return OntologyAnnotation_js_1.OntologyAnnotation.create((0, Option_js_1.unwrap)(name));
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
const t = (0, Option_js_1.value)(id);
|
|
251
|
+
return OntologyAnnotation_js_1.OntologyAnnotation.fromTermAnnotation(t, (0, Option_js_1.unwrap)(name));
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
function BaseTypes_tryOntologyTermFromNameAndID_40457300(name, id) {
|
|
255
|
+
if ((name == null) && (id == null)) {
|
|
256
|
+
return undefined;
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
return BaseTypes_ontologyTermFromNameAndID_40457300((0, Option_js_1.unwrap)(name), (0, Option_js_1.unwrap)(id));
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
function BaseTypes_composeDefinedTerm_ZDED3A0F(term) {
|
|
263
|
+
const tan = (0, Collections_js_1.Option_fromValueWithDefault)("", term.TermAccessionAndOntobeeUrlIfShort);
|
|
264
|
+
return DefinedTerm_js_1.LDDefinedTerm.create(term.NameText, undefined, (0, Option_js_1.unwrap)(tan));
|
|
265
|
+
}
|
|
266
|
+
function BaseTypes_decomposeDefinedTerm_Z2F770004(term, context) {
|
|
267
|
+
return BaseTypes_ontologyTermFromNameAndID_40457300(DefinedTerm_js_1.LDDefinedTerm.getNameAsString(term, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(DefinedTerm_js_1.LDDefinedTerm.tryGetTermCodeAsString(term, (0, Option_js_1.unwrap)(context))));
|
|
268
|
+
}
|
|
269
|
+
function BaseTypes_composePropertyValueFromOA_ZDED3A0F(term) {
|
|
270
|
+
const tan = (0, Collections_js_1.Option_fromValueWithDefault)("", term.TermAccessionAndOntobeeUrlIfShort);
|
|
271
|
+
return PropertyValue_js_1.LDPropertyValue.create(term.NameText, undefined, undefined, (0, Option_js_1.unwrap)(tan));
|
|
272
|
+
}
|
|
273
|
+
function BaseTypes_decomposePropertyValueToOA_Z2F770004(term, context) {
|
|
274
|
+
return BaseTypes_ontologyTermFromNameAndID_40457300(PropertyValue_js_1.LDPropertyValue.getNameAsString(term, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(PropertyValue_js_1.LDPropertyValue.tryGetPropertyIDAsString(term, (0, Option_js_1.unwrap)(context))));
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Convert a CompositeCell to a ISA Value and Unit tuple.
|
|
278
|
+
*/
|
|
279
|
+
function BaseTypes_valuesOfCell_Z436420FE(value) {
|
|
280
|
+
let term, term_1;
|
|
281
|
+
switch (value.tag) {
|
|
282
|
+
case /* Term */ 0:
|
|
283
|
+
if ((term = value.fields[0], term.isEmpty())) {
|
|
284
|
+
const term_2 = value.fields[0];
|
|
285
|
+
return [undefined, undefined, undefined, undefined];
|
|
286
|
+
}
|
|
287
|
+
else if ((term_1 = value.fields[0], term_1.TANInfo != null)) {
|
|
288
|
+
const term_3 = value.fields[0];
|
|
289
|
+
return [term_3.Name, term_3.TermAccessionAndOntobeeUrlIfShort, undefined, undefined];
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
const term_4 = value.fields[0];
|
|
293
|
+
return [term_4.Name, undefined, undefined, undefined];
|
|
294
|
+
}
|
|
295
|
+
case /* Unitized */ 2: {
|
|
296
|
+
const text_1 = value.fields[0];
|
|
297
|
+
const unit = value.fields[1];
|
|
298
|
+
const patternInput = unit.isEmpty() ? [undefined, undefined] : [unit.Name, (0, Collections_js_1.Option_fromValueWithDefault)("", unit.TermAccessionAndOntobeeUrlIfShort)];
|
|
299
|
+
return [(0, Collections_js_1.Option_fromValueWithDefault)("", text_1), undefined, patternInput[0], patternInput[1]];
|
|
300
|
+
}
|
|
301
|
+
case /* Data */ 3: {
|
|
302
|
+
const data = value.fields[0];
|
|
303
|
+
throw new Error("Data cell should not be parsed to isa value");
|
|
304
|
+
}
|
|
305
|
+
default:
|
|
306
|
+
if (value.fields[0] === "") {
|
|
307
|
+
return [undefined, undefined, undefined, undefined];
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
const text = value.fields[0];
|
|
311
|
+
return [text, undefined, undefined, undefined];
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
function BaseTypes_termOfHeader_6CAF647B(header) {
|
|
316
|
+
let matchResult, oa;
|
|
317
|
+
switch (header.tag) {
|
|
318
|
+
case /* Component */ 0: {
|
|
319
|
+
matchResult = 0;
|
|
320
|
+
oa = header.fields[0];
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
case /* Parameter */ 3: {
|
|
324
|
+
matchResult = 0;
|
|
325
|
+
oa = header.fields[0];
|
|
326
|
+
break;
|
|
327
|
+
}
|
|
328
|
+
case /* Factor */ 2: {
|
|
329
|
+
matchResult = 0;
|
|
330
|
+
oa = header.fields[0];
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
case /* Characteristic */ 1: {
|
|
334
|
+
matchResult = 0;
|
|
335
|
+
oa = header.fields[0];
|
|
336
|
+
break;
|
|
337
|
+
}
|
|
338
|
+
default:
|
|
339
|
+
matchResult = 1;
|
|
340
|
+
}
|
|
341
|
+
switch (matchResult) {
|
|
342
|
+
case 0:
|
|
343
|
+
return [oa.NameText, (oa.TANInfo != null) ? oa.TermAccessionAndOntobeeUrlIfShort : undefined];
|
|
344
|
+
default:
|
|
345
|
+
return (0, String_js_1.toFail)((0, String_js_1.printf)("header %O should not be parsed to isa value"))(header);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Convert a CompositeHeader and Cell tuple to a ISA Component
|
|
350
|
+
*/
|
|
351
|
+
function BaseTypes_composeComponent(header, value) {
|
|
352
|
+
const patternInput = BaseTypes_valuesOfCell_Z436420FE(value);
|
|
353
|
+
const patternInput_1 = BaseTypes_termOfHeader_6CAF647B(header);
|
|
354
|
+
return PropertyValue_js_1.LDPropertyValue.createComponent(patternInput_1[0], (0, Option_js_1.unwrap)(patternInput[0]), undefined, (0, Option_js_1.unwrap)(patternInput_1[1]), (0, Option_js_1.unwrap)(patternInput[3]), (0, Option_js_1.unwrap)(patternInput[2]), (0, Option_js_1.unwrap)(patternInput[1]));
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Convert a CompositeHeader and Cell tuple to a ISA ProcessParameterValue
|
|
358
|
+
*/
|
|
359
|
+
function BaseTypes_composeParameterValue(header, value) {
|
|
360
|
+
const patternInput = BaseTypes_valuesOfCell_Z436420FE(value);
|
|
361
|
+
const patternInput_1 = BaseTypes_termOfHeader_6CAF647B(header);
|
|
362
|
+
return PropertyValue_js_1.LDPropertyValue.createParameterValue(patternInput_1[0], (0, Option_js_1.unwrap)(patternInput[0]), undefined, (0, Option_js_1.unwrap)(patternInput_1[1]), (0, Option_js_1.unwrap)(patternInput[3]), (0, Option_js_1.unwrap)(patternInput[2]), (0, Option_js_1.unwrap)(patternInput[1]));
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Convert a CompositeHeader and Cell tuple to a ISA FactorValue
|
|
366
|
+
*/
|
|
367
|
+
function BaseTypes_composeFactorValue(header, value) {
|
|
368
|
+
const patternInput = BaseTypes_valuesOfCell_Z436420FE(value);
|
|
369
|
+
const patternInput_1 = BaseTypes_termOfHeader_6CAF647B(header);
|
|
370
|
+
return PropertyValue_js_1.LDPropertyValue.createFactorValue(patternInput_1[0], (0, Option_js_1.unwrap)(patternInput[0]), undefined, (0, Option_js_1.unwrap)(patternInput_1[1]), (0, Option_js_1.unwrap)(patternInput[3]), (0, Option_js_1.unwrap)(patternInput[2]), (0, Option_js_1.unwrap)(patternInput[1]));
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Convert a CompositeHeader and Cell tuple to a ISA MaterialAttributeValue
|
|
374
|
+
*/
|
|
375
|
+
function BaseTypes_composeCharacteristicValue(header, value) {
|
|
376
|
+
const patternInput = BaseTypes_valuesOfCell_Z436420FE(value);
|
|
377
|
+
const patternInput_1 = BaseTypes_termOfHeader_6CAF647B(header);
|
|
378
|
+
return PropertyValue_js_1.LDPropertyValue.createCharacteristicValue(patternInput_1[0], (0, Option_js_1.unwrap)(patternInput[0]), undefined, (0, Option_js_1.unwrap)(patternInput_1[1]), (0, Option_js_1.unwrap)(patternInput[3]), (0, Option_js_1.unwrap)(patternInput[2]), (0, Option_js_1.unwrap)(patternInput[1]));
|
|
379
|
+
}
|
|
380
|
+
function BaseTypes_composeFreetextMaterialName(headerFT, name) {
|
|
381
|
+
return `${headerFT}=${name}`;
|
|
382
|
+
}
|
|
383
|
+
function BaseTypes_composeFile_3A03A101(d) {
|
|
384
|
+
const dataType = (0, Option_js_1.map)(DataFile_js_1.DataFile__get_AsString, d.DataType);
|
|
385
|
+
return File_js_1.LDFile.create(d.NameText, d.NameText, undefined, (0, Option_js_1.unwrap)(dataType), (0, Option_js_1.unwrap)(d.Format), (0, Option_js_1.unwrap)(d.SelectorFormat));
|
|
386
|
+
}
|
|
387
|
+
function BaseTypes_decomposeFile_Z2F770004(f, context) {
|
|
388
|
+
const dataType = (0, Option_js_1.map)(DataFile_js_1.DataFile_fromString_Z721C83C5, File_js_1.LDFile.tryGetDisambiguatingDescriptionAsString(f, (0, Option_js_1.unwrap)(context)));
|
|
389
|
+
const format = File_js_1.LDFile.tryGetEncodingFormatAsString(f, (0, Option_js_1.unwrap)(context));
|
|
390
|
+
const selectorFormat = File_js_1.LDFile.tryGetUsageInfoAsString(f, (0, Option_js_1.unwrap)(context));
|
|
391
|
+
return new Data_js_1.Data(undefined, File_js_1.LDFile.getNameAsString(f, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(dataType), (0, Option_js_1.unwrap)(format), (0, Option_js_1.unwrap)(selectorFormat));
|
|
392
|
+
}
|
|
393
|
+
function BaseTypes_composeFragmentDescriptor_Z4C0BEF62(dc) {
|
|
394
|
+
if (dc.Name == null) {
|
|
395
|
+
throw new Error("RO-Crate parsing of DataContext failed: Cannot create a fragment descriptor without a name.");
|
|
396
|
+
}
|
|
397
|
+
const id = PropertyValue_js_1.LDPropertyValue.genIdFragmentDescriptor(dc.NameText);
|
|
398
|
+
const patternInput = (0, Option_js_1.defaultArg)((0, Option_js_1.map)((e) => [e.Name, (0, Collections_js_1.Option_fromValueWithDefault)("", e.TermAccessionAndOntobeeUrlIfShort)], (0, DataContext_js_1.DataContext__get_Explication)(dc)), [undefined, undefined]);
|
|
399
|
+
const patternInput_1 = (0, Option_js_1.defaultArg)((0, Option_js_1.map)((u) => [u.Name, (0, Collections_js_1.Option_fromValueWithDefault)("", u.TermAccessionAndOntobeeUrlIfShort)], (0, DataContext_js_1.DataContext__get_Unit)(dc)), [undefined, undefined]);
|
|
400
|
+
const disambiguatingDescriptions = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(Types_js_1.toString, dc.Comments));
|
|
401
|
+
const dataFragment = BaseTypes_composeFile_3A03A101(dc);
|
|
402
|
+
const pattern = (0, Option_js_1.map)(BaseTypes_composeDefinedTerm_ZDED3A0F, (0, DataContext_js_1.DataContext__get_ObjectType)(dc));
|
|
403
|
+
dataFragment.SetProperty(File_js_1.LDFile.about, new LDObject_js_1.LDRef(id));
|
|
404
|
+
dataFragment.SetOptionalProperty(File_js_1.LDFile.pattern, pattern);
|
|
405
|
+
return PropertyValue_js_1.LDPropertyValue.createFragmentDescriptor(dc.NameText, (0, Option_js_1.unwrap)(patternInput[0]), undefined, (0, Option_js_1.unwrap)(patternInput_1[1]), (0, Option_js_1.unwrap)(patternInput_1[0]), (0, Option_js_1.unwrap)(patternInput[1]), (0, Option_js_1.unwrap)((0, DataContext_js_1.DataContext__get_GeneratedBy)(dc)), (0, Option_js_1.unwrap)((0, DataContext_js_1.DataContext__get_Description)(dc)), (0, Option_js_1.unwrap)((0, DataContext_js_1.DataContext__get_Label)(dc)), (0, Option_js_1.unwrap)(disambiguatingDescriptions), dataFragment);
|
|
406
|
+
}
|
|
407
|
+
function BaseTypes_decomposeFragmentDescriptor_Z6839B9E8(fd, graph, context) {
|
|
408
|
+
const file = PropertyValue_js_1.LDPropertyValue.tryGetSubjectOf(fd, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
409
|
+
let name;
|
|
410
|
+
if (file == null) {
|
|
411
|
+
throw new Error("RO-Crate parsing of DataContext failed: Cannot decompose a fragment descriptor without a name.");
|
|
412
|
+
}
|
|
413
|
+
else {
|
|
414
|
+
const f = (0, Option_js_1.value)(file);
|
|
415
|
+
name = File_js_1.LDFile.getNameAsString(f, (0, Option_js_1.unwrap)(context));
|
|
416
|
+
}
|
|
417
|
+
const objectType = (0, Option_js_1.map)((pa) => BaseTypes_decomposeDefinedTerm_Z2F770004(pa, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.bind)((f_1) => File_js_1.LDFile.tryGetPatternAsDefinedTerm(f_1, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), file));
|
|
418
|
+
const format = (0, Option_js_1.bind)((f_2) => File_js_1.LDFile.tryGetEncodingFormatAsString(f_2, (0, Option_js_1.unwrap)(context)), file);
|
|
419
|
+
const selectorFormat = (0, Option_js_1.bind)((f_3) => File_js_1.LDFile.tryGetUsageInfoAsString(f_3, (0, Option_js_1.unwrap)(context)), file);
|
|
420
|
+
const explication = BaseTypes_tryOntologyTermFromNameAndID_40457300((0, Option_js_1.unwrap)(PropertyValue_js_1.LDPropertyValue.tryGetValueAsString(fd)), (0, Option_js_1.unwrap)(PropertyValue_js_1.LDPropertyValue.tryGetValueReferenceAsString(fd)));
|
|
421
|
+
const unit = BaseTypes_tryOntologyTermFromNameAndID_40457300((0, Option_js_1.unwrap)(PropertyValue_js_1.LDPropertyValue.tryGetUnitTextAsString(fd)), (0, Option_js_1.unwrap)(PropertyValue_js_1.LDPropertyValue.tryGetUnitCodeAsString(fd)));
|
|
422
|
+
const generatedBy = PropertyValue_js_1.LDPropertyValue.tryGetMeasurementMethodAsString(fd);
|
|
423
|
+
const description = PropertyValue_js_1.LDPropertyValue.tryGetDescriptionAsString(fd);
|
|
424
|
+
return (0, DataContext_js_1.DataContext_$ctor_Z780A8A2A)(undefined, name, undefined, (0, Option_js_1.unwrap)(format), (0, Option_js_1.unwrap)(selectorFormat), (0, Option_js_1.unwrap)(explication), (0, Option_js_1.unwrap)(unit), (0, Option_js_1.unwrap)(objectType), (0, Option_js_1.unwrap)(PropertyValue_js_1.LDPropertyValue.tryGetAlternateNameAsString(fd)), (0, Option_js_1.unwrap)(description), (0, Option_js_1.unwrap)(generatedBy), (0, Collections_js_1.ResizeArray_map)((s) => Comment_js_2.Comment$.fromString(s), PropertyValue_js_1.LDPropertyValue.getDisambiguatingDescriptionsAsString(fd)));
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Convert a CompositeHeader and Cell tuple to a ISA ProcessInput
|
|
428
|
+
*/
|
|
429
|
+
function BaseTypes_composeProcessInput(header, value) {
|
|
430
|
+
if (header.tag === /* Input */ 11) {
|
|
431
|
+
switch (header.fields[0].tag) {
|
|
432
|
+
case /* Sample */ 1:
|
|
433
|
+
return Sample_js_1.LDSample.createSample(value.AsFreeText);
|
|
434
|
+
case /* Material */ 3:
|
|
435
|
+
return Sample_js_1.LDSample.createMaterial(value.AsFreeText);
|
|
436
|
+
case /* Data */ 2:
|
|
437
|
+
switch (value.tag) {
|
|
438
|
+
case /* FreeText */ 1: {
|
|
439
|
+
const ft = value.fields[0];
|
|
440
|
+
return File_js_1.LDFile.create(ft, ft);
|
|
441
|
+
}
|
|
442
|
+
case /* Data */ 3:
|
|
443
|
+
return BaseTypes_composeFile_3A03A101(value.fields[0]);
|
|
444
|
+
default:
|
|
445
|
+
return (0, String_js_1.toFail)((0, String_js_1.printf)("Could not parse input data %O"))(value);
|
|
446
|
+
}
|
|
447
|
+
case /* FreeText */ 4: {
|
|
448
|
+
const ft_1 = header.fields[0].fields[0];
|
|
449
|
+
const n = new LDObject_js_1.LDNode(BaseTypes_composeFreetextMaterialName(ft_1, value.AsFreeText), [ft_1]);
|
|
450
|
+
n.SetProperty(Sample_js_1.LDSample.name, value.AsFreeText);
|
|
451
|
+
return n;
|
|
452
|
+
}
|
|
453
|
+
default:
|
|
454
|
+
return Sample_js_1.LDSample.createSource(value.AsFreeText);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
return (0, String_js_1.toFail)((0, String_js_1.printf)("Could not parse input header %O"))(header);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Convert a CompositeHeader and Cell tuple to a ISA ProcessOutput
|
|
463
|
+
*/
|
|
464
|
+
function BaseTypes_composeProcessOutput(header, value) {
|
|
465
|
+
let matchResult, ft_1;
|
|
466
|
+
if (header.tag === /* Output */ 12) {
|
|
467
|
+
switch (header.fields[0].tag) {
|
|
468
|
+
case /* Material */ 3: {
|
|
469
|
+
matchResult = 1;
|
|
470
|
+
break;
|
|
471
|
+
}
|
|
472
|
+
case /* Data */ 2: {
|
|
473
|
+
matchResult = 2;
|
|
474
|
+
break;
|
|
475
|
+
}
|
|
476
|
+
case /* FreeText */ 4: {
|
|
477
|
+
matchResult = 3;
|
|
478
|
+
ft_1 = header.fields[0].fields[0];
|
|
479
|
+
break;
|
|
480
|
+
}
|
|
481
|
+
default:
|
|
482
|
+
matchResult = 0;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
else {
|
|
486
|
+
matchResult = 4;
|
|
487
|
+
}
|
|
488
|
+
switch (matchResult) {
|
|
489
|
+
case 0:
|
|
490
|
+
return Sample_js_1.LDSample.createSample(value.AsFreeText);
|
|
491
|
+
case 1:
|
|
492
|
+
return Sample_js_1.LDSample.createMaterial(value.AsFreeText);
|
|
493
|
+
case 2:
|
|
494
|
+
switch (value.tag) {
|
|
495
|
+
case /* FreeText */ 1: {
|
|
496
|
+
const ft = value.fields[0];
|
|
497
|
+
return File_js_1.LDFile.create(ft, ft);
|
|
498
|
+
}
|
|
499
|
+
case /* Data */ 3:
|
|
500
|
+
return BaseTypes_composeFile_3A03A101(value.fields[0]);
|
|
501
|
+
default:
|
|
502
|
+
return (0, String_js_1.toFail)((0, String_js_1.printf)("Could not parse output data %O"))(value);
|
|
503
|
+
}
|
|
504
|
+
case 3: {
|
|
505
|
+
const n = new LDObject_js_1.LDNode(BaseTypes_composeFreetextMaterialName(ft_1, value.AsFreeText), [ft_1]);
|
|
506
|
+
n.SetProperty(Sample_js_1.LDSample.name, value.AsFreeText);
|
|
507
|
+
return n;
|
|
508
|
+
}
|
|
509
|
+
default:
|
|
510
|
+
return (0, String_js_1.toFail)((0, String_js_1.printf)("Could not parse output header %O"))(header);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
function BaseTypes_headerOntologyOfPropertyValue_Z2F770004(pv, context) {
|
|
514
|
+
const n = PropertyValue_js_1.LDPropertyValue.getNameAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
515
|
+
const matchValue = PropertyValue_js_1.LDPropertyValue.tryGetPropertyIDAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
516
|
+
if (matchValue == null) {
|
|
517
|
+
return new OntologyAnnotation_js_1.OntologyAnnotation(n);
|
|
518
|
+
}
|
|
519
|
+
else {
|
|
520
|
+
const nRef = (0, Option_js_1.value)(matchValue);
|
|
521
|
+
return OntologyAnnotation_js_1.OntologyAnnotation.fromTermAnnotation(nRef, n);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Convert an ISA Value and Unit tuple to a CompositeCell
|
|
526
|
+
*/
|
|
527
|
+
function BaseTypes_cellOfPropertyValue_Z2F770004(pv, context) {
|
|
528
|
+
const v = PropertyValue_js_1.LDPropertyValue.tryGetValueAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
529
|
+
const vRef = PropertyValue_js_1.LDPropertyValue.tryGetValueReferenceAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
530
|
+
const u = PropertyValue_js_1.LDPropertyValue.tryGetUnitTextAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
531
|
+
const uRef = PropertyValue_js_1.LDPropertyValue.tryGetUnitCodeAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
532
|
+
let matchResult, vr, u_1, uRef_1;
|
|
533
|
+
if (vRef == null) {
|
|
534
|
+
if (u == null) {
|
|
535
|
+
if (uRef == null) {
|
|
536
|
+
matchResult = 3;
|
|
537
|
+
}
|
|
538
|
+
else {
|
|
539
|
+
matchResult = 2;
|
|
540
|
+
uRef_1 = (0, Option_js_1.value)(uRef);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
else if (uRef != null) {
|
|
544
|
+
matchResult = 2;
|
|
545
|
+
uRef_1 = (0, Option_js_1.value)(uRef);
|
|
546
|
+
}
|
|
547
|
+
else {
|
|
548
|
+
matchResult = 1;
|
|
549
|
+
u_1 = (0, Option_js_1.value)(u);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
else if (u == null) {
|
|
553
|
+
if (uRef == null) {
|
|
554
|
+
matchResult = 0;
|
|
555
|
+
vr = (0, Option_js_1.value)(vRef);
|
|
556
|
+
}
|
|
557
|
+
else {
|
|
558
|
+
matchResult = 4;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
else {
|
|
562
|
+
matchResult = 4;
|
|
563
|
+
}
|
|
564
|
+
switch (matchResult) {
|
|
565
|
+
case 0:
|
|
566
|
+
return (0, CompositeCell_js_1.CompositeCell_Term)(OntologyAnnotation_js_1.OntologyAnnotation.fromTermAnnotation(vr, (0, Option_js_1.unwrap)(v)));
|
|
567
|
+
case 1:
|
|
568
|
+
return (0, CompositeCell_js_1.CompositeCell_Unitized)((0, Option_js_1.defaultArg)(v, ""), new OntologyAnnotation_js_1.OntologyAnnotation(u_1));
|
|
569
|
+
case 2:
|
|
570
|
+
return (0, CompositeCell_js_1.CompositeCell_Unitized)((0, Option_js_1.defaultArg)(v, ""), OntologyAnnotation_js_1.OntologyAnnotation.fromTermAnnotation(uRef_1, (0, Option_js_1.unwrap)(u)));
|
|
571
|
+
case 3:
|
|
572
|
+
return (0, CompositeCell_js_1.CompositeCell_Term)(new OntologyAnnotation_js_1.OntologyAnnotation((0, Option_js_1.unwrap)(v)));
|
|
573
|
+
default: {
|
|
574
|
+
const arg = (0, Option_js_1.defaultArg)(v, "");
|
|
575
|
+
return (0, String_js_1.toFail)((0, String_js_1.printf)("Could not parse value %s with unit %O and unit reference %O"))(arg)(u)(uRef);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* Convert an ISA Component to a CompositeHeader and Cell tuple
|
|
581
|
+
*/
|
|
582
|
+
function BaseTypes_decomposeComponent_Z2F770004(c, context) {
|
|
583
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Component)(BaseTypes_headerOntologyOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))), BaseTypes_cellOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))];
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* Convert an ISA ProcessParameterValue to a CompositeHeader and Cell tuple
|
|
587
|
+
*/
|
|
588
|
+
function BaseTypes_decomposeParameterValue_Z2F770004(c, context) {
|
|
589
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Parameter)(BaseTypes_headerOntologyOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))), BaseTypes_cellOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))];
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* Convert an ISA FactorValue to a CompositeHeader and Cell tuple
|
|
593
|
+
*/
|
|
594
|
+
function BaseTypes_decomposeFactorValue_Z2F770004(c, context) {
|
|
595
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Factor)(BaseTypes_headerOntologyOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))), BaseTypes_cellOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))];
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Convert an ISA MaterialAttributeValue to a CompositeHeader and Cell tuple
|
|
599
|
+
*/
|
|
600
|
+
function BaseTypes_decomposeCharacteristicValue_Z2F770004(c, context) {
|
|
601
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Characteristic)(BaseTypes_headerOntologyOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))), BaseTypes_cellOfPropertyValue_Z2F770004(c, (0, Option_js_1.unwrap)(context))];
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* Convert an ISA ProcessOutput to a CompositeHeader and Cell tuple
|
|
605
|
+
*/
|
|
606
|
+
function BaseTypes_decomposeProcessInput_Z2F770004(pn, context) {
|
|
607
|
+
if (Sample_js_1.LDSample.validateSource(pn, (0, Option_js_1.unwrap)(context))) {
|
|
608
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Input)((0, CompositeHeader_js_1.IOType_Source)()), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(pn, (0, Option_js_1.unwrap)(context)))];
|
|
609
|
+
}
|
|
610
|
+
else if (Sample_js_1.LDSample.validateMaterial(pn, (0, Option_js_1.unwrap)(context))) {
|
|
611
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Input)((0, CompositeHeader_js_1.IOType_Material)()), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(pn, (0, Option_js_1.unwrap)(context)))];
|
|
612
|
+
}
|
|
613
|
+
else if (Sample_js_1.LDSample.validate(pn, (0, Option_js_1.unwrap)(context))) {
|
|
614
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Input)((0, CompositeHeader_js_1.IOType_Sample)()), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(pn, (0, Option_js_1.unwrap)(context)))];
|
|
615
|
+
}
|
|
616
|
+
else if (File_js_1.LDFile.validate(pn, (0, Option_js_1.unwrap)(context))) {
|
|
617
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Input)((0, CompositeHeader_js_1.IOType_Data)()), (0, CompositeCell_js_1.CompositeCell_Data)(BaseTypes_decomposeFile_Z2F770004(pn, (0, Option_js_1.unwrap)(context)))];
|
|
618
|
+
}
|
|
619
|
+
else {
|
|
620
|
+
const n = pn;
|
|
621
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Input)((0, CompositeHeader_js_1.IOType_FreeText)(n.SchemaType[0])), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(n, (0, Option_js_1.unwrap)(context)))];
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
function BaseTypes_decomposeProcessOutput_Z2F770004(pn, context) {
|
|
625
|
+
if (Sample_js_1.LDSample.validateMaterial(pn, (0, Option_js_1.unwrap)(context))) {
|
|
626
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Output)((0, CompositeHeader_js_1.IOType_Material)()), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(pn, (0, Option_js_1.unwrap)(context)))];
|
|
627
|
+
}
|
|
628
|
+
else if (Sample_js_1.LDSample.validate(pn, (0, Option_js_1.unwrap)(context))) {
|
|
629
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Output)((0, CompositeHeader_js_1.IOType_Sample)()), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(pn, (0, Option_js_1.unwrap)(context)))];
|
|
630
|
+
}
|
|
631
|
+
else if (File_js_1.LDFile.validate(pn, (0, Option_js_1.unwrap)(context))) {
|
|
632
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Output)((0, CompositeHeader_js_1.IOType_Data)()), (0, CompositeCell_js_1.CompositeCell_Data)(BaseTypes_decomposeFile_Z2F770004(pn, (0, Option_js_1.unwrap)(context)))];
|
|
633
|
+
}
|
|
634
|
+
else {
|
|
635
|
+
const n = pn;
|
|
636
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Output)((0, CompositeHeader_js_1.IOType_FreeText)(n.SchemaType[0])), (0, CompositeCell_js_1.CompositeCell_FreeText)(Sample_js_1.LDSample.getNameAsString(n, (0, Option_js_1.unwrap)(context)))];
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* This function creates a string containing the name and the ontology short-string of the given ontology annotation term
|
|
641
|
+
*
|
|
642
|
+
* TechnologyPlatforms are plain strings in ISA-JSON.
|
|
643
|
+
*
|
|
644
|
+
* This function allows us, to parse them as an ontology term.
|
|
645
|
+
*/
|
|
646
|
+
function BaseTypes_composeTechnologyPlatform_ZDED3A0F(tp) {
|
|
647
|
+
const matchValue = tp.TANInfo;
|
|
648
|
+
if (matchValue == null) {
|
|
649
|
+
return `${tp.NameText}`;
|
|
650
|
+
}
|
|
651
|
+
else {
|
|
652
|
+
return `${tp.NameText} (${tp.TermAccessionShort})`;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* This function parses the given string containing the name and the ontology short-string of the given ontology annotation term
|
|
657
|
+
*
|
|
658
|
+
* TechnologyPlatforms are plain strings in ISA-JSON.
|
|
659
|
+
*
|
|
660
|
+
* This function allows us, to parse them as an ontology term.
|
|
661
|
+
*/
|
|
662
|
+
function BaseTypes_decomposeTechnologyPlatform_Z721C83C5(name) {
|
|
663
|
+
const activePatternResult = (0, Regex_js_1.ActivePatterns_$007CRegex$007C_$007C)("^(?<value>.+) \\((?<ontology>[^(]*:[^)]*)\\)$", name);
|
|
664
|
+
if (activePatternResult != null) {
|
|
665
|
+
const r = (0, Option_js_1.value)(activePatternResult);
|
|
666
|
+
let oa;
|
|
667
|
+
const tan = (r.groups && r.groups.ontology) || "";
|
|
668
|
+
oa = OntologyAnnotation_js_1.OntologyAnnotation.fromTermAnnotation(tan);
|
|
669
|
+
const v = (r.groups && r.groups.value) || "";
|
|
670
|
+
return OntologyAnnotation_js_1.OntologyAnnotation.create(v, (0, Option_js_1.unwrap)(oa.TermSourceREF), (0, Option_js_1.unwrap)(oa.TermAccessionNumber));
|
|
671
|
+
}
|
|
672
|
+
else {
|
|
673
|
+
return OntologyAnnotation_js_1.OntologyAnnotation.create(name);
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
class ProcessConversion {
|
|
677
|
+
constructor() {
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
exports.ProcessConversion = ProcessConversion;
|
|
681
|
+
function ProcessConversion_$reflection() {
|
|
682
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.ProcessConversion", undefined, ProcessConversion);
|
|
683
|
+
}
|
|
684
|
+
function ProcessConversion_tryGetProtocolType_Z6839B9E8(pv, graph, context) {
|
|
685
|
+
const matchValue = LabProtocol_js_1.LDLabProtocol.tryGetIntendedUseAsDefinedTerm(pv, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
686
|
+
if (matchValue == null) {
|
|
687
|
+
const matchValue_1 = LabProtocol_js_1.LDLabProtocol.tryGetIntendedUseAsString(pv, (0, Option_js_1.unwrap)(context));
|
|
688
|
+
if (matchValue_1 == null) {
|
|
689
|
+
return undefined;
|
|
690
|
+
}
|
|
691
|
+
else {
|
|
692
|
+
const s = (0, Option_js_1.value)(matchValue_1);
|
|
693
|
+
return OntologyAnnotation_js_1.OntologyAnnotation.create(s);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
else {
|
|
697
|
+
return BaseTypes_decomposeDefinedTerm_Z2F770004((0, Option_js_1.value)(matchValue), (0, Option_js_1.unwrap)(context));
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
function ProcessConversion_composeProcessName(processNameRoot, i) {
|
|
701
|
+
return `${processNameRoot}_${i}`;
|
|
702
|
+
}
|
|
703
|
+
function ProcessConversion_decomposeProcessName_Z721C83C5(name) {
|
|
704
|
+
const activePatternResult = (0, Regex_js_1.ActivePatterns_$007CRegex$007C_$007C)("(?<name>.+)_(?<num>\\d+)", name);
|
|
705
|
+
if (activePatternResult != null) {
|
|
706
|
+
const r = (0, Option_js_1.value)(activePatternResult);
|
|
707
|
+
return [(r.groups && r.groups.name) || "", (0, Int32_js_1.parse)((r.groups && r.groups.num) || "", 511, false, 32)];
|
|
708
|
+
}
|
|
709
|
+
else {
|
|
710
|
+
return [name, undefined];
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* If the given headers depict a component, returns a function for parsing the values of the matrix to the values of this component
|
|
715
|
+
*/
|
|
716
|
+
function ProcessConversion_tryComponentGetter(generalI, valueI, valueHeader) {
|
|
717
|
+
if (valueHeader.tag === /* Component */ 0) {
|
|
718
|
+
const oa = valueHeader.fields[0];
|
|
719
|
+
return (matrix) => ((i) => {
|
|
720
|
+
const c = BaseTypes_composeComponent(valueHeader, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]));
|
|
721
|
+
ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4(c, valueI);
|
|
722
|
+
return c;
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
else {
|
|
726
|
+
return undefined;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* If the given headers depict a parameter, returns a function for parsing the values of the matrix to the values of this type
|
|
731
|
+
*/
|
|
732
|
+
function ProcessConversion_tryParameterGetter(generalI, valueI, valueHeader) {
|
|
733
|
+
if (valueHeader.tag === /* Parameter */ 3) {
|
|
734
|
+
const oa = valueHeader.fields[0];
|
|
735
|
+
return (matrix) => ((i) => {
|
|
736
|
+
const p = BaseTypes_composeParameterValue(valueHeader, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]));
|
|
737
|
+
ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4(p, valueI);
|
|
738
|
+
return p;
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
else {
|
|
742
|
+
return undefined;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
/**
|
|
746
|
+
* If the given headers depict a factor, returns a function for parsing the values of the matrix to the values of this type
|
|
747
|
+
*/
|
|
748
|
+
function ProcessConversion_tryFactorGetter(generalI, valueI, valueHeader) {
|
|
749
|
+
if (valueHeader.tag === /* Factor */ 2) {
|
|
750
|
+
const oa = valueHeader.fields[0];
|
|
751
|
+
return (matrix) => ((i) => {
|
|
752
|
+
const f = BaseTypes_composeFactorValue(valueHeader, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]));
|
|
753
|
+
ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4(f, valueI);
|
|
754
|
+
return f;
|
|
755
|
+
});
|
|
756
|
+
}
|
|
757
|
+
else {
|
|
758
|
+
return undefined;
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* If the given headers depict a protocolType, returns a function for parsing the values of the matrix to the values of this type
|
|
763
|
+
*/
|
|
764
|
+
function ProcessConversion_tryCharacteristicGetter(generalI, valueI, valueHeader) {
|
|
765
|
+
if (valueHeader.tag === /* Characteristic */ 1) {
|
|
766
|
+
const oa = valueHeader.fields[0];
|
|
767
|
+
return (matrix) => ((i) => {
|
|
768
|
+
const c = BaseTypes_composeCharacteristicValue(valueHeader, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]));
|
|
769
|
+
ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4(c, valueI);
|
|
770
|
+
return c;
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
else {
|
|
774
|
+
return undefined;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* If the given headers depict a protocolType, returns a function for parsing the values of the matrix to the values of this type
|
|
779
|
+
*/
|
|
780
|
+
function ProcessConversion_tryGetProtocolTypeGetter(generalI, header) {
|
|
781
|
+
if (header.tag === /* ProtocolType */ 4) {
|
|
782
|
+
return (matrix) => ((i) => BaseTypes_composeDefinedTerm_ZDED3A0F((0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsTerm));
|
|
783
|
+
}
|
|
784
|
+
else {
|
|
785
|
+
return undefined;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* If the given headers depict a protocolREF, returns a function for parsing the values of the matrix to the values of this type
|
|
790
|
+
*/
|
|
791
|
+
function ProcessConversion_tryGetProtocolREFGetter(generalI, header) {
|
|
792
|
+
if (header.tag === /* ProtocolREF */ 8) {
|
|
793
|
+
return (matrix) => ((i) => (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsFreeText);
|
|
794
|
+
}
|
|
795
|
+
else {
|
|
796
|
+
return undefined;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* If the given headers depict a protocolDescription, returns a function for parsing the values of the matrix to the values of this type
|
|
801
|
+
*/
|
|
802
|
+
function ProcessConversion_tryGetProtocolDescriptionGetter(generalI, header) {
|
|
803
|
+
if (header.tag === /* ProtocolDescription */ 5) {
|
|
804
|
+
return (matrix) => ((i) => (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsFreeText);
|
|
805
|
+
}
|
|
806
|
+
else {
|
|
807
|
+
return undefined;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* If the given headers depict a protocolURI, returns a function for parsing the values of the matrix to the values of this type
|
|
812
|
+
*/
|
|
813
|
+
function ProcessConversion_tryGetProtocolURIGetter(generalI, header) {
|
|
814
|
+
if (header.tag === /* ProtocolUri */ 6) {
|
|
815
|
+
return (matrix) => ((i) => (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsFreeText);
|
|
816
|
+
}
|
|
817
|
+
else {
|
|
818
|
+
return undefined;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* If the given headers depict a protocolVersion, returns a function for parsing the values of the matrix to the values of this type
|
|
823
|
+
*/
|
|
824
|
+
function ProcessConversion_tryGetProtocolVersionGetter(generalI, header) {
|
|
825
|
+
if (header.tag === /* ProtocolVersion */ 7) {
|
|
826
|
+
return (matrix) => ((i) => (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsFreeText);
|
|
827
|
+
}
|
|
828
|
+
else {
|
|
829
|
+
return undefined;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* If the given headers depict an input, returns a function for parsing the values of the matrix to the values of this type
|
|
834
|
+
*/
|
|
835
|
+
function ProcessConversion_tryGetInputGetter(generalI, header) {
|
|
836
|
+
if (header.tag === /* Input */ 11) {
|
|
837
|
+
const io = header.fields[0];
|
|
838
|
+
return (matrix) => ((i) => BaseTypes_composeProcessInput(header, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i])));
|
|
839
|
+
}
|
|
840
|
+
else {
|
|
841
|
+
return undefined;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* If the given headers depict an output, returns a function for parsing the values of the matrix to the values of this type
|
|
846
|
+
*/
|
|
847
|
+
function ProcessConversion_tryGetOutputGetter(generalI, header) {
|
|
848
|
+
if (header.tag === /* Output */ 12) {
|
|
849
|
+
const io = header.fields[0];
|
|
850
|
+
return (matrix) => ((i) => BaseTypes_composeProcessOutput(header, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i])));
|
|
851
|
+
}
|
|
852
|
+
else {
|
|
853
|
+
return undefined;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* If the given headers depict a comment, returns a function for parsing the values of the matrix to the values of this type
|
|
858
|
+
*/
|
|
859
|
+
function ProcessConversion_tryGetCommentGetter(generalI, header) {
|
|
860
|
+
if (header.tag === /* Comment */ 14) {
|
|
861
|
+
const c = header.fields[0];
|
|
862
|
+
return (matrix) => ((i) => (0, Types_js_1.toString)(new Comment_js_2.Comment$(c, (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsFreeText)));
|
|
863
|
+
}
|
|
864
|
+
else {
|
|
865
|
+
return undefined;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
function ProcessConversion_tryGetPerformerGetter(generalI, header) {
|
|
869
|
+
if (header.tag === /* Performer */ 9) {
|
|
870
|
+
return (matrix) => ((i) => {
|
|
871
|
+
const performer = (0, MapUtil_js_1.getItemFromDict)(matrix, [generalI, i]).AsFreeText;
|
|
872
|
+
return Person_js_1.LDPerson.create(performer);
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
else {
|
|
876
|
+
return undefined;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Given the header sequence of an ArcTable, returns a function for parsing each row of the table to a process
|
|
881
|
+
*/
|
|
882
|
+
function ProcessConversion_getProcessGetter(processNameRoot, headers) {
|
|
883
|
+
const headers_1 = (0, Seq_js_1.indexed)(headers);
|
|
884
|
+
const valueHeaders = (0, Seq_js_1.toList)((0, Seq_js_1.indexed)((0, Seq_js_1.filter)((arg) => arg[1].IsCvParamColumn, headers_1)));
|
|
885
|
+
const charGetters = (0, List_js_1.choose)((tupledArg) => {
|
|
886
|
+
const _arg = tupledArg[1];
|
|
887
|
+
return ProcessConversion_tryCharacteristicGetter(_arg[0], tupledArg[0], _arg[1]);
|
|
888
|
+
}, valueHeaders);
|
|
889
|
+
const factorValueGetters = (0, List_js_1.choose)((tupledArg_1) => {
|
|
890
|
+
const _arg_1 = tupledArg_1[1];
|
|
891
|
+
return ProcessConversion_tryFactorGetter(_arg_1[0], tupledArg_1[0], _arg_1[1]);
|
|
892
|
+
}, valueHeaders);
|
|
893
|
+
const parameterValueGetters = (0, List_js_1.choose)((tupledArg_2) => {
|
|
894
|
+
const _arg_2 = tupledArg_2[1];
|
|
895
|
+
return ProcessConversion_tryParameterGetter(_arg_2[0], tupledArg_2[0], _arg_2[1]);
|
|
896
|
+
}, valueHeaders);
|
|
897
|
+
const componentGetters = (0, List_js_1.choose)((tupledArg_3) => {
|
|
898
|
+
const _arg_3 = tupledArg_3[1];
|
|
899
|
+
return ProcessConversion_tryComponentGetter(_arg_3[0], tupledArg_3[0], _arg_3[1]);
|
|
900
|
+
}, valueHeaders);
|
|
901
|
+
const protocolTypeGetter = (0, Seq_js_1.tryPick)((tupledArg_4) => ProcessConversion_tryGetProtocolTypeGetter(tupledArg_4[0], tupledArg_4[1]), headers_1);
|
|
902
|
+
const protocolREFGetter = (0, Seq_js_1.tryPick)((tupledArg_5) => ProcessConversion_tryGetProtocolREFGetter(tupledArg_5[0], tupledArg_5[1]), headers_1);
|
|
903
|
+
const protocolDescriptionGetter = (0, Seq_js_1.tryPick)((tupledArg_6) => ProcessConversion_tryGetProtocolDescriptionGetter(tupledArg_6[0], tupledArg_6[1]), headers_1);
|
|
904
|
+
const protocolURIGetter = (0, Seq_js_1.tryPick)((tupledArg_7) => ProcessConversion_tryGetProtocolURIGetter(tupledArg_7[0], tupledArg_7[1]), headers_1);
|
|
905
|
+
const protocolVersionGetter = (0, Seq_js_1.tryPick)((tupledArg_8) => ProcessConversion_tryGetProtocolVersionGetter(tupledArg_8[0], tupledArg_8[1]), headers_1);
|
|
906
|
+
const performerGetter = (0, Seq_js_1.tryPick)((tupledArg_9) => ProcessConversion_tryGetPerformerGetter(tupledArg_9[0], tupledArg_9[1]), headers_1);
|
|
907
|
+
const commentGetters = (0, Seq_js_1.toList)((0, Seq_js_1.choose)((tupledArg_10) => ProcessConversion_tryGetCommentGetter(tupledArg_10[0], tupledArg_10[1]), headers_1));
|
|
908
|
+
let inputGetter_1;
|
|
909
|
+
const matchValue = (0, Seq_js_1.tryPick)((tupledArg_11) => ProcessConversion_tryGetInputGetter(tupledArg_11[0], tupledArg_11[1]), headers_1);
|
|
910
|
+
if (matchValue == null) {
|
|
911
|
+
inputGetter_1 = (((0, List_js_1.length)(charGetters) !== 0) ? ((matrix_1) => ((i_1) => {
|
|
912
|
+
let chars_1;
|
|
913
|
+
const collection_1 = (0, Seq_js_1.map)((f_1) => f_1(matrix_1)(i_1), charGetters);
|
|
914
|
+
chars_1 = Array.from(collection_1);
|
|
915
|
+
return (0, Collections_js_1.ResizeArray_singleton)(Sample_js_1.LDSample.createSample(`${processNameRoot}_Input_${i_1}`, undefined, chars_1));
|
|
916
|
+
})) : ((matrix_2) => ((i_2) => [])));
|
|
917
|
+
}
|
|
918
|
+
else {
|
|
919
|
+
const inputGetter = (0, Option_js_1.value)(matchValue);
|
|
920
|
+
inputGetter_1 = ((matrix) => ((i) => {
|
|
921
|
+
let chars;
|
|
922
|
+
const collection = (0, Seq_js_1.map)((f) => f(matrix)(i), charGetters);
|
|
923
|
+
chars = Array.from(collection);
|
|
924
|
+
const input = inputGetter(matrix)(i);
|
|
925
|
+
if (chars.length > 0) {
|
|
926
|
+
Sample_js_1.LDSample.setAdditionalProperties(input, chars);
|
|
927
|
+
}
|
|
928
|
+
return (0, Collections_js_1.ResizeArray_singleton)(input);
|
|
929
|
+
}));
|
|
930
|
+
}
|
|
931
|
+
let outputGetter_1;
|
|
932
|
+
const matchValue_1 = (0, Seq_js_1.tryPick)((tupledArg_12) => ProcessConversion_tryGetOutputGetter(tupledArg_12[0], tupledArg_12[1]), headers_1);
|
|
933
|
+
if (matchValue_1 == null) {
|
|
934
|
+
outputGetter_1 = (((0, List_js_1.length)(factorValueGetters) !== 0) ? ((matrix_4) => ((i_4) => {
|
|
935
|
+
let factors_1;
|
|
936
|
+
const collection_3 = (0, Seq_js_1.map)((f_3) => f_3(matrix_4)(i_4), factorValueGetters);
|
|
937
|
+
factors_1 = Array.from(collection_3);
|
|
938
|
+
return (0, Collections_js_1.ResizeArray_singleton)(Sample_js_1.LDSample.createSample(`${processNameRoot}_Output_${i_4}`, undefined, factors_1));
|
|
939
|
+
})) : ((matrix_5) => ((i_5) => [])));
|
|
940
|
+
}
|
|
941
|
+
else {
|
|
942
|
+
const outputGetter = (0, Option_js_1.value)(matchValue_1);
|
|
943
|
+
outputGetter_1 = ((matrix_3) => ((i_3) => {
|
|
944
|
+
let factors;
|
|
945
|
+
const collection_2 = (0, Seq_js_1.map)((f_2) => f_2(matrix_3)(i_3), factorValueGetters);
|
|
946
|
+
factors = Array.from(collection_2);
|
|
947
|
+
const output = outputGetter(matrix_3)(i_3);
|
|
948
|
+
if (factors.length > 0) {
|
|
949
|
+
Sample_js_1.LDSample.setAdditionalProperties(output, factors);
|
|
950
|
+
}
|
|
951
|
+
return (0, Collections_js_1.ResizeArray_singleton)(output);
|
|
952
|
+
}));
|
|
953
|
+
}
|
|
954
|
+
return (matrix_6) => ((i_6) => {
|
|
955
|
+
const pn = ((1 + (0, Seq_js_1.max)((0, Seq_js_1.map)((tuple_1) => tuple_1[1], matrix_6.keys()), {
|
|
956
|
+
Compare: Util_js_1.comparePrimitives,
|
|
957
|
+
})) === 1) ? processNameRoot : ProcessConversion_composeProcessName(processNameRoot, i_6);
|
|
958
|
+
const paramvalues = (0, Option_js_1.map)((collection_4) => Array.from(collection_4), (0, Collections_js_1.Option_fromValueWithDefault)((0, List_js_1.empty)(), (0, List_js_1.map)((f_4) => f_4(matrix_6)(i_6), parameterValueGetters)));
|
|
959
|
+
const comments = (0, Option_js_1.map)((collection_5) => Array.from(collection_5), (0, Collections_js_1.Option_fromValueWithDefault)((0, List_js_1.empty)(), (0, List_js_1.map)((f_5) => f_5(matrix_6)(i_6), commentGetters)));
|
|
960
|
+
const components = (0, Option_js_1.map)((collection_6) => Array.from(collection_6), (0, Collections_js_1.Option_fromValueWithDefault)((0, List_js_1.empty)(), (0, List_js_1.map)((f_6) => f_6(matrix_6)(i_6), componentGetters)));
|
|
961
|
+
let protocol;
|
|
962
|
+
const name = (0, Option_js_1.map)((f_7) => f_7(matrix_6)(i_6), protocolREFGetter);
|
|
963
|
+
const protocolId = LabProtocol_js_1.LDLabProtocol.genId((0, Option_js_1.unwrap)(name), processNameRoot);
|
|
964
|
+
protocol = LabProtocol_js_1.LDLabProtocol.create(protocolId, (0, Option_js_1.unwrap)(name), (0, Option_js_1.unwrap)((0, Option_js_1.map)((f_8) => f_8(matrix_6)(i_6), protocolDescriptionGetter)), (0, Option_js_1.unwrap)((0, Option_js_1.map)((f_9) => f_9(matrix_6)(i_6), protocolTypeGetter)), undefined, undefined, (0, Option_js_1.unwrap)(components), undefined, (0, Option_js_1.unwrap)((0, Option_js_1.map)((f_10) => f_10(matrix_6)(i_6), protocolURIGetter)), (0, Option_js_1.unwrap)((0, Option_js_1.map)((f_11) => f_11(matrix_6)(i_6), protocolVersionGetter)));
|
|
965
|
+
const matchValue_2 = inputGetter_1(matrix_6)(i_6);
|
|
966
|
+
const matchValue_3 = outputGetter_1(matrix_6)(i_6);
|
|
967
|
+
const agent = (0, Option_js_1.map)((f_12) => f_12(matrix_6)(i_6), performerGetter);
|
|
968
|
+
return LabProcess_js_1.LDLabProcess.create(pn, matchValue_2, matchValue_3, undefined, (0, Option_js_1.unwrap)(agent), (0, Option_js_1.unwrap)(protocol), (0, Option_js_1.unwrap)(paramvalues), undefined, (0, Option_js_1.unwrap)(comments));
|
|
969
|
+
});
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* Groups processes by their name, or by the name of the protocol they execute
|
|
973
|
+
*
|
|
974
|
+
* Process names are taken from the Worksheet name and numbered: SheetName_1, SheetName_2, etc.
|
|
975
|
+
*
|
|
976
|
+
* This function decomposes this name into a root name and a number, and groups processes by root name.
|
|
977
|
+
*/
|
|
978
|
+
function ProcessConversion_groupProcesses_Z27F0B586(processes, graph, context) {
|
|
979
|
+
return (0, Seq2_js_1.List_groupBy)((p) => {
|
|
980
|
+
let protocol, name_1, name_2, protocol_1;
|
|
981
|
+
const matchValue = LabProcess_js_1.LDLabProcess.tryGetNameAsString(p, (0, Option_js_1.unwrap)(context));
|
|
982
|
+
const matchValue_1 = LabProcess_js_1.LDLabProcess.tryGetExecutesLabProtocol(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
983
|
+
let matchResult, name_3, protocol_2, name_4, name_5, protocol_3;
|
|
984
|
+
if (matchValue != null) {
|
|
985
|
+
if (ProcessConversion_decomposeProcessName_Z721C83C5((0, Option_js_1.value)(matchValue))[1] != null) {
|
|
986
|
+
matchResult = 0;
|
|
987
|
+
name_3 = (0, Option_js_1.value)(matchValue);
|
|
988
|
+
}
|
|
989
|
+
else if (matchValue_1 != null) {
|
|
990
|
+
if ((protocol = (0, Option_js_1.value)(matchValue_1), LabProtocol_js_1.LDLabProtocol.tryGetNameAsString(protocol, (0, Option_js_1.unwrap)(context)) != null)) {
|
|
991
|
+
matchResult = 1;
|
|
992
|
+
protocol_2 = (0, Option_js_1.value)(matchValue_1);
|
|
993
|
+
}
|
|
994
|
+
else if ((name_1 = (0, Option_js_1.value)(matchValue), name_1.indexOf("_") >= 0)) {
|
|
995
|
+
matchResult = 2;
|
|
996
|
+
name_4 = (0, Option_js_1.value)(matchValue);
|
|
997
|
+
}
|
|
998
|
+
else {
|
|
999
|
+
matchResult = 3;
|
|
1000
|
+
name_5 = (0, Option_js_1.value)(matchValue);
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
else if ((name_2 = (0, Option_js_1.value)(matchValue), name_2.indexOf("_") >= 0)) {
|
|
1004
|
+
matchResult = 2;
|
|
1005
|
+
name_4 = (0, Option_js_1.value)(matchValue);
|
|
1006
|
+
}
|
|
1007
|
+
else {
|
|
1008
|
+
matchResult = 3;
|
|
1009
|
+
name_5 = (0, Option_js_1.value)(matchValue);
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
else if (matchValue_1 != null) {
|
|
1013
|
+
if ((protocol_1 = (0, Option_js_1.value)(matchValue_1), LabProtocol_js_1.LDLabProtocol.tryGetNameAsString(protocol_1, (0, Option_js_1.unwrap)(context)) != null)) {
|
|
1014
|
+
matchResult = 1;
|
|
1015
|
+
protocol_2 = (0, Option_js_1.value)(matchValue_1);
|
|
1016
|
+
}
|
|
1017
|
+
else {
|
|
1018
|
+
matchResult = 4;
|
|
1019
|
+
protocol_3 = (0, Option_js_1.value)(matchValue_1);
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
else {
|
|
1023
|
+
matchResult = 5;
|
|
1024
|
+
}
|
|
1025
|
+
switch (matchResult) {
|
|
1026
|
+
case 0:
|
|
1027
|
+
return ProcessConversion_decomposeProcessName_Z721C83C5(name_3)[0];
|
|
1028
|
+
case 1:
|
|
1029
|
+
return (0, Option_js_1.defaultArg)(LabProtocol_js_1.LDLabProtocol.tryGetNameAsString(protocol_2, (0, Option_js_1.unwrap)(context)), "");
|
|
1030
|
+
case 2:
|
|
1031
|
+
return (0, String_js_1.remove)(name_4, name_4.lastIndexOf("_"));
|
|
1032
|
+
case 3:
|
|
1033
|
+
return name_5;
|
|
1034
|
+
case 4:
|
|
1035
|
+
return protocol_3.Id;
|
|
1036
|
+
default:
|
|
1037
|
+
return (0, Identifier_js_1.createMissingIdentifier)();
|
|
1038
|
+
}
|
|
1039
|
+
}, processes, {
|
|
1040
|
+
Equals: (x, y) => (x === y),
|
|
1041
|
+
GetHashCode: Util_js_1.stringHash,
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* Merges processes with the same name, protocol and param values
|
|
1046
|
+
*/
|
|
1047
|
+
function ProcessConversion_processToRows_Z6839B9E8(p, graph, context) {
|
|
1048
|
+
const pvs = (0, Collections_js_1.ResizeArray_map)((ppv) => [BaseTypes_decomposeParameterValue_Z2F770004(ppv, (0, Option_js_1.unwrap)(context)), ColumnIndex_tryGetIndex(ppv)], LabProcess_js_1.LDLabProcess.getParameterValues(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1049
|
+
let components;
|
|
1050
|
+
const matchValue = LabProcess_js_1.LDLabProcess.tryGetExecutesLabProtocol(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1051
|
+
if (matchValue == null) {
|
|
1052
|
+
components = [];
|
|
1053
|
+
}
|
|
1054
|
+
else {
|
|
1055
|
+
const prot = (0, Option_js_1.value)(matchValue);
|
|
1056
|
+
components = (0, Collections_js_1.ResizeArray_map)((ppv_1) => [BaseTypes_decomposeComponent_Z2F770004(ppv_1, (0, Option_js_1.unwrap)(context)), ColumnIndex_tryGetIndex(ppv_1)], LabProtocol_js_1.LDLabProtocol.getComponents(prot, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1057
|
+
}
|
|
1058
|
+
let protVals;
|
|
1059
|
+
const matchValue_1 = LabProcess_js_1.LDLabProcess.tryGetExecutesLabProtocol(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1060
|
+
if (matchValue_1 == null) {
|
|
1061
|
+
protVals = (0, List_js_1.empty)();
|
|
1062
|
+
}
|
|
1063
|
+
else {
|
|
1064
|
+
const prot_1 = (0, Option_js_1.value)(matchValue_1);
|
|
1065
|
+
protVals = (0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => {
|
|
1066
|
+
let matchValue_2;
|
|
1067
|
+
return (0, Seq_js_1.append)((matchValue_2 = LabProtocol_js_1.LDLabProtocol.tryGetNameAsString(prot_1, (0, Option_js_1.unwrap)(context)), (matchValue_2 == null) ? ((0, Seq_js_1.empty)()) : (0, Seq_js_1.singleton)([(0, CompositeHeader_js_1.CompositeHeader_ProtocolREF)(), (0, CompositeCell_js_1.CompositeCell_FreeText)((0, Option_js_1.value)(matchValue_2))])), (0, Seq_js_1.delay)(() => {
|
|
1068
|
+
let matchValue_3;
|
|
1069
|
+
return (0, Seq_js_1.append)((matchValue_3 = LabProtocol_js_1.LDLabProtocol.tryGetDescriptionAsString(prot_1, (0, Option_js_1.unwrap)(context)), (matchValue_3 == null) ? ((0, Seq_js_1.empty)()) : (0, Seq_js_1.singleton)([(0, CompositeHeader_js_1.CompositeHeader_ProtocolDescription)(), (0, CompositeCell_js_1.CompositeCell_FreeText)((0, Option_js_1.value)(matchValue_3))])), (0, Seq_js_1.delay)(() => {
|
|
1070
|
+
let matchValue_4;
|
|
1071
|
+
return (0, Seq_js_1.append)((matchValue_4 = LabProtocol_js_1.LDLabProtocol.tryGetUrl(prot_1, (0, Option_js_1.unwrap)(context)), (matchValue_4 == null) ? ((0, Seq_js_1.empty)()) : (0, Seq_js_1.singleton)([(0, CompositeHeader_js_1.CompositeHeader_ProtocolUri)(), (0, CompositeCell_js_1.CompositeCell_FreeText)((0, Option_js_1.value)(matchValue_4))])), (0, Seq_js_1.delay)(() => {
|
|
1072
|
+
let matchValue_5;
|
|
1073
|
+
return (0, Seq_js_1.append)((matchValue_5 = LabProtocol_js_1.LDLabProtocol.tryGetVersionAsString(prot_1, (0, Option_js_1.unwrap)(context)), (matchValue_5 == null) ? ((0, Seq_js_1.empty)()) : (0, Seq_js_1.singleton)([(0, CompositeHeader_js_1.CompositeHeader_ProtocolVersion)(), (0, CompositeCell_js_1.CompositeCell_FreeText)((0, Option_js_1.value)(matchValue_5))])), (0, Seq_js_1.delay)(() => {
|
|
1074
|
+
const matchValue_6 = ProcessConversion_tryGetProtocolType_Z6839B9E8(prot_1, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1075
|
+
if (matchValue_6 == null) {
|
|
1076
|
+
return (0, Seq_js_1.empty)();
|
|
1077
|
+
}
|
|
1078
|
+
else {
|
|
1079
|
+
return (0, Seq_js_1.singleton)([(0, CompositeHeader_js_1.CompositeHeader_ProtocolType)(), (0, CompositeCell_js_1.CompositeCell_Term)((0, Option_js_1.value)(matchValue_6))]);
|
|
1080
|
+
}
|
|
1081
|
+
}));
|
|
1082
|
+
}));
|
|
1083
|
+
}));
|
|
1084
|
+
}));
|
|
1085
|
+
}));
|
|
1086
|
+
}
|
|
1087
|
+
const comments = (0, Collections_js_1.ResizeArray_map)((c) => {
|
|
1088
|
+
const c_1 = Comment_js_2.Comment$.fromString(c);
|
|
1089
|
+
return [(0, CompositeHeader_js_1.CompositeHeader_Comment)((0, Option_js_1.defaultArg)(c_1.Name, "")), (0, CompositeCell_js_1.CompositeCell_FreeText)((0, Option_js_1.defaultArg)(c_1.Value, ""))];
|
|
1090
|
+
}, LabProcess_js_1.LDLabProcess.getDisambiguatingDescriptionsAsString(p, (0, Option_js_1.unwrap)(context)));
|
|
1091
|
+
const inputs = LabProcess_js_1.LDLabProcess.getObjects(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1092
|
+
const outputs = LabProcess_js_1.LDLabProcess.getResults(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1093
|
+
const patternInput = ((inputs.length === 0) && (outputs.length !== 0)) ? [(0, Collections_js_1.ResizeArray_create)(outputs.length, undefined), (0, Collections_js_1.ResizeArray_map)((Value) => Value, outputs)] : (((inputs.length !== 0) && (outputs.length === 0)) ? [(0, Collections_js_1.ResizeArray_map)((Value_1) => Value_1, inputs), (0, Collections_js_1.ResizeArray_create)(inputs.length, undefined)] : [(0, Collections_js_1.ResizeArray_map)((Value_2) => Value_2, inputs), (0, Collections_js_1.ResizeArray_map)((Value_3) => Value_3, outputs)]);
|
|
1094
|
+
const outputs_1 = patternInput[1];
|
|
1095
|
+
const inputs_1 = patternInput[0];
|
|
1096
|
+
if ((inputs_1.length === 0) && (outputs_1.length === 0)) {
|
|
1097
|
+
const vals = (0, List_js_1.map)((tuple_1) => tuple_1[0], (0, List_js_1.sortBy)((arg) => (0, Option_js_1.defaultArg)(arg[1], 10000), (0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(components, (0, Seq_js_1.delay)(() => pvs)))), {
|
|
1098
|
+
Compare: Util_js_1.comparePrimitives,
|
|
1099
|
+
}));
|
|
1100
|
+
return (0, Collections_js_1.ResizeArray_singleton)((0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(protVals, (0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(vals, (0, Seq_js_1.delay)(() => comments)))))));
|
|
1101
|
+
}
|
|
1102
|
+
else {
|
|
1103
|
+
return (0, Collections_js_1.ResizeArray_map)((tupledArg) => {
|
|
1104
|
+
const i = tupledArg[0];
|
|
1105
|
+
const o = tupledArg[1];
|
|
1106
|
+
let chars;
|
|
1107
|
+
if (i == null) {
|
|
1108
|
+
chars = [];
|
|
1109
|
+
}
|
|
1110
|
+
else {
|
|
1111
|
+
const i_1 = (0, Option_js_1.value)(i);
|
|
1112
|
+
chars = (0, Collections_js_1.ResizeArray_map)((cv) => [BaseTypes_decomposeCharacteristicValue_Z2F770004(cv, (0, Option_js_1.unwrap)(context)), ColumnIndex_tryGetIndex(cv)], Sample_js_1.LDSample.getCharacteristics(i_1, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1113
|
+
}
|
|
1114
|
+
let factors;
|
|
1115
|
+
if (o == null) {
|
|
1116
|
+
factors = [];
|
|
1117
|
+
}
|
|
1118
|
+
else {
|
|
1119
|
+
const o_1 = (0, Option_js_1.value)(o);
|
|
1120
|
+
factors = (0, Collections_js_1.ResizeArray_map)((fv) => [BaseTypes_decomposeFactorValue_Z2F770004(fv, (0, Option_js_1.unwrap)(context)), ColumnIndex_tryGetIndex(fv)], Sample_js_1.LDSample.getFactors(o_1, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1121
|
+
}
|
|
1122
|
+
const vals_1 = (0, List_js_1.map)((tuple_3) => tuple_3[0], (0, List_js_1.sortBy)((arg_1) => (0, Option_js_1.defaultArg)(arg_1[1], 10000), (0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(chars, (0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(components, (0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(pvs, (0, Seq_js_1.delay)(() => factors)))))))), {
|
|
1123
|
+
Compare: Util_js_1.comparePrimitives,
|
|
1124
|
+
}));
|
|
1125
|
+
return (0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => (0, Seq_js_1.append)((i != null) ? (0, Seq_js_1.singleton)(BaseTypes_decomposeProcessInput_Z2F770004((0, Option_js_1.value)(i), (0, Option_js_1.unwrap)(context))) : (0, Seq_js_1.empty)(), (0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(protVals, (0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(vals_1, (0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(comments, (0, Seq_js_1.delay)(() => ((o != null) ? (0, Seq_js_1.singleton)(BaseTypes_decomposeProcessOutput_Z2F770004((0, Option_js_1.value)(o), (0, Option_js_1.unwrap)(context))) : (0, Seq_js_1.empty)())))))))))));
|
|
1126
|
+
}, (0, Collections_js_1.ResizeArray_zip)(inputs_1, outputs_1));
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
function CompositeRow_toProtocol(tableName, row) {
|
|
1130
|
+
return (0, Seq_js_1.fold)((p, hc) => {
|
|
1131
|
+
let matchResult, oa, v, v_1, v_2, v_3;
|
|
1132
|
+
switch (hc[0].tag) {
|
|
1133
|
+
case /* ProtocolType */ 4: {
|
|
1134
|
+
if (hc[1].tag === /* Term */ 0) {
|
|
1135
|
+
matchResult = 0;
|
|
1136
|
+
oa = hc[1].fields[0];
|
|
1137
|
+
}
|
|
1138
|
+
else {
|
|
1139
|
+
matchResult = 6;
|
|
1140
|
+
}
|
|
1141
|
+
break;
|
|
1142
|
+
}
|
|
1143
|
+
case /* ProtocolVersion */ 7: {
|
|
1144
|
+
if (hc[1].tag === /* FreeText */ 1) {
|
|
1145
|
+
matchResult = 1;
|
|
1146
|
+
v = hc[1].fields[0];
|
|
1147
|
+
}
|
|
1148
|
+
else {
|
|
1149
|
+
matchResult = 6;
|
|
1150
|
+
}
|
|
1151
|
+
break;
|
|
1152
|
+
}
|
|
1153
|
+
case /* ProtocolUri */ 6: {
|
|
1154
|
+
if (hc[1].tag === /* FreeText */ 1) {
|
|
1155
|
+
matchResult = 2;
|
|
1156
|
+
v_1 = hc[1].fields[0];
|
|
1157
|
+
}
|
|
1158
|
+
else {
|
|
1159
|
+
matchResult = 6;
|
|
1160
|
+
}
|
|
1161
|
+
break;
|
|
1162
|
+
}
|
|
1163
|
+
case /* ProtocolDescription */ 5: {
|
|
1164
|
+
if (hc[1].tag === /* FreeText */ 1) {
|
|
1165
|
+
matchResult = 3;
|
|
1166
|
+
v_2 = hc[1].fields[0];
|
|
1167
|
+
}
|
|
1168
|
+
else {
|
|
1169
|
+
matchResult = 6;
|
|
1170
|
+
}
|
|
1171
|
+
break;
|
|
1172
|
+
}
|
|
1173
|
+
case /* ProtocolREF */ 8: {
|
|
1174
|
+
if (hc[1].tag === /* FreeText */ 1) {
|
|
1175
|
+
matchResult = 4;
|
|
1176
|
+
v_3 = hc[1].fields[0];
|
|
1177
|
+
}
|
|
1178
|
+
else {
|
|
1179
|
+
matchResult = 6;
|
|
1180
|
+
}
|
|
1181
|
+
break;
|
|
1182
|
+
}
|
|
1183
|
+
case /* Component */ 0: {
|
|
1184
|
+
switch (hc[1].tag) {
|
|
1185
|
+
case /* Term */ 0:
|
|
1186
|
+
case /* Unitized */ 2: {
|
|
1187
|
+
matchResult = 5;
|
|
1188
|
+
break;
|
|
1189
|
+
}
|
|
1190
|
+
default:
|
|
1191
|
+
matchResult = 6;
|
|
1192
|
+
}
|
|
1193
|
+
break;
|
|
1194
|
+
}
|
|
1195
|
+
default:
|
|
1196
|
+
matchResult = 6;
|
|
1197
|
+
}
|
|
1198
|
+
switch (matchResult) {
|
|
1199
|
+
case 0: {
|
|
1200
|
+
LabProtocol_js_1.LDLabProtocol.setIntendedUseAsDefinedTerm(p, BaseTypes_composeDefinedTerm_ZDED3A0F(oa));
|
|
1201
|
+
break;
|
|
1202
|
+
}
|
|
1203
|
+
case 1: {
|
|
1204
|
+
LabProtocol_js_1.LDLabProtocol.setVersionAsString(p, v);
|
|
1205
|
+
break;
|
|
1206
|
+
}
|
|
1207
|
+
case 2: {
|
|
1208
|
+
LabProtocol_js_1.LDLabProtocol.setUrl(p, v_1);
|
|
1209
|
+
break;
|
|
1210
|
+
}
|
|
1211
|
+
case 3: {
|
|
1212
|
+
LabProtocol_js_1.LDLabProtocol.setDescriptionAsString(p, v_2);
|
|
1213
|
+
break;
|
|
1214
|
+
}
|
|
1215
|
+
case 4: {
|
|
1216
|
+
LabProtocol_js_1.LDLabProtocol.setNameAsString(p, v_3);
|
|
1217
|
+
break;
|
|
1218
|
+
}
|
|
1219
|
+
case 5: {
|
|
1220
|
+
const newC = (0, Collections_js_1.ResizeArray_appendSingleton)(BaseTypes_composeComponent(hc[0], hc[1]), LabProtocol_js_1.LDLabProtocol.getLabEquipments(p));
|
|
1221
|
+
LabProtocol_js_1.LDLabProtocol.setLabEquipments(p, newC);
|
|
1222
|
+
break;
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
return p;
|
|
1226
|
+
}, LabProtocol_js_1.LDLabProtocol.create(tableName, tableName), row);
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* Create a new table from an ISA protocol.
|
|
1230
|
+
*
|
|
1231
|
+
* The table will have at most one row, with the protocol information and the component values
|
|
1232
|
+
*/
|
|
1233
|
+
function ARCtrl_ArcTable__ArcTable_fromProtocol_Static_Z6839B9E8(p, graph, context) {
|
|
1234
|
+
const name = LabProtocol_js_1.LDLabProtocol.getNameAsString(p, (0, Option_js_1.unwrap)(context));
|
|
1235
|
+
const t = ArcTable_js_1.ArcTable.init(name);
|
|
1236
|
+
let enumerator = (0, Util_js_1.getEnumerator)(LabProtocol_js_1.LDLabProtocol.getComponents(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1237
|
+
try {
|
|
1238
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1239
|
+
const c = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1240
|
+
const patternInput = BaseTypes_decomposeComponent_Z2F770004(c, (0, Option_js_1.unwrap)(context));
|
|
1241
|
+
t.AddColumn(patternInput[0], (0, Array_js_1.singleton)(patternInput[1]), (0, Option_js_1.unwrap)(ARCtrl_ROCrate_LDNode__LDNode_TryGetColumnIndex(c)));
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
finally {
|
|
1245
|
+
(0, Util_js_1.disposeSafe)(enumerator);
|
|
1246
|
+
}
|
|
1247
|
+
(0, Option_js_1.map)((d) => {
|
|
1248
|
+
t.AddProtocolDescriptionColumn([d]);
|
|
1249
|
+
}, LabProtocol_js_1.LDLabProtocol.tryGetDescriptionAsString(p, (0, Option_js_1.unwrap)(context)));
|
|
1250
|
+
(0, Option_js_1.map)((d_1) => {
|
|
1251
|
+
t.AddProtocolVersionColumn([d_1]);
|
|
1252
|
+
}, LabProtocol_js_1.LDLabProtocol.tryGetVersionAsString(p, (0, Option_js_1.unwrap)(context)));
|
|
1253
|
+
(0, Option_js_1.map)((d_2) => {
|
|
1254
|
+
t.AddProtocolTypeColumn([d_2]);
|
|
1255
|
+
}, ProcessConversion_tryGetProtocolType_Z6839B9E8(p, undefined, (0, Option_js_1.unwrap)(context)));
|
|
1256
|
+
(0, Option_js_1.map)((d_3) => {
|
|
1257
|
+
t.AddProtocolUriColumn([d_3]);
|
|
1258
|
+
}, LabProtocol_js_1.LDLabProtocol.tryGetUrl(p, (0, Option_js_1.unwrap)(context)));
|
|
1259
|
+
t.AddProtocolNameColumn([name]);
|
|
1260
|
+
return t;
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Returns the list of protocols executed in this ArcTable
|
|
1264
|
+
*/
|
|
1265
|
+
function ARCtrl_ArcTable__ArcTable_GetProtocols(this$) {
|
|
1266
|
+
let source;
|
|
1267
|
+
if (this$.RowCount === 0) {
|
|
1268
|
+
return (0, List_js_1.singleton)((source = this$.Headers, (0, Seq_js_1.fold)((p, h) => {
|
|
1269
|
+
if (h.tag === /* Component */ 0) {
|
|
1270
|
+
const oa = h.fields[0];
|
|
1271
|
+
const matchValue = oa.NameText;
|
|
1272
|
+
const matchValue_1 = oa.TermAccessionOntobeeUrl;
|
|
1273
|
+
const newC = (0, Collections_js_1.ResizeArray_appendSingleton)(PropertyValue_js_1.LDPropertyValue.createComponent(matchValue, "Empty Component Value", undefined, matchValue_1), LabProtocol_js_1.LDLabProtocol.getLabEquipments(p));
|
|
1274
|
+
LabProtocol_js_1.LDLabProtocol.setLabEquipments(p, newC);
|
|
1275
|
+
}
|
|
1276
|
+
return p;
|
|
1277
|
+
}, LabProtocol_js_1.LDLabProtocol.create((0, Identifier_js_1.createMissingIdentifier)(), this$.Name), source)));
|
|
1278
|
+
}
|
|
1279
|
+
else {
|
|
1280
|
+
return (0, Seq2_js_1.List_distinct)((0, List_js_1.initialize)(this$.RowCount, (i) => {
|
|
1281
|
+
let row;
|
|
1282
|
+
const source_2 = this$.GetRow(i, true);
|
|
1283
|
+
row = (0, Seq_js_1.zip)(this$.Headers, source_2);
|
|
1284
|
+
return CompositeRow_toProtocol(this$.Name, row);
|
|
1285
|
+
}), {
|
|
1286
|
+
Equals: Util_js_1.equals,
|
|
1287
|
+
GetHashCode: Util_js_1.safeHash,
|
|
1288
|
+
});
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* Returns the list of processes specidified in this ArcTable
|
|
1293
|
+
*/
|
|
1294
|
+
function ARCtrl_ArcTable__ArcTable_GetProcesses(this$) {
|
|
1295
|
+
if (this$.RowCount === 0) {
|
|
1296
|
+
return (0, List_js_1.singleton)(LabProcess_js_1.LDLabProcess.create(this$.Name));
|
|
1297
|
+
}
|
|
1298
|
+
else {
|
|
1299
|
+
const getter = ProcessConversion_getProcessGetter(this$.Name, this$.Headers);
|
|
1300
|
+
return (0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => (0, Seq_js_1.map)((i) => getter(this$.Values)(i), (0, Range_js_1.rangeDouble)(0, 1, this$.RowCount - 1))));
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Create a new table from a list of processes
|
|
1305
|
+
*
|
|
1306
|
+
* The name will be used as the sheet name
|
|
1307
|
+
*
|
|
1308
|
+
* The processes SHOULD have the same headers, or even execute the same protocol
|
|
1309
|
+
*/
|
|
1310
|
+
function ARCtrl_ArcTable__ArcTable_fromProcesses_Static_Z3575FB5F(name, ps, graph, context) {
|
|
1311
|
+
const tupledArg = (0, ArcTableAux_js_1.Unchecked_alignByHeaders)(true, (0, List_js_1.collect)((p) => (0, List_js_1.ofSeq)(ProcessConversion_processToRows_Z6839B9E8(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))), ps));
|
|
1312
|
+
return ArcTable_js_1.ArcTable.create(name, tupledArg[0], tupledArg[1]);
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
* Return a list of all the processes in all the tables.
|
|
1316
|
+
*/
|
|
1317
|
+
function ARCtrl_ArcTables__ArcTables_GetProcesses(this$) {
|
|
1318
|
+
return (0, List_js_1.collect)(ARCtrl_ArcTable__ArcTable_GetProcesses, (0, Seq_js_1.toList)(this$.Tables));
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* Create a collection of tables from a list of processes.
|
|
1322
|
+
*
|
|
1323
|
+
* For this, the processes are grouped by nameroot ("nameroot_1", "nameroot_2" ...) or exectued protocol if no name exists
|
|
1324
|
+
*
|
|
1325
|
+
* Then each group is converted to a table with this nameroot as sheetname
|
|
1326
|
+
*/
|
|
1327
|
+
function ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586(ps, graph, context) {
|
|
1328
|
+
let collection;
|
|
1329
|
+
return new ArcTables_js_1.ArcTables((collection = (0, List_js_1.map)((tupledArg) => {
|
|
1330
|
+
const tupledArg_1 = (0, ArcTableAux_js_1.Unchecked_alignByHeaders)(true, (0, List_js_1.collect)((p) => (0, List_js_1.ofSeq)(ProcessConversion_processToRows_Z6839B9E8(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))), tupledArg[1]));
|
|
1331
|
+
return ArcTable_js_1.ArcTable.create(tupledArg[0], tupledArg_1[0], tupledArg_1[1]);
|
|
1332
|
+
}, ProcessConversion_groupProcesses_Z27F0B586(ps, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))), Array.from(collection)));
|
|
1333
|
+
}
|
|
1334
|
+
class DatamapConversion {
|
|
1335
|
+
constructor() {
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
exports.DatamapConversion = DatamapConversion;
|
|
1339
|
+
function DatamapConversion_$reflection() {
|
|
1340
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.DatamapConversion", undefined, DatamapConversion);
|
|
1341
|
+
}
|
|
1342
|
+
function DatamapConversion_composeFragmentDescriptors_Z8923FA3(datamap) {
|
|
1343
|
+
return (0, Collections_js_1.ResizeArray_map)(BaseTypes_composeFragmentDescriptor_Z4C0BEF62, (0, DataMap_js_1.DataMap__get_DataContexts)(datamap));
|
|
1344
|
+
}
|
|
1345
|
+
function DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(fragmentDescriptors, graph, context) {
|
|
1346
|
+
return (0, DataMap_js_1.DataMap_$ctor_4E3220A7)((0, Collections_js_1.ResizeArray_map)((fd) => BaseTypes_decomposeFragmentDescriptor_Z6839B9E8(fd, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), fragmentDescriptors));
|
|
1347
|
+
}
|
|
1348
|
+
class PersonConversion {
|
|
1349
|
+
constructor() {
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
exports.PersonConversion = PersonConversion;
|
|
1353
|
+
function PersonConversion_$reflection() {
|
|
1354
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.PersonConversion", undefined, PersonConversion);
|
|
1355
|
+
}
|
|
1356
|
+
function PersonConversion_get_orcidKey() {
|
|
1357
|
+
return "ORCID";
|
|
1358
|
+
}
|
|
1359
|
+
function PersonConversion_composeAffiliation_Z721C83C5(affiliation) {
|
|
1360
|
+
let arg;
|
|
1361
|
+
try {
|
|
1362
|
+
const matchValue = (0, Decode_fs_js_1.fromString)(LDNode_js_1.decoder, affiliation);
|
|
1363
|
+
if (matchValue.tag === /* Error */ 1) {
|
|
1364
|
+
throw new Error((arg = matchValue.fields[0], (0, String_js_1.toText)((0, String_js_1.printf)("Error decoding string: %O"))(arg)));
|
|
1365
|
+
}
|
|
1366
|
+
else {
|
|
1367
|
+
return matchValue.fields[0];
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
catch (matchValue_1) {
|
|
1371
|
+
return Organization_js_1.LDOrganization.create(affiliation);
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
function PersonConversion_decomposeAffiliation_Z2F770004(affiliation, context) {
|
|
1375
|
+
if ((0, Seq_js_1.isEmpty)((0, Seq_js_1.filter)((n) => (n !== Organization_js_1.LDOrganization.name), affiliation.GetPropertyNames((0, Option_js_1.unwrap)(context))))) {
|
|
1376
|
+
return Organization_js_1.LDOrganization.getNameAsString(affiliation, (0, Option_js_1.unwrap)(context));
|
|
1377
|
+
}
|
|
1378
|
+
else {
|
|
1379
|
+
return (0, Encode_fs_js_1.toString)(0, (0, LDNode_js_1.encoder)(affiliation));
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
function PersonConversion_composeAddress_Z721C83C5(address) {
|
|
1383
|
+
let matchValue;
|
|
1384
|
+
try {
|
|
1385
|
+
return (matchValue = (0, Decode_fs_js_1.fromString)(LDNode_js_1.decoder, address), (matchValue.tag === /* Error */ 1) ? (() => {
|
|
1386
|
+
let arg;
|
|
1387
|
+
throw new Error((arg = matchValue.fields[0], (0, String_js_1.toText)((0, String_js_1.printf)("Error decoding string: %O"))(arg)));
|
|
1388
|
+
})() : matchValue.fields[0]);
|
|
1389
|
+
}
|
|
1390
|
+
catch (matchValue_1) {
|
|
1391
|
+
return address;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
function PersonConversion_decomposeAddress_4E60E31B(address) {
|
|
1395
|
+
if (typeof address === "string") {
|
|
1396
|
+
return address;
|
|
1397
|
+
}
|
|
1398
|
+
else if (address instanceof LDObject_js_1.LDNode) {
|
|
1399
|
+
return (0, Encode_fs_js_1.toString)(0, (0, LDNode_js_1.encoder)(address));
|
|
1400
|
+
}
|
|
1401
|
+
else {
|
|
1402
|
+
throw new Error("Address must be a string or a Json.LDNode");
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
function PersonConversion_composePerson_Z64D846DC(person) {
|
|
1406
|
+
let givenName;
|
|
1407
|
+
const matchValue = person.FirstName;
|
|
1408
|
+
if (matchValue == null) {
|
|
1409
|
+
throw new Error("Person must have a given name");
|
|
1410
|
+
}
|
|
1411
|
+
else {
|
|
1412
|
+
givenName = (0, Option_js_1.value)(matchValue);
|
|
1413
|
+
}
|
|
1414
|
+
const jobTitles = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(BaseTypes_composeDefinedTerm_ZDED3A0F, person.Roles));
|
|
1415
|
+
const disambiguatingDescriptions = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(Types_js_1.toString, person.Comments));
|
|
1416
|
+
const address_1 = (0, Option_js_1.map)(PersonConversion_composeAddress_Z721C83C5, person.Address);
|
|
1417
|
+
const affiliation_1 = (0, Option_js_1.map)(PersonConversion_composeAffiliation_Z721C83C5, person.Affiliation);
|
|
1418
|
+
return Person_js_1.LDPerson.create(givenName, (0, Option_js_1.unwrap)(person.ORCID), undefined, (0, Option_js_1.unwrap)(affiliation_1), (0, Option_js_1.unwrap)(person.EMail), (0, Option_js_1.unwrap)(person.LastName), undefined, (0, Option_js_1.unwrap)(jobTitles), (0, Option_js_1.unwrap)(person.MidInitials), address_1, (0, Option_js_1.unwrap)(disambiguatingDescriptions), (0, Option_js_1.unwrap)(person.Fax), (0, Option_js_1.unwrap)(person.Phone));
|
|
1419
|
+
}
|
|
1420
|
+
function PersonConversion_decomposePerson_Z6839B9E8(person, graph, context) {
|
|
1421
|
+
const orcid = (0, ORCID_js_1.tryGetOrcidNumber)(person.Id);
|
|
1422
|
+
let address;
|
|
1423
|
+
const matchValue = Person_js_1.LDPerson.tryGetAddressAsString(person, (0, Option_js_1.unwrap)(context));
|
|
1424
|
+
if (matchValue == null) {
|
|
1425
|
+
const matchValue_1 = Person_js_1.LDPerson.tryGetAddressAsPostalAddress(person, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1426
|
+
address = ((matchValue_1 == null) ? undefined : PersonConversion_decomposeAddress_4E60E31B((0, Option_js_1.value)(matchValue_1)));
|
|
1427
|
+
}
|
|
1428
|
+
else {
|
|
1429
|
+
address = (0, Option_js_1.value)(matchValue);
|
|
1430
|
+
}
|
|
1431
|
+
const roles = (0, Collections_js_1.ResizeArray_map)((r) => BaseTypes_decomposeDefinedTerm_Z2F770004(r, (0, Option_js_1.unwrap)(context)), Person_js_1.LDPerson.getJobTitlesAsDefinedTerm(person, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1432
|
+
const comments = (0, Collections_js_1.ResizeArray_map)((s_1) => Comment_js_2.Comment$.fromString(s_1), Person_js_1.LDPerson.getDisambiguatingDescriptionsAsString(person, (0, Option_js_1.unwrap)(context)));
|
|
1433
|
+
const affiliation = (0, Option_js_1.map)((a_3) => PersonConversion_decomposeAffiliation_Z2F770004(a_3, (0, Option_js_1.unwrap)(context)), Person_js_1.LDPerson.tryGetAffiliation(person, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1434
|
+
return Person_js_2.Person.create((0, Option_js_1.unwrap)(orcid), (0, Option_js_1.unwrap)(Person_js_1.LDPerson.tryGetFamilyNameAsString(person, (0, Option_js_1.unwrap)(context))), Person_js_1.LDPerson.getGivenNameAsString(person, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(Person_js_1.LDPerson.tryGetAdditionalNameAsString(person, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(Person_js_1.LDPerson.tryGetEmailAsString(person, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(Person_js_1.LDPerson.tryGetTelephoneAsString(person, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(Person_js_1.LDPerson.tryGetFaxNumberAsString(person, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(address), (0, Option_js_1.unwrap)(affiliation), roles, comments);
|
|
1435
|
+
}
|
|
1436
|
+
class ScholarlyArticleConversion {
|
|
1437
|
+
constructor() {
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
exports.ScholarlyArticleConversion = ScholarlyArticleConversion;
|
|
1441
|
+
function ScholarlyArticleConversion_$reflection() {
|
|
1442
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.ScholarlyArticleConversion", undefined, ScholarlyArticleConversion);
|
|
1443
|
+
}
|
|
1444
|
+
function ScholarlyArticleConversion_composeAuthor_Z721C83C5(author) {
|
|
1445
|
+
let arg;
|
|
1446
|
+
try {
|
|
1447
|
+
const matchValue = (0, Decode_fs_js_1.fromString)(LDNode_js_1.decoder, author);
|
|
1448
|
+
if (matchValue.tag === /* Error */ 1) {
|
|
1449
|
+
throw new Error((arg = matchValue.fields[0], (0, String_js_1.toText)((0, String_js_1.printf)("Error decoding string: %O"))(arg)));
|
|
1450
|
+
}
|
|
1451
|
+
else {
|
|
1452
|
+
return matchValue.fields[0];
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
catch (matchValue_1) {
|
|
1456
|
+
return Person_js_1.LDPerson.create(author);
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
function ScholarlyArticleConversion_splitAuthors_Z721C83C5(a) {
|
|
1460
|
+
let bracketCount = 0;
|
|
1461
|
+
const authors = [];
|
|
1462
|
+
const sb = (0, System_Text_js_1.StringBuilder_$ctor)();
|
|
1463
|
+
const enumerator = (0, Util_js_1.getEnumerator)(a.split(""));
|
|
1464
|
+
try {
|
|
1465
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
1466
|
+
const c = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
1467
|
+
switch (c) {
|
|
1468
|
+
case "{": {
|
|
1469
|
+
bracketCount = ((bracketCount + 1) | 0);
|
|
1470
|
+
(0, System_Text_js_1.StringBuilder__Append_244C7CD6)(sb, c);
|
|
1471
|
+
break;
|
|
1472
|
+
}
|
|
1473
|
+
case "}": {
|
|
1474
|
+
bracketCount = ((bracketCount - 1) | 0);
|
|
1475
|
+
(0, System_Text_js_1.StringBuilder__Append_244C7CD6)(sb, c);
|
|
1476
|
+
break;
|
|
1477
|
+
}
|
|
1478
|
+
default:
|
|
1479
|
+
if ((c === ",") && (bracketCount === 0)) {
|
|
1480
|
+
void (authors.push((0, Types_js_1.toString)(sb)));
|
|
1481
|
+
(0, System_Text_js_1.StringBuilder__Clear)(sb);
|
|
1482
|
+
}
|
|
1483
|
+
else {
|
|
1484
|
+
(0, System_Text_js_1.StringBuilder__Append_244C7CD6)(sb, c);
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
finally {
|
|
1490
|
+
(0, Util_js_1.disposeSafe)(enumerator);
|
|
1491
|
+
}
|
|
1492
|
+
void (authors.push((0, Types_js_1.toString)(sb)));
|
|
1493
|
+
return authors;
|
|
1494
|
+
}
|
|
1495
|
+
function ScholarlyArticleConversion_composeAuthors_Z721C83C5(authors) {
|
|
1496
|
+
const collection = (0, Seq_js_1.map)(ScholarlyArticleConversion_composeAuthor_Z721C83C5, ScholarlyArticleConversion_splitAuthors_Z721C83C5(authors));
|
|
1497
|
+
return Array.from(collection);
|
|
1498
|
+
}
|
|
1499
|
+
function ScholarlyArticleConversion_decomposeAuthor_Z2F770004(author, context) {
|
|
1500
|
+
if ((0, Seq_js_1.isEmpty)((0, Seq_js_1.filter)((n) => (n !== Person_js_1.LDPerson.givenName), author.GetPropertyNames((0, Option_js_1.unwrap)(context))))) {
|
|
1501
|
+
return Person_js_1.LDPerson.getGivenNameAsString(author, (0, Option_js_1.unwrap)(context));
|
|
1502
|
+
}
|
|
1503
|
+
else {
|
|
1504
|
+
return (0, Encode_fs_js_1.toString)(0, (0, LDNode_js_1.encoder)(author));
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
function ScholarlyArticleConversion_decomposeAuthors_1AAAE9A5(authors, context) {
|
|
1508
|
+
return (0, String_js_1.join)(",", (0, Collections_js_1.ResizeArray_map)((a) => ScholarlyArticleConversion_decomposeAuthor_Z2F770004(a, (0, Option_js_1.unwrap)(context)), authors));
|
|
1509
|
+
}
|
|
1510
|
+
function ScholarlyArticleConversion_composeScholarlyArticle_D324A6D(publication) {
|
|
1511
|
+
let title;
|
|
1512
|
+
const matchValue = publication.Title;
|
|
1513
|
+
if (matchValue == null) {
|
|
1514
|
+
throw new Error("Publication must have a title");
|
|
1515
|
+
}
|
|
1516
|
+
else {
|
|
1517
|
+
title = (0, Option_js_1.value)(matchValue);
|
|
1518
|
+
}
|
|
1519
|
+
const authors_1 = (0, Option_js_1.map)(ScholarlyArticleConversion_composeAuthors_Z721C83C5, publication.Authors);
|
|
1520
|
+
const comments = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(BaseTypes_composeComment_Z13201A7E, publication.Comments));
|
|
1521
|
+
const identifiers = Array.from((0, Seq_js_1.toList)((0, Seq_js_1.delay)(() => (0, Seq_js_1.append)(((publication.DOI != null) && ((0, Option_js_1.value)(publication.DOI) !== "")) ? (0, Seq_js_1.singleton)(PropertyValue_js_1.LDPropertyValue.createDOI((0, Option_js_1.value)(publication.DOI))) : (0, Seq_js_1.empty)(), (0, Seq_js_1.delay)(() => (((publication.PubMedID != null) && ((0, Option_js_1.value)(publication.PubMedID) !== "")) ? (0, Seq_js_1.singleton)(PropertyValue_js_1.LDPropertyValue.createPubMedID((0, Option_js_1.value)(publication.PubMedID))) : (0, Seq_js_1.empty)()))))));
|
|
1522
|
+
const status = (0, Option_js_1.map)(BaseTypes_composeDefinedTerm_ZDED3A0F, publication.Status);
|
|
1523
|
+
return ScholarlyArticle_js_1.LDScholarlyArticle.create(title, identifiers, undefined, (0, Option_js_1.unwrap)(authors_1), undefined, (0, Option_js_1.unwrap)(status), (0, Option_js_1.unwrap)(comments));
|
|
1524
|
+
}
|
|
1525
|
+
function ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8(sa, graph, context) {
|
|
1526
|
+
const title = ScholarlyArticle_js_1.LDScholarlyArticle.getHeadlineAsString(sa, (0, Option_js_1.unwrap)(context));
|
|
1527
|
+
const authors = (0, Option_js_1.map)((a) => ScholarlyArticleConversion_decomposeAuthors_1AAAE9A5(a, (0, Option_js_1.unwrap)(context)), (0, Collections_js_1.Option_fromSeq)(ScholarlyArticle_js_1.LDScholarlyArticle.getAuthors(sa, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))));
|
|
1528
|
+
const comments = (0, Collections_js_1.ResizeArray_map)((c) => BaseTypes_decomposeComment_Z2F770004(c, (0, Option_js_1.unwrap)(context)), ScholarlyArticle_js_1.LDScholarlyArticle.getComments(sa, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1529
|
+
const status = (0, Option_js_1.map)((s) => BaseTypes_decomposeDefinedTerm_Z2F770004(s, (0, Option_js_1.unwrap)(context)), ScholarlyArticle_js_1.LDScholarlyArticle.tryGetCreativeWorkStatus(sa, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1530
|
+
const identifiers = ScholarlyArticle_js_1.LDScholarlyArticle.getIdentifiersAsPropertyValue(sa, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1531
|
+
let doi;
|
|
1532
|
+
const _arg = (0, Collections_js_1.ResizeArray_tryPick)((i) => PropertyValue_js_1.LDPropertyValue.tryGetAsDOI(i, (0, Option_js_1.unwrap)(context)), identifiers);
|
|
1533
|
+
doi = ((_arg == null) ? ScholarlyArticle_js_1.LDScholarlyArticle.tryGetSameAsAsString(sa, (0, Option_js_1.unwrap)(context)) : (0, Option_js_1.value)(_arg));
|
|
1534
|
+
let pubMedID;
|
|
1535
|
+
const _arg_1 = (0, Collections_js_1.ResizeArray_tryPick)((i_1) => PropertyValue_js_1.LDPropertyValue.tryGetAsPubMedID(i_1, (0, Option_js_1.unwrap)(context)), identifiers);
|
|
1536
|
+
pubMedID = ((_arg_1 == null) ? ScholarlyArticle_js_1.LDScholarlyArticle.tryGetUrlAsString(sa, (0, Option_js_1.unwrap)(context)) : (0, Option_js_1.value)(_arg_1));
|
|
1537
|
+
return Publication_js_1.Publication.create((0, Option_js_1.unwrap)(pubMedID), (0, Option_js_1.unwrap)(doi), (0, Option_js_1.unwrap)(authors), title, (0, Option_js_1.unwrap)(status), comments);
|
|
1538
|
+
}
|
|
1539
|
+
class AssayConversion {
|
|
1540
|
+
constructor() {
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
exports.AssayConversion = AssayConversion;
|
|
1544
|
+
function AssayConversion_$reflection() {
|
|
1545
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.AssayConversion", undefined, AssayConversion);
|
|
1546
|
+
}
|
|
1547
|
+
function AssayConversion_getDataFilesFromProcesses_6BABD1B0(processes, fragmentDescriptors, graph, context) {
|
|
1548
|
+
const data = (0, Collections_js_1.ResizeArray_distinct)((0, Collections_js_1.ResizeArray_append)((0, Collections_js_1.ResizeArray_choose)((df) => PropertyValue_js_1.LDPropertyValue.tryGetSubjectOf(df, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), (0, Option_js_1.defaultArg)(fragmentDescriptors, [])), (0, Collections_js_1.ResizeArray_collect)((p) => (0, Collections_js_1.ResizeArray_append)(LabProcess_js_1.LDLabProcess.getObjectsAsData(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), LabProcess_js_1.LDLabProcess.getResultsAsData(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))), processes)));
|
|
1549
|
+
const files = (0, Collections_js_1.ResizeArray_filter)((d) => ((0, Data_js_1.DataAux_pathAndSelectorFromName)(d.Id)[1] == null), data);
|
|
1550
|
+
return (0, Collections_js_1.ResizeArray_append)(files, (0, Collections_js_1.ResizeArray_map)((tupledArg) => {
|
|
1551
|
+
const path = tupledArg[0];
|
|
1552
|
+
const fragments = tupledArg[1];
|
|
1553
|
+
let file;
|
|
1554
|
+
const matchValue = (0, Collections_js_1.ResizeArray_tryFind)((d_3) => (d_3.Id === path), files);
|
|
1555
|
+
if (matchValue == null) {
|
|
1556
|
+
const comments = (0, Collections_js_1.Option_fromSeq)(File_js_1.LDFile.getComments(fragments[0], (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1557
|
+
file = File_js_1.LDFile.create(path, path, (0, Option_js_1.unwrap)(comments), (0, Option_js_1.unwrap)(File_js_1.LDFile.tryGetDisambiguatingDescriptionAsString(fragments[0], (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(File_js_1.LDFile.tryGetEncodingFormatAsString(fragments[0], (0, Option_js_1.unwrap)(context))), undefined, (0, Option_js_1.unwrap)(fragments[0].TryGetContext()));
|
|
1558
|
+
}
|
|
1559
|
+
else {
|
|
1560
|
+
file = (0, Option_js_1.value)(matchValue);
|
|
1561
|
+
}
|
|
1562
|
+
Dataset_js_1.LDDataset.setHasParts(file, fragments, (0, Option_js_1.unwrap)(context));
|
|
1563
|
+
return file;
|
|
1564
|
+
}, (0, Collections_js_1.ResizeArray_groupBy)((d_2) => (0, Data_js_1.DataAux_pathAndSelectorFromName)(d_2.Id)[0], (0, Collections_js_1.ResizeArray_filter)((d_1) => ((0, Data_js_1.DataAux_pathAndSelectorFromName)(d_1.Id)[1] != null), data))));
|
|
1565
|
+
}
|
|
1566
|
+
function AssayConversion_composeAssay_1501C0F8(assay) {
|
|
1567
|
+
let collection, fds_1, vm_1, fds, vm;
|
|
1568
|
+
const measurementMethod = (0, Option_js_1.map)(BaseTypes_composeDefinedTerm_ZDED3A0F, assay.TechnologyType);
|
|
1569
|
+
const measurementTechnique = (0, Option_js_1.map)(BaseTypes_composeDefinedTerm_ZDED3A0F, assay.TechnologyPlatform);
|
|
1570
|
+
const variableMeasured = (0, Option_js_1.map)(BaseTypes_composePropertyValueFromOA_ZDED3A0F, assay.MeasurementType);
|
|
1571
|
+
const creators = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(PersonConversion_composePerson_Z64D846DC, assay.Performers));
|
|
1572
|
+
const processSequence = (0, Collections_js_1.Option_fromSeq)((collection = ARCtrl_ArcTables__ArcTables_GetProcesses(new ArcTables_js_1.ArcTables(assay.Tables)), Array.from(collection)));
|
|
1573
|
+
const fragmentDescriptors = (0, Option_js_1.map)(DatamapConversion_composeFragmentDescriptors_Z8923FA3, assay.DataMap);
|
|
1574
|
+
const dataFiles = (0, Option_js_1.map)((ps) => AssayConversion_getDataFilesFromProcesses_6BABD1B0(ps, (0, Option_js_1.unwrap)(fragmentDescriptors)), processSequence);
|
|
1575
|
+
const variableMeasureds = (variableMeasured == null) ? ((fragmentDescriptors == null) ? undefined : ((fds_1 = (0, Option_js_1.value)(fragmentDescriptors), fds_1))) : ((fragmentDescriptors == null) ? ((vm_1 = (0, Option_js_1.value)(variableMeasured), (0, Collections_js_1.ResizeArray_singleton)(vm_1))) : ((fds = (0, Option_js_1.value)(fragmentDescriptors), (vm = (0, Option_js_1.value)(variableMeasured), (0, Collections_js_1.ResizeArray_appendSingleton)(vm, fds)))));
|
|
1576
|
+
const comments = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(BaseTypes_composeComment_Z13201A7E, assay.Comments));
|
|
1577
|
+
return Dataset_js_1.LDDataset.createAssay(assay.Identifier, undefined, (0, Option_js_1.unwrap)(assay.Title), (0, Option_js_1.unwrap)(assay.Description), (0, Option_js_1.unwrap)(creators), (0, Option_js_1.unwrap)(dataFiles), (0, Option_js_1.unwrap)(measurementMethod), (0, Option_js_1.unwrap)(measurementTechnique), (0, Option_js_1.unwrap)(variableMeasureds), (0, Option_js_1.unwrap)(processSequence), (0, Option_js_1.unwrap)(comments));
|
|
1578
|
+
}
|
|
1579
|
+
function AssayConversion_decomposeAssay_Z6839B9E8(assay, graph, context) {
|
|
1580
|
+
const measurementMethod = (0, Option_js_1.map)((m) => BaseTypes_decomposeDefinedTerm_Z2F770004(m, (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.tryGetMeasurementMethodAsDefinedTerm(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1581
|
+
const measurementTechnique = (0, Option_js_1.map)((m_1) => BaseTypes_decomposeDefinedTerm_Z2F770004(m_1, (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.tryGetMeasurementTechniqueAsDefinedTerm(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1582
|
+
const variableMeasured = (0, Option_js_1.map)((v) => BaseTypes_decomposePropertyValueToOA_Z2F770004(v, (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.tryGetVariableMeasuredAsMeasurementType(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1583
|
+
const perfomers = (0, Collections_js_1.ResizeArray_map)((c) => PersonConversion_decomposePerson_Z6839B9E8(c, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getCreators(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1584
|
+
let dataMap;
|
|
1585
|
+
const v_1 = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(Dataset_js_1.LDDataset.getVariableMeasuredAsFragmentDescriptors(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1586
|
+
dataMap = (0, Collections_js_1.Option_fromValueWithDefault)((0, DataMap_js_1.DataMap_init)(), v_1);
|
|
1587
|
+
const tables = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586((0, List_js_1.ofSeq)(Dataset_js_1.LDDataset.getAboutsAsLabProcess(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1588
|
+
const comments = (0, Collections_js_1.ResizeArray_map)((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getComments(assay, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1589
|
+
return ArcTypes_js_1.ArcAssay.create(Dataset_js_1.LDDataset.getIdentifierAsString(assay, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(Dataset_js_1.LDDataset.tryGetNameAsString(assay, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(Dataset_js_1.LDDataset.tryGetDescriptionAsString(assay, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(variableMeasured), (0, Option_js_1.unwrap)(measurementMethod), (0, Option_js_1.unwrap)(measurementTechnique), tables.Tables, (0, Option_js_1.unwrap)(dataMap), perfomers, comments);
|
|
1590
|
+
}
|
|
1591
|
+
class StudyConversion {
|
|
1592
|
+
constructor() {
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
exports.StudyConversion = StudyConversion;
|
|
1596
|
+
function StudyConversion_$reflection() {
|
|
1597
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.StudyConversion", undefined, StudyConversion);
|
|
1598
|
+
}
|
|
1599
|
+
function StudyConversion_composeStudy_1680536E(study) {
|
|
1600
|
+
let collection;
|
|
1601
|
+
const dateCreated = (0, Option_js_1.bind)(DateTime_tryFromString, study.SubmissionDate);
|
|
1602
|
+
const datePublished = (0, Option_js_1.bind)(DateTime_tryFromString, study.PublicReleaseDate);
|
|
1603
|
+
const dateModified = (0, Date_js_1.now)();
|
|
1604
|
+
const publications = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(ScholarlyArticleConversion_composeScholarlyArticle_D324A6D, study.Publications));
|
|
1605
|
+
const creators = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(PersonConversion_composePerson_Z64D846DC, study.Contacts));
|
|
1606
|
+
const processSequence = (0, Collections_js_1.Option_fromSeq)((collection = ARCtrl_ArcTables__ArcTables_GetProcesses(new ArcTables_js_1.ArcTables(study.Tables)), Array.from(collection)));
|
|
1607
|
+
const fragmentDescriptors = (0, Option_js_1.map)(DatamapConversion_composeFragmentDescriptors_Z8923FA3, study.DataMap);
|
|
1608
|
+
const dataFiles = (0, Option_js_1.map)((ps) => AssayConversion_getDataFilesFromProcesses_6BABD1B0(ps, (0, Option_js_1.unwrap)(fragmentDescriptors)), processSequence);
|
|
1609
|
+
const comments = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(BaseTypes_composeComment_Z13201A7E, study.Comments));
|
|
1610
|
+
return Dataset_js_1.LDDataset.createStudy(study.Identifier, undefined, (0, Option_js_1.unwrap)(creators), (0, Option_js_1.unwrap)(dateCreated), (0, Option_js_1.unwrap)(datePublished), dateModified, (0, Option_js_1.unwrap)(study.Description), (0, Option_js_1.unwrap)(dataFiles), (0, Option_js_1.unwrap)(study.Title), (0, Option_js_1.unwrap)(publications), (0, Option_js_1.unwrap)(fragmentDescriptors), (0, Option_js_1.unwrap)(comments), undefined, (0, Option_js_1.unwrap)(processSequence));
|
|
1611
|
+
}
|
|
1612
|
+
function StudyConversion_decomposeStudy_Z6839B9E8(study, graph, context) {
|
|
1613
|
+
const dateCreated = (0, Option_js_1.map)(DateTime_toString, Dataset_js_1.LDDataset.tryGetDateCreatedAsDateTime(study, (0, Option_js_1.unwrap)(context)));
|
|
1614
|
+
const datePublished = (0, Option_js_1.map)(DateTime_toString, Dataset_js_1.LDDataset.tryGetDatePublishedAsDateTime(study, (0, Option_js_1.unwrap)(context)));
|
|
1615
|
+
const publications = (0, Collections_js_1.ResizeArray_map)((p) => ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getCitations(study, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1616
|
+
const creators = (0, Collections_js_1.ResizeArray_map)((c) => PersonConversion_decomposePerson_Z6839B9E8(c, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getCreators(study, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1617
|
+
let dataMap;
|
|
1618
|
+
const v = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(Dataset_js_1.LDDataset.getVariableMeasuredAsFragmentDescriptors(study, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1619
|
+
dataMap = (0, Collections_js_1.Option_fromValueWithDefault)((0, DataMap_js_1.DataMap_init)(), v);
|
|
1620
|
+
const tables = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586((0, List_js_1.ofSeq)(Dataset_js_1.LDDataset.getAboutsAsLabProcess(study, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1621
|
+
const comments = (0, Collections_js_1.ResizeArray_map)((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getComments(study, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1622
|
+
return ArcTypes_js_1.ArcStudy.create(Dataset_js_1.LDDataset.getIdentifierAsString(study, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(Dataset_js_1.LDDataset.tryGetNameAsString(study, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(Dataset_js_1.LDDataset.tryGetDescriptionAsString(study, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(dateCreated), (0, Option_js_1.unwrap)(datePublished), publications, creators, undefined, tables.Tables, (0, Option_js_1.unwrap)(dataMap), undefined, comments);
|
|
1623
|
+
}
|
|
1624
|
+
class InvestigationConversion {
|
|
1625
|
+
constructor() {
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
exports.InvestigationConversion = InvestigationConversion;
|
|
1629
|
+
function InvestigationConversion_$reflection() {
|
|
1630
|
+
return (0, Reflection_js_1.class_type)("ARCtrl.Conversion.InvestigationConversion", undefined, InvestigationConversion);
|
|
1631
|
+
}
|
|
1632
|
+
function InvestigationConversion_composeInvestigation_Z720BD3FF(investigation) {
|
|
1633
|
+
let b;
|
|
1634
|
+
let name;
|
|
1635
|
+
const matchValue = investigation.Title;
|
|
1636
|
+
if (matchValue == null) {
|
|
1637
|
+
throw new Error("Investigation must have a title");
|
|
1638
|
+
}
|
|
1639
|
+
else {
|
|
1640
|
+
name = (0, Option_js_1.value)(matchValue);
|
|
1641
|
+
}
|
|
1642
|
+
const dateCreated = (0, Option_js_1.bind)(DateTime_tryFromString, investigation.SubmissionDate);
|
|
1643
|
+
const datePublished = (0, Option_js_1.defaultArg)((0, Option_js_1.bind)(DateTime_tryFromString, investigation.PublicReleaseDate), (0, Date_js_1.now)());
|
|
1644
|
+
const publications = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(ScholarlyArticleConversion_composeScholarlyArticle_D324A6D, investigation.Publications));
|
|
1645
|
+
const creators = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(PersonConversion_composePerson_Z64D846DC, investigation.Contacts));
|
|
1646
|
+
const comments = (0, Collections_js_1.Option_fromSeq)((0, Collections_js_1.ResizeArray_map)(BaseTypes_composeComment_Z13201A7E, investigation.Comments));
|
|
1647
|
+
const hasParts = (0, Collections_js_1.Option_fromSeq)((b = (0, Collections_js_1.ResizeArray_map)(AssayConversion_composeAssay_1501C0F8, investigation.Assays), (0, Collections_js_1.ResizeArray_append)((0, Collections_js_1.ResizeArray_map)(StudyConversion_composeStudy_1680536E, investigation.Studies), b)));
|
|
1648
|
+
const mentions = (0, Collections_js_1.Option_fromSeq)([]);
|
|
1649
|
+
return Dataset_js_1.LDDataset.createInvestigation(investigation.Identifier, name, undefined, (0, Option_js_1.unwrap)(creators), (0, Option_js_1.unwrap)(dateCreated), datePublished, undefined, (0, Option_js_1.unwrap)(investigation.Description), (0, Option_js_1.unwrap)(hasParts), (0, Option_js_1.unwrap)(publications), (0, Option_js_1.unwrap)(comments), (0, Option_js_1.unwrap)(mentions));
|
|
1650
|
+
}
|
|
1651
|
+
function InvestigationConversion_decomposeInvestigation_Z6839B9E8(investigation, graph, context) {
|
|
1652
|
+
let title;
|
|
1653
|
+
const matchValue = Dataset_js_1.LDDataset.tryGetNameAsString(investigation, (0, Option_js_1.unwrap)(context));
|
|
1654
|
+
title = ((matchValue == null) ? Dataset_js_1.LDDataset.tryGetHeadlineAsString(investigation, (0, Option_js_1.unwrap)(context)) : (0, Option_js_1.value)(matchValue));
|
|
1655
|
+
const dateCreated = (0, Option_js_1.map)(DateTime_toString, Dataset_js_1.LDDataset.tryGetDateCreatedAsDateTime(investigation, (0, Option_js_1.unwrap)(context)));
|
|
1656
|
+
const datePublished = (0, Option_js_1.map)(DateTime_toString, Dataset_js_1.LDDataset.tryGetDatePublishedAsDateTime(investigation, (0, Option_js_1.unwrap)(context)));
|
|
1657
|
+
const publications = (0, Collections_js_1.ResizeArray_map)((p) => ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8(p, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getCitations(investigation, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1658
|
+
const creators = (0, Collections_js_1.ResizeArray_map)((c) => PersonConversion_decomposePerson_Z6839B9E8(c, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getCreators(investigation, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1659
|
+
const datasets = Dataset_js_1.LDDataset.getHasPartsAsDataset(investigation, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1660
|
+
const studies = (0, Collections_js_1.ResizeArray_map)((d_3) => StudyConversion_decomposeStudy_Z6839B9E8(d_3, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), (0, Collections_js_1.ResizeArray_filter)((d_2) => Dataset_js_1.LDDataset.validateStudy(d_2, (0, Option_js_1.unwrap)(context)), datasets));
|
|
1661
|
+
const assays = (0, Collections_js_1.ResizeArray_map)((d_5) => AssayConversion_decomposeAssay_Z6839B9E8(d_5, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)), (0, Collections_js_1.ResizeArray_filter)((d_4) => Dataset_js_1.LDDataset.validateAssay(d_4, (0, Option_js_1.unwrap)(context)), datasets));
|
|
1662
|
+
const comments = (0, Collections_js_1.ResizeArray_map)((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, (0, Option_js_1.unwrap)(context)), Dataset_js_1.LDDataset.getComments(investigation, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context)));
|
|
1663
|
+
return ArcTypes_js_1.ArcInvestigation.create(Dataset_js_1.LDDataset.getIdentifierAsString(investigation, (0, Option_js_1.unwrap)(context)), (0, Option_js_1.unwrap)(title), (0, Option_js_1.unwrap)(Dataset_js_1.LDDataset.tryGetDescriptionAsString(investigation, (0, Option_js_1.unwrap)(context))), (0, Option_js_1.unwrap)(dateCreated), (0, Option_js_1.unwrap)(datePublished), undefined, publications, creators, assays, studies, undefined, undefined, undefined, comments);
|
|
1664
|
+
}
|
|
1665
|
+
function ARCtrl_ArcAssay__ArcAssay_ToROCrateAssay(this$) {
|
|
1666
|
+
return AssayConversion_composeAssay_1501C0F8(this$);
|
|
1667
|
+
}
|
|
1668
|
+
function ARCtrl_ArcAssay__ArcAssay_fromROCrateAssay_Static_Z6839B9E8(a, graph, context) {
|
|
1669
|
+
return AssayConversion_decomposeAssay_Z6839B9E8(a, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1670
|
+
}
|
|
1671
|
+
function ARCtrl_ArcStudy__ArcStudy_ToROCrateStudy(this$) {
|
|
1672
|
+
return StudyConversion_composeStudy_1680536E(this$);
|
|
1673
|
+
}
|
|
1674
|
+
function ARCtrl_ArcStudy__ArcStudy_fromROCrateStudy_Static_Z6839B9E8(a, graph, context) {
|
|
1675
|
+
return StudyConversion_decomposeStudy_Z6839B9E8(a, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1676
|
+
}
|
|
1677
|
+
function ARCtrl_ArcInvestigation__ArcInvestigation_ToROCrateInvestigation(this$) {
|
|
1678
|
+
return InvestigationConversion_composeInvestigation_Z720BD3FF(this$);
|
|
1679
|
+
}
|
|
1680
|
+
function ARCtrl_ArcInvestigation__ArcInvestigation_fromROCrateInvestigation_Static_Z6839B9E8(a, graph, context) {
|
|
1681
|
+
return InvestigationConversion_decomposeInvestigation_Z6839B9E8(a, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1682
|
+
}
|
|
1683
|
+
function ARCtrl_ROCrate_Dataset__Dataset_toArcAssay_Static_Z6839B9E8(a, graph, context) {
|
|
1684
|
+
return AssayConversion_decomposeAssay_Z6839B9E8(a, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1685
|
+
}
|
|
1686
|
+
function ARCtrl_ROCrate_Dataset__Dataset_fromArcAssay_Static_1501C0F8(a) {
|
|
1687
|
+
return AssayConversion_composeAssay_1501C0F8(a);
|
|
1688
|
+
}
|
|
1689
|
+
function ARCtrl_ROCrate_Dataset__Dataset_toArcStudy_Static_Z6839B9E8(a, graph, context) {
|
|
1690
|
+
return StudyConversion_decomposeStudy_Z6839B9E8(a, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1691
|
+
}
|
|
1692
|
+
function ARCtrl_ROCrate_Dataset__Dataset_fromArcStudy_Static_1680536E(a) {
|
|
1693
|
+
return StudyConversion_composeStudy_1680536E(a);
|
|
1694
|
+
}
|
|
1695
|
+
function ARCtrl_ROCrate_Dataset__Dataset_toArcInvestigation_Static_Z6839B9E8(a, graph, context) {
|
|
1696
|
+
return InvestigationConversion_decomposeInvestigation_Z6839B9E8(a, (0, Option_js_1.unwrap)(graph), (0, Option_js_1.unwrap)(context));
|
|
1697
|
+
}
|
|
1698
|
+
function ARCtrl_ROCrate_Dataset__Dataset_fromArcInvestigation_Static_Z720BD3FF(a) {
|
|
1699
|
+
return InvestigationConversion_composeInvestigation_Z720BD3FF(a);
|
|
1700
|
+
}
|