@nfdi4plants/arctrl 3.0.0-beta.4 → 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 (323) 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.d.ts +3 -1
  72. package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
  73. package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
  74. package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
  75. package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
  76. package/dist/ts/ts/Core/Person.js +8 -1
  77. package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
  78. package/dist/ts/ts/Core/Process/Component.js +37 -4
  79. package/dist/ts/ts/Core/Process/Factor.js +9 -4
  80. package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
  81. package/dist/ts/ts/Core/Process/Material.js +14 -4
  82. package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
  83. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
  84. package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
  85. package/dist/ts/ts/Core/Process/Process.js +150 -7
  86. package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
  87. package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
  88. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
  89. package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
  90. package/dist/ts/ts/Core/Process/Protocol.js +78 -4
  91. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
  92. package/dist/ts/ts/Core/Process/Sample.js +21 -3
  93. package/dist/ts/ts/Core/Process/Source.js +13 -3
  94. package/dist/ts/ts/Core/Publication.js +8 -1
  95. package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
  96. package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
  97. package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
  98. package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
  99. package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
  100. package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
  101. package/dist/ts/ts/Core/Template.js +12 -2
  102. package/dist/ts/ts/Core/Templates.js +8 -4
  103. package/dist/ts/ts/Core/Value.js +7 -3
  104. package/dist/ts/ts/CrossAsync.js +11 -1
  105. package/dist/ts/ts/FileSystem/Commit.js +18 -0
  106. package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
  107. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
  108. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  109. package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
  110. package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
  111. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  112. package/dist/ts/ts/FileSystem/Path.js +17 -3
  113. package/dist/ts/ts/Json/Assay.d.ts +1 -1
  114. package/dist/ts/ts/Json/Assay.js +28 -28
  115. package/dist/ts/ts/Json/Comment.js +10 -10
  116. package/dist/ts/ts/Json/Data.js +6 -6
  117. package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
  118. package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
  119. package/dist/ts/ts/Json/Decode.js +14 -9
  120. package/dist/ts/ts/Json/Encode.js +43 -11
  121. package/dist/ts/ts/Json/Investigation.js +40 -22
  122. package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
  123. package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
  124. package/dist/ts/ts/Json/Person.js +26 -26
  125. package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
  126. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  127. package/dist/ts/ts/Json/Process/Component.js +27 -7
  128. package/dist/ts/ts/Json/Process/Factor.js +3 -3
  129. package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
  130. package/dist/ts/ts/Json/Process/Material.js +9 -9
  131. package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
  132. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
  133. package/dist/ts/ts/Json/Process/Process.js +12 -12
  134. package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
  135. package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
  136. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
  137. package/dist/ts/ts/Json/Process/Protocol.js +13 -13
  138. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
  139. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  140. package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
  141. package/dist/ts/ts/Json/Process/Sample.js +14 -14
  142. package/dist/ts/ts/Json/Process/Source.js +9 -9
  143. package/dist/ts/ts/Json/Process/Value.js +1 -1
  144. package/dist/ts/ts/Json/PropertyValue.js +1 -1
  145. package/dist/ts/ts/Json/Publication.js +6 -6
  146. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
  147. package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
  148. package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
  149. package/dist/ts/ts/Json/Run.d.ts +11 -0
  150. package/dist/ts/ts/Json/Run.d.ts.map +1 -0
  151. package/dist/ts/ts/Json/Run.js +76 -0
  152. package/dist/ts/ts/Json/StringTable.js +1 -1
  153. package/dist/ts/ts/Json/Study.js +34 -34
  154. package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
  155. package/dist/ts/ts/Json/Table/CellTable.js +6 -6
  156. package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
  157. package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
  158. package/dist/ts/ts/Json/Table/IOType.js +1 -1
  159. package/dist/ts/ts/Json/Table/OATable.js +7 -7
  160. package/dist/ts/ts/Json/Table/Templates.js +92 -6
  161. package/dist/ts/ts/Json/Workflow.d.ts +11 -0
  162. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
  163. package/dist/ts/ts/Json/Workflow.js +93 -0
  164. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
  165. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
  166. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
  167. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
  168. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
  169. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
  170. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
  171. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
  172. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
  173. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
  174. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
  175. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
  176. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
  177. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
  178. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
  179. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
  180. package/dist/ts/ts/Json.d.ts +34 -2
  181. package/dist/ts/ts/Json.d.ts.map +1 -1
  182. package/dist/ts/ts/Json.js +129 -2
  183. package/dist/ts/ts/JsonIO/Assay.js +15 -3
  184. package/dist/ts/ts/JsonIO/Investigation.js +15 -3
  185. package/dist/ts/ts/JsonIO/LDObject.js +17 -3
  186. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
  187. package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
  188. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
  189. package/dist/ts/ts/JsonIO/Person.js +67 -0
  190. package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
  191. package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
  192. package/dist/ts/ts/JsonIO/Run.js +50 -0
  193. package/dist/ts/ts/JsonIO/Study.js +15 -3
  194. package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
  195. package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
  196. package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
  197. package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
  198. package/dist/ts/ts/JsonIO/Workflow.js +50 -0
  199. package/dist/ts/ts/License.d.ts +39 -0
  200. package/dist/ts/ts/License.d.ts.map +1 -0
  201. package/dist/ts/ts/License.js +123 -0
  202. package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
  203. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
  204. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
  205. package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
  206. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
  207. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
  208. package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
  209. package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
  210. package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
  211. package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
  212. package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
  213. package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
  214. package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
  215. package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
  216. package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
  217. package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
  218. package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
  219. package/dist/ts/ts/ROCrate/LDContext.js +15 -6
  220. package/dist/ts/ts/ROCrate/LDObject.js +53 -17
  221. package/dist/ts/ts/ROCrateIO.d.ts +9 -3
  222. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  223. package/dist/ts/ts/ROCrateIO.js +67 -14
  224. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
  225. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
  226. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
  227. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  228. package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
  229. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
  230. package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
  231. package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
  232. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
  233. package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
  234. package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
  235. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
  236. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
  237. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
  238. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  239. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
  240. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  241. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
  242. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
  243. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
  244. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
  245. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
  246. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
  247. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
  248. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
  249. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
  250. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
  251. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  252. package/dist/ts/ts/Template.Web.js +5 -1
  253. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
  254. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
  255. package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
  256. package/dist/ts/ts/Xlsx.d.ts +21 -1
  257. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  258. package/dist/ts/ts/Xlsx.js +81 -1
  259. package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
  260. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
  261. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
  262. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
  263. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
  264. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
  265. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
  266. package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
  267. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
  268. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
  269. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
  270. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
  271. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
  272. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
  273. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
  274. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
  275. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
  276. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
  277. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
  278. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
  279. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
  280. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
  281. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
  282. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
  283. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
  284. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
  285. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
  286. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
  287. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
  288. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
  289. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
  290. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
  291. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
  292. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
  293. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
  294. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
  295. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
  296. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
  297. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
  298. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
  299. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
  300. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
  301. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
  302. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
  303. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
  304. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
  305. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
  306. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
  307. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
  308. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
  309. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
  310. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
  311. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
  312. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
  313. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
  314. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
  315. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
  316. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
  317. package/package.json +1 -1
  318. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
  319. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
  320. package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
  321. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
  322. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
  323. package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
@@ -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 };
@@ -0,0 +1,198 @@
1
+ import { Union, toString } from '../../../../node_modules/@fable-org/fable-library-js/Types.js';
2
+ import { union_type, char_type, class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
3
+ import { DataType_String } from '../Cells/FsCell.fs.js';
4
+ import { reduce, map, empty, append, isEmpty, tail, head } from '../../../../node_modules/@fable-org/fable-library-js/List.js';
5
+ import { SheetEntity$1_NoneOptional, Message__MapText_11D407F6, SheetEntity$1_Some, SheetEntity$1_NoneRequired, SheetEntity$1__get_Messages } from './Types.fs.js';
6
+ import { toText, printf } from '../../../../node_modules/@fable-org/fable-library-js/String.js';
7
+ import { RequiredSource$1_$ctor_2B595, OptionalSource$1_$ctor_2B595, RequiredSource$1__get_Source, OptionalSource$1__get_Source } from './Expression.fs.js';
8
+
9
+ class ReduceOperation extends Union {
10
+ constructor(Item) {
11
+ super();
12
+ this.tag = 0;
13
+ this.fields = [Item];
14
+ }
15
+ cases() {
16
+ return ["Concat"];
17
+ }
18
+ }
19
+ function ReduceOperation_$reflection() {
20
+ return union_type("FsSpreadsheet.DSL.ReduceOperation", [], ReduceOperation, () => [[["Item", char_type]]]);
21
+ }
22
+ function ReduceOperation__Reduce_70D1A69E(this$, values) {
23
+ const separator = this$.fields[0];
24
+ return [DataType_String(), reduce((a, b) => `${a}${separator}${b}`, map((arg) => toString(arg[1]), values))];
25
+ }
26
+ class CellBuilder {
27
+ constructor() {
28
+ this.reducer = new ReduceOperation(",");
29
+ }
30
+ }
31
+ function CellBuilder_$reflection() {
32
+ return class_type("FsSpreadsheet.DSL.CellBuilder", void 0, CellBuilder);
33
+ }
34
+ function CellBuilder_$ctor() {
35
+ return new CellBuilder();
36
+ }
37
+ function CellBuilder_get_Empty() {
38
+ return SheetEntity$1_NoneOptional(empty());
39
+ }
40
+ function CellBuilder__SignMessages_3F89FFFC(this$, messages) {
41
+ return map((m) => {
42
+ let clo;
43
+ return Message__MapText_11D407F6(m, (clo = toText(printf("In Cell: %s")), clo));
44
+ }, messages);
45
+ }
46
+ function CellBuilder__Yield_36B9E420(this$, ro) {
47
+ this$.reducer = ro;
48
+ return SheetEntity$1_NoneOptional(empty());
49
+ }
50
+ function CellBuilder__Combine_F07E260(this$, wx1, wx2) {
51
+ let matchResult, l1, l2, messages1, messages2, messages2_1, messages1_1, f1, messages1_2, messages2_2, f2, messages1_3, messages2_3, messages1_4, messages2_4;
52
+ switch (wx1.tag) {
53
+ case /* NoneRequired */
54
+ 2: {
55
+ if (wx2.tag === /* NoneRequired */
56
+ 2) {
57
+ matchResult = 1;
58
+ messages2_1 = wx2.fields[0];
59
+ } else {
60
+ matchResult = 2;
61
+ messages1_1 = wx1.fields[0];
62
+ }
63
+ break;
64
+ }
65
+ case /* NoneOptional */
66
+ 1: {
67
+ switch (wx2.tag) {
68
+ case /* Some */
69
+ 0: {
70
+ matchResult = 4;
71
+ f2 = wx2.fields[0];
72
+ messages1_3 = wx1.fields[0];
73
+ messages2_3 = wx2.fields[1];
74
+ break;
75
+ }
76
+ case /* NoneOptional */
77
+ 1: {
78
+ matchResult = 5;
79
+ messages1_4 = wx1.fields[0];
80
+ messages2_4 = wx2.fields[0];
81
+ break;
82
+ }
83
+ default: {
84
+ matchResult = 1;
85
+ messages2_1 = wx2.fields[0];
86
+ }
87
+ }
88
+ break;
89
+ }
90
+ default:
91
+ switch (wx2.tag) {
92
+ case /* NoneRequired */
93
+ 2: {
94
+ matchResult = 1;
95
+ messages2_1 = wx2.fields[0];
96
+ break;
97
+ }
98
+ case /* NoneOptional */
99
+ 1: {
100
+ matchResult = 3;
101
+ f1 = wx1.fields[0];
102
+ messages1_2 = wx1.fields[1];
103
+ messages2_2 = wx2.fields[0];
104
+ break;
105
+ }
106
+ default: {
107
+ matchResult = 0;
108
+ l1 = wx1.fields[0];
109
+ l2 = wx2.fields[0];
110
+ messages1 = wx1.fields[1];
111
+ messages2 = wx2.fields[1];
112
+ }
113
+ }
114
+ }
115
+ switch (matchResult) {
116
+ case 0:
117
+ return SheetEntity$1_Some(append(l1, l2), append(messages1, messages2));
118
+ case 1:
119
+ return SheetEntity$1_NoneRequired(append(SheetEntity$1__get_Messages(wx1), messages2_1));
120
+ case 2:
121
+ return SheetEntity$1_NoneRequired(append(messages1_1, SheetEntity$1__get_Messages(wx2)));
122
+ case 3:
123
+ return SheetEntity$1_Some(f1, append(messages1_2, messages2_2));
124
+ case 4:
125
+ return SheetEntity$1_Some(f2, append(messages1_3, messages2_3));
126
+ default:
127
+ return SheetEntity$1_NoneOptional(append(messages1_4, messages2_4));
128
+ }
129
+ }
130
+ function CellBuilder__Combine_4BCE267E(this$, wx1, wx2) {
131
+ return RequiredSource$1_$ctor_2B595(wx2);
132
+ }
133
+ function CellBuilder__Combine_Z2CF9C142(this$, wx1, wx2) {
134
+ return RequiredSource$1_$ctor_2B595(wx1);
135
+ }
136
+ function CellBuilder__Combine_583F6A19(this$, wx1, wx2) {
137
+ return OptionalSource$1_$ctor_2B595(wx2);
138
+ }
139
+ function CellBuilder__Combine_168D7AF9(this$, wx1, wx2) {
140
+ return OptionalSource$1_$ctor_2B595(wx1);
141
+ }
142
+ function CellBuilder__Combine_32507AAF(this$, wx1, wx2) {
143
+ return RequiredSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, RequiredSource$1__get_Source(wx1), wx2));
144
+ }
145
+ function CellBuilder__Combine_Z3ABF6771(this$, wx1, wx2) {
146
+ return RequiredSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, wx1, RequiredSource$1__get_Source(wx2)));
147
+ }
148
+ function CellBuilder__Combine_Z2BFC83F8(this$, wx1, wx2) {
149
+ return OptionalSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, OptionalSource$1__get_Source(wx1), wx2));
150
+ }
151
+ function CellBuilder__Combine_245D6C8(this$, wx1, wx2) {
152
+ return OptionalSource$1_$ctor_2B595(CellBuilder__Combine_F07E260(this$, wx1, OptionalSource$1__get_Source(wx2)));
153
+ }
154
+ function CellBuilder__AsCellElement_6F87C2ED(this$, children) {
155
+ let matchResult, messages, v, messages_1, vals, messages_2, messages_3;
156
+ switch (children.tag) {
157
+ case /* NoneRequired */
158
+ 2: {
159
+ matchResult = 2;
160
+ messages_2 = children.fields[0];
161
+ break;
162
+ }
163
+ case /* NoneOptional */
164
+ 1: {
165
+ matchResult = 3;
166
+ messages_3 = children.fields[0];
167
+ break;
168
+ }
169
+ default:
170
+ if (!isEmpty(children.fields[0])) {
171
+ if (isEmpty(tail(children.fields[0]))) {
172
+ matchResult = 0;
173
+ messages = children.fields[1];
174
+ v = head(children.fields[0]);
175
+ } else {
176
+ matchResult = 1;
177
+ messages_1 = children.fields[1];
178
+ vals = children.fields[0];
179
+ }
180
+ } else {
181
+ matchResult = 1;
182
+ messages_1 = children.fields[1];
183
+ vals = children.fields[0];
184
+ }
185
+ }
186
+ switch (matchResult) {
187
+ case 0:
188
+ return SheetEntity$1_Some([v, void 0], messages);
189
+ case 1:
190
+ return SheetEntity$1_Some([ReduceOperation__Reduce_70D1A69E(this$.reducer, vals), void 0], messages_1);
191
+ case 2:
192
+ return SheetEntity$1_NoneRequired(messages_2);
193
+ default:
194
+ return SheetEntity$1_NoneOptional(messages_3);
195
+ }
196
+ }
197
+
198
+ export { CellBuilder, CellBuilder_$ctor, CellBuilder_$reflection, CellBuilder__AsCellElement_6F87C2ED, CellBuilder__Combine_168D7AF9, CellBuilder__Combine_245D6C8, CellBuilder__Combine_32507AAF, CellBuilder__Combine_4BCE267E, CellBuilder__Combine_583F6A19, CellBuilder__Combine_F07E260, CellBuilder__Combine_Z2BFC83F8, CellBuilder__Combine_Z2CF9C142, CellBuilder__Combine_Z3ABF6771, CellBuilder__SignMessages_3F89FFFC, CellBuilder__Yield_36B9E420, CellBuilder_get_Empty, ReduceOperation, ReduceOperation_$reflection, ReduceOperation__Reduce_70D1A69E };
@@ -0,0 +1,46 @@
1
+ import { class_type } from '../../../../node_modules/@fable-org/fable-library-js/Reflection.js';
2
+
3
+ class OptionalSource$1 {
4
+ constructor(s) {
5
+ this.s = s;
6
+ }
7
+ }
8
+ function OptionalSource$1_$reflection(gen0) {
9
+ return class_type("FsSpreadsheet.DSL.Expression.OptionalSource`1", [gen0], OptionalSource$1);
10
+ }
11
+ function OptionalSource$1_$ctor_2B595(s) {
12
+ return new OptionalSource$1(s);
13
+ }
14
+ function OptionalSource$1__get_Source(this$) {
15
+ return this$.s;
16
+ }
17
+ class RequiredSource$1 {
18
+ constructor(s) {
19
+ this.s = s;
20
+ }
21
+ }
22
+ function RequiredSource$1_$reflection(gen0) {
23
+ return class_type("FsSpreadsheet.DSL.Expression.RequiredSource`1", [gen0], RequiredSource$1);
24
+ }
25
+ function RequiredSource$1_$ctor_2B595(s) {
26
+ return new RequiredSource$1(s);
27
+ }
28
+ function RequiredSource$1__get_Source(this$) {
29
+ return this$.s;
30
+ }
31
+ class ExpressionSource$1 {
32
+ constructor(s) {
33
+ this.s = s;
34
+ }
35
+ }
36
+ function ExpressionSource$1_$reflection(gen0) {
37
+ return class_type("FsSpreadsheet.DSL.Expression.ExpressionSource`1", [gen0], ExpressionSource$1);
38
+ }
39
+ function ExpressionSource$1_$ctor_2B595(s) {
40
+ return new ExpressionSource$1(s);
41
+ }
42
+ function ExpressionSource$1__get_Source(this$) {
43
+ return this$.s;
44
+ }
45
+
46
+ export { ExpressionSource$1, ExpressionSource$1_$ctor_2B595, ExpressionSource$1_$reflection, ExpressionSource$1__get_Source, OptionalSource$1, OptionalSource$1_$ctor_2B595, OptionalSource$1_$reflection, OptionalSource$1__get_Source, RequiredSource$1, RequiredSource$1_$ctor_2B595, RequiredSource$1_$reflection, RequiredSource$1__get_Source };