@nfdi4plants/arctrl 1.0.0-alpha10
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 +262 -0
- package/Contract/Contract.js +95 -0
- package/Contracts/Contracts.ARCtrl.js +35 -0
- package/Contracts/Contracts.ArcAssay.js +65 -0
- package/Contracts/Contracts.ArcInvestigation.js +58 -0
- package/Contracts/Contracts.ArcStudy.js +65 -0
- package/Contracts/Contracts.Git.js +91 -0
- package/FileSystem/Commit.js +18 -0
- package/FileSystem/DefaultGitignore.js +3 -0
- package/FileSystem/FileSystem.js +53 -0
- package/FileSystem/FileSystemTree.js +223 -0
- package/FileSystem/Path.js +38 -0
- package/FileSystemTree.js +51 -0
- package/ISA/ISA/ArcTypes/ArcTable.js +848 -0
- package/ISA/ISA/ArcTypes/ArcTableAux.js +1105 -0
- package/ISA/ISA/ArcTypes/ArcTables.js +479 -0
- package/ISA/ISA/ArcTypes/ArcTypes.js +2281 -0
- package/ISA/ISA/ArcTypes/CompositeCell.js +180 -0
- package/ISA/ISA/ArcTypes/CompositeColumn.js +48 -0
- package/ISA/ISA/ArcTypes/CompositeHeader.js +668 -0
- package/ISA/ISA/ArcTypes/CompositeRow.js +111 -0
- package/ISA/ISA/ArcTypes/IdentifierSetters.js +26 -0
- package/ISA/ISA/Builder/Types.js +243 -0
- package/ISA/ISA/Fable.js +50 -0
- package/ISA/ISA/Helper.js +338 -0
- package/ISA/ISA/Identifier.js +76 -0
- package/ISA/ISA/JsonTypes/AnnotationValue.js +56 -0
- package/ISA/ISA/JsonTypes/Assay.js +620 -0
- package/ISA/ISA/JsonTypes/AssayMaterials.js +39 -0
- package/ISA/ISA/JsonTypes/ColumnIndex.js +246 -0
- package/ISA/ISA/JsonTypes/Comment.js +58 -0
- package/ISA/ISA/JsonTypes/CommentList.js +139 -0
- package/ISA/ISA/JsonTypes/Component.js +158 -0
- package/ISA/ISA/JsonTypes/Data.js +55 -0
- package/ISA/ISA/JsonTypes/DataFile.js +68 -0
- package/ISA/ISA/JsonTypes/Factor.js +128 -0
- package/ISA/ISA/JsonTypes/FactorValue.js +109 -0
- package/ISA/ISA/JsonTypes/Investigation.js +204 -0
- package/ISA/ISA/JsonTypes/Material.js +66 -0
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +101 -0
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +126 -0
- package/ISA/ISA/JsonTypes/MaterialType.js +41 -0
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +219 -0
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +85 -0
- package/ISA/ISA/JsonTypes/Person.js +137 -0
- package/ISA/ISA/JsonTypes/Process.js +401 -0
- package/ISA/ISA/JsonTypes/ProcessInput.js +297 -0
- package/ISA/ISA/JsonTypes/ProcessOutput.js +263 -0
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +129 -0
- package/ISA/ISA/JsonTypes/ProcessSequence.js +255 -0
- package/ISA/ISA/JsonTypes/Protocol.js +277 -0
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +101 -0
- package/ISA/ISA/JsonTypes/Publication.js +105 -0
- package/ISA/ISA/JsonTypes/Sample.js +71 -0
- package/ISA/ISA/JsonTypes/Source.js +54 -0
- package/ISA/ISA/JsonTypes/Study.js +942 -0
- package/ISA/ISA/JsonTypes/StudyMaterials.js +45 -0
- package/ISA/ISA/JsonTypes/URI.js +19 -0
- package/ISA/ISA/JsonTypes/Value.js +210 -0
- package/ISA/ISA/Regex.js +588 -0
- package/ISA/ISA.Json/Assay.js +123 -0
- package/ISA/ISA.Json/Comment.js +84 -0
- package/ISA/ISA.Json/ConverterOptions.js +33 -0
- package/ISA/ISA.Json/Data.js +271 -0
- package/ISA/ISA.Json/Decode.js +46 -0
- package/ISA/ISA.Json/Factor.js +194 -0
- package/ISA/ISA.Json/GEncode.js +15 -0
- package/ISA/ISA.Json/Investigation.js +132 -0
- package/ISA/ISA.Json/Material.js +233 -0
- package/ISA/ISA.Json/Ontology.js +204 -0
- package/ISA/ISA.Json/Person.js +204 -0
- package/ISA/ISA.Json/Process.js +291 -0
- package/ISA/ISA.Json/Protocol.js +242 -0
- package/ISA/ISA.Json/Publication.js +92 -0
- package/ISA/ISA.Json/Study.js +230 -0
- package/ISA/ISA.Json/Validation/Fable.js +69 -0
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +88 -0
- package/ISA/ISA.Json/Validation/ValidationResult.js +45 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +137 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +78 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +59 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +478 -0
- package/ISA/ISA.Spreadsheet/ArcAssay.js +150 -0
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +314 -0
- package/ISA/ISA.Spreadsheet/ArcStudy.js +67 -0
- package/ISA/ISA.Spreadsheet/CollectionAux.js +128 -0
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +81 -0
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +60 -0
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +104 -0
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +180 -0
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +27 -0
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +85 -0
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +65 -0
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +73 -0
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +116 -0
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +96 -0
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +451 -0
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +260 -0
- package/README.md +277 -0
- package/SemVer.js +60 -0
- package/Templates/Template.Json.js +85 -0
- package/Templates/Template.Spreadsheet.js +315 -0
- package/Templates/Template.Web.js +27 -0
- package/Templates/Template.js +179 -0
- package/Templates/Templates.js +82 -0
- package/WebRequest/WebRequest.js +38 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fable.Fetch.fableproj +21 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs +469 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +111 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
- package/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +20 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Fable.SimpleHttp.fableproj +23 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs +357 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +429 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs +52 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +112 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs +387 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCell.fs.js +240 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCellsCollection.fs +725 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Cells/FsCellsCollection.fs.js +522 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/CellBuilder.fs +195 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/CellBuilder.fs.js +208 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/ColumnBuilder.fs +209 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/ColumnBuilder.fs.js +137 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/DSL.fs +61 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/DSL.fs.js +62 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Expression.fs +24 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Expression.fs.js +56 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Operators.fs +102 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Operators.fs.js +6 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/RowBuilder.fs +200 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/RowBuilder.fs.js +137 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/SheetBuilder.fs +139 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/SheetBuilder.fs.js +116 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/TableBuilder.fs +120 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/TableBuilder.fs.js +120 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Transform.fs +229 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Transform.fs.js +421 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Types.fs +151 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/Types.fs.js +277 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/WorkbookBuilder.fs +114 -0
- package/fable_modules/FsSpreadsheet.4.1.0/DSL/WorkbookBuilder.fs.js +104 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsAddress.fs +177 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsAddress.fs.js +249 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsColumn.fs +200 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsColumn.fs.js +125 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsRow.fs +202 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsRow.fs.js +135 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsSpreadsheet.fableproj +58 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsWorkbook.fs +183 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsWorkbook.fs.js +138 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsWorksheet.fs +628 -0
- package/fable_modules/FsSpreadsheet.4.1.0/FsWorksheet.fs.js +398 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRange.fs +19 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRange.fs.js +41 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeAddress.fs +222 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeAddress.fs.js +235 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeBase.fs +93 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeBase.fs.js +91 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeColumn.fs +65 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeColumn.fs.js +74 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeRow.fs +22 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Ranges/FsRangeRow.fs.js +40 -0
- package/fable_modules/FsSpreadsheet.4.1.0/SheetBuilder.fs +249 -0
- package/fable_modules/FsSpreadsheet.4.1.0/SheetBuilder.fs.js +325 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTable.fs +455 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTable.fs.js +310 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableField.fs +140 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableField.fs.js +173 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableRow.fs +6 -0
- package/fable_modules/FsSpreadsheet.4.1.0/Tables/FsTableRow.fs.js +17 -0
- package/fable_modules/FsSpreadsheet.4.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/FsSpreadsheet.4.1.0/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +19 -0
- package/fable_modules/FsSpreadsheet.4.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/FsSpreadsheet.4.1.0/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +19 -0
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs +1366 -0
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +1798 -0
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs +621 -0
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +472 -0
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs +31 -0
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +8 -0
- package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +30 -0
- package/fable_modules/Thoth.Json.10.1.0/Types.fs +59 -0
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +98 -0
- package/fable_modules/Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs +19 -0
- package/fable_modules/Thoth.Json.10.1.0/package.json +5 -0
- package/fable_modules/fable-library.4.1.4/Array.d.ts +120 -0
- package/fable_modules/fable-library.4.1.4/Array.js +1204 -0
- package/fable_modules/fable-library.4.1.4/Async.d.ts +32 -0
- package/fable_modules/fable-library.4.1.4/Async.js +158 -0
- package/fable_modules/fable-library.4.1.4/AsyncBuilder.d.ts +59 -0
- package/fable_modules/fable-library.4.1.4/AsyncBuilder.js +183 -0
- package/fable_modules/fable-library.4.1.4/BigInt.d.ts +115 -0
- package/fable_modules/fable-library.4.1.4/BigInt.js +282 -0
- package/fable_modules/fable-library.4.1.4/BitConverter.d.ts +27 -0
- package/fable_modules/fable-library.4.1.4/BitConverter.js +138 -0
- package/fable_modules/fable-library.4.1.4/Boolean.d.ts +3 -0
- package/fable_modules/fable-library.4.1.4/Boolean.js +21 -0
- package/fable_modules/fable-library.4.1.4/Char.d.ts +65 -0
- package/fable_modules/fable-library.4.1.4/Char.js +169 -0
- package/fable_modules/fable-library.4.1.4/Choice.d.ts +138 -0
- package/fable_modules/fable-library.4.1.4/Choice.js +227 -0
- package/fable_modules/fable-library.4.1.4/Date.d.ts +70 -0
- package/fable_modules/fable-library.4.1.4/Date.js +451 -0
- package/fable_modules/fable-library.4.1.4/DateOffset.d.ts +63 -0
- package/fable_modules/fable-library.4.1.4/DateOffset.js +268 -0
- package/fable_modules/fable-library.4.1.4/DateOnly.d.ts +18 -0
- package/fable_modules/fable-library.4.1.4/DateOnly.js +124 -0
- package/fable_modules/fable-library.4.1.4/Decimal.d.ts +45 -0
- package/fable_modules/fable-library.4.1.4/Decimal.js +212 -0
- package/fable_modules/fable-library.4.1.4/Double.d.ts +11 -0
- package/fable_modules/fable-library.4.1.4/Double.js +46 -0
- package/fable_modules/fable-library.4.1.4/Encoding.d.ts +12 -0
- package/fable_modules/fable-library.4.1.4/Encoding.js +173 -0
- package/fable_modules/fable-library.4.1.4/Event.d.ts +31 -0
- package/fable_modules/fable-library.4.1.4/Event.js +93 -0
- package/fable_modules/fable-library.4.1.4/FSharp.Collections.d.ts +7 -0
- package/fable_modules/fable-library.4.1.4/FSharp.Collections.js +27 -0
- package/fable_modules/fable-library.4.1.4/FSharp.Core.d.ts +17 -0
- package/fable_modules/fable-library.4.1.4/FSharp.Core.js +69 -0
- package/fable_modules/fable-library.4.1.4/Global.d.ts +24 -0
- package/fable_modules/fable-library.4.1.4/Global.js +8 -0
- package/fable_modules/fable-library.4.1.4/Guid.d.ts +10 -0
- package/fable_modules/fable-library.4.1.4/Guid.js +142 -0
- package/fable_modules/fable-library.4.1.4/Int32.d.ts +28 -0
- package/fable_modules/fable-library.4.1.4/Int32.js +135 -0
- package/fable_modules/fable-library.4.1.4/List.d.ts +143 -0
- package/fable_modules/fable-library.4.1.4/List.js +1273 -0
- package/fable_modules/fable-library.4.1.4/Long.d.ts +3 -0
- package/fable_modules/fable-library.4.1.4/Long.js +46 -0
- package/fable_modules/fable-library.4.1.4/MailboxProcessor.d.ts +25 -0
- package/fable_modules/fable-library.4.1.4/MailboxProcessor.js +93 -0
- package/fable_modules/fable-library.4.1.4/Map.d.ts +178 -0
- package/fable_modules/fable-library.4.1.4/Map.js +1396 -0
- package/fable_modules/fable-library.4.1.4/MapUtil.d.ts +10 -0
- package/fable_modules/fable-library.4.1.4/MapUtil.js +112 -0
- package/fable_modules/fable-library.4.1.4/MutableMap.d.ts +52 -0
- package/fable_modules/fable-library.4.1.4/MutableMap.js +326 -0
- package/fable_modules/fable-library.4.1.4/MutableSet.d.ts +39 -0
- package/fable_modules/fable-library.4.1.4/MutableSet.js +232 -0
- package/fable_modules/fable-library.4.1.4/Native.d.ts +2 -0
- package/fable_modules/fable-library.4.1.4/Native.js +8 -0
- package/fable_modules/fable-library.4.1.4/Numeric.d.ts +19 -0
- package/fable_modules/fable-library.4.1.4/Numeric.js +71 -0
- package/fable_modules/fable-library.4.1.4/Observable.d.ts +32 -0
- package/fable_modules/fable-library.4.1.4/Observable.js +113 -0
- package/fable_modules/fable-library.4.1.4/Option.d.ts +28 -0
- package/fable_modules/fable-library.4.1.4/Option.js +96 -0
- package/fable_modules/fable-library.4.1.4/README.md +3 -0
- package/fable_modules/fable-library.4.1.4/Random.d.ts +37 -0
- package/fable_modules/fable-library.4.1.4/Random.js +170 -0
- package/fable_modules/fable-library.4.1.4/Range.d.ts +12 -0
- package/fable_modules/fable-library.4.1.4/Range.js +45 -0
- package/fable_modules/fable-library.4.1.4/Reflection.d.ts +119 -0
- package/fable_modules/fable-library.4.1.4/Reflection.js +461 -0
- package/fable_modules/fable-library.4.1.4/RegExp.d.ts +10 -0
- package/fable_modules/fable-library.4.1.4/RegExp.js +132 -0
- package/fable_modules/fable-library.4.1.4/Seq.d.ts +165 -0
- package/fable_modules/fable-library.4.1.4/Seq.js +1379 -0
- package/fable_modules/fable-library.4.1.4/Seq2.d.ts +18 -0
- package/fable_modules/fable-library.4.1.4/Seq2.js +111 -0
- package/fable_modules/fable-library.4.1.4/Set.d.ts +190 -0
- package/fable_modules/fable-library.4.1.4/Set.js +1789 -0
- package/fable_modules/fable-library.4.1.4/String.d.ts +49 -0
- package/fable_modules/fable-library.4.1.4/String.js +540 -0
- package/fable_modules/fable-library.4.1.4/System.Collections.Generic.d.ts +71 -0
- package/fable_modules/fable-library.4.1.4/System.Collections.Generic.js +307 -0
- package/fable_modules/fable-library.4.1.4/System.Text.d.ts +30 -0
- package/fable_modules/fable-library.4.1.4/System.Text.js +110 -0
- package/fable_modules/fable-library.4.1.4/SystemException.d.ts +5 -0
- package/fable_modules/fable-library.4.1.4/SystemException.js +5 -0
- package/fable_modules/fable-library.4.1.4/TimeOnly.d.ts +15 -0
- package/fable_modules/fable-library.4.1.4/TimeOnly.js +122 -0
- package/fable_modules/fable-library.4.1.4/TimeSpan.d.ts +34 -0
- package/fable_modules/fable-library.4.1.4/TimeSpan.js +177 -0
- package/fable_modules/fable-library.4.1.4/Timer.d.ts +19 -0
- package/fable_modules/fable-library.4.1.4/Timer.js +67 -0
- package/fable_modules/fable-library.4.1.4/Types.d.ts +58 -0
- package/fable_modules/fable-library.4.1.4/Types.js +208 -0
- package/fable_modules/fable-library.4.1.4/Unicode.13.0.0.d.ts +2 -0
- package/fable_modules/fable-library.4.1.4/Unicode.13.0.0.js +4 -0
- package/fable_modules/fable-library.4.1.4/Uri.d.ts +29 -0
- package/fable_modules/fable-library.4.1.4/Uri.js +142 -0
- package/fable_modules/fable-library.4.1.4/Util.d.ts +187 -0
- package/fable_modules/fable-library.4.1.4/Util.js +662 -0
- package/fable_modules/fable-library.4.1.4/lib/big.d.ts +338 -0
- package/fable_modules/fable-library.4.1.4/lib/big.js +826 -0
- package/fable_modules/fable-library.4.1.4/package.json +23 -0
- package/fable_modules/project_cracked.json +1 -0
- package/index.js +13 -0
- package/package.json +24 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as Unicode from "./Unicode.13.0.0.js";
|
|
2
|
+
function getCategoryFunc() {
|
|
3
|
+
// unpack Unicode codepoint ranges (delta encoded) and general categories
|
|
4
|
+
const offset = 35; // offsets unprintable characters
|
|
5
|
+
const a1 = [...Unicode.rangeDeltas].map((ch) => (ch.codePointAt(0) ?? 0) - offset);
|
|
6
|
+
const a2 = [...Unicode.categories].map((ch) => (ch.codePointAt(0) ?? 0) - offset);
|
|
7
|
+
const codepoints = new Uint32Array(a1);
|
|
8
|
+
const categories = new Uint8Array(a2);
|
|
9
|
+
for (let i = 1; i < codepoints.length; ++i) {
|
|
10
|
+
codepoints[i] += codepoints[i - 1];
|
|
11
|
+
}
|
|
12
|
+
// binary search in unicode ranges
|
|
13
|
+
return (cp) => {
|
|
14
|
+
let hi = codepoints.length;
|
|
15
|
+
let lo = 0;
|
|
16
|
+
while (hi - lo > 1) {
|
|
17
|
+
const mid = Math.floor((hi + lo) / 2);
|
|
18
|
+
const test = codepoints[mid];
|
|
19
|
+
if (cp < test) {
|
|
20
|
+
hi = mid;
|
|
21
|
+
}
|
|
22
|
+
else if (cp === test) {
|
|
23
|
+
hi = lo = mid;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
else if (test < cp) {
|
|
27
|
+
lo = mid;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return categories[lo];
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const isControlMask = 1 << 14 /* UnicodeCategory.Control */;
|
|
34
|
+
const isDigitMask = 1 << 8 /* UnicodeCategory.DecimalDigitNumber */;
|
|
35
|
+
const isLetterMask = 0
|
|
36
|
+
| 1 << 0 /* UnicodeCategory.UppercaseLetter */
|
|
37
|
+
| 1 << 1 /* UnicodeCategory.LowercaseLetter */
|
|
38
|
+
| 1 << 2 /* UnicodeCategory.TitlecaseLetter */
|
|
39
|
+
| 1 << 3 /* UnicodeCategory.ModifierLetter */
|
|
40
|
+
| 1 << 4 /* UnicodeCategory.OtherLetter */;
|
|
41
|
+
const isLetterOrDigitMask = isLetterMask | isDigitMask;
|
|
42
|
+
const isUpperMask = 1 << 0 /* UnicodeCategory.UppercaseLetter */;
|
|
43
|
+
const isLowerMask = 1 << 1 /* UnicodeCategory.LowercaseLetter */;
|
|
44
|
+
const isNumberMask = 0
|
|
45
|
+
| 1 << 8 /* UnicodeCategory.DecimalDigitNumber */
|
|
46
|
+
| 1 << 9 /* UnicodeCategory.LetterNumber */
|
|
47
|
+
| 1 << 10 /* UnicodeCategory.OtherNumber */;
|
|
48
|
+
const isPunctuationMask = 0
|
|
49
|
+
| 1 << 18 /* UnicodeCategory.ConnectorPunctuation */
|
|
50
|
+
| 1 << 19 /* UnicodeCategory.DashPunctuation */
|
|
51
|
+
| 1 << 20 /* UnicodeCategory.OpenPunctuation */
|
|
52
|
+
| 1 << 21 /* UnicodeCategory.ClosePunctuation */
|
|
53
|
+
| 1 << 22 /* UnicodeCategory.InitialQuotePunctuation */
|
|
54
|
+
| 1 << 23 /* UnicodeCategory.FinalQuotePunctuation */
|
|
55
|
+
| 1 << 24 /* UnicodeCategory.OtherPunctuation */;
|
|
56
|
+
const isSeparatorMask = 0
|
|
57
|
+
| 1 << 11 /* UnicodeCategory.SpaceSeparator */
|
|
58
|
+
| 1 << 12 /* UnicodeCategory.LineSeparator */
|
|
59
|
+
| 1 << 13 /* UnicodeCategory.ParagraphSeparator */;
|
|
60
|
+
const isSymbolMask = 0
|
|
61
|
+
| 1 << 25 /* UnicodeCategory.MathSymbol */
|
|
62
|
+
| 1 << 26 /* UnicodeCategory.CurrencySymbol */
|
|
63
|
+
| 1 << 27 /* UnicodeCategory.ModifierSymbol */
|
|
64
|
+
| 1 << 28 /* UnicodeCategory.OtherSymbol */;
|
|
65
|
+
const isWhiteSpaceMask = 0
|
|
66
|
+
| 1 << 11 /* UnicodeCategory.SpaceSeparator */
|
|
67
|
+
| 1 << 12 /* UnicodeCategory.LineSeparator */
|
|
68
|
+
| 1 << 13 /* UnicodeCategory.ParagraphSeparator */;
|
|
69
|
+
const unicodeCategoryFunc = getCategoryFunc();
|
|
70
|
+
function charCodeAt(s, index) {
|
|
71
|
+
if (index >= 0 && index < s.length) {
|
|
72
|
+
return s.charCodeAt(index);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
throw new Error("Index out of range.");
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export const getUnicodeCategory = (s) => getUnicodeCategory2(s, 0);
|
|
79
|
+
export const isControl = (s) => isControl2(s, 0);
|
|
80
|
+
export const isDigit = (s) => isDigit2(s, 0);
|
|
81
|
+
export const isLetter = (s) => isLetter2(s, 0);
|
|
82
|
+
export const isLetterOrDigit = (s) => isLetterOrDigit2(s, 0);
|
|
83
|
+
export const isUpper = (s) => isUpper2(s, 0);
|
|
84
|
+
export const isLower = (s) => isLower2(s, 0);
|
|
85
|
+
export const isNumber = (s) => isNumber2(s, 0);
|
|
86
|
+
export const isPunctuation = (s) => isPunctuation2(s, 0);
|
|
87
|
+
export const isSeparator = (s) => isSeparator2(s, 0);
|
|
88
|
+
export const isSymbol = (s) => isSymbol2(s, 0);
|
|
89
|
+
export const isWhiteSpace = (s) => isWhiteSpace2(s, 0);
|
|
90
|
+
export const isHighSurrogate = (s) => isHighSurrogate2(s, 0);
|
|
91
|
+
export const isLowSurrogate = (s) => isLowSurrogate2(s, 0);
|
|
92
|
+
export const isSurrogate = (s) => isSurrogate2(s, 0);
|
|
93
|
+
export function getUnicodeCategory2(s, index) {
|
|
94
|
+
const cp = charCodeAt(s, index);
|
|
95
|
+
return unicodeCategoryFunc(cp);
|
|
96
|
+
}
|
|
97
|
+
export function isControl2(s, index) {
|
|
98
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
99
|
+
return (test & isControlMask) !== 0;
|
|
100
|
+
}
|
|
101
|
+
export function isDigit2(s, index) {
|
|
102
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
103
|
+
return (test & isDigitMask) !== 0;
|
|
104
|
+
}
|
|
105
|
+
export function isLetter2(s, index) {
|
|
106
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
107
|
+
return (test & isLetterMask) !== 0;
|
|
108
|
+
}
|
|
109
|
+
export function isLetterOrDigit2(s, index) {
|
|
110
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
111
|
+
return (test & isLetterOrDigitMask) !== 0;
|
|
112
|
+
}
|
|
113
|
+
export function isUpper2(s, index) {
|
|
114
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
115
|
+
return (test & isUpperMask) !== 0;
|
|
116
|
+
}
|
|
117
|
+
export function isLower2(s, index) {
|
|
118
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
119
|
+
return (test & isLowerMask) !== 0;
|
|
120
|
+
}
|
|
121
|
+
export function isNumber2(s, index) {
|
|
122
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
123
|
+
return (test & isNumberMask) !== 0;
|
|
124
|
+
}
|
|
125
|
+
export function isPunctuation2(s, index) {
|
|
126
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
127
|
+
return (test & isPunctuationMask) !== 0;
|
|
128
|
+
}
|
|
129
|
+
export function isSeparator2(s, index) {
|
|
130
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
131
|
+
return (test & isSeparatorMask) !== 0;
|
|
132
|
+
}
|
|
133
|
+
export function isSymbol2(s, index) {
|
|
134
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
135
|
+
return (test & isSymbolMask) !== 0;
|
|
136
|
+
}
|
|
137
|
+
export function isWhiteSpace2(s, index) {
|
|
138
|
+
const test = 1 << getUnicodeCategory2(s, index);
|
|
139
|
+
if ((test & isWhiteSpaceMask) !== 0) {
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
const cp = charCodeAt(s, index);
|
|
143
|
+
return (0x09 <= cp && cp <= 0x0D) || cp === 0x85 || cp === 0xA0;
|
|
144
|
+
}
|
|
145
|
+
export function isHighSurrogate2(s, index) {
|
|
146
|
+
const cp = charCodeAt(s, index);
|
|
147
|
+
return (0xD800 <= cp && cp <= 0xDBFF);
|
|
148
|
+
}
|
|
149
|
+
export function isLowSurrogate2(s, index) {
|
|
150
|
+
const cp = charCodeAt(s, index);
|
|
151
|
+
return (0xDC00 <= cp && cp <= 0xDFFF);
|
|
152
|
+
}
|
|
153
|
+
export function isSurrogate2(s, index) {
|
|
154
|
+
const cp = charCodeAt(s, index);
|
|
155
|
+
return (0xD800 <= cp && cp <= 0xDFFF);
|
|
156
|
+
}
|
|
157
|
+
export function isSurrogatePair(s, index) {
|
|
158
|
+
return typeof index === "number"
|
|
159
|
+
? isHighSurrogate2(s, index) && isLowSurrogate2(s, index + 1)
|
|
160
|
+
: isHighSurrogate(s) && isLowSurrogate(index);
|
|
161
|
+
}
|
|
162
|
+
export function parse(input) {
|
|
163
|
+
if (input.length === 1) {
|
|
164
|
+
return input[0];
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
throw new Error("String must be exactly one character long.");
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { Union } from "./Types.js";
|
|
2
|
+
import { TypeInfo } from "./Reflection.js";
|
|
3
|
+
import { Option } from "./Option.js";
|
|
4
|
+
export type FSharpResult$2_$union<T, TError> = FSharpResult$2<T, TError, 0> | FSharpResult$2<T, TError, 1>;
|
|
5
|
+
export type FSharpResult$2_$cases<T, TError> = {
|
|
6
|
+
0: ["Ok", [T]];
|
|
7
|
+
1: ["Error", [TError]];
|
|
8
|
+
};
|
|
9
|
+
export declare function FSharpResult$2_Ok<T, TError>(ResultValue: T): FSharpResult$2<T, TError, 0>;
|
|
10
|
+
export declare function FSharpResult$2_Error<T, TError>(ErrorValue: TError): FSharpResult$2<T, TError, 1>;
|
|
11
|
+
export declare class FSharpResult$2<T, TError, Tag extends keyof FSharpResult$2_$cases<T, TError>> extends Union<Tag, FSharpResult$2_$cases<T, TError>[Tag][0]> {
|
|
12
|
+
readonly tag: Tag;
|
|
13
|
+
readonly fields: FSharpResult$2_$cases<T, TError>[Tag][1];
|
|
14
|
+
constructor(tag: Tag, fields: FSharpResult$2_$cases<T, TError>[Tag][1]);
|
|
15
|
+
cases(): string[];
|
|
16
|
+
}
|
|
17
|
+
export declare function FSharpResult$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
18
|
+
export declare function Result_Map<a, b, c>(mapping: ((arg0: a) => b), result: FSharpResult$2_$union<a, c>): FSharpResult$2_$union<b, c>;
|
|
19
|
+
export declare function Result_MapError<a, b, c>(mapping: ((arg0: a) => b), result: FSharpResult$2_$union<c, a>): FSharpResult$2_$union<c, b>;
|
|
20
|
+
export declare function Result_Bind<a, b, c>(binder: ((arg0: a) => FSharpResult$2_$union<b, c>), result: FSharpResult$2_$union<a, c>): FSharpResult$2_$union<b, c>;
|
|
21
|
+
export type FSharpChoice$2_$union<T1, T2> = FSharpChoice$2<T1, T2, 0> | FSharpChoice$2<T1, T2, 1>;
|
|
22
|
+
export type FSharpChoice$2_$cases<T1, T2> = {
|
|
23
|
+
0: ["Choice1Of2", [T1]];
|
|
24
|
+
1: ["Choice2Of2", [T2]];
|
|
25
|
+
};
|
|
26
|
+
export declare function FSharpChoice$2_Choice1Of2<T1, T2>(Item: T1): FSharpChoice$2<T1, T2, 0>;
|
|
27
|
+
export declare function FSharpChoice$2_Choice2Of2<T1, T2>(Item: T2): FSharpChoice$2<T1, T2, 1>;
|
|
28
|
+
export declare class FSharpChoice$2<T1, T2, Tag extends keyof FSharpChoice$2_$cases<T1, T2>> extends Union<Tag, FSharpChoice$2_$cases<T1, T2>[Tag][0]> {
|
|
29
|
+
readonly tag: Tag;
|
|
30
|
+
readonly fields: FSharpChoice$2_$cases<T1, T2>[Tag][1];
|
|
31
|
+
constructor(tag: Tag, fields: FSharpChoice$2_$cases<T1, T2>[Tag][1]);
|
|
32
|
+
cases(): string[];
|
|
33
|
+
}
|
|
34
|
+
export declare function FSharpChoice$2_$reflection(gen0: TypeInfo, gen1: TypeInfo): TypeInfo;
|
|
35
|
+
export type FSharpChoice$3_$union<T1, T2, T3> = FSharpChoice$3<T1, T2, T3, 0> | FSharpChoice$3<T1, T2, T3, 1> | FSharpChoice$3<T1, T2, T3, 2>;
|
|
36
|
+
export type FSharpChoice$3_$cases<T1, T2, T3> = {
|
|
37
|
+
0: ["Choice1Of3", [T1]];
|
|
38
|
+
1: ["Choice2Of3", [T2]];
|
|
39
|
+
2: ["Choice3Of3", [T3]];
|
|
40
|
+
};
|
|
41
|
+
export declare function FSharpChoice$3_Choice1Of3<T1, T2, T3>(Item: T1): FSharpChoice$3<T1, T2, T3, 0>;
|
|
42
|
+
export declare function FSharpChoice$3_Choice2Of3<T1, T2, T3>(Item: T2): FSharpChoice$3<T1, T2, T3, 1>;
|
|
43
|
+
export declare function FSharpChoice$3_Choice3Of3<T1, T2, T3>(Item: T3): FSharpChoice$3<T1, T2, T3, 2>;
|
|
44
|
+
export declare class FSharpChoice$3<T1, T2, T3, Tag extends keyof FSharpChoice$3_$cases<T1, T2, T3>> extends Union<Tag, FSharpChoice$3_$cases<T1, T2, T3>[Tag][0]> {
|
|
45
|
+
readonly tag: Tag;
|
|
46
|
+
readonly fields: FSharpChoice$3_$cases<T1, T2, T3>[Tag][1];
|
|
47
|
+
constructor(tag: Tag, fields: FSharpChoice$3_$cases<T1, T2, T3>[Tag][1]);
|
|
48
|
+
cases(): string[];
|
|
49
|
+
}
|
|
50
|
+
export declare function FSharpChoice$3_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo): TypeInfo;
|
|
51
|
+
export type FSharpChoice$4_$union<T1, T2, T3, T4> = FSharpChoice$4<T1, T2, T3, T4, 0> | FSharpChoice$4<T1, T2, T3, T4, 1> | FSharpChoice$4<T1, T2, T3, T4, 2> | FSharpChoice$4<T1, T2, T3, T4, 3>;
|
|
52
|
+
export type FSharpChoice$4_$cases<T1, T2, T3, T4> = {
|
|
53
|
+
0: ["Choice1Of4", [T1]];
|
|
54
|
+
1: ["Choice2Of4", [T2]];
|
|
55
|
+
2: ["Choice3Of4", [T3]];
|
|
56
|
+
3: ["Choice4Of4", [T4]];
|
|
57
|
+
};
|
|
58
|
+
export declare function FSharpChoice$4_Choice1Of4<T1, T2, T3, T4>(Item: T1): FSharpChoice$4<T1, T2, T3, T4, 0>;
|
|
59
|
+
export declare function FSharpChoice$4_Choice2Of4<T1, T2, T3, T4>(Item: T2): FSharpChoice$4<T1, T2, T3, T4, 1>;
|
|
60
|
+
export declare function FSharpChoice$4_Choice3Of4<T1, T2, T3, T4>(Item: T3): FSharpChoice$4<T1, T2, T3, T4, 2>;
|
|
61
|
+
export declare function FSharpChoice$4_Choice4Of4<T1, T2, T3, T4>(Item: T4): FSharpChoice$4<T1, T2, T3, T4, 3>;
|
|
62
|
+
export declare class FSharpChoice$4<T1, T2, T3, T4, Tag extends keyof FSharpChoice$4_$cases<T1, T2, T3, T4>> extends Union<Tag, FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][0]> {
|
|
63
|
+
readonly tag: Tag;
|
|
64
|
+
readonly fields: FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][1];
|
|
65
|
+
constructor(tag: Tag, fields: FSharpChoice$4_$cases<T1, T2, T3, T4>[Tag][1]);
|
|
66
|
+
cases(): string[];
|
|
67
|
+
}
|
|
68
|
+
export declare function FSharpChoice$4_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo): TypeInfo;
|
|
69
|
+
export type FSharpChoice$5_$union<T1, T2, T3, T4, T5> = FSharpChoice$5<T1, T2, T3, T4, T5, 0> | FSharpChoice$5<T1, T2, T3, T4, T5, 1> | FSharpChoice$5<T1, T2, T3, T4, T5, 2> | FSharpChoice$5<T1, T2, T3, T4, T5, 3> | FSharpChoice$5<T1, T2, T3, T4, T5, 4>;
|
|
70
|
+
export type FSharpChoice$5_$cases<T1, T2, T3, T4, T5> = {
|
|
71
|
+
0: ["Choice1Of5", [T1]];
|
|
72
|
+
1: ["Choice2Of5", [T2]];
|
|
73
|
+
2: ["Choice3Of5", [T3]];
|
|
74
|
+
3: ["Choice4Of5", [T4]];
|
|
75
|
+
4: ["Choice5Of5", [T5]];
|
|
76
|
+
};
|
|
77
|
+
export declare function FSharpChoice$5_Choice1Of5<T1, T2, T3, T4, T5>(Item: T1): FSharpChoice$5<T1, T2, T3, T4, T5, 0>;
|
|
78
|
+
export declare function FSharpChoice$5_Choice2Of5<T1, T2, T3, T4, T5>(Item: T2): FSharpChoice$5<T1, T2, T3, T4, T5, 1>;
|
|
79
|
+
export declare function FSharpChoice$5_Choice3Of5<T1, T2, T3, T4, T5>(Item: T3): FSharpChoice$5<T1, T2, T3, T4, T5, 2>;
|
|
80
|
+
export declare function FSharpChoice$5_Choice4Of5<T1, T2, T3, T4, T5>(Item: T4): FSharpChoice$5<T1, T2, T3, T4, T5, 3>;
|
|
81
|
+
export declare function FSharpChoice$5_Choice5Of5<T1, T2, T3, T4, T5>(Item: T5): FSharpChoice$5<T1, T2, T3, T4, T5, 4>;
|
|
82
|
+
export declare class FSharpChoice$5<T1, T2, T3, T4, T5, Tag extends keyof FSharpChoice$5_$cases<T1, T2, T3, T4, T5>> extends Union<Tag, FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][0]> {
|
|
83
|
+
readonly tag: Tag;
|
|
84
|
+
readonly fields: FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][1];
|
|
85
|
+
constructor(tag: Tag, fields: FSharpChoice$5_$cases<T1, T2, T3, T4, T5>[Tag][1]);
|
|
86
|
+
cases(): string[];
|
|
87
|
+
}
|
|
88
|
+
export declare function FSharpChoice$5_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo): TypeInfo;
|
|
89
|
+
export type FSharpChoice$6_$union<T1, T2, T3, T4, T5, T6> = FSharpChoice$6<T1, T2, T3, T4, T5, T6, 0> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 1> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 2> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 3> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 4> | FSharpChoice$6<T1, T2, T3, T4, T5, T6, 5>;
|
|
90
|
+
export type FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6> = {
|
|
91
|
+
0: ["Choice1Of6", [T1]];
|
|
92
|
+
1: ["Choice2Of6", [T2]];
|
|
93
|
+
2: ["Choice3Of6", [T3]];
|
|
94
|
+
3: ["Choice4Of6", [T4]];
|
|
95
|
+
4: ["Choice5Of6", [T5]];
|
|
96
|
+
5: ["Choice6Of6", [T6]];
|
|
97
|
+
};
|
|
98
|
+
export declare function FSharpChoice$6_Choice1Of6<T1, T2, T3, T4, T5, T6>(Item: T1): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 0>;
|
|
99
|
+
export declare function FSharpChoice$6_Choice2Of6<T1, T2, T3, T4, T5, T6>(Item: T2): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 1>;
|
|
100
|
+
export declare function FSharpChoice$6_Choice3Of6<T1, T2, T3, T4, T5, T6>(Item: T3): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 2>;
|
|
101
|
+
export declare function FSharpChoice$6_Choice4Of6<T1, T2, T3, T4, T5, T6>(Item: T4): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 3>;
|
|
102
|
+
export declare function FSharpChoice$6_Choice5Of6<T1, T2, T3, T4, T5, T6>(Item: T5): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 4>;
|
|
103
|
+
export declare function FSharpChoice$6_Choice6Of6<T1, T2, T3, T4, T5, T6>(Item: T6): FSharpChoice$6<T1, T2, T3, T4, T5, T6, 5>;
|
|
104
|
+
export declare class FSharpChoice$6<T1, T2, T3, T4, T5, T6, Tag extends keyof FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>> extends Union<Tag, FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][0]> {
|
|
105
|
+
readonly tag: Tag;
|
|
106
|
+
readonly fields: FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][1];
|
|
107
|
+
constructor(tag: Tag, fields: FSharpChoice$6_$cases<T1, T2, T3, T4, T5, T6>[Tag][1]);
|
|
108
|
+
cases(): string[];
|
|
109
|
+
}
|
|
110
|
+
export declare function FSharpChoice$6_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo, gen5: TypeInfo): TypeInfo;
|
|
111
|
+
export type FSharpChoice$7_$union<T1, T2, T3, T4, T5, T6, T7> = FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 0> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 1> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 2> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 3> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 4> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 5> | FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 6>;
|
|
112
|
+
export type FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7> = {
|
|
113
|
+
0: ["Choice1Of7", [T1]];
|
|
114
|
+
1: ["Choice2Of7", [T2]];
|
|
115
|
+
2: ["Choice3Of7", [T3]];
|
|
116
|
+
3: ["Choice4Of7", [T4]];
|
|
117
|
+
4: ["Choice5Of7", [T5]];
|
|
118
|
+
5: ["Choice6Of7", [T6]];
|
|
119
|
+
6: ["Choice7Of7", [T7]];
|
|
120
|
+
};
|
|
121
|
+
export declare function FSharpChoice$7_Choice1Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T1): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 0>;
|
|
122
|
+
export declare function FSharpChoice$7_Choice2Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T2): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 1>;
|
|
123
|
+
export declare function FSharpChoice$7_Choice3Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T3): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 2>;
|
|
124
|
+
export declare function FSharpChoice$7_Choice4Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T4): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 3>;
|
|
125
|
+
export declare function FSharpChoice$7_Choice5Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T5): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 4>;
|
|
126
|
+
export declare function FSharpChoice$7_Choice6Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T6): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 5>;
|
|
127
|
+
export declare function FSharpChoice$7_Choice7Of7<T1, T2, T3, T4, T5, T6, T7>(Item: T7): FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, 6>;
|
|
128
|
+
export declare class FSharpChoice$7<T1, T2, T3, T4, T5, T6, T7, Tag extends keyof FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>> extends Union<Tag, FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][0]> {
|
|
129
|
+
readonly tag: Tag;
|
|
130
|
+
readonly fields: FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][1];
|
|
131
|
+
constructor(tag: Tag, fields: FSharpChoice$7_$cases<T1, T2, T3, T4, T5, T6, T7>[Tag][1]);
|
|
132
|
+
cases(): string[];
|
|
133
|
+
}
|
|
134
|
+
export declare function FSharpChoice$7_$reflection(gen0: TypeInfo, gen1: TypeInfo, gen2: TypeInfo, gen3: TypeInfo, gen4: TypeInfo, gen5: TypeInfo, gen6: TypeInfo): TypeInfo;
|
|
135
|
+
export declare function Choice_makeChoice1Of2<T1, a>(x: T1): FSharpChoice$2_$union<T1, a>;
|
|
136
|
+
export declare function Choice_makeChoice2Of2<T2, a>(x: T2): FSharpChoice$2_$union<a, T2>;
|
|
137
|
+
export declare function Choice_tryValueIfChoice1Of2<T1, T2>(x: FSharpChoice$2_$union<T1, T2>): Option<T1>;
|
|
138
|
+
export declare function Choice_tryValueIfChoice2Of2<T1, T2>(x: FSharpChoice$2_$union<T1, T2>): Option<T2>;
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { Union } from "./Types.js";
|
|
2
|
+
import { union_type } from "./Reflection.js";
|
|
3
|
+
import { some } from "./Option.js";
|
|
4
|
+
export function FSharpResult$2_Ok(ResultValue) {
|
|
5
|
+
return new FSharpResult$2(0, [ResultValue]);
|
|
6
|
+
}
|
|
7
|
+
export function FSharpResult$2_Error(ErrorValue) {
|
|
8
|
+
return new FSharpResult$2(1, [ErrorValue]);
|
|
9
|
+
}
|
|
10
|
+
export class FSharpResult$2 extends Union {
|
|
11
|
+
constructor(tag, fields) {
|
|
12
|
+
super();
|
|
13
|
+
this.tag = tag;
|
|
14
|
+
this.fields = fields;
|
|
15
|
+
}
|
|
16
|
+
cases() {
|
|
17
|
+
return ["Ok", "Error"];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export function FSharpResult$2_$reflection(gen0, gen1) {
|
|
21
|
+
return union_type("FSharp.Core.FSharpResult`2", [gen0, gen1], FSharpResult$2, () => [[["ResultValue", gen0]], [["ErrorValue", gen1]]]);
|
|
22
|
+
}
|
|
23
|
+
export function Result_Map(mapping, result) {
|
|
24
|
+
if (result.tag === /* Ok */ 0) {
|
|
25
|
+
return FSharpResult$2_Ok(mapping(result.fields[0]));
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
return FSharpResult$2_Error(result.fields[0]);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export function Result_MapError(mapping, result) {
|
|
32
|
+
if (result.tag === /* Ok */ 0) {
|
|
33
|
+
return FSharpResult$2_Ok(result.fields[0]);
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
return FSharpResult$2_Error(mapping(result.fields[0]));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export function Result_Bind(binder, result) {
|
|
40
|
+
if (result.tag === /* Ok */ 0) {
|
|
41
|
+
return binder(result.fields[0]);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
return FSharpResult$2_Error(result.fields[0]);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export function FSharpChoice$2_Choice1Of2(Item) {
|
|
48
|
+
return new FSharpChoice$2(0, [Item]);
|
|
49
|
+
}
|
|
50
|
+
export function FSharpChoice$2_Choice2Of2(Item) {
|
|
51
|
+
return new FSharpChoice$2(1, [Item]);
|
|
52
|
+
}
|
|
53
|
+
export class FSharpChoice$2 extends Union {
|
|
54
|
+
constructor(tag, fields) {
|
|
55
|
+
super();
|
|
56
|
+
this.tag = tag;
|
|
57
|
+
this.fields = fields;
|
|
58
|
+
}
|
|
59
|
+
cases() {
|
|
60
|
+
return ["Choice1Of2", "Choice2Of2"];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export function FSharpChoice$2_$reflection(gen0, gen1) {
|
|
64
|
+
return union_type("FSharp.Core.FSharpChoice`2", [gen0, gen1], FSharpChoice$2, () => [[["Item", gen0]], [["Item", gen1]]]);
|
|
65
|
+
}
|
|
66
|
+
export function FSharpChoice$3_Choice1Of3(Item) {
|
|
67
|
+
return new FSharpChoice$3(0, [Item]);
|
|
68
|
+
}
|
|
69
|
+
export function FSharpChoice$3_Choice2Of3(Item) {
|
|
70
|
+
return new FSharpChoice$3(1, [Item]);
|
|
71
|
+
}
|
|
72
|
+
export function FSharpChoice$3_Choice3Of3(Item) {
|
|
73
|
+
return new FSharpChoice$3(2, [Item]);
|
|
74
|
+
}
|
|
75
|
+
export class FSharpChoice$3 extends Union {
|
|
76
|
+
constructor(tag, fields) {
|
|
77
|
+
super();
|
|
78
|
+
this.tag = tag;
|
|
79
|
+
this.fields = fields;
|
|
80
|
+
}
|
|
81
|
+
cases() {
|
|
82
|
+
return ["Choice1Of3", "Choice2Of3", "Choice3Of3"];
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
export function FSharpChoice$3_$reflection(gen0, gen1, gen2) {
|
|
86
|
+
return union_type("FSharp.Core.FSharpChoice`3", [gen0, gen1, gen2], FSharpChoice$3, () => [[["Item", gen0]], [["Item", gen1]], [["Item", gen2]]]);
|
|
87
|
+
}
|
|
88
|
+
export function FSharpChoice$4_Choice1Of4(Item) {
|
|
89
|
+
return new FSharpChoice$4(0, [Item]);
|
|
90
|
+
}
|
|
91
|
+
export function FSharpChoice$4_Choice2Of4(Item) {
|
|
92
|
+
return new FSharpChoice$4(1, [Item]);
|
|
93
|
+
}
|
|
94
|
+
export function FSharpChoice$4_Choice3Of4(Item) {
|
|
95
|
+
return new FSharpChoice$4(2, [Item]);
|
|
96
|
+
}
|
|
97
|
+
export function FSharpChoice$4_Choice4Of4(Item) {
|
|
98
|
+
return new FSharpChoice$4(3, [Item]);
|
|
99
|
+
}
|
|
100
|
+
export class FSharpChoice$4 extends Union {
|
|
101
|
+
constructor(tag, fields) {
|
|
102
|
+
super();
|
|
103
|
+
this.tag = tag;
|
|
104
|
+
this.fields = fields;
|
|
105
|
+
}
|
|
106
|
+
cases() {
|
|
107
|
+
return ["Choice1Of4", "Choice2Of4", "Choice3Of4", "Choice4Of4"];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export function FSharpChoice$4_$reflection(gen0, gen1, gen2, gen3) {
|
|
111
|
+
return union_type("FSharp.Core.FSharpChoice`4", [gen0, gen1, gen2, gen3], FSharpChoice$4, () => [[["Item", gen0]], [["Item", gen1]], [["Item", gen2]], [["Item", gen3]]]);
|
|
112
|
+
}
|
|
113
|
+
export function FSharpChoice$5_Choice1Of5(Item) {
|
|
114
|
+
return new FSharpChoice$5(0, [Item]);
|
|
115
|
+
}
|
|
116
|
+
export function FSharpChoice$5_Choice2Of5(Item) {
|
|
117
|
+
return new FSharpChoice$5(1, [Item]);
|
|
118
|
+
}
|
|
119
|
+
export function FSharpChoice$5_Choice3Of5(Item) {
|
|
120
|
+
return new FSharpChoice$5(2, [Item]);
|
|
121
|
+
}
|
|
122
|
+
export function FSharpChoice$5_Choice4Of5(Item) {
|
|
123
|
+
return new FSharpChoice$5(3, [Item]);
|
|
124
|
+
}
|
|
125
|
+
export function FSharpChoice$5_Choice5Of5(Item) {
|
|
126
|
+
return new FSharpChoice$5(4, [Item]);
|
|
127
|
+
}
|
|
128
|
+
export class FSharpChoice$5 extends Union {
|
|
129
|
+
constructor(tag, fields) {
|
|
130
|
+
super();
|
|
131
|
+
this.tag = tag;
|
|
132
|
+
this.fields = fields;
|
|
133
|
+
}
|
|
134
|
+
cases() {
|
|
135
|
+
return ["Choice1Of5", "Choice2Of5", "Choice3Of5", "Choice4Of5", "Choice5Of5"];
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
export function FSharpChoice$5_$reflection(gen0, gen1, gen2, gen3, gen4) {
|
|
139
|
+
return union_type("FSharp.Core.FSharpChoice`5", [gen0, gen1, gen2, gen3, gen4], FSharpChoice$5, () => [[["Item", gen0]], [["Item", gen1]], [["Item", gen2]], [["Item", gen3]], [["Item", gen4]]]);
|
|
140
|
+
}
|
|
141
|
+
export function FSharpChoice$6_Choice1Of6(Item) {
|
|
142
|
+
return new FSharpChoice$6(0, [Item]);
|
|
143
|
+
}
|
|
144
|
+
export function FSharpChoice$6_Choice2Of6(Item) {
|
|
145
|
+
return new FSharpChoice$6(1, [Item]);
|
|
146
|
+
}
|
|
147
|
+
export function FSharpChoice$6_Choice3Of6(Item) {
|
|
148
|
+
return new FSharpChoice$6(2, [Item]);
|
|
149
|
+
}
|
|
150
|
+
export function FSharpChoice$6_Choice4Of6(Item) {
|
|
151
|
+
return new FSharpChoice$6(3, [Item]);
|
|
152
|
+
}
|
|
153
|
+
export function FSharpChoice$6_Choice5Of6(Item) {
|
|
154
|
+
return new FSharpChoice$6(4, [Item]);
|
|
155
|
+
}
|
|
156
|
+
export function FSharpChoice$6_Choice6Of6(Item) {
|
|
157
|
+
return new FSharpChoice$6(5, [Item]);
|
|
158
|
+
}
|
|
159
|
+
export class FSharpChoice$6 extends Union {
|
|
160
|
+
constructor(tag, fields) {
|
|
161
|
+
super();
|
|
162
|
+
this.tag = tag;
|
|
163
|
+
this.fields = fields;
|
|
164
|
+
}
|
|
165
|
+
cases() {
|
|
166
|
+
return ["Choice1Of6", "Choice2Of6", "Choice3Of6", "Choice4Of6", "Choice5Of6", "Choice6Of6"];
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
export function FSharpChoice$6_$reflection(gen0, gen1, gen2, gen3, gen4, gen5) {
|
|
170
|
+
return union_type("FSharp.Core.FSharpChoice`6", [gen0, gen1, gen2, gen3, gen4, gen5], FSharpChoice$6, () => [[["Item", gen0]], [["Item", gen1]], [["Item", gen2]], [["Item", gen3]], [["Item", gen4]], [["Item", gen5]]]);
|
|
171
|
+
}
|
|
172
|
+
export function FSharpChoice$7_Choice1Of7(Item) {
|
|
173
|
+
return new FSharpChoice$7(0, [Item]);
|
|
174
|
+
}
|
|
175
|
+
export function FSharpChoice$7_Choice2Of7(Item) {
|
|
176
|
+
return new FSharpChoice$7(1, [Item]);
|
|
177
|
+
}
|
|
178
|
+
export function FSharpChoice$7_Choice3Of7(Item) {
|
|
179
|
+
return new FSharpChoice$7(2, [Item]);
|
|
180
|
+
}
|
|
181
|
+
export function FSharpChoice$7_Choice4Of7(Item) {
|
|
182
|
+
return new FSharpChoice$7(3, [Item]);
|
|
183
|
+
}
|
|
184
|
+
export function FSharpChoice$7_Choice5Of7(Item) {
|
|
185
|
+
return new FSharpChoice$7(4, [Item]);
|
|
186
|
+
}
|
|
187
|
+
export function FSharpChoice$7_Choice6Of7(Item) {
|
|
188
|
+
return new FSharpChoice$7(5, [Item]);
|
|
189
|
+
}
|
|
190
|
+
export function FSharpChoice$7_Choice7Of7(Item) {
|
|
191
|
+
return new FSharpChoice$7(6, [Item]);
|
|
192
|
+
}
|
|
193
|
+
export class FSharpChoice$7 extends Union {
|
|
194
|
+
constructor(tag, fields) {
|
|
195
|
+
super();
|
|
196
|
+
this.tag = tag;
|
|
197
|
+
this.fields = fields;
|
|
198
|
+
}
|
|
199
|
+
cases() {
|
|
200
|
+
return ["Choice1Of7", "Choice2Of7", "Choice3Of7", "Choice4Of7", "Choice5Of7", "Choice6Of7", "Choice7Of7"];
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
export function FSharpChoice$7_$reflection(gen0, gen1, gen2, gen3, gen4, gen5, gen6) {
|
|
204
|
+
return union_type("FSharp.Core.FSharpChoice`7", [gen0, gen1, gen2, gen3, gen4, gen5, gen6], FSharpChoice$7, () => [[["Item", gen0]], [["Item", gen1]], [["Item", gen2]], [["Item", gen3]], [["Item", gen4]], [["Item", gen5]], [["Item", gen6]]]);
|
|
205
|
+
}
|
|
206
|
+
export function Choice_makeChoice1Of2(x) {
|
|
207
|
+
return FSharpChoice$2_Choice1Of2(x);
|
|
208
|
+
}
|
|
209
|
+
export function Choice_makeChoice2Of2(x) {
|
|
210
|
+
return FSharpChoice$2_Choice2Of2(x);
|
|
211
|
+
}
|
|
212
|
+
export function Choice_tryValueIfChoice1Of2(x) {
|
|
213
|
+
if (x.tag === /* Choice1Of2 */ 0) {
|
|
214
|
+
return some(x.fields[0]);
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
return void 0;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
export function Choice_tryValueIfChoice2Of2(x) {
|
|
221
|
+
if (x.tag === /* Choice2Of2 */ 1) {
|
|
222
|
+
return some(x.fields[0]);
|
|
223
|
+
}
|
|
224
|
+
else {
|
|
225
|
+
return void 0;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DateTimeOffset functions.
|
|
3
|
+
*
|
|
4
|
+
* Note: Date instances are always DateObjects in local
|
|
5
|
+
* timezone (because JS dates are all kinds of messed up).
|
|
6
|
+
* A local date returns UTC epoch when `.getTime()` is called.
|
|
7
|
+
*
|
|
8
|
+
* Basically; invariant: date.getTime() always return UTC time.
|
|
9
|
+
*/
|
|
10
|
+
import { int64 } from "./BigInt.js";
|
|
11
|
+
import { FSharpRef } from "./Types.js";
|
|
12
|
+
import { compareDates, DateKind, IDateTime, IDateTimeOffset } from "./Util.js";
|
|
13
|
+
export type OffsetInMinutes = number;
|
|
14
|
+
export type Offset = "Z" | OffsetInMinutes | null;
|
|
15
|
+
export declare function kind(value: IDateTime): number;
|
|
16
|
+
export declare function unixEpochMillisecondsToTicks(ms: number, offset: number): int64;
|
|
17
|
+
export declare function ticksToUnixEpochMilliseconds(ticks: number | bigint): number;
|
|
18
|
+
export declare function dateOffsetToString(offset: number): string;
|
|
19
|
+
export declare function dateToHalfUTCString(date: IDateTime, half: "first" | "second"): string;
|
|
20
|
+
export declare function toString(date: IDateTime | IDateTimeOffset, format?: string, _provider?: any): string;
|
|
21
|
+
export declare function DateTime(value: number, kind?: DateKind): IDateTime;
|
|
22
|
+
export declare function fromTicks(ticks: number | bigint, kind?: DateKind): IDateTime;
|
|
23
|
+
export declare function fromDateTimeOffset(date: IDateTimeOffset, kind: DateKind): IDateTime;
|
|
24
|
+
export declare function getTicks(date: IDateTime | IDateTimeOffset): bigint;
|
|
25
|
+
export declare function minValue(): IDateTime;
|
|
26
|
+
export declare function maxValue(): IDateTime;
|
|
27
|
+
export declare function parseRaw(input: string): [Date, Offset];
|
|
28
|
+
export declare function parse(str: string, detectUTC?: boolean): IDateTime;
|
|
29
|
+
export declare function tryParse(v: string, defValue: FSharpRef<IDateTime>): boolean;
|
|
30
|
+
export declare function create(year: number, month: number, day: number, h?: number, m?: number, s?: number, ms?: number, kind?: DateKind): IDateTime;
|
|
31
|
+
export declare function now(): IDateTime;
|
|
32
|
+
export declare function utcNow(): IDateTime;
|
|
33
|
+
export declare function today(): IDateTime;
|
|
34
|
+
export declare function isLeapYear(year: number): boolean;
|
|
35
|
+
export declare function daysInMonth(year: number, month: number): 29 | 28 | 31 | 30;
|
|
36
|
+
export declare function toUniversalTime(date: IDateTime): IDateTime;
|
|
37
|
+
export declare function toLocalTime(date: IDateTime): IDateTime;
|
|
38
|
+
export declare function specifyKind(d: IDateTime, kind: DateKind): IDateTime;
|
|
39
|
+
export declare function timeOfDay(d: IDateTime): number;
|
|
40
|
+
export declare function date(d: IDateTime): IDateTime;
|
|
41
|
+
export declare function day(d: IDateTime): number;
|
|
42
|
+
export declare function hour(d: IDateTime): number;
|
|
43
|
+
export declare function millisecond(d: IDateTime): number;
|
|
44
|
+
export declare function minute(d: IDateTime): number;
|
|
45
|
+
export declare function month(d: IDateTime): number;
|
|
46
|
+
export declare function second(d: IDateTime): number;
|
|
47
|
+
export declare function year(d: IDateTime): number;
|
|
48
|
+
export declare function dayOfWeek(d: IDateTime): number;
|
|
49
|
+
export declare function dayOfYear(d: IDateTime): number;
|
|
50
|
+
export declare function add(d: IDateTime, ts: number): IDateTime;
|
|
51
|
+
export declare function addDays(d: IDateTime, v: number): IDateTime;
|
|
52
|
+
export declare function addHours(d: IDateTime, v: number): IDateTime;
|
|
53
|
+
export declare function addMinutes(d: IDateTime, v: number): IDateTime;
|
|
54
|
+
export declare function addSeconds(d: IDateTime, v: number): IDateTime;
|
|
55
|
+
export declare function addMilliseconds(d: IDateTime, v: number): IDateTime;
|
|
56
|
+
export declare function addTicks(d: IDateTime, v: int64): IDateTime;
|
|
57
|
+
export declare function addYears(d: IDateTime, v: number): IDateTime;
|
|
58
|
+
export declare function addMonths(d: IDateTime, v: number): IDateTime;
|
|
59
|
+
export declare function subtract<Input extends number | IDateTime, Output = Input extends number ? IDateTime : number>(d: IDateTime, that: Input): Output;
|
|
60
|
+
export declare function toLongDateString(d: IDateTime): string;
|
|
61
|
+
export declare function toShortDateString(d: IDateTime): string;
|
|
62
|
+
export declare function toLongTimeString(d: IDateTime): string;
|
|
63
|
+
export declare function toShortTimeString(d: IDateTime): string;
|
|
64
|
+
export declare function equals(d1: IDateTime, d2: IDateTime): boolean;
|
|
65
|
+
export declare const compare: typeof compareDates;
|
|
66
|
+
export declare const compareTo: typeof compareDates;
|
|
67
|
+
export declare function op_Addition(x: IDateTime, y: number): IDateTime;
|
|
68
|
+
export declare function op_Subtraction<Input extends number | IDateTime, Output = Input extends number ? IDateTime : number>(x: IDateTime, y: Input): Output;
|
|
69
|
+
export declare function isDaylightSavingTime(x: IDateTime): boolean;
|
|
70
|
+
export default DateTime;
|