@nfdi4plants/arctrl 3.0.0-beta.4 → 3.0.0-beta.6
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/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +894 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
- package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
- package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
- package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
- package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
- package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
- package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
- package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
- package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
- package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
- package/dist/ts/ts/ARC.d.ts +12 -5
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +172 -93
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +8 -1
- package/dist/ts/ts/Contract/ArcAssay.js +14 -5
- package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
- package/dist/ts/ts/Contract/ArcRun.js +19 -6
- package/dist/ts/ts/Contract/ArcStudy.js +19 -6
- package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
- package/dist/ts/ts/Contract/Contract.js +42 -1
- package/dist/ts/ts/Contract/Datamap.js +61 -17
- package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Git.js +22 -6
- package/dist/ts/ts/Contract/License.d.ts +5 -0
- package/dist/ts/ts/Contract/License.d.ts.map +1 -0
- package/dist/ts/ts/Contract/License.js +34 -0
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
- package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
- package/dist/ts/ts/Conversion.js +321 -48
- package/dist/ts/ts/Core/ArcTypes.js +216 -15
- package/dist/ts/ts/Core/Comment.js +11 -1
- package/dist/ts/ts/Core/CommentList.js +77 -2
- package/dist/ts/ts/Core/Conversion.js +123 -43
- package/dist/ts/ts/Core/Data.js +9 -2
- package/dist/ts/ts/Core/DataContext.js +19 -4
- package/dist/ts/ts/Core/DataFile.js +38 -1
- package/dist/ts/ts/Core/DataMap.js +111 -5
- package/dist/ts/ts/Core/Helper/Collections.js +106 -5
- package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
- package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
- package/dist/ts/ts/Core/Helper/Regex.js +134 -2
- package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
- package/dist/ts/ts/Core/IdentifierSetters.d.ts +3 -1
- package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
- package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
- package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
- package/dist/ts/ts/Core/Person.js +8 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
- package/dist/ts/ts/Core/Process/Component.js +37 -4
- package/dist/ts/ts/Core/Process/Factor.js +9 -4
- package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
- package/dist/ts/ts/Core/Process/Material.js +14 -4
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
- package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
- package/dist/ts/ts/Core/Process/Process.js +150 -7
- package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
- package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
- package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
- package/dist/ts/ts/Core/Process/Protocol.js +78 -4
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
- package/dist/ts/ts/Core/Process/Sample.js +21 -3
- package/dist/ts/ts/Core/Process/Source.js +13 -3
- package/dist/ts/ts/Core/Publication.js +8 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
- package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
- package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
- package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
- package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
- package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
- package/dist/ts/ts/Core/Template.js +12 -2
- package/dist/ts/ts/Core/Templates.js +8 -4
- package/dist/ts/ts/Core/Value.js +7 -3
- package/dist/ts/ts/CrossAsync.js +11 -1
- package/dist/ts/ts/FileSystem/Commit.js +18 -0
- package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
- package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +17 -3
- package/dist/ts/ts/Json/Assay.d.ts +1 -1
- package/dist/ts/ts/Json/Assay.js +28 -28
- package/dist/ts/ts/Json/Comment.js +10 -10
- package/dist/ts/ts/Json/Data.js +6 -6
- package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
- package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
- package/dist/ts/ts/Json/Decode.js +14 -9
- package/dist/ts/ts/Json/Encode.js +43 -11
- package/dist/ts/ts/Json/Investigation.js +40 -22
- package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
- package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
- package/dist/ts/ts/Json/Person.js +26 -26
- package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +27 -7
- package/dist/ts/ts/Json/Process/Factor.js +3 -3
- package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
- package/dist/ts/ts/Json/Process/Material.js +9 -9
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
- package/dist/ts/ts/Json/Process/Process.js +12 -12
- package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
- package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
- package/dist/ts/ts/Json/Process/Protocol.js +13 -13
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
- package/dist/ts/ts/Json/Process/Sample.js +14 -14
- package/dist/ts/ts/Json/Process/Source.js +9 -9
- package/dist/ts/ts/Json/Process/Value.js +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +1 -1
- package/dist/ts/ts/Json/Publication.js +6 -6
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
- package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
- package/dist/ts/ts/Json/Run.d.ts +11 -0
- package/dist/ts/ts/Json/Run.d.ts.map +1 -0
- package/dist/ts/ts/Json/Run.js +76 -0
- package/dist/ts/ts/Json/StringTable.js +1 -1
- package/dist/ts/ts/Json/Study.js +34 -34
- package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
- package/dist/ts/ts/Json/Table/CellTable.js +6 -6
- package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
- package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
- package/dist/ts/ts/Json/Table/IOType.js +1 -1
- package/dist/ts/ts/Json/Table/OATable.js +7 -7
- package/dist/ts/ts/Json/Table/Templates.js +92 -6
- package/dist/ts/ts/Json/Workflow.d.ts +11 -0
- package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/Json/Workflow.js +93 -0
- package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
- package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
- package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
- package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
- package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
- package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
- package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
- package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
- package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
- package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
- package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
- package/dist/ts/ts/Json.d.ts +34 -2
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +129 -2
- package/dist/ts/ts/JsonIO/Assay.js +15 -3
- package/dist/ts/ts/JsonIO/Investigation.js +15 -3
- package/dist/ts/ts/JsonIO/LDObject.js +17 -3
- package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
- package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
- package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Person.js +67 -0
- package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Run.js +50 -0
- package/dist/ts/ts/JsonIO/Study.js +15 -3
- package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
- package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
- package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
- package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Workflow.js +50 -0
- package/dist/ts/ts/License.d.ts +39 -0
- package/dist/ts/ts/License.d.ts.map +1 -0
- package/dist/ts/ts/License.js +123 -0
- package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
- package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
- package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
- package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
- package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
- package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
- package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
- package/dist/ts/ts/ROCrate/LDContext.js +15 -6
- package/dist/ts/ts/ROCrate/LDObject.js +53 -17
- package/dist/ts/ts/ROCrateIO.d.ts +9 -3
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +67 -14
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
- package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
- package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
- package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
- package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/Template.Web.js +5 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
- package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
- package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
- package/dist/ts/ts/Xlsx.d.ts +21 -1
- package/dist/ts/ts/Xlsx.d.ts.map +1 -1
- package/dist/ts/ts/Xlsx.js +81 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
- package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
- package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
- package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
- package/package.json +1 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
- package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
- package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
|
+
import { SheetEntity$1_some_2B595, Message__MapText_11D407F6, SheetEntity$1_NoneOptional, SheetEntity$1_Some, SheetEntity$1_NoneRequired, SheetEntity$1__get_Messages } from './Types.fs.js';
|
|
3
|
+
import { empty, map, append } from '../../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
4
|
+
import { toText, printf } from '../../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
5
|
+
import { RequiredSource$1_$ctor_2B595, OptionalSource$1_$ctor_2B595, RequiredSource$1__get_Source, OptionalSource$1__get_Source } from './Expression.fs.js';
|
|
6
|
+
|
|
7
|
+
class RowBuilder {
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function RowBuilder_$reflection() {
|
|
12
|
+
return class_type("FsSpreadsheet.DSL.RowBuilder", void 0, RowBuilder);
|
|
13
|
+
}
|
|
14
|
+
function RowBuilder_$ctor() {
|
|
15
|
+
return new RowBuilder();
|
|
16
|
+
}
|
|
17
|
+
function RowBuilder_get_Empty() {
|
|
18
|
+
return SheetEntity$1_some_2B595(empty());
|
|
19
|
+
}
|
|
20
|
+
function RowBuilder__SignMessages_3F89FFFC(this$, messages) {
|
|
21
|
+
return map((m) => {
|
|
22
|
+
let clo;
|
|
23
|
+
return Message__MapText_11D407F6(m, (clo = toText(printf("In Row: %s")), clo));
|
|
24
|
+
}, messages);
|
|
25
|
+
}
|
|
26
|
+
function RowBuilder__Combine_19F30600(this$, wx1, wx2) {
|
|
27
|
+
let matchResult, l1, l2, messages1, messages2, messages2_1, messages1_1, f1, messages1_2, messages2_2, f2, messages1_3, messages2_3, messages1_4, messages2_4;
|
|
28
|
+
switch (wx1.tag) {
|
|
29
|
+
case /* NoneRequired */
|
|
30
|
+
2: {
|
|
31
|
+
if (wx2.tag === /* NoneRequired */
|
|
32
|
+
2) {
|
|
33
|
+
matchResult = 1;
|
|
34
|
+
messages2_1 = wx2.fields[0];
|
|
35
|
+
} else {
|
|
36
|
+
matchResult = 2;
|
|
37
|
+
messages1_1 = wx1.fields[0];
|
|
38
|
+
}
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
case /* NoneOptional */
|
|
42
|
+
1: {
|
|
43
|
+
switch (wx2.tag) {
|
|
44
|
+
case /* Some */
|
|
45
|
+
0: {
|
|
46
|
+
matchResult = 4;
|
|
47
|
+
f2 = wx2.fields[0];
|
|
48
|
+
messages1_3 = wx1.fields[0];
|
|
49
|
+
messages2_3 = wx2.fields[1];
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
case /* NoneOptional */
|
|
53
|
+
1: {
|
|
54
|
+
matchResult = 5;
|
|
55
|
+
messages1_4 = wx1.fields[0];
|
|
56
|
+
messages2_4 = wx2.fields[0];
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
default: {
|
|
60
|
+
matchResult = 1;
|
|
61
|
+
messages2_1 = wx2.fields[0];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
default:
|
|
67
|
+
switch (wx2.tag) {
|
|
68
|
+
case /* NoneRequired */
|
|
69
|
+
2: {
|
|
70
|
+
matchResult = 1;
|
|
71
|
+
messages2_1 = wx2.fields[0];
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
case /* NoneOptional */
|
|
75
|
+
1: {
|
|
76
|
+
matchResult = 3;
|
|
77
|
+
f1 = wx1.fields[0];
|
|
78
|
+
messages1_2 = wx1.fields[1];
|
|
79
|
+
messages2_2 = wx2.fields[0];
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
default: {
|
|
83
|
+
matchResult = 0;
|
|
84
|
+
l1 = wx1.fields[0];
|
|
85
|
+
l2 = wx2.fields[0];
|
|
86
|
+
messages1 = wx1.fields[1];
|
|
87
|
+
messages2 = wx2.fields[1];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
switch (matchResult) {
|
|
92
|
+
case 0:
|
|
93
|
+
return SheetEntity$1_Some(append(l1, l2), append(messages1, messages2));
|
|
94
|
+
case 1:
|
|
95
|
+
return SheetEntity$1_NoneRequired(append(SheetEntity$1__get_Messages(wx1), messages2_1));
|
|
96
|
+
case 2:
|
|
97
|
+
return SheetEntity$1_NoneRequired(append(messages1_1, SheetEntity$1__get_Messages(wx2)));
|
|
98
|
+
case 3:
|
|
99
|
+
return SheetEntity$1_Some(f1, append(messages1_2, messages2_2));
|
|
100
|
+
case 4:
|
|
101
|
+
return SheetEntity$1_Some(f2, append(messages1_3, messages2_3));
|
|
102
|
+
default:
|
|
103
|
+
return SheetEntity$1_NoneOptional(append(messages1_4, messages2_4));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
function RowBuilder__Combine_ZC028CBD(this$, wx1, wx2) {
|
|
107
|
+
return RequiredSource$1_$ctor_2B595(wx2);
|
|
108
|
+
}
|
|
109
|
+
function RowBuilder__Combine_7DC18FE3(this$, wx1, wx2) {
|
|
110
|
+
return RequiredSource$1_$ctor_2B595(wx1);
|
|
111
|
+
}
|
|
112
|
+
function RowBuilder__Combine_Z1FF3C0DC(this$, wx1, wx2) {
|
|
113
|
+
return OptionalSource$1_$ctor_2B595(wx2);
|
|
114
|
+
}
|
|
115
|
+
function RowBuilder__Combine_Z47B5345C(this$, wx1, wx2) {
|
|
116
|
+
return OptionalSource$1_$ctor_2B595(wx1);
|
|
117
|
+
}
|
|
118
|
+
function RowBuilder__Combine_385AF66F(this$, wx1, wx2) {
|
|
119
|
+
return RequiredSource$1_$ctor_2B595(RowBuilder__Combine_19F30600(this$, RequiredSource$1__get_Source(wx1), wx2));
|
|
120
|
+
}
|
|
121
|
+
function RowBuilder__Combine_16FE340F(this$, wx1, wx2) {
|
|
122
|
+
return RequiredSource$1_$ctor_2B595(RowBuilder__Combine_19F30600(this$, wx1, RequiredSource$1__get_Source(wx2)));
|
|
123
|
+
}
|
|
124
|
+
function RowBuilder__Combine_Z4C077C38(this$, wx1, wx2) {
|
|
125
|
+
return OptionalSource$1_$ctor_2B595(RowBuilder__Combine_19F30600(this$, OptionalSource$1__get_Source(wx1), wx2));
|
|
126
|
+
}
|
|
127
|
+
function RowBuilder__Combine_Z23359F38(this$, wx1, wx2) {
|
|
128
|
+
return OptionalSource$1_$ctor_2B595(RowBuilder__Combine_19F30600(this$, wx1, OptionalSource$1__get_Source(wx2)));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export { RowBuilder, RowBuilder_$ctor, RowBuilder_$reflection, RowBuilder__Combine_16FE340F, RowBuilder__Combine_19F30600, RowBuilder__Combine_385AF66F, RowBuilder__Combine_7DC18FE3, RowBuilder__Combine_Z1FF3C0DC, RowBuilder__Combine_Z23359F38, RowBuilder__Combine_Z47B5345C, RowBuilder__Combine_Z4C077C38, RowBuilder__Combine_ZC028CBD, RowBuilder__SignMessages_3F89FFFC, RowBuilder_get_Empty };
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { Union } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { union_type, string_type, class_type, list_type, int32_type, tuple_type, obj_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
3
|
+
import { reduce, map, exists, pick, empty } from '../../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
4
|
+
import { toConsole, printf } from '../../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
5
|
+
import { DataType_$reflection } from '../Cells/FsCell.fs.js';
|
|
6
|
+
|
|
7
|
+
function Message_Text(Item) {
|
|
8
|
+
return new Message(0, [Item]);
|
|
9
|
+
}
|
|
10
|
+
function Message_Exception(Item) {
|
|
11
|
+
return new Message(1, [Item]);
|
|
12
|
+
}
|
|
13
|
+
class Message extends Union {
|
|
14
|
+
constructor(tag, fields) {
|
|
15
|
+
super();
|
|
16
|
+
this.tag = tag;
|
|
17
|
+
this.fields = fields;
|
|
18
|
+
}
|
|
19
|
+
cases() {
|
|
20
|
+
return ["Text", "Exception"];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function Message_$reflection() {
|
|
24
|
+
return union_type("FsSpreadsheet.DSL.Message", [], Message, () => [[["Item", string_type]], [["Item", class_type("System.Exception")]]]);
|
|
25
|
+
}
|
|
26
|
+
function Message_message_Z721C83C5(s) {
|
|
27
|
+
return Message_Text(s);
|
|
28
|
+
}
|
|
29
|
+
function Message_message_2BC701FD(e) {
|
|
30
|
+
return Message_Exception(e);
|
|
31
|
+
}
|
|
32
|
+
function Message__MapText_11D407F6(this$, m) {
|
|
33
|
+
if (this$.tag === /* Exception */
|
|
34
|
+
1) {
|
|
35
|
+
const e = this$.fields[0];
|
|
36
|
+
return this$;
|
|
37
|
+
} else {
|
|
38
|
+
return Message_Text(m(this$.fields[0]));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function Message__AsString(this$) {
|
|
42
|
+
if (this$.tag === /* Exception */
|
|
43
|
+
1) {
|
|
44
|
+
const e = this$.fields[0];
|
|
45
|
+
return e.message;
|
|
46
|
+
} else {
|
|
47
|
+
return this$.fields[0];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function Message__TryText(this$) {
|
|
51
|
+
if (this$.tag === /* Text */
|
|
52
|
+
0) {
|
|
53
|
+
return this$.fields[0];
|
|
54
|
+
} else {
|
|
55
|
+
return void 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function Message__TryException(this$) {
|
|
59
|
+
if (this$.tag === /* Exception */
|
|
60
|
+
1) {
|
|
61
|
+
return this$.fields[0];
|
|
62
|
+
} else {
|
|
63
|
+
return void 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function Message__get_IsTxt(this$) {
|
|
67
|
+
if (this$.tag === /* Text */
|
|
68
|
+
0) {
|
|
69
|
+
const s = this$.fields[0];
|
|
70
|
+
return true;
|
|
71
|
+
} else {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function Message__get_IsExc(this$) {
|
|
76
|
+
if (this$.tag === /* Text */
|
|
77
|
+
0) {
|
|
78
|
+
const s = this$.fields[0];
|
|
79
|
+
return true;
|
|
80
|
+
} else {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function Messages_format(ms) {
|
|
85
|
+
return reduce((a, b) => a + ";" + b, map(Message__AsString, ms));
|
|
86
|
+
}
|
|
87
|
+
function Messages_fail(ms) {
|
|
88
|
+
const s = Messages_format(ms);
|
|
89
|
+
if (exists(Message__get_IsExc, ms)) {
|
|
90
|
+
toConsole(printf("s"));
|
|
91
|
+
throw pick(Message__TryException, ms);
|
|
92
|
+
} else {
|
|
93
|
+
throw new Error(s);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function SheetEntity$1_Some(Item1, Item2) {
|
|
97
|
+
return new SheetEntity$1(0, [Item1, Item2]);
|
|
98
|
+
}
|
|
99
|
+
function SheetEntity$1_NoneOptional(Item) {
|
|
100
|
+
return new SheetEntity$1(1, [Item]);
|
|
101
|
+
}
|
|
102
|
+
function SheetEntity$1_NoneRequired(Item) {
|
|
103
|
+
return new SheetEntity$1(2, [Item]);
|
|
104
|
+
}
|
|
105
|
+
class SheetEntity$1 extends Union {
|
|
106
|
+
constructor(tag, fields) {
|
|
107
|
+
super();
|
|
108
|
+
this.tag = tag;
|
|
109
|
+
this.fields = fields;
|
|
110
|
+
}
|
|
111
|
+
cases() {
|
|
112
|
+
return ["Some", "NoneOptional", "NoneRequired"];
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function SheetEntity$1_$reflection(gen0) {
|
|
116
|
+
return union_type("FsSpreadsheet.DSL.SheetEntity`1", [gen0], SheetEntity$1, () => [[["Item1", gen0], ["Item2", list_type(Message_$reflection())]], [["Item", list_type(Message_$reflection())]], [["Item", list_type(Message_$reflection())]]]);
|
|
117
|
+
}
|
|
118
|
+
function SheetEntity$1_some_2B595(v) {
|
|
119
|
+
return SheetEntity$1_Some(v, empty());
|
|
120
|
+
}
|
|
121
|
+
function SheetEntity$1__get_Messages(this$) {
|
|
122
|
+
switch (this$.tag) {
|
|
123
|
+
case /* NoneOptional */
|
|
124
|
+
1:
|
|
125
|
+
return this$.fields[0];
|
|
126
|
+
case /* NoneRequired */
|
|
127
|
+
2:
|
|
128
|
+
return this$.fields[0];
|
|
129
|
+
default: {
|
|
130
|
+
const f = this$.fields[0];
|
|
131
|
+
return this$.fields[1];
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
class ColumnIndex extends Union {
|
|
136
|
+
constructor(Item) {
|
|
137
|
+
super();
|
|
138
|
+
this.tag = 0;
|
|
139
|
+
this.fields = [Item];
|
|
140
|
+
}
|
|
141
|
+
cases() {
|
|
142
|
+
return ["Col"];
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function ColumnIndex_$reflection() {
|
|
146
|
+
return union_type("FsSpreadsheet.DSL.ColumnIndex", [], ColumnIndex, () => [[["Item", int32_type]]]);
|
|
147
|
+
}
|
|
148
|
+
function ColumnIndex__get_Index(self) {
|
|
149
|
+
return self.fields[0];
|
|
150
|
+
}
|
|
151
|
+
class RowIndex extends Union {
|
|
152
|
+
constructor(Item) {
|
|
153
|
+
super();
|
|
154
|
+
this.tag = 0;
|
|
155
|
+
this.fields = [Item];
|
|
156
|
+
}
|
|
157
|
+
cases() {
|
|
158
|
+
return ["Row"];
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
function RowIndex_$reflection() {
|
|
162
|
+
return union_type("FsSpreadsheet.DSL.RowIndex", [], RowIndex, () => [[["Item", int32_type]]]);
|
|
163
|
+
}
|
|
164
|
+
function RowIndex__get_Index(self) {
|
|
165
|
+
return self.fields[0];
|
|
166
|
+
}
|
|
167
|
+
function ColumnElement_IndexedCell(Item1, Item2) {
|
|
168
|
+
return new ColumnElement(0, [Item1, Item2]);
|
|
169
|
+
}
|
|
170
|
+
function ColumnElement_UnindexedCell(Item) {
|
|
171
|
+
return new ColumnElement(1, [Item]);
|
|
172
|
+
}
|
|
173
|
+
class ColumnElement extends Union {
|
|
174
|
+
constructor(tag, fields) {
|
|
175
|
+
super();
|
|
176
|
+
this.tag = tag;
|
|
177
|
+
this.fields = fields;
|
|
178
|
+
}
|
|
179
|
+
cases() {
|
|
180
|
+
return ["IndexedCell", "UnindexedCell"];
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
function ColumnElement_$reflection() {
|
|
184
|
+
return union_type("FsSpreadsheet.DSL.ColumnElement", [], ColumnElement, () => [[["Item1", RowIndex_$reflection()], ["Item2", tuple_type(DataType_$reflection(), obj_type)]], [["Item", tuple_type(DataType_$reflection(), obj_type)]]]);
|
|
185
|
+
}
|
|
186
|
+
function RowElement_IndexedCell(Item1, Item2) {
|
|
187
|
+
return new RowElement(0, [Item1, Item2]);
|
|
188
|
+
}
|
|
189
|
+
function RowElement_UnindexedCell(Item) {
|
|
190
|
+
return new RowElement(1, [Item]);
|
|
191
|
+
}
|
|
192
|
+
class RowElement extends Union {
|
|
193
|
+
constructor(tag, fields) {
|
|
194
|
+
super();
|
|
195
|
+
this.tag = tag;
|
|
196
|
+
this.fields = fields;
|
|
197
|
+
}
|
|
198
|
+
cases() {
|
|
199
|
+
return ["IndexedCell", "UnindexedCell"];
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
function RowElement_$reflection() {
|
|
203
|
+
return union_type("FsSpreadsheet.DSL.RowElement", [], RowElement, () => [[["Item1", ColumnIndex_$reflection()], ["Item2", tuple_type(DataType_$reflection(), obj_type)]], [["Item", tuple_type(DataType_$reflection(), obj_type)]]]);
|
|
204
|
+
}
|
|
205
|
+
function TableElement_UnindexedRow(Item) {
|
|
206
|
+
return new TableElement(0, [Item]);
|
|
207
|
+
}
|
|
208
|
+
function TableElement_UnindexedColumn(Item) {
|
|
209
|
+
return new TableElement(1, [Item]);
|
|
210
|
+
}
|
|
211
|
+
class TableElement extends Union {
|
|
212
|
+
constructor(tag, fields) {
|
|
213
|
+
super();
|
|
214
|
+
this.tag = tag;
|
|
215
|
+
this.fields = fields;
|
|
216
|
+
}
|
|
217
|
+
cases() {
|
|
218
|
+
return ["UnindexedRow", "UnindexedColumn"];
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function TableElement_$reflection() {
|
|
222
|
+
return union_type("FsSpreadsheet.DSL.TableElement", [], TableElement, () => [[["Item", list_type(RowElement_$reflection())]], [["Item", list_type(ColumnElement_$reflection())]]]);
|
|
223
|
+
}
|
|
224
|
+
function TableElement__get_IsRow(this$) {
|
|
225
|
+
if (this$.tag === /* UnindexedRow */
|
|
226
|
+
0) {
|
|
227
|
+
return true;
|
|
228
|
+
} else {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
function TableElement__get_IsColumn(this$) {
|
|
233
|
+
if (this$.tag === /* UnindexedColumn */
|
|
234
|
+
1) {
|
|
235
|
+
return true;
|
|
236
|
+
} else {
|
|
237
|
+
return false;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
function SheetElement_Table(Item1, Item2) {
|
|
241
|
+
return new SheetElement(0, [Item1, Item2]);
|
|
242
|
+
}
|
|
243
|
+
function SheetElement_IndexedRow(Item1, Item2) {
|
|
244
|
+
return new SheetElement(1, [Item1, Item2]);
|
|
245
|
+
}
|
|
246
|
+
function SheetElement_UnindexedRow(Item) {
|
|
247
|
+
return new SheetElement(2, [Item]);
|
|
248
|
+
}
|
|
249
|
+
function SheetElement_IndexedColumn(Item1, Item2) {
|
|
250
|
+
return new SheetElement(3, [Item1, Item2]);
|
|
251
|
+
}
|
|
252
|
+
function SheetElement_UnindexedColumn(Item) {
|
|
253
|
+
return new SheetElement(4, [Item]);
|
|
254
|
+
}
|
|
255
|
+
function SheetElement_IndexedCell(Item1, Item2, Item3) {
|
|
256
|
+
return new SheetElement(5, [Item1, Item2, Item3]);
|
|
257
|
+
}
|
|
258
|
+
function SheetElement_UnindexedCell(Item) {
|
|
259
|
+
return new SheetElement(6, [Item]);
|
|
260
|
+
}
|
|
261
|
+
class SheetElement extends Union {
|
|
262
|
+
constructor(tag, fields) {
|
|
263
|
+
super();
|
|
264
|
+
this.tag = tag;
|
|
265
|
+
this.fields = fields;
|
|
266
|
+
}
|
|
267
|
+
cases() {
|
|
268
|
+
return ["Table", "IndexedRow", "UnindexedRow", "IndexedColumn", "UnindexedColumn", "IndexedCell", "UnindexedCell"];
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
function SheetElement_$reflection() {
|
|
272
|
+
return union_type("FsSpreadsheet.DSL.SheetElement", [], SheetElement, () => [[["Item1", string_type], ["Item2", list_type(TableElement_$reflection())]], [["Item1", RowIndex_$reflection()], ["Item2", list_type(RowElement_$reflection())]], [["Item", list_type(RowElement_$reflection())]], [["Item1", ColumnIndex_$reflection()], ["Item2", list_type(ColumnElement_$reflection())]], [["Item", list_type(ColumnElement_$reflection())]], [["Item1", RowIndex_$reflection()], ["Item2", ColumnIndex_$reflection()], ["Item3", tuple_type(DataType_$reflection(), obj_type)]], [["Item", tuple_type(DataType_$reflection(), obj_type)]]]);
|
|
273
|
+
}
|
|
274
|
+
function WorkbookElement_UnnamedSheet(Item) {
|
|
275
|
+
return new WorkbookElement(0, [Item]);
|
|
276
|
+
}
|
|
277
|
+
function WorkbookElement_NamedSheet(Item1, Item2) {
|
|
278
|
+
return new WorkbookElement(1, [Item1, Item2]);
|
|
279
|
+
}
|
|
280
|
+
class WorkbookElement extends Union {
|
|
281
|
+
constructor(tag, fields) {
|
|
282
|
+
super();
|
|
283
|
+
this.tag = tag;
|
|
284
|
+
this.fields = fields;
|
|
285
|
+
}
|
|
286
|
+
cases() {
|
|
287
|
+
return ["UnnamedSheet", "NamedSheet"];
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
function WorkbookElement_$reflection() {
|
|
291
|
+
return union_type("FsSpreadsheet.DSL.WorkbookElement", [], WorkbookElement, () => [[["Item", list_type(SheetElement_$reflection())]], [["Item1", string_type], ["Item2", list_type(SheetElement_$reflection())]]]);
|
|
292
|
+
}
|
|
293
|
+
class Workbook extends Union {
|
|
294
|
+
constructor(Item) {
|
|
295
|
+
super();
|
|
296
|
+
this.tag = 0;
|
|
297
|
+
this.fields = [Item];
|
|
298
|
+
}
|
|
299
|
+
cases() {
|
|
300
|
+
return ["Workbook"];
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
function Workbook_$reflection() {
|
|
304
|
+
return union_type("FsSpreadsheet.DSL.Workbook", [], Workbook, () => [[["Item", list_type(WorkbookElement_$reflection())]]]);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export { ColumnElement, ColumnElement_$reflection, ColumnElement_IndexedCell, ColumnElement_UnindexedCell, ColumnIndex, ColumnIndex_$reflection, ColumnIndex__get_Index, Message, Message_$reflection, Message_Exception, Message_Text, Message__AsString, Message__MapText_11D407F6, Message__TryException, Message__TryText, Message__get_IsExc, Message__get_IsTxt, Message_message_2BC701FD, Message_message_Z721C83C5, Messages_fail, Messages_format, RowElement, RowElement_$reflection, RowElement_IndexedCell, RowElement_UnindexedCell, RowIndex, RowIndex_$reflection, RowIndex__get_Index, SheetElement, SheetElement_$reflection, SheetElement_IndexedCell, SheetElement_IndexedColumn, SheetElement_IndexedRow, SheetElement_Table, SheetElement_UnindexedCell, SheetElement_UnindexedColumn, SheetElement_UnindexedRow, SheetEntity$1, SheetEntity$1_$reflection, SheetEntity$1_NoneOptional, SheetEntity$1_NoneRequired, SheetEntity$1_Some, SheetEntity$1__get_Messages, SheetEntity$1_some_2B595, TableElement, TableElement_$reflection, TableElement_UnindexedColumn, TableElement_UnindexedRow, TableElement__get_IsColumn, TableElement__get_IsRow, Workbook, WorkbookElement, WorkbookElement_$reflection, WorkbookElement_NamedSheet, WorkbookElement_UnnamedSheet, Workbook_$reflection };
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { parse } from '../../../node_modules/@fable-org/fable-library-js/Int32.js';
|
|
2
|
-
import {
|
|
2
|
+
import { toText, printf, toFail } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
3
3
|
import { StringBuilder_$ctor, StringBuilder__Append_244C7CD6 } from '../../../node_modules/@fable-org/fable-library-js/System.Text.js';
|
|
4
4
|
import { iterate } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
5
|
import { isLetter, isDigit } from '../../../node_modules/@fable-org/fable-library-js/Char.js';
|
|
6
6
|
import { toString } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
7
|
+
import { toInt64, op_Addition, fromUInt32, fromInt32, toUInt32 } from '../../../node_modules/@fable-org/fable-library-js/BigInt.js';
|
|
7
8
|
import { value, unwrap } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
8
9
|
import { stringHash, identityHash } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
9
10
|
import { mergeHashes } from './HashCodes.fs.js';
|
|
11
|
+
import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
10
12
|
|
|
13
|
+
const CellReference_indexRegex = /([A-Z]*)(\d*)/gu;
|
|
11
14
|
function CellReference_colAdressToIndex(columnAdress) {
|
|
12
15
|
const length = columnAdress.length | 0;
|
|
13
16
|
let sum = 0;
|
|
@@ -35,6 +38,7 @@ function CellReference_indexToColAdress(i) {
|
|
|
35
38
|
acc_mut = String.fromCharCode(("A".charCodeAt(0) >>> 0) + mod26) + acc;
|
|
36
39
|
continue loop;
|
|
37
40
|
}
|
|
41
|
+
break;
|
|
38
42
|
}
|
|
39
43
|
};
|
|
40
44
|
return loop(i, "");
|
|
@@ -57,6 +61,32 @@ function CellReference_toIndices(reference) {
|
|
|
57
61
|
}, reference.split(""));
|
|
58
62
|
return [CellReference_colAdressToIndex(toString(charPart)), parse(toString(numPart), 511, true, 32)];
|
|
59
63
|
}
|
|
64
|
+
function CellReference_toColIndex(reference) {
|
|
65
|
+
return CellReference_toIndices(reference)[0];
|
|
66
|
+
}
|
|
67
|
+
function CellReference_toRowIndex(reference) {
|
|
68
|
+
return CellReference_toIndices(reference)[1];
|
|
69
|
+
}
|
|
70
|
+
function CellReference_setColIndex(colI, reference) {
|
|
71
|
+
return CellReference_ofIndices(colI, CellReference_toIndices(reference)[1]);
|
|
72
|
+
}
|
|
73
|
+
function CellReference_setRowIndex(rowI, reference) {
|
|
74
|
+
return CellReference_ofIndices(CellReference_toIndices(reference)[0], rowI);
|
|
75
|
+
}
|
|
76
|
+
function CellReference_moveHorizontal(amount, reference) {
|
|
77
|
+
let value;
|
|
78
|
+
let tupledArg_1;
|
|
79
|
+
const tupledArg = CellReference_toIndices(reference);
|
|
80
|
+
tupledArg_1 = [(value = toInt64(op_Addition(toInt64(fromUInt32(tupledArg[0])), toInt64(fromInt32(amount)))), toUInt32(value) >>> 0), tupledArg[1]];
|
|
81
|
+
return CellReference_ofIndices(tupledArg_1[0], tupledArg_1[1]);
|
|
82
|
+
}
|
|
83
|
+
function CellReference_moveVertical(amount, reference) {
|
|
84
|
+
let value;
|
|
85
|
+
let tupledArg_1;
|
|
86
|
+
const tupledArg = CellReference_toIndices(reference);
|
|
87
|
+
tupledArg_1 = [tupledArg[0], (value = toInt64(op_Addition(toInt64(fromUInt32(tupledArg[1])), toInt64(fromInt32(amount)))), toUInt32(value) >>> 0)];
|
|
88
|
+
return CellReference_ofIndices(tupledArg_1[0], tupledArg_1[1]);
|
|
89
|
+
}
|
|
60
90
|
class FsAddress {
|
|
61
91
|
constructor(rowNumber, columnNumber, fixedRow, fixedColumn) {
|
|
62
92
|
this._fixedRow = fixedRow != null && value(fixedRow);
|
|
@@ -150,5 +180,11 @@ class FsAddress {
|
|
|
150
180
|
return other instanceof FsAddress && (other_1 = other, this$.Compare(other_1));
|
|
151
181
|
}
|
|
152
182
|
}
|
|
183
|
+
function FsAddress_$reflection() {
|
|
184
|
+
return class_type("FsSpreadsheet.FsAddress", void 0, FsAddress);
|
|
185
|
+
}
|
|
186
|
+
function FsAddress_$ctor_42410CA0(rowNumber, columnNumber, fixedRow, fixedColumn) {
|
|
187
|
+
return new FsAddress(rowNumber, columnNumber, fixedRow, fixedColumn);
|
|
188
|
+
}
|
|
153
189
|
|
|
154
|
-
export { CellReference_colAdressToIndex, CellReference_indexToColAdress, CellReference_ofIndices, CellReference_toIndices, FsAddress };
|
|
190
|
+
export { CellReference_colAdressToIndex, CellReference_indexRegex, CellReference_indexToColAdress, CellReference_moveHorizontal, CellReference_moveVertical, CellReference_ofIndices, CellReference_setColIndex, CellReference_setRowIndex, CellReference_toColIndex, CellReference_toIndices, CellReference_toRowIndex, FsAddress, FsAddress_$ctor_42410CA0, FsAddress_$reflection };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FsRangeAddress } from './Ranges/FsRangeAddress.fs.js';
|
|
2
2
|
import { FsAddress } from './FsAddress.fs.js';
|
|
3
3
|
import { FsCellsCollection } from './Cells/FsCellsCollection.fs.js';
|
|
4
|
-
import {
|
|
5
|
-
import { getEnumerator, toIterator
|
|
6
|
-
import { FsRangeBase } from './Ranges/FsRangeBase.fs.js';
|
|
4
|
+
import { length, minBy, maxBy, map, exists } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
|
+
import { comparePrimitives, getEnumerator, toIterator } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
6
|
+
import { FsRangeBase, FsRangeBase_$reflection } from './Ranges/FsRangeBase.fs.js';
|
|
7
|
+
import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
7
8
|
|
|
8
9
|
class FsColumn extends FsRangeBase {
|
|
9
10
|
constructor(rangeAddress, cells) {
|
|
@@ -112,5 +113,11 @@ class FsColumn extends FsRangeBase {
|
|
|
112
113
|
return getEnumerator(this$);
|
|
113
114
|
}
|
|
114
115
|
}
|
|
116
|
+
function FsColumn_$reflection() {
|
|
117
|
+
return class_type("FsSpreadsheet.FsColumn", void 0, FsColumn, FsRangeBase_$reflection());
|
|
118
|
+
}
|
|
119
|
+
function FsColumn_$ctor_7678C70A(rangeAddress, cells) {
|
|
120
|
+
return new FsColumn(rangeAddress, cells);
|
|
121
|
+
}
|
|
115
122
|
|
|
116
|
-
export { FsColumn };
|
|
123
|
+
export { FsColumn, FsColumn_$ctor_7678C70A, FsColumn_$reflection };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FsRangeAddress } from './Ranges/FsRangeAddress.fs.js';
|
|
2
2
|
import { FsAddress } from './FsAddress.fs.js';
|
|
3
3
|
import { FsCellsCollection } from './Cells/FsCellsCollection.fs.js';
|
|
4
|
-
import {
|
|
4
|
+
import { length, minBy, maxBy, map, exists } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
5
|
import { FsCell } from './Cells/FsCell.fs.js';
|
|
6
|
-
import { getEnumerator, toIterator
|
|
7
|
-
import { FsRangeBase } from './Ranges/FsRangeBase.fs.js';
|
|
6
|
+
import { comparePrimitives, getEnumerator, toIterator } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
7
|
+
import { FsRangeBase, FsRangeBase_$reflection } from './Ranges/FsRangeBase.fs.js';
|
|
8
|
+
import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
8
9
|
|
|
9
10
|
class FsRow extends FsRangeBase {
|
|
10
11
|
constructor(rangeAddress, cells) {
|
|
@@ -92,7 +93,7 @@ class FsRow extends FsRangeBase {
|
|
|
92
93
|
this$["cells@21"].Add(cell, this$.Index, colIndex);
|
|
93
94
|
}
|
|
94
95
|
static insertValueAt(colIndex, value, row) {
|
|
95
|
-
row.InsertValueAt(colIndex, value);
|
|
96
|
+
const value_1 = row.InsertValueAt(colIndex, value);
|
|
96
97
|
return row;
|
|
97
98
|
}
|
|
98
99
|
ToDenseRow() {
|
|
@@ -122,5 +123,11 @@ class FsRow extends FsRangeBase {
|
|
|
122
123
|
return getEnumerator(this$);
|
|
123
124
|
}
|
|
124
125
|
}
|
|
126
|
+
function FsRow_$reflection() {
|
|
127
|
+
return class_type("FsSpreadsheet.FsRow", void 0, FsRow, FsRangeBase_$reflection());
|
|
128
|
+
}
|
|
129
|
+
function FsRow_$ctor_7678C70A(rangeAddress, cells) {
|
|
130
|
+
return new FsRow(rangeAddress, cells);
|
|
131
|
+
}
|
|
125
132
|
|
|
126
|
-
export { FsRow };
|
|
133
|
+
export { FsRow, FsRow_$ctor_7678C70A, FsRow_$reflection };
|
|
@@ -3,7 +3,8 @@ import { FsWorksheet } from './FsWorksheet.fs.js';
|
|
|
3
3
|
import { exists, iterate, tryItem, tryFind } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
4
4
|
import { toFail, printf } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
5
5
|
import { value, defaultArg } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
|
-
import { safeHash, equals
|
|
6
|
+
import { defaultOf, safeHash, equals } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
7
|
+
import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
7
8
|
|
|
8
9
|
class FsWorkbook {
|
|
9
10
|
constructor() {
|
|
@@ -131,5 +132,11 @@ class FsWorkbook {
|
|
|
131
132
|
Dispose() {
|
|
132
133
|
}
|
|
133
134
|
}
|
|
135
|
+
function FsWorkbook_$reflection() {
|
|
136
|
+
return class_type("FsSpreadsheet.FsWorkbook", void 0, FsWorkbook);
|
|
137
|
+
}
|
|
138
|
+
function FsWorkbook_$ctor() {
|
|
139
|
+
return new FsWorkbook();
|
|
140
|
+
}
|
|
134
141
|
|
|
135
|
-
export { FsWorkbook };
|
|
142
|
+
export { FsWorkbook, FsWorkbook_$ctor, FsWorkbook_$reflection };
|
|
@@ -4,15 +4,16 @@ import { FsRow } from './FsRow.fs.js';
|
|
|
4
4
|
import { map, sortBy, head, last, iterate, tryFind, find, exists, filter, maxBy, empty } from '../../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
5
5
|
import { FsColumn } from './FsColumn.fs.js';
|
|
6
6
|
import { FsCell } from './Cells/FsCell.fs.js';
|
|
7
|
-
import { getEnumerator, disposeSafe, safeHash, equals, clear
|
|
7
|
+
import { comparePrimitives, numberHash, getEnumerator, disposeSafe, safeHash, equals, clear } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
|
|
8
8
|
import { FsAddress } from './FsAddress.fs.js';
|
|
9
9
|
import { FsRangeAddress } from './Ranges/FsRangeAddress.fs.js';
|
|
10
10
|
import { groupBy } from '../../../node_modules/@fable-org/fable-library-js/Seq2.js';
|
|
11
11
|
import { defaultArg, value } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
12
|
-
import { toFail,
|
|
12
|
+
import { toFail, printf, toConsole } from '../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
13
13
|
import { removeInPlace, addRangeInPlace } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
|
|
14
14
|
import { ofSeq, tryFind as tryFind$1 } from '../../../node_modules/@fable-org/fable-library-js/Map.js';
|
|
15
15
|
import { iterate as iterate$1 } from '../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
16
|
+
import { class_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
16
17
|
|
|
17
18
|
class FsWorksheet {
|
|
18
19
|
constructor(name, fsRows, fsTables, fsCellsCollection) {
|
|
@@ -346,12 +347,12 @@ class FsWorksheet {
|
|
|
346
347
|
}
|
|
347
348
|
AddCell(cell) {
|
|
348
349
|
const self = this;
|
|
349
|
-
self.CellCollection.Add(cell);
|
|
350
|
+
const value = self.CellCollection.Add(cell);
|
|
350
351
|
return self;
|
|
351
352
|
}
|
|
352
353
|
AddCells(cells) {
|
|
353
354
|
const self = this;
|
|
354
|
-
self.CellCollection.AddMany(cells);
|
|
355
|
+
const value = self.CellCollection.AddMany(cells);
|
|
355
356
|
return self;
|
|
356
357
|
}
|
|
357
358
|
InsertValueAt(value, rowIndex, colIndex) {
|
|
@@ -366,11 +367,11 @@ class FsWorksheet {
|
|
|
366
367
|
const self = this;
|
|
367
368
|
const matchValue = self.CellCollection.TryGetCell(rowIndex, colIndex);
|
|
368
369
|
if (matchValue == null) {
|
|
369
|
-
self.CellCollection.Add(value$1, rowIndex, colIndex);
|
|
370
|
+
const value_2 = self.CellCollection.Add(value$1, rowIndex, colIndex);
|
|
370
371
|
return self;
|
|
371
372
|
} else {
|
|
372
373
|
const c = value(matchValue);
|
|
373
|
-
c.SetValueAs(value$1);
|
|
374
|
+
const value_1 = c.SetValueAs(value$1);
|
|
374
375
|
return self;
|
|
375
376
|
}
|
|
376
377
|
}
|
|
@@ -418,5 +419,11 @@ class FsWorksheet {
|
|
|
418
419
|
}
|
|
419
420
|
}
|
|
420
421
|
}
|
|
422
|
+
function FsWorksheet_$reflection() {
|
|
423
|
+
return class_type("FsSpreadsheet.FsWorksheet", void 0, FsWorksheet);
|
|
424
|
+
}
|
|
425
|
+
function FsWorksheet_$ctor_7FDA5F7A(name, fsRows, fsTables, fsCellsCollection) {
|
|
426
|
+
return new FsWorksheet(name, fsRows, fsTables, fsCellsCollection);
|
|
427
|
+
}
|
|
421
428
|
|
|
422
|
-
export { FsWorksheet };
|
|
429
|
+
export { FsWorksheet, FsWorksheet_$ctor_7FDA5F7A, FsWorksheet_$reflection };
|