@nfdi4plants/arctrl 3.0.0-beta.5 → 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.js +27 -3
- 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.js +26 -26
- 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.js +9 -6
- 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 +10 -7
- package/dist/ts/ts/Json/Process/Protocol.js +12 -12
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +3 -3
- 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.js +7 -7
- package/dist/ts/ts/Json/StringTable.js +1 -1
- package/dist/ts/ts/Json/Study.js +32 -32
- 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.js +11 -11
- 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 +13 -1
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +89 -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.js +9 -3
- 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.js +9 -3
- 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.js +41 -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,198 @@
|
|
|
1
|
+
import { Union, toString } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
|
|
2
|
+
import { union_type, char_type, class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
3
|
+
import { DataType_String } from '../Cells/FsCell.fs.js';
|
|
4
|
+
import { reduce, map, empty, append, isEmpty, tail, head } from '../../../../node_modules/@fable-org/fable-library-js/List.js';
|
|
5
|
+
import { SheetEntity$1_NoneOptional, Message__MapText_11D407F6, SheetEntity$1_Some, SheetEntity$1_NoneRequired, SheetEntity$1__get_Messages } from './Types.fs.js';
|
|
6
|
+
import { toText, printf } from '../../../../node_modules/@fable-org/fable-library-js/String.js';
|
|
7
|
+
import { RequiredSource$1_$ctor_2B595, OptionalSource$1_$ctor_2B595, RequiredSource$1__get_Source, OptionalSource$1__get_Source } from './Expression.fs.js';
|
|
8
|
+
|
|
9
|
+
class ReduceOperation extends Union {
|
|
10
|
+
constructor(Item) {
|
|
11
|
+
super();
|
|
12
|
+
this.tag = 0;
|
|
13
|
+
this.fields = [Item];
|
|
14
|
+
}
|
|
15
|
+
cases() {
|
|
16
|
+
return ["Concat"];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function ReduceOperation_$reflection() {
|
|
20
|
+
return union_type("FsSpreadsheet.DSL.ReduceOperation", [], ReduceOperation, () => [[["Item", char_type]]]);
|
|
21
|
+
}
|
|
22
|
+
function ReduceOperation__Reduce_70D1A69E(this$, values) {
|
|
23
|
+
const separator = this$.fields[0];
|
|
24
|
+
return [DataType_String(), reduce((a, b) => `${a}${separator}${b}`, map((arg) => toString(arg[1]), values))];
|
|
25
|
+
}
|
|
26
|
+
class CellBuilder {
|
|
27
|
+
constructor() {
|
|
28
|
+
this.reducer = new ReduceOperation(",");
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function CellBuilder_$reflection() {
|
|
32
|
+
return class_type("FsSpreadsheet.DSL.CellBuilder", void 0, CellBuilder);
|
|
33
|
+
}
|
|
34
|
+
function CellBuilder_$ctor() {
|
|
35
|
+
return new CellBuilder();
|
|
36
|
+
}
|
|
37
|
+
function CellBuilder_get_Empty() {
|
|
38
|
+
return SheetEntity$1_NoneOptional(empty());
|
|
39
|
+
}
|
|
40
|
+
function CellBuilder__SignMessages_3F89FFFC(this$, messages) {
|
|
41
|
+
return map((m) => {
|
|
42
|
+
let clo;
|
|
43
|
+
return Message__MapText_11D407F6(m, (clo = toText(printf("In Cell: %s")), clo));
|
|
44
|
+
}, messages);
|
|
45
|
+
}
|
|
46
|
+
function CellBuilder__Yield_36B9E420(this$, ro) {
|
|
47
|
+
this$.reducer = ro;
|
|
48
|
+
return SheetEntity$1_NoneOptional(empty());
|
|
49
|
+
}
|
|
50
|
+
function CellBuilder__Combine_F07E260(this$, wx1, wx2) {
|
|
51
|
+
let matchResult, l1, l2, messages1, messages2, messages2_1, messages1_1, f1, messages1_2, messages2_2, f2, messages1_3, messages2_3, messages1_4, messages2_4;
|
|
52
|
+
switch (wx1.tag) {
|
|
53
|
+
case /* NoneRequired */
|
|
54
|
+
2: {
|
|
55
|
+
if (wx2.tag === /* NoneRequired */
|
|
56
|
+
2) {
|
|
57
|
+
matchResult = 1;
|
|
58
|
+
messages2_1 = wx2.fields[0];
|
|
59
|
+
} else {
|
|
60
|
+
matchResult = 2;
|
|
61
|
+
messages1_1 = wx1.fields[0];
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
case /* NoneOptional */
|
|
66
|
+
1: {
|
|
67
|
+
switch (wx2.tag) {
|
|
68
|
+
case /* Some */
|
|
69
|
+
0: {
|
|
70
|
+
matchResult = 4;
|
|
71
|
+
f2 = wx2.fields[0];
|
|
72
|
+
messages1_3 = wx1.fields[0];
|
|
73
|
+
messages2_3 = wx2.fields[1];
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
case /* NoneOptional */
|
|
77
|
+
1: {
|
|
78
|
+
matchResult = 5;
|
|
79
|
+
messages1_4 = wx1.fields[0];
|
|
80
|
+
messages2_4 = wx2.fields[0];
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
default: {
|
|
84
|
+
matchResult = 1;
|
|
85
|
+
messages2_1 = wx2.fields[0];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
default:
|
|
91
|
+
switch (wx2.tag) {
|
|
92
|
+
case /* NoneRequired */
|
|
93
|
+
2: {
|
|
94
|
+
matchResult = 1;
|
|
95
|
+
messages2_1 = wx2.fields[0];
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
case /* NoneOptional */
|
|
99
|
+
1: {
|
|
100
|
+
matchResult = 3;
|
|
101
|
+
f1 = wx1.fields[0];
|
|
102
|
+
messages1_2 = wx1.fields[1];
|
|
103
|
+
messages2_2 = wx2.fields[0];
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
default: {
|
|
107
|
+
matchResult = 0;
|
|
108
|
+
l1 = wx1.fields[0];
|
|
109
|
+
l2 = wx2.fields[0];
|
|
110
|
+
messages1 = wx1.fields[1];
|
|
111
|
+
messages2 = wx2.fields[1];
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
switch (matchResult) {
|
|
116
|
+
case 0:
|
|
117
|
+
return SheetEntity$1_Some(append(l1, l2), append(messages1, messages2));
|
|
118
|
+
case 1:
|
|
119
|
+
return SheetEntity$1_NoneRequired(append(SheetEntity$1__get_Messages(wx1), messages2_1));
|
|
120
|
+
case 2:
|
|
121
|
+
return SheetEntity$1_NoneRequired(append(messages1_1, SheetEntity$1__get_Messages(wx2)));
|
|
122
|
+
case 3:
|
|
123
|
+
return SheetEntity$1_Some(f1, append(messages1_2, messages2_2));
|
|
124
|
+
case 4:
|
|
125
|
+
return SheetEntity$1_Some(f2, append(messages1_3, messages2_3));
|
|
126
|
+
default:
|
|
127
|
+
return SheetEntity$1_NoneOptional(append(messages1_4, messages2_4));
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
function CellBuilder__Combine_4BCE267E(this$, wx1, wx2) {
|
|
131
|
+
return RequiredSource$1_$ctor_2B595(wx2);
|
|
132
|
+
}
|
|
133
|
+
function CellBuilder__Combine_Z2CF9C142(this$, wx1, wx2) {
|
|
134
|
+
return RequiredSource$1_$ctor_2B595(wx1);
|
|
135
|
+
}
|
|
136
|
+
function CellBuilder__Combine_583F6A19(this$, wx1, wx2) {
|
|
137
|
+
return OptionalSource$1_$ctor_2B595(wx2);
|
|
138
|
+
}
|
|
139
|
+
function CellBuilder__Combine_168D7AF9(this$, wx1, wx2) {
|
|
140
|
+
return OptionalSource$1_$ctor_2B595(wx1);
|
|
141
|
+
}
|
|
142
|
+
function CellBuilder__Combine_32507AAF(this$, wx1, wx2) {
|
|
143
|
+
return RequiredSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, RequiredSource$1__get_Source(wx1), wx2));
|
|
144
|
+
}
|
|
145
|
+
function CellBuilder__Combine_Z3ABF6771(this$, wx1, wx2) {
|
|
146
|
+
return RequiredSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, wx1, RequiredSource$1__get_Source(wx2)));
|
|
147
|
+
}
|
|
148
|
+
function CellBuilder__Combine_Z2BFC83F8(this$, wx1, wx2) {
|
|
149
|
+
return OptionalSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, OptionalSource$1__get_Source(wx1), wx2));
|
|
150
|
+
}
|
|
151
|
+
function CellBuilder__Combine_245D6C8(this$, wx1, wx2) {
|
|
152
|
+
return OptionalSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, wx1, OptionalSource$1__get_Source(wx2)));
|
|
153
|
+
}
|
|
154
|
+
function CellBuilder__AsCellElement_6F87C2ED(this$, children) {
|
|
155
|
+
let matchResult, messages, v, messages_1, vals, messages_2, messages_3;
|
|
156
|
+
switch (children.tag) {
|
|
157
|
+
case /* NoneRequired */
|
|
158
|
+
2: {
|
|
159
|
+
matchResult = 2;
|
|
160
|
+
messages_2 = children.fields[0];
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
case /* NoneOptional */
|
|
164
|
+
1: {
|
|
165
|
+
matchResult = 3;
|
|
166
|
+
messages_3 = children.fields[0];
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
default:
|
|
170
|
+
if (!isEmpty(children.fields[0])) {
|
|
171
|
+
if (isEmpty(tail(children.fields[0]))) {
|
|
172
|
+
matchResult = 0;
|
|
173
|
+
messages = children.fields[1];
|
|
174
|
+
v = head(children.fields[0]);
|
|
175
|
+
} else {
|
|
176
|
+
matchResult = 1;
|
|
177
|
+
messages_1 = children.fields[1];
|
|
178
|
+
vals = children.fields[0];
|
|
179
|
+
}
|
|
180
|
+
} else {
|
|
181
|
+
matchResult = 1;
|
|
182
|
+
messages_1 = children.fields[1];
|
|
183
|
+
vals = children.fields[0];
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
switch (matchResult) {
|
|
187
|
+
case 0:
|
|
188
|
+
return SheetEntity$1_Some([v, void 0], messages);
|
|
189
|
+
case 1:
|
|
190
|
+
return SheetEntity$1_Some([ReduceOperation__Reduce_70D1A69E(this$.reducer, vals), void 0], messages_1);
|
|
191
|
+
case 2:
|
|
192
|
+
return SheetEntity$1_NoneRequired(messages_2);
|
|
193
|
+
default:
|
|
194
|
+
return SheetEntity$1_NoneOptional(messages_3);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export { CellBuilder, CellBuilder_$ctor, CellBuilder_$reflection, CellBuilder__AsCellElement_6F87C2ED, CellBuilder__Combine_168D7AF9, CellBuilder__Combine_245D6C8, CellBuilder__Combine_32507AAF, CellBuilder__Combine_4BCE267E, CellBuilder__Combine_583F6A19, CellBuilder__Combine_F07E260, CellBuilder__Combine_Z2BFC83F8, CellBuilder__Combine_Z2CF9C142, CellBuilder__Combine_Z3ABF6771, CellBuilder__SignMessages_3F89FFFC, CellBuilder__Yield_36B9E420, CellBuilder_get_Empty, ReduceOperation, ReduceOperation_$reflection, ReduceOperation__Reduce_70D1A69E };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
|
+
|
|
3
|
+
class OptionalSource$1 {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
this.s = s;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
function OptionalSource$1_$reflection(gen0) {
|
|
9
|
+
return class_type("FsSpreadsheet.DSL.Expression.OptionalSource`1", [gen0], OptionalSource$1);
|
|
10
|
+
}
|
|
11
|
+
function OptionalSource$1_$ctor_2B595(s) {
|
|
12
|
+
return new OptionalSource$1(s);
|
|
13
|
+
}
|
|
14
|
+
function OptionalSource$1__get_Source(this$) {
|
|
15
|
+
return this$.s;
|
|
16
|
+
}
|
|
17
|
+
class RequiredSource$1 {
|
|
18
|
+
constructor(s) {
|
|
19
|
+
this.s = s;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function RequiredSource$1_$reflection(gen0) {
|
|
23
|
+
return class_type("FsSpreadsheet.DSL.Expression.RequiredSource`1", [gen0], RequiredSource$1);
|
|
24
|
+
}
|
|
25
|
+
function RequiredSource$1_$ctor_2B595(s) {
|
|
26
|
+
return new RequiredSource$1(s);
|
|
27
|
+
}
|
|
28
|
+
function RequiredSource$1__get_Source(this$) {
|
|
29
|
+
return this$.s;
|
|
30
|
+
}
|
|
31
|
+
class ExpressionSource$1 {
|
|
32
|
+
constructor(s) {
|
|
33
|
+
this.s = s;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function ExpressionSource$1_$reflection(gen0) {
|
|
37
|
+
return class_type("FsSpreadsheet.DSL.Expression.ExpressionSource`1", [gen0], ExpressionSource$1);
|
|
38
|
+
}
|
|
39
|
+
function ExpressionSource$1_$ctor_2B595(s) {
|
|
40
|
+
return new ExpressionSource$1(s);
|
|
41
|
+
}
|
|
42
|
+
function ExpressionSource$1__get_Source(this$) {
|
|
43
|
+
return this$.s;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { ExpressionSource$1, ExpressionSource$1_$ctor_2B595, ExpressionSource$1_$reflection, ExpressionSource$1__get_Source, OptionalSource$1, OptionalSource$1_$ctor_2B595, OptionalSource$1_$reflection, OptionalSource$1__get_Source, RequiredSource$1, RequiredSource$1_$ctor_2B595, RequiredSource$1_$reflection, RequiredSource$1__get_Source };
|
|
@@ -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 };
|