@nfdi4plants/arctrl 1.0.0-alpha9 → 1.0.0-beta.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 +28 -29
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcAssay.js +3 -3
- package/Contracts/Contracts.ArcInvestigation.js +3 -3
- package/Contracts/Contracts.ArcStudy.js +3 -3
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +15 -15
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +20 -20
- package/ISA/ISA/ArcTypes/ArcTableAux.js +17 -17
- package/ISA/ISA/ArcTypes/ArcTables.js +283 -279
- package/ISA/ISA/ArcTypes/ArcTypes.js +89 -373
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +5 -5
- package/ISA/ISA/Helper.js +9 -9
- package/ISA/ISA/Identifier.js +2 -2
- package/ISA/ISA/JsonTypes/AnnotationValue.js +5 -5
- package/ISA/ISA/JsonTypes/Assay.js +26 -26
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +23 -23
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +12 -12
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +12 -12
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +4 -4
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +10 -10
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +8 -8
- package/ISA/ISA/JsonTypes/Person.js +9 -9
- package/ISA/ISA/JsonTypes/Process.js +11 -11
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +14 -14
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +4 -4
- package/ISA/ISA/JsonTypes/Publication.js +8 -8
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +58 -58
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +7 -7
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/Assay.js +5 -5
- package/ISA/ISA.Json/Comment.js +5 -5
- package/ISA/ISA.Json/ConverterOptions.js +1 -1
- package/ISA/ISA.Json/Data.js +5 -5
- package/ISA/ISA.Json/Decode.js +4 -4
- package/ISA/ISA.Json/Factor.js +5 -5
- package/ISA/ISA.Json/GEncode.js +3 -3
- package/ISA/ISA.Json/Investigation.js +6 -6
- package/ISA/ISA.Json/Material.js +5 -5
- package/ISA/ISA.Json/Ontology.js +6 -6
- package/ISA/ISA.Json/Person.js +10 -10
- package/ISA/ISA.Json/Process.js +5 -5
- package/ISA/ISA.Json/Protocol.js +6 -6
- package/ISA/ISA.Json/Publication.js +4 -4
- package/ISA/ISA.Json/Study.js +6 -6
- package/ISA/ISA.Json/Validation/Fable.js +6 -6
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
- package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +19 -17
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +4 -4
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +9 -9
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +14 -14
- package/ISA/ISA.Spreadsheet/ArcAssay.js +17 -20
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +37 -37
- package/ISA/ISA.Spreadsheet/ArcStudy.js +13 -13
- package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +10 -10
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +6 -6
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +11 -11
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +9 -9
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +23 -23
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
- package/README.md +29 -253
- package/SemVer.js +7 -7
- package/Templates/Template.Json.js +12 -9
- package/Templates/Template.Spreadsheet.js +39 -23
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +5 -5
- package/WebRequest/WebRequest.js +4 -4
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.2.2.2}/Fable.Promise.fableproj +3 -4
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs +176 -0
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +143 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +4 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +4 -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.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +85 -36
- package/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js +272 -0
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +1 -0
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +21 -21
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +9 -8
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +3 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs +2 -0
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +10 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +24 -19
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +4 -4
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +20 -4
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +33 -13
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
- package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
- package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
- package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs.js +0 -240
- package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
|
@@ -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.4.1
|
|
5
|
-
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library.4.1
|
|
4
|
+
import { exists, map, maxBy, minBy, length } from "../fable-library.4.4.1/Seq.js";
|
|
5
|
+
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library.4.4.1/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.4.1
|
|
7
|
+
import { class_type } from "../fable-library.4.4.1/Reflection.js";
|
|
8
8
|
|
|
9
9
|
export class FsColumn extends FsRangeBase {
|
|
10
10
|
constructor(rangeAddress, cells) {
|
|
@@ -117,6 +117,7 @@ type FsRow (rangeAddress : FsRangeAddress, cells : FsCellsCollection)=
|
|
|
117
117
|
/// Checks if there is an FsCell at given column index of a given FsRow.
|
|
118
118
|
/// </summary>
|
|
119
119
|
/// <param name="colIndex">The number of the column where the presence of an FsCell shall be checked.</param>
|
|
120
|
+
/// <param name="row"></param>
|
|
120
121
|
static member hasCellAt colIndex (row : FsRow) =
|
|
121
122
|
row.HasCellAt colIndex
|
|
122
123
|
|
|
@@ -145,6 +146,7 @@ type FsRow (rangeAddress : FsRangeAddress, cells : FsCellsCollection)=
|
|
|
145
146
|
/// Returns the FsCell at the given columnIndex if it exists in the given FsRow. Else returns None.
|
|
146
147
|
/// </summary>
|
|
147
148
|
/// <param name="colIndex">The number of the column where the FsCell shall be retrieved.</param>
|
|
149
|
+
/// <param name="row"></param>
|
|
148
150
|
static member tryItem colIndex (row : FsRow) =
|
|
149
151
|
row.TryItem colIndex
|
|
150
152
|
|
|
@@ -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.4.1
|
|
5
|
-
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library.4.1
|
|
4
|
+
import { exists, map, maxBy, minBy, length } from "../fable-library.4.4.1/Seq.js";
|
|
5
|
+
import { toIterator, getEnumerator, comparePrimitives } from "../fable-library.4.4.1/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.4.1
|
|
8
|
+
import { class_type } from "../fable-library.4.4.1/Reflection.js";
|
|
9
9
|
|
|
10
10
|
export class FsRow extends FsRangeBase {
|
|
11
11
|
constructor(rangeAddress, cells) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { collect, tryFind as tryFind_1, removeInPlace, map } from "../fable-library.4.1
|
|
1
|
+
import { collect, tryFind as tryFind_1, removeInPlace, map } from "../fable-library.4.4.1/Array.js";
|
|
2
2
|
import { FsWorksheet } from "./FsWorksheet.fs.js";
|
|
3
|
-
import { tryFind, tryItem, iterate, exists } from "../fable-library.4.1
|
|
4
|
-
import { printf, toFail } from "../fable-library.4.1
|
|
5
|
-
import { defaultArg, value as value_1 } from "../fable-library.4.1
|
|
6
|
-
import { safeHash, equals, defaultOf } from "../fable-library.4.1
|
|
7
|
-
import { class_type } from "../fable-library.4.1
|
|
3
|
+
import { tryFind, tryItem, iterate, exists } from "../fable-library.4.4.1/Seq.js";
|
|
4
|
+
import { printf, toFail } from "../fable-library.4.4.1/String.js";
|
|
5
|
+
import { defaultArg, value as value_1 } from "../fable-library.4.4.1/Option.js";
|
|
6
|
+
import { safeHash, equals, defaultOf } from "../fable-library.4.4.1/Util.js";
|
|
7
|
+
import { class_type } from "../fable-library.4.4.1/Reflection.js";
|
|
8
8
|
|
|
9
9
|
export class FsWorkbook {
|
|
10
10
|
constructor() {
|
|
@@ -45,8 +45,8 @@ export class FsWorkbook {
|
|
|
45
45
|
}
|
|
46
46
|
AddWorksheets(sheets) {
|
|
47
47
|
const self = this;
|
|
48
|
-
iterate((
|
|
49
|
-
self.AddWorksheet(
|
|
48
|
+
iterate((sheet) => {
|
|
49
|
+
self.AddWorksheet(sheet);
|
|
50
50
|
}, sheets);
|
|
51
51
|
}
|
|
52
52
|
static addWorksheets(sheets, workbook) {
|
|
@@ -517,7 +517,16 @@ type FsWorksheet (name, ?fsRows, ?fsTables, ?fsCellsCollection) =
|
|
|
517
517
|
///
|
|
518
518
|
/// If a cell exists at the given postion, it is shoved to the right.
|
|
519
519
|
/// </summary>
|
|
520
|
-
member self.InsertValueAt(value :
|
|
520
|
+
member self.InsertValueAt(value : System.IConvertible, rowIndex, colIndex)=
|
|
521
|
+
let cell = FsCell(value)
|
|
522
|
+
self.CellCollection.Add(int32 rowIndex, int32 colIndex, cell)
|
|
523
|
+
|
|
524
|
+
/// <summary>
|
|
525
|
+
/// Adds a value at the given row- and columnIndex to the FsWorksheet.
|
|
526
|
+
///
|
|
527
|
+
/// If a cell exists at the given postion, it is shoved to the right.
|
|
528
|
+
/// </summary>
|
|
529
|
+
member self.InsertValueAt(value : obj, rowIndex, colIndex)=
|
|
521
530
|
let cell = FsCell(value)
|
|
522
531
|
self.CellCollection.Add(int32 rowIndex, int32 colIndex, cell)
|
|
523
532
|
|
|
@@ -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__GetCells, FsCellsCollection_$ctor } from "./Cells/FsCellsCollection.fs.js";
|
|
2
|
-
import { empty, maxBy, filter, exists, find, tryFind, iterate, last, head, sortBy, map } from "../fable-library.4.1
|
|
2
|
+
import { empty, maxBy, filter, exists, find, tryFind, iterate, last, head, sortBy, map } from "../fable-library.4.4.1/Seq.js";
|
|
3
3
|
import { FsColumn } from "./FsColumn.fs.js";
|
|
4
|
-
import { clear, safeHash, equals, disposeSafe, getEnumerator, numberHash, comparePrimitives } from "../fable-library.4.1
|
|
4
|
+
import { clear, safeHash, equals, disposeSafe, getEnumerator, numberHash, comparePrimitives } from "../fable-library.4.4.1/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.4.1
|
|
7
|
+
import { groupBy } from "../fable-library.4.4.1/Seq2.js";
|
|
8
8
|
import { FsRow } from "./FsRow.fs.js";
|
|
9
|
-
import { toConsole, printf, toFail } from "../fable-library.4.1
|
|
9
|
+
import { toConsole, printf, toFail } from "../fable-library.4.4.1/String.js";
|
|
10
10
|
import { FsRangeBase__set_RangeAddress_6A2513BC } from "./Ranges/FsRangeBase.fs.js";
|
|
11
|
-
import { addRangeInPlace, removeInPlace } from "../fable-library.4.1
|
|
12
|
-
import { tryFind as tryFind_1, ofSeq } from "../fable-library.4.1
|
|
13
|
-
import { value as value_3, defaultArg } from "../fable-library.4.1
|
|
11
|
+
import { addRangeInPlace, removeInPlace } from "../fable-library.4.4.1/Array.js";
|
|
12
|
+
import { tryFind as tryFind_1, ofSeq } from "../fable-library.4.4.1/Map.js";
|
|
13
|
+
import { value as value_3, defaultArg } from "../fable-library.4.4.1/Option.js";
|
|
14
14
|
import { FsTable } from "./Tables/FsTable.fs.js";
|
|
15
|
-
import { iterate as iterate_1 } from "../fable-library.4.1
|
|
15
|
+
import { iterate as iterate_1 } from "../fable-library.4.4.1/List.js";
|
|
16
16
|
import { FsCell } from "./Cells/FsCell.fs.js";
|
|
17
|
-
import { class_type } from "../fable-library.4.1
|
|
17
|
+
import { class_type } from "../fable-library.4.4.1/Reflection.js";
|
|
18
18
|
|
|
19
19
|
export class FsWorksheet {
|
|
20
20
|
constructor(name, fsRows, fsTables, fsCellsCollection) {
|
|
@@ -65,11 +65,11 @@ export class FsWorksheet {
|
|
|
65
65
|
const self = this;
|
|
66
66
|
const fcc = FsCellsCollection__Copy(self.CellCollection);
|
|
67
67
|
return new FsWorksheet(self.Name, (n = [], (iterate((r) => {
|
|
68
|
-
const
|
|
69
|
-
void (n.push(
|
|
68
|
+
const item = r.Copy();
|
|
69
|
+
void (n.push(item));
|
|
70
70
|
}, self.Rows), n)), (n_1 = [], (iterate((t) => {
|
|
71
|
-
const
|
|
72
|
-
void (n_1.push(
|
|
71
|
+
const item_1 = t.Copy();
|
|
72
|
+
void (n_1.push(item_1));
|
|
73
73
|
}, self.Tables), n_1)), fcc);
|
|
74
74
|
}
|
|
75
75
|
static copy(sheet) {
|
|
@@ -102,10 +102,10 @@ export class FsWorksheet {
|
|
|
102
102
|
return sheet.Rows;
|
|
103
103
|
}
|
|
104
104
|
static getRowAt(rowIndex, sheet) {
|
|
105
|
-
return find((
|
|
105
|
+
return find((arg) => (rowIndex === FsRow.getIndex(arg)), FsWorksheet.getRows(sheet));
|
|
106
106
|
}
|
|
107
107
|
static tryGetRowAt(rowIndex, sheet) {
|
|
108
|
-
return tryFind((
|
|
108
|
+
return tryFind((arg) => (rowIndex === FsRow.getIndex(arg)), sheet.Rows);
|
|
109
109
|
}
|
|
110
110
|
static tryGetRowAfter(rowIndex, sheet) {
|
|
111
111
|
return tryFind((r) => (r.Index >= rowIndex), sheet.Rows);
|
|
@@ -258,10 +258,10 @@ export class FsWorksheet {
|
|
|
258
258
|
return sheet.Columns;
|
|
259
259
|
}
|
|
260
260
|
static getColumnAt(columnIndex, sheet) {
|
|
261
|
-
return find((
|
|
261
|
+
return find((arg) => (columnIndex === FsColumn.getIndex(arg)), FsWorksheet.getColumns(sheet));
|
|
262
262
|
}
|
|
263
263
|
static tryGetColumnAt(columnIndex, sheet) {
|
|
264
|
-
return tryFind((
|
|
264
|
+
return tryFind((arg) => (columnIndex === FsColumn.getIndex(arg)), sheet.Columns);
|
|
265
265
|
}
|
|
266
266
|
Table(tableName, rangeAddress, showHeaderRow) {
|
|
267
267
|
const self = this;
|
|
@@ -302,8 +302,8 @@ export class FsWorksheet {
|
|
|
302
302
|
}
|
|
303
303
|
AddTables(tables) {
|
|
304
304
|
const self = this;
|
|
305
|
-
iterate_1((
|
|
306
|
-
self.AddTable(
|
|
305
|
+
iterate_1((arg) => {
|
|
306
|
+
self.AddTable(arg);
|
|
307
307
|
}, tables);
|
|
308
308
|
return self;
|
|
309
309
|
}
|
|
@@ -339,6 +339,11 @@ export class FsWorksheet {
|
|
|
339
339
|
const cell = new FsCell(value);
|
|
340
340
|
FsCellsCollection__Add_2E78CE33(self.CellCollection, rowIndex, colIndex, cell);
|
|
341
341
|
}
|
|
342
|
+
InsertValueAt(value, rowIndex, colIndex) {
|
|
343
|
+
const self = this;
|
|
344
|
+
const cell = new FsCell(value);
|
|
345
|
+
FsCellsCollection__Add_2E78CE33(self.CellCollection, rowIndex, colIndex, cell);
|
|
346
|
+
}
|
|
342
347
|
static insertValueAt(value, rowIndex, colIndex, sheet) {
|
|
343
348
|
sheet.InsertValueAt(value, rowIndex, colIndex);
|
|
344
349
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library.4.1
|
|
3
|
-
import { int32ToString, defaultOf } from "../../fable-library.4.1
|
|
2
|
+
import { class_type } from "../../fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { int32ToString, defaultOf } from "../../fable-library.4.4.1/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.4.1
|
|
6
|
+
import { printf, toText } from "../../fable-library.4.4.1/String.js";
|
|
7
7
|
import { FsRangeRow_$ctor_6A2513BC } from "./FsRangeRow.fs.js";
|
|
8
8
|
|
|
9
9
|
export class FsRange extends FsRangeBase {
|
package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library.4.1
|
|
2
|
-
import { toConsole, printf, toText } from "../../fable-library.4.1
|
|
1
|
+
import { class_type } from "../../fable-library.4.4.1/Reflection.js";
|
|
2
|
+
import { toConsole, printf, toText } from "../../fable-library.4.4.1/String.js";
|
|
3
3
|
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";
|
|
4
4
|
|
|
5
5
|
export class FsRangeAddress {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { equals, defaultOf } from "../../fable-library.4.1
|
|
2
|
-
import { class_type } from "../../fable-library.4.1
|
|
1
|
+
import { equals, defaultOf } from "../../fable-library.4.4.1/Util.js";
|
|
2
|
+
import { class_type } from "../../fable-library.4.4.1/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.4.1
|
|
6
|
+
import { printf, toFail } from "../../fable-library.4.4.1/String.js";
|
|
7
7
|
import { FsCell } from "../Cells/FsCell.fs.js";
|
|
8
8
|
|
|
9
9
|
export class FsRangeBase {
|
package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FsRangeBase__Cells_Z2740B3CA, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library.4.1
|
|
2
|
+
import { class_type } from "../../fable-library.4.4.1/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.4.1
|
|
6
|
-
import { rangeDouble } from "../../fable-library.4.1
|
|
5
|
+
import { map, toList } from "../../fable-library.4.4.1/Seq.js";
|
|
6
|
+
import { rangeDouble } from "../../fable-library.4.4.1/Range.js";
|
|
7
7
|
|
|
8
8
|
export class FsRangeColumn extends FsRangeBase {
|
|
9
9
|
constructor(rangeAddress) {
|
|
@@ -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.4.1
|
|
2
|
+
import { class_type } from "../../fable-library.4.4.1/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
|
|
|
@@ -91,11 +91,11 @@ module SheetBuilder =
|
|
|
91
91
|
let headerCell = FsCell.createEmpty()
|
|
92
92
|
for header in field.HeaderTransformers do ignore (header row headerCell)
|
|
93
93
|
|
|
94
|
-
|
|
95
94
|
let headerString =
|
|
96
|
-
if headerCell.
|
|
95
|
+
if headerCell.ValueAsString() = "" then
|
|
97
96
|
field.Hash
|
|
98
|
-
else
|
|
97
|
+
else
|
|
98
|
+
headerCell.ValueAsString()
|
|
99
99
|
|
|
100
100
|
let tableField = self.Field(headerString,cells)
|
|
101
101
|
|
|
@@ -152,7 +152,7 @@ module SheetBuilder =
|
|
|
152
152
|
let hasHeader, headerString =
|
|
153
153
|
if headerCell.Value = "" then
|
|
154
154
|
false, field.Hash
|
|
155
|
-
else true, headerCell.
|
|
155
|
+
else true, headerCell.ValueAsString()
|
|
156
156
|
|
|
157
157
|
match Dictionary.tryGetValue (headerString) headers with
|
|
158
158
|
| Some int -> int
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { disposeSafe, getEnumerator, curry2, defaultOf } from "../fable-library.4.1
|
|
2
|
-
import { addToDict, tryGetValue } from "../fable-library.4.1
|
|
3
|
-
import { Record, FSharpRef } from "../fable-library.4.1
|
|
4
|
-
import { toNullable, some } from "../fable-library.4.1
|
|
1
|
+
import { equals, disposeSafe, getEnumerator, curry2, defaultOf } from "../fable-library.4.4.1/Util.js";
|
|
2
|
+
import { addToDict, tryGetValue } from "../fable-library.4.4.1/MapUtil.js";
|
|
3
|
+
import { Record, FSharpRef } from "../fable-library.4.4.1/Types.js";
|
|
4
|
+
import { toNullable, some } from "../fable-library.4.4.1/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.4.1
|
|
7
|
-
import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library.4.1
|
|
8
|
-
import { newGuid } from "../fable-library.4.1
|
|
6
|
+
import { record_type, string_type, bool_type, option_type, float64_type, list_type, lambda_type } from "../fable-library.4.4.1/Reflection.js";
|
|
7
|
+
import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library.4.4.1/List.js";
|
|
8
|
+
import { newGuid } from "../fable-library.4.4.1/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.4.1
|
|
12
|
+
import { find, indexed } from "../fable-library.4.4.1/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";
|
|
@@ -181,7 +181,7 @@ export function FsSpreadsheet_FsTable__FsTable_Populate_526F9CF7(self, cells, da
|
|
|
181
181
|
finally {
|
|
182
182
|
disposeSafe(enumerator_2);
|
|
183
183
|
}
|
|
184
|
-
const headerString = (headerCell.
|
|
184
|
+
const headerString = (headerCell.ValueAsString() === "") ? field_1.Hash : headerCell.ValueAsString();
|
|
185
185
|
const activeCell = FsRangeColumn__Cell_Z4232C216(FsTableField__get_Column(self.Field(headerString, cells)), activeRowIndex, cells);
|
|
186
186
|
const enumerator_3 = getEnumerator(field_1.CellTransformers);
|
|
187
187
|
try {
|
|
@@ -233,7 +233,7 @@ export function FsSpreadsheet_FsWorksheet__FsWorksheet_Populate_Z2A1350BF(self,
|
|
|
233
233
|
disposeSafe(enumerator_2);
|
|
234
234
|
}
|
|
235
235
|
let index;
|
|
236
|
-
const patternInput = (headerCell.Value
|
|
236
|
+
const patternInput = equals(headerCell.Value, "") ? [false, field_1.Hash] : [true, headerCell.ValueAsString()];
|
|
237
237
|
const headerString = patternInput[1];
|
|
238
238
|
const matchValue = Dictionary_tryGetValue(headerString, headers);
|
|
239
239
|
if (matchValue == null) {
|
|
@@ -59,10 +59,26 @@ type FsTable (name : string, rangeAddress : FsRangeAddress, ?showTotalsRow : boo
|
|
|
59
59
|
/// <summary>
|
|
60
60
|
/// Returns the header row as FsRangeRow. Scans for new fieldnames.
|
|
61
61
|
/// </summary>
|
|
62
|
+
[<System.ObsoleteAttribute("Obsolete after `4.0.0`. Use TryGetHeaderRow or GetHeaderRow instead!")>]
|
|
62
63
|
member this.HeadersRow() =
|
|
63
64
|
if (not this.ShowHeaderRow) then null;
|
|
64
65
|
else
|
|
65
|
-
FsRange(base.RangeAddress).FirstRow()
|
|
66
|
+
FsRange(base.RangeAddress).FirstRow()
|
|
67
|
+
|
|
68
|
+
member this.TryGetHeaderRow(cellsCollection) =
|
|
69
|
+
match this.ShowHeaderRow with
|
|
70
|
+
| false -> None
|
|
71
|
+
| true ->
|
|
72
|
+
let rowIndex = this.RangeAddress.FirstAddress.RowNumber
|
|
73
|
+
let firstAddress = FsAddress(rowIndex, this.RangeAddress.FirstAddress.ColumnNumber)
|
|
74
|
+
let lastAddress = FsAddress(rowIndex, this.RangeAddress.LastAddress.ColumnNumber)
|
|
75
|
+
let range = FsRangeAddress (firstAddress, lastAddress)
|
|
76
|
+
FsRow(range, cellsCollection) |> Some
|
|
77
|
+
|
|
78
|
+
member this.GetHeaderRow(cellsCollection) =
|
|
79
|
+
match this.TryGetHeaderRow(cellsCollection) with
|
|
80
|
+
| Some hr -> hr
|
|
81
|
+
| None -> failwith $"""Error. Unable to get header row for table "{this.Name}" as `ShowHeaderRow` is set to `false`."""
|
|
66
82
|
|
|
67
83
|
/// <summary>
|
|
68
84
|
/// Returns the FsColumns from the FsTable.
|
|
@@ -420,10 +436,10 @@ type FsTable (name : string, rangeAddress : FsRangeAddress, ?showTotalsRow : boo
|
|
|
420
436
|
if this.ShowHeaderRow then
|
|
421
437
|
let oldFieldNames = _fieldNames
|
|
422
438
|
_fieldNames <- new Dictionary<string, FsTableField>()
|
|
423
|
-
let headersRow = this.
|
|
439
|
+
let headersRow = this.GetHeaderRow(cellsCollection);
|
|
424
440
|
let mutable cellPos = 0
|
|
425
|
-
for cell in headersRow
|
|
426
|
-
let mutable name = cell.
|
|
441
|
+
for cell in headersRow do
|
|
442
|
+
let mutable name = cell.ValueAsString() //GetString();
|
|
427
443
|
match Dictionary.tryGet name oldFieldNames with
|
|
428
444
|
| Some tableField ->
|
|
429
445
|
tableField.Index <- cellPos
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { disposeSafe, getEnumerator, comparePrimitives, int32ToString, defaultOf, equals } from "../../fable-library.4.1
|
|
1
|
+
import { disposeSafe, getEnumerator, comparePrimitives, int32ToString, defaultOf, equals } from "../../fable-library.4.4.1/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.4.1
|
|
3
|
+
import { exists, toList, choose, tryPick, tryFind, find, max, length, iterate, iterateIndexed, map, reduce, singleton, collect, delay, initialize } from "../../fable-library.4.4.1/Seq.js";
|
|
4
4
|
import { FsRange_$ctor_6A2513BC, FsRange__FirstRow } from "../Ranges/FsRange.fs.js";
|
|
5
|
-
import {
|
|
6
|
-
import { FsRangeAddress__Copy, FsRangeAddress__Union_6A2513BC, FsRangeAddress__get_LastAddress,
|
|
7
|
-
import { FsAddress__get_ColumnNumber, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
|
|
8
|
-
import { rangeDouble } from "../../fable-library.4.1.4/Range.js";
|
|
5
|
+
import { FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
|
|
6
|
+
import { FsRangeAddress__Copy, FsRangeAddress__Union_6A2513BC, FsRangeAddress__get_LastAddress, FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "../Ranges/FsRangeAddress.fs.js";
|
|
9
7
|
import { FsRow } from "../FsRow.fs.js";
|
|
8
|
+
import { FsColumn } from "../FsColumn.fs.js";
|
|
9
|
+
import { rangeDouble } from "../../fable-library.4.4.1/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.4.1
|
|
11
|
+
import { getItemFromDict, addToDict, addToSet } from "../../fable-library.4.4.1/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.4.1
|
|
15
|
-
import { defaultArg, value as value_2 } from "../../fable-library.4.1
|
|
16
|
-
import { FsRangeRow__Cells_Z2740B3CA } from "../Ranges/FsRangeRow.fs.js";
|
|
14
|
+
import { replace } from "../../fable-library.4.4.1/String.js";
|
|
15
|
+
import { defaultArg, value as value_2 } from "../../fable-library.4.4.1/Option.js";
|
|
17
16
|
import { DataType } from "../Cells/FsCell.fs.js";
|
|
18
|
-
import { class_type } from "../../fable-library.4.1
|
|
17
|
+
import { class_type } from "../../fable-library.4.4.1/Reflection.js";
|
|
19
18
|
|
|
20
19
|
export class FsTable extends FsRangeBase {
|
|
21
20
|
constructor(name, rangeAddress, showTotalsRow, showHeaderRow) {
|
|
@@ -57,6 +56,27 @@ export class FsTable extends FsRangeBase {
|
|
|
57
56
|
const this$ = this;
|
|
58
57
|
return !this$.ShowHeaderRow ? defaultOf() : FsRange__FirstRow(FsRange_$ctor_6A2513BC(FsRangeBase__get_RangeAddress(this$)));
|
|
59
58
|
}
|
|
59
|
+
TryGetHeaderRow(cellsCollection) {
|
|
60
|
+
const this$ = this;
|
|
61
|
+
const matchValue = this$.ShowHeaderRow;
|
|
62
|
+
if (matchValue) {
|
|
63
|
+
const rowIndex = FsAddress__get_RowNumber(FsRangeAddress__get_FirstAddress(FsRangeBase__get_RangeAddress(this$))) | 0;
|
|
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
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
return void 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
GetHeaderRow(cellsCollection) {
|
|
71
|
+
const this$ = this;
|
|
72
|
+
const matchValue = this$.TryGetHeaderRow(cellsCollection);
|
|
73
|
+
if (matchValue == null) {
|
|
74
|
+
throw new Error(`Error. Unable to get header row for table "${this$.Name}" as \`ShowHeaderRow\` is set to \`false\`.`);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
return matchValue;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
60
80
|
GetColumns(cellsCollection) {
|
|
61
81
|
const this$ = this;
|
|
62
82
|
return delay(() => collect((i) => singleton(new FsColumn(FsRangeAddress_$ctor_7E77A4A0(FsAddress_$ctor_Z37302880(FsAddress__get_RowNumber(FsRangeAddress__get_FirstAddress(FsRangeBase__get_RangeAddress(this$))), i), FsAddress_$ctor_Z37302880(FsAddress__get_RowNumber(FsRangeAddress__get_LastAddress(FsRangeBase__get_RangeAddress(this$))), i)), cellsCollection)), rangeDouble(FsAddress__get_ColumnNumber(FsRangeAddress__get_FirstAddress(FsRangeBase__get_RangeAddress(this$))), 1, FsAddress__get_ColumnNumber(FsRangeAddress__get_LastAddress(FsRangeBase__get_RangeAddress(this$))))));
|
|
@@ -258,11 +278,11 @@ export class FsTable extends FsRangeBase {
|
|
|
258
278
|
const oldFieldNames = this$._fieldNames;
|
|
259
279
|
this$._fieldNames = (new Map([]));
|
|
260
280
|
let cellPos = 0;
|
|
261
|
-
const enumerator = getEnumerator(
|
|
281
|
+
const enumerator = getEnumerator(this$.GetHeaderRow(cellsCollection));
|
|
262
282
|
try {
|
|
263
283
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
264
284
|
const cell = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
265
|
-
let name = cell.
|
|
285
|
+
let name = cell.ValueAsString();
|
|
266
286
|
const matchValue = Dictionary_tryGet(name, oldFieldNames);
|
|
267
287
|
if (matchValue == null) {
|
|
268
288
|
if ((name === defaultOf()) !== (name === "")) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { class_type } from "../../fable-library.4.1
|
|
2
|
-
import { equals, defaultOf } from "../../fable-library.4.1
|
|
1
|
+
import { class_type } from "../../fable-library.4.4.1/Reflection.js";
|
|
2
|
+
import { equals, defaultOf } from "../../fable-library.4.4.1/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.4.1
|
|
8
|
-
import { skip } from "../../fable-library.4.1
|
|
7
|
+
import { printf, toFail } from "../../fable-library.4.4.1/String.js";
|
|
8
|
+
import { skip } from "../../fable-library.4.4.1/Seq.js";
|
|
9
9
|
|
|
10
10
|
export class FsTableField {
|
|
11
11
|
constructor(name, index, column, totalsRowLabel, totalsRowFunction) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FsRangeRow_$reflection, FsRangeRow } from "../Ranges/FsRangeRow.fs.js";
|
|
2
|
-
import { class_type } from "../../fable-library.4.1
|
|
2
|
+
import { class_type } from "../../fable-library.4.4.1/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class FsTableRow extends FsRangeRow {
|
|
5
5
|
constructor(rangeAddress) {
|
|
@@ -10,10 +10,10 @@ open System.Reflection
|
|
|
10
10
|
[<assembly: System.Reflection.AssemblyCompanyAttribute("Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Kevin Frey, Timo Mühlhaus")>]
|
|
11
11
|
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Release")>]
|
|
12
12
|
[<assembly: System.Reflection.AssemblyDescriptionAttribute("Fable compliant Spreadsheet creation and manipulation in FSharp")>]
|
|
13
|
-
[<assembly: System.Reflection.AssemblyFileVersionAttribute("
|
|
14
|
-
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("
|
|
13
|
+
[<assembly: System.Reflection.AssemblyFileVersionAttribute("5.0.1.0")>]
|
|
14
|
+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("5.0.1")>]
|
|
15
15
|
[<assembly: System.Reflection.AssemblyProductAttribute("FsSpreadsheet")>]
|
|
16
16
|
[<assembly: System.Reflection.AssemblyTitleAttribute("FsSpreadsheet")>]
|
|
17
|
-
[<assembly: System.Reflection.AssemblyVersionAttribute("
|
|
17
|
+
[<assembly: System.Reflection.AssemblyVersionAttribute("5.0.1.0")>]
|
|
18
18
|
[<assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/CSBiology/FsSpreadsheet")>]
|
|
19
19
|
do()
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { toFail, printf, toText, join } from "../fable-library.4.1
|
|
2
|
-
import { Result_Bind, Result_Map, FSharpResult$2 } from "../fable-library.4.1
|
|
1
|
+
import { toFail, printf, toText, join } from "../fable-library.4.4.1/String.js";
|
|
2
|
+
import { Result_Bind, Result_Map, FSharpResult$2 } from "../fable-library.4.4.1/Choice.js";
|
|
3
3
|
import { Util_CachedDecoders, Util_Cache$1__GetOrAdd_43981464, CaseStrategy, Util_Casing_convert, ErrorReason } from "./Types.fs.js";
|
|
4
|
-
import { tryParse as tryParse_2 } from "../fable-library.4.1
|
|
5
|
-
import { toString as toString_12, FSharpRef } from "../fable-library.4.1
|
|
6
|
-
import { tryParse as tryParse_3 } from "../fable-library.4.1
|
|
7
|
-
import { parse, fromInt32, toUInt64, fromFloat64, toInt64, toFloat64 } from "../fable-library.4.1
|
|
8
|
-
import { tryParse as tryParse_4 } from "../fable-library.4.1
|
|
9
|
-
import { tryParse as tryParse_5 } from "../fable-library.4.1
|
|
10
|
-
import Decimal from "../fable-library.4.1
|
|
11
|
-
import { toUniversalTime, tryParse as tryParse_6, minValue } from "../fable-library.4.1
|
|
12
|
-
import { tryParse as tryParse_7, minValue as minValue_1 } from "../fable-library.4.1
|
|
13
|
-
import { tryParse as tryParse_8 } from "../fable-library.4.1
|
|
14
|
-
import { map as map_4, defaultArg, some } from "../fable-library.4.1
|
|
15
|
-
import { ofArray, toArray, map as map_1, length, singleton, append as append_1, tail as tail_1, head as head_1, isEmpty, ofSeq, empty, reverse, fold, tryLast, cons } from "../fable-library.4.1
|
|
16
|
-
import { int16ToString, numberHash, compare, comparePrimitives, uncurry3, defaultOf, uncurry2, int32ToString } from "../fable-library.4.1
|
|
17
|
-
import { map as map_2, tryFind, foldBack, fill, fold as fold_1 } from "../fable-library.4.1
|
|
18
|
-
import { contains, fold as fold_2, toList, append, reverse as reverse_1 } from "../fable-library.4.1
|
|
19
|
-
import { getGenerics, getGenericTypeDefinition, makeTuple, getTupleElements, isTuple, isGenericType, parseEnum, getEnumValues, getEnumUnderlyingType, isEnum, getElementType, isArray, isUnion, makeRecord, getRecordElements, isRecord, fullName as fullName_1, makeUnion as makeUnion_1, getUnionCaseFields, getUnionCases, name as name_3, class_type } from "../fable-library.4.1
|
|
20
|
-
import { empty as empty_1, map as map_3, tryFind as tryFind_1, add, ofSeq as ofSeq_1, ofList } from "../fable-library.4.1
|
|
21
|
-
import { ofSeq as ofSeq_2 } from "../fable-library.4.1
|
|
4
|
+
import { tryParse as tryParse_2 } from "../fable-library.4.4.1/Guid.js";
|
|
5
|
+
import { toString as toString_12, FSharpRef } from "../fable-library.4.4.1/Types.js";
|
|
6
|
+
import { tryParse as tryParse_3 } from "../fable-library.4.4.1/Int32.js";
|
|
7
|
+
import { parse, fromInt32, toUInt64, fromFloat64, toInt64, toFloat64 } from "../fable-library.4.4.1/BigInt.js";
|
|
8
|
+
import { tryParse as tryParse_4 } from "../fable-library.4.4.1/Long.js";
|
|
9
|
+
import { tryParse as tryParse_5 } from "../fable-library.4.4.1/Decimal.js";
|
|
10
|
+
import Decimal from "../fable-library.4.4.1/Decimal.js";
|
|
11
|
+
import { toUniversalTime, tryParse as tryParse_6, minValue } from "../fable-library.4.4.1/Date.js";
|
|
12
|
+
import { tryParse as tryParse_7, minValue as minValue_1 } from "../fable-library.4.4.1/DateOffset.js";
|
|
13
|
+
import { tryParse as tryParse_8 } from "../fable-library.4.4.1/TimeSpan.js";
|
|
14
|
+
import { map as map_4, defaultArg, some } from "../fable-library.4.4.1/Option.js";
|
|
15
|
+
import { ofArray, toArray, map as map_1, length, singleton, append as append_1, tail as tail_1, head as head_1, isEmpty, ofSeq, empty, reverse, fold, tryLast, cons } from "../fable-library.4.4.1/List.js";
|
|
16
|
+
import { int16ToString, numberHash, compare, comparePrimitives, uncurry3, defaultOf, uncurry2, int32ToString } from "../fable-library.4.4.1/Util.js";
|
|
17
|
+
import { map as map_2, tryFind, foldBack, fill, fold as fold_1 } from "../fable-library.4.4.1/Array.js";
|
|
18
|
+
import { contains, fold as fold_2, toList, append, reverse as reverse_1 } from "../fable-library.4.4.1/Seq.js";
|
|
19
|
+
import { getGenerics, getGenericTypeDefinition, makeTuple, getTupleElements, isTuple, isGenericType, parseEnum, getEnumValues, getEnumUnderlyingType, isEnum, getElementType, isArray, isUnion, makeRecord, getRecordElements, isRecord, fullName as fullName_1, makeUnion as makeUnion_1, getUnionCaseFields, getUnionCases, name as name_3, class_type } from "../fable-library.4.4.1/Reflection.js";
|
|
20
|
+
import { empty as empty_1, map as map_3, tryFind as tryFind_1, add, ofSeq as ofSeq_1, ofList } from "../fable-library.4.4.1/Map.js";
|
|
21
|
+
import { ofSeq as ofSeq_2 } from "../fable-library.4.4.1/Set.js";
|
|
22
22
|
|
|
23
23
|
export function Helpers_isUndefined(o) {
|
|
24
24
|
return (typeof o) === "undefined";
|
|
@@ -1526,7 +1526,7 @@ function makeUnion(extra, caseStrategy, t, name, path, values) {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
function autoDecodeRecordsAndUnions(extra, caseStrategy, isOptional, t) {
|
|
1529
|
-
let
|
|
1529
|
+
let arg;
|
|
1530
1530
|
const decoderRef = new FSharpRef(defaultOf());
|
|
1531
1531
|
let extra_1;
|
|
1532
1532
|
const matchValue = fullName_1(t);
|
|
@@ -1554,7 +1554,7 @@ function autoDecodeRecordsAndUnions(extra, caseStrategy, isOptional, t) {
|
|
|
1554
1554
|
decoder = ((path_2) => ((value_3) => (new FSharpResult$2(1, [[path_2, new ErrorReason(2, ["an extra coder for " + fullName_1(t), value_3])]]))));
|
|
1555
1555
|
}
|
|
1556
1556
|
else {
|
|
1557
|
-
throw new Error((
|
|
1557
|
+
throw new Error((arg = fullName_1(t), toText(printf("Cannot generate auto decoder for %s. Please pass an extra decoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(arg)));
|
|
1558
1558
|
}
|
|
1559
1559
|
decoderRef.contents = decoder;
|
|
1560
1560
|
return decoder;
|
|
@@ -1675,10 +1675,10 @@ function autoDecoder(extra, caseStrategy, isOptional, t) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
});
|
|
1677
1677
|
default: {
|
|
1678
|
-
const
|
|
1679
|
-
const clo_1 = toFail(printf("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can\'t use one of these types, please pass an extra decoder.\n "))(
|
|
1680
|
-
return (
|
|
1681
|
-
const clo_2 = clo_1(
|
|
1678
|
+
const arg = fullName_1(t);
|
|
1679
|
+
const clo_1 = toFail(printf("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can\'t use one of these types, please pass an extra decoder.\n "))(arg);
|
|
1680
|
+
return (arg_1) => {
|
|
1681
|
+
const clo_2 = clo_1(arg_1);
|
|
1682
1682
|
return clo_2;
|
|
1683
1683
|
};
|
|
1684
1684
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { toString as toString_1 } from "../fable-library.4.1
|
|
2
|
-
import { comparePrimitives, Lazy, disposeSafe, getEnumerator, defaultOf } from "../fable-library.4.1
|
|
3
|
-
import { empty, map as map_5, tryFind, add, toList } from "../fable-library.4.1
|
|
4
|
-
import { toString as toString_2 } from "../fable-library.4.1
|
|
5
|
-
import { toString as toString_3 } from "../fable-library.4.1
|
|
6
|
-
import { toString as toString_4 } from "../fable-library.4.1
|
|
7
|
-
import { map as map_1 } from "../fable-library.4.1
|
|
8
|
-
import { defaultArg, map as map_2, defaultArgWith, some } from "../fable-library.4.1
|
|
9
|
-
import { toString as toString_5, FSharpRef } from "../fable-library.4.1
|
|
10
|
-
import { class_type, getGenerics, getGenericTypeDefinition, getTupleFields, getTupleElements, isTuple, isGenericType, getEnumUnderlyingType, isEnum, getElementType, isArray, getUnionCaseFields, getUnionFields, isUnion, getRecordElements, getRecordField, name, isRecord, fullName as fullName_1 } from "../fable-library.4.1
|
|
11
|
-
import { fill, map as map_3 } from "../fable-library.4.1
|
|
1
|
+
import { toString as toString_1 } from "../fable-library.4.4.1/Decimal.js";
|
|
2
|
+
import { comparePrimitives, Lazy, disposeSafe, getEnumerator, defaultOf } from "../fable-library.4.4.1/Util.js";
|
|
3
|
+
import { empty, map as map_5, tryFind, add, toList } from "../fable-library.4.4.1/Map.js";
|
|
4
|
+
import { toString as toString_2 } from "../fable-library.4.4.1/BigInt.js";
|
|
5
|
+
import { toString as toString_3 } from "../fable-library.4.4.1/Date.js";
|
|
6
|
+
import { toString as toString_4 } from "../fable-library.4.4.1/TimeSpan.js";
|
|
7
|
+
import { map as map_1 } from "../fable-library.4.4.1/List.js";
|
|
8
|
+
import { defaultArg, map as map_2, defaultArgWith, some } from "../fable-library.4.4.1/Option.js";
|
|
9
|
+
import { toString as toString_5, FSharpRef } from "../fable-library.4.4.1/Types.js";
|
|
10
|
+
import { class_type, getGenerics, getGenericTypeDefinition, getTupleFields, getTupleElements, isTuple, isGenericType, getEnumUnderlyingType, isEnum, getElementType, isArray, getUnionCaseFields, getUnionFields, isUnion, getRecordElements, getRecordField, name, isRecord, fullName as fullName_1 } from "../fable-library.4.4.1/Reflection.js";
|
|
11
|
+
import { fill, map as map_3 } from "../fable-library.4.4.1/Array.js";
|
|
12
12
|
import { Util_CachedEncoders, Util_Cache$1__GetOrAdd_43981464, CaseStrategy, Util_Casing_convert } from "./Types.fs.js";
|
|
13
|
-
import { mapIndexed, map as map_4, fold } from "../fable-library.4.1
|
|
14
|
-
import { toFail, printf, toText } from "../fable-library.4.1
|
|
13
|
+
import { mapIndexed, map as map_4, fold } from "../fable-library.4.4.1/Seq.js";
|
|
14
|
+
import { toFail, printf, toText } from "../fable-library.4.4.1/String.js";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* **Description**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { empty as empty_1 } from "../fable-library.4.1
|
|
2
|
-
import { comparePrimitives } from "../fable-library.4.1
|
|
1
|
+
import { empty as empty_1 } from "../fable-library.4.4.1/Map.js";
|
|
2
|
+
import { comparePrimitives } from "../fable-library.4.4.1/Util.js";
|
|
3
3
|
import { ExtraCoders } from "./Types.fs.js";
|
|
4
4
|
|
|
5
5
|
export const empty = new ExtraCoders("", empty_1({
|