@nfdi4plants/arctrl 2.0.1 → 2.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARC.js +43 -108
- package/Contract/ARC.js +1 -1
- package/Contract/ArcAssay.js +37 -14
- package/Contract/ArcInvestigation.js +4 -4
- package/Contract/ArcStudy.js +37 -14
- package/Contract/Contract.js +6 -6
- package/Contract/Datamap.js +5 -5
- package/Contract/Git.js +6 -6
- package/Contract/ValidationPackagesConfig.js +5 -5
- package/Core/ArcTypes.js +17 -17
- package/Core/Comment.js +16 -9
- package/Core/CommentList.js +6 -6
- package/Core/Conversion.js +64 -64
- package/Core/Data.js +11 -11
- package/Core/DataContext.js +4 -4
- package/Core/DataFile.js +2 -2
- package/Core/DataMap.js +4 -4
- package/Core/Helper/Collections.js +11 -11
- package/Core/Helper/HashCodes.js +5 -5
- package/Core/Helper/Identifier.js +9 -9
- package/Core/Helper/Regex.js +38 -38
- package/Core/Helper/SemVer.js +8 -8
- package/Core/OntologyAnnotation.js +11 -11
- package/Core/OntologySourceReference.js +4 -4
- package/Core/Person.js +11 -11
- package/Core/Process/ColumnIndex.js +7 -7
- package/Core/Process/Component.js +10 -10
- package/Core/Process/Factor.js +6 -6
- package/Core/Process/FactorValue.js +10 -10
- package/Core/Process/Material.js +5 -5
- package/Core/Process/MaterialAttribute.js +4 -4
- package/Core/Process/MaterialAttributeValue.js +10 -10
- package/Core/Process/MaterialType.js +2 -2
- package/Core/Process/Process.js +19 -19
- package/Core/Process/ProcessInput.js +16 -16
- package/Core/Process/ProcessOutput.js +16 -16
- package/Core/Process/ProcessParameterValue.js +10 -10
- package/Core/Process/ProcessSequence.js +6 -6
- package/Core/Process/Protocol.js +5 -5
- package/Core/Process/ProtocolParameter.js +4 -4
- package/Core/Process/Sample.js +5 -5
- package/Core/Process/Source.js +5 -5
- package/Core/Publication.js +10 -10
- package/Core/Table/ArcTable.js +35 -28
- package/Core/Table/ArcTableAux.js +22 -22
- package/Core/Table/ArcTables.js +14 -14
- package/Core/Table/CompositeCell.js +6 -6
- package/Core/Table/CompositeColumn.js +5 -5
- package/Core/Table/CompositeHeader.js +9 -9
- package/Core/Template.js +7 -7
- package/Core/Templates.js +8 -8
- package/Core/Value.js +11 -11
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +14 -14
- package/FileSystem/Path.js +3 -3
- package/Json/ARC.js +21 -15
- package/Json/Assay.js +108 -169
- package/Json/Comment.js +84 -122
- package/Json/ConverterOptions.js +2 -2
- package/Json/Data.js +100 -107
- package/Json/DataFile.js +22 -57
- package/Json/DataMap/DataContext.js +25 -16
- package/Json/DataMap/DataMap.js +11 -7
- package/Json/Decode.js +11 -14
- package/Json/Encode.js +24 -13
- package/Json/IDTable.js +14 -3
- package/Json/Investigation.js +194 -176
- package/Json/OntologyAnnotation.js +113 -127
- package/Json/OntologySourceReference.js +93 -111
- package/Json/Person.js +204 -135
- package/Json/Process/AssayMaterials.js +12 -14
- package/Json/Process/Component.js +23 -68
- package/Json/Process/Factor.js +28 -46
- package/Json/Process/FactorValue.js +28 -50
- package/Json/Process/Material.js +56 -83
- package/Json/Process/MaterialAttribute.js +23 -45
- package/Json/Process/MaterialAttributeValue.js +28 -71
- package/Json/Process/MaterialType.js +17 -35
- package/Json/Process/Process.js +70 -85
- package/Json/Process/ProcessInput.js +18 -45
- package/Json/Process/ProcessOutput.js +15 -63
- package/Json/Process/ProcessParameterValue.js +21 -70
- package/Json/Process/Protocol.js +80 -83
- package/Json/Process/ProtocolParameter.js +23 -44
- package/Json/Process/Sample.js +66 -93
- package/Json/Process/Source.js +54 -81
- package/Json/Process/StudyMaterials.js +13 -15
- package/Json/Process/Value.js +19 -29
- package/Json/PropertyValue.js +86 -28
- package/Json/Publication.js +92 -115
- package/Json/ROCrateObject.js +146 -0
- package/Json/StringTable.js +27 -10
- package/Json/Study.js +193 -182
- package/Json/Table/ArcTable.js +119 -115
- package/Json/Table/CellTable.js +24 -11
- package/Json/Table/CompositeCell.js +40 -41
- package/Json/Table/CompositeHeader.js +24 -36
- package/Json/Table/IOType.js +9 -31
- package/Json/Table/OATable.js +23 -10
- package/Json/Table/Templates.js +82 -90
- package/Json/context/rocrate/isa_assay_context.js +60 -4
- package/Json/context/rocrate/isa_comment_context.js +28 -4
- package/Json/context/rocrate/isa_component_context.js +44 -4
- package/Json/context/rocrate/isa_data_context.js +40 -4
- package/Json/context/rocrate/isa_factor_context.js +40 -4
- package/Json/context/rocrate/isa_factor_value_context.js +52 -4
- package/Json/context/rocrate/isa_investigation_context.js +68 -4
- package/Json/context/rocrate/isa_material_attribute_context.js +32 -4
- package/Json/context/rocrate/isa_material_attribute_value_context.js +48 -4
- package/Json/context/rocrate/isa_material_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_annotation_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +40 -4
- package/Json/context/rocrate/isa_organization_context.js +24 -4
- package/Json/context/rocrate/isa_person_context.js +85 -5
- package/Json/context/rocrate/isa_process_context.js +56 -4
- package/Json/context/rocrate/isa_process_parameter_value_context.js +48 -4
- package/Json/context/rocrate/isa_protocol_context.js +60 -4
- package/Json/context/rocrate/isa_protocol_parameter_context.js +32 -4
- package/Json/context/rocrate/isa_publication_context.js +44 -4
- package/Json/context/rocrate/isa_sample_context.js +32 -4
- package/Json/context/rocrate/isa_source_context.js +32 -4
- package/Json/context/rocrate/isa_study_context.js +72 -4
- package/Json/context/rocrate/property_value_context.js +58 -2
- package/Json/context/rocrate/rocrate_context.js +45 -5
- package/Json.js +12 -12
- package/JsonIO/ARC.js +31 -0
- package/JsonIO/Assay.js +99 -0
- package/JsonIO/Comment.js +73 -0
- package/JsonIO/Data.js +50 -0
- package/JsonIO/DataFile.js +49 -0
- package/JsonIO/DataMap/DataMap.js +29 -0
- package/JsonIO/Decode.js +4 -0
- package/JsonIO/Investigation.js +99 -0
- package/JsonIO/OntologyAnnotation.js +73 -0
- package/JsonIO/OntologySourceReference.js +73 -0
- package/JsonIO/Person.js +74 -0
- package/JsonIO/Process/Component.js +50 -0
- package/JsonIO/Process/Factor.js +28 -0
- package/JsonIO/Process/FactorValue.js +29 -0
- package/JsonIO/Process/Material.js +50 -0
- package/JsonIO/Process/MaterialAttribute.js +29 -0
- package/JsonIO/Process/MaterialAttributeValue.js +50 -0
- package/JsonIO/Process/MaterialType.js +28 -0
- package/JsonIO/Process/Process.js +50 -0
- package/JsonIO/Process/ProcessInput.js +29 -0
- package/JsonIO/Process/ProcessOutput.js +50 -0
- package/JsonIO/Process/ProcessParameterValue.js +50 -0
- package/{Json → JsonIO}/Process/ProcessSequence.js +16 -16
- package/JsonIO/Process/Protocol.js +50 -0
- package/JsonIO/Process/ProtocolParameter.js +28 -0
- package/JsonIO/Process/Sample.js +50 -0
- package/JsonIO/Process/Source.js +50 -0
- package/JsonIO/Process/StudyMaterials.js +22 -0
- package/JsonIO/Process/Value.js +23 -0
- package/JsonIO/Publication.js +74 -0
- package/JsonIO/ROCrateObject.js +146 -0
- package/JsonIO/Study.js +99 -0
- package/JsonIO/Table/ArcTable.js +82 -0
- package/JsonIO/Table/CompositeCell.js +28 -0
- package/JsonIO/Table/CompositeHeader.js +28 -0
- package/{Json → JsonIO}/Table/Compression.js +20 -10
- package/JsonIO/Table/IOType.js +28 -0
- package/JsonIO/Table/Templates.js +88 -0
- package/ROCrate/ISAProfile/Assay.js +32 -0
- package/ROCrate/ISAProfile/Data.js +28 -0
- package/ROCrate/ISAProfile/Dataset.js +18 -0
- package/ROCrate/ISAProfile/Investigation.js +35 -0
- package/ROCrate/ISAProfile/LabProcess.js +32 -0
- package/ROCrate/ISAProfile/LabProtocol.js +33 -0
- package/ROCrate/ISAProfile/Person.js +35 -0
- package/ROCrate/ISAProfile/PropertyValue.js +30 -0
- package/ROCrate/ISAProfile/Sample.js +27 -0
- package/ROCrate/ISAProfile/ScholarlyArticle.js +30 -0
- package/ROCrate/ISAProfile/Study.js +35 -0
- package/ROCrate/ROCrateObject.js +61 -0
- package/Spreadsheet/AnnotationTable/ArcTable.js +16 -16
- package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +25 -25
- package/Spreadsheet/ArcAssay.js +9 -9
- package/Spreadsheet/ArcInvestigation.js +14 -14
- package/Spreadsheet/ArcStudy.js +7 -7
- package/Spreadsheet/CollectionAux.js +11 -11
- package/Spreadsheet/DataMap.js +3 -3
- package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
- package/Spreadsheet/DataMapTable/DataMapHeader.js +23 -23
- package/Spreadsheet/DataMapTable/DataMapTable.js +13 -13
- package/Spreadsheet/Metadata/Assays.js +11 -11
- package/Spreadsheet/Metadata/Comment.js +5 -5
- package/Spreadsheet/Metadata/Contacts.js +7 -7
- package/Spreadsheet/Metadata/Conversions.js +7 -7
- package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/Spreadsheet/Metadata/Factors.js +8 -8
- package/Spreadsheet/Metadata/OntologyAnnotation.js +6 -6
- package/Spreadsheet/Metadata/OntologySourceReference.js +6 -6
- package/Spreadsheet/Metadata/Protocols.js +9 -9
- package/Spreadsheet/Metadata/Publication.js +7 -7
- package/Spreadsheet/Metadata/SparseTable.js +21 -21
- package/Spreadsheet/Metadata/Study.js +12 -12
- package/Spreadsheet/Template.js +21 -21
- package/Template.Web.js +6 -6
- package/ValidationPackages/ValidationPackage.js +6 -6
- package/ValidationPackages/ValidationPackagesConfig.js +9 -9
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +9 -9
- package/Yaml/Encode.js +1 -1
- package/Yaml/ValidationPackage.js +5 -5
- package/Yaml/ValidationPackagesConfig.js +5 -5
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs +219 -0
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs.js +209 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fableproj +47 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs +310 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs.js +166 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs +162 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs.js +141 -0
- package/fable_modules/DynamicObj.4.0.0/FablePy.fs +215 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs +46 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs.js +43 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs +33 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs.js +21 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs +72 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs.js +86 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0/obj/Release → DynamicObj.4.0.0/obj/Debug}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1/obj/Debug → DynamicObj.4.0.0/obj/Release}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +6 -6
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +11 -11
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs.js +15 -15
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Operators.fs.js +6 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsSpreadsheet.fableproj +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs.js +11 -11
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Cell.fs.js +64 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Column.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Row.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Table.fs.js +30 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs.js +38 -13
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Workbook.fs.js +46 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js +33 -8
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs.js +2 -2
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs +67 -28
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs.js +79 -50
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Encode.fs +139 -54
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +192 -0
- package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +33 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs +12 -5
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs.js +2 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs +9 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs.js +16 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Encode.fs +13 -5
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +58 -0
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +28 -0
- package/fable_modules/YAMLicious.0.0.1/Decode.fs.js +17 -17
- package/fable_modules/YAMLicious.0.0.1/Encode.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Library.fs.js +1 -1
- package/fable_modules/YAMLicious.0.0.1/Persil.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/Preprocessing.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Reader.fs.js +9 -9
- package/fable_modules/YAMLicious.0.0.1/RegexActivePatterns.fs.js +36 -36
- package/fable_modules/YAMLicious.0.0.1/Writer.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/YAMLiciousTypes.fs.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.js +10 -10
- package/fable_modules/fable-library-js.4.22.0/Async.d.ts +27 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Async.js +1 -7
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.d.ts +13 -13
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.js +4 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/CHANGELOG.md +40 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.js +4 -5
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.js +31 -31
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.js +10 -10
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.js +4 -4
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.js +47 -48
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.js +3 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.js +17 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.d.ts +2 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.js +19 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/FsSpreadsheet.6.2.0/DSL/Operators.fs.js +0 -6
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Cell.fs.js +0 -38
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Column.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Row.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Table.fs.js +0 -15
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Workbook.fs.js +0 -35
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +0 -113
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +0 -28
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs +0 -20
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +0 -45
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +0 -21
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -18
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -19
- package/fable_modules/fable-library-js.4.16.0/Async.d.ts +0 -32
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Cell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Column.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Row.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Table.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Workbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.d.ts +0 -0
package/Core/Publication.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { map as map_1, defaultArg, unwrap } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { map as map_1, defaultArg, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
2
2
|
import { ResizeArray_map } from "./Helper/Collections.js";
|
|
3
3
|
import { boxHashSeq, boxHashOption, boxHashArray } from "./Helper/HashCodes.js";
|
|
4
|
-
import { safeHash } from "../fable_modules/fable-library-js.4.
|
|
5
|
-
import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { printf, toText, join } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { ofArray, choose, map } from "../fable_modules/fable-library-js.4.
|
|
8
|
-
import { length } from "../fable_modules/fable-library-js.4.
|
|
9
|
-
import { toString } from "../fable_modules/fable-library-js.4.
|
|
10
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
4
|
+
import { safeHash } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
5
|
+
import { StringBuilder__Append_Z721C83C5, StringBuilder_$ctor } from "../fable_modules/fable-library-js.4.22.0/System.Text.js";
|
|
6
|
+
import { printf, toText, join } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
7
|
+
import { ofArray, choose, map } from "../fable_modules/fable-library-js.4.22.0/List.js";
|
|
8
|
+
import { length } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
9
|
+
import { toString } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
10
|
+
import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
11
11
|
|
|
12
12
|
export class Publication {
|
|
13
13
|
constructor(pubMedID, doi, authors, title, status, comments) {
|
|
@@ -100,14 +100,14 @@ export class Publication {
|
|
|
100
100
|
const this$ = this;
|
|
101
101
|
const sb = StringBuilder_$ctor();
|
|
102
102
|
StringBuilder__Append_Z721C83C5(sb, "Publication {\n\t");
|
|
103
|
-
StringBuilder__Append_Z721C83C5(sb, join(",\n\t", map((tupledArg_1) => toText(printf("%s = %A"))(tupledArg_1[0])(tupledArg_1[1]), choose((tupledArg) => map_1((o) => [tupledArg[0], o], tupledArg[1]), ofArray([["PubMedID", this$.PubMedID], ["DOI", this$.DOI], ["Authors", this$.Authors], ["Title", this$.Title], ["Status", (option = this$.Status, map_1((clo = toText(printf("%A")), clo), option))], ["Comments", (length(this$.Comments) > 0) ? ((arg_1 = this$.Comments, toText(printf("%A"))(arg_1))) :
|
|
103
|
+
StringBuilder__Append_Z721C83C5(sb, join(",\n\t", map((tupledArg_1) => toText(printf("%s = %A"))(tupledArg_1[0])(tupledArg_1[1]), choose((tupledArg) => map_1((o) => [tupledArg[0], o], tupledArg[1]), ofArray([["PubMedID", this$.PubMedID], ["DOI", this$.DOI], ["Authors", this$.Authors], ["Title", this$.Title], ["Status", (option = this$.Status, map_1((clo = toText(printf("%A")), clo), option))], ["Comments", (length(this$.Comments) > 0) ? ((arg_1 = this$.Comments, toText(printf("%A"))(arg_1))) : undefined]])))));
|
|
104
104
|
StringBuilder__Append_Z721C83C5(sb, "\n}");
|
|
105
105
|
return toString(sb);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export function Publication_$reflection() {
|
|
110
|
-
return class_type("ARCtrl.Publication",
|
|
110
|
+
return class_type("ARCtrl.Publication", undefined, Publication);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
export function Publication_$ctor_Z645CED36(pubMedID, doi, authors, title, status, comments) {
|
package/Core/Table/ArcTable.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { boxHashValues, Unchecked_alignByHeaders, Unchecked_extendToRowCount, Unchecked_removeRowCells_withIndexChange, Unchecked_addRows, Unchecked_addRow, Unchecked_getEmptyCellForHeader, Unchecked_moveColumnTo, Unchecked_removeColumnCells_withIndexChange, tryFindDuplicateUniqueInArray, Unchecked_removeColumnCells, Unchecked_removeHeader, Unchecked_fillMissingCells, Unchecked_addColumn, SanityChecks_validateColumn, tryFindDuplicateUnique, Unchecked_setCellAt, SanityChecks_validateRowIndex, SanityChecks_validateColumnIndex, Unchecked_tryGetCellAt, getRowCount, getColumnCount, SanityChecks_validate } from "./ArcTableAux.js";
|
|
2
|
-
import { Dictionary } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { compareArrays, safeHash, comparePrimitives, equals, disposeSafe, getEnumerator, arrayHash, equalArrays } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { value as value_3, map as map_2, unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { item as item_1, fold, append as append_1, toList, indexed as indexed_1, choose, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { rangeDouble } from "../../fable_modules/fable-library-js.4.
|
|
7
|
-
import { join, printf, toFail } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { getItemFromDict } from "../../fable_modules/fable-library-js.4.
|
|
2
|
+
import { Dictionary } from "../../fable_modules/fable-library-js.4.22.0/MutableMap.js";
|
|
3
|
+
import { compareArrays, safeHash, comparePrimitives, equals, disposeSafe, getEnumerator, arrayHash, equalArrays } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
4
|
+
import { value as value_3, map as map_2, unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
5
|
+
import { item as item_1, fold, append as append_1, toList, indexed as indexed_1, choose, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
6
|
+
import { rangeDouble } from "../../fable_modules/fable-library-js.4.22.0/Range.js";
|
|
7
|
+
import { join, printf, toFail } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
8
|
+
import { getItemFromDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
9
9
|
import { CompositeColumn } from "./CompositeColumn.js";
|
|
10
|
-
import { sortBy, indexed, mapIndexed, item, sortDescending, iterateIndexed, initialize, map as map_1 } from "../../fable_modules/fable-library-js.4.
|
|
11
|
-
import { append, iterate, isEmpty } from "../../fable_modules/fable-library-js.4.
|
|
12
|
-
import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../fable_modules/fable-library-js.4.
|
|
13
|
-
import { toString } from "../../fable_modules/fable-library-js.4.
|
|
10
|
+
import { sortBy, indexed, mapIndexed, item, sortDescending, iterateIndexed, initialize, map as map_1 } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
11
|
+
import { append, iterate, isEmpty } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
12
|
+
import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../fable_modules/fable-library-js.4.22.0/System.Text.js";
|
|
13
|
+
import { toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
14
14
|
import { CompositeCell } from "./CompositeCell.js";
|
|
15
15
|
import { CompositeHeader } from "./CompositeHeader.js";
|
|
16
|
-
import { Array_groupBy } from "../../fable_modules/fable-library-js.4.
|
|
16
|
+
import { Array_groupBy } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
17
17
|
import { boxHashSeq, boxHashArray } from "../Helper/HashCodes.js";
|
|
18
|
-
import { class_type } from "../../fable_modules/fable-library-js.4.
|
|
18
|
+
import { class_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
19
19
|
|
|
20
20
|
export class ArcTable {
|
|
21
21
|
constructor(name, headers, values) {
|
|
@@ -271,14 +271,14 @@ export class ArcTable {
|
|
|
271
271
|
static addColumn(header, cells, index, forceReplace) {
|
|
272
272
|
return (table) => {
|
|
273
273
|
const newTable = table.Copy();
|
|
274
|
-
newTable.AddColumn(header, cells, index, forceReplace);
|
|
274
|
+
newTable.AddColumn(header, unwrap(cells), unwrap(index), unwrap(forceReplace));
|
|
275
275
|
return newTable;
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
AddColumnFill(header, cell, index, forceReplace) {
|
|
279
279
|
const this$ = this;
|
|
280
280
|
const cells = initialize(this$.RowCount, (_arg) => cell.Copy());
|
|
281
|
-
this$.AddColumn(header, cells, index, forceReplace);
|
|
281
|
+
this$.AddColumn(header, cells, unwrap(index), unwrap(forceReplace));
|
|
282
282
|
}
|
|
283
283
|
static addColumnFill(header, cell, index, forceReplace) {
|
|
284
284
|
return (table) => {
|
|
@@ -310,13 +310,13 @@ export class ArcTable {
|
|
|
310
310
|
static updateColumn(columnIndex, header, cells) {
|
|
311
311
|
return (table) => {
|
|
312
312
|
const newTable = table.Copy();
|
|
313
|
-
newTable.UpdateColumn(columnIndex, header, cells);
|
|
313
|
+
newTable.UpdateColumn(columnIndex, header, unwrap(cells));
|
|
314
314
|
return newTable;
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
InsertColumn(index, header, cells) {
|
|
318
318
|
const this$ = this;
|
|
319
|
-
this$.AddColumn(header, cells, index, false);
|
|
319
|
+
this$.AddColumn(header, unwrap(cells), index, false);
|
|
320
320
|
}
|
|
321
321
|
static insertColumn(index, header, cells) {
|
|
322
322
|
return (table) => {
|
|
@@ -327,7 +327,7 @@ export class ArcTable {
|
|
|
327
327
|
}
|
|
328
328
|
AppendColumn(header, cells) {
|
|
329
329
|
const this$ = this;
|
|
330
|
-
this$.AddColumn(header, cells, this$.ColumnCount, false);
|
|
330
|
+
this$.AddColumn(header, unwrap(cells), this$.ColumnCount, false);
|
|
331
331
|
}
|
|
332
332
|
static appendColumn(header, cells) {
|
|
333
333
|
return (table) => {
|
|
@@ -367,7 +367,7 @@ export class ArcTable {
|
|
|
367
367
|
static addColumns(columns, index, skipFillMissing) {
|
|
368
368
|
return (table) => {
|
|
369
369
|
const newTable = table.Copy();
|
|
370
|
-
newTable.AddColumns(columns, unwrap(index),
|
|
370
|
+
newTable.AddColumns(columns, unwrap(index), undefined, unwrap(skipFillMissing));
|
|
371
371
|
return newTable;
|
|
372
372
|
};
|
|
373
373
|
}
|
|
@@ -430,6 +430,13 @@ export class ArcTable {
|
|
|
430
430
|
static tryGetColumnByHeader(header) {
|
|
431
431
|
return (table) => table.TryGetColumnByHeader(header);
|
|
432
432
|
}
|
|
433
|
+
TryGetColumnByHeaderBy(headerPredicate) {
|
|
434
|
+
const this$ = this;
|
|
435
|
+
return map_2((i) => this$.GetColumn(i), tryFindIndex(headerPredicate, this$.Headers));
|
|
436
|
+
}
|
|
437
|
+
static tryGetColumnByHeaderBy(headerPredicate) {
|
|
438
|
+
return (table) => table.TryGetColumnByHeaderBy(headerPredicate);
|
|
439
|
+
}
|
|
433
440
|
GetColumnByHeader(header) {
|
|
434
441
|
const this$ = this;
|
|
435
442
|
const matchValue = this$.TryGetColumnByHeader(header);
|
|
@@ -711,34 +718,34 @@ export class ArcTable {
|
|
|
711
718
|
static join(table, index, joinOptions, forceReplace) {
|
|
712
719
|
return (this$) => {
|
|
713
720
|
const copy = this$.Copy();
|
|
714
|
-
copy.Join(table, index, joinOptions, forceReplace);
|
|
721
|
+
copy.Join(table, unwrap(index), unwrap(joinOptions), unwrap(forceReplace));
|
|
715
722
|
return copy;
|
|
716
723
|
};
|
|
717
724
|
}
|
|
718
725
|
AddProtocolTypeColumn(types, index) {
|
|
719
726
|
const this$ = this;
|
|
720
727
|
const cells = map_2((array) => map_1((Item) => (new CompositeCell(0, [Item])), array), types);
|
|
721
|
-
this$.AddColumn(new CompositeHeader(4, []), cells, index);
|
|
728
|
+
this$.AddColumn(new CompositeHeader(4, []), unwrap(cells), unwrap(index));
|
|
722
729
|
}
|
|
723
730
|
AddProtocolVersionColumn(versions, index) {
|
|
724
731
|
const this$ = this;
|
|
725
732
|
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), versions);
|
|
726
|
-
this$.AddColumn(new CompositeHeader(7, []), cells, index);
|
|
733
|
+
this$.AddColumn(new CompositeHeader(7, []), unwrap(cells), unwrap(index));
|
|
727
734
|
}
|
|
728
735
|
AddProtocolUriColumn(uris, index) {
|
|
729
736
|
const this$ = this;
|
|
730
737
|
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), uris);
|
|
731
|
-
this$.AddColumn(new CompositeHeader(6, []), cells, index);
|
|
738
|
+
this$.AddColumn(new CompositeHeader(6, []), unwrap(cells), unwrap(index));
|
|
732
739
|
}
|
|
733
740
|
AddProtocolDescriptionColumn(descriptions, index) {
|
|
734
741
|
const this$ = this;
|
|
735
742
|
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), descriptions);
|
|
736
|
-
this$.AddColumn(new CompositeHeader(5, []), cells, index);
|
|
743
|
+
this$.AddColumn(new CompositeHeader(5, []), unwrap(cells), unwrap(index));
|
|
737
744
|
}
|
|
738
745
|
AddProtocolNameColumn(names, index) {
|
|
739
746
|
const this$ = this;
|
|
740
747
|
const cells = map_2((array) => map_1((Item) => (new CompositeCell(1, [Item])), array), names);
|
|
741
|
-
this$.AddColumn(new CompositeHeader(8, []), cells, index);
|
|
748
|
+
this$.AddColumn(new CompositeHeader(8, []), unwrap(cells), unwrap(index));
|
|
742
749
|
}
|
|
743
750
|
GetProtocolTypeColumn() {
|
|
744
751
|
const this$ = this;
|
|
@@ -800,7 +807,7 @@ export class ArcTable {
|
|
|
800
807
|
const annotationTable_1 = annotationTable.Copy();
|
|
801
808
|
const nonProtocolColumns = toArray(choose((tupledArg) => {
|
|
802
809
|
if (tupledArg[1].isProtocolColumn) {
|
|
803
|
-
return
|
|
810
|
+
return undefined;
|
|
804
811
|
}
|
|
805
812
|
else {
|
|
806
813
|
return tupledArg[0];
|
|
@@ -811,7 +818,7 @@ export class ArcTable {
|
|
|
811
818
|
const arr = annotationTable_1.Columns;
|
|
812
819
|
for (let idx = 0; idx <= (arr.length - 1); idx++) {
|
|
813
820
|
const c = item(idx, arr);
|
|
814
|
-
refTable_1.AddColumn(c.Header, c.Cells,
|
|
821
|
+
refTable_1.AddColumn(c.Header, c.Cells, undefined, true);
|
|
815
822
|
}
|
|
816
823
|
return refTable_1;
|
|
817
824
|
}
|
|
@@ -871,7 +878,7 @@ export class ArcTable {
|
|
|
871
878
|
}
|
|
872
879
|
|
|
873
880
|
export function ArcTable_$reflection() {
|
|
874
|
-
return class_type("ARCtrl.ArcTable",
|
|
881
|
+
return class_type("ARCtrl.ArcTable", undefined, ArcTable);
|
|
875
882
|
}
|
|
876
883
|
|
|
877
884
|
export function ArcTable_$ctor_76CAD84E(name, headers, values) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { toList, head as head_1, toArray, filter, tryFindIndex, maxBy } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { arrayHash, equalArrays, numberHash, disposeSafe, getEnumerator, compare, equals, safeHash, comparePrimitives } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { addToDict, getItemFromDict } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { value as value_2 } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { mapIndexed, pick, exists, ofSeq, empty, head, tail as tail_1, isEmpty, cons } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { printf, toConsole } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { toList, head as head_1, toArray, filter, tryFindIndex, maxBy } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
2
|
+
import { arrayHash, equalArrays, numberHash, disposeSafe, getEnumerator, compare, equals, safeHash, comparePrimitives } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
3
|
+
import { addToDict, getItemFromDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
4
|
+
import { value as value_2 } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
5
|
+
import { mapIndexed, pick, exists, ofSeq, empty, head, tail as tail_1, isEmpty, cons } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
6
|
+
import { printf, toConsole } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
7
7
|
import { List_tryPickAndRemove, Dictionary_tryFind } from "../Helper/Collections.js";
|
|
8
8
|
import { CompositeCell } from "./CompositeCell.js";
|
|
9
|
-
import { max } from "../../fable_modules/fable-library-js.4.
|
|
10
|
-
import { setItem, item, map, iterateIndexed } from "../../fable_modules/fable-library-js.4.
|
|
11
|
-
import { tryFind, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
12
|
-
import { Array_groupBy } from "../../fable_modules/fable-library-js.4.
|
|
13
|
-
import { FSharpSet__Contains, ofArray as ofArray_1 } from "../../fable_modules/fable-library-js.4.
|
|
14
|
-
import { toString } from "../../fable_modules/fable-library-js.4.
|
|
15
|
-
import { rangeDouble } from "../../fable_modules/fable-library-js.4.
|
|
16
|
-
import { op_UnaryNegation_Int32 } from "../../fable_modules/fable-library-js.4.
|
|
17
|
-
import { Dictionary } from "../../fable_modules/fable-library-js.4.
|
|
9
|
+
import { max } from "../../fable_modules/fable-library-js.4.22.0/Double.js";
|
|
10
|
+
import { setItem, item, map, iterateIndexed } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
11
|
+
import { tryFind, ofArray } from "../../fable_modules/fable-library-js.4.22.0/Map.js";
|
|
12
|
+
import { Array_groupBy } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
13
|
+
import { FSharpSet__Contains, ofArray as ofArray_1 } from "../../fable_modules/fable-library-js.4.22.0/Set.js";
|
|
14
|
+
import { toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
15
|
+
import { rangeDouble } from "../../fable_modules/fable-library-js.4.22.0/Range.js";
|
|
16
|
+
import { op_UnaryNegation_Int32 } from "../../fable_modules/fable-library-js.4.22.0/Int32.js";
|
|
17
|
+
import { Dictionary } from "../../fable_modules/fable-library-js.4.22.0/MutableMap.js";
|
|
18
18
|
|
|
19
19
|
export function getColumnCount(headers) {
|
|
20
20
|
return headers.length;
|
|
@@ -49,7 +49,7 @@ export function $007CIsUniqueExistingHeader$007C_$007C(existingHeaders, input) {
|
|
|
49
49
|
case 1:
|
|
50
50
|
case 0:
|
|
51
51
|
case 13:
|
|
52
|
-
return
|
|
52
|
+
return undefined;
|
|
53
53
|
case 12:
|
|
54
54
|
return tryFindIndex((h) => (h.tag === 12), existingHeaders);
|
|
55
55
|
case 11:
|
|
@@ -69,7 +69,7 @@ export function tryFindDuplicateUnique(newHeader, existingHeaders) {
|
|
|
69
69
|
return index;
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
|
-
return
|
|
72
|
+
return undefined;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -385,7 +385,7 @@ export function Unchecked_fillMissingCells(headers, values) {
|
|
|
385
385
|
const header = headers[columnIndex];
|
|
386
386
|
const matchValue = tryFind(columnIndex, columnKeyGroups);
|
|
387
387
|
if (matchValue == null) {
|
|
388
|
-
const defaultCell_1 = Unchecked_getEmptyCellForHeader(header,
|
|
388
|
+
const defaultCell_1 = Unchecked_getEmptyCellForHeader(header, undefined);
|
|
389
389
|
for (let rowIndex_1 = 0; rowIndex_1 <= (rowCount - 1); rowIndex_1++) {
|
|
390
390
|
Unchecked_addCellAt(columnIndex, rowIndex_1, defaultCell_1.Copy(), values);
|
|
391
391
|
}
|
|
@@ -435,7 +435,7 @@ export function Unchecked_addRow(index, newCells, headers, values) {
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
else {
|
|
438
|
-
increaseRowIndices =
|
|
438
|
+
increaseRowIndices = undefined;
|
|
439
439
|
}
|
|
440
440
|
const setNewCells = iterateIndexed((columnIndex_1, cell) => {
|
|
441
441
|
Unchecked_setCellAt(columnIndex_1, index, cell, values);
|
|
@@ -456,7 +456,7 @@ export function Unchecked_addRows(index, newRows, headers, values) {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
else {
|
|
459
|
-
increaseRowIndices =
|
|
459
|
+
increaseRowIndices = undefined;
|
|
460
460
|
}
|
|
461
461
|
let currentRowIndex = index;
|
|
462
462
|
for (let idx = 0; idx <= (newRows.length - 1); idx++) {
|
|
@@ -535,7 +535,7 @@ export function Unchecked_alignByHeaders(keepOrder, rows) {
|
|
|
535
535
|
return [headers, values];
|
|
536
536
|
}
|
|
537
537
|
else {
|
|
538
|
-
const firstElem = pick((l) => (isEmpty(l) ?
|
|
538
|
+
const firstElem = pick((l) => (isEmpty(l) ? undefined : head(l)), rows_2)[0];
|
|
539
539
|
void (headers.push(firstElem));
|
|
540
540
|
colI_mut = (colI + 1);
|
|
541
541
|
rows_2_mut = mapIndexed((rowI, l_1) => {
|
|
@@ -559,7 +559,7 @@ export function Unchecked_alignByHeaders(keepOrder, rows) {
|
|
|
559
559
|
return tupledArg[1];
|
|
560
560
|
}
|
|
561
561
|
else {
|
|
562
|
-
return
|
|
562
|
+
return undefined;
|
|
563
563
|
}
|
|
564
564
|
}, l_1);
|
|
565
565
|
const newL = patternInput[1];
|
package/Core/Table/ArcTables.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { append, toArray, reduce, choose, map as map_1, delay, toList, length, findIndex, tryFindIndex } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { append, toArray, reduce, choose, map as map_1, delay, toList, length, findIndex, tryFindIndex } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
2
2
|
import { Dictionary_tryFind } from "../Helper/Collections.js";
|
|
3
|
-
import { addToSet, addToDict } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { toIterator, equals, comparePrimitives, stringHash, compare, disposeSafe, getEnumerator } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { bind, map as map_2, unwrap, defaultArg, value as value_2 } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { collect, map as map_3, item, insertRangeInPlace, fold } from "../../fable_modules/fable-library-js.4.
|
|
3
|
+
import { addToSet, addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
4
|
+
import { toIterator, equals, comparePrimitives, stringHash, compare, disposeSafe, getEnumerator } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
5
|
+
import { bind, map as map_2, unwrap, defaultArg, value as value_2 } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
6
|
+
import { collect, map as map_3, item, insertRangeInPlace, fold } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
7
7
|
import { CompositeHeader } from "./CompositeHeader.js";
|
|
8
|
-
import { Array_groupBy, distinct } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { FSharpSet__get_IsEmpty, ofSeq, intersect } from "../../fable_modules/fable-library-js.4.
|
|
8
|
+
import { Array_groupBy, distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
9
|
+
import { FSharpSet__get_IsEmpty, ofSeq, intersect } from "../../fable_modules/fable-library-js.4.22.0/Set.js";
|
|
10
10
|
import { ArcTable } from "./ArcTable.js";
|
|
11
|
-
import { tryFind, ofSeq as ofSeq_1 } from "../../fable_modules/fable-library-js.4.
|
|
11
|
+
import { tryFind, ofSeq as ofSeq_1 } from "../../fable_modules/fable-library-js.4.22.0/Map.js";
|
|
12
12
|
import { Unchecked_fillMissingCells } from "./ArcTableAux.js";
|
|
13
|
-
import { class_type } from "../../fable_modules/fable-library-js.4.
|
|
13
|
+
import { class_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* If a table with the given name exists in the TableList, returns it, else returns None.
|
|
@@ -325,7 +325,7 @@ export class ArcTables {
|
|
|
325
325
|
AddColumnAt(tableIndex, header, cells, columnIndex, forceReplace) {
|
|
326
326
|
const this$ = this;
|
|
327
327
|
this$.MapTableAt(tableIndex, (table) => {
|
|
328
|
-
table.AddColumn(header, cells, columnIndex, forceReplace);
|
|
328
|
+
table.AddColumn(header, unwrap(cells), unwrap(columnIndex), unwrap(forceReplace));
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
331
|
AddColumn(tableName, header, cells, columnIndex, forceReplace) {
|
|
@@ -347,7 +347,7 @@ export class ArcTables {
|
|
|
347
347
|
UpdateColumnAt(tableIndex, columnIndex, header, cells) {
|
|
348
348
|
const this$ = this;
|
|
349
349
|
this$.MapTableAt(tableIndex, (table) => {
|
|
350
|
-
table.UpdateColumn(columnIndex, header, cells);
|
|
350
|
+
table.UpdateColumn(columnIndex, header, unwrap(cells));
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
353
|
UpdateColumn(tableName, columnIndex, header, cells) {
|
|
@@ -430,7 +430,7 @@ export class ArcTables {
|
|
|
430
430
|
}, map_3((tupledArg) => reduce((table, table_1) => ArcTable.append(table, table_1), tupledArg[1]), Array_groupBy((t_2) => t_2.Name, map_3((t_1) => {
|
|
431
431
|
const k = defaultArg(bind((c_1) => {
|
|
432
432
|
if (c_1.AsFreeText === "") {
|
|
433
|
-
return
|
|
433
|
+
return undefined;
|
|
434
434
|
}
|
|
435
435
|
else {
|
|
436
436
|
return c_1.AsFreeText;
|
|
@@ -451,7 +451,7 @@ export class ArcTables {
|
|
|
451
451
|
GetHashCode: stringHash,
|
|
452
452
|
}))), keepUnusedRefTables_1 ? append(choose((kv) => {
|
|
453
453
|
if (usedTables.has(kv[0])) {
|
|
454
|
-
return
|
|
454
|
+
return undefined;
|
|
455
455
|
}
|
|
456
456
|
else {
|
|
457
457
|
return kv[1];
|
|
@@ -472,7 +472,7 @@ export class ArcTables {
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
export function ArcTables_$reflection() {
|
|
475
|
-
return class_type("ARCtrl.ArcTables",
|
|
475
|
+
return class_type("ARCtrl.ArcTables", undefined, ArcTables);
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
export function ArcTables_$ctor_Z420F2E1A(initTables) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
2
2
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../OntologyAnnotation.js";
|
|
3
3
|
import { Data_$reflection, Data } from "../Data.js";
|
|
4
|
-
import { Union } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { union_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { Union } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
5
|
+
import { union_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
6
6
|
|
|
7
7
|
export class CompositeCell extends Union {
|
|
8
8
|
constructor(tag, fields) {
|
|
@@ -108,13 +108,13 @@ export class CompositeCell extends Union {
|
|
|
108
108
|
return new CompositeCell(0, [oa]);
|
|
109
109
|
}
|
|
110
110
|
static createTermFromString(name, tsr, tan) {
|
|
111
|
-
return new CompositeCell(0, [OntologyAnnotation.create(name, tsr, tan)]);
|
|
111
|
+
return new CompositeCell(0, [OntologyAnnotation.create(unwrap(name), unwrap(tsr), unwrap(tan))]);
|
|
112
112
|
}
|
|
113
113
|
static createUnitized(value, oa) {
|
|
114
114
|
return new CompositeCell(2, [value, defaultArg(oa, new OntologyAnnotation())]);
|
|
115
115
|
}
|
|
116
116
|
static createUnitizedFromString(value, name, tsr, tan) {
|
|
117
|
-
const tupledArg = [value, OntologyAnnotation.create(name, tsr, tan)];
|
|
117
|
+
const tupledArg = [value, OntologyAnnotation.create(unwrap(name), unwrap(tsr), unwrap(tan))];
|
|
118
118
|
return new CompositeCell(2, [tupledArg[0], tupledArg[1]]);
|
|
119
119
|
}
|
|
120
120
|
static createFreeText(value) {
|
|
@@ -124,7 +124,7 @@ export class CompositeCell extends Union {
|
|
|
124
124
|
return new CompositeCell(3, [d]);
|
|
125
125
|
}
|
|
126
126
|
static createDataFromString(value, format, selectorFormat) {
|
|
127
|
-
return new CompositeCell(3, [Data.create(
|
|
127
|
+
return new CompositeCell(3, [Data.create(undefined, value, undefined, unwrap(format), unwrap(selectorFormat))]);
|
|
128
128
|
}
|
|
129
129
|
static get emptyTerm() {
|
|
130
130
|
return new CompositeCell(0, [new OntologyAnnotation()]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { fold, empty, singleton, collect, delay, toArray, exists } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
2
|
+
import { fold, empty, singleton, collect, delay, toArray, exists } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
3
3
|
import { CompositeCell_$reflection, CompositeCell } from "./CompositeCell.js";
|
|
4
|
-
import { Record } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { Record } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
5
5
|
import { CompositeHeader_$reflection } from "./CompositeHeader.js";
|
|
6
|
-
import { record_type, array_type } from "../../fable_modules/fable-library-js.4.
|
|
6
|
+
import { record_type, array_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export class CompositeColumn extends Record {
|
|
9
9
|
constructor(Header, Cells) {
|
|
@@ -21,7 +21,7 @@ export class CompositeColumn extends Record {
|
|
|
21
21
|
TryGetColumnUnits() {
|
|
22
22
|
const this$ = this;
|
|
23
23
|
const arr = toArray(delay(() => collect((cell) => (cell.isUnitized ? singleton(cell.AsUnitized[1]) : empty()), this$.Cells)));
|
|
24
|
-
return (arr.length === 0) ?
|
|
24
|
+
return (arr.length === 0) ? undefined : arr;
|
|
25
25
|
}
|
|
26
26
|
GetDefaultEmptyCell() {
|
|
27
27
|
const this$ = this;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { map } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { union_type, string_type, getUnionCases, name } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { Union, toString } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { map } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
2
|
+
import { union_type, string_type, getUnionCases, name } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
3
|
+
import { Union, toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
4
4
|
import { ActivePatterns_$007CTermColumn$007C_$007C, Pattern_CommentPattern, Pattern_OutputPattern, Pattern_InputPattern, ActivePatterns_$007CRegex$007C_$007C, tryParseIOTypeHeader } from "../Helper/Regex.js";
|
|
5
|
-
import { printf, toFail } from "../../fable_modules/fable-library-js.4.
|
|
5
|
+
import { printf, toFail } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
6
6
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../OntologyAnnotation.js";
|
|
7
7
|
|
|
8
8
|
export class IOType extends Union {
|
|
@@ -90,7 +90,7 @@ export class IOType extends Union {
|
|
|
90
90
|
static tryOfHeaderString(str) {
|
|
91
91
|
const matchValue = tryParseIOTypeHeader(str);
|
|
92
92
|
if (matchValue == null) {
|
|
93
|
-
return
|
|
93
|
+
return undefined;
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
96
96
|
const s = matchValue;
|
|
@@ -139,7 +139,7 @@ export class CompositeHeader extends Union {
|
|
|
139
139
|
}
|
|
140
140
|
ToTerm() {
|
|
141
141
|
const this$ = this;
|
|
142
|
-
return (this$.tag === 2) ? this$.fields[0] : ((this$.tag === 1) ? this$.fields[0] : ((this$.tag === 0) ? this$.fields[0] : ((this$.tag === 4) ? OntologyAnnotation.create(toString(this$),
|
|
142
|
+
return (this$.tag === 2) ? this$.fields[0] : ((this$.tag === 1) ? this$.fields[0] : ((this$.tag === 0) ? this$.fields[0] : ((this$.tag === 4) ? OntologyAnnotation.create(toString(this$), undefined, this$.GetFeaturedColumnAccession) : ((this$.tag === 8) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 5) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 6) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 7) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 9) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 10) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 11) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 12) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 14) ? OntologyAnnotation.create(toString(this$)) : ((this$.tag === 13) ? OntologyAnnotation.create(toString(this$)) : this$.fields[0])))))))))))));
|
|
143
143
|
}
|
|
144
144
|
static OfHeaderString(str) {
|
|
145
145
|
const matchValue = str.trim();
|
|
@@ -439,11 +439,11 @@ export class CompositeHeader extends Union {
|
|
|
439
439
|
}
|
|
440
440
|
TryInput() {
|
|
441
441
|
const this$ = this;
|
|
442
|
-
return (this$.tag === 11) ? this$.fields[0] :
|
|
442
|
+
return (this$.tag === 11) ? this$.fields[0] : undefined;
|
|
443
443
|
}
|
|
444
444
|
TryOutput() {
|
|
445
445
|
const this$ = this;
|
|
446
|
-
return (this$.tag === 12) ? this$.fields[0] :
|
|
446
|
+
return (this$.tag === 12) ? this$.fields[0] : undefined;
|
|
447
447
|
}
|
|
448
448
|
TryIOType() {
|
|
449
449
|
const this$ = this;
|
|
@@ -466,7 +466,7 @@ export class CompositeHeader extends Union {
|
|
|
466
466
|
case 0:
|
|
467
467
|
return io;
|
|
468
468
|
default:
|
|
469
|
-
return
|
|
469
|
+
return undefined;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
get IsUnique() {
|
package/Core/Template.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { safeHash, equals } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { Union } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { class_type, union_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.
|
|
5
|
-
import { newGuid } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { safeHash, equals } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
2
|
+
import { Union } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
3
|
+
import { class_type, union_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
4
|
+
import { defaultArg, unwrap } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
5
|
+
import { newGuid } from "../fable_modules/fable-library-js.4.22.0/Guid.js";
|
|
6
6
|
import { ArcTable } from "./Table/ArcTable.js";
|
|
7
7
|
import { SemVer_tryOfString_Z721C83C5 } from "./Helper/SemVer.js";
|
|
8
8
|
import { hashDateTime, boxHashSeq, boxHashArray } from "./Helper/HashCodes.js";
|
|
9
|
-
import { now } from "../fable_modules/fable-library-js.4.
|
|
9
|
+
import { now } from "../fable_modules/fable-library-js.4.22.0/Date.js";
|
|
10
10
|
|
|
11
11
|
export class Organisation extends Union {
|
|
12
12
|
constructor(tag, fields) {
|
|
@@ -169,7 +169,7 @@ export class Template {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
export function Template_$reflection() {
|
|
172
|
-
return class_type("ARCtrl.Template",
|
|
172
|
+
return class_type("ARCtrl.Template", undefined, Template);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
export function Template_$ctor_Z17EA765C(id, table, name, description, organisation, version, authors, repos, tags, lastUpdated) {
|
package/Core/Templates.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defaultArg } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
2
2
|
import { ResizeArray_append, ResizeArray_collect, ResizeArray_distinct, ResizeArray_filter } from "./Helper/Collections.js";
|
|
3
|
-
import { uncurry2, safeHash, equals, disposeSafe, getEnumerator } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { contains as contains_1 } from "../fable_modules/fable-library-js.4.
|
|
5
|
-
import { addRangeInPlace, item } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { Array_distinct } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { class_type } from "../fable_modules/fable-library-js.4.
|
|
3
|
+
import { uncurry2, safeHash, equals, disposeSafe, getEnumerator } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
4
|
+
import { contains as contains_1 } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
5
|
+
import { addRangeInPlace, item } from "../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
6
|
+
import { Array_distinct } from "../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
7
|
+
import { class_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
8
8
|
|
|
9
9
|
export function TemplatesAux_getComparer(matchAll) {
|
|
10
10
|
if (defaultArg(matchAll, false)) {
|
|
@@ -18,7 +18,7 @@ export function TemplatesAux_getComparer(matchAll) {
|
|
|
18
18
|
export function TemplatesAux_filterOnTags(tagGetter, queryTags, comparer, templates) {
|
|
19
19
|
return ResizeArray_filter((t) => {
|
|
20
20
|
const templateTags = tagGetter(t);
|
|
21
|
-
let isValid =
|
|
21
|
+
let isValid = undefined;
|
|
22
22
|
let enumerator = getEnumerator(queryTags);
|
|
23
23
|
try {
|
|
24
24
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
@@ -79,6 +79,6 @@ export class Templates {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export function Templates_$reflection() {
|
|
82
|
-
return class_type("ARCtrl.Templates",
|
|
82
|
+
return class_type("ARCtrl.Templates", undefined, Templates);
|
|
83
83
|
}
|
|
84
84
|
|
package/Core/Value.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tryParse } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { Union, toString, FSharpRef } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { tryParse as tryParse_1 } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { tryParse } from "../fable_modules/fable-library-js.4.22.0/Int32.js";
|
|
2
|
+
import { Union, toString, FSharpRef } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
3
|
+
import { tryParse as tryParse_1 } from "../fable_modules/fable-library-js.4.22.0/Double.js";
|
|
4
4
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
5
|
-
import { defaultArg } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { int32ToString } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { printf, toText } from "../fable_modules/fable-library-js.4.
|
|
8
|
-
import { union_type, string_type, float64_type, int32_type } from "../fable_modules/fable-library-js.4.
|
|
5
|
+
import { unwrap, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
6
|
+
import { int32ToString } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
7
|
+
import { printf, toText } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
8
|
+
import { union_type, string_type, float64_type, int32_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
9
9
|
|
|
10
10
|
export class Value extends Union {
|
|
11
11
|
constructor(tag, fields) {
|
|
@@ -36,16 +36,16 @@ export class Value extends Union {
|
|
|
36
36
|
}
|
|
37
37
|
static fromOptions(value, termSource, termAccesssion) {
|
|
38
38
|
let value_1;
|
|
39
|
-
return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ?
|
|
39
|
+
return (value == null) ? ((termSource == null) ? ((termAccesssion == null) ? undefined : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), unwrap(termSource), unwrap(termAccesssion))]))) : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), unwrap(termSource), unwrap(termAccesssion))]))) : ((termSource == null) ? ((termAccesssion == null) ? ((value_1 = value, Value.fromString(value_1))) : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), unwrap(termSource), unwrap(termAccesssion))]))) : (new Value(0, [OntologyAnnotation.create(defaultArg(value, ""), unwrap(termSource), unwrap(termAccesssion))])));
|
|
40
40
|
}
|
|
41
41
|
static toOptions(value) {
|
|
42
42
|
switch (value.tag) {
|
|
43
43
|
case 1:
|
|
44
|
-
return [int32ToString(value.fields[0]),
|
|
44
|
+
return [int32ToString(value.fields[0]), undefined, undefined];
|
|
45
45
|
case 2:
|
|
46
|
-
return [value.fields[0].toString(),
|
|
46
|
+
return [value.fields[0].toString(), undefined, undefined];
|
|
47
47
|
case 3:
|
|
48
|
-
return [value.fields[0],
|
|
48
|
+
return [value.fields[0], undefined, undefined];
|
|
49
49
|
default: {
|
|
50
50
|
const oa = value.fields[0];
|
|
51
51
|
return [oa.Name, oa.TermAccessionNumber, oa.TermSourceREF];
|
package/FileSystem/Commit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Record } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { record_type, class_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { record_type, class_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class Commit extends Record {
|
|
5
5
|
constructor(Hash, UserName, UserEmail, Date$, Message) {
|
package/FileSystem/FileSystem.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defaultArg } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
2
2
|
import { FileSystemTree_$reflection, FileSystemTree } from "./FileSystemTree.js";
|
|
3
|
-
import { map, append } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { Record } from "../fable_modules/fable-library-js.4.
|
|
3
|
+
import { map, append } from "../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
4
|
+
import { Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
5
5
|
import { Commit_$reflection } from "./Commit.js";
|
|
6
|
-
import { record_type, array_type } from "../fable_modules/fable-library-js.4.
|
|
6
|
+
import { record_type, array_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export class FileSystem extends Record {
|
|
9
9
|
constructor(Tree, History) {
|