@nfdi4plants/arctrl 1.2.0 → 2.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/ARC.js +53 -35
- package/{Contracts/Contracts.ARCtrl.js → Contract/ARC.js} +4 -2
- package/Contract/ArcAssay.js +102 -0
- package/Contract/ArcInvestigation.js +78 -0
- package/Contract/ArcStudy.js +102 -0
- package/Contract/Contract.js +3 -3
- package/{Contracts/Contracts.Git.js → Contract/Git.js} +5 -5
- package/{ISA/ISA/ArcTypes → Core}/ArcTypes.js +307 -295
- package/Core/Comment.js +97 -0
- package/{ISA/ISA/JsonTypes → Core}/CommentList.js +12 -18
- package/Core/Conversion.js +1056 -0
- package/Core/Helper/Collections.js +318 -0
- package/Core/Helper/HashCodes.js +39 -0
- package/{ISA/ISA → Core/Helper}/Identifier.js +67 -2
- package/{ISA/ISA → Core/Helper}/Regex.js +3 -3
- package/{SemVer.js → Core/Helper/SemVer.js} +8 -8
- package/{ISA/ISA/ArcTypes → Core}/IdentifierSetters.js +1 -1
- package/Core/OntologyAnnotation.js +186 -0
- package/Core/OntologySourceReference.js +92 -0
- package/Core/Person.js +194 -0
- package/Core/Process/ColumnIndex.js +248 -0
- package/Core/Process/Component.js +188 -0
- package/{ISA/ISA/JsonTypes → Core/Process}/Data.js +8 -8
- package/{ISA/ISA/JsonTypes → Core/Process}/DataFile.js +3 -3
- package/Core/Process/Factor.js +109 -0
- package/{ISA/ISA/JsonTypes → Core/Process}/FactorValue.js +32 -13
- package/{ISA/ISA/JsonTypes → Core/Process}/Material.js +9 -9
- package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttribute.js +17 -17
- package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttributeValue.js +35 -16
- package/{ISA/ISA/JsonTypes → Core/Process}/MaterialType.js +3 -3
- package/{ISA/ISA/JsonTypes → Core/Process}/Process.js +46 -79
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessInput.js +42 -42
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessOutput.js +36 -36
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessParameterValue.js +26 -7
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessSequence.js +21 -25
- package/{ISA/ISA/JsonTypes → Core/Process}/Protocol.js +26 -57
- package/{ISA/ISA/JsonTypes → Core/Process}/ProtocolParameter.js +10 -10
- package/{ISA/ISA/JsonTypes → Core/Process}/Sample.js +12 -12
- package/{ISA/ISA/JsonTypes → Core/Process}/Source.js +9 -9
- package/{ISA/ISA/JsonTypes → Core/Process}/Value.js +13 -13
- package/Core/Publication.js +116 -0
- package/{ISA/ISA/ArcTypes → Core/Table}/ArcTable.js +43 -149
- package/Core/Table/ArcTableAux.js +532 -0
- package/{ISA/ISA/ArcTypes → Core/Table}/ArcTables.js +20 -32
- package/{ISA/ISA/ArcTypes → Core/Table}/CompositeCell.js +19 -76
- package/{ISA/ISA/ArcTypes → Core/Table}/CompositeColumn.js +6 -6
- package/{ISA/ISA/ArcTypes → Core/Table}/CompositeHeader.js +14 -34
- package/{Templates → Core}/Template.js +16 -17
- package/Core/Templates.js +84 -0
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +46 -8
- package/FileSystem/Path.js +10 -2
- package/Json/ARC.js +25 -0
- package/Json/Assay.js +202 -0
- package/Json/Comment.js +130 -0
- package/Json/ConverterOptions.js +18 -0
- package/Json/Decode.js +128 -0
- package/Json/Encode.js +45 -0
- package/Json/Investigation.js +220 -0
- package/Json/OntologyAnnotation.js +169 -0
- package/Json/OntologySourceReference.js +122 -0
- package/Json/Person.js +250 -0
- package/Json/Process/AssayMaterials.js +22 -0
- package/Json/Process/Component.js +79 -0
- package/Json/Process/Data.js +102 -0
- package/Json/Process/DataFile.js +81 -0
- package/Json/Process/Factor.js +48 -0
- package/Json/Process/FactorValue.js +53 -0
- package/Json/Process/Material.js +107 -0
- package/Json/Process/MaterialAttribute.js +45 -0
- package/Json/Process/MaterialAttributeValue.js +70 -0
- package/Json/Process/MaterialType.js +60 -0
- package/Json/Process/Process.js +107 -0
- package/Json/Process/ProcessInput.js +59 -0
- package/Json/Process/ProcessOutput.js +71 -0
- package/Json/Process/ProcessParameterValue.js +69 -0
- package/Json/Process/ProcessSequence.js +53 -0
- package/Json/Process/PropertyValue.js +82 -0
- package/Json/Process/Protocol.js +147 -0
- package/Json/Process/ProtocolParameter.js +45 -0
- package/Json/Process/Sample.js +134 -0
- package/Json/Process/Source.js +101 -0
- package/Json/Process/StudyMaterials.js +24 -0
- package/Json/Process/Value.js +42 -0
- package/Json/Publication.js +142 -0
- package/Json/StringTable.js +44 -0
- package/Json/Study.js +306 -0
- package/{ISA/ISA.Json/ArcTypes → Json/Table}/ArcTable.js +53 -49
- package/Json/Table/CellTable.js +40 -0
- package/Json/Table/CompositeCell.js +65 -0
- package/{ISA/ISA.Json/ArcTypes → Json/Table}/CompositeHeader.js +22 -19
- package/Json/Table/Compression.js +38 -0
- package/Json/Table/IOType.js +37 -0
- package/Json/Table/OATable.js +40 -0
- package/Json/Table/Templates.js +107 -0
- package/Json/context/rocrate/isa_assay_context.js +32 -0
- package/Json/context/rocrate/isa_comment_context.js +23 -0
- package/Json/context/rocrate/isa_component_context.js +24 -0
- package/Json/context/rocrate/isa_data_context.js +25 -0
- package/Json/context/rocrate/isa_factor_context.js +25 -0
- package/Json/context/rocrate/isa_factor_value_context.js +23 -0
- package/{ISA/ISA.Json → Json}/context/rocrate/isa_investigation_context.js +5 -5
- package/{ISA/ISA.Json → Json}/context/rocrate/isa_material_attribute_context.js +4 -4
- package/Json/context/rocrate/isa_material_attribute_value_context.js +23 -0
- package/Json/context/rocrate/isa_material_context.js +26 -0
- package/Json/context/rocrate/isa_ontology_annotation_context.js +23 -0
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
- package/Json/context/rocrate/isa_organization_context.js +22 -0
- package/Json/context/rocrate/isa_person_context.js +33 -0
- package/Json/context/rocrate/isa_process_context.js +29 -0
- package/Json/context/rocrate/isa_process_parameter_value_context.js +23 -0
- package/Json/context/rocrate/isa_protocol_context.js +28 -0
- package/{ISA/ISA.Json → Json}/context/rocrate/isa_protocol_parameter_context.js +4 -4
- package/Json/context/rocrate/isa_publication_context.js +25 -0
- package/Json/context/rocrate/isa_sample_context.js +24 -0
- package/Json/context/rocrate/isa_source_context.js +25 -0
- package/Json/context/rocrate/isa_study_context.js +40 -0
- package/Json/context/rocrate/property_value_context.js +4 -0
- package/Json/context/rocrate/rocrate_context.js +23 -0
- package/Json.js +193 -0
- package/README.md +33 -12
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/ArcTable.js +12 -12
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeCell.js +8 -7
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeColumn.js +10 -10
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeHeader.js +10 -10
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcAssay.js +11 -11
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcInvestigation.js +34 -37
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcStudy.js +12 -12
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/CollectionAux.js +7 -7
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Assays.js +32 -32
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Comment.js +5 -5
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Contacts.js +28 -30
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Conversions.js +22 -16
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/DesignDescriptors.js +1 -1
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Factors.js +23 -22
- package/Spreadsheet/Metadata/OntologyAnnotation.js +64 -0
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/OntologySourceReference.js +22 -24
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Protocols.js +17 -17
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Publication.js +29 -31
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/SparseTable.js +23 -22
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Study.js +38 -40
- package/{Templates/Template.Spreadsheet.js → Spreadsheet/Template.js} +31 -31
- package/Template.Web.js +27 -0
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +85 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js +14 -14
- package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
- package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +19 -19
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +5 -5
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +2 -2
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +1 -1
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +2 -2
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.js +2 -2
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/CHANGELOG.md +18 -0
- package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.d.ts +9 -0
- package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.js +21 -0
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.js +337 -40
- package/fable_modules/fable-library-js.4.16.0/MapUtil.d.ts +12 -0
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MapUtil.js +15 -0
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.d.ts +6 -3
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.js +2 -13
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/index.js +14 -12
- package/package.json +1 -1
- package/Contracts/Contracts.ArcTypes.js +0 -268
- package/FileSystemTree.js +0 -51
- package/ISA/ISA/ArcTypes/ArcTableAux.js +0 -1155
- package/ISA/ISA/ArcTypes/CompositeRow.js +0 -111
- package/ISA/ISA/Builder/Types.js +0 -243
- package/ISA/ISA/Fable.js +0 -123
- package/ISA/ISA/Helper.js +0 -505
- package/ISA/ISA/JsonTypes/Assay.js +0 -620
- package/ISA/ISA/JsonTypes/AssayMaterials.js +0 -39
- package/ISA/ISA/JsonTypes/ColumnIndex.js +0 -246
- package/ISA/ISA/JsonTypes/Comment.js +0 -58
- package/ISA/ISA/JsonTypes/Component.js +0 -165
- package/ISA/ISA/JsonTypes/Factor.js +0 -128
- package/ISA/ISA/JsonTypes/Investigation.js +0 -204
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +0 -196
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +0 -85
- package/ISA/ISA/JsonTypes/Person.js +0 -152
- package/ISA/ISA/JsonTypes/Publication.js +0 -105
- package/ISA/ISA/JsonTypes/Study.js +0 -942
- package/ISA/ISA/JsonTypes/StudyMaterials.js +0 -45
- package/ISA/ISA/UIHelper.js +0 -19
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +0 -303
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +0 -122
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +0 -203
- package/ISA/ISA.Json/ArcTypes/CellTable.js +0 -40
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +0 -62
- package/ISA/ISA.Json/ArcTypes/IOType.js +0 -33
- package/ISA/ISA.Json/ArcTypes/OATable.js +0 -42
- package/ISA/ISA.Json/Assay.js +0 -129
- package/ISA/ISA.Json/Comment.js +0 -80
- package/ISA/ISA.Json/ConverterOptions.js +0 -51
- package/ISA/ISA.Json/Data.js +0 -253
- package/ISA/ISA.Json/Decode.js +0 -61
- package/ISA/ISA.Json/Factor.js +0 -194
- package/ISA/ISA.Json/GEncode.js +0 -40
- package/ISA/ISA.Json/Investigation.js +0 -89
- package/ISA/ISA.Json/Material.js +0 -232
- package/ISA/ISA.Json/Ontology.js +0 -200
- package/ISA/ISA.Json/Person.js +0 -186
- package/ISA/ISA.Json/Process.js +0 -305
- package/ISA/ISA.Json/Protocol.js +0 -281
- package/ISA/ISA.Json/Publication.js +0 -86
- package/ISA/ISA.Json/StringTable.js +0 -44
- package/ISA/ISA.Json/Study.js +0 -186
- package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +0 -34
- package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +0 -23
- package/ISA/ISA.Json/context/rocrate/isa_component_context.js +0 -24
- package/ISA/ISA.Json/context/rocrate/isa_data_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_material_context.js +0 -26
- package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +0 -26
- package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +0 -22
- package/ISA/ISA.Json/context/rocrate/isa_person_context.js +0 -31
- package/ISA/ISA.Json/context/rocrate/isa_process_context.js +0 -31
- package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +0 -30
- package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +0 -27
- package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +0 -26
- package/ISA/ISA.Json/context/rocrate/isa_source_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_study_context.js +0 -42
- package/ISA/ISA.Json/context/rocrate/rocrate_context.js +0 -25
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +0 -65
- package/Path.js +0 -10
- package/Templates/Template.Json.js +0 -90
- package/Templates/Template.Web.js +0 -27
- package/Templates/Templates.js +0 -82
- package/fable_modules/fable-library-js.4.13.0/MapUtil.d.ts +0 -10
- /package/{ISA/ISA/JsonTypes → Core}/URI.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.js +0 -0
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { Record } from "
|
|
2
|
-
import { record_type, list_type, string_type } from "
|
|
3
|
-
import { Comment$_$reflection } from "../../
|
|
4
|
-
import { ofSeq, append,
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { Comment$_$reflection } from "../../Core/Comment.js";
|
|
4
|
+
import { ofSeq, append, reverse, cons, empty, map, ofArray } from "../../fable_modules/fable-library-js.4.16.0/List.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { SparseRowModule_fromValues,
|
|
7
|
-
import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../
|
|
8
|
-
import { addToDict } from "
|
|
9
|
-
import { defaultArg } from "
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { ArcStudy } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
6
|
+
import { SparseRowModule_fromValues, SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
|
|
7
|
+
import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../Core/Helper/Identifier.js";
|
|
8
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.16.0/MapUtil.js";
|
|
9
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
10
|
+
import { Option_fromValueWithDefault, ResizeArray_iter } from "../../Core/Helper/Collections.js";
|
|
11
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.16.0/Seq2.js";
|
|
12
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
13
|
+
import { ArcStudy } from "../../Core/ArcTypes.js";
|
|
15
14
|
import { toRows as toRows_1, fromRows as fromRows_1 } from "./DesignDescriptors.js";
|
|
16
15
|
import { toRows as toRows_2, fromRows as fromRows_2 } from "./Publication.js";
|
|
17
16
|
import { toRows as toRows_3, fromRows as fromRows_3 } from "./Factors.js";
|
|
18
17
|
import { toRows as toRows_4, fromRows as fromRows_4 } from "./Assays.js";
|
|
19
18
|
import { toRows as toRows_5, fromRows as fromRows_5 } from "./Protocols.js";
|
|
20
19
|
import { toRows as toRows_6, fromRows as fromRows_6 } from "./Contacts.js";
|
|
21
|
-
import { singleton, append as append_1, delay, collect } from "
|
|
20
|
+
import { singleton, append as append_1, delay, collect } from "../../fable_modules/fable-library-js.4.16.0/Seq.js";
|
|
21
|
+
import { ARCtrl_ArcTable__ArcTable_GetProcesses, ARCtrl_ArcTable__ArcTable_GetProtocols } from "../../Core/Conversion.js";
|
|
22
|
+
import { getFactors } from "../../Core/Process/ProcessSequence.js";
|
|
22
23
|
|
|
23
24
|
export class StudyInfo extends Record {
|
|
24
25
|
constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, FileName, Comments) {
|
|
@@ -34,7 +35,7 @@ export class StudyInfo extends Record {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export function StudyInfo_$reflection() {
|
|
37
|
-
return record_type("ARCtrl.
|
|
38
|
+
return record_type("ARCtrl.Spreadsheet.Studies.StudyInfo", [], StudyInfo, () => [["Identifier", string_type], ["Title", string_type], ["Description", string_type], ["SubmissionDate", string_type], ["PublicReleaseDate", string_type], ["FileName", string_type], ["Comments", list_type(Comment$_$reflection())]]);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
export function StudyInfo_create(identifier, title, description, submissionDate, publicReleaseDate, fileName, comments) {
|
|
@@ -45,12 +46,12 @@ export function StudyInfo_get_Labels() {
|
|
|
45
46
|
return ofArray(["Study Identifier", "Study Title", "Study Description", "Study Submission Date", "Study Public Release Date", "Study File Name"]);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
|
-
export function
|
|
49
|
+
export function StudyInfo_FromSparseTable_3ECCA699(matrix) {
|
|
49
50
|
const comments = map((k) => Comment_fromString(k, SparseTable__TryGetValueDefault_5BAE6133(matrix, "", [k, 0])), matrix.CommentKeys);
|
|
50
51
|
return StudyInfo_create(SparseTable__TryGetValueDefault_5BAE6133(matrix, createMissingIdentifier(), ["Study Identifier", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Title", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Description", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Submission Date", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study Public Release Date", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Study File Name", 0]), comments);
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
export function
|
|
54
|
+
export function StudyInfo_ToSparseTable_1680536E(study) {
|
|
54
55
|
const matrix = SparseTable_Create_Z2192E64B(void 0, StudyInfo_get_Labels(), void 0, 2);
|
|
55
56
|
let commentKeys = empty();
|
|
56
57
|
const patternInput = (study.Identifier.indexOf("MISSING_IDENTIFIER_") === 0) ? ["", ""] : [study.Identifier, Study_fileNameFromIdentifier(study.Identifier)];
|
|
@@ -60,15 +61,12 @@ export function StudyInfo_ToSparseTable_1B3D5E9B(study) {
|
|
|
60
61
|
addToDict(matrix.Matrix, ["Study Submission Date", 1], defaultArg(study.SubmissionDate, ""));
|
|
61
62
|
addToDict(matrix.Matrix, ["Study Public Release Date", 1], defaultArg(study.PublicReleaseDate, ""));
|
|
62
63
|
addToDict(matrix.Matrix, ["Study File Name", 1], patternInput[1]);
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
addToDict(matrix.Matrix, [n, 1], patternInput_1[1]);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
64
|
+
ResizeArray_iter((comment) => {
|
|
65
|
+
const patternInput_1 = Comment_toString(comment);
|
|
66
|
+
const n = patternInput_1[0];
|
|
67
|
+
commentKeys = cons(n, commentKeys);
|
|
68
|
+
addToDict(matrix.Matrix, [n, 1], patternInput_1[1]);
|
|
69
|
+
}, study.Comments);
|
|
72
70
|
return new SparseTable(matrix.Matrix, matrix.Keys, reverse(List_distinct(commentKeys, {
|
|
73
71
|
Equals: (x, y) => (x === y),
|
|
74
72
|
GetHashCode: stringHash,
|
|
@@ -77,13 +75,16 @@ export function StudyInfo_ToSparseTable_1B3D5E9B(study) {
|
|
|
77
75
|
|
|
78
76
|
export function StudyInfo_fromRows(lineNumber, rows) {
|
|
79
77
|
const tupledArg = SparseTable_FromRows_Z5579EC29(rows, StudyInfo_get_Labels(), lineNumber);
|
|
80
|
-
return [tupledArg[0], tupledArg[1], tupledArg[2],
|
|
78
|
+
return [tupledArg[0], tupledArg[1], tupledArg[2], StudyInfo_FromSparseTable_3ECCA699(tupledArg[3])];
|
|
81
79
|
}
|
|
82
80
|
|
|
83
|
-
export function
|
|
84
|
-
return
|
|
81
|
+
export function StudyInfo_toRows_1680536E(study) {
|
|
82
|
+
return SparseTable_ToRows_759CAFC1(StudyInfo_ToSparseTable_1680536E(study));
|
|
85
83
|
}
|
|
86
84
|
|
|
85
|
+
/**
|
|
86
|
+
* FACTORS AND PROTOCOLS ARE NOT USED ANYMORE, Lukas, 21.03.24
|
|
87
|
+
*/
|
|
87
88
|
export function fromParts(studyInfo, designDescriptors, publications, factors, assays, protocols, contacts) {
|
|
88
89
|
const assayIdentifiers = map((assay) => assay.Identifier, assays);
|
|
89
90
|
let arcstudy;
|
|
@@ -91,16 +92,12 @@ export function fromParts(studyInfo, designDescriptors, publications, factors, a
|
|
|
91
92
|
const description = Option_fromValueWithDefault("", studyInfo.Description);
|
|
92
93
|
const submissionDate = Option_fromValueWithDefault("", studyInfo.SubmissionDate);
|
|
93
94
|
const publicReleaseDate = Option_fromValueWithDefault("", studyInfo.PublicReleaseDate);
|
|
94
|
-
const publications_1 =
|
|
95
|
-
const contacts_1 =
|
|
96
|
-
const studyDesignDescriptors =
|
|
97
|
-
let tables;
|
|
98
|
-
const collection = map((p) => ArcTable.fromProtocol(p), protocols);
|
|
99
|
-
tables = Array.from(collection);
|
|
95
|
+
const publications_1 = Array.from(publications);
|
|
96
|
+
const contacts_1 = Array.from(contacts);
|
|
97
|
+
const studyDesignDescriptors = Array.from(designDescriptors);
|
|
100
98
|
const registeredAssayIdentifiers = Array.from(assayIdentifiers);
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors_1, comments);
|
|
99
|
+
const comments = Array.from(studyInfo.Comments);
|
|
100
|
+
arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, [], registeredAssayIdentifiers, comments);
|
|
104
101
|
if (arcstudy.isEmpty && (arcstudy.Identifier === "")) {
|
|
105
102
|
return void 0;
|
|
106
103
|
}
|
|
@@ -253,8 +250,9 @@ export function fromRows(lineNumber, en) {
|
|
|
253
250
|
}
|
|
254
251
|
|
|
255
252
|
export function toRows(study, assays) {
|
|
256
|
-
const protocols = ofSeq(collect(
|
|
253
|
+
const protocols = ofSeq(collect(ARCtrl_ArcTable__ArcTable_GetProtocols, study.Tables));
|
|
254
|
+
const factors = ofSeq(collect((f) => getFactors(ARCtrl_ArcTable__ArcTable_GetProcesses(f)), study.Tables));
|
|
257
255
|
const assays_1 = defaultArg(assays, ofSeq(study.GetRegisteredAssaysOrIdentifier()));
|
|
258
|
-
return delay(() => append_1(
|
|
256
|
+
return delay(() => append_1(StudyInfo_toRows_1680536E(study), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY DESIGN DESCRIPTORS"])), delay(() => append_1(toRows_1("Study Design", ofSeq(study.StudyDesignDescriptors)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY PUBLICATIONS"])), delay(() => append_1(toRows_2("Study Publication", ofSeq(study.Publications)), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY FACTORS"])), delay(() => append_1(toRows_3("Study Factor", factors), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY ASSAYS"])), delay(() => append_1(toRows_4("Study Assay", assays_1), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY PROTOCOLS"])), delay(() => append_1(toRows_5("Study Protocol", protocols), delay(() => append_1(singleton(SparseRowModule_fromValues(["STUDY CONTACTS"])), delay(() => toRows_6("Study Person", ofSeq(study.Contacts)))))))))))))))))))))))))));
|
|
259
257
|
}
|
|
260
258
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { toString, Record, FSharpException } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import {
|
|
4
|
-
import { toRows, fromRows, toSparseTable, fromSparseTable } from "
|
|
5
|
-
import { Comment$_$reflection } from "../
|
|
6
|
-
import { Comment_fromString } from "
|
|
7
|
-
import { SparseRowModule_fromFsRow, SparseRowModule_writeToSheet, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt,
|
|
8
|
-
import { createMissingIdentifier } from "../
|
|
9
|
-
import { addToDict } from "../fable_modules/fable-library-js.4.
|
|
10
|
-
import { List_distinct } from "../fable_modules/fable-library-js.4.
|
|
11
|
-
import { getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.
|
|
12
|
-
import { tryPick, iterateIndexed, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.
|
|
13
|
-
import {
|
|
14
|
-
import { toArray } from "../fable_modules/fable-library-js.4.
|
|
15
|
-
import { toRows as toRows_1, fromRows as fromRows_1 } from "
|
|
16
|
-
import { parse } from "../fable_modules/fable-library-js.4.
|
|
17
|
-
import { Template, Organisation } from "
|
|
1
|
+
import { toString, Record, FSharpException } from "../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { ofSeq, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library-js.4.16.0/List.js";
|
|
4
|
+
import { toRows, fromRows, toSparseTable, fromSparseTable } from "./Metadata/OntologyAnnotation.js";
|
|
5
|
+
import { Comment$_$reflection } from "../Core/Comment.js";
|
|
6
|
+
import { Comment_fromString } from "./Metadata/Comment.js";
|
|
7
|
+
import { SparseRowModule_fromFsRow, SparseRowModule_writeToSheet, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt, SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./Metadata/SparseTable.js";
|
|
8
|
+
import { createMissingIdentifier } from "../Core/Helper/Identifier.js";
|
|
9
|
+
import { addToDict } from "../fable_modules/fable-library-js.4.16.0/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../fable_modules/fable-library-js.4.16.0/Seq2.js";
|
|
11
|
+
import { getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
12
|
+
import { tryPick, iterateIndexed, toList, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.16.0/Seq.js";
|
|
13
|
+
import { Person_orcidKey } from "../Core/Conversion.js";
|
|
14
|
+
import { toArray } from "../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
15
|
+
import { toRows as toRows_1, fromRows as fromRows_1 } from "./Metadata/Contacts.js";
|
|
16
|
+
import { parse } from "../fable_modules/fable-library-js.4.16.0/Guid.js";
|
|
17
|
+
import { Template, Organisation } from "../Core/Template.js";
|
|
18
18
|
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js";
|
|
19
|
-
import { toFsWorksheet, tryFromFsWorksheet } from "
|
|
20
|
-
import { now } from "../fable_modules/fable-library-js.4.
|
|
19
|
+
import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
20
|
+
import { now } from "../fable_modules/fable-library-js.4.16.0/Date.js";
|
|
21
21
|
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js";
|
|
22
22
|
|
|
23
23
|
export class TemplateReadError extends FSharpException {
|
|
@@ -28,7 +28,7 @@ export class TemplateReadError extends FSharpException {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export function TemplateReadError_$reflection() {
|
|
31
|
-
return class_type("ARCtrl.
|
|
31
|
+
return class_type("ARCtrl.Spreadsheet.TemplateReadError", void 0, TemplateReadError, class_type("System.Exception"));
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export const Metadata_ER_labels = ofArray(["ER", "ER Term Accession Number", "ER Term Source REF"]);
|
|
@@ -83,7 +83,7 @@ export class Metadata_Template_TemplateInfo extends Record {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export function Metadata_Template_TemplateInfo_$reflection() {
|
|
86
|
-
return record_type("ARCtrl.
|
|
86
|
+
return record_type("ARCtrl.Spreadsheet.Metadata.Template.TemplateInfo", [], Metadata_Template_TemplateInfo, () => [["Id", string_type], ["Name", string_type], ["Version", string_type], ["Description", string_type], ["Organisation", string_type], ["Table", string_type], ["Comments", list_type(Comment$_$reflection())]]);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export function Metadata_Template_TemplateInfo_create(id, name, version, description, organisation, table, comments) {
|
|
@@ -98,12 +98,12 @@ export function Metadata_Template_TemplateInfo_get_Labels() {
|
|
|
98
98
|
return ofArray(["Id", "Name", "Version", "Description", "Organisation", "Table"]);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export function
|
|
101
|
+
export function Metadata_Template_TemplateInfo_FromSparseTable_3ECCA699(matrix) {
|
|
102
102
|
const comments = map((k) => Comment_fromString(k, SparseTable__TryGetValueDefault_5BAE6133(matrix, "", [k, 0])), matrix.CommentKeys);
|
|
103
103
|
return Metadata_Template_TemplateInfo_create(SparseTable__TryGetValueDefault_5BAE6133(matrix, createMissingIdentifier(), ["Id", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Name", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Version", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Description", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Organisation", 0]), SparseTable__TryGetValueDefault_5BAE6133(matrix, "", ["Table", 0]), comments);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
export function
|
|
106
|
+
export function Metadata_Template_TemplateInfo_ToSparseTable_48C39BE1(template) {
|
|
107
107
|
let copyOfStruct, copyOfStruct_1;
|
|
108
108
|
const matrix = SparseTable_Create_Z2192E64B(void 0, Metadata_Template_TemplateInfo_get_Labels(), void 0, 2);
|
|
109
109
|
let commentKeys = empty();
|
|
@@ -121,11 +121,11 @@ export function Metadata_Template_TemplateInfo_ToSparseTable_2285DF3F(template)
|
|
|
121
121
|
|
|
122
122
|
export function Metadata_Template_TemplateInfo_fromRows_9F97F2A(rows) {
|
|
123
123
|
const tupledArg = SparseTable_FromRows_Z5579EC29(rows, Metadata_Template_TemplateInfo_get_Labels(), 0);
|
|
124
|
-
return [tupledArg[0],
|
|
124
|
+
return [tupledArg[0], Metadata_Template_TemplateInfo_FromSparseTable_3ECCA699(tupledArg[3])];
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export function
|
|
128
|
-
return
|
|
127
|
+
export function Metadata_Template_TemplateInfo_toRows_48C39BE1(template) {
|
|
128
|
+
return SparseTable_ToRows_759CAFC1(Metadata_Template_TemplateInfo_ToSparseTable_48C39BE1(template));
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
export function Metadata_Template_mapDeprecatedKeys(rows) {
|
|
@@ -141,7 +141,7 @@ export function Metadata_Template_mapDeprecatedKeys(rows) {
|
|
|
141
141
|
case "#TAGS list":
|
|
142
142
|
return [k, "TAGS"];
|
|
143
143
|
case "Authors ORCID":
|
|
144
|
-
return [k, `Comment[${
|
|
144
|
+
return [k, `Comment[${Person_orcidKey}]`];
|
|
145
145
|
case "Authors Last Name":
|
|
146
146
|
return [k, "Author Last Name"];
|
|
147
147
|
case "Authors First Name":
|
|
@@ -257,15 +257,15 @@ export function Metadata_Template_fromRows(rows) {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
export function Metadata_Template_toRows(template) {
|
|
260
|
-
return delay(() => append(singleton(SparseRowModule_fromValues(["TEMPLATE"])), delay(() => append(
|
|
260
|
+
return delay(() => append(singleton(SparseRowModule_fromValues(["TEMPLATE"])), delay(() => append(Metadata_Template_TemplateInfo_toRows_48C39BE1(template), delay(() => append(singleton(SparseRowModule_fromValues(["ERS"])), delay(() => append(Metadata_ER_toRows(void 0, toList(template.EndpointRepositories)), delay(() => append(singleton(SparseRowModule_fromValues(["TAGS"])), delay(() => append(Metadata_Tags_toRows(void 0, toList(template.Tags)), delay(() => append(singleton(SparseRowModule_fromValues(["AUTHORS"])), delay(() => toRows_1("Author", ofSeq(template.Authors)))))))))))))))));
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
export function Template_fromParts(templateInfo, ers, tags, authors, table, lastUpdated) {
|
|
264
264
|
const id = parse(templateInfo.Id);
|
|
265
265
|
const organisation = Organisation.ofString(templateInfo.Organisation);
|
|
266
|
-
const authors_1 =
|
|
267
|
-
const repos =
|
|
268
|
-
const tags_1 =
|
|
266
|
+
const authors_1 = Array.from(authors);
|
|
267
|
+
const repos = Array.from(ers);
|
|
268
|
+
const tags_1 = Array.from(tags);
|
|
269
269
|
return Template.make(id, table, templateInfo.Name, templateInfo.Description, organisation, templateInfo.Version, authors_1, repos, tags_1, lastUpdated);
|
|
270
270
|
}
|
|
271
271
|
|
package/Template.Web.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defaultArg } from "./fable_modules/fable-library-js.4.16.0/Option.js";
|
|
2
|
+
import { singleton } from "./fable_modules/fable-library-js.4.16.0/AsyncBuilder.js";
|
|
3
|
+
import { downloadFile } from "./WebRequest/WebRequest.js";
|
|
4
|
+
import { Templates_fromJsonString } from "./Json/Table/Templates.js";
|
|
5
|
+
import { startAsPromise } from "./fable_modules/fable-library-js.4.16.0/Async.js";
|
|
6
|
+
import { class_type } from "./fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
7
|
+
|
|
8
|
+
export function getTemplates(url) {
|
|
9
|
+
const url_1 = defaultArg(url, "https://github.com/nfdi4plants/Swate-templates/releases/download/latest/templates.json");
|
|
10
|
+
return singleton.Delay(() => singleton.Bind(downloadFile(url_1), (_arg) => {
|
|
11
|
+
const mapResult = Templates_fromJsonString(_arg);
|
|
12
|
+
return singleton.Return(mapResult);
|
|
13
|
+
}));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export class WebController {
|
|
17
|
+
constructor() {
|
|
18
|
+
}
|
|
19
|
+
static getTemplates(url) {
|
|
20
|
+
return startAsPromise(singleton.Delay(() => singleton.Bind(getTemplates(url), (_arg) => singleton.Return(_arg))));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export function WebController_$reflection() {
|
|
25
|
+
return class_type("ARCtrl.Template.Web.WebController", void 0, WebController);
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { awaitPromise } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { awaitPromise } from "../fable_modules/fable-library-js.4.16.0/Async.js";
|
|
2
2
|
import { fetch$ } from "../fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js";
|
|
3
|
-
import { empty } from "../fable_modules/fable-library-js.4.
|
|
3
|
+
import { empty } from "../fable_modules/fable-library-js.4.16.0/List.js";
|
|
4
4
|
|
|
5
5
|
export function isNode() {
|
|
6
6
|
return typeof process !== "undefined" &&
|
package/WebRequest/WebRequest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { downloadFile as downloadFile_1, isNode } from "./WebRequest.Node.js";
|
|
2
|
-
import { singleton } from "../fable_modules/fable-library-js.4.
|
|
2
|
+
import { singleton } from "../fable_modules/fable-library-js.4.16.0/AsyncBuilder.js";
|
|
3
3
|
import { Http_get } from "../fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js";
|
|
4
|
-
import { printf, toFail } from "../fable_modules/fable-library-js.4.
|
|
4
|
+
import { printf, toFail } from "../fable_modules/fable-library-js.4.16.0/String.js";
|
|
5
5
|
import "isomorphic-fetch";
|
|
6
6
|
|
|
7
7
|
export function downloadFile(url) {
|
package/Xlsx.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { toFsWorkbook, fromFsWorkbook } from "./Spreadsheet/ArcAssay.js";
|
|
2
|
+
import { class_type } from "./fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_353D0DB7, ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D } from "./Spreadsheet/ArcStudy.js";
|
|
4
|
+
import { map, unwrap } from "./fable_modules/fable-library-js.4.16.0/Option.js";
|
|
5
|
+
import { ofSeq } from "./fable_modules/fable-library-js.4.16.0/List.js";
|
|
6
|
+
import { toLightFsWorkbook, toFsWorkbook as toFsWorkbook_1, fromFsWorkbook as fromFsWorkbook_1 } from "./Spreadsheet/ArcInvestigation.js";
|
|
7
|
+
|
|
8
|
+
export class XlsxHelper_AssayXlsx {
|
|
9
|
+
constructor() {
|
|
10
|
+
}
|
|
11
|
+
fromFsWorkbook(fswb) {
|
|
12
|
+
return fromFsWorkbook(fswb);
|
|
13
|
+
}
|
|
14
|
+
toFsWorkbook(assay) {
|
|
15
|
+
return toFsWorkbook(assay);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function XlsxHelper_AssayXlsx_$reflection() {
|
|
20
|
+
return class_type("ARCtrl.XlsxHelper.AssayXlsx", void 0, XlsxHelper_AssayXlsx);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function XlsxHelper_AssayXlsx_$ctor() {
|
|
24
|
+
return new XlsxHelper_AssayXlsx();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export class XlsxHelper_StudyXlsx {
|
|
28
|
+
constructor() {
|
|
29
|
+
}
|
|
30
|
+
fromFsWorkbook(fswb) {
|
|
31
|
+
return ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D(fswb);
|
|
32
|
+
}
|
|
33
|
+
toFsWorkbook(study, assays) {
|
|
34
|
+
return ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_353D0DB7(study, unwrap(map(ofSeq, assays)));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function XlsxHelper_StudyXlsx_$reflection() {
|
|
39
|
+
return class_type("ARCtrl.XlsxHelper.StudyXlsx", void 0, XlsxHelper_StudyXlsx);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function XlsxHelper_StudyXlsx_$ctor() {
|
|
43
|
+
return new XlsxHelper_StudyXlsx();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class XlsxHelper_InvestigationXlsx {
|
|
47
|
+
constructor() {
|
|
48
|
+
}
|
|
49
|
+
fromFsWorkbook(fswb) {
|
|
50
|
+
return fromFsWorkbook_1(fswb);
|
|
51
|
+
}
|
|
52
|
+
toFsWorkbook(investigation) {
|
|
53
|
+
return toFsWorkbook_1(investigation);
|
|
54
|
+
}
|
|
55
|
+
toLightFsWorkbook(investigation) {
|
|
56
|
+
return toLightFsWorkbook(investigation);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function XlsxHelper_InvestigationXlsx_$reflection() {
|
|
61
|
+
return class_type("ARCtrl.XlsxHelper.InvestigationXlsx", void 0, XlsxHelper_InvestigationXlsx);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function XlsxHelper_InvestigationXlsx_$ctor() {
|
|
65
|
+
return new XlsxHelper_InvestigationXlsx();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export class XlsxController {
|
|
69
|
+
constructor() {
|
|
70
|
+
}
|
|
71
|
+
static get Assay() {
|
|
72
|
+
return new XlsxHelper_AssayXlsx();
|
|
73
|
+
}
|
|
74
|
+
static get Study() {
|
|
75
|
+
return new XlsxHelper_StudyXlsx();
|
|
76
|
+
}
|
|
77
|
+
static get Investigation() {
|
|
78
|
+
return new XlsxHelper_InvestigationXlsx();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function XlsxController_$reflection() {
|
|
83
|
+
return class_type("ARCtrl.XlsxController", void 0, XlsxController);
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Union } from "../fable-library-js.4.
|
|
2
|
-
import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library-js.4.
|
|
3
|
-
import { defaultArg } from "../fable-library-js.4.
|
|
4
|
-
import { empty } from "../fable-library-js.4.
|
|
5
|
-
import { keyValueList } from "../fable-library-js.4.
|
|
6
|
-
import { int32ToString } from "../fable-library-js.4.
|
|
1
|
+
import { Union } from "../fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { array_type, tuple_type, bool_type, class_type, union_type, obj_type, int32_type, string_type } from "../fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { defaultArg } from "../fable-library-js.4.16.0/Option.js";
|
|
4
|
+
import { empty } from "../fable-library-js.4.16.0/Seq.js";
|
|
5
|
+
import { keyValueList } from "../fable-library-js.4.16.0/MapUtil.js";
|
|
6
|
+
import { int32ToString } from "../fable-library-js.4.16.0/Util.js";
|
|
7
7
|
import { result } from "../Fable.Promise.2.2.2/Promise.fs.js";
|
|
8
|
-
import { singleton } from "../fable-library-js.4.
|
|
8
|
+
import { singleton } from "../fable-library-js.4.16.0/List.js";
|
|
9
9
|
|
|
10
10
|
export class Types_HttpRequestHeaders extends Union {
|
|
11
11
|
constructor(tag, fields) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library-js.4.
|
|
2
|
-
import { class_type } from "../fable-library-js.4.
|
|
3
|
-
import { defaultOf, equals, disposeSafe, getEnumerator } from "../fable-library-js.4.
|
|
1
|
+
import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library-js.4.16.0/Result.js";
|
|
2
|
+
import { class_type } from "../fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { defaultOf, equals, disposeSafe, getEnumerator } from "../fable-library-js.4.16.0/Util.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates promise (in rejected state) with supplied reason.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { fromContinuations } from "../fable-library-js.4.
|
|
1
|
+
import { fromContinuations } from "../fable-library-js.4.16.0/Async.js";
|
|
2
2
|
import { HttpResponse, ResponseContent, HttpRequest, BodyContent, HttpMethod, Header } from "./Types.fs.js";
|
|
3
|
-
import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.
|
|
4
|
-
import { ofArray, empty as empty_1 } from "../fable-library-js.4.
|
|
5
|
-
import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.
|
|
6
|
-
import { join, split, isNullOrEmpty } from "../fable-library-js.4.
|
|
7
|
-
import { choose } from "../fable-library-js.4.
|
|
8
|
-
import { some } from "../fable-library-js.4.
|
|
9
|
-
import { singleton as singleton_1 } from "../fable-library-js.4.
|
|
3
|
+
import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.16.0/List.js";
|
|
4
|
+
import { ofArray, empty as empty_1 } from "../fable-library-js.4.16.0/Map.js";
|
|
5
|
+
import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.16.0/Util.js";
|
|
6
|
+
import { join, split, isNullOrEmpty } from "../fable-library-js.4.16.0/String.js";
|
|
7
|
+
import { choose } from "../fable-library-js.4.16.0/Array.js";
|
|
8
|
+
import { some } from "../fable-library-js.4.16.0/Option.js";
|
|
9
|
+
import { singleton as singleton_1 } from "../fable-library-js.4.16.0/AsyncBuilder.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Download a Blob
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Record, Union } from "../fable-library-js.4.
|
|
2
|
-
import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.
|
|
1
|
+
import { Record, Union } from "../fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.16.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class HttpMethod extends Union {
|
|
5
5
|
constructor(tag, fields) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { toString, Union } from "../../fable-library-js.4.
|
|
2
|
-
import { class_type, union_type } from "../../fable-library-js.4.
|
|
3
|
-
import { map, defaultArg, unwrap } from "../../fable-library-js.4.
|
|
1
|
+
import { toString, Union } from "../../fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { class_type, union_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { map, defaultArg, unwrap } from "../../fable-library-js.4.16.0/Option.js";
|
|
4
4
|
import { FsAddress__get_FixedRow, FsAddress__get_FixedColumn, FsAddress__get_Address, FsAddress__Copy, CellReference_indexToColAdress, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
5
|
-
import { parse as parse_3 } from "../../fable-library-js.4.
|
|
6
|
-
import Decimal from "../../fable-library-js.4.
|
|
7
|
-
import { parse } from "../../fable-library-js.4.
|
|
8
|
-
import { parse as parse_1 } from "../../fable-library-js.4.
|
|
9
|
-
import { toUInt64, toInt64 } from "../../fable-library-js.4.
|
|
10
|
-
import { parse as parse_2 } from "../../fable-library-js.4.
|
|
11
|
-
import { parse as parse_4 } from "../../fable-library-js.4.
|
|
12
|
-
import { parse as parse_5 } from "../../fable-library-js.4.
|
|
13
|
-
import { parse as parse_6 } from "../../fable-library-js.4.
|
|
14
|
-
import { forAll } from "../../fable-library-js.4.
|
|
15
|
-
import { equals } from "../../fable-library-js.4.
|
|
5
|
+
import { parse as parse_3 } from "../../fable-library-js.4.16.0/Decimal.js";
|
|
6
|
+
import Decimal from "../../fable-library-js.4.16.0/Decimal.js";
|
|
7
|
+
import { parse } from "../../fable-library-js.4.16.0/Double.js";
|
|
8
|
+
import { parse as parse_1 } from "../../fable-library-js.4.16.0/Int32.js";
|
|
9
|
+
import { toUInt64, toInt64 } from "../../fable-library-js.4.16.0/BigInt.js";
|
|
10
|
+
import { parse as parse_2 } from "../../fable-library-js.4.16.0/Long.js";
|
|
11
|
+
import { parse as parse_4 } from "../../fable-library-js.4.16.0/Date.js";
|
|
12
|
+
import { parse as parse_5 } from "../../fable-library-js.4.16.0/Guid.js";
|
|
13
|
+
import { parse as parse_6 } from "../../fable-library-js.4.16.0/Char.js";
|
|
14
|
+
import { forAll } from "../../fable-library-js.4.16.0/Seq.js";
|
|
15
|
+
import { equals } from "../../fable-library-js.4.16.0/Util.js";
|
|
16
16
|
|
|
17
17
|
export class DataType extends Union {
|
|
18
18
|
constructor(tag, fields) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { addToSet, addToDict, getItemFromDict } from "../../fable-library-js.4.
|
|
2
|
-
import { some } from "../../fable-library-js.4.
|
|
3
|
-
import { class_type } from "../../fable-library-js.4.
|
|
4
|
-
import { minBy, min, singleton, empty, delay, collect, max, isEmpty, iterate, map } from "../../fable-library-js.4.
|
|
1
|
+
import { addToSet, addToDict, getItemFromDict } from "../../fable-library-js.4.16.0/MapUtil.js";
|
|
2
|
+
import { some } from "../../fable-library-js.4.16.0/Option.js";
|
|
3
|
+
import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
4
|
+
import { minBy, min, singleton, empty, delay, collect, max, isEmpty, iterate, map } from "../../fable-library-js.4.16.0/Seq.js";
|
|
5
5
|
import { FsAddress_$ctor_Z37302880, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
|
|
6
|
-
import { comparePrimitives } from "../../fable-library-js.4.
|
|
7
|
-
import { rangeDouble } from "../../fable-library-js.4.
|
|
6
|
+
import { comparePrimitives } from "../../fable-library-js.4.16.0/Util.js";
|
|
7
|
+
import { rangeDouble } from "../../fable-library-js.4.16.0/Range.js";
|
|
8
8
|
|
|
9
9
|
export function Dictionary_tryGet(k, dict) {
|
|
10
10
|
if (dict.has(k)) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { toString, Union } from "../../fable-library-js.4.
|
|
2
|
-
import { class_type, union_type, char_type } from "../../fable-library-js.4.
|
|
1
|
+
import { toString, Union } from "../../fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { class_type, union_type, char_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
3
3
|
import { DataType } from "../Cells/FsCell.fs.js";
|
|
4
|
-
import { head, tail, isEmpty, append, empty, map, reduce } from "../../fable-library-js.4.
|
|
4
|
+
import { head, tail, isEmpty, append, empty, map, reduce } from "../../fable-library-js.4.16.0/List.js";
|
|
5
5
|
import { SheetEntity$1__get_Messages, Message__MapText_11D407F6, SheetEntity$1 } from "./Types.fs.js";
|
|
6
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
6
|
+
import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
|
|
7
7
|
import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
|
|
8
8
|
|
|
9
9
|
export class ReduceOperation extends Union {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
|
|
5
5
|
import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
|
|
6
6
|
|
|
7
7
|
export class ColumnBuilder {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1 } from "./Types.fs.js";
|
|
3
|
-
import { singleton } from "../../fable-library-js.4.
|
|
3
|
+
import { singleton } from "../../fable-library-js.4.16.0/List.js";
|
|
4
4
|
|
|
5
5
|
export class DSL {
|
|
6
6
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
|
|
5
5
|
import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
|
|
6
6
|
|
|
7
7
|
export class RowBuilder {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
|
|
5
5
|
|
|
6
6
|
export class SheetBuilder {
|
|
7
7
|
constructor(name) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.16.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.16.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.16.0/String.js";
|
|
5
5
|
|
|
6
6
|
export class TableBuilder {
|
|
7
7
|
constructor(name) {
|