@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
|
|
2
|
-
import { empty, map } from "../../fable-library-js.4.
|
|
2
|
+
import { empty, map } from "../../fable-library-js.4.24.0/Seq.js";
|
|
3
3
|
import { decodeCols, encodeNoNumber, encodeCols } from "./Cell.fs.js";
|
|
4
4
|
import { seq as seq_1, int, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
5
|
-
import { defaultArg } from "../../fable-library-js.4.
|
|
5
|
+
import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
|
|
6
6
|
|
|
7
7
|
export function encode(col) {
|
|
8
8
|
let value;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
|
|
2
|
-
import { empty, map } from "../../fable-library-js.4.
|
|
2
|
+
import { empty, map } from "../../fable-library-js.4.24.0/Seq.js";
|
|
3
3
|
import { decodeRows, encodeNoNumber, encodeRows } from "./Cell.fs.js";
|
|
4
4
|
import { seq as seq_1, int, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
5
|
-
import { defaultArg } from "../../fable-library-js.4.
|
|
5
|
+
import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
|
|
6
6
|
|
|
7
7
|
export function encode(row) {
|
|
8
8
|
let value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FsRangeAddress_$ctor_Z721C83C5, FsRangeAddress__get_Range } from "../Ranges/FsRangeAddress.fs.js";
|
|
2
2
|
import { FsRangeBase__get_RangeAddress } from "../Ranges/FsRangeBase.fs.js";
|
|
3
|
-
import { map } from "../../fable-library-js.4.
|
|
3
|
+
import { map } from "../../fable-library-js.4.24.0/Seq.js";
|
|
4
4
|
import { string, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
5
5
|
import { FsTable } from "../Tables/FsTable.fs.js";
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { toString, tryParse, minValue } from "../../fable-library-js.4.
|
|
2
|
-
import { FSharpRef } from "../../fable-library-js.4.
|
|
3
|
-
import { FSharpResult$2 } from "../../fable-library-js.4.
|
|
1
|
+
import { toString, tryParse, minValue } from "../../fable-library-js.4.24.0/Date.js";
|
|
2
|
+
import { FSharpRef } from "../../fable-library-js.4.24.0/Types.js";
|
|
3
|
+
import { FSharpResult$2 } from "../../fable-library-js.4.24.0/Result.js";
|
|
4
4
|
import { ErrorReason$1 } from "../../Thoth.Json.Core.0.4.0/Types.fs.js";
|
|
5
|
-
import { item } from "../../fable-library-js.4.
|
|
5
|
+
import { item } from "../../fable-library-js.4.24.0/Array.js";
|
|
6
6
|
import { string, float, int, bool, map, oneOf } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
7
7
|
import { DataType } from "../Cells/FsCell.fs.js";
|
|
8
|
-
import { ofArray } from "../../fable-library-js.4.
|
|
8
|
+
import { ofArray } from "../../fable-library-js.4.24.0/List.js";
|
|
9
9
|
|
|
10
10
|
export const Decode_datetime = {
|
|
11
11
|
Decode(helpers, value) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
|
|
2
|
-
import { map } from "../../fable-library-js.4.
|
|
2
|
+
import { map } from "../../fable-library-js.4.24.0/Seq.js";
|
|
3
3
|
import { decodeColumns as decodeColumns_1, encodeColumns as encodeColumns_1, decodeRows as decodeRows_1, encodeRows as encodeRows_1 } from "./Worksheet.fs.js";
|
|
4
4
|
import { seq as seq_1, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
5
5
|
import { FsWorkbook } from "../FsWorkbook.fs.js";
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs.js
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
|
|
2
|
-
import { iterate, empty, isEmpty, append, singleton, collect, map, delay, toList } from "../../fable-library-js.4.
|
|
2
|
+
import { iterate, empty, isEmpty, append, singleton, collect, map, delay, toList } from "../../fable-library-js.4.24.0/Seq.js";
|
|
3
3
|
import { decode as decode_1, encode, encodeNoNumbers } from "./Row.fs.js";
|
|
4
4
|
import { FsCellsCollection__TryGetCell_Z37302880 } from "../Cells/FsCellsCollection.fs.js";
|
|
5
5
|
import { FsCell } from "../Cells/FsCell.fs.js";
|
|
6
|
-
import { rangeDouble } from "../../fable-library-js.4.
|
|
6
|
+
import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
|
|
7
7
|
import { decode, encode as encode_1 } from "./Table.fs.js";
|
|
8
8
|
import { seq as seq_1, string, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
9
|
-
import { defaultArg } from "../../fable-library-js.4.
|
|
9
|
+
import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
|
|
10
10
|
import { FsWorksheet } from "../FsWorksheet.fs.js";
|
|
11
11
|
import { decode as decode_2, encode as encode_2, encodeNoNumbers as encodeNoNumbers_1 } from "./Column.fs.js";
|
|
12
12
|
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs.js
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library-js.4.
|
|
3
|
-
import { int32ToString, defaultOf } from "../../fable-library-js.4.
|
|
2
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
|
+
import { int32ToString, defaultOf } from "../../fable-library-js.4.24.0/Util.js";
|
|
4
4
|
import { FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
|
|
5
5
|
import { FsRangeAddress__get_LastAddress, FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "./FsRangeAddress.fs.js";
|
|
6
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
6
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
7
7
|
import { FsRangeRow_$ctor_6A2513BC } from "./FsRangeRow.fs.js";
|
|
8
8
|
|
|
9
9
|
export class FsRange extends FsRangeBase {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
2
|
-
import { toConsole, printf, toText } from "../../fable-library-js.4.
|
|
3
|
-
import { item } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
|
+
import { toConsole, printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
3
|
+
import { item } from "../../fable-library-js.4.24.0/Array.js";
|
|
4
4
|
import { FsAddress__get_Address, FsAddress_$ctor_Z37302880, FsAddress__set_ColumnNumber_Z524259A4, FsAddress__get_ColumnNumber, FsAddress__set_RowNumber_Z524259A4, FsAddress__get_RowNumber, FsAddress_$ctor_Z721C83C5, CellReference_moveHorizontal, CellReference_toIndices } from "../FsAddress.fs.js";
|
|
5
5
|
|
|
6
6
|
export class FsRangeAddress {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs.js
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { equals, defaultOf } from "../../fable-library-js.4.
|
|
2
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { equals, defaultOf } from "../../fable-library-js.4.24.0/Util.js";
|
|
2
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress__Extend_6D30B323 } from "./FsRangeAddress.fs.js";
|
|
4
4
|
import { FsAddress__get_FixedColumn, FsAddress__get_FixedRow, FsAddress_$ctor_Z4C746FC0, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
|
|
5
5
|
import { FsCellsCollection__GetCells_7E77A4A0, FsCellsCollection__Add_2E78CE33, FsCellsCollection__TryGetCell_Z37302880, FsCellsCollection__get_MaxColumnNumber, FsCellsCollection__get_MaxRowNumber } from "../Cells/FsCellsCollection.fs.js";
|
|
6
|
-
import { printf, toFail } from "../../fable-library-js.4.
|
|
6
|
+
import { printf, toFail } from "../../fable-library-js.4.24.0/String.js";
|
|
7
7
|
import { FsCell } from "../Cells/FsCell.fs.js";
|
|
8
8
|
|
|
9
9
|
export class FsRangeBase {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs.js
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FsRangeBase__Cells_Z2740B3CA, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library-js.4.
|
|
2
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
import { FsRangeAddress__Copy, FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./FsRangeAddress.fs.js";
|
|
4
4
|
import { FsAddress__get_RowNumber, FsAddress__set_ColumnNumber_Z524259A4, FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
5
|
-
import { map, toList } from "../../fable-library-js.4.
|
|
6
|
-
import { rangeDouble } from "../../fable-library-js.4.
|
|
5
|
+
import { map, toList } from "../../fable-library-js.4.24.0/Seq.js";
|
|
6
|
+
import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
|
|
7
7
|
|
|
8
8
|
export class FsRangeColumn extends FsRangeBase {
|
|
9
9
|
constructor(rangeAddress) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FsRangeBase__Cells_Z2740B3CA, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library-js.4.
|
|
2
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./FsRangeAddress.fs.js";
|
|
4
4
|
import { FsAddress__get_ColumnNumber, FsAddress__set_RowNumber_Z524259A4, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
5
5
|
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs.js
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { equals, disposeSafe, getEnumerator, curry2, defaultOf } from "../fable-library-js.4.
|
|
2
|
-
import { addToDict, tryGetValue } from "../fable-library-js.4.
|
|
3
|
-
import { Record, FSharpRef } from "../fable-library-js.4.
|
|
4
|
-
import { toNullable, some } from "../fable-library-js.4.
|
|
1
|
+
import { equals, disposeSafe, getEnumerator, curry2, defaultOf } from "../fable-library-js.4.24.0/Util.js";
|
|
2
|
+
import { addToDict, tryGetValue } from "../fable-library-js.4.24.0/MapUtil.js";
|
|
3
|
+
import { Record, FSharpRef } from "../fable-library-js.4.24.0/Types.js";
|
|
4
|
+
import { toNullable, some } from "../fable-library-js.4.24.0/Option.js";
|
|
5
5
|
import { FsCell, FsCell_$reflection } from "./Cells/FsCell.fs.js";
|
|
6
|
-
import { record_type, string_type, bool_type, option_type, float64_type, list_type, lambda_type } from "../fable-library-js.4.
|
|
7
|
-
import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library-js.4.
|
|
8
|
-
import { newGuid } from "../fable-library-js.4.
|
|
6
|
+
import { record_type, string_type, bool_type, option_type, float64_type, list_type, lambda_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
7
|
+
import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library-js.4.24.0/List.js";
|
|
8
|
+
import { newGuid } from "../fable-library-js.4.24.0/Guid.js";
|
|
9
9
|
import { FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "./Ranges/FsRangeAddress.fs.js";
|
|
10
10
|
import { FsRangeBase__get_RangeAddress } from "./Ranges/FsRangeBase.fs.js";
|
|
11
11
|
import { FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "./FsAddress.fs.js";
|
|
12
|
-
import { find, indexed } from "../fable-library-js.4.
|
|
12
|
+
import { find, indexed } from "../fable-library-js.4.24.0/Seq.js";
|
|
13
13
|
import { FsRangeColumn__Cell_Z4232C216 } from "./Ranges/FsRangeColumn.fs.js";
|
|
14
14
|
import { FsTableField__get_Column } from "./Tables/FsTableField.fs.js";
|
|
15
15
|
import { FsWorksheet } from "./FsWorksheet.fs.js";
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs.js
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { disposeSafe, getEnumerator, comparePrimitives, int32ToString, defaultOf, equals } from "../../fable-library-js.4.
|
|
1
|
+
import { disposeSafe, getEnumerator, comparePrimitives, int32ToString, defaultOf, equals } from "../../fable-library-js.4.24.0/Util.js";
|
|
2
2
|
import { FsRangeBase_$reflection, FsRangeBase, FsRangeBase__set_RangeAddress_6A2513BC, FsRangeBase__ColumnCount, FsRangeBase__get_RangeAddress } from "../Ranges/FsRangeBase.fs.js";
|
|
3
|
-
import { exists, toList, choose, tryPick, tryFind, find, max, length, iterate, iterateIndexed, map, reduce, singleton, collect, delay, initialize } from "../../fable-library-js.4.
|
|
3
|
+
import { exists, toList, choose, tryPick, tryFind, find, max, length, iterate, iterateIndexed, map, reduce, singleton, collect, delay, initialize } from "../../fable-library-js.4.24.0/Seq.js";
|
|
4
4
|
import { FsRange_$ctor_6A2513BC, FsRange__FirstRow } from "../Ranges/FsRange.fs.js";
|
|
5
5
|
import { FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
|
|
6
6
|
import { FsRangeAddress__Copy, FsRangeAddress__Union_6A2513BC, FsRangeAddress__get_LastAddress, FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "../Ranges/FsRangeAddress.fs.js";
|
|
7
7
|
import { FsRow } from "../FsRow.fs.js";
|
|
8
8
|
import { FsColumn } from "../FsColumn.fs.js";
|
|
9
|
-
import { rangeDouble } from "../../fable-library-js.4.
|
|
9
|
+
import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
|
|
10
10
|
import { FsTableField__set_Index_Z524259A4, FsTableField_$ctor_Z18115A39, FsTableField__HeaderCell_10EBE01C, FsTableField__get_Index, FsTableField_$ctor_726EFFB, FsTableField__get_Name, FsTableField_$ctor_6547009B, FsTableField__get_Column } from "./FsTableField.fs.js";
|
|
11
|
-
import { getItemFromDict, addToDict, addToSet } from "../../fable-library-js.4.
|
|
11
|
+
import { getItemFromDict, addToDict, addToSet } from "../../fable-library-js.4.24.0/MapUtil.js";
|
|
12
12
|
import { FsRangeColumn__get_Index, FsRangeColumn_$ctor_6A2513BC, FsRangeColumn_$ctor_Z524259A4 } from "../Ranges/FsRangeColumn.fs.js";
|
|
13
13
|
import { FsCellsCollection__TryGetCell_Z37302880, FsCellsCollection__GetCellsInColumn_Z524259A4, Dictionary_tryGet } from "../Cells/FsCellsCollection.fs.js";
|
|
14
|
-
import { replace } from "../../fable-library-js.4.
|
|
15
|
-
import { defaultArg, value as value_2 } from "../../fable-library-js.4.
|
|
14
|
+
import { replace } from "../../fable-library-js.4.24.0/String.js";
|
|
15
|
+
import { defaultArg, value as value_2 } from "../../fable-library-js.4.24.0/Option.js";
|
|
16
16
|
import { DataType } from "../Cells/FsCell.fs.js";
|
|
17
|
-
import { class_type } from "../../fable-library-js.4.
|
|
17
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
18
18
|
|
|
19
19
|
export class FsTable extends FsRangeBase {
|
|
20
20
|
constructor(name, rangeAddress, showTotalsRow, showHeaderRow) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs.js
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
2
|
-
import { equals, defaultOf } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
|
+
import { equals, defaultOf } from "../../fable-library-js.4.24.0/Util.js";
|
|
3
3
|
import { FsRangeColumn__Cells_Z2740B3CA, FsRangeColumn__Copy, FsRangeColumn__FirstCell_Z2740B3CA, FsRangeColumn_$ctor_6A2513BC } from "../Ranges/FsRangeColumn.fs.js";
|
|
4
4
|
import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "../Ranges/FsRangeAddress.fs.js";
|
|
5
5
|
import { FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
6
6
|
import { FsRangeBase__get_RangeAddress } from "../Ranges/FsRangeBase.fs.js";
|
|
7
|
-
import { printf, toFail } from "../../fable-library-js.4.
|
|
8
|
-
import { skip } from "../../fable-library-js.4.
|
|
7
|
+
import { printf, toFail } from "../../fable-library-js.4.24.0/String.js";
|
|
8
|
+
import { skip } from "../../fable-library-js.4.24.0/Seq.js";
|
|
9
9
|
|
|
10
10
|
export class FsTableField {
|
|
11
11
|
constructor(name, index, column, totalsRowLabel, totalsRowFunction) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FsRangeRow_$reflection, FsRangeRow } from "../Ranges/FsRangeRow.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library-js.4.
|
|
2
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class FsTableRow extends FsRangeRow {
|
|
5
5
|
constructor(rangeAddress) {
|
|
@@ -11,7 +11,7 @@ open System.Reflection
|
|
|
11
11
|
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")>]
|
|
12
12
|
[<assembly: System.Reflection.AssemblyDescriptionAttribute("Fable compliant Spreadsheet creation and manipulation in FSharp")>]
|
|
13
13
|
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
|
14
|
-
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b8c476a81e3988e280c5e313c40b881625f57d24")>]
|
|
15
15
|
[<assembly: System.Reflection.AssemblyProductAttribute("FsSpreadsheet")>]
|
|
16
16
|
[<assembly: System.Reflection.AssemblyTitleAttribute("FsSpreadsheet")>]
|
|
17
17
|
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
|
@@ -11,7 +11,7 @@ open System.Reflection
|
|
|
11
11
|
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Release")>]
|
|
12
12
|
[<assembly: System.Reflection.AssemblyDescriptionAttribute("Fable compliant Spreadsheet creation and manipulation in FSharp")>]
|
|
13
13
|
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
|
14
|
-
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b8c476a81e3988e280c5e313c40b881625f57d24")>]
|
|
15
15
|
[<assembly: System.Reflection.AssemblyProductAttribute("FsSpreadsheet")>]
|
|
16
16
|
[<assembly: System.Reflection.AssemblyTitleAttribute("FsSpreadsheet")>]
|
|
17
17
|
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
namespace FsSpreadsheet.Js
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
module JsCell =
|
|
5
|
+
|
|
6
|
+
open Fable.Core
|
|
7
|
+
open Fable.Core.JsInterop
|
|
8
|
+
open FsSpreadsheet
|
|
9
|
+
open Fable.ExcelJs
|
|
10
|
+
|
|
11
|
+
[<Emit("console.log($0)")>]
|
|
12
|
+
let private log (obj:obj) = jsNative
|
|
13
|
+
|
|
14
|
+
let writeFromFsCell (fsCell: FsCell) =
|
|
15
|
+
match fsCell.DataType with
|
|
16
|
+
| Boolean ->
|
|
17
|
+
fsCell.ValueAsBool() |> box |> Some
|
|
18
|
+
| Number ->
|
|
19
|
+
fsCell.ValueAsFloat() |> box |> Some
|
|
20
|
+
| Date ->
|
|
21
|
+
/// Here it will actually show the correct DateTime. But when writing, exceljs will apply local offset.
|
|
22
|
+
let dt = fsCell.ValueAsDateTime() |> System.DateTimeOffset
|
|
23
|
+
/// Therefore we add offset and it should work.
|
|
24
|
+
let dt = dt + dt.Offset |> box |> Some
|
|
25
|
+
dt
|
|
26
|
+
| String ->
|
|
27
|
+
fsCell.Value |> Some
|
|
28
|
+
| anyElse ->
|
|
29
|
+
//let msg = sprintf "ValueType '%A' is not fully implemented in FsSpreadsheet and is handled as string input." anyElse
|
|
30
|
+
//#if FABLE_COMPILER_JAVASCRIPT
|
|
31
|
+
//log msg
|
|
32
|
+
//#else
|
|
33
|
+
//printfn "%s" msg
|
|
34
|
+
//#endif
|
|
35
|
+
fsCell.Value |> box |> Some
|
|
36
|
+
|
|
37
|
+
/// <summary>
|
|
38
|
+
/// `worksheetName`, `rowIndex` and `columnIndex` are only used for debugging.
|
|
39
|
+
/// </summary>
|
|
40
|
+
/// <param name="worksheetName"></param>
|
|
41
|
+
/// <param name="rowIndex"></param>
|
|
42
|
+
/// <param name="columnIndex"></param>
|
|
43
|
+
/// <param name="jsCell"></param>
|
|
44
|
+
let readToFsCell worksheetName rowIndex columnIndex (jsCell: Cell) =
|
|
45
|
+
let t = enum<Unions.ValueType>(jsCell.``type``)
|
|
46
|
+
let fsadress = FsAddress(jsCell.address)
|
|
47
|
+
let createFscell = fun dt v -> FsCell(v,dt,address = fsadress)
|
|
48
|
+
let vTemp = string jsCell.value.Value
|
|
49
|
+
let fscell =
|
|
50
|
+
match t with
|
|
51
|
+
| ValueType.Boolean ->
|
|
52
|
+
let b = System.Boolean.Parse vTemp
|
|
53
|
+
createFscell DataType.Boolean b
|
|
54
|
+
| ValueType.Number -> float vTemp |> createFscell DataType.Number
|
|
55
|
+
| ValueType.Date ->
|
|
56
|
+
let dt = System.DateTime.Parse(vTemp).ToUniversalTime()
|
|
57
|
+
/// Without this step universal time get changed to local time? Exceljs tests will hit this.
|
|
58
|
+
///
|
|
59
|
+
/// Expected item (from test object): C2 : Sat Oct 14 2023 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) | Date
|
|
60
|
+
///
|
|
61
|
+
/// Actual item (created here): C2 : Sat Oct 14 2023 02:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) | Date
|
|
62
|
+
///
|
|
63
|
+
/// But logging hour minute showed that the values were given correctly and needed to be reinitialized.
|
|
64
|
+
let dt = System.DateTime(dt.Year,dt.Month,dt.Day,dt.Hour,dt.Minute, dt.Second)
|
|
65
|
+
dt |> createFscell DataType.Date
|
|
66
|
+
| ValueType.String -> vTemp |> createFscell DataType.String
|
|
67
|
+
| ValueType.Formula ->
|
|
68
|
+
match jsCell.formula with
|
|
69
|
+
| "TRUE()" ->
|
|
70
|
+
let b = true
|
|
71
|
+
createFscell DataType.Boolean b
|
|
72
|
+
| "FALSE()" ->
|
|
73
|
+
let b = false
|
|
74
|
+
createFscell DataType.Boolean b
|
|
75
|
+
| anyElse ->
|
|
76
|
+
let msg = sprintf "ValueType 'Format' (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)" anyElse worksheetName rowIndex columnIndex
|
|
77
|
+
log msg
|
|
78
|
+
anyElse |> createFscell DataType.String
|
|
79
|
+
| ValueType.Hyperlink ->
|
|
80
|
+
//log (c.value.Value?text)
|
|
81
|
+
jsCell.value.Value?hyperlink |> createFscell DataType.String
|
|
82
|
+
| anyElse ->
|
|
83
|
+
let msg = sprintf "ValueType `%A` (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)" anyElse vTemp worksheetName rowIndex columnIndex
|
|
84
|
+
log msg
|
|
85
|
+
vTemp |> createFscell DataType.String
|
|
86
|
+
fscell
|
|
87
|
+
|
|
88
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { value as value_4, some } from "../fable-library-js.4.24.0/Option.js";
|
|
2
|
+
import { offset, op_Addition, fromDate } from "../fable-library-js.4.24.0/DateOffset.js";
|
|
3
|
+
import { FsAddress_$ctor_Z721C83C5 } from "../FsSpreadsheet.6.3.1/FsAddress.fs.js";
|
|
4
|
+
import { DataType, FsCell } from "../FsSpreadsheet.6.3.1/Cells/FsCell.fs.js";
|
|
5
|
+
import { toString } from "../fable-library-js.4.24.0/Types.js";
|
|
6
|
+
import { parse } from "../fable-library-js.4.24.0/Double.js";
|
|
7
|
+
import { second, minute, hour, day, month, year, create, toUniversalTime, parse as parse_1 } from "../fable-library-js.4.24.0/Date.js";
|
|
8
|
+
import { printf, toText } from "../fable-library-js.4.24.0/String.js";
|
|
9
|
+
import { parse as parse_2 } from "../fable-library-js.4.24.0/Boolean.js";
|
|
10
|
+
|
|
11
|
+
export function writeFromFsCell(fsCell) {
|
|
12
|
+
const matchValue = fsCell.DataType;
|
|
13
|
+
switch (matchValue.tag) {
|
|
14
|
+
case 1:
|
|
15
|
+
return some(fsCell.ValueAsBool());
|
|
16
|
+
case 2:
|
|
17
|
+
return some(fsCell.ValueAsFloat());
|
|
18
|
+
case 3: {
|
|
19
|
+
const dt = fromDate(fsCell.ValueAsDateTime());
|
|
20
|
+
return some(op_Addition(dt, offset(dt)));
|
|
21
|
+
}
|
|
22
|
+
case 0:
|
|
23
|
+
return some(fsCell.Value);
|
|
24
|
+
default:
|
|
25
|
+
return some(fsCell.Value);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* `worksheetName`, `rowIndex` and `columnIndex` are only used for debugging.
|
|
31
|
+
*/
|
|
32
|
+
export function readToFsCell(worksheetName, rowIndex, columnIndex, jsCell) {
|
|
33
|
+
const t = (jsCell.type) | 0;
|
|
34
|
+
const fsadress = FsAddress_$ctor_Z721C83C5(jsCell.address);
|
|
35
|
+
const createFscell = (dt, v) => (new FsCell(v, dt, fsadress));
|
|
36
|
+
const vTemp = toString(value_4(jsCell.value));
|
|
37
|
+
switch (t) {
|
|
38
|
+
case 2: {
|
|
39
|
+
const arg_3 = parse(vTemp);
|
|
40
|
+
return createFscell(new DataType(2, []), arg_3);
|
|
41
|
+
}
|
|
42
|
+
case 3:
|
|
43
|
+
return createFscell(new DataType(0, []), vTemp);
|
|
44
|
+
case 4: {
|
|
45
|
+
let dt_1;
|
|
46
|
+
let copyOfStruct = parse_1(vTemp);
|
|
47
|
+
dt_1 = toUniversalTime(copyOfStruct);
|
|
48
|
+
const dt_2 = create(year(dt_1), month(dt_1), day(dt_1), hour(dt_1), minute(dt_1), second(dt_1));
|
|
49
|
+
return createFscell(new DataType(3, []), dt_2);
|
|
50
|
+
}
|
|
51
|
+
case 5:
|
|
52
|
+
return createFscell(new DataType(0, []), value_4(jsCell.value).hyperlink);
|
|
53
|
+
case 6: {
|
|
54
|
+
const matchValue = jsCell.formula;
|
|
55
|
+
switch (matchValue) {
|
|
56
|
+
case "TRUE()":
|
|
57
|
+
return createFscell(new DataType(1, []), true);
|
|
58
|
+
case "FALSE()":
|
|
59
|
+
return createFscell(new DataType(1, []), false);
|
|
60
|
+
default: {
|
|
61
|
+
const anyElse = matchValue;
|
|
62
|
+
const msg = toText(printf("ValueType \'Format\' (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)"))(anyElse)(worksheetName)(rowIndex)(columnIndex);
|
|
63
|
+
console.log(msg);
|
|
64
|
+
return createFscell(new DataType(0, []), anyElse);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
case 9: {
|
|
69
|
+
const arg_1 = parse_2(vTemp);
|
|
70
|
+
return createFscell(new DataType(1, []), arg_1);
|
|
71
|
+
}
|
|
72
|
+
default: {
|
|
73
|
+
const msg_1 = toText(printf("ValueType `%A` (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)"))(t)(vTemp)(worksheetName)(rowIndex)(columnIndex);
|
|
74
|
+
console.log(msg_1);
|
|
75
|
+
return createFscell(new DataType(0, []), vTemp);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[<AutoOpenAttribute>]
|
|
2
|
+
module FsSpreadsheet.Js.FsSpreadsheet
|
|
3
|
+
|
|
4
|
+
open FsSpreadsheet
|
|
5
|
+
open FsSpreadsheet.Js
|
|
6
|
+
open Fable.Core
|
|
7
|
+
open Fable.Core.JS
|
|
8
|
+
open Fable.Core.JsInterop
|
|
9
|
+
|
|
10
|
+
// This is mainly used for fsharp based access in a fable environment.
|
|
11
|
+
// If you want to use these bindings from js, you should use the ones in `Xlsx.fs`
|
|
12
|
+
type FsWorkbook with
|
|
13
|
+
|
|
14
|
+
static member fromXlsxFile(path:string) : Promise<FsWorkbook> =
|
|
15
|
+
Xlsx.fromXlsxFile(path)
|
|
16
|
+
|
|
17
|
+
static member fromXlsxStream(stream:System.IO.Stream) : Promise<FsWorkbook> =
|
|
18
|
+
Xlsx.fromXlsxStream stream
|
|
19
|
+
|
|
20
|
+
static member fromXlsxBytes(bytes: byte []) : Promise<FsWorkbook> =
|
|
21
|
+
Xlsx.fromXlsxBytes bytes
|
|
22
|
+
|
|
23
|
+
static member toXlsxFile(path: string) (wb:FsWorkbook) : Promise<unit> =
|
|
24
|
+
Xlsx.toXlsxFile path wb
|
|
25
|
+
|
|
26
|
+
static member toXlsxStream(stream: System.IO.Stream) (wb:FsWorkbook) : Promise<unit> =
|
|
27
|
+
Xlsx.toXlsxStream stream wb
|
|
28
|
+
|
|
29
|
+
static member toXlsxBytes(wb:FsWorkbook) : Promise<byte []> =
|
|
30
|
+
Xlsx.toXlsxBytes wb
|
|
31
|
+
|
|
32
|
+
member this.ToXlsxFile(path: string) : Promise<unit> =
|
|
33
|
+
FsWorkbook.toXlsxFile path this
|
|
34
|
+
|
|
35
|
+
member this.ToXlsxStream(stream: System.IO.Stream) : Promise<unit> =
|
|
36
|
+
FsWorkbook.toXlsxStream stream this
|
|
37
|
+
|
|
38
|
+
member this.ToXlsxBytes() : Promise<byte []> =
|
|
39
|
+
FsWorkbook.toXlsxBytes this
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
static member fromRowsJsonString (json:string) : FsWorkbook =
|
|
44
|
+
Json.fromRowsJsonString json
|
|
45
|
+
|
|
46
|
+
static member toRowsJsonString (wb:FsWorkbook,?spaces, ?noNumbering) : string =
|
|
47
|
+
Json.toRowsJsonString(wb, ?spaces = spaces, ?noNumbering = noNumbering)
|
|
48
|
+
|
|
49
|
+
//static member fromJsonFile (path:string) : Promise<FsWorkbook> =
|
|
50
|
+
// Json.fromJsonFile path
|
|
51
|
+
|
|
52
|
+
//static member toJsonFile (path:string) (wb:FsWorkbook) : Promise<unit> =
|
|
53
|
+
// Json.toJsonFile path wb
|
|
54
|
+
|
|
55
|
+
//member this.ToJsonFile(path: string) : Promise<unit> =
|
|
56
|
+
// FsWorkbook.toJsonFile path this
|
|
57
|
+
|
|
58
|
+
member this.ToRowsJsonString(?spaces, ?noNumbering) : string =
|
|
59
|
+
FsWorkbook.toRowsJsonString(this, ?spaces = spaces, ?noNumbering = noNumbering)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
static member fromColumnsJsonString (json:string) : FsWorkbook =
|
|
63
|
+
Json.fromColumnsJsonString json
|
|
64
|
+
|
|
65
|
+
static member toColumnsJsonString (wb:FsWorkbook,?spaces, ?noNumbering) : string =
|
|
66
|
+
Json.toColumnsJsonString(wb, ?spaces = spaces, ?noNumbering = noNumbering)
|
|
67
|
+
|
|
68
|
+
member this.ToColumnsJsonString(?spaces, ?noNumbering) : string =
|
|
69
|
+
FsWorkbook.toColumnsJsonString(this, ?spaces = spaces, ?noNumbering = noNumbering)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Xlsx } from "./Xlsx.fs.js";
|
|
2
|
+
import { Json } from "./Json.fs.js";
|
|
3
|
+
import { unwrap } from "../fable-library-js.4.24.0/Option.js";
|
|
4
|
+
|
|
5
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromXlsxFile_Static_Z721C83C5(path) {
|
|
6
|
+
return Xlsx.fromXlsxFile(path);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromXlsxStream_Static_4D976C1A(stream) {
|
|
10
|
+
return Xlsx.fromXlsxStream(stream);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromXlsxBytes_Static_Z3F6BC7B1(bytes) {
|
|
14
|
+
return Xlsx.fromXlsxBytes(bytes);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, wb) {
|
|
18
|
+
return Xlsx.toXlsxFile(path, wb);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxStream_Static(stream, wb) {
|
|
22
|
+
return Xlsx.toXlsxStream(stream, wb);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxBytes_Static_32154C9D(wb) {
|
|
26
|
+
return Xlsx.toXlsxBytes(wb);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToXlsxFile_Z721C83C5(this$, path) {
|
|
30
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, this$);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToXlsxStream_4D976C1A(this$, stream) {
|
|
34
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxStream_Static(stream, this$);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToXlsxBytes(this$) {
|
|
38
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxBytes_Static_32154C9D(this$);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromRowsJsonString_Static_Z721C83C5(json) {
|
|
42
|
+
return Json.fromRowsJsonString(json);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_toRowsJsonString_Static_Z2B6E0EF5(wb, spaces, noNumbering) {
|
|
46
|
+
return Json.toRowsJsonString(wb, unwrap(spaces), unwrap(noNumbering));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToRowsJsonString_Z3B036AA(this$, spaces, noNumbering) {
|
|
50
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toRowsJsonString_Static_Z2B6E0EF5(this$, unwrap(spaces), unwrap(noNumbering));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromColumnsJsonString_Static_Z721C83C5(json) {
|
|
54
|
+
return Json.fromColumnsJsonString(json);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_toColumnsJsonString_Static_Z2B6E0EF5(wb, spaces, noNumbering) {
|
|
58
|
+
return Json.toColumnsJsonString(wb, unwrap(spaces), unwrap(noNumbering));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToColumnsJsonString_Z3B036AA(this$, spaces, noNumbering) {
|
|
62
|
+
return FsSpreadsheet_FsWorkbook__FsWorkbook_toColumnsJsonString_Static_Z2B6E0EF5(this$, unwrap(spaces), unwrap(noNumbering));
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
+
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<Authors>Kevin Frey, Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Timo Mühlhaus</Authors>
|
|
5
|
+
<Description>Excel IO Extensions for the FsSpreadsheet Datamodel in js environments using exceljs.</Description>
|
|
6
|
+
<Summary>Spreadsheet creation and manipulation in FSharp</Summary>
|
|
7
|
+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
8
|
+
<PackageIcon>logo.png</PackageIcon>
|
|
9
|
+
<PackageTags>F# FSharp spreadsheet Excel xlsx datascience fable fable-library fable-javascript</PackageTags>
|
|
10
|
+
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
|
|
11
|
+
<RepositoryType>git</RepositoryType>
|
|
12
|
+
</PropertyGroup>
|
|
13
|
+
|
|
14
|
+
<PropertyGroup>
|
|
15
|
+
<TargetFramework>netstandard2.0</TargetFramework>
|
|
16
|
+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
17
|
+
</PropertyGroup>
|
|
18
|
+
|
|
19
|
+
<ItemGroup>
|
|
20
|
+
<None Include="..\..\docs\img\logo.png" Link="logo.png">
|
|
21
|
+
<PackagePath>\</PackagePath>
|
|
22
|
+
<Pack>true</Pack>
|
|
23
|
+
</None>
|
|
24
|
+
<Compile Include="Cell.fs" />
|
|
25
|
+
<Compile Include="Table.fs" />
|
|
26
|
+
<Compile Include="Worksheet.fs" />
|
|
27
|
+
<Compile Include="Workbook.fs" />
|
|
28
|
+
<Compile Include="Xlsx.fs" />
|
|
29
|
+
<Compile Include="Json.fs" />
|
|
30
|
+
<Compile Include="FsExtensions.fs" />
|
|
31
|
+
</ItemGroup>
|
|
32
|
+
|
|
33
|
+
<ItemGroup>
|
|
34
|
+
<PackageReference Include="Fable.Exceljs" Version="1.6.0" />
|
|
35
|
+
<PackageReference Include="Fable.Promise" Version="3.2.0" />
|
|
36
|
+
<PackageReference Include="Thoth.Json.JavaScript" Version="0.1.0" />
|
|
37
|
+
</ItemGroup>
|
|
38
|
+
|
|
39
|
+
<!-- Add source files to "fable" folder in Nuget package -->
|
|
40
|
+
<ItemGroup>
|
|
41
|
+
<!-- Include all files that are compiled with this project -->
|
|
42
|
+
<Content Include="@(Compile)" Pack="true" PackagePath="fable/%(RelativeDir)%(Filename)%(Extension)" />
|
|
43
|
+
<!-- Include the project file itself as well -->
|
|
44
|
+
<Content Include="$(MSBuildThisFileFullPath)" Pack="true" PackagePath="fable/" />
|
|
45
|
+
</ItemGroup>
|
|
46
|
+
|
|
47
|
+
<ItemGroup>
|
|
48
|
+
<ProjectReference Include="..\FsSpreadsheet\FsSpreadsheet.fsproj" />
|
|
49
|
+
</ItemGroup>
|
|
50
|
+
|
|
51
|
+
<PropertyGroup>
|
|
52
|
+
<NpmDependencies>
|
|
53
|
+
<NpmPackage Name="@nfdi4plants/exceljs" Version="gte 0.1.0 lt 1.0.0" ResolutionStrategy="Max" />
|
|
54
|
+
</NpmDependencies>
|
|
55
|
+
</PropertyGroup>
|
|
56
|
+
|
|
57
|
+
</Project>
|