@nfdi4plants/arctrl 1.0.0-alpha6
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/ARCtrl.js +257 -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 +744 -0
- package/ISA/ISA/ArcTypes/ArcTableAux.js +1142 -0
- package/ISA/ISA/ArcTypes/ArcTables.js +380 -0
- package/ISA/ISA/ArcTypes/ArcTypes.js +2018 -0
- package/ISA/ISA/ArcTypes/CompositeCell.js +180 -0
- package/ISA/ISA/ArcTypes/CompositeColumn.js +42 -0
- package/ISA/ISA/ArcTypes/CompositeHeader.js +358 -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 +326 -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/Templates.Json.js +40 -0
- package/Templates/Templates.Spreadsheet.js +315 -0
- package/Templates/Templates.js +179 -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/package.json +22 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { comparePrimitives, padLeftAndRightWithZeros, padWithZeros } from "./Util.js";
|
|
2
|
+
import { toInt64 } from "./BigInt.js";
|
|
3
|
+
/**
|
|
4
|
+
* Calls:
|
|
5
|
+
* - `Math.ceil` if the `value` is **negative**
|
|
6
|
+
* - `Math.floor` if the `value` is **positive**
|
|
7
|
+
* @param value Value to round
|
|
8
|
+
*/
|
|
9
|
+
function signedRound(value) {
|
|
10
|
+
return value < 0 ? Math.ceil(value) : Math.floor(value);
|
|
11
|
+
}
|
|
12
|
+
export function create(d = 0, h = 0, m = 0, s = 0, ms = 0) {
|
|
13
|
+
switch (arguments.length) {
|
|
14
|
+
case 1:
|
|
15
|
+
// ticks
|
|
16
|
+
return fromTicks(arguments[0]);
|
|
17
|
+
case 3:
|
|
18
|
+
// h,m,s
|
|
19
|
+
d = 0, h = arguments[0], m = arguments[1], s = arguments[2], ms = 0;
|
|
20
|
+
break;
|
|
21
|
+
default:
|
|
22
|
+
// d,h,m,s,ms
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
return d * 86400000 + h * 3600000 + m * 60000 + s * 1000 + ms;
|
|
26
|
+
}
|
|
27
|
+
export function fromTicks(ticks) {
|
|
28
|
+
return Number(BigInt(ticks) / 10000n);
|
|
29
|
+
}
|
|
30
|
+
export function fromDays(d) {
|
|
31
|
+
return create(d, 0, 0, 0);
|
|
32
|
+
}
|
|
33
|
+
export function fromHours(h) {
|
|
34
|
+
return create(h, 0, 0);
|
|
35
|
+
}
|
|
36
|
+
export function fromMinutes(m) {
|
|
37
|
+
return create(0, m, 0);
|
|
38
|
+
}
|
|
39
|
+
export function fromSeconds(s) {
|
|
40
|
+
return create(0, 0, s);
|
|
41
|
+
}
|
|
42
|
+
export function days(ts) {
|
|
43
|
+
return signedRound(ts / 86400000);
|
|
44
|
+
}
|
|
45
|
+
export function hours(ts) {
|
|
46
|
+
return signedRound(ts % 86400000 / 3600000);
|
|
47
|
+
}
|
|
48
|
+
export function minutes(ts) {
|
|
49
|
+
return signedRound(ts % 3600000 / 60000);
|
|
50
|
+
}
|
|
51
|
+
export function seconds(ts) {
|
|
52
|
+
return signedRound(ts % 60000 / 1000);
|
|
53
|
+
}
|
|
54
|
+
export function milliseconds(ts) {
|
|
55
|
+
return signedRound(ts % 1000);
|
|
56
|
+
}
|
|
57
|
+
export function ticks(ts) {
|
|
58
|
+
return toInt64(BigInt(ts) * 10000n);
|
|
59
|
+
}
|
|
60
|
+
export function totalDays(ts) {
|
|
61
|
+
return ts / 86400000;
|
|
62
|
+
}
|
|
63
|
+
export function totalHours(ts) {
|
|
64
|
+
return ts / 3600000;
|
|
65
|
+
}
|
|
66
|
+
export function totalMinutes(ts) {
|
|
67
|
+
return ts / 60000;
|
|
68
|
+
}
|
|
69
|
+
export function totalSeconds(ts) {
|
|
70
|
+
return ts / 1000;
|
|
71
|
+
}
|
|
72
|
+
export function negate(ts) {
|
|
73
|
+
return ts * -1;
|
|
74
|
+
}
|
|
75
|
+
export function add(ts1, ts2) {
|
|
76
|
+
return ts1 + ts2;
|
|
77
|
+
}
|
|
78
|
+
export function subtract(ts1, ts2) {
|
|
79
|
+
return ts1 - ts2;
|
|
80
|
+
}
|
|
81
|
+
export function multiply(ts, factor) {
|
|
82
|
+
return ts * factor;
|
|
83
|
+
}
|
|
84
|
+
export function divide(ts, b) {
|
|
85
|
+
return ts / b;
|
|
86
|
+
}
|
|
87
|
+
export const op_Addition = add;
|
|
88
|
+
export const op_Subtraction = subtract;
|
|
89
|
+
export const op_Multiply = multiply;
|
|
90
|
+
export const op_Division = divide;
|
|
91
|
+
export const compare = comparePrimitives;
|
|
92
|
+
export const compareTo = comparePrimitives;
|
|
93
|
+
export function duration(x) {
|
|
94
|
+
return Math.abs(x);
|
|
95
|
+
}
|
|
96
|
+
export function toString(ts, format = "c", _provider) {
|
|
97
|
+
if (["c", "g", "G"].indexOf(format) === -1) {
|
|
98
|
+
throw new Error("Custom formats are not supported");
|
|
99
|
+
}
|
|
100
|
+
const d = Math.abs(days(ts));
|
|
101
|
+
const h = Math.abs(hours(ts));
|
|
102
|
+
const m = Math.abs(minutes(ts));
|
|
103
|
+
const s = Math.abs(seconds(ts));
|
|
104
|
+
const ms = Math.abs(milliseconds(ts));
|
|
105
|
+
const sign = ts < 0 ? "-" : "";
|
|
106
|
+
return `${sign}${d === 0 && (format === "c" || format === "g") ? "" : format === "c" ? d + "." : d + ":"}${format === "g" ? h : padWithZeros(h, 2)}:${padWithZeros(m, 2)}:${padWithZeros(s, 2)}${ms === 0 && (format === "c" || format === "g") ? "" : format === "g" ? "." + padWithZeros(ms, 3) : "." + padLeftAndRightWithZeros(ms, 3, 7)}`;
|
|
107
|
+
}
|
|
108
|
+
export function parse(str) {
|
|
109
|
+
const firstDot = str.search("\\.");
|
|
110
|
+
const firstColon = str.search("\\:");
|
|
111
|
+
if (firstDot === -1 && firstColon === -1) { // There is only a day ex: 4
|
|
112
|
+
const d = parseInt(str, 0);
|
|
113
|
+
if (isNaN(d)) {
|
|
114
|
+
throw new Error(`String '${str}' was not recognized as a valid TimeSpan.`);
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
return create(d, 0, 0, 0, 0);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
if (firstColon > 0) { // process time part
|
|
121
|
+
// WIP: (-?)(((\d+)\.)?([0-9]|0[0-9]|1[0-9]|2[0-3]):(\d+)(:\d+(\.\d{1,7})?)?|\d+(?:(?!\.)))
|
|
122
|
+
const r = /^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(str);
|
|
123
|
+
if (r != null && r[4] != null && r[5] != null) {
|
|
124
|
+
let d = 0;
|
|
125
|
+
let ms = 0;
|
|
126
|
+
let s = 0;
|
|
127
|
+
const sign = r[1] != null && r[1] === "-" ? -1 : 1;
|
|
128
|
+
const h = +r[4];
|
|
129
|
+
const m = +r[5];
|
|
130
|
+
if (r[3] != null) {
|
|
131
|
+
d = +r[3];
|
|
132
|
+
}
|
|
133
|
+
if (r[7] != null) {
|
|
134
|
+
s = +r[7];
|
|
135
|
+
}
|
|
136
|
+
if (r[8] != null) {
|
|
137
|
+
// Depending on the number of decimals passed, we need to adapt the numbers
|
|
138
|
+
switch (r[8].length) {
|
|
139
|
+
case 1:
|
|
140
|
+
ms = +r[8] * 100;
|
|
141
|
+
break;
|
|
142
|
+
case 2:
|
|
143
|
+
ms = +r[8] * 10;
|
|
144
|
+
break;
|
|
145
|
+
case 3:
|
|
146
|
+
ms = +r[8];
|
|
147
|
+
break;
|
|
148
|
+
case 4:
|
|
149
|
+
ms = +r[8] / 10;
|
|
150
|
+
break;
|
|
151
|
+
case 5:
|
|
152
|
+
ms = +r[8] / 100;
|
|
153
|
+
break;
|
|
154
|
+
case 6:
|
|
155
|
+
ms = +r[8] / 1000;
|
|
156
|
+
break;
|
|
157
|
+
case 7:
|
|
158
|
+
ms = +r[8] / 10000;
|
|
159
|
+
break;
|
|
160
|
+
default:
|
|
161
|
+
throw new Error(`String '${str}' was not recognized as a valid TimeSpan.`);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return sign * create(d, h, m, s, ms);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
throw new Error(`String '${str}' was not recognized as a valid TimeSpan.`);
|
|
168
|
+
}
|
|
169
|
+
export function tryParse(v, defValue) {
|
|
170
|
+
try {
|
|
171
|
+
defValue.contents = parse(v);
|
|
172
|
+
return true;
|
|
173
|
+
}
|
|
174
|
+
catch {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IDisposable } from "./Util.js";
|
|
2
|
+
export declare class Timer implements IDisposable {
|
|
3
|
+
Interval: number;
|
|
4
|
+
AutoReset: boolean;
|
|
5
|
+
private _elapsed;
|
|
6
|
+
private _enabled;
|
|
7
|
+
private _isDisposed;
|
|
8
|
+
private _intervalId;
|
|
9
|
+
private _timeoutId;
|
|
10
|
+
constructor(interval?: number);
|
|
11
|
+
Elapsed(): import("./Event.js").IEvent$2<import("./Event.js").Handler<Date>, Date>;
|
|
12
|
+
get Enabled(): boolean;
|
|
13
|
+
set Enabled(x: boolean);
|
|
14
|
+
Dispose(): void;
|
|
15
|
+
Close(): void;
|
|
16
|
+
Start(): void;
|
|
17
|
+
Stop(): void;
|
|
18
|
+
}
|
|
19
|
+
export default Timer;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Event } from "./Event.js";
|
|
2
|
+
export class Timer {
|
|
3
|
+
constructor(interval) {
|
|
4
|
+
this._enabled = false;
|
|
5
|
+
this._isDisposed = false;
|
|
6
|
+
this._intervalId = 0;
|
|
7
|
+
this._timeoutId = 0;
|
|
8
|
+
this.Interval = interval && interval > 0 ? interval : 100;
|
|
9
|
+
this.AutoReset = true;
|
|
10
|
+
this._elapsed = new Event();
|
|
11
|
+
}
|
|
12
|
+
Elapsed() {
|
|
13
|
+
return this._elapsed.Publish;
|
|
14
|
+
}
|
|
15
|
+
get Enabled() {
|
|
16
|
+
return this._enabled;
|
|
17
|
+
}
|
|
18
|
+
set Enabled(x) {
|
|
19
|
+
if (!this._isDisposed && this._enabled !== x) {
|
|
20
|
+
this._enabled = x;
|
|
21
|
+
if (this._enabled) {
|
|
22
|
+
if (this.AutoReset) {
|
|
23
|
+
this._intervalId = setInterval(() => {
|
|
24
|
+
if (!this.AutoReset) {
|
|
25
|
+
this.Enabled = false;
|
|
26
|
+
}
|
|
27
|
+
this._elapsed.Trigger(new Date());
|
|
28
|
+
}, this.Interval);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this._timeoutId = setTimeout(() => {
|
|
32
|
+
this.Enabled = false;
|
|
33
|
+
this._timeoutId = 0;
|
|
34
|
+
if (this.AutoReset) {
|
|
35
|
+
this.Enabled = true;
|
|
36
|
+
}
|
|
37
|
+
this._elapsed.Trigger(new Date());
|
|
38
|
+
}, this.Interval);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
if (this._timeoutId) {
|
|
43
|
+
clearTimeout(this._timeoutId);
|
|
44
|
+
this._timeoutId = 0;
|
|
45
|
+
}
|
|
46
|
+
if (this._intervalId) {
|
|
47
|
+
clearInterval(this._intervalId);
|
|
48
|
+
this._intervalId = 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
Dispose() {
|
|
54
|
+
this.Enabled = false;
|
|
55
|
+
this._isDisposed = true;
|
|
56
|
+
}
|
|
57
|
+
Close() {
|
|
58
|
+
this.Dispose();
|
|
59
|
+
}
|
|
60
|
+
Start() {
|
|
61
|
+
this.Enabled = true;
|
|
62
|
+
}
|
|
63
|
+
Stop() {
|
|
64
|
+
this.Enabled = false;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export default Timer;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { IComparable, IEquatable, IHashable } from "./Util.js";
|
|
2
|
+
export type Result<T> = {
|
|
3
|
+
tag: "ok";
|
|
4
|
+
value: T;
|
|
5
|
+
} | {
|
|
6
|
+
tag: "error";
|
|
7
|
+
error: string;
|
|
8
|
+
};
|
|
9
|
+
export declare function seqToString<T>(self: Iterable<T>): string;
|
|
10
|
+
export declare function toString(x: any, callStack?: number): string;
|
|
11
|
+
export declare function unionToString(name: string, fields: any[]): string;
|
|
12
|
+
export declare abstract class Union<Tag extends number, Name extends string> implements IEquatable<Union<Tag, Name>>, IComparable<Union<Tag, Name>> {
|
|
13
|
+
abstract readonly tag: Tag;
|
|
14
|
+
abstract readonly fields: any[];
|
|
15
|
+
abstract cases(): string[];
|
|
16
|
+
get name(): Name;
|
|
17
|
+
toJSON(): Name | Name[];
|
|
18
|
+
toString(): string;
|
|
19
|
+
GetHashCode(): number;
|
|
20
|
+
Equals(other: Union<Tag, Name>): boolean;
|
|
21
|
+
CompareTo(other: Union<Tag, Name>): number;
|
|
22
|
+
}
|
|
23
|
+
export declare abstract class Record implements IEquatable<Record>, IComparable<Record>, IHashable {
|
|
24
|
+
toJSON(): any;
|
|
25
|
+
toString(): string;
|
|
26
|
+
GetHashCode(): number;
|
|
27
|
+
Equals(other: Record): boolean;
|
|
28
|
+
CompareTo(other: Record): number;
|
|
29
|
+
}
|
|
30
|
+
export declare class FSharpRef<T> {
|
|
31
|
+
private readonly getter;
|
|
32
|
+
private readonly setter;
|
|
33
|
+
get contents(): T;
|
|
34
|
+
set contents(v: T);
|
|
35
|
+
constructor(contentsOrGetter: T | (() => T), setter?: (v: T) => void);
|
|
36
|
+
}
|
|
37
|
+
export declare class Exception {
|
|
38
|
+
message?: string | undefined;
|
|
39
|
+
constructor(message?: string | undefined);
|
|
40
|
+
}
|
|
41
|
+
export declare function isException(x: any): boolean;
|
|
42
|
+
export declare function isPromise(x: any): boolean;
|
|
43
|
+
export declare function ensureErrorOrException(e: any): any;
|
|
44
|
+
export declare abstract class FSharpException extends Exception implements IEquatable<FSharpException>, IComparable<FSharpException> {
|
|
45
|
+
toJSON(): any;
|
|
46
|
+
toString(): string;
|
|
47
|
+
GetHashCode(): number;
|
|
48
|
+
Equals(other: FSharpException): boolean;
|
|
49
|
+
CompareTo(other: FSharpException): number;
|
|
50
|
+
}
|
|
51
|
+
export declare class MatchFailureException extends FSharpException {
|
|
52
|
+
arg1: string;
|
|
53
|
+
arg2: number;
|
|
54
|
+
arg3: number;
|
|
55
|
+
constructor(arg1: string, arg2: number, arg3: number);
|
|
56
|
+
}
|
|
57
|
+
export declare class Attribute {
|
|
58
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { combineHashCodes, compare, compareArrays, equalArrays, equals, sameConstructor, numberHash, structuralHash } from "./Util.js";
|
|
2
|
+
export function seqToString(self) {
|
|
3
|
+
let count = 0;
|
|
4
|
+
let str = "[";
|
|
5
|
+
for (const x of self) {
|
|
6
|
+
if (count === 0) {
|
|
7
|
+
str += toString(x);
|
|
8
|
+
}
|
|
9
|
+
else if (count === 100) {
|
|
10
|
+
str += "; ...";
|
|
11
|
+
break;
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
str += "; " + toString(x);
|
|
15
|
+
}
|
|
16
|
+
count++;
|
|
17
|
+
}
|
|
18
|
+
return str + "]";
|
|
19
|
+
}
|
|
20
|
+
export function toString(x, callStack = 0) {
|
|
21
|
+
if (x != null && typeof x === "object") {
|
|
22
|
+
if (typeof x.toString === "function") {
|
|
23
|
+
return x.toString();
|
|
24
|
+
}
|
|
25
|
+
else if (Symbol.iterator in x) {
|
|
26
|
+
return seqToString(x);
|
|
27
|
+
}
|
|
28
|
+
else { // TODO: Date?
|
|
29
|
+
const cons = Object.getPrototypeOf(x)?.constructor;
|
|
30
|
+
return cons === Object && callStack < 10
|
|
31
|
+
// Same format as recordToString
|
|
32
|
+
? "{ " + Object.entries(x).map(([k, v]) => k + " = " + toString(v, callStack + 1)).join("\n ") + " }"
|
|
33
|
+
: cons?.name ?? "";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return String(x);
|
|
37
|
+
}
|
|
38
|
+
export function unionToString(name, fields) {
|
|
39
|
+
if (fields.length === 0) {
|
|
40
|
+
return name;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
let fieldStr;
|
|
44
|
+
let withParens = true;
|
|
45
|
+
if (fields.length === 1) {
|
|
46
|
+
fieldStr = toString(fields[0]);
|
|
47
|
+
withParens = fieldStr.indexOf(" ") >= 0;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
fieldStr = fields.map((x) => toString(x)).join(", ");
|
|
51
|
+
}
|
|
52
|
+
return name + (withParens ? " (" : " ") + fieldStr + (withParens ? ")" : "");
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export class Union {
|
|
56
|
+
get name() {
|
|
57
|
+
return this.cases()[this.tag];
|
|
58
|
+
}
|
|
59
|
+
toJSON() {
|
|
60
|
+
return this.fields.length === 0 ? this.name : [this.name].concat(this.fields);
|
|
61
|
+
}
|
|
62
|
+
toString() {
|
|
63
|
+
return unionToString(this.name, this.fields);
|
|
64
|
+
}
|
|
65
|
+
GetHashCode() {
|
|
66
|
+
const hashes = this.fields.map((x) => structuralHash(x));
|
|
67
|
+
hashes.splice(0, 0, numberHash(this.tag));
|
|
68
|
+
return combineHashCodes(hashes);
|
|
69
|
+
}
|
|
70
|
+
Equals(other) {
|
|
71
|
+
if (this === other) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
else if (!sameConstructor(this, other)) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
else if (this.tag === other.tag) {
|
|
78
|
+
return equalArrays(this.fields, other.fields);
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
CompareTo(other) {
|
|
85
|
+
if (this === other) {
|
|
86
|
+
return 0;
|
|
87
|
+
}
|
|
88
|
+
else if (!sameConstructor(this, other)) {
|
|
89
|
+
return -1;
|
|
90
|
+
}
|
|
91
|
+
else if (this.tag === other.tag) {
|
|
92
|
+
return compareArrays(this.fields, other.fields);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
return this.tag < other.tag ? -1 : 1;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function recordToJSON(self) {
|
|
100
|
+
const o = {};
|
|
101
|
+
const keys = Object.keys(self);
|
|
102
|
+
for (let i = 0; i < keys.length; i++) {
|
|
103
|
+
o[keys[i]] = self[keys[i]];
|
|
104
|
+
}
|
|
105
|
+
return o;
|
|
106
|
+
}
|
|
107
|
+
function recordToString(self) {
|
|
108
|
+
return "{ " + Object.entries(self).map(([k, v]) => k + " = " + toString(v)).join("\n ") + " }";
|
|
109
|
+
}
|
|
110
|
+
function recordGetHashCode(self) {
|
|
111
|
+
const hashes = Object.values(self).map((v) => structuralHash(v));
|
|
112
|
+
return combineHashCodes(hashes);
|
|
113
|
+
}
|
|
114
|
+
function recordEquals(self, other) {
|
|
115
|
+
if (self === other) {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
else if (!sameConstructor(self, other)) {
|
|
119
|
+
return false;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const thisNames = Object.keys(self);
|
|
123
|
+
for (let i = 0; i < thisNames.length; i++) {
|
|
124
|
+
if (!equals(self[thisNames[i]], other[thisNames[i]])) {
|
|
125
|
+
return false;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function recordCompareTo(self, other) {
|
|
132
|
+
if (self === other) {
|
|
133
|
+
return 0;
|
|
134
|
+
}
|
|
135
|
+
else if (!sameConstructor(self, other)) {
|
|
136
|
+
return -1;
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
const thisNames = Object.keys(self);
|
|
140
|
+
for (let i = 0; i < thisNames.length; i++) {
|
|
141
|
+
const result = compare(self[thisNames[i]], other[thisNames[i]]);
|
|
142
|
+
if (result !== 0) {
|
|
143
|
+
return result;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return 0;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
export class Record {
|
|
150
|
+
toJSON() { return recordToJSON(this); }
|
|
151
|
+
toString() { return recordToString(this); }
|
|
152
|
+
GetHashCode() { return recordGetHashCode(this); }
|
|
153
|
+
Equals(other) { return recordEquals(this, other); }
|
|
154
|
+
CompareTo(other) { return recordCompareTo(this, other); }
|
|
155
|
+
}
|
|
156
|
+
export class FSharpRef {
|
|
157
|
+
get contents() {
|
|
158
|
+
return this.getter();
|
|
159
|
+
}
|
|
160
|
+
set contents(v) {
|
|
161
|
+
this.setter(v);
|
|
162
|
+
}
|
|
163
|
+
constructor(contentsOrGetter, setter) {
|
|
164
|
+
if (typeof setter === "function") {
|
|
165
|
+
this.getter = contentsOrGetter;
|
|
166
|
+
this.setter = setter;
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.getter = () => contentsOrGetter;
|
|
170
|
+
this.setter = (v) => { contentsOrGetter = v; };
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
// EXCEPTIONS
|
|
175
|
+
// Exception is intentionally not derived from Error, for performance reasons (see #2160)
|
|
176
|
+
export class Exception {
|
|
177
|
+
constructor(message) {
|
|
178
|
+
this.message = message;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
export function isException(x) {
|
|
182
|
+
return x instanceof Exception || x instanceof Error;
|
|
183
|
+
}
|
|
184
|
+
export function isPromise(x) {
|
|
185
|
+
return x instanceof Promise;
|
|
186
|
+
}
|
|
187
|
+
export function ensureErrorOrException(e) {
|
|
188
|
+
// Exceptionally admitting promises as errors for compatibility with React.suspense (see #3298)
|
|
189
|
+
return (isException(e) || isPromise(e)) ? e : new Error(String(e));
|
|
190
|
+
}
|
|
191
|
+
export class FSharpException extends Exception {
|
|
192
|
+
toJSON() { return recordToJSON(this); }
|
|
193
|
+
toString() { return recordToString(this); }
|
|
194
|
+
GetHashCode() { return recordGetHashCode(this); }
|
|
195
|
+
Equals(other) { return recordEquals(this, other); }
|
|
196
|
+
CompareTo(other) { return recordCompareTo(this, other); }
|
|
197
|
+
}
|
|
198
|
+
export class MatchFailureException extends FSharpException {
|
|
199
|
+
constructor(arg1, arg2, arg3) {
|
|
200
|
+
super();
|
|
201
|
+
this.arg1 = arg1;
|
|
202
|
+
this.arg2 = arg2 | 0;
|
|
203
|
+
this.arg3 = arg3 | 0;
|
|
204
|
+
this.message = "The match cases were incomplete";
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
export class Attribute {
|
|
208
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const rangeDeltas = "#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4\u0093$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$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u0927\u008E(0&,*-%$%$'\u137F\u0119-J%_%&&)++%*A'^:e&$\u00BD7/z,<\u00AA===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%U\u0223Z'U+$1$%(2($2\u0573*$4%*$%$(\u00F8P&**%-'$$\u0193O'-($\u0523\u00E8%,*LEE*$'-'%\u0334^$&$'oP$2\u00E5'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%\u0131O'\u0087/2%2$2$H-0\u00C4[@0O',*%1)\u00BD\u011E(\u02FB+0&0&\u0097/|*/7/'[+-)K+A%%q\u009C$u$\u00AA/1%(&&(*,<**,&0*L\u00B6$ZH-\u0429\uA701E\u1058.\u0101%\u16A51\u1D54\u0C42\u0241\u0605\u136E\uDA7B\uDCD9$A\u0083\u00A3\u0113\uFE33\uD800\uDC21%\uD800\uDC21";
|
|
2
|
+
export declare const categories = "1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$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$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657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
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Unicode 13.0.0 codepoint ranges (delta encoded) and general categories.
|
|
2
|
+
// Integer delta values are offset by 35 and stored as Unicode characters.
|
|
3
|
+
export const rangeDeltas = "#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&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;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FSharpRef } from "./Types.js";
|
|
2
|
+
export declare const enum UriKind {
|
|
3
|
+
RelativeOrAbsolute = 0,
|
|
4
|
+
Absolute = 1,
|
|
5
|
+
Relative = 2
|
|
6
|
+
}
|
|
7
|
+
export declare class Uri {
|
|
8
|
+
private uri;
|
|
9
|
+
private constructor();
|
|
10
|
+
private static isAbsoluteUri;
|
|
11
|
+
private static tryCreateWithKind;
|
|
12
|
+
private static tryCreateWithBase;
|
|
13
|
+
private static tryCreateImpl;
|
|
14
|
+
static create(value: string | Uri, kindOrUri?: UriKind | string | Uri): Uri;
|
|
15
|
+
static tryCreate(baseUri: Uri, relativeUri: string | Uri, result: FSharpRef<Uri>): boolean;
|
|
16
|
+
static tryCreate(uriString: string, uriKind: UriKind, result: FSharpRef<Uri>): boolean;
|
|
17
|
+
toString(): string;
|
|
18
|
+
private asUrl;
|
|
19
|
+
get isAbsoluteUri(): boolean;
|
|
20
|
+
get absoluteUri(): string;
|
|
21
|
+
get scheme(): string;
|
|
22
|
+
get host(): string;
|
|
23
|
+
get absolutePath(): string;
|
|
24
|
+
get query(): string;
|
|
25
|
+
get pathAndQuery(): string;
|
|
26
|
+
get fragment(): string;
|
|
27
|
+
get originalString(): string;
|
|
28
|
+
}
|
|
29
|
+
export default Uri;
|