@nfdi4plants/arctrl 2.0.1 → 2.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARC.js +43 -108
- package/Contract/ARC.js +1 -1
- package/Contract/ArcAssay.js +37 -14
- package/Contract/ArcInvestigation.js +4 -4
- package/Contract/ArcStudy.js +37 -14
- package/Contract/Contract.js +6 -6
- package/Contract/Datamap.js +5 -5
- package/Contract/Git.js +6 -6
- package/Contract/ValidationPackagesConfig.js +5 -5
- package/Core/ArcTypes.js +17 -17
- package/Core/Comment.js +16 -9
- package/Core/CommentList.js +6 -6
- package/Core/Conversion.js +64 -64
- package/Core/Data.js +11 -11
- package/Core/DataContext.js +4 -4
- package/Core/DataFile.js +2 -2
- package/Core/DataMap.js +4 -4
- package/Core/Helper/Collections.js +11 -11
- package/Core/Helper/HashCodes.js +5 -5
- package/Core/Helper/Identifier.js +9 -9
- package/Core/Helper/Regex.js +38 -38
- package/Core/Helper/SemVer.js +8 -8
- package/Core/OntologyAnnotation.js +11 -11
- package/Core/OntologySourceReference.js +4 -4
- package/Core/Person.js +11 -11
- package/Core/Process/ColumnIndex.js +7 -7
- package/Core/Process/Component.js +10 -10
- package/Core/Process/Factor.js +6 -6
- package/Core/Process/FactorValue.js +10 -10
- package/Core/Process/Material.js +5 -5
- package/Core/Process/MaterialAttribute.js +4 -4
- package/Core/Process/MaterialAttributeValue.js +10 -10
- package/Core/Process/MaterialType.js +2 -2
- package/Core/Process/Process.js +19 -19
- package/Core/Process/ProcessInput.js +16 -16
- package/Core/Process/ProcessOutput.js +16 -16
- package/Core/Process/ProcessParameterValue.js +10 -10
- package/Core/Process/ProcessSequence.js +6 -6
- package/Core/Process/Protocol.js +5 -5
- package/Core/Process/ProtocolParameter.js +4 -4
- package/Core/Process/Sample.js +5 -5
- package/Core/Process/Source.js +5 -5
- package/Core/Publication.js +10 -10
- package/Core/Table/ArcTable.js +35 -28
- package/Core/Table/ArcTableAux.js +22 -22
- package/Core/Table/ArcTables.js +14 -14
- package/Core/Table/CompositeCell.js +6 -6
- package/Core/Table/CompositeColumn.js +5 -5
- package/Core/Table/CompositeHeader.js +9 -9
- package/Core/Template.js +7 -7
- package/Core/Templates.js +8 -8
- package/Core/Value.js +11 -11
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +14 -14
- package/FileSystem/Path.js +3 -3
- package/Json/ARC.js +21 -15
- package/Json/Assay.js +108 -169
- package/Json/Comment.js +84 -122
- package/Json/ConverterOptions.js +2 -2
- package/Json/Data.js +100 -107
- package/Json/DataFile.js +22 -57
- package/Json/DataMap/DataContext.js +25 -16
- package/Json/DataMap/DataMap.js +11 -7
- package/Json/Decode.js +11 -14
- package/Json/Encode.js +24 -13
- package/Json/IDTable.js +14 -3
- package/Json/Investigation.js +194 -176
- package/Json/OntologyAnnotation.js +113 -127
- package/Json/OntologySourceReference.js +93 -111
- package/Json/Person.js +204 -135
- package/Json/Process/AssayMaterials.js +12 -14
- package/Json/Process/Component.js +23 -68
- package/Json/Process/Factor.js +28 -46
- package/Json/Process/FactorValue.js +28 -50
- package/Json/Process/Material.js +56 -83
- package/Json/Process/MaterialAttribute.js +23 -45
- package/Json/Process/MaterialAttributeValue.js +28 -71
- package/Json/Process/MaterialType.js +17 -35
- package/Json/Process/Process.js +70 -85
- package/Json/Process/ProcessInput.js +18 -45
- package/Json/Process/ProcessOutput.js +15 -63
- package/Json/Process/ProcessParameterValue.js +21 -70
- package/Json/Process/Protocol.js +80 -83
- package/Json/Process/ProtocolParameter.js +23 -44
- package/Json/Process/Sample.js +66 -93
- package/Json/Process/Source.js +54 -81
- package/Json/Process/StudyMaterials.js +13 -15
- package/Json/Process/Value.js +19 -29
- package/Json/PropertyValue.js +86 -28
- package/Json/Publication.js +92 -115
- package/Json/ROCrateObject.js +146 -0
- package/Json/StringTable.js +27 -10
- package/Json/Study.js +193 -182
- package/Json/Table/ArcTable.js +119 -115
- package/Json/Table/CellTable.js +24 -11
- package/Json/Table/CompositeCell.js +40 -41
- package/Json/Table/CompositeHeader.js +24 -36
- package/Json/Table/IOType.js +9 -31
- package/Json/Table/OATable.js +23 -10
- package/Json/Table/Templates.js +82 -90
- package/Json/context/rocrate/isa_assay_context.js +60 -4
- package/Json/context/rocrate/isa_comment_context.js +28 -4
- package/Json/context/rocrate/isa_component_context.js +44 -4
- package/Json/context/rocrate/isa_data_context.js +40 -4
- package/Json/context/rocrate/isa_factor_context.js +40 -4
- package/Json/context/rocrate/isa_factor_value_context.js +52 -4
- package/Json/context/rocrate/isa_investigation_context.js +68 -4
- package/Json/context/rocrate/isa_material_attribute_context.js +32 -4
- package/Json/context/rocrate/isa_material_attribute_value_context.js +48 -4
- package/Json/context/rocrate/isa_material_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_annotation_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +40 -4
- package/Json/context/rocrate/isa_organization_context.js +24 -4
- package/Json/context/rocrate/isa_person_context.js +85 -5
- package/Json/context/rocrate/isa_process_context.js +56 -4
- package/Json/context/rocrate/isa_process_parameter_value_context.js +48 -4
- package/Json/context/rocrate/isa_protocol_context.js +60 -4
- package/Json/context/rocrate/isa_protocol_parameter_context.js +32 -4
- package/Json/context/rocrate/isa_publication_context.js +44 -4
- package/Json/context/rocrate/isa_sample_context.js +32 -4
- package/Json/context/rocrate/isa_source_context.js +32 -4
- package/Json/context/rocrate/isa_study_context.js +72 -4
- package/Json/context/rocrate/property_value_context.js +58 -2
- package/Json/context/rocrate/rocrate_context.js +45 -5
- package/Json.js +12 -12
- package/JsonIO/ARC.js +31 -0
- package/JsonIO/Assay.js +99 -0
- package/JsonIO/Comment.js +73 -0
- package/JsonIO/Data.js +50 -0
- package/JsonIO/DataFile.js +49 -0
- package/JsonIO/DataMap/DataMap.js +29 -0
- package/JsonIO/Decode.js +4 -0
- package/JsonIO/Investigation.js +99 -0
- package/JsonIO/OntologyAnnotation.js +73 -0
- package/JsonIO/OntologySourceReference.js +73 -0
- package/JsonIO/Person.js +74 -0
- package/JsonIO/Process/Component.js +50 -0
- package/JsonIO/Process/Factor.js +28 -0
- package/JsonIO/Process/FactorValue.js +29 -0
- package/JsonIO/Process/Material.js +50 -0
- package/JsonIO/Process/MaterialAttribute.js +29 -0
- package/JsonIO/Process/MaterialAttributeValue.js +50 -0
- package/JsonIO/Process/MaterialType.js +28 -0
- package/JsonIO/Process/Process.js +50 -0
- package/JsonIO/Process/ProcessInput.js +29 -0
- package/JsonIO/Process/ProcessOutput.js +50 -0
- package/JsonIO/Process/ProcessParameterValue.js +50 -0
- package/{Json → JsonIO}/Process/ProcessSequence.js +16 -16
- package/JsonIO/Process/Protocol.js +50 -0
- package/JsonIO/Process/ProtocolParameter.js +28 -0
- package/JsonIO/Process/Sample.js +50 -0
- package/JsonIO/Process/Source.js +50 -0
- package/JsonIO/Process/StudyMaterials.js +22 -0
- package/JsonIO/Process/Value.js +23 -0
- package/JsonIO/Publication.js +74 -0
- package/JsonIO/ROCrateObject.js +146 -0
- package/JsonIO/Study.js +99 -0
- package/JsonIO/Table/ArcTable.js +82 -0
- package/JsonIO/Table/CompositeCell.js +28 -0
- package/JsonIO/Table/CompositeHeader.js +28 -0
- package/{Json → JsonIO}/Table/Compression.js +20 -10
- package/JsonIO/Table/IOType.js +28 -0
- package/JsonIO/Table/Templates.js +88 -0
- package/ROCrate/ISAProfile/Assay.js +32 -0
- package/ROCrate/ISAProfile/Data.js +28 -0
- package/ROCrate/ISAProfile/Dataset.js +18 -0
- package/ROCrate/ISAProfile/Investigation.js +35 -0
- package/ROCrate/ISAProfile/LabProcess.js +32 -0
- package/ROCrate/ISAProfile/LabProtocol.js +33 -0
- package/ROCrate/ISAProfile/Person.js +35 -0
- package/ROCrate/ISAProfile/PropertyValue.js +30 -0
- package/ROCrate/ISAProfile/Sample.js +27 -0
- package/ROCrate/ISAProfile/ScholarlyArticle.js +30 -0
- package/ROCrate/ISAProfile/Study.js +35 -0
- package/ROCrate/ROCrateObject.js +61 -0
- package/Spreadsheet/AnnotationTable/ArcTable.js +16 -16
- package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +25 -25
- package/Spreadsheet/ArcAssay.js +9 -9
- package/Spreadsheet/ArcInvestigation.js +14 -14
- package/Spreadsheet/ArcStudy.js +7 -7
- package/Spreadsheet/CollectionAux.js +11 -11
- package/Spreadsheet/DataMap.js +3 -3
- package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
- package/Spreadsheet/DataMapTable/DataMapHeader.js +23 -23
- package/Spreadsheet/DataMapTable/DataMapTable.js +13 -13
- package/Spreadsheet/Metadata/Assays.js +11 -11
- package/Spreadsheet/Metadata/Comment.js +5 -5
- package/Spreadsheet/Metadata/Contacts.js +7 -7
- package/Spreadsheet/Metadata/Conversions.js +7 -7
- package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/Spreadsheet/Metadata/Factors.js +8 -8
- package/Spreadsheet/Metadata/OntologyAnnotation.js +6 -6
- package/Spreadsheet/Metadata/OntologySourceReference.js +6 -6
- package/Spreadsheet/Metadata/Protocols.js +9 -9
- package/Spreadsheet/Metadata/Publication.js +7 -7
- package/Spreadsheet/Metadata/SparseTable.js +21 -21
- package/Spreadsheet/Metadata/Study.js +12 -12
- package/Spreadsheet/Template.js +21 -21
- package/Template.Web.js +6 -6
- package/ValidationPackages/ValidationPackage.js +6 -6
- package/ValidationPackages/ValidationPackagesConfig.js +9 -9
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +9 -9
- package/Yaml/Encode.js +1 -1
- package/Yaml/ValidationPackage.js +5 -5
- package/Yaml/ValidationPackagesConfig.js +5 -5
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs +219 -0
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs.js +209 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fableproj +47 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs +310 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs.js +166 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs +162 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs.js +141 -0
- package/fable_modules/DynamicObj.4.0.0/FablePy.fs +215 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs +46 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs.js +43 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs +33 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs.js +21 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs +72 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs.js +86 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0/obj/Release → DynamicObj.4.0.0/obj/Debug}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1/obj/Debug → DynamicObj.4.0.0/obj/Release}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +6 -6
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +11 -11
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs.js +15 -15
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Operators.fs.js +6 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsSpreadsheet.fableproj +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs.js +11 -11
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Cell.fs.js +64 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Column.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Row.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Table.fs.js +30 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs.js +38 -13
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Workbook.fs.js +46 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js +33 -8
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs.js +2 -2
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs +67 -28
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs.js +79 -50
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Encode.fs +139 -54
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +192 -0
- package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +33 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs +12 -5
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs.js +2 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs +9 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs.js +16 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Encode.fs +13 -5
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +58 -0
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +28 -0
- package/fable_modules/YAMLicious.0.0.1/Decode.fs.js +17 -17
- package/fable_modules/YAMLicious.0.0.1/Encode.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Library.fs.js +1 -1
- package/fable_modules/YAMLicious.0.0.1/Persil.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/Preprocessing.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Reader.fs.js +9 -9
- package/fable_modules/YAMLicious.0.0.1/RegexActivePatterns.fs.js +36 -36
- package/fable_modules/YAMLicious.0.0.1/Writer.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/YAMLiciousTypes.fs.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.js +10 -10
- package/fable_modules/fable-library-js.4.22.0/Async.d.ts +27 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Async.js +1 -7
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.d.ts +13 -13
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.js +4 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/CHANGELOG.md +40 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.js +4 -5
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.js +31 -31
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.js +10 -10
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.js +4 -4
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.js +47 -48
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.js +3 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.js +17 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.d.ts +2 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.js +19 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/FsSpreadsheet.6.2.0/DSL/Operators.fs.js +0 -6
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Cell.fs.js +0 -38
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Column.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Row.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Table.fs.js +0 -15
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Workbook.fs.js +0 -35
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +0 -113
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +0 -28
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs +0 -20
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +0 -45
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +0 -21
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -18
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -19
- package/fable_modules/fable-library-js.4.16.0/Async.d.ts +0 -32
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Cell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Column.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Row.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Table.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Workbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.d.ts +0 -0
|
@@ -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.
|
|
4
|
-
import {
|
|
5
|
-
import { item } from "../../fable-library-js.4.
|
|
6
|
-
import { string, float, int, bool, map, oneOf } from "../../Thoth.Json.Core.0.
|
|
1
|
+
import { toString, tryParse, minValue } from "../../fable-library-js.4.22.0/Date.js";
|
|
2
|
+
import { FSharpRef } from "../../fable-library-js.4.22.0/Types.js";
|
|
3
|
+
import { FSharpResult$2 } from "../../fable-library-js.4.22.0/Result.js";
|
|
4
|
+
import { ErrorReason$1 } from "../../Thoth.Json.Core.0.4.0/Types.fs.js";
|
|
5
|
+
import { item } from "../../fable-library-js.4.22.0/Array.js";
|
|
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.22.0/List.js";
|
|
9
9
|
|
|
10
10
|
export const Decode_datetime = {
|
|
11
11
|
Decode(helpers, value) {
|
|
@@ -25,22 +25,47 @@ export const Decode_datetime = {
|
|
|
25
25
|
|
|
26
26
|
export function encode(value) {
|
|
27
27
|
if (typeof value === "string") {
|
|
28
|
-
return
|
|
28
|
+
return {
|
|
29
|
+
Encode(helpers) {
|
|
30
|
+
return helpers.encodeString(value);
|
|
31
|
+
},
|
|
32
|
+
};
|
|
29
33
|
}
|
|
30
34
|
else if (typeof value === "number") {
|
|
31
|
-
return
|
|
35
|
+
return {
|
|
36
|
+
Encode(helpers_1) {
|
|
37
|
+
return helpers_1.encodeDecimalNumber(value);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
32
40
|
}
|
|
33
41
|
else if (typeof value === "number") {
|
|
34
|
-
return
|
|
42
|
+
return {
|
|
43
|
+
Encode(helpers_2) {
|
|
44
|
+
return helpers_2.encodeSignedIntegralNumber(value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
35
47
|
}
|
|
36
48
|
else if (typeof value === "boolean") {
|
|
37
|
-
return
|
|
49
|
+
return {
|
|
50
|
+
Encode(helpers_3) {
|
|
51
|
+
return helpers_3.encodeBool(value);
|
|
52
|
+
},
|
|
53
|
+
};
|
|
38
54
|
}
|
|
39
55
|
else if (value instanceof Date) {
|
|
40
|
-
|
|
56
|
+
const value_5 = item(0, toString(value, "O", {}).split("+"));
|
|
57
|
+
return {
|
|
58
|
+
Encode(helpers_4) {
|
|
59
|
+
return helpers_4.encodeString(value_5);
|
|
60
|
+
},
|
|
61
|
+
};
|
|
41
62
|
}
|
|
42
63
|
else {
|
|
43
|
-
return
|
|
64
|
+
return {
|
|
65
|
+
Encode(helpers_5) {
|
|
66
|
+
return helpers_5.encodeNull();
|
|
67
|
+
},
|
|
68
|
+
};
|
|
44
69
|
}
|
|
45
70
|
}
|
|
46
71
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
|
|
2
|
+
import { map } from "../../fable-library-js.4.22.0/Seq.js";
|
|
3
|
+
import { decodeColumns as decodeColumns_1, encodeColumns as encodeColumns_1, decodeRows as decodeRows_1, encodeRows as encodeRows_1 } from "./Worksheet.fs.js";
|
|
4
|
+
import { seq as seq_1, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
|
|
5
|
+
import { FsWorkbook } from "../FsWorkbook.fs.js";
|
|
6
|
+
|
|
7
|
+
export function encodeRows(noNumbering, wb) {
|
|
8
|
+
const values = [["sheets", seq(map((sheet) => encodeRows_1(noNumbering, sheet), wb.GetWorksheets()))]];
|
|
9
|
+
return {
|
|
10
|
+
Encode(helpers) {
|
|
11
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers)], values);
|
|
12
|
+
return helpers.encodeObject(arg);
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const decodeRows = object((builder) => {
|
|
18
|
+
const wb = new FsWorkbook();
|
|
19
|
+
let ws;
|
|
20
|
+
const arg_1 = seq_1(decodeRows_1);
|
|
21
|
+
const objectArg = builder.Required;
|
|
22
|
+
ws = objectArg.Field("sheets", arg_1);
|
|
23
|
+
wb.AddWorksheets(ws);
|
|
24
|
+
return wb;
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function encodeColumns(noNumbering, wb) {
|
|
28
|
+
const values = [["sheets", seq(map((sheet) => encodeColumns_1(noNumbering, sheet), wb.GetWorksheets()))]];
|
|
29
|
+
return {
|
|
30
|
+
Encode(helpers) {
|
|
31
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers)], values);
|
|
32
|
+
return helpers.encodeObject(arg);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const decodeColumns = object((builder) => {
|
|
38
|
+
const wb = new FsWorkbook();
|
|
39
|
+
let ws;
|
|
40
|
+
const arg_1 = seq_1(decodeColumns_1);
|
|
41
|
+
const objectArg = builder.Required;
|
|
42
|
+
ws = objectArg.Field("sheets", arg_1);
|
|
43
|
+
wb.AddWorksheets(ws);
|
|
44
|
+
return wb;
|
|
45
|
+
});
|
|
46
|
+
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js
RENAMED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { seq } from "../../Thoth.Json.Core.0.
|
|
2
|
-
import { iterate, empty, isEmpty, append, singleton, collect, map, delay, toList } from "../../fable-library-js.4.
|
|
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.22.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.
|
|
7
|
-
import { Json } from "../../Thoth.Json.Core.0.2.1/Types.fs.js";
|
|
6
|
+
import { rangeDouble } from "../../fable-library-js.4.22.0/Range.js";
|
|
8
7
|
import { decode, encode as encode_1 } from "./Table.fs.js";
|
|
9
|
-
import { seq as seq_1, string, object } from "../../Thoth.Json.Core.0.
|
|
10
|
-
import { defaultArg } from "../../fable-library-js.4.
|
|
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.22.0/Option.js";
|
|
11
10
|
import { FsWorksheet } from "../FsWorksheet.fs.js";
|
|
12
11
|
import { decode as decode_2, encode as encode_2, encodeNoNumbers as encodeNoNumbers_1 } from "./Column.fs.js";
|
|
13
12
|
|
|
@@ -17,7 +16,20 @@ export function encodeRows(noNumbering, sheet) {
|
|
|
17
16
|
const matchValue = FsCellsCollection__TryGetCell_Z37302880(sheet.CellCollection, r, c);
|
|
18
17
|
return (matchValue == null) ? singleton(new FsCell("")) : singleton(matchValue);
|
|
19
18
|
}, rangeDouble(1, 1, sheet.MaxColumnIndex))))), rangeDouble(1, 1, sheet.MaxRowIndex))))) : seq(map(encode, sheet.Rows));
|
|
20
|
-
|
|
19
|
+
const values_1 = toList(delay(() => {
|
|
20
|
+
let value;
|
|
21
|
+
return append(singleton(["name", (value = sheet.Name, {
|
|
22
|
+
Encode(helpers) {
|
|
23
|
+
return helpers.encodeString(value);
|
|
24
|
+
},
|
|
25
|
+
})]), delay(() => append(!isEmpty(sheet.Tables) ? singleton(["tables", seq(map(encode_1, sheet.Tables))]) : empty(), delay(() => singleton(["rows", jRows])))));
|
|
26
|
+
}));
|
|
27
|
+
return {
|
|
28
|
+
Encode(helpers_1) {
|
|
29
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_1)], values_1);
|
|
30
|
+
return helpers_1.encodeObject(arg);
|
|
31
|
+
},
|
|
32
|
+
};
|
|
21
33
|
}
|
|
22
34
|
|
|
23
35
|
export const decodeRows = object((builder) => {
|
|
@@ -64,7 +76,20 @@ export function encodeColumns(noNumbering, sheet) {
|
|
|
64
76
|
const matchValue = FsCellsCollection__TryGetCell_Z37302880(sheet.CellCollection, r, c);
|
|
65
77
|
return (matchValue == null) ? singleton(new FsCell("")) : singleton(matchValue);
|
|
66
78
|
}, rangeDouble(1, 1, sheet.MaxRowIndex))))), rangeDouble(1, 1, sheet.MaxColumnIndex))))) : seq(map(encode_2, sheet.Columns));
|
|
67
|
-
|
|
79
|
+
const values_1 = toList(delay(() => {
|
|
80
|
+
let value;
|
|
81
|
+
return append(singleton(["name", (value = sheet.Name, {
|
|
82
|
+
Encode(helpers) {
|
|
83
|
+
return helpers.encodeString(value);
|
|
84
|
+
},
|
|
85
|
+
})]), delay(() => append(!isEmpty(sheet.Tables) ? singleton(["tables", seq(map(encode_1, sheet.Tables))]) : empty(), delay(() => singleton(["columns", jColumns])))));
|
|
86
|
+
}));
|
|
87
|
+
return {
|
|
88
|
+
Encode(helpers_1) {
|
|
89
|
+
const arg = map((tupledArg) => [tupledArg[0], tupledArg[1].Encode(helpers_1)], values_1);
|
|
90
|
+
return helpers_1.encodeObject(arg);
|
|
91
|
+
},
|
|
92
|
+
};
|
|
68
93
|
}
|
|
69
94
|
|
|
70
95
|
export const decodeColumns = object((builder) => {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.0/Reflection.js";
|
|
3
|
+
import { int32ToString, defaultOf } from "../../fable-library-js.4.22.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.22.0/String.js";
|
|
7
7
|
import { FsRangeRow_$ctor_6A2513BC } from "./FsRangeRow.fs.js";
|
|
8
8
|
|
|
9
9
|
export class FsRange extends FsRangeBase {
|
|
@@ -13,7 +13,7 @@ export class FsRange extends FsRangeBase {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export function FsRange_$reflection() {
|
|
16
|
-
return class_type("FsSpreadsheet.FsRange",
|
|
16
|
+
return class_type("FsSpreadsheet.FsRange", undefined, FsRange, FsRangeBase_$reflection());
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export function FsRange_$ctor_Z1F5897D9(rangeAddress, styleValue) {
|
|
@@ -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.22.0/Reflection.js";
|
|
2
|
+
import { toConsole, printf, toText } from "../../fable-library-js.4.22.0/String.js";
|
|
3
|
+
import { item } from "../../fable-library-js.4.22.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 {
|
|
@@ -17,7 +17,7 @@ export class FsRangeAddress {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export function FsRangeAddress_$reflection() {
|
|
20
|
-
return class_type("FsSpreadsheet.FsRangeAddress",
|
|
20
|
+
return class_type("FsSpreadsheet.FsRangeAddress", undefined, FsRangeAddress);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export function FsRangeAddress_$ctor_7E77A4A0(firstAddress, lastAddress) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.0/Util.js";
|
|
2
|
+
import { class_type } from "../../fable-library-js.4.22.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.22.0/String.js";
|
|
7
7
|
import { FsCell } from "../Cells/FsCell.fs.js";
|
|
8
8
|
|
|
9
9
|
export class FsRangeBase {
|
|
@@ -18,7 +18,7 @@ export class FsRangeBase {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export function FsRangeBase_$reflection() {
|
|
21
|
-
return class_type("FsSpreadsheet.FsRangeBase",
|
|
21
|
+
return class_type("FsSpreadsheet.FsRangeBase", undefined, FsRangeBase);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export function FsRangeBase_$ctor_6A2513BC(rangeAddress) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.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.22.0/Seq.js";
|
|
6
|
+
import { rangeDouble } from "../../fable-library-js.4.22.0/Range.js";
|
|
7
7
|
|
|
8
8
|
export class FsRangeColumn extends FsRangeBase {
|
|
9
9
|
constructor(rangeAddress) {
|
|
@@ -12,7 +12,7 @@ export class FsRangeColumn extends FsRangeBase {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export function FsRangeColumn_$reflection() {
|
|
15
|
-
return class_type("FsSpreadsheet.FsRangeColumn",
|
|
15
|
+
return class_type("FsSpreadsheet.FsRangeColumn", undefined, FsRangeColumn, FsRangeBase_$reflection());
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export function FsRangeColumn_$ctor_6A2513BC(rangeAddress) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.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
|
|
|
@@ -10,7 +10,7 @@ export class FsRangeRow extends FsRangeBase {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export function FsRangeRow_$reflection() {
|
|
13
|
-
return class_type("FsSpreadsheet.FsRangeRow",
|
|
13
|
+
return class_type("FsSpreadsheet.FsRangeRow", undefined, FsRangeRow, FsRangeBase_$reflection());
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export function FsRangeRow_$ctor_6A2513BC(rangeAddress) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.0/Util.js";
|
|
2
|
+
import { addToDict, tryGetValue } from "../fable-library-js.4.22.0/MapUtil.js";
|
|
3
|
+
import { Record, FSharpRef } from "../fable-library-js.4.22.0/Types.js";
|
|
4
|
+
import { toNullable, some } from "../fable-library-js.4.22.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.22.0/Reflection.js";
|
|
7
|
+
import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library-js.4.22.0/List.js";
|
|
8
|
+
import { newGuid } from "../fable-library-js.4.22.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.22.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";
|
|
@@ -25,7 +25,7 @@ export function Dictionary_tryGetValue(k, dict) {
|
|
|
25
25
|
return some(patternInput[1]);
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
|
-
return
|
|
28
|
+
return undefined;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -51,7 +51,7 @@ export function FieldMap$1_$reflection(gen0) {
|
|
|
51
51
|
|
|
52
52
|
export function FieldMap$1_empty() {
|
|
53
53
|
let copyOfStruct;
|
|
54
|
-
return new FieldMap$1(empty_1(), empty_1(),
|
|
54
|
+
return new FieldMap$1(empty_1(), empty_1(), undefined, undefined, false, (copyOfStruct = newGuid(), copyOfStruct));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export function FieldMap$1_create_Z3BCCB7EB(mapRow) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.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.22.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.22.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.22.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.22.0/String.js";
|
|
15
|
+
import { defaultArg, value as value_2 } from "../../fable-library-js.4.22.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.22.0/Reflection.js";
|
|
18
18
|
|
|
19
19
|
export class FsTable extends FsRangeBase {
|
|
20
20
|
constructor(name, rangeAddress, showTotalsRow, showHeaderRow) {
|
|
@@ -64,7 +64,7 @@ export class FsTable extends FsRangeBase {
|
|
|
64
64
|
return new FsRow(FsRangeAddress_$ctor_7E77A4A0(FsAddress_$ctor_Z37302880(rowIndex, FsAddress__get_ColumnNumber(FsRangeAddress__get_FirstAddress(FsRangeBase__get_RangeAddress(this$)))), FsAddress_$ctor_Z37302880(rowIndex, FsAddress__get_ColumnNumber(FsRangeAddress__get_LastAddress(FsRangeBase__get_RangeAddress(this$))))), cellsCollection);
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
|
-
return
|
|
67
|
+
return undefined;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
GetHeaderRow(cellsCollection) {
|
|
@@ -235,7 +235,7 @@ export class FsTable extends FsRangeBase {
|
|
|
235
235
|
return FsTableField__HeaderCell_10EBE01C(tf, cellsCollection, this$.ShowHeaderRow);
|
|
236
236
|
}
|
|
237
237
|
else {
|
|
238
|
-
return
|
|
238
|
+
return undefined;
|
|
239
239
|
}
|
|
240
240
|
}, this$._fieldNames.values());
|
|
241
241
|
}
|
|
@@ -252,7 +252,7 @@ export class FsTable extends FsRangeBase {
|
|
|
252
252
|
TryGetHeaderCellByFieldName(cellsCollection, fieldName) {
|
|
253
253
|
const this$ = this;
|
|
254
254
|
const matchValue = Dictionary_tryGet(fieldName, this$._fieldNames);
|
|
255
|
-
return (matchValue == null) ?
|
|
255
|
+
return (matchValue == null) ? undefined : FsTableField__HeaderCell_10EBE01C(matchValue, cellsCollection, this$.ShowHeaderRow);
|
|
256
256
|
}
|
|
257
257
|
static tryGetHeaderCellByFieldName(cellsCollection, fieldName, table) {
|
|
258
258
|
return table.TryGetHeaderCellByFieldName(cellsCollection, fieldName);
|
|
@@ -321,7 +321,7 @@ export class FsTable extends FsRangeBase {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
export function FsTable_$reflection() {
|
|
324
|
-
return class_type("FsSpreadsheet.FsTable",
|
|
324
|
+
return class_type("FsSpreadsheet.FsTable", undefined, FsTable, FsRangeBase_$reflection());
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
export function FsTable_$ctor_30096B47(name, rangeAddress, showTotalsRow, showHeaderRow) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.0/Reflection.js";
|
|
2
|
+
import { equals, defaultOf } from "../../fable-library-js.4.22.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.22.0/String.js";
|
|
8
|
+
import { skip } from "../../fable-library-js.4.22.0/Seq.js";
|
|
9
9
|
|
|
10
10
|
export class FsTableField {
|
|
11
11
|
constructor(name, index, column, totalsRowLabel, totalsRowFunction) {
|
|
@@ -19,7 +19,7 @@ export class FsTableField {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export function FsTableField_$reflection() {
|
|
22
|
-
return class_type("FsSpreadsheet.FsTableField",
|
|
22
|
+
return class_type("FsSpreadsheet.FsTableField", undefined, FsTableField);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export function FsTableField_$ctor_726EFFB(name, index, column, totalsRowLabel, totalsRowFunction) {
|
package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/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.22.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class FsTableRow extends FsRangeRow {
|
|
5
5
|
constructor(rangeAddress) {
|
|
@@ -8,7 +8,7 @@ export class FsTableRow extends FsRangeRow {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export function FsTableRow_$reflection() {
|
|
11
|
-
return class_type("FsSpreadsheet.FsTableRow",
|
|
11
|
+
return class_type("FsSpreadsheet.FsTableRow", undefined, FsTableRow, FsRangeRow_$reflection());
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export function FsTableRow_$ctor_6A2513BC(rangeAddress) {
|
|
@@ -80,6 +80,37 @@ module Decode =
|
|
|
80
80
|
reason
|
|
81
81
|
| _ -> "Error at: `" + path + "`\n" + reason
|
|
82
82
|
|
|
83
|
+
// Low-level API
|
|
84
|
+
module Advanced =
|
|
85
|
+
|
|
86
|
+
/// <summary>
|
|
87
|
+
/// Runs the decoder against the given JSON value.
|
|
88
|
+
///
|
|
89
|
+
/// If the decoder fails, it reports the error prefixed with the given path.
|
|
90
|
+
///
|
|
91
|
+
/// </summary>
|
|
92
|
+
/// <example>
|
|
93
|
+
/// <code lang="fsharp">
|
|
94
|
+
/// module Decode =
|
|
95
|
+
/// let fromRootValue (decoder : Decoder<'T>) =
|
|
96
|
+
/// Decode.fromValue "$" decoder
|
|
97
|
+
/// </code>
|
|
98
|
+
/// </example>
|
|
99
|
+
/// <param name="path">Path used to report the error</param>
|
|
100
|
+
/// <param name="decoder">Decoder to apply</param>
|
|
101
|
+
/// <param name="value">JSON value to decoder</param>
|
|
102
|
+
/// <returns>
|
|
103
|
+
/// Returns <c>Ok</c> if the decoder succeeds, otherwise <c>Error</c> with the error message.
|
|
104
|
+
/// </returns>
|
|
105
|
+
let fromValue
|
|
106
|
+
(helpers: IDecoderHelpers<'JsonValue>)
|
|
107
|
+
(decoder: Decoder<'T>)
|
|
108
|
+
=
|
|
109
|
+
fun value ->
|
|
110
|
+
match decoder.Decode(helpers, value) with
|
|
111
|
+
| Ok success -> Ok success
|
|
112
|
+
| Error error -> Error(errorToString helpers error)
|
|
113
|
+
|
|
83
114
|
/// <summary>
|
|
84
115
|
/// Decode a JSON string into an F# string.
|
|
85
116
|
/// </summary>
|
|
@@ -615,34 +646,6 @@ module Decode =
|
|
|
615
646
|
decoder.Decode(helpers, value) |> Result.map Some
|
|
616
647
|
}
|
|
617
648
|
|
|
618
|
-
/// <summary>
|
|
619
|
-
/// Runs the decoder against the given JSON value.
|
|
620
|
-
///
|
|
621
|
-
/// If the decoder fails, it reports the error prefixed with the given path.
|
|
622
|
-
///
|
|
623
|
-
/// </summary>
|
|
624
|
-
/// <example>
|
|
625
|
-
/// <code lang="fsharp">
|
|
626
|
-
/// module Decode =
|
|
627
|
-
/// let fromRootValue (decoder : Decoder<'T>) =
|
|
628
|
-
/// Decode.fromValue "$" decoder
|
|
629
|
-
/// </code>
|
|
630
|
-
/// </example>
|
|
631
|
-
/// <param name="path">Path used to report the error</param>
|
|
632
|
-
/// <param name="decoder">Decoder to apply</param>
|
|
633
|
-
/// <param name="value">JSON value to decoder</param>
|
|
634
|
-
/// <returns>
|
|
635
|
-
/// Returns <c>Ok</c> if the decoder succeeds, otherwise <c>Error</c> with the error message.
|
|
636
|
-
/// </returns>
|
|
637
|
-
let fromValue
|
|
638
|
-
(helpers: IDecoderHelpers<'JsonValue>)
|
|
639
|
-
(decoder: Decoder<'T>)
|
|
640
|
-
=
|
|
641
|
-
fun value ->
|
|
642
|
-
match decoder.Decode(helpers, value) with
|
|
643
|
-
| Ok success -> Ok success
|
|
644
|
-
| Error error -> Error(errorToString helpers error)
|
|
645
|
-
|
|
646
649
|
//////////////////////
|
|
647
650
|
// Data structure ///
|
|
648
651
|
////////////////////
|
|
@@ -682,6 +685,42 @@ module Decode =
|
|
|
682
685
|
("", BadPrimitive("a list", value)) |> Error
|
|
683
686
|
}
|
|
684
687
|
|
|
688
|
+
let resizeArray (decoder: Decoder<'value>) : Decoder<'value ResizeArray> =
|
|
689
|
+
{ new Decoder<'value ResizeArray> with
|
|
690
|
+
member _.Decode(helpers, value) =
|
|
691
|
+
if helpers.isArray value then
|
|
692
|
+
let tokens = helpers.asArray value
|
|
693
|
+
let mutable i = 0
|
|
694
|
+
let result = ResizeArray tokens.Length
|
|
695
|
+
let mutable error: DecoderError<_> option = None
|
|
696
|
+
|
|
697
|
+
while i < tokens.Length && error.IsNone do
|
|
698
|
+
let value = tokens.[i]
|
|
699
|
+
|
|
700
|
+
match decoder.Decode(helpers, value) with
|
|
701
|
+
| Ok value ->
|
|
702
|
+
// Setting the value via the index fails with a runtime error
|
|
703
|
+
// but because we iterate over the tokens in order, adding the value
|
|
704
|
+
// should keep the order
|
|
705
|
+
result.Add value
|
|
706
|
+
| Error er ->
|
|
707
|
+
error <-
|
|
708
|
+
Some(
|
|
709
|
+
er
|
|
710
|
+
|> Helpers.prependPath (
|
|
711
|
+
".[" + (i.ToString()) + "]"
|
|
712
|
+
)
|
|
713
|
+
)
|
|
714
|
+
|
|
715
|
+
i <- i + 1
|
|
716
|
+
|
|
717
|
+
if error.IsNone then
|
|
718
|
+
Ok(ResizeArray result)
|
|
719
|
+
else
|
|
720
|
+
Error error.Value
|
|
721
|
+
else
|
|
722
|
+
("", BadPrimitive("a ResizeArray", value)) |> Error
|
|
723
|
+
}
|
|
685
724
|
|
|
686
725
|
let seq (decoder: Decoder<'value>) : Decoder<'value seq> =
|
|
687
726
|
{ new Decoder<'value seq> with
|