@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
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { Result_MapError, Result_Map, FSharpResult$2 } from "../fable-library-js.4.24.0/Result.js";
|
|
2
|
+
import { class_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
3
|
+
import { disposeSafe, getEnumerator } from "../fable-library-js.4.24.0/Util.js";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* This is an identity function, it calls the given function and return the promise value untouched.
|
|
7
|
+
* <example>
|
|
8
|
+
* <code lang="fsharp">
|
|
9
|
+
* fetchUser ()
|
|
10
|
+
* |> Promise.tap (fun user ->
|
|
11
|
+
* // Do something
|
|
12
|
+
* console.log "The user has been received"
|
|
13
|
+
* )
|
|
14
|
+
* |> Promise.map (fun user ->
|
|
15
|
+
* // user value is available here untouched
|
|
16
|
+
* )
|
|
17
|
+
* </code>
|
|
18
|
+
* </example>
|
|
19
|
+
*/
|
|
20
|
+
export function tap(fn, a) {
|
|
21
|
+
return a.then((x) => {
|
|
22
|
+
fn(x);
|
|
23
|
+
return x;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Map the <c>Promise</c> result into a <c>Result</c> type.
|
|
29
|
+
* <example>
|
|
30
|
+
* <code lang="fsharp">
|
|
31
|
+
* Success example
|
|
32
|
+
* Promise.lift 42
|
|
33
|
+
* |> Promise.result
|
|
34
|
+
* |> Promise.map (fun value ->
|
|
35
|
+
* // value = Ok 42
|
|
36
|
+
* )
|
|
37
|
+
*
|
|
38
|
+
* // Fail example
|
|
39
|
+
* Promise.reject "Invalid value"
|
|
40
|
+
* |> Promise.result
|
|
41
|
+
* |> Promise.map (fun value ->
|
|
42
|
+
* // value = Error "Invalid value"
|
|
43
|
+
* )
|
|
44
|
+
* </code>
|
|
45
|
+
* </example>
|
|
46
|
+
*/
|
|
47
|
+
export function result(a) {
|
|
48
|
+
return a.then((ResultValue) => (new FSharpResult$2(0, [ResultValue]))).catch((ErrorValue) => (new FSharpResult$2(1, [ErrorValue])));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Evaluates to `myPromise |> Promise.map (Result.map fn)`
|
|
53
|
+
* <example>
|
|
54
|
+
* <code lang="fsharp">
|
|
55
|
+
* Promise.lift 42
|
|
56
|
+
* |> Promise.result
|
|
57
|
+
* |> Promise.mapResult (fun value ->
|
|
58
|
+
* value + 10
|
|
59
|
+
* )
|
|
60
|
+
* |> Promise.map (fun value ->
|
|
61
|
+
* // value = Ok 52
|
|
62
|
+
* )
|
|
63
|
+
* </code>
|
|
64
|
+
* </example>
|
|
65
|
+
*/
|
|
66
|
+
export function mapResult(fn, a) {
|
|
67
|
+
return a.then((result_1) => Result_Map(fn, result_1));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Transform the success part of a result promise into another promise.
|
|
72
|
+
* <example>
|
|
73
|
+
* <code lang="fsharp">
|
|
74
|
+
* let multiplyBy2 (value : int) =
|
|
75
|
+
* Promise.create (fun resolve reject ->
|
|
76
|
+
* resolve (value * 2)
|
|
77
|
+
* )
|
|
78
|
+
*
|
|
79
|
+
* Promise.lift 42
|
|
80
|
+
* |> Promise.result
|
|
81
|
+
* |> Promise.bindResult (fun value ->
|
|
82
|
+
* multiplyBy2 value
|
|
83
|
+
* )
|
|
84
|
+
* |> Promise.map (fun value ->
|
|
85
|
+
* // value = Ok 84
|
|
86
|
+
* )
|
|
87
|
+
* </code>
|
|
88
|
+
* </example>
|
|
89
|
+
*/
|
|
90
|
+
export function bindResult(fn, a) {
|
|
91
|
+
return a.then((a_1) => {
|
|
92
|
+
if (a_1.tag === 1) {
|
|
93
|
+
return Promise.resolve(new FSharpResult$2(1, [a_1.fields[0]]));
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
const pr = fn(a_1.fields[0]);
|
|
97
|
+
return pr.then((ResultValue) => (new FSharpResult$2(0, [ResultValue])));
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Evaluates to <c>myPromise |> Promise.map (Result.map fn)</c>
|
|
104
|
+
* <example>
|
|
105
|
+
* <code lang="fsharp">
|
|
106
|
+
* Promise.reject -1
|
|
107
|
+
* |> Promise.result
|
|
108
|
+
* |> Promise.mapResultError (fun value ->
|
|
109
|
+
* $"%s{value} is not a valid value"
|
|
110
|
+
* )
|
|
111
|
+
* |> Promise.map (fun value ->
|
|
112
|
+
* // value = Error "-1 is not a valid value"
|
|
113
|
+
* )
|
|
114
|
+
* </code>
|
|
115
|
+
* </example>
|
|
116
|
+
*/
|
|
117
|
+
export function mapResultError(fn, a) {
|
|
118
|
+
return a.then((result_1) => Result_MapError(fn, result_1));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export class PromiseBuilder {
|
|
122
|
+
constructor() {
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function PromiseBuilder_$reflection() {
|
|
127
|
+
return class_type("Promise.PromiseBuilder", undefined, PromiseBuilder);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function PromiseBuilder_$ctor() {
|
|
131
|
+
return new PromiseBuilder();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function PromiseBuilder__For_1565554B(_, seq, body) {
|
|
135
|
+
let pr;
|
|
136
|
+
let p = Promise.resolve(undefined);
|
|
137
|
+
const enumerator = getEnumerator(seq);
|
|
138
|
+
try {
|
|
139
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
140
|
+
const a = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
141
|
+
p = ((pr = p, pr.then(() => body(a))));
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
finally {
|
|
145
|
+
disposeSafe(enumerator);
|
|
146
|
+
}
|
|
147
|
+
return p;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function PromiseBuilder__While_2044D34(this$, guard, p) {
|
|
151
|
+
if (guard()) {
|
|
152
|
+
return p.then(() => PromiseBuilder__While_2044D34(this$, guard, p));
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
return Promise.resolve(undefined);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function PromiseBuilder__TryFinally_7D49A2FD(_, p, compensation) {
|
|
160
|
+
return p.then((x) => {
|
|
161
|
+
compensation();
|
|
162
|
+
return x;
|
|
163
|
+
}).catch((er) => {
|
|
164
|
+
compensation();
|
|
165
|
+
throw er;
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function PromiseBuilder__Delay_62FBFDE1(_, generator) {
|
|
170
|
+
return {
|
|
171
|
+
then: (onSuccess, onError) => {
|
|
172
|
+
try {
|
|
173
|
+
return generator().then(onSuccess, onError);
|
|
174
|
+
}
|
|
175
|
+
catch (er) {
|
|
176
|
+
if (onError == null) {
|
|
177
|
+
return Promise.reject(er);
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
try {
|
|
181
|
+
const a = onError(er);
|
|
182
|
+
return Promise.resolve(a);
|
|
183
|
+
}
|
|
184
|
+
catch (er_1) {
|
|
185
|
+
return Promise.reject(er_1);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
catch: (onError_1) => {
|
|
191
|
+
try {
|
|
192
|
+
return generator().catch(onError_1);
|
|
193
|
+
}
|
|
194
|
+
catch (er_2) {
|
|
195
|
+
try {
|
|
196
|
+
const a_1 = onError_1(er_2);
|
|
197
|
+
return Promise.resolve(a_1);
|
|
198
|
+
}
|
|
199
|
+
catch (er_3) {
|
|
200
|
+
return Promise.reject(er_3);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export function PromiseBuilder__Run_212F1D4B(_, p) {
|
|
208
|
+
return p.then((x) => x);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export function PromiseBuilder__Using_74F7E79D(this$, resource, binder) {
|
|
212
|
+
return PromiseBuilder__TryFinally_7D49A2FD(this$, binder(resource), () => {
|
|
213
|
+
let copyOfStruct = resource;
|
|
214
|
+
disposeSafe(copyOfStruct);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[<AutoOpen>]
|
|
2
|
+
module PromiseImpl
|
|
3
|
+
|
|
4
|
+
let promise = Promise.PromiseBuilder()
|
|
5
|
+
|
|
6
|
+
[<RequireQualifiedAccess>]
|
|
7
|
+
module SettledValue =
|
|
8
|
+
|
|
9
|
+
/// <summary>
|
|
10
|
+
/// Helper functionm to convert a settled result into an F# result
|
|
11
|
+
/// </summary>
|
|
12
|
+
/// <param name="p">The settled result</param>
|
|
13
|
+
/// <typeparam name="'T"></typeparam>
|
|
14
|
+
/// <returns>The F# result</returns>
|
|
15
|
+
/// <example>
|
|
16
|
+
/// <code lang="fsharp">
|
|
17
|
+
/// Promise.allSettled [success; rejection]
|
|
18
|
+
/// |> Promise.iter (fun results ->
|
|
19
|
+
/// for result in results do
|
|
20
|
+
/// match SettledValue.toResult result with
|
|
21
|
+
/// | Ok value ->
|
|
22
|
+
/// printfn "Success: %A" value
|
|
23
|
+
/// | Error err ->
|
|
24
|
+
/// eprintfn "Error: %O" err
|
|
25
|
+
/// )
|
|
26
|
+
/// </code>
|
|
27
|
+
/// </example>
|
|
28
|
+
let toResult (p: Promise.SettledValue<'T>) =
|
|
29
|
+
match p.status with
|
|
30
|
+
| Promise.Fulfilled -> Ok p.value.Value
|
|
31
|
+
| Promise.Rejected -> Error p.reason.Value
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PromiseBuilder_$ctor } from "./Promise.fs.js";
|
|
2
|
+
import { value } from "../fable-library-js.4.24.0/Option.js";
|
|
3
|
+
import { FSharpResult$2 } from "../fable-library-js.4.24.0/Result.js";
|
|
4
|
+
|
|
5
|
+
export const promise = PromiseBuilder_$ctor();
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Helper functionm to convert a settled result into an F# result
|
|
9
|
+
*/
|
|
10
|
+
export function SettledValue_toResult(p) {
|
|
11
|
+
const matchValue = p.status;
|
|
12
|
+
if (matchValue === "rejected") {
|
|
13
|
+
return new FSharpResult$2(1, [value(p.reason)]);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
return new FSharpResult$2(0, [value(p.value)]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { fromContinuations } from "../fable-library-js.4.
|
|
1
|
+
import { fromContinuations } from "../fable-library-js.4.24.0/Async.js";
|
|
2
2
|
import { HttpResponse, ResponseContent, HttpRequest, BodyContent, HttpMethod, Header } from "./Types.fs.js";
|
|
3
|
-
import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.
|
|
4
|
-
import { ofArray, empty as empty_1 } from "../fable-library-js.4.
|
|
5
|
-
import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.
|
|
6
|
-
import { join, split, isNullOrEmpty } from "../fable-library-js.4.
|
|
7
|
-
import { choose } from "../fable-library-js.4.
|
|
8
|
-
import { some } from "../fable-library-js.4.
|
|
9
|
-
import { singleton as singleton_1 } from "../fable-library-js.4.
|
|
3
|
+
import { tail, head, isEmpty, ofArray as ofArray_1, singleton, append, empty } from "../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { ofArray, empty as empty_1 } from "../fable-library-js.4.24.0/Map.js";
|
|
5
|
+
import { disposeSafe, getEnumerator, comparePrimitives } from "../fable-library-js.4.24.0/Util.js";
|
|
6
|
+
import { join, split, isNullOrEmpty } from "../fable-library-js.4.24.0/String.js";
|
|
7
|
+
import { choose } from "../fable-library-js.4.24.0/Array.js";
|
|
8
|
+
import { some } from "../fable-library-js.4.24.0/Option.js";
|
|
9
|
+
import { singleton as singleton_1 } from "../fable-library-js.4.24.0/AsyncBuilder.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Download a Blob
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Record, Union } from "../fable-library-js.4.
|
|
2
|
-
import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.
|
|
1
|
+
import { Record, Union } from "../fable-library-js.4.24.0/Types.js";
|
|
2
|
+
import { obj_type, record_type, int32_type, option_type, bool_type, list_type, class_type, string_type, union_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class HttpMethod extends Union {
|
|
5
5
|
constructor(tag, fields) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs.js
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { toString, Union } from "../../fable-library-js.4.
|
|
2
|
-
import { class_type, union_type } from "../../fable-library-js.4.
|
|
3
|
-
import { map, defaultArg, unwrap } from "../../fable-library-js.4.
|
|
1
|
+
import { toString, Union } from "../../fable-library-js.4.24.0/Types.js";
|
|
2
|
+
import { class_type, union_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
|
+
import { map, defaultArg, unwrap } from "../../fable-library-js.4.24.0/Option.js";
|
|
4
4
|
import { FsAddress__get_FixedRow, FsAddress__get_FixedColumn, FsAddress__get_Address, FsAddress__Copy, CellReference_indexToColAdress, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
5
|
-
import { parse as parse_3 } from "../../fable-library-js.4.
|
|
6
|
-
import Decimal from "../../fable-library-js.4.
|
|
7
|
-
import { parse } from "../../fable-library-js.4.
|
|
8
|
-
import { parse as parse_1 } from "../../fable-library-js.4.
|
|
9
|
-
import { toUInt64, toInt64 } from "../../fable-library-js.4.
|
|
10
|
-
import { parse as parse_2 } from "../../fable-library-js.4.
|
|
11
|
-
import { parse as parse_4 } from "../../fable-library-js.4.
|
|
12
|
-
import { parse as parse_5 } from "../../fable-library-js.4.
|
|
13
|
-
import { parse as parse_6 } from "../../fable-library-js.4.
|
|
14
|
-
import { forAll } from "../../fable-library-js.4.
|
|
15
|
-
import { equals } from "../../fable-library-js.4.
|
|
5
|
+
import { parse as parse_3 } from "../../fable-library-js.4.24.0/Decimal.js";
|
|
6
|
+
import Decimal from "../../fable-library-js.4.24.0/Decimal.js";
|
|
7
|
+
import { parse } from "../../fable-library-js.4.24.0/Double.js";
|
|
8
|
+
import { parse as parse_1 } from "../../fable-library-js.4.24.0/Int32.js";
|
|
9
|
+
import { toUInt64, toInt64 } from "../../fable-library-js.4.24.0/BigInt.js";
|
|
10
|
+
import { parse as parse_2 } from "../../fable-library-js.4.24.0/Long.js";
|
|
11
|
+
import { parse as parse_4 } from "../../fable-library-js.4.24.0/Date.js";
|
|
12
|
+
import { parse as parse_5 } from "../../fable-library-js.4.24.0/Guid.js";
|
|
13
|
+
import { parse as parse_6 } from "../../fable-library-js.4.24.0/Char.js";
|
|
14
|
+
import { forAll } from "../../fable-library-js.4.24.0/Seq.js";
|
|
15
|
+
import { equals } from "../../fable-library-js.4.24.0/Util.js";
|
|
16
16
|
|
|
17
17
|
export class DataType extends Union {
|
|
18
18
|
constructor(tag, fields) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { addToSet, addToDict, getItemFromDict } from "../../fable-library-js.4.
|
|
2
|
-
import { some } from "../../fable-library-js.4.
|
|
3
|
-
import { class_type } from "../../fable-library-js.4.
|
|
4
|
-
import { minBy, min, singleton, empty, delay, collect, max, isEmpty, iterate, map } from "../../fable-library-js.4.
|
|
1
|
+
import { addToSet, addToDict, getItemFromDict } from "../../fable-library-js.4.24.0/MapUtil.js";
|
|
2
|
+
import { some } from "../../fable-library-js.4.24.0/Option.js";
|
|
3
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
4
|
+
import { minBy, min, singleton, empty, delay, collect, max, isEmpty, iterate, map } from "../../fable-library-js.4.24.0/Seq.js";
|
|
5
5
|
import { FsAddress_$ctor_Z37302880, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
|
|
6
|
-
import { comparePrimitives } from "../../fable-library-js.4.
|
|
7
|
-
import { rangeDouble } from "../../fable-library-js.4.
|
|
6
|
+
import { comparePrimitives } from "../../fable-library-js.4.24.0/Util.js";
|
|
7
|
+
import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
|
|
8
8
|
|
|
9
9
|
export function Dictionary_tryGet(k, dict) {
|
|
10
10
|
if (dict.has(k)) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs.js
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { toString, Union } from "../../fable-library-js.4.
|
|
2
|
-
import { class_type, union_type, char_type } from "../../fable-library-js.4.
|
|
1
|
+
import { toString, Union } from "../../fable-library-js.4.24.0/Types.js";
|
|
2
|
+
import { class_type, union_type, char_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
3
|
import { DataType } from "../Cells/FsCell.fs.js";
|
|
4
|
-
import { head, tail, isEmpty, append, empty, map, reduce } from "../../fable-library-js.4.
|
|
4
|
+
import { head, tail, isEmpty, append, empty, map, reduce } from "../../fable-library-js.4.24.0/List.js";
|
|
5
5
|
import { SheetEntity$1__get_Messages, Message__MapText_11D407F6, SheetEntity$1 } from "./Types.fs.js";
|
|
6
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
6
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
7
7
|
import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
|
|
8
8
|
|
|
9
9
|
export class ReduceOperation extends Union {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
5
5
|
import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
|
|
6
6
|
|
|
7
7
|
export class ColumnBuilder {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1 } from "./Types.fs.js";
|
|
3
|
-
import { singleton } from "../../fable-library-js.4.
|
|
3
|
+
import { singleton } from "../../fable-library-js.4.24.0/List.js";
|
|
4
4
|
|
|
5
5
|
export class DSL {
|
|
6
6
|
constructor() {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
5
5
|
import { OptionalSource$1__get_Source, RequiredSource$1__get_Source, OptionalSource$1_$ctor_2B595, RequiredSource$1_$ctor_2B595 } from "./Expression.fs.js";
|
|
6
6
|
|
|
7
7
|
export class RowBuilder {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
5
5
|
|
|
6
6
|
export class SheetBuilder {
|
|
7
7
|
constructor(name) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
5
5
|
|
|
6
6
|
export class TableBuilder {
|
|
7
7
|
constructor(name) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs.js
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { choose, transpose, map, iterateIndexed, iterate, ofArrayWithTail, empty, reverse, singleton, tail as tail_25, cons, head, isEmpty } from "../../fable-library-js.4.
|
|
1
|
+
import { choose, transpose, map, iterateIndexed, iterate, ofArrayWithTail, empty, reverse, singleton, tail as tail_25, cons, head, isEmpty } from "../../fable-library-js.4.24.0/List.js";
|
|
2
2
|
import { RowIndex__get_Index, ColumnIndex__get_Index, TableElement__get_IsColumn, SheetElement } from "./Types.fs.js";
|
|
3
|
-
import { toString } from "../../fable-library-js.4.
|
|
3
|
+
import { toString } from "../../fable-library-js.4.24.0/Types.js";
|
|
4
4
|
import { FsRangeColumn__Cell_Z4232C216 } from "../Ranges/FsRangeColumn.fs.js";
|
|
5
5
|
import { FsTableField__get_Column } from "../Tables/FsTableField.fs.js";
|
|
6
|
-
import { add, FSharpSet__Contains, ofSeq } from "../../fable-library-js.4.
|
|
7
|
-
import { comparePrimitives } from "../../fable-library-js.4.
|
|
8
|
-
import { max } from "../../fable-library-js.4.
|
|
6
|
+
import { add, FSharpSet__Contains, ofSeq } from "../../fable-library-js.4.24.0/Set.js";
|
|
7
|
+
import { comparePrimitives } from "../../fable-library-js.4.24.0/Util.js";
|
|
8
|
+
import { max } from "../../fable-library-js.4.24.0/Seq.js";
|
|
9
9
|
import { FsCellsCollection__get_MaxRowNumber } from "../Cells/FsCellsCollection.fs.js";
|
|
10
10
|
import { FsRangeAddress_$ctor_7E77A4A0 } from "../Ranges/FsRangeAddress.fs.js";
|
|
11
11
|
import { FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
12
|
-
import { toText, printf, toFail } from "../../fable-library-js.4.
|
|
12
|
+
import { toText, printf, toFail } from "../../fable-library-js.4.24.0/String.js";
|
|
13
13
|
import { FsWorkbook } from "../FsWorkbook.fs.js";
|
|
14
14
|
import { FsWorksheet } from "../FsWorksheet.fs.js";
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Union } from "../../fable-library-js.4.
|
|
2
|
-
import { tuple_type, obj_type, int32_type, list_type, union_type, class_type, string_type } from "../../fable-library-js.4.
|
|
3
|
-
import { empty, pick, exists, map, reduce } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toConsole } from "../../fable-library-js.4.
|
|
1
|
+
import { Union } from "../../fable-library-js.4.24.0/Types.js";
|
|
2
|
+
import { tuple_type, obj_type, int32_type, list_type, union_type, class_type, string_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
3
|
+
import { empty, pick, exists, map, reduce } from "../../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { printf, toConsole } from "../../fable-library-js.4.24.0/String.js";
|
|
5
5
|
import { DataType_$reflection } from "../Cells/FsCell.fs.js";
|
|
6
6
|
|
|
7
7
|
export class Message extends Union {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library-js.4.
|
|
1
|
+
import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
|
|
2
2
|
import { SheetEntity$1__get_Messages, SheetEntity$1, Message__MapText_11D407F6, SheetEntity$1_some_2B595 } from "./Types.fs.js";
|
|
3
|
-
import { append, map, empty } from "../../fable-library-js.4.
|
|
4
|
-
import { printf, toText } from "../../fable-library-js.4.
|
|
3
|
+
import { append, map, empty } from "../../fable-library-js.4.24.0/List.js";
|
|
4
|
+
import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
|
|
5
5
|
|
|
6
6
|
export class WorkbookBuilder {
|
|
7
7
|
constructor() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { toFail, printf, toText } from "../fable-library-js.4.
|
|
2
|
-
import { StringBuilder__Append_244C7CD6, StringBuilder_$ctor } from "../fable-library-js.4.
|
|
3
|
-
import { iterate } from "../fable-library-js.4.
|
|
4
|
-
import { isDigit, isLetter } from "../fable-library-js.4.
|
|
5
|
-
import { toString } from "../fable-library-js.4.
|
|
6
|
-
import { parse } from "../fable-library-js.4.
|
|
7
|
-
import { toUInt32, fromInt32, fromUInt32, op_Addition, toInt64 } from "../fable-library-js.4.
|
|
8
|
-
import { class_type } from "../fable-library-js.4.
|
|
1
|
+
import { toFail, printf, toText } from "../fable-library-js.4.24.0/String.js";
|
|
2
|
+
import { StringBuilder__Append_244C7CD6, StringBuilder_$ctor } from "../fable-library-js.4.24.0/System.Text.js";
|
|
3
|
+
import { iterate } from "../fable-library-js.4.24.0/Seq.js";
|
|
4
|
+
import { isDigit, isLetter } from "../fable-library-js.4.24.0/Char.js";
|
|
5
|
+
import { toString } from "../fable-library-js.4.24.0/Types.js";
|
|
6
|
+
import { parse } from "../fable-library-js.4.24.0/Int32.js";
|
|
7
|
+
import { toUInt32, fromInt32, fromUInt32, op_Addition, toInt64 } from "../fable-library-js.4.24.0/BigInt.js";
|
|
8
|
+
import { class_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
9
9
|
|
|
10
10
|
export const CellReference_indexRegex = /([A-Z]*)(\d*)/gu;
|
|
11
11
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FsRangeAddress__Copy, FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./Ranges/FsRangeAddress.fs.js";
|
|
2
2
|
import { FsAddress__set_ColumnNumber_Z524259A4, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "./FsAddress.fs.js";
|
|
3
3
|
import { FsCellsCollection__Add_Z21F271A4, FsCellsCollection__GetCellsInColumn_Z524259A4, FsCellsCollection_$ctor } from "./Cells/FsCellsCollection.fs.js";
|
|
4
|
-
import { exists, map, maxBy, minBy, length } from "../fable-library-js.4.
|
|
5
|
-
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library-js.4.
|
|
4
|
+
import { exists, map, maxBy, minBy, length } from "../fable-library-js.4.24.0/Seq.js";
|
|
5
|
+
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library-js.4.24.0/Util.js";
|
|
6
6
|
import { FsRangeBase_$reflection, FsRangeBase, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase__Cells_Z2740B3CA } from "./Ranges/FsRangeBase.fs.js";
|
|
7
|
-
import { class_type } from "../fable-library-js.4.
|
|
7
|
+
import { class_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
8
8
|
|
|
9
9
|
export class FsColumn extends FsRangeBase {
|
|
10
10
|
constructor(rangeAddress, cells) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FsRangeAddress__Copy, FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./Ranges/FsRangeAddress.fs.js";
|
|
2
2
|
import { FsAddress__set_RowNumber_Z524259A4, FsAddress__get_RowNumber, FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880 } from "./FsAddress.fs.js";
|
|
3
3
|
import { FsCellsCollection__Add_2E78CE33, FsCellsCollection__Add_Z21F271A4, FsCellsCollection__GetCellsInRow_Z524259A4, FsCellsCollection_$ctor } from "./Cells/FsCellsCollection.fs.js";
|
|
4
|
-
import { exists, map, maxBy, minBy, length } from "../fable-library-js.4.
|
|
5
|
-
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library-js.4.
|
|
4
|
+
import { exists, map, maxBy, minBy, length } from "../fable-library-js.4.24.0/Seq.js";
|
|
5
|
+
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library-js.4.24.0/Util.js";
|
|
6
6
|
import { FsRangeBase_$reflection, FsRangeBase, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase__Cells_Z2740B3CA } from "./Ranges/FsRangeBase.fs.js";
|
|
7
7
|
import { FsCell } from "./Cells/FsCell.fs.js";
|
|
8
|
-
import { class_type } from "../fable-library-js.4.
|
|
8
|
+
import { class_type } from "../fable-library-js.4.24.0/Reflection.js";
|
|
9
9
|
|
|
10
10
|
export class FsRow extends FsRangeBase {
|
|
11
11
|
constructor(rangeAddress, cells) {
|
package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsSpreadsheet.fableproj
RENAMED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
<PropertyGroup>
|
|
4
4
|
<TargetFrameworks>netstandard2.0</TargetFrameworks>
|
|
5
5
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
6
|
-
<FablePackageType>library</FablePackageType>
|
|
7
|
-
<PackageTags>fable-dotnet;fable-python;fable-javascript</PackageTags>
|
|
8
6
|
</PropertyGroup>
|
|
9
7
|
|
|
10
8
|
<ItemGroup>
|
|
@@ -57,9 +55,11 @@
|
|
|
57
55
|
</PropertyGroup>
|
|
58
56
|
|
|
59
57
|
<ItemGroup>
|
|
60
|
-
<PackageReference Include="Thoth.Json.Core" Version="0.
|
|
61
|
-
<PackageReference Include="Fable.Package.SDK" Version="1.0.0" />
|
|
62
|
-
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
|
|
58
|
+
<PackageReference Include="Thoth.Json.Core" Version="0.2.1" />
|
|
63
59
|
</ItemGroup>
|
|
64
60
|
|
|
61
|
+
<ItemGroup>
|
|
62
|
+
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
|
|
63
|
+
</ItemGroup>
|
|
64
|
+
|
|
65
65
|
</Project>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { collect, tryFind as tryFind_1, removeInPlace, map } from "../fable-library-js.4.
|
|
1
|
+
import { collect, tryFind as tryFind_1, removeInPlace, map } from "../fable-library-js.4.24.0/Array.js";
|
|
2
2
|
import { FsWorksheet } from "./FsWorksheet.fs.js";
|
|
3
|
-
import { tryFind, tryItem, iterate, exists } from "../fable-library-js.4.
|
|
4
|
-
import { printf, toFail } from "../fable-library-js.4.
|
|
5
|
-
import { defaultArg, value as value_1 } from "../fable-library-js.4.
|
|
6
|
-
import { safeHash, equals, defaultOf } from "../fable-library-js.4.
|
|
7
|
-
import { class_type } from "../fable-library-js.4.
|
|
3
|
+
import { tryFind, tryItem, iterate, exists } from "../fable-library-js.4.24.0/Seq.js";
|
|
4
|
+
import { printf, toFail } from "../fable-library-js.4.24.0/String.js";
|
|
5
|
+
import { defaultArg, value as value_1 } from "../fable-library-js.4.24.0/Option.js";
|
|
6
|
+
import { safeHash, equals, defaultOf } 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 FsWorkbook {
|
|
10
10
|
constructor() {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { FsCellsCollection__RemoveValueAt_Z37302880, FsCellsCollection__TryRemoveValueAt_Z37302880, FsCellsCollection__RemoveCellAt_Z37302880, FsCellsCollection__Add_2E78CE33, FsCellsCollection__Add_Z21F271A4, FsCellsCollection__Add_Z334DF64D, FsCellsCollection__TryGetCell_Z37302880, FsCellsCollection__Copy, FsCellsCollection__get_MaxColumnNumber, FsCellsCollection__get_MaxRowNumber, FsCellsCollection__GetCells, FsCellsCollection_$ctor } from "./Cells/FsCellsCollection.fs.js";
|
|
2
|
-
import { empty, maxBy, filter, exists, find, tryFind, iterate, last, head, sortBy, map } from "../fable-library-js.4.
|
|
2
|
+
import { empty, maxBy, filter, exists, find, tryFind, iterate, last, head, sortBy, map } from "../fable-library-js.4.24.0/Seq.js";
|
|
3
3
|
import { FsColumn } from "./FsColumn.fs.js";
|
|
4
|
-
import { clear, safeHash, equals, disposeSafe, getEnumerator, numberHash, comparePrimitives } from "../fable-library-js.4.
|
|
4
|
+
import { clear, safeHash, equals, disposeSafe, getEnumerator, numberHash, comparePrimitives } from "../fable-library-js.4.24.0/Util.js";
|
|
5
5
|
import { FsAddress__get_ColumnNumber, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "./FsAddress.fs.js";
|
|
6
6
|
import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./Ranges/FsRangeAddress.fs.js";
|
|
7
|
-
import { groupBy } from "../fable-library-js.4.
|
|
8
|
-
import { value as value_3, defaultArg } from "../fable-library-js.4.
|
|
7
|
+
import { groupBy } from "../fable-library-js.4.24.0/Seq2.js";
|
|
8
|
+
import { value as value_3, defaultArg } from "../fable-library-js.4.24.0/Option.js";
|
|
9
9
|
import { FsRow } from "./FsRow.fs.js";
|
|
10
|
-
import { toConsole, printf, toFail } from "../fable-library-js.4.
|
|
10
|
+
import { toConsole, printf, toFail } from "../fable-library-js.4.24.0/String.js";
|
|
11
11
|
import { FsRangeBase__set_RangeAddress_6A2513BC } from "./Ranges/FsRangeBase.fs.js";
|
|
12
|
-
import { addRangeInPlace, removeInPlace } from "../fable-library-js.4.
|
|
13
|
-
import { tryFind as tryFind_1, ofSeq } from "../fable-library-js.4.
|
|
12
|
+
import { addRangeInPlace, removeInPlace } from "../fable-library-js.4.24.0/Array.js";
|
|
13
|
+
import { tryFind as tryFind_1, ofSeq } from "../fable-library-js.4.24.0/Map.js";
|
|
14
14
|
import { FsTable } from "./Tables/FsTable.fs.js";
|
|
15
|
-
import { iterate as iterate_1 } from "../fable-library-js.4.
|
|
15
|
+
import { iterate as iterate_1 } from "../fable-library-js.4.24.0/List.js";
|
|
16
16
|
import { FsCell } 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 FsWorksheet {
|
|
20
20
|
constructor(name, fsRows, fsTables, fsCellsCollection) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { decode, encode } from "./Value.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 { int, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
4
|
-
import { defaultArg } from "../../fable-library-js.4.
|
|
4
|
+
import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
|
|
5
5
|
import { FsCell, DataType } from "../Cells/FsCell.fs.js";
|
|
6
6
|
import { FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
7
7
|
|