@nfdi4plants/arctrl 3.0.0-beta.5 → 3.0.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +894 -4
  2. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
  3. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
  4. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
  5. package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
  7. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
  8. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
  9. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
  10. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
  11. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
  13. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
  14. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
  15. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
  16. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
  17. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
  18. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
  19. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
  20. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
  21. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
  22. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
  23. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
  24. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
  25. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
  26. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
  27. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
  28. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
  29. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
  30. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
  31. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
  32. package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
  35. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
  36. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
  37. package/dist/ts/ts/ARC.d.ts +12 -5
  38. package/dist/ts/ts/ARC.d.ts.map +1 -1
  39. package/dist/ts/ts/ARC.js +172 -93
  40. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  41. package/dist/ts/ts/Contract/ARC.js +8 -1
  42. package/dist/ts/ts/Contract/ArcAssay.js +14 -5
  43. package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
  44. package/dist/ts/ts/Contract/ArcRun.js +19 -6
  45. package/dist/ts/ts/Contract/ArcStudy.js +19 -6
  46. package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
  47. package/dist/ts/ts/Contract/Contract.js +42 -1
  48. package/dist/ts/ts/Contract/Datamap.js +61 -17
  49. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  50. package/dist/ts/ts/Contract/Git.js +22 -6
  51. package/dist/ts/ts/Contract/License.d.ts +5 -0
  52. package/dist/ts/ts/Contract/License.d.ts.map +1 -0
  53. package/dist/ts/ts/Contract/License.js +34 -0
  54. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
  55. package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
  56. package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
  57. package/dist/ts/ts/Conversion.js +321 -48
  58. package/dist/ts/ts/Core/ArcTypes.js +216 -15
  59. package/dist/ts/ts/Core/Comment.js +11 -1
  60. package/dist/ts/ts/Core/CommentList.js +77 -2
  61. package/dist/ts/ts/Core/Conversion.js +123 -43
  62. package/dist/ts/ts/Core/Data.js +9 -2
  63. package/dist/ts/ts/Core/DataContext.js +19 -4
  64. package/dist/ts/ts/Core/DataFile.js +38 -1
  65. package/dist/ts/ts/Core/DataMap.js +111 -5
  66. package/dist/ts/ts/Core/Helper/Collections.js +106 -5
  67. package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
  68. package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
  69. package/dist/ts/ts/Core/Helper/Regex.js +134 -2
  70. package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
  71. package/dist/ts/ts/Core/IdentifierSetters.js +27 -3
  72. package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
  73. package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
  74. package/dist/ts/ts/Core/Person.js +8 -1
  75. package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
  76. package/dist/ts/ts/Core/Process/Component.js +37 -4
  77. package/dist/ts/ts/Core/Process/Factor.js +9 -4
  78. package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
  79. package/dist/ts/ts/Core/Process/Material.js +14 -4
  80. package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
  81. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
  82. package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
  83. package/dist/ts/ts/Core/Process/Process.js +150 -7
  84. package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
  85. package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
  86. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
  87. package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
  88. package/dist/ts/ts/Core/Process/Protocol.js +78 -4
  89. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
  90. package/dist/ts/ts/Core/Process/Sample.js +21 -3
  91. package/dist/ts/ts/Core/Process/Source.js +13 -3
  92. package/dist/ts/ts/Core/Publication.js +8 -1
  93. package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
  94. package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
  95. package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
  96. package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
  97. package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
  98. package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
  99. package/dist/ts/ts/Core/Template.js +12 -2
  100. package/dist/ts/ts/Core/Templates.js +8 -4
  101. package/dist/ts/ts/Core/Value.js +7 -3
  102. package/dist/ts/ts/CrossAsync.js +11 -1
  103. package/dist/ts/ts/FileSystem/Commit.js +18 -0
  104. package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
  105. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
  106. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  107. package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
  108. package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
  109. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  110. package/dist/ts/ts/FileSystem/Path.js +17 -3
  111. package/dist/ts/ts/Json/Assay.js +26 -26
  112. package/dist/ts/ts/Json/Comment.js +10 -10
  113. package/dist/ts/ts/Json/Data.js +6 -6
  114. package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
  115. package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
  116. package/dist/ts/ts/Json/Decode.js +14 -9
  117. package/dist/ts/ts/Json/Encode.js +43 -11
  118. package/dist/ts/ts/Json/Investigation.js +40 -22
  119. package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
  120. package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
  121. package/dist/ts/ts/Json/Person.js +26 -26
  122. package/dist/ts/ts/Json/Process/Component.js +9 -6
  123. package/dist/ts/ts/Json/Process/Factor.js +3 -3
  124. package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
  125. package/dist/ts/ts/Json/Process/Material.js +9 -9
  126. package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
  127. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
  128. package/dist/ts/ts/Json/Process/Process.js +12 -12
  129. package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
  130. package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
  131. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +10 -7
  132. package/dist/ts/ts/Json/Process/Protocol.js +12 -12
  133. package/dist/ts/ts/Json/Process/ProtocolParameter.js +3 -3
  134. package/dist/ts/ts/Json/Process/Sample.js +14 -14
  135. package/dist/ts/ts/Json/Process/Source.js +9 -9
  136. package/dist/ts/ts/Json/Process/Value.js +1 -1
  137. package/dist/ts/ts/Json/PropertyValue.js +1 -1
  138. package/dist/ts/ts/Json/Publication.js +6 -6
  139. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
  140. package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
  141. package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
  142. package/dist/ts/ts/Json/Run.js +7 -7
  143. package/dist/ts/ts/Json/StringTable.js +1 -1
  144. package/dist/ts/ts/Json/Study.js +32 -32
  145. package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
  146. package/dist/ts/ts/Json/Table/CellTable.js +6 -6
  147. package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
  148. package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
  149. package/dist/ts/ts/Json/Table/IOType.js +1 -1
  150. package/dist/ts/ts/Json/Table/OATable.js +7 -7
  151. package/dist/ts/ts/Json/Table/Templates.js +92 -6
  152. package/dist/ts/ts/Json/Workflow.js +11 -11
  153. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
  154. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
  155. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
  156. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
  157. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
  158. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
  159. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
  160. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
  161. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
  162. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
  163. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
  164. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
  165. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
  166. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
  167. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
  168. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
  169. package/dist/ts/ts/Json.d.ts +13 -1
  170. package/dist/ts/ts/Json.d.ts.map +1 -1
  171. package/dist/ts/ts/Json.js +89 -2
  172. package/dist/ts/ts/JsonIO/Assay.js +15 -3
  173. package/dist/ts/ts/JsonIO/Investigation.js +15 -3
  174. package/dist/ts/ts/JsonIO/LDObject.js +17 -3
  175. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
  176. package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
  177. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
  178. package/dist/ts/ts/JsonIO/Person.js +67 -0
  179. package/dist/ts/ts/JsonIO/Run.js +9 -3
  180. package/dist/ts/ts/JsonIO/Study.js +15 -3
  181. package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
  182. package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
  183. package/dist/ts/ts/JsonIO/Workflow.js +9 -3
  184. package/dist/ts/ts/License.d.ts +39 -0
  185. package/dist/ts/ts/License.d.ts.map +1 -0
  186. package/dist/ts/ts/License.js +123 -0
  187. package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
  188. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
  189. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
  190. package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
  191. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
  192. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
  193. package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
  194. package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
  195. package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
  196. package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
  197. package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
  198. package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
  199. package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
  200. package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
  201. package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
  202. package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
  203. package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
  204. package/dist/ts/ts/ROCrate/LDContext.js +15 -6
  205. package/dist/ts/ts/ROCrate/LDObject.js +53 -17
  206. package/dist/ts/ts/ROCrateIO.d.ts +9 -3
  207. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  208. package/dist/ts/ts/ROCrateIO.js +67 -14
  209. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
  210. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
  211. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
  212. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  213. package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
  214. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
  215. package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
  216. package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
  217. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
  218. package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
  219. package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
  220. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
  221. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
  222. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
  223. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  224. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
  225. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  226. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
  227. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
  228. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
  229. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
  230. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
  231. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
  232. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
  233. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
  234. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
  235. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
  236. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  237. package/dist/ts/ts/Template.Web.js +5 -1
  238. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
  239. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
  240. package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
  241. package/dist/ts/ts/Xlsx.js +41 -1
  242. package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
  243. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
  244. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
  245. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
  246. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
  247. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
  248. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
  249. package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
  250. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
  251. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
  252. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
  253. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
  254. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
  255. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
  256. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
  257. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
  258. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
  259. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
  260. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
  261. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
  262. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
  263. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
  264. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
  265. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
  266. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
  267. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
  268. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
  269. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
  270. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
  271. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
  272. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
  273. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
  274. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
  275. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
  276. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
  277. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
  278. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
  279. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
  280. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
  281. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
  282. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
  283. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
  284. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
  285. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
  286. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
  287. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
  288. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
  289. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
  290. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
  291. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
  292. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
  293. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
  294. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
  295. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
  296. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
  297. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
  298. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
  299. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
  300. package/package.json +1 -1
  301. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
  302. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
  303. package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
  304. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
  305. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
  306. package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
@@ -1,15 +1,144 @@
1
1
  import { fromContinuations } from '../../../node_modules/@fable-org/fable-library-js/Async.js';
2
- import { singleton } from '../../../node_modules/@fable-org/fable-library-js/AsyncBuilder.js';
3
- import { HttpRequest, HttpMethod_GET, BodyContent_Empty, HttpResponse, ResponseContent_Text, ResponseContent_ArrayBuffer, ResponseContent_Blob, ResponseContent_Unknown } from './Types.fs.js';
4
- import { empty, ofArray as ofArray$1, isEmpty, head, tail } from '../../../node_modules/@fable-org/fable-library-js/List.js';
2
+ import { singleton as singleton$1 } from '../../../node_modules/@fable-org/fable-library-js/AsyncBuilder.js';
3
+ import { Header, HttpRequest, HttpMethod_GET, BodyContent_Empty, HttpResponse, ResponseContent_Text, ResponseContent_Unknown, ResponseContent_ArrayBuffer, ResponseContent_Blob, BodyContent_Text, HttpMethod_PUT, HttpMethod_DELETE, HttpMethod_PATCH, HttpMethod_POST } from './Types.fs.js';
4
+ import { empty, append, singleton, ofArray as ofArray$1, isEmpty, head, tail } from '../../../node_modules/@fable-org/fable-library-js/List.js';
5
5
  import { empty as empty$1, ofArray } from '../../../node_modules/@fable-org/fable-library-js/Map.js';
6
6
  import { comparePrimitives, getEnumerator, disposeSafe } from '../../../node_modules/@fable-org/fable-library-js/Util.js';
7
- import { join, isNullOrEmpty, split } from '../../../node_modules/@fable-org/fable-library-js/String.js';
7
+ import { isNullOrEmpty, split, join } from '../../../node_modules/@fable-org/fable-library-js/String.js';
8
8
  import { choose } from '../../../node_modules/@fable-org/fable-library-js/Array.js';
9
9
  import { value, some } from '../../../node_modules/@fable-org/fable-library-js/Option.js';
10
10
 
11
+ function Blob_download(blob, fileName) {
12
+ const element = document.createElement("a");
13
+ element.target = "_blank";
14
+ element.href = window.URL.createObjectURL(blob);
15
+ element.setAttribute("download", fileName);
16
+ document.body.appendChild(element);
17
+ element.click();
18
+ document.body.removeChild(element);
19
+ }
20
+ function FileReader_readBlobAsText(blob) {
21
+ return fromContinuations((tupledArg) => {
22
+ const reader = new FileReader();
23
+ reader.onload = (_arg_2) => {
24
+ if (reader.readyState === 2) {
25
+ tupledArg[0](reader.result);
26
+ }
27
+ };
28
+ reader.readAsText(blob);
29
+ });
30
+ }
31
+ function FileReader_readFileAsText(file) {
32
+ return fromContinuations((tupledArg) => {
33
+ const reader = new FileReader();
34
+ reader.onload = (_arg_2) => {
35
+ if (reader.readyState === 2) {
36
+ tupledArg[0](reader.result);
37
+ }
38
+ };
39
+ reader.readAsText(file);
40
+ });
41
+ }
42
+ function FormData_append(key, value, form) {
43
+ form.append(key, value);
44
+ return form;
45
+ }
46
+ function FormData_appendFile(key, file, form) {
47
+ form.append(key, file);
48
+ return form;
49
+ }
50
+ function FormData_appendNamedFile(key, fileName, file, form) {
51
+ form.append(key, file, fileName);
52
+ return form;
53
+ }
54
+ function FormData_appendBlob(key, blob, form) {
55
+ form.append(key, blob);
56
+ return form;
57
+ }
58
+ function FormData_appendNamedBlob(key, fileName, blob, form) {
59
+ form.append(key, blob, fileName);
60
+ return form;
61
+ }
62
+ function Headers_contentType(value) {
63
+ return new Header("Content-Type", value);
64
+ }
65
+ function Headers_accept(value) {
66
+ return new Header("Accept", value);
67
+ }
68
+ function Headers_acceptCharset(value) {
69
+ return new Header("Accept-Charset", value);
70
+ }
71
+ function Headers_acceptEncoding(value) {
72
+ return new Header("Accept-Encoding", value);
73
+ }
74
+ function Headers_acceptLanguage(value) {
75
+ return new Header("Accept-Language", value);
76
+ }
77
+ function Headers_acceptDateTime(value) {
78
+ return new Header("Accept-Datetime", value);
79
+ }
80
+ function Headers_authorization(value) {
81
+ return new Header("Authorization", value);
82
+ }
83
+ function Headers_cacheControl(value) {
84
+ return new Header("Cache-Control", value);
85
+ }
86
+ function Headers_connection(value) {
87
+ return new Header("Connection", value);
88
+ }
89
+ function Headers_cookie(value) {
90
+ return new Header("Cookie", value);
91
+ }
92
+ function Headers_contentMD5(value) {
93
+ return new Header("Content-MD5", value);
94
+ }
95
+ function Headers_date(value) {
96
+ return new Header("Date", value);
97
+ }
98
+ function Headers_expect(value) {
99
+ return new Header("Expect", value);
100
+ }
101
+ function Headers_ifMatch(value) {
102
+ return new Header("If-Match", value);
103
+ }
104
+ function Headers_ifModifiedSince(value) {
105
+ return new Header("If-Modified-Since", value);
106
+ }
107
+ function Headers_ifNoneMatch(value) {
108
+ return new Header("If-None-Match", value);
109
+ }
110
+ function Headers_ifRange(value) {
111
+ return new Header("If-Range", value);
112
+ }
113
+ function Headers_IfUnmodifiedSince(value) {
114
+ return new Header("If-Unmodified-Since", value);
115
+ }
116
+ function Headers_maxForwards(value) {
117
+ return new Header("Max-Forwards", value);
118
+ }
119
+ function Headers_origin(value) {
120
+ return new Header("Origin", value);
121
+ }
122
+ function Headers_pragma(value) {
123
+ return new Header("Pragma", value);
124
+ }
125
+ function Headers_proxyAuthorization(value) {
126
+ return new Header("Proxy-Authorization", value);
127
+ }
128
+ function Headers_range(value) {
129
+ return new Header("Range", value);
130
+ }
131
+ function Headers_referer(value) {
132
+ return new Header("Referer", value);
133
+ }
134
+ function Headers_userAgent(value) {
135
+ return new Header("User-Agent", value);
136
+ }
137
+ function Headers_create(key, value) {
138
+ return new Header(key, value);
139
+ }
11
140
  const Http_defaultRequest = new HttpRequest("", HttpMethod_GET(), empty(), false, void 0, void 0, void 0, BodyContent_Empty());
12
- new HttpResponse(0, "", "", "", empty$1({
141
+ const Http_emptyResponse = new HttpResponse(0, "", "", "", empty$1({
13
142
  Compare: comparePrimitives
14
143
  }), ResponseContent_Text(""));
15
144
  function Http_splitAt(delimiter, input) {
@@ -49,6 +178,27 @@ function Http_request(url) {
49
178
  function Http_method(httpVerb, req) {
50
179
  return new HttpRequest(req.url, httpVerb, req.headers, req.withCredentials, req.overridenMimeType, req.overridenResponseType, req.timeout, req.content);
51
180
  }
181
+ function Http_header(singleHeader, req) {
182
+ return new HttpRequest(req.url, req.method, append(req.headers, singleton(singleHeader)), req.withCredentials, req.overridenMimeType, req.overridenResponseType, req.timeout, req.content);
183
+ }
184
+ function Http_headers(values, req) {
185
+ return new HttpRequest(req.url, req.method, append(req.headers, values), req.withCredentials, req.overridenMimeType, req.overridenResponseType, req.timeout, req.content);
186
+ }
187
+ function Http_withCredentials(enabled, req) {
188
+ return new HttpRequest(req.url, req.method, req.headers, enabled, req.overridenMimeType, req.overridenResponseType, req.timeout, req.content);
189
+ }
190
+ function Http_withTimeout(timeoutInMilliseconds, req) {
191
+ return new HttpRequest(req.url, req.method, req.headers, req.withCredentials, req.overridenMimeType, req.overridenResponseType, timeoutInMilliseconds, req.content);
192
+ }
193
+ function Http_overrideMimeType(value, req) {
194
+ return new HttpRequest(req.url, req.method, req.headers, req.withCredentials, value, req.overridenResponseType, req.timeout, req.content);
195
+ }
196
+ function Http_overrideResponseType(value, req) {
197
+ return new HttpRequest(req.url, req.method, req.headers, req.withCredentials, req.overridenMimeType, value, req.timeout, req.content);
198
+ }
199
+ function Http_content(bodyContent, req) {
200
+ return new HttpRequest(req.url, req.method, req.headers, req.withCredentials, req.overridenMimeType, req.overridenResponseType, req.timeout, bodyContent);
201
+ }
52
202
  function Http_send(req) {
53
203
  return fromContinuations((tupledArg) => {
54
204
  const xhr = new XMLHttpRequest();
@@ -81,12 +231,14 @@ function Http_send(req) {
81
231
  }
82
232
  xhr.withCredentials = req.withCredentials;
83
233
  const matchValue_3 = req.overridenMimeType;
84
- if (matchValue_3 == null) ; else {
234
+ if (matchValue_3 == null) {
235
+ } else {
85
236
  const mimeType = value(matchValue_3);
86
237
  xhr.overrideMimeType(mimeType);
87
238
  }
88
239
  const matchValue_4 = req.overridenResponseType;
89
- if (matchValue_4 == null) ; else {
240
+ if (matchValue_4 == null) {
241
+ } else {
90
242
  switch (value(matchValue_4).tag) {
91
243
  case /* Blob */
92
244
  1: {
@@ -103,7 +255,8 @@ function Http_send(req) {
103
255
  }
104
256
  }
105
257
  const matchValue_5 = req.timeout;
106
- if (matchValue_5 == null) ; else {
258
+ if (matchValue_5 == null) {
259
+ } else {
107
260
  const timeout = value(matchValue_5) | 0;
108
261
  xhr.timeout = timeout | 0;
109
262
  }
@@ -133,10 +286,34 @@ function Http_send(req) {
133
286
  });
134
287
  }
135
288
  function Http_get(url) {
136
- return singleton.Delay(() => singleton.Bind(Http_send(Http_method(HttpMethod_GET(), Http_request(url))), (_arg) => {
289
+ return singleton$1.Delay(() => singleton$1.Bind(Http_send(Http_method(HttpMethod_GET(), Http_request(url))), (_arg) => {
290
+ const response = _arg;
291
+ return singleton$1.Return([response.statusCode, response.responseText]);
292
+ }));
293
+ }
294
+ function Http_put(url, data) {
295
+ return singleton$1.Delay(() => singleton$1.Bind(Http_send(Http_content(BodyContent_Text(data), Http_method(HttpMethod_PUT(), Http_request(url)))), (_arg) => {
296
+ const response = _arg;
297
+ return singleton$1.Return([response.statusCode, response.responseText]);
298
+ }));
299
+ }
300
+ function Http_delete(url) {
301
+ return singleton$1.Delay(() => singleton$1.Bind(Http_send(Http_method(HttpMethod_DELETE(), Http_request(url))), (_arg) => {
302
+ const response = _arg;
303
+ return singleton$1.Return([response.statusCode, response.responseText]);
304
+ }));
305
+ }
306
+ function Http_patch(url, data) {
307
+ return singleton$1.Delay(() => singleton$1.Bind(Http_send(Http_content(BodyContent_Text(data), Http_method(HttpMethod_PATCH(), Http_request(url)))), (_arg) => {
308
+ const response = _arg;
309
+ return singleton$1.Return([response.statusCode, response.responseText]);
310
+ }));
311
+ }
312
+ function Http_post(url, data) {
313
+ return singleton$1.Delay(() => singleton$1.Bind(Http_send(Http_content(BodyContent_Text(data), Http_method(HttpMethod_POST(), Http_request(url)))), (_arg) => {
137
314
  const response = _arg;
138
- return singleton.Return([response.statusCode, response.responseText]);
315
+ return singleton$1.Return([response.statusCode, response.responseText]);
139
316
  }));
140
317
  }
141
318
 
142
- export { Http_get, Http_method, Http_request, Http_send };
319
+ export { Blob_download, FileReader_readBlobAsText, FileReader_readFileAsText, FormData_append, FormData_appendBlob, FormData_appendFile, FormData_appendNamedBlob, FormData_appendNamedFile, Headers_IfUnmodifiedSince, Headers_accept, Headers_acceptCharset, Headers_acceptDateTime, Headers_acceptEncoding, Headers_acceptLanguage, Headers_authorization, Headers_cacheControl, Headers_connection, Headers_contentMD5, Headers_contentType, Headers_cookie, Headers_create, Headers_date, Headers_expect, Headers_ifMatch, Headers_ifModifiedSince, Headers_ifNoneMatch, Headers_ifRange, Headers_maxForwards, Headers_origin, Headers_pragma, Headers_proxyAuthorization, Headers_range, Headers_referer, Headers_userAgent, Http_content, Http_delete, Http_get, Http_header, Http_headers, Http_method, Http_overrideMimeType, Http_overrideResponseType, Http_patch, Http_post, Http_put, Http_request, Http_send, Http_withCredentials, Http_withTimeout };
@@ -1,8 +1,27 @@
1
- import { Record, Union } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
1
+ import { Union, Record } from '../../../node_modules/@fable-org/fable-library-js/Types.js';
2
+ import { union_type, string_type, class_type, record_type, list_type, bool_type, option_type, int32_type, obj_type } from '../../../node_modules/@fable-org/fable-library-js/Reflection.js';
2
3
 
3
4
  function HttpMethod_GET() {
4
5
  return new HttpMethod(0, []);
5
6
  }
7
+ function HttpMethod_POST() {
8
+ return new HttpMethod(1, []);
9
+ }
10
+ function HttpMethod_PUT() {
11
+ return new HttpMethod(2, []);
12
+ }
13
+ function HttpMethod_PATCH() {
14
+ return new HttpMethod(3, []);
15
+ }
16
+ function HttpMethod_DELETE() {
17
+ return new HttpMethod(4, []);
18
+ }
19
+ function HttpMethod_HEAD() {
20
+ return new HttpMethod(5, []);
21
+ }
22
+ function HttpMethod_OPTIONS() {
23
+ return new HttpMethod(6, []);
24
+ }
6
25
  class HttpMethod extends Union {
7
26
  constructor(tag, fields) {
8
27
  super();
@@ -13,9 +32,34 @@ class HttpMethod extends Union {
13
32
  return ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"];
14
33
  }
15
34
  }
35
+ function HttpMethod_$reflection() {
36
+ return union_type("Fable.SimpleHttp.HttpMethod", [], HttpMethod, () => [[], [], [], [], [], [], []]);
37
+ }
38
+ class Header extends Union {
39
+ constructor(Item1, Item2) {
40
+ super();
41
+ this.tag = 0;
42
+ this.fields = [Item1, Item2];
43
+ }
44
+ cases() {
45
+ return ["Header"];
46
+ }
47
+ }
48
+ function Header_$reflection() {
49
+ return union_type("Fable.SimpleHttp.Header", [], Header, () => [[["Item1", string_type], ["Item2", string_type]]]);
50
+ }
16
51
  function BodyContent_Empty() {
17
52
  return new BodyContent(0, []);
18
53
  }
54
+ function BodyContent_Text(Item) {
55
+ return new BodyContent(1, [Item]);
56
+ }
57
+ function BodyContent_Binary(Item) {
58
+ return new BodyContent(2, [Item]);
59
+ }
60
+ function BodyContent_Form(Item) {
61
+ return new BodyContent(3, [Item]);
62
+ }
19
63
  class BodyContent extends Union {
20
64
  constructor(tag, fields) {
21
65
  super();
@@ -26,6 +70,31 @@ class BodyContent extends Union {
26
70
  return ["Empty", "Text", "Binary", "Form"];
27
71
  }
28
72
  }
73
+ function BodyContent_$reflection() {
74
+ return union_type("Fable.SimpleHttp.BodyContent", [], BodyContent, () => [[], [["Item", string_type]], [["Item", class_type("Browser.Types.Blob", void 0)]], [["Item", class_type("Browser.Types.FormData", void 0)]]]);
75
+ }
76
+ function ResponseTypes_Text() {
77
+ return new ResponseTypes(0, []);
78
+ }
79
+ function ResponseTypes_Blob() {
80
+ return new ResponseTypes(1, []);
81
+ }
82
+ function ResponseTypes_ArrayBuffer() {
83
+ return new ResponseTypes(2, []);
84
+ }
85
+ class ResponseTypes extends Union {
86
+ constructor(tag, fields) {
87
+ super();
88
+ this.tag = tag;
89
+ this.fields = fields;
90
+ }
91
+ cases() {
92
+ return ["Text", "Blob", "ArrayBuffer"];
93
+ }
94
+ }
95
+ function ResponseTypes_$reflection() {
96
+ return union_type("Fable.SimpleHttp.ResponseTypes", [], ResponseTypes, () => [[], [], []]);
97
+ }
29
98
  class HttpRequest extends Record {
30
99
  constructor(url, method, headers, withCredentials, overridenMimeType, overridenResponseType, timeout, content) {
31
100
  super();
@@ -39,6 +108,9 @@ class HttpRequest extends Record {
39
108
  this.content = content;
40
109
  }
41
110
  }
111
+ function HttpRequest_$reflection() {
112
+ return record_type("Fable.SimpleHttp.HttpRequest", [], HttpRequest, () => [["url", string_type], ["method", HttpMethod_$reflection()], ["headers", list_type(Header_$reflection())], ["withCredentials", bool_type], ["overridenMimeType", option_type(string_type)], ["overridenResponseType", option_type(ResponseTypes_$reflection())], ["timeout", option_type(int32_type)], ["content", BodyContent_$reflection()]]);
113
+ }
42
114
  function ResponseContent_Text(Item) {
43
115
  return new ResponseContent(0, [Item]);
44
116
  }
@@ -61,6 +133,9 @@ class ResponseContent extends Union {
61
133
  return ["Text", "Blob", "ArrayBuffer", "Unknown"];
62
134
  }
63
135
  }
136
+ function ResponseContent_$reflection() {
137
+ return union_type("Fable.SimpleHttp.ResponseContent", [], ResponseContent, () => [[["Item", string_type]], [["Item", class_type("Browser.Types.Blob", void 0)]], [["Item", class_type("Fable.Core.JS.ArrayBuffer")]], [["Item", obj_type]]]);
138
+ }
64
139
  class HttpResponse extends Record {
65
140
  constructor(statusCode, responseText, responseType, responseUrl, responseHeaders, content) {
66
141
  super();
@@ -72,5 +147,8 @@ class HttpResponse extends Record {
72
147
  this.content = content;
73
148
  }
74
149
  }
150
+ function HttpResponse_$reflection() {
151
+ return record_type("Fable.SimpleHttp.HttpResponse", [], HttpResponse, () => [["statusCode", int32_type], ["responseText", string_type], ["responseType", string_type], ["responseUrl", string_type], ["responseHeaders", class_type("Microsoft.FSharp.Collections.FSharpMap`2", [string_type, string_type])], ["content", ResponseContent_$reflection()]]);
152
+ }
75
153
 
76
- export { BodyContent, BodyContent_Empty, HttpMethod, HttpMethod_GET, HttpRequest, HttpResponse, ResponseContent, ResponseContent_ArrayBuffer, ResponseContent_Blob, ResponseContent_Text, ResponseContent_Unknown };
154
+ export { BodyContent, BodyContent_$reflection, BodyContent_Binary, BodyContent_Empty, BodyContent_Form, BodyContent_Text, Header, Header_$reflection, HttpMethod, HttpMethod_$reflection, HttpMethod_DELETE, HttpMethod_GET, HttpMethod_HEAD, HttpMethod_OPTIONS, HttpMethod_PATCH, HttpMethod_POST, HttpMethod_PUT, HttpRequest, HttpRequest_$reflection, HttpResponse, HttpResponse_$reflection, ResponseContent, ResponseContent_$reflection, ResponseContent_ArrayBuffer, ResponseContent_Blob, ResponseContent_Text, ResponseContent_Unknown, ResponseTypes, ResponseTypes_$reflection, ResponseTypes_ArrayBuffer, ResponseTypes_Blob, ResponseTypes_Text };
@@ -1,4 +1,5 @@
1
- import { toString, Union } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
1
+ import { Union, toString } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
2
+ import { union_type, class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
2
3
  import { parse as parse$1 } from '../../../../node_modules/@fable-org/fable-library-js/Int32.js';
3
4
  import { FsAddress, CellReference_indexToColAdress } from '../FsAddress.fs.js';
4
5
  import { toInt64, toUInt64 } from '../../../../node_modules/@fable-org/fable-library-js/BigInt.js';
@@ -38,6 +39,16 @@ class DataType extends Union {
38
39
  return ["String", "Boolean", "Number", "Date", "Empty"];
39
40
  }
40
41
  }
42
+ function DataType_$reflection() {
43
+ return union_type("FsSpreadsheet.DataType", [], DataType, () => [[], [], [], [], []]);
44
+ }
45
+ function FsCellAux_boolConverter(bool) {
46
+ if (bool) {
47
+ return "1";
48
+ } else {
49
+ return "0";
50
+ }
51
+ }
41
52
  class FsCell {
42
53
  constructor(value, dataType, address) {
43
54
  this._cellValue = value;
@@ -95,34 +106,48 @@ class FsCell {
95
106
  let patternInput;
96
107
  const value_1_1 = value;
97
108
  if (typeof value_1_1 === "string") {
109
+ const c = value_1_1;
98
110
  patternInput = [DataType_String(), value_1_1];
99
111
  } else if (typeof value_1_1 === "boolean") {
100
112
  patternInput = value_1_1 ? [DataType_Boolean(), true] : [DataType_Boolean(), false];
101
113
  } else if (typeof value_1_1 === "number") {
114
+ const i = value_1_1;
102
115
  patternInput = [DataType_Number(), value_1_1];
103
116
  } else if (typeof value_1_1 === "number") {
117
+ const i_1 = value_1_1 | 0;
104
118
  patternInput = [DataType_Number(), value_1_1];
105
119
  } else if (typeof value_1_1 === "number") {
120
+ const i_2 = value_1_1 | 0;
106
121
  patternInput = [DataType_Number(), value_1_1];
107
122
  } else if (typeof value_1_1 === "number") {
123
+ const i_3 = value_1_1 | 0;
108
124
  patternInput = [DataType_Number(), value_1_1];
109
125
  } else if (typeof value_1_1 === "bigint") {
126
+ const i_4 = value_1_1;
110
127
  patternInput = [DataType_Number(), value_1_1];
111
128
  } else if (typeof value_1_1 === "number") {
129
+ const i_5 = value_1_1;
112
130
  patternInput = [DataType_Number(), value_1_1];
113
131
  } else if (typeof value_1_1 === "number") {
132
+ const i_6 = value_1_1;
114
133
  patternInput = [DataType_Number(), value_1_1];
115
134
  } else if (typeof value_1_1 === "bigint") {
135
+ const i_7 = value_1_1;
116
136
  patternInput = [DataType_Number(), value_1_1];
117
137
  } else if (typeof value_1_1 === "number") {
138
+ const i_8 = value_1_1;
118
139
  patternInput = [DataType_Number(), value_1_1];
119
140
  } else if (typeof value_1_1 === "number") {
141
+ const i_9 = value_1_1;
120
142
  patternInput = [DataType_Number(), value_1_1];
121
143
  } else if (value_1_1 instanceof Big) {
144
+ const i_10 = value_1_1;
122
145
  patternInput = [DataType_Number(), value_1_1];
123
146
  } else if (value_1_1 instanceof Date) {
147
+ const d = value_1_1;
124
148
  patternInput = [DataType_Date(), value_1_1];
125
149
  } else if (typeof value_1_1 === "string") {
150
+ const s = value_1_1;
126
151
  patternInput = [DataType_String(), value_1_1];
127
152
  } else {
128
153
  patternInput = [DataType_String(), value_1_1];
@@ -136,34 +161,48 @@ class FsCell {
136
161
  let patternInput;
137
162
  const value_1_1 = value;
138
163
  if (typeof value_1_1 === "string") {
164
+ const c = value_1_1;
139
165
  patternInput = [DataType_String(), value_1_1];
140
166
  } else if (typeof value_1_1 === "boolean") {
141
167
  patternInput = value_1_1 ? [DataType_Boolean(), true] : [DataType_Boolean(), false];
142
168
  } else if (typeof value_1_1 === "number") {
169
+ const i = value_1_1;
143
170
  patternInput = [DataType_Number(), value_1_1];
144
171
  } else if (typeof value_1_1 === "number") {
172
+ const i_1 = value_1_1 | 0;
145
173
  patternInput = [DataType_Number(), value_1_1];
146
174
  } else if (typeof value_1_1 === "number") {
175
+ const i_2 = value_1_1 | 0;
147
176
  patternInput = [DataType_Number(), value_1_1];
148
177
  } else if (typeof value_1_1 === "number") {
178
+ const i_3 = value_1_1 | 0;
149
179
  patternInput = [DataType_Number(), value_1_1];
150
180
  } else if (typeof value_1_1 === "bigint") {
181
+ const i_4 = value_1_1;
151
182
  patternInput = [DataType_Number(), value_1_1];
152
183
  } else if (typeof value_1_1 === "number") {
184
+ const i_5 = value_1_1;
153
185
  patternInput = [DataType_Number(), value_1_1];
154
186
  } else if (typeof value_1_1 === "number") {
187
+ const i_6 = value_1_1;
155
188
  patternInput = [DataType_Number(), value_1_1];
156
189
  } else if (typeof value_1_1 === "bigint") {
190
+ const i_7 = value_1_1;
157
191
  patternInput = [DataType_Number(), value_1_1];
158
192
  } else if (typeof value_1_1 === "number") {
193
+ const i_8 = value_1_1;
159
194
  patternInput = [DataType_Number(), value_1_1];
160
195
  } else if (typeof value_1_1 === "number") {
196
+ const i_9 = value_1_1;
161
197
  patternInput = [DataType_Number(), value_1_1];
162
198
  } else if (value_1_1 instanceof Big) {
199
+ const i_10 = value_1_1;
163
200
  patternInput = [DataType_Number(), value_1_1];
164
201
  } else if (value_1_1 instanceof Date) {
202
+ const d = value_1_1;
165
203
  patternInput = [DataType_Date(), value_1_1];
166
204
  } else if (typeof value_1_1 === "string") {
205
+ const s = value_1_1;
167
206
  patternInput = [DataType_String(), value_1_1];
168
207
  } else {
169
208
  patternInput = [DataType_String(), value_1_1];
@@ -259,14 +298,14 @@ class FsCell {
259
298
  }
260
299
  ValueAsLong() {
261
300
  const self = this;
262
- return toInt64(parse$2(toString(self.Value), 511, false));
301
+ return toInt64(parse$2(toString(self.Value), 511, false, 64));
263
302
  }
264
303
  static getValueAsLong(cell) {
265
304
  return cell.ValueAsLong();
266
305
  }
267
306
  ValueAsULong() {
268
307
  const self = this;
269
- return toUInt64(parse$2(toString(self.Value), 511, true));
308
+ return toUInt64(parse$2(toString(self.Value), 511, true, 64));
270
309
  }
271
310
  static getValueAsULong(cell) {
272
311
  return cell.ValueAsULong();
@@ -311,34 +350,48 @@ class FsCell {
311
350
  let patternInput;
312
351
  const value_1_1 = value;
313
352
  if (typeof value_1_1 === "string") {
353
+ const c = value_1_1;
314
354
  patternInput = [DataType_String(), value_1_1];
315
355
  } else if (typeof value_1_1 === "boolean") {
316
356
  patternInput = value_1_1 ? [DataType_Boolean(), true] : [DataType_Boolean(), false];
317
357
  } else if (typeof value_1_1 === "number") {
358
+ const i = value_1_1;
318
359
  patternInput = [DataType_Number(), value_1_1];
319
360
  } else if (typeof value_1_1 === "number") {
361
+ const i_1 = value_1_1 | 0;
320
362
  patternInput = [DataType_Number(), value_1_1];
321
363
  } else if (typeof value_1_1 === "number") {
364
+ const i_2 = value_1_1 | 0;
322
365
  patternInput = [DataType_Number(), value_1_1];
323
366
  } else if (typeof value_1_1 === "number") {
367
+ const i_3 = value_1_1 | 0;
324
368
  patternInput = [DataType_Number(), value_1_1];
325
369
  } else if (typeof value_1_1 === "bigint") {
370
+ const i_4 = value_1_1;
326
371
  patternInput = [DataType_Number(), value_1_1];
327
372
  } else if (typeof value_1_1 === "number") {
373
+ const i_5 = value_1_1;
328
374
  patternInput = [DataType_Number(), value_1_1];
329
375
  } else if (typeof value_1_1 === "number") {
376
+ const i_6 = value_1_1;
330
377
  patternInput = [DataType_Number(), value_1_1];
331
378
  } else if (typeof value_1_1 === "bigint") {
379
+ const i_7 = value_1_1;
332
380
  patternInput = [DataType_Number(), value_1_1];
333
381
  } else if (typeof value_1_1 === "number") {
382
+ const i_8 = value_1_1;
334
383
  patternInput = [DataType_Number(), value_1_1];
335
384
  } else if (typeof value_1_1 === "number") {
385
+ const i_9 = value_1_1;
336
386
  patternInput = [DataType_Number(), value_1_1];
337
387
  } else if (value_1_1 instanceof Big) {
388
+ const i_10 = value_1_1;
338
389
  patternInput = [DataType_Number(), value_1_1];
339
390
  } else if (value_1_1 instanceof Date) {
391
+ const d = value_1_1;
340
392
  patternInput = [DataType_Date(), value_1_1];
341
393
  } else if (typeof value_1_1 === "string") {
394
+ const s = value_1_1;
342
395
  patternInput = [DataType_String(), value_1_1];
343
396
  } else {
344
397
  patternInput = [DataType_String(), value_1_1];
@@ -355,5 +408,11 @@ class FsCell {
355
408
  return forAll((x_1) => x_1 === true, [equals(this$.Value, other.Value), equals(this$.DataType, other.DataType), forAll((x) => x === true, [this$.Address.Address === other.Address.Address, this$.Address.ColumnNumber === other.Address.ColumnNumber, this$.Address.RowNumber === other.Address.RowNumber, this$.Address.FixedColumn === other.Address.FixedColumn, this$.Address.FixedRow === other.Address.FixedRow]), this$.ColumnNumber === other.ColumnNumber, this$.RowNumber === other.RowNumber]);
356
409
  }
357
410
  }
411
+ function FsCell_$reflection() {
412
+ return class_type("FsSpreadsheet.FsCell", void 0, FsCell);
413
+ }
414
+ function FsCell_$ctor_2BEF9BB0(value, dataType, address) {
415
+ return new FsCell(value, dataType, address);
416
+ }
358
417
 
359
- export { DataType, DataType_Boolean, DataType_Date, DataType_Empty, DataType_Number, DataType_String, FsCell };
418
+ export { DataType, DataType_$reflection, DataType_Boolean, DataType_Date, DataType_Empty, DataType_Number, DataType_String, FsCell, FsCellAux_boolConverter, FsCell_$ctor_2BEF9BB0, FsCell_$reflection };
@@ -1,9 +1,10 @@
1
1
  import { getItemFromDict, addToDict, addToSet } from '../../../../node_modules/@fable-org/fable-library-js/MapUtil.js';
2
2
  import { some, value } from '../../../../node_modules/@fable-org/fable-library-js/Option.js';
3
3
  import { comparePrimitives } from '../../../../node_modules/@fable-org/fable-library-js/Util.js';
4
- import { map, iterate, isEmpty, max, collect, delay, min, minBy, empty, singleton } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
4
+ import { map, iterate, isEmpty, max, collect, delay, empty, singleton, min, minBy } from '../../../../node_modules/@fable-org/fable-library-js/Seq.js';
5
5
  import { rangeDouble } from '../../../../node_modules/@fable-org/fable-library-js/Range.js';
6
6
  import { FsAddress } from '../FsAddress.fs.js';
7
+ import { class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
7
8
 
8
9
  function Dictionary_tryGet(k, dict) {
9
10
  if (dict.has(k)) {
@@ -105,7 +106,8 @@ class FsCellsCollection {
105
106
  this$._maxColumnUsed = column_1 | 0;
106
107
  }
107
108
  const matchValue_1 = Dictionary_tryGet(row_1, this$._deleted);
108
- if (matchValue_1 == null) ; else {
109
+ if (matchValue_1 == null) {
110
+ } else {
109
111
  const delHash = value(matchValue_1);
110
112
  delHash.delete(column_1);
111
113
  }
@@ -120,7 +122,7 @@ class FsCellsCollection {
120
122
  AddMany(cells) {
121
123
  const this$ = this;
122
124
  iterate((arg) => {
123
- this$.Add(arg);
125
+ const value = this$.Add(arg);
124
126
  }, cells);
125
127
  }
126
128
  static addCells(cells, cellsCollection) {
@@ -162,13 +164,14 @@ class FsCellsCollection {
162
164
  addToSet(column, delHash_3);
163
165
  addToDict(this$._deleted, row, delHash_3);
164
166
  } else if (delHash = value(matchValue), delHash.has(column)) {
165
- value(matchValue);
167
+ const delHash_1 = value(matchValue);
166
168
  } else {
167
169
  const delHash_2 = value(matchValue);
168
170
  addToSet(column, delHash_2);
169
171
  }
170
172
  const matchValue_1 = Dictionary_tryGet(row, this$._rowsCollection);
171
- if (matchValue_1 == null) ; else {
173
+ if (matchValue_1 == null) {
174
+ } else {
172
175
  const columnsCollection = value(matchValue_1);
173
176
  columnsCollection.delete(column);
174
177
  if (columnsCollection.size === 0) {
@@ -183,7 +186,8 @@ class FsCellsCollection {
183
186
  TryRemoveValueAt(rowIndex, colIndex) {
184
187
  const this$ = this;
185
188
  const matchValue = Dictionary_tryGet(rowIndex, this$._rowsCollection);
186
- if (matchValue == null) ; else {
189
+ if (matchValue == null) {
190
+ } else {
187
191
  const colsCollection = value(matchValue);
188
192
  try {
189
193
  getItemFromDict(colsCollection, colIndex).Value = "";
@@ -340,5 +344,11 @@ class FsCellsCollection {
340
344
  return cells.GetLastAddress();
341
345
  }
342
346
  }
347
+ function FsCellsCollection_$reflection() {
348
+ return class_type("FsSpreadsheet.FsCellsCollection", void 0, FsCellsCollection);
349
+ }
350
+ function FsCellsCollection_$ctor() {
351
+ return new FsCellsCollection();
352
+ }
343
353
 
344
- export { Dictionary_tryGet, FsCellsCollection };
354
+ export { Dictionary_tryGet, FsCellsCollection, FsCellsCollection_$ctor, FsCellsCollection_$reflection };