@nfdi4plants/arctrl 2.2.3 → 2.3.0
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 +63 -23
- package/CWL/CWLTypes.js +3 -3
- package/CWL/Decode.js +7 -7
- package/CWL/Inputs.js +4 -4
- package/CWL/Outputs.js +4 -4
- package/CWL/Requirements.js +3 -3
- package/CWL/ToolDescription.js +2 -2
- package/CWL/WorkflowDescription.js +2 -2
- package/CWL/WorkflowSteps.js +3 -3
- package/Contract/ArcAssay.js +4 -4
- package/Contract/ArcInvestigation.js +2 -2
- package/Contract/ArcStudy.js +4 -4
- package/Contract/Contract.js +3 -3
- package/Contract/Datamap.js +2 -2
- package/Contract/Git.js +4 -4
- package/Contract/ValidationPackagesConfig.js +2 -2
- package/ContractIO/ContractIO.js +204 -0
- package/ContractIO/FileSystemHelper.js +130 -0
- package/Core/ArcTypes.js +9 -9
- package/Core/Comment.js +8 -8
- package/Core/CommentList.js +4 -4
- package/Core/Conversion.js +11 -11
- package/Core/Data.js +5 -5
- package/Core/DataContext.js +2 -2
- package/Core/DataFile.js +2 -2
- package/Core/DataMap.js +3 -3
- package/Core/Helper/Collections.js +8 -8
- package/Core/Helper/HashCodes.js +5 -5
- package/Core/Helper/Identifier.js +1 -1
- package/Core/Helper/Regex.js +3 -3
- package/Core/Helper/SemVer.js +6 -6
- package/Core/OntologyAnnotation.js +7 -7
- package/Core/OntologySourceReference.js +3 -3
- package/Core/Person.js +9 -9
- package/Core/Process/ColumnIndex.js +5 -5
- package/Core/Process/Component.js +4 -4
- package/Core/Process/Factor.js +5 -5
- package/Core/Process/FactorValue.js +5 -5
- package/Core/Process/Material.js +5 -5
- package/Core/Process/MaterialAttribute.js +3 -3
- package/Core/Process/MaterialAttributeValue.js +5 -5
- package/Core/Process/MaterialType.js +2 -2
- package/Core/Process/Process.js +8 -8
- package/Core/Process/ProcessInput.js +5 -5
- package/Core/Process/ProcessOutput.js +5 -5
- package/Core/Process/ProcessParameterValue.js +5 -5
- package/Core/Process/ProcessSequence.js +6 -6
- package/Core/Process/Protocol.js +5 -5
- package/Core/Process/ProtocolParameter.js +3 -3
- package/Core/Process/Sample.js +5 -5
- package/Core/Process/Source.js +5 -5
- package/Core/Publication.js +8 -8
- package/Core/Table/ArcTable.js +13 -13
- package/Core/Table/ArcTableAux.js +15 -15
- package/Core/Table/ArcTables.js +9 -9
- package/Core/Table/CompositeCell.js +3 -3
- package/Core/Table/CompositeColumn.js +4 -4
- package/Core/Table/CompositeHeader.js +4 -4
- package/Core/Template.js +6 -6
- package/Core/Templates.js +6 -6
- package/Core/Value.js +7 -7
- package/CrossAsync.js +34 -0
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +8 -8
- package/FileSystem/Path.js +2 -2
- package/FileSystem.js +102 -0
- package/Json/ARC.js +3 -3
- package/Json/Assay.js +4 -4
- package/Json/Comment.js +5 -5
- package/Json/ConverterOptions.js +2 -2
- package/Json/Data.js +4 -4
- package/Json/DataFile.js +1 -1
- package/Json/DataMap/DataContext.js +3 -3
- package/Json/DataMap/DataMap.js +1 -1
- package/Json/Decode.js +9 -9
- package/Json/Encode.js +5 -5
- package/Json/IDTable.js +3 -3
- package/Json/Investigation.js +5 -5
- package/Json/LDObject.js +6 -6
- package/Json/OntologyAnnotation.js +5 -5
- package/Json/OntologySourceReference.js +4 -4
- package/Json/Person.js +5 -5
- package/Json/Process/AssayMaterials.js +3 -3
- package/Json/Process/Component.js +3 -3
- package/Json/Process/Factor.js +3 -3
- package/Json/Process/FactorValue.js +3 -3
- package/Json/Process/Material.js +4 -4
- package/Json/Process/MaterialAttribute.js +3 -3
- package/Json/Process/MaterialAttributeValue.js +3 -3
- package/Json/Process/MaterialType.js +1 -1
- package/Json/Process/Process.js +4 -4
- package/Json/Process/ProcessInput.js +1 -1
- package/Json/Process/ProcessOutput.js +1 -1
- package/Json/Process/ProcessParameterValue.js +3 -3
- package/Json/Process/Protocol.js +4 -4
- package/Json/Process/ProtocolParameter.js +3 -3
- package/Json/Process/Sample.js +5 -5
- package/Json/Process/Source.js +4 -4
- package/Json/Process/StudyMaterials.js +3 -3
- package/Json/Process/Value.js +1 -1
- package/Json/PropertyValue.js +3 -3
- package/Json/Publication.js +4 -4
- package/Json/StringTable.js +4 -4
- package/Json/Study.js +5 -5
- package/Json/Table/ArcTable.js +10 -10
- package/Json/Table/CellTable.js +4 -4
- package/Json/Table/CompositeCell.js +3 -3
- package/Json/Table/CompositeHeader.js +2 -2
- package/Json/Table/IOType.js +1 -1
- package/Json/Table/OATable.js +4 -4
- package/Json/Table/Templates.js +5 -5
- package/Json/context/rocrate/isa_assay_context.js +3 -3
- package/Json/context/rocrate/isa_comment_context.js +3 -3
- package/Json/context/rocrate/isa_component_context.js +3 -3
- package/Json/context/rocrate/isa_data_context.js +3 -3
- package/Json/context/rocrate/isa_factor_context.js +3 -3
- package/Json/context/rocrate/isa_factor_value_context.js +3 -3
- package/Json/context/rocrate/isa_investigation_context.js +3 -3
- package/Json/context/rocrate/isa_material_attribute_context.js +3 -3
- package/Json/context/rocrate/isa_material_attribute_value_context.js +3 -3
- package/Json/context/rocrate/isa_material_context.js +3 -3
- package/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
- package/Json/context/rocrate/isa_organization_context.js +3 -3
- package/Json/context/rocrate/isa_person_context.js +3 -3
- package/Json/context/rocrate/isa_process_context.js +3 -3
- package/Json/context/rocrate/isa_process_parameter_value_context.js +3 -3
- package/Json/context/rocrate/isa_protocol_context.js +3 -3
- package/Json/context/rocrate/isa_protocol_parameter_context.js +3 -3
- package/Json/context/rocrate/isa_publication_context.js +3 -3
- package/Json/context/rocrate/isa_sample_context.js +3 -3
- package/Json/context/rocrate/isa_source_context.js +3 -3
- package/Json/context/rocrate/isa_study_context.js +3 -3
- package/Json/context/rocrate/property_value_context.js +1 -1
- package/Json/context/rocrate/rocrate_context.js +3 -3
- package/Json.js +2 -2
- package/JsonIO/ARC.js +3 -3
- package/JsonIO/Assay.js +2 -2
- package/JsonIO/Comment.js +2 -2
- package/JsonIO/Data.js +2 -2
- package/JsonIO/DataFile.js +2 -2
- package/JsonIO/DataMap/DataMap.js +1 -1
- package/JsonIO/Investigation.js +2 -2
- package/JsonIO/LDObject.js +2 -2
- package/JsonIO/OntologyAnnotation.js +2 -2
- package/JsonIO/OntologySourceReference.js +2 -2
- package/JsonIO/Person.js +2 -2
- package/JsonIO/Process/Component.js +2 -2
- package/JsonIO/Process/Factor.js +2 -2
- package/JsonIO/Process/FactorValue.js +2 -2
- package/JsonIO/Process/Material.js +2 -2
- package/JsonIO/Process/MaterialAttribute.js +2 -2
- package/JsonIO/Process/MaterialAttributeValue.js +2 -2
- package/JsonIO/Process/MaterialType.js +2 -2
- package/JsonIO/Process/Process.js +2 -2
- package/JsonIO/Process/ProcessInput.js +2 -2
- package/JsonIO/Process/ProcessOutput.js +2 -2
- package/JsonIO/Process/ProcessParameterValue.js +2 -2
- package/JsonIO/Process/ProcessSequence.js +4 -4
- package/JsonIO/Process/Protocol.js +2 -2
- package/JsonIO/Process/ProtocolParameter.js +2 -2
- package/JsonIO/Process/Sample.js +2 -2
- package/JsonIO/Process/Source.js +2 -2
- package/JsonIO/Process/StudyMaterials.js +3 -3
- package/JsonIO/Process/Value.js +1 -1
- package/JsonIO/Publication.js +2 -2
- package/JsonIO/Study.js +2 -2
- package/JsonIO/Table/ArcTable.js +5 -5
- package/JsonIO/Table/CompositeCell.js +2 -2
- package/JsonIO/Table/CompositeHeader.js +2 -2
- package/JsonIO/Table/Compression.js +3 -3
- package/JsonIO/Table/IOType.js +2 -2
- package/JsonIO/Table/Templates.js +3 -3
- package/ROCrate/ArcROCrateMetadata.js +3 -3
- package/ROCrate/ISAProfile/Assay.js +4 -4
- package/ROCrate/ISAProfile/Data.js +4 -4
- package/ROCrate/ISAProfile/Dataset.js +2 -2
- package/ROCrate/ISAProfile/Investigation.js +4 -4
- package/ROCrate/ISAProfile/LabProcess.js +4 -4
- package/ROCrate/ISAProfile/LabProtocol.js +4 -4
- package/ROCrate/ISAProfile/Person.js +4 -4
- package/ROCrate/ISAProfile/PropertyValue.js +4 -4
- package/ROCrate/ISAProfile/Sample.js +4 -4
- package/ROCrate/ISAProfile/ScholarlyArticle.js +4 -4
- package/ROCrate/ISAProfile/Study.js +4 -4
- package/ROCrate/LDObject.js +2 -2
- package/Spreadsheet/AnnotationTable/ArcTable.js +13 -13
- package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +6 -6
- package/Spreadsheet/ArcAssay.js +7 -7
- package/Spreadsheet/ArcInvestigation.js +12 -12
- package/Spreadsheet/ArcStudy.js +7 -7
- package/Spreadsheet/CollectionAux.js +7 -7
- package/Spreadsheet/DataMap.js +3 -3
- package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
- package/Spreadsheet/DataMapTable/DataMapHeader.js +5 -5
- package/Spreadsheet/DataMapTable/DataMapTable.js +10 -10
- package/Spreadsheet/Metadata/Assays.js +5 -5
- package/Spreadsheet/Metadata/Comment.js +2 -2
- package/Spreadsheet/Metadata/Contacts.js +5 -5
- package/Spreadsheet/Metadata/Conversions.js +5 -5
- package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/Spreadsheet/Metadata/Factors.js +5 -5
- package/Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/Spreadsheet/Metadata/OntologySourceReference.js +5 -5
- package/Spreadsheet/Metadata/Protocols.js +5 -5
- package/Spreadsheet/Metadata/Publication.js +5 -5
- package/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/Spreadsheet/Metadata/Study.js +8 -8
- package/Spreadsheet/Template.js +13 -13
- package/Template.Web.js +4 -4
- package/ValidationPackages/ValidationPackage.js +5 -5
- package/ValidationPackages/ValidationPackagesConfig.js +8 -8
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +16 -3
- package/Yaml/Encode.js +1 -1
- package/Yaml/ValidationPackage.js +4 -4
- package/Yaml/ValidationPackagesConfig.js +4 -4
- package/fable_modules/DynamicObj.4.0.3/DynObj.fs.js +6 -6
- package/fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js +4 -4
- package/fable_modules/DynamicObj.4.0.3/FableJS.fs.js +4 -4
- package/fable_modules/DynamicObj.4.0.3/HashCodes.fs.js +5 -5
- package/fable_modules/DynamicObj.4.0.3/PropertyHelper.fs.js +2 -2
- package/fable_modules/DynamicObj.4.0.3/ReflectionUtils.fs.js +1 -1
- package/fable_modules/Fable.Exceljs.1.6.0/Cell.fs +32 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Column.fs +24 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Csv.fs +12 -0
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs +61 -0
- package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +4 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs +36 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs.js +20 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Fable.Exceljs.fableproj +53 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Row.fs +34 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs +85 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Table.fs.js +22 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs +87 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +73 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs +37 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs +120 -0
- package/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs +18 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
- package/fable_modules/{Fable.Promise.2.2.2 → Fable.Promise.3.2.0}/Fable.Promise.fableproj +4 -3
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
- 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.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsSpreadsheet.fableproj +5 -5
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
- package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs +88 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +79 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs +69 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +64 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/FsSpreadsheet.Js.fableproj +57 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs +59 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs +50 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +54 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs +27 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +34 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs +41 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +63 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs +74 -0
- package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +70 -0
- package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +19 -19
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +6 -6
- package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +2 -2
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +1 -1
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +2 -2
- package/fable_modules/YAMLicious.0.0.3/Decode.fs.js +15 -15
- package/fable_modules/YAMLicious.0.0.3/Encode.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.3/Library.fs.js +1 -1
- package/fable_modules/YAMLicious.0.0.3/Persil.fs.js +3 -3
- package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.3/Reader.fs.js +7 -7
- package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +3 -3
- package/fable_modules/YAMLicious.0.0.3/Writer.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +6 -6
- package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/CHANGELOG.md +6 -0
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.d.ts +7 -0
- package/fable_modules/fable-library-js.4.24.0/CollectionUtil.js +182 -0
- package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.d.ts +10 -2
- package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs +0 -176
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +0 -143
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +0 -4
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +0 -4
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → Fable.Exceljs.1.6.0}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → Fable.Exceljs.1.6.0}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.js +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.js +0 -0
package/Spreadsheet/Template.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
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 { ofSeq, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { toString, Record, FSharpException } from "../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type, class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
3
|
+
import { ofSeq, append as append_1, reverse, map, empty, ofArray } from "../fable_modules/fable-library-js.4.24.0/List.js";
|
|
4
4
|
import { toRows, fromRows, toSparseTable, fromSparseTable } from "./Metadata/OntologyAnnotation.js";
|
|
5
5
|
import { Comment$_$reflection } from "../Core/Comment.js";
|
|
6
6
|
import { Comment_fromString } from "./Metadata/Comment.js";
|
|
7
7
|
import { SparseRowModule_fromAllValues, SparseRowModule_getAllValues, 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
8
|
import { createMissingIdentifier } from "../Core/Helper/Identifier.js";
|
|
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, tryFind, toList, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.
|
|
9
|
+
import { addToDict } from "../fable_modules/fable-library-js.4.24.0/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../fable_modules/fable-library-js.4.24.0/Seq2.js";
|
|
11
|
+
import { getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
12
|
+
import { tryPick, iterateIndexed, tryFind, toList, delay, singleton, append, head, exists, map as map_1 } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
|
|
13
13
|
import { Person_orcidKey } from "../Core/Conversion.js";
|
|
14
|
-
import { toArray } from "../fable_modules/fable-library-js.4.
|
|
14
|
+
import { toArray } from "../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
15
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
|
+
import { parse } from "../fable_modules/fable-library-js.4.24.0/Guid.js";
|
|
17
17
|
import { Template, Organisation } from "../Core/Template.js";
|
|
18
|
-
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.3.
|
|
19
|
-
import { printf, toConsole } from "../fable_modules/fable-library-js.4.
|
|
18
|
+
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.3.1/FsWorksheet.fs.js";
|
|
19
|
+
import { printf, toConsole } from "../fable_modules/fable-library-js.4.24.0/String.js";
|
|
20
20
|
import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
21
|
-
import { now } from "../fable_modules/fable-library-js.4.
|
|
22
|
-
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.3.
|
|
21
|
+
import { now } from "../fable_modules/fable-library-js.4.24.0/Date.js";
|
|
22
|
+
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.3.1/FsWorkbook.fs.js";
|
|
23
23
|
|
|
24
24
|
export class TemplateReadError extends FSharpException {
|
|
25
25
|
constructor(Data0) {
|
package/Template.Web.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defaultArg } from "./fable_modules/fable-library-js.4.
|
|
2
|
-
import { singleton } from "./fable_modules/fable-library-js.4.
|
|
1
|
+
import { defaultArg } from "./fable_modules/fable-library-js.4.24.0/Option.js";
|
|
2
|
+
import { singleton } from "./fable_modules/fable-library-js.4.24.0/AsyncBuilder.js";
|
|
3
3
|
import { downloadFile } from "./WebRequest/WebRequest.js";
|
|
4
4
|
import { Templates_fromJsonString } from "./JsonIO/Table/Templates.js";
|
|
5
|
-
import { startAsPromise } from "./fable_modules/fable-library-js.4.
|
|
6
|
-
import { class_type } from "./fable_modules/fable-library-js.4.
|
|
5
|
+
import { startAsPromise } from "./fable_modules/fable-library-js.4.24.0/Async.js";
|
|
6
|
+
import { class_type } from "./fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export function getTemplates(url) {
|
|
9
9
|
const url_1 = defaultArg(url, "https://github.com/nfdi4plants/Swate-templates/releases/download/latest/templates_v2.0.0.json");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { value as value_1, unwrap } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { join } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { empty, singleton, append, delay, toList } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { stringHash, equals } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { value as value_1, unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
2
|
+
import { join } from "../fable_modules/fable-library-js.4.24.0/String.js";
|
|
3
|
+
import { empty, singleton, append, delay, toList } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
|
|
4
|
+
import { stringHash, equals } from "../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
5
5
|
import { boxHashOption, boxHashArray } from "../Core/Helper/HashCodes.js";
|
|
6
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
6
|
+
import { class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export class ValidationPackage {
|
|
9
9
|
constructor(name, version) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { value, unwrap } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { join } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { item, fold, length, map, empty, singleton, append, delay, toList } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { toString } from "../fable_modules/fable-library-js.4.
|
|
5
|
-
import { sortBy } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { equals, compareArrays } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { rangeDouble } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { value, unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
2
|
+
import { join } from "../fable_modules/fable-library-js.4.24.0/String.js";
|
|
3
|
+
import { item, fold, length, map, empty, singleton, append, delay, toList } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
|
|
4
|
+
import { toString } from "../fable_modules/fable-library-js.4.24.0/Types.js";
|
|
5
|
+
import { sortBy } from "../fable_modules/fable-library-js.4.24.0/Array.js";
|
|
6
|
+
import { equals, compareArrays } from "../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
7
|
+
import { rangeDouble } from "../fable_modules/fable-library-js.4.24.0/Range.js";
|
|
8
8
|
import { boxHashSeq, boxHashOption, boxHashArray } from "../Core/Helper/HashCodes.js";
|
|
9
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
9
|
+
import { class_type } from "../fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
10
10
|
|
|
11
11
|
export class ValidationPackagesConfig {
|
|
12
12
|
constructor(validation_packages, arc_specification) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { awaitPromise } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { awaitPromise } from "../fable_modules/fable-library-js.4.24.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.24.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.24.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.24.0/String.js";
|
|
5
5
|
import "isomorphic-fetch";
|
|
6
6
|
|
|
7
7
|
export function downloadFile(url) {
|
package/Xlsx.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { toFsWorkbook, fromFsWorkbook } from "./Spreadsheet/DataMap.js";
|
|
2
|
-
import {
|
|
2
|
+
import { FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static } from "./fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js";
|
|
3
|
+
import { class_type } from "./fable_modules/fable-library-js.4.24.0/Reflection.js";
|
|
3
4
|
import { ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F, ARCtrl_ArcAssay__ArcAssay_fromFsWorkbook_Static_32154C9D } from "./Spreadsheet/ArcAssay.js";
|
|
4
5
|
import { ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522, ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D } from "./Spreadsheet/ArcStudy.js";
|
|
5
|
-
import { map, unwrap } from "./fable_modules/fable-library-js.4.
|
|
6
|
-
import { ofSeq } from "./fable_modules/fable-library-js.4.
|
|
6
|
+
import { map, unwrap } from "./fable_modules/fable-library-js.4.24.0/Option.js";
|
|
7
|
+
import { ofSeq } from "./fable_modules/fable-library-js.4.24.0/List.js";
|
|
7
8
|
import { ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF, ARCtrl_ArcInvestigation__ArcInvestigation_fromFsWorkbook_Static_32154C9D } from "./Spreadsheet/ArcInvestigation.js";
|
|
8
9
|
|
|
9
10
|
export class XlsxHelper_DatamapXlsx {
|
|
@@ -15,6 +16,9 @@ export class XlsxHelper_DatamapXlsx {
|
|
|
15
16
|
toFsWorkbook(datamap) {
|
|
16
17
|
return toFsWorkbook(datamap);
|
|
17
18
|
}
|
|
19
|
+
toXlsxFile(path, datamap) {
|
|
20
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, toFsWorkbook(datamap));
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
|
|
20
24
|
export function XlsxHelper_DatamapXlsx_$reflection() {
|
|
@@ -34,6 +38,9 @@ export class XlsxHelper_AssayXlsx {
|
|
|
34
38
|
toFsWorkbook(assay) {
|
|
35
39
|
return ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(assay);
|
|
36
40
|
}
|
|
41
|
+
toXlsxFile(path, assay) {
|
|
42
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(assay));
|
|
43
|
+
}
|
|
37
44
|
}
|
|
38
45
|
|
|
39
46
|
export function XlsxHelper_AssayXlsx_$reflection() {
|
|
@@ -53,6 +60,9 @@ export class XlsxHelper_StudyXlsx {
|
|
|
53
60
|
toFsWorkbook(study, assays) {
|
|
54
61
|
return ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(study, unwrap(map(ofSeq, assays)));
|
|
55
62
|
}
|
|
63
|
+
toXlsxFile(path, study, assays) {
|
|
64
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(study, unwrap(map(ofSeq, assays))));
|
|
65
|
+
}
|
|
56
66
|
}
|
|
57
67
|
|
|
58
68
|
export function XlsxHelper_StudyXlsx_$reflection() {
|
|
@@ -72,6 +82,9 @@ export class XlsxHelper_InvestigationXlsx {
|
|
|
72
82
|
toFsWorkbook(investigation) {
|
|
73
83
|
return ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF(investigation);
|
|
74
84
|
}
|
|
85
|
+
toXlsxFile(path, investigation) {
|
|
86
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF(investigation));
|
|
87
|
+
}
|
|
75
88
|
}
|
|
76
89
|
|
|
77
90
|
export function XlsxHelper_InvestigationXlsx_$reflection() {
|
package/Yaml/Encode.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ofArray, choose } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { equals } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { ofArray, choose } from "../fable_modules/fable-library-js.4.24.0/List.js";
|
|
2
|
+
import { equals } from "../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
3
3
|
import { Config, YAMLElement } from "../fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js";
|
|
4
4
|
import { tryInclude, string } from "../fable_modules/YAMLicious.0.0.3/Encode.fs.js";
|
|
5
|
-
import { singleton, collect, delay, toList } from "../fable_modules/fable-library-js.4.
|
|
5
|
+
import { singleton, collect, delay, toList } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
|
|
6
6
|
import { YAMLContent_create_27AED5E3 } from "../fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js";
|
|
7
7
|
import { string as string_1, object } from "../fable_modules/YAMLicious.0.0.3/Decode.fs.js";
|
|
8
8
|
import { ValidationPackage } from "../ValidationPackages/ValidationPackage.js";
|
|
9
|
-
import { unwrap } from "../fable_modules/fable-library-js.4.
|
|
9
|
+
import { unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
10
10
|
import { read } from "../fable_modules/YAMLicious.0.0.3/Reader.fs.js";
|
|
11
11
|
import { defaultWhitespace } from "./Encode.js";
|
|
12
12
|
import { write } from "../fable_modules/YAMLicious.0.0.3/Writer.fs.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ofArray, choose } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { equals } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { ofArray, choose } from "../fable_modules/fable-library-js.4.24.0/List.js";
|
|
2
|
+
import { equals } from "../fable_modules/fable-library-js.4.24.0/Util.js";
|
|
3
3
|
import { Config, YAMLElement } from "../fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js";
|
|
4
4
|
import { resizearray, string, tryInclude } from "../fable_modules/YAMLicious.0.0.3/Encode.fs.js";
|
|
5
5
|
import { ValidationPackage_decoder, ValidationPackage_encoder } from "./ValidationPackage.js";
|
|
6
|
-
import { singleton, collect, delay, toList } from "../fable_modules/fable-library-js.4.
|
|
6
|
+
import { singleton, collect, delay, toList } from "../fable_modules/fable-library-js.4.24.0/Seq.js";
|
|
7
7
|
import { YAMLContent_create_27AED5E3 } from "../fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js";
|
|
8
8
|
import { string as string_1, resizearray as resizearray_1, object } from "../fable_modules/YAMLicious.0.0.3/Decode.fs.js";
|
|
9
9
|
import { ValidationPackagesConfig } from "../ValidationPackages/ValidationPackagesConfig.js";
|
|
10
|
-
import { unwrap } from "../fable_modules/fable-library-js.4.
|
|
10
|
+
import { unwrap } from "../fable_modules/fable-library-js.4.24.0/Option.js";
|
|
11
11
|
import { read } from "../fable_modules/YAMLicious.0.0.3/Reader.fs.js";
|
|
12
12
|
import { defaultWhitespace } from "./Encode.js";
|
|
13
13
|
import { write } from "../fable_modules/YAMLicious.0.0.3/Writer.fs.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DynamicObj } from "./DynamicObj.fs.js";
|
|
2
|
-
import { disposeSafe, getEnumerator } from "../fable-library-js.4.
|
|
3
|
-
import { value as value_1 } from "../fable-library-js.4.
|
|
4
|
-
import { printf, toConsole, join } from "../fable-library-js.4.
|
|
5
|
-
import { map, delay, toList } from "../fable-library-js.4.
|
|
6
|
-
import { rangeDouble } from "../fable-library-js.4.
|
|
7
|
-
import { reverse, cons, empty, ofSeq as ofSeq_1, head, tail, isEmpty } from "../fable-library-js.4.
|
|
2
|
+
import { disposeSafe, getEnumerator } from "../fable-library-js.4.24.0/Util.js";
|
|
3
|
+
import { value as value_1 } from "../fable-library-js.4.24.0/Option.js";
|
|
4
|
+
import { printf, toConsole, join } from "../fable-library-js.4.24.0/String.js";
|
|
5
|
+
import { map, delay, toList } from "../fable-library-js.4.24.0/Seq.js";
|
|
6
|
+
import { rangeDouble } from "../fable-library-js.4.24.0/Range.js";
|
|
7
|
+
import { reverse, cons, empty, ofSeq as ofSeq_1, head, tail, isEmpty } from "../fable-library-js.4.24.0/List.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a new DynamicObj from a Dictionary containing dynamic properties.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { tryGetStaticPropertyInfo } from "./ReflectionUtils.fs.js";
|
|
2
2
|
import { getPropertyHelpers, tryGetDynamicPropertyHelper } from "./FableJS.fs.js";
|
|
3
|
-
import { defaultArg, value as value_1, map } from "../fable-library-js.4.
|
|
4
|
-
import { sortBy, iterate, map as map_1, choose, filter } from "../fable-library-js.4.
|
|
3
|
+
import { defaultArg, value as value_1, map } from "../fable-library-js.4.24.0/Option.js";
|
|
4
|
+
import { sortBy, iterate, map as map_1, choose, filter } from "../fable-library-js.4.24.0/Seq.js";
|
|
5
5
|
import { boxHashKeyValSeq } from "./HashCodes.fs.js";
|
|
6
|
-
import { safeHash, comparePrimitives } from "../fable-library-js.4.
|
|
7
|
-
import { class_type } from "../fable-library-js.4.
|
|
6
|
+
import { safeHash, comparePrimitives } from "../fable-library-js.4.24.0/Util.js";
|
|
7
|
+
import { class_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
8
8
|
|
|
9
9
|
export class DynamicObj {
|
|
10
10
|
constructor() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { bind, value as value_1, map } from "../fable-library-js.4.
|
|
2
|
-
import { defaultOf } from "../fable-library-js.4.
|
|
1
|
+
import { bind, value as value_1, map } from "../fable-library-js.4.24.0/Option.js";
|
|
2
|
+
import { defaultOf } from "../fable-library-js.4.24.0/Util.js";
|
|
3
3
|
import { PropertyHelper } from "./PropertyHelper.fs.js";
|
|
4
|
-
import { map as map_1, append, choose } from "../fable-library-js.4.
|
|
5
|
-
import { create, isMatch } from "../fable-library-js.4.
|
|
4
|
+
import { map as map_1, append, choose } from "../fable-library-js.4.24.0/Array.js";
|
|
5
|
+
import { create, isMatch } from "../fable-library-js.4.24.0/RegExp.js";
|
|
6
6
|
|
|
7
7
|
export function PropertyDescriptor_tryGetIsWritable(o) {
|
|
8
8
|
return map((v) => v, o["writable"]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { second, minute, hour, day, month, year } from "../fable-library-js.4.
|
|
2
|
-
import { numberHash, identityHash, defaultOf, equals } from "../fable-library-js.4.
|
|
3
|
-
import { value as value_1 } from "../fable-library-js.4.
|
|
4
|
-
import { fold } from "../fable-library-js.4.
|
|
5
|
-
import { fold as fold_1 } from "../fable-library-js.4.
|
|
1
|
+
import { second, minute, hour, day, month, year } from "../fable-library-js.4.24.0/Date.js";
|
|
2
|
+
import { numberHash, identityHash, defaultOf, equals } from "../fable-library-js.4.24.0/Util.js";
|
|
3
|
+
import { value as value_1 } from "../fable-library-js.4.24.0/Option.js";
|
|
4
|
+
import { fold } from "../fable-library-js.4.24.0/Array.js";
|
|
5
|
+
import { fold as fold_1 } from "../fable-library-js.4.24.0/Seq.js";
|
|
6
6
|
|
|
7
7
|
export function mergeHashes(hash1, hash2) {
|
|
8
8
|
return ((-1640531527 + hash2) + (hash1 << 6)) + (hash1 >> 2);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Record } from "../fable-library-js.4.
|
|
2
|
-
import { record_type, unit_type, lambda_type, obj_type, bool_type, string_type } from "../fable-library-js.4.
|
|
1
|
+
import { Record } from "../fable-library-js.4.24.0/Types.js";
|
|
2
|
+
import { record_type, unit_type, lambda_type, obj_type, bool_type, string_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class PropertyHelper extends Record {
|
|
5
5
|
constructor(Name, IsStatic, IsDynamic, IsMutable, IsImmutable, GetValue, SetValue, RemoveValue) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tryGetStaticPropertyHelper, getStaticPropertyHelpers } from "./FableJS.fs.js";
|
|
2
|
-
import { map, some } from "../fable-library-js.4.
|
|
2
|
+
import { map, some } from "../fable-library-js.4.24.0/Option.js";
|
|
3
3
|
|
|
4
4
|
export function getStaticProperties(o) {
|
|
5
5
|
return getStaticPropertyHelpers(o);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[<AutoOpen>]
|
|
2
|
+
module Fable.ExcelJs.Cell
|
|
3
|
+
|
|
4
|
+
open Fable.Core
|
|
5
|
+
open Fable.Core.JsInterop
|
|
6
|
+
open Fable.ExcelJs
|
|
7
|
+
|
|
8
|
+
[<AllowNullLiteral>]
|
|
9
|
+
type Cell =
|
|
10
|
+
abstract member value: CellValue with get, set
|
|
11
|
+
/// use string value of cell
|
|
12
|
+
abstract member text: string with get
|
|
13
|
+
/// use html-safe string for rendering...
|
|
14
|
+
/// const html = '<div>' + cell.html + '</div>';
|
|
15
|
+
abstract member html: string with get
|
|
16
|
+
[<Emit("$0.type")>]
|
|
17
|
+
abstract member ``type``: int with get
|
|
18
|
+
abstract member numFmt: string with get, set
|
|
19
|
+
abstract member address: string with get
|
|
20
|
+
/// assign (or get) a name for a cell (will overwrite any other names that cell had)
|
|
21
|
+
abstract member name: string with get, set
|
|
22
|
+
/// assign (or get) an array of names for a cell (cells can have more than one name)
|
|
23
|
+
abstract member names: string [] with get, set
|
|
24
|
+
/// remove a name from a cell
|
|
25
|
+
abstract member removeName: string -> unit
|
|
26
|
+
abstract member isMerged: bool with get
|
|
27
|
+
abstract member formula: string with get
|
|
28
|
+
abstract member result: obj with get
|
|
29
|
+
abstract member col: int with get
|
|
30
|
+
abstract member row: int with get
|
|
31
|
+
//abstract member workbook: Workbook.Workbook with get
|
|
32
|
+
//abstract member Worksheet: Worksheet with get
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[<AutoOpen>]
|
|
2
|
+
module Fable.ExcelJs.Column
|
|
3
|
+
|
|
4
|
+
open Fable.Core
|
|
5
|
+
open Fable.Core.JsInterop
|
|
6
|
+
open Fable.ExcelJs
|
|
7
|
+
open Cell
|
|
8
|
+
|
|
9
|
+
[<AllowNullLiteral>]
|
|
10
|
+
type Column =
|
|
11
|
+
abstract member header: string with get, set
|
|
12
|
+
abstract member key: string with get, set
|
|
13
|
+
abstract member width: int with get, set
|
|
14
|
+
abstract member hidden: bool with get, set
|
|
15
|
+
abstract member outlineLevel: int with get, set
|
|
16
|
+
abstract member collapsed: bool with get
|
|
17
|
+
abstract member number: int with get
|
|
18
|
+
abstract member values: CellValue [] with get, set
|
|
19
|
+
abstract member letter: string with get
|
|
20
|
+
/// iterate over all current cells in this column
|
|
21
|
+
[<Emit("$0.eachCell(function(cell, columnIndex){$1([cell, columnIndex])})")>] //oh boy
|
|
22
|
+
abstract member eachCell: func:(Cell*int -> unit) -> unit
|
|
23
|
+
[<Emit("$0.eachCell({ includeEmpty: $1 }, function(cell, columnIndex){$2([cell, columnIndex])})")>]
|
|
24
|
+
abstract member eachCell: includeEmpty:bool*func:(Cell*int -> unit) -> unit
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[<AutoOpen>]
|
|
2
|
+
module Fable.ExcelJs.Csv
|
|
3
|
+
|
|
4
|
+
type Csv =
|
|
5
|
+
/// read from a file
|
|
6
|
+
abstract member readFile: filename:string -> Async<unit>
|
|
7
|
+
/// read from a stream
|
|
8
|
+
abstract member read: filename:System.IO.Stream -> Async<unit>
|
|
9
|
+
/// write to a file
|
|
10
|
+
abstract member writeFile: filename:string -> Async<unit>
|
|
11
|
+
/// write to a stream
|
|
12
|
+
abstract member write: filename:System.IO.Stream * {|sheetName: string|} -> Async<unit>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module Fable.ExcelJs.ExcelJs
|
|
2
|
+
|
|
3
|
+
open Fable.Core
|
|
4
|
+
open Fable.Core.JsInterop
|
|
5
|
+
|
|
6
|
+
type ExcelJS =
|
|
7
|
+
[<Emit("new $0.Workbook()")>]
|
|
8
|
+
abstract member Workbook: unit -> Workbook
|
|
9
|
+
|
|
10
|
+
///// exceljs is unable to parse xml nodes with global namespaces. OpenXml writes global namespaces to nearly all xml nodes with "x:".
|
|
11
|
+
///// The responsible function `BaseXform.prototype.parse` is overwritten here to remove this "x:" namespace.
|
|
12
|
+
///// Allowing us to read in OpenXml generated xlsx files
|
|
13
|
+
//module internal PatchExcelJs =
|
|
14
|
+
// // relevant links:
|
|
15
|
+
// // - https://github.com/dotnet/Open-XML-SDK
|
|
16
|
+
// // - https://github.com/exceljs/exceljs/issues/1437
|
|
17
|
+
|
|
18
|
+
// let internal BaseXform : obj = importDefault "exceljs/lib/xlsx/xform/base-xform.js"
|
|
19
|
+
// let internal RelationshipXform : obj = importDefault "exceljs/lib/xlsx/xform/core/relationship-xform.js"
|
|
20
|
+
|
|
21
|
+
// let internal patch (obj:obj) =
|
|
22
|
+
// emitJsStatement
|
|
23
|
+
// (obj)
|
|
24
|
+
// """
|
|
25
|
+
// $0.prototype.parse = async function(saxParser){
|
|
26
|
+
// for await (const events of saxParser) {
|
|
27
|
+
// for (const {eventType, value} of events) {
|
|
28
|
+
// if(value.name && value.name.startsWith('x:')) value.name = value.name.slice(2);
|
|
29
|
+
// if (eventType === 'opentag') {
|
|
30
|
+
// this.parseOpen(value);
|
|
31
|
+
// } else if (eventType === 'text') {
|
|
32
|
+
// this.parseText(value);
|
|
33
|
+
// } else if (eventType === 'closetag') {
|
|
34
|
+
// if (!this.parseClose(value.name)) {
|
|
35
|
+
// return this.model;
|
|
36
|
+
// }
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
39
|
+
// }
|
|
40
|
+
// return this.model;
|
|
41
|
+
// }"""
|
|
42
|
+
|
|
43
|
+
// let internal patchTableRelationshipTarget (obj:obj) =
|
|
44
|
+
// emitJsStatement
|
|
45
|
+
// (obj)
|
|
46
|
+
// """
|
|
47
|
+
// $0.prototype.parseOpen = function(node) {
|
|
48
|
+
// switch (node.name) {
|
|
49
|
+
// case 'Relationship':
|
|
50
|
+
// node.attributes.Target = node.attributes.Target.replace("/xl/tables", "../tables")
|
|
51
|
+
// this.model = node.attributes;
|
|
52
|
+
// return true;
|
|
53
|
+
// default:
|
|
54
|
+
// return false;
|
|
55
|
+
// }
|
|
56
|
+
// }"""
|
|
57
|
+
|
|
58
|
+
// patch(BaseXform)
|
|
59
|
+
// patchTableRelationshipTarget(RelationshipXform)
|
|
60
|
+
|
|
61
|
+
let Excel: ExcelJS = importDefault "@nfdi4plants/exceljs"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[<AutoOpen>]
|
|
2
|
+
module Fable.ExcelJs.Extensions
|
|
3
|
+
|
|
4
|
+
open Fable.Core
|
|
5
|
+
open Fable.Core.JsInterop
|
|
6
|
+
|
|
7
|
+
type Row with
|
|
8
|
+
/// create js object with `column.key` as key and row value as value.
|
|
9
|
+
/// Can be used e.g for insertRow, addRow.
|
|
10
|
+
static member createValues(keyValueSeq:(string*obj) seq) =
|
|
11
|
+
!!createObj [
|
|
12
|
+
for (columnKey, rowValue) in keyValueSeq do
|
|
13
|
+
yield
|
|
14
|
+
columnKey ==> rowValue
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
type Column with
|
|
18
|
+
static member create (header: string, ?key: string, ?width: int, ?outlineLevel: int, ?hidden: bool) : Column =
|
|
19
|
+
!!createObj [
|
|
20
|
+
"header", box header
|
|
21
|
+
if key.IsSome then "key", box key.Value
|
|
22
|
+
if width.IsSome then "width", box width.Value
|
|
23
|
+
if outlineLevel.IsSome then "outlineLevel", box outlineLevel.Value
|
|
24
|
+
if hidden.IsSome then "hidden", box hidden.Value
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
type WorksheetProperties with
|
|
28
|
+
static member create(?tabColor: obj, ?outlineLevelCol: int, ?outlineLevelRow: int, ?defaultRowHeight: int, ?defaultColWidth: int, ?dyDescent: int) =
|
|
29
|
+
!!createObj [
|
|
30
|
+
if tabColor.IsSome then "tabColor", box tabColor.Value
|
|
31
|
+
if outlineLevelCol.IsSome then "outlineLevelCol", box outlineLevelCol.Value
|
|
32
|
+
if outlineLevelRow.IsSome then "outlineLevelRow", box outlineLevelRow.Value
|
|
33
|
+
if defaultRowHeight.IsSome then "defaultRowHeight", box defaultRowHeight.Value
|
|
34
|
+
if defaultColWidth.IsSome then "defaultColWidth", box defaultColWidth.Value
|
|
35
|
+
if dyDescent.IsSome then "dyDescent", box dyDescent.Value
|
|
36
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createObj } from "../fable-library-js.4.24.0/Util.js";
|
|
2
|
+
import { empty, append, singleton, collect, delay, toList } from "../fable-library-js.4.24.0/Seq.js";
|
|
3
|
+
import { value } from "../fable-library-js.4.24.0/Option.js";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* create js object with `column.key` as key and row value as value.
|
|
7
|
+
* Can be used e.g for insertRow, addRow.
|
|
8
|
+
*/
|
|
9
|
+
export function Fable_ExcelJs_Row_Row__Row_createValues_Static_68BDC580(keyValueSeq) {
|
|
10
|
+
return createObj(toList(delay(() => collect((matchValue) => singleton([matchValue[0], matchValue[1]]), keyValueSeq))));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function Fable_ExcelJs_Column_Column__Column_create_Static_3ECA26A(header, key, width, outlineLevel, hidden) {
|
|
14
|
+
return createObj(toList(delay(() => append(singleton(["header", header]), delay(() => append((key != null) ? singleton(["key", value(key)]) : empty(), delay(() => append((width != null) ? singleton(["width", value(width)]) : empty(), delay(() => append((outlineLevel != null) ? singleton(["outlineLevel", value(outlineLevel)]) : empty(), delay(() => ((hidden != null) ? singleton(["hidden", value(hidden)]) : empty()))))))))))));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function Fable_ExcelJs_Worksheet_WorksheetProperties__WorksheetProperties_create_Static_Z119EA819(tabColor, outlineLevelCol, outlineLevelRow, defaultRowHeight, defaultColWidth, dyDescent) {
|
|
18
|
+
return createObj(toList(delay(() => append((tabColor != null) ? singleton(["tabColor", value(tabColor)]) : empty(), delay(() => append((outlineLevelCol != null) ? singleton(["outlineLevelCol", value(outlineLevelCol)]) : empty(), delay(() => append((outlineLevelRow != null) ? singleton(["outlineLevelRow", value(outlineLevelRow)]) : empty(), delay(() => append((defaultRowHeight != null) ? singleton(["defaultRowHeight", value(defaultRowHeight)]) : empty(), delay(() => append((defaultColWidth != null) ? singleton(["defaultColWidth", value(defaultColWidth)]) : empty(), delay(() => ((dyDescent != null) ? singleton(["dyDescent", value(dyDescent)]) : empty()))))))))))))));
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
+
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
|
5
|
+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
6
|
+
</PropertyGroup>
|
|
7
|
+
|
|
8
|
+
<PropertyGroup>
|
|
9
|
+
<Authors>Kevin Frey</Authors>
|
|
10
|
+
<Description>Fable bindings for exceljs</Description>
|
|
11
|
+
<Summary>Fable bindings for exceljs in FSharp</Summary>
|
|
12
|
+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
13
|
+
<PackageTags>F# FSharp spreadsheet Excel xlsx exceljs fable fable-bindings fable-javascript</PackageTags>
|
|
14
|
+
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
15
|
+
<RepositoryUrl>https://github.com/Freymaurer/Fable.exceljs</RepositoryUrl>
|
|
16
|
+
<RepositoryType>git</RepositoryType>
|
|
17
|
+
</PropertyGroup>
|
|
18
|
+
|
|
19
|
+
<ItemGroup>
|
|
20
|
+
<None Include="../README.md" Pack="true" PackagePath="\" />
|
|
21
|
+
<Compile Include="Unions.fs" />
|
|
22
|
+
<Compile Include="Cell.fs" />
|
|
23
|
+
<Compile Include="Row.fs" />
|
|
24
|
+
<Compile Include="Column.fs" />
|
|
25
|
+
<Compile Include="Table.fs" />
|
|
26
|
+
<Compile Include="Worksheet.fs" />
|
|
27
|
+
<Compile Include="Xlsx.fs" />
|
|
28
|
+
<Compile Include="Csv.fs" />
|
|
29
|
+
<Compile Include="Workbook.fs" />
|
|
30
|
+
<Compile Include="ExcelJs.fs" />
|
|
31
|
+
<Compile Include="Extensions.fs" />
|
|
32
|
+
</ItemGroup>
|
|
33
|
+
|
|
34
|
+
<ItemGroup>
|
|
35
|
+
<EmbeddedResource Remove="obj\**" />
|
|
36
|
+
</ItemGroup>
|
|
37
|
+
|
|
38
|
+
<ItemGroup>
|
|
39
|
+
<PackageReference Update="FSharp.Core" Version="6.0.7" />
|
|
40
|
+
<PackageReference Include="Fable.Core" Version="4.0.0" />
|
|
41
|
+
</ItemGroup>
|
|
42
|
+
|
|
43
|
+
<ItemGroup>
|
|
44
|
+
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
|
|
45
|
+
</ItemGroup>
|
|
46
|
+
|
|
47
|
+
<PropertyGroup>
|
|
48
|
+
<NpmDependencies>
|
|
49
|
+
<NpmPackage Name="@nfdi4plants/exceljs" Version="gte 0.1.0 lt 1.0.0" ResolutionStrategy="Max" />
|
|
50
|
+
</NpmDependencies>
|
|
51
|
+
</PropertyGroup>
|
|
52
|
+
|
|
53
|
+
</Project>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[<AutoOpen>]
|
|
2
|
+
module Fable.ExcelJs.Row
|
|
3
|
+
|
|
4
|
+
open Fable.Core
|
|
5
|
+
open Fable.Core.JsInterop
|
|
6
|
+
open Fable.ExcelJs
|
|
7
|
+
open Cell
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[<AllowNullLiteral>]
|
|
11
|
+
type Row =
|
|
12
|
+
[<Emit("$0.cells")>]
|
|
13
|
+
abstract member cells: Cell [] with get
|
|
14
|
+
abstract member height: float with get, set
|
|
15
|
+
abstract member hidden: bool with get, set
|
|
16
|
+
abstract member outlineLevel: int with get, set
|
|
17
|
+
abstract member collapsed: bool with get
|
|
18
|
+
/// Return 0 index always as None, as xlsx rows start 1 indexed. Set will always set starting at index 1.
|
|
19
|
+
abstract member values: CellValue [] with get, set
|
|
20
|
+
abstract member number: int with get
|
|
21
|
+
abstract member cellCount: int with get
|
|
22
|
+
abstract member actualCellCount: int with get
|
|
23
|
+
abstract member hasValues: bool with get
|
|
24
|
+
/// Get cell by row 1 based index
|
|
25
|
+
abstract member getCell: int -> Cell
|
|
26
|
+
/// Get cell by column header or by column letter index
|
|
27
|
+
abstract member getCell: string -> Cell
|
|
28
|
+
/// iterate over all current cells in this column
|
|
29
|
+
[<Emit("$0.eachCell(function(cell, rowIndex){$1([cell, rowIndex])})")>] //oh boy
|
|
30
|
+
abstract member eachCell: func:(Cell*int -> unit) -> unit
|
|
31
|
+
[<Emit("$0.eachCell({ includeEmpty: $1 }, function(cell, rowIndex){$2([cell, rowIndex])})")>]
|
|
32
|
+
abstract member eachCell: includeEmpty:bool*func:(Cell*int -> unit) -> unit
|
|
33
|
+
/// Commit a completed row to stream
|
|
34
|
+
abstract member commit: unit -> unit
|