@nfdi4plants/arctrl 2.2.3 → 2.3.0

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 (481) hide show
  1. package/ARC.js +63 -23
  2. package/CWL/CWLTypes.js +3 -3
  3. package/CWL/Decode.js +7 -7
  4. package/CWL/Inputs.js +4 -4
  5. package/CWL/Outputs.js +4 -4
  6. package/CWL/Requirements.js +3 -3
  7. package/CWL/ToolDescription.js +2 -2
  8. package/CWL/WorkflowDescription.js +2 -2
  9. package/CWL/WorkflowSteps.js +3 -3
  10. package/Contract/ArcAssay.js +4 -4
  11. package/Contract/ArcInvestigation.js +2 -2
  12. package/Contract/ArcStudy.js +4 -4
  13. package/Contract/Contract.js +3 -3
  14. package/Contract/Datamap.js +2 -2
  15. package/Contract/Git.js +4 -4
  16. package/Contract/ValidationPackagesConfig.js +2 -2
  17. package/ContractIO/ContractIO.js +204 -0
  18. package/ContractIO/FileSystemHelper.js +130 -0
  19. package/Core/ArcTypes.js +9 -9
  20. package/Core/Comment.js +8 -8
  21. package/Core/CommentList.js +4 -4
  22. package/Core/Conversion.js +11 -11
  23. package/Core/Data.js +5 -5
  24. package/Core/DataContext.js +2 -2
  25. package/Core/DataFile.js +2 -2
  26. package/Core/DataMap.js +3 -3
  27. package/Core/Helper/Collections.js +8 -8
  28. package/Core/Helper/HashCodes.js +5 -5
  29. package/Core/Helper/Identifier.js +1 -1
  30. package/Core/Helper/Regex.js +3 -3
  31. package/Core/Helper/SemVer.js +6 -6
  32. package/Core/OntologyAnnotation.js +7 -7
  33. package/Core/OntologySourceReference.js +3 -3
  34. package/Core/Person.js +9 -9
  35. package/Core/Process/ColumnIndex.js +5 -5
  36. package/Core/Process/Component.js +4 -4
  37. package/Core/Process/Factor.js +5 -5
  38. package/Core/Process/FactorValue.js +5 -5
  39. package/Core/Process/Material.js +5 -5
  40. package/Core/Process/MaterialAttribute.js +3 -3
  41. package/Core/Process/MaterialAttributeValue.js +5 -5
  42. package/Core/Process/MaterialType.js +2 -2
  43. package/Core/Process/Process.js +8 -8
  44. package/Core/Process/ProcessInput.js +5 -5
  45. package/Core/Process/ProcessOutput.js +5 -5
  46. package/Core/Process/ProcessParameterValue.js +5 -5
  47. package/Core/Process/ProcessSequence.js +6 -6
  48. package/Core/Process/Protocol.js +5 -5
  49. package/Core/Process/ProtocolParameter.js +3 -3
  50. package/Core/Process/Sample.js +5 -5
  51. package/Core/Process/Source.js +5 -5
  52. package/Core/Publication.js +8 -8
  53. package/Core/Table/ArcTable.js +13 -13
  54. package/Core/Table/ArcTableAux.js +15 -15
  55. package/Core/Table/ArcTables.js +9 -9
  56. package/Core/Table/CompositeCell.js +3 -3
  57. package/Core/Table/CompositeColumn.js +4 -4
  58. package/Core/Table/CompositeHeader.js +4 -4
  59. package/Core/Template.js +6 -6
  60. package/Core/Templates.js +6 -6
  61. package/Core/Value.js +7 -7
  62. package/CrossAsync.js +34 -0
  63. package/FileSystem/Commit.js +2 -2
  64. package/FileSystem/FileSystem.js +4 -4
  65. package/FileSystem/FileSystemTree.js +8 -8
  66. package/FileSystem/Path.js +2 -2
  67. package/FileSystem.js +102 -0
  68. package/Json/ARC.js +3 -3
  69. package/Json/Assay.js +4 -4
  70. package/Json/Comment.js +5 -5
  71. package/Json/ConverterOptions.js +2 -2
  72. package/Json/Data.js +4 -4
  73. package/Json/DataFile.js +1 -1
  74. package/Json/DataMap/DataContext.js +3 -3
  75. package/Json/DataMap/DataMap.js +1 -1
  76. package/Json/Decode.js +9 -9
  77. package/Json/Encode.js +5 -5
  78. package/Json/IDTable.js +3 -3
  79. package/Json/Investigation.js +5 -5
  80. package/Json/LDObject.js +6 -6
  81. package/Json/OntologyAnnotation.js +5 -5
  82. package/Json/OntologySourceReference.js +4 -4
  83. package/Json/Person.js +5 -5
  84. package/Json/Process/AssayMaterials.js +3 -3
  85. package/Json/Process/Component.js +3 -3
  86. package/Json/Process/Factor.js +3 -3
  87. package/Json/Process/FactorValue.js +3 -3
  88. package/Json/Process/Material.js +4 -4
  89. package/Json/Process/MaterialAttribute.js +3 -3
  90. package/Json/Process/MaterialAttributeValue.js +3 -3
  91. package/Json/Process/MaterialType.js +1 -1
  92. package/Json/Process/Process.js +4 -4
  93. package/Json/Process/ProcessInput.js +1 -1
  94. package/Json/Process/ProcessOutput.js +1 -1
  95. package/Json/Process/ProcessParameterValue.js +3 -3
  96. package/Json/Process/Protocol.js +4 -4
  97. package/Json/Process/ProtocolParameter.js +3 -3
  98. package/Json/Process/Sample.js +5 -5
  99. package/Json/Process/Source.js +4 -4
  100. package/Json/Process/StudyMaterials.js +3 -3
  101. package/Json/Process/Value.js +1 -1
  102. package/Json/PropertyValue.js +3 -3
  103. package/Json/Publication.js +4 -4
  104. package/Json/StringTable.js +4 -4
  105. package/Json/Study.js +5 -5
  106. package/Json/Table/ArcTable.js +10 -10
  107. package/Json/Table/CellTable.js +4 -4
  108. package/Json/Table/CompositeCell.js +3 -3
  109. package/Json/Table/CompositeHeader.js +2 -2
  110. package/Json/Table/IOType.js +1 -1
  111. package/Json/Table/OATable.js +4 -4
  112. package/Json/Table/Templates.js +5 -5
  113. package/Json/context/rocrate/isa_assay_context.js +3 -3
  114. package/Json/context/rocrate/isa_comment_context.js +3 -3
  115. package/Json/context/rocrate/isa_component_context.js +3 -3
  116. package/Json/context/rocrate/isa_data_context.js +3 -3
  117. package/Json/context/rocrate/isa_factor_context.js +3 -3
  118. package/Json/context/rocrate/isa_factor_value_context.js +3 -3
  119. package/Json/context/rocrate/isa_investigation_context.js +3 -3
  120. package/Json/context/rocrate/isa_material_attribute_context.js +3 -3
  121. package/Json/context/rocrate/isa_material_attribute_value_context.js +3 -3
  122. package/Json/context/rocrate/isa_material_context.js +3 -3
  123. package/Json/context/rocrate/isa_ontology_annotation_context.js +3 -3
  124. package/Json/context/rocrate/isa_ontology_source_reference_context.js +3 -3
  125. package/Json/context/rocrate/isa_organization_context.js +3 -3
  126. package/Json/context/rocrate/isa_person_context.js +3 -3
  127. package/Json/context/rocrate/isa_process_context.js +3 -3
  128. package/Json/context/rocrate/isa_process_parameter_value_context.js +3 -3
  129. package/Json/context/rocrate/isa_protocol_context.js +3 -3
  130. package/Json/context/rocrate/isa_protocol_parameter_context.js +3 -3
  131. package/Json/context/rocrate/isa_publication_context.js +3 -3
  132. package/Json/context/rocrate/isa_sample_context.js +3 -3
  133. package/Json/context/rocrate/isa_source_context.js +3 -3
  134. package/Json/context/rocrate/isa_study_context.js +3 -3
  135. package/Json/context/rocrate/property_value_context.js +1 -1
  136. package/Json/context/rocrate/rocrate_context.js +3 -3
  137. package/Json.js +2 -2
  138. package/JsonIO/ARC.js +3 -3
  139. package/JsonIO/Assay.js +2 -2
  140. package/JsonIO/Comment.js +2 -2
  141. package/JsonIO/Data.js +2 -2
  142. package/JsonIO/DataFile.js +2 -2
  143. package/JsonIO/DataMap/DataMap.js +1 -1
  144. package/JsonIO/Investigation.js +2 -2
  145. package/JsonIO/LDObject.js +2 -2
  146. package/JsonIO/OntologyAnnotation.js +2 -2
  147. package/JsonIO/OntologySourceReference.js +2 -2
  148. package/JsonIO/Person.js +2 -2
  149. package/JsonIO/Process/Component.js +2 -2
  150. package/JsonIO/Process/Factor.js +2 -2
  151. package/JsonIO/Process/FactorValue.js +2 -2
  152. package/JsonIO/Process/Material.js +2 -2
  153. package/JsonIO/Process/MaterialAttribute.js +2 -2
  154. package/JsonIO/Process/MaterialAttributeValue.js +2 -2
  155. package/JsonIO/Process/MaterialType.js +2 -2
  156. package/JsonIO/Process/Process.js +2 -2
  157. package/JsonIO/Process/ProcessInput.js +2 -2
  158. package/JsonIO/Process/ProcessOutput.js +2 -2
  159. package/JsonIO/Process/ProcessParameterValue.js +2 -2
  160. package/JsonIO/Process/ProcessSequence.js +4 -4
  161. package/JsonIO/Process/Protocol.js +2 -2
  162. package/JsonIO/Process/ProtocolParameter.js +2 -2
  163. package/JsonIO/Process/Sample.js +2 -2
  164. package/JsonIO/Process/Source.js +2 -2
  165. package/JsonIO/Process/StudyMaterials.js +3 -3
  166. package/JsonIO/Process/Value.js +1 -1
  167. package/JsonIO/Publication.js +2 -2
  168. package/JsonIO/Study.js +2 -2
  169. package/JsonIO/Table/ArcTable.js +5 -5
  170. package/JsonIO/Table/CompositeCell.js +2 -2
  171. package/JsonIO/Table/CompositeHeader.js +2 -2
  172. package/JsonIO/Table/Compression.js +3 -3
  173. package/JsonIO/Table/IOType.js +2 -2
  174. package/JsonIO/Table/Templates.js +3 -3
  175. package/ROCrate/ArcROCrateMetadata.js +3 -3
  176. package/ROCrate/ISAProfile/Assay.js +4 -4
  177. package/ROCrate/ISAProfile/Data.js +4 -4
  178. package/ROCrate/ISAProfile/Dataset.js +2 -2
  179. package/ROCrate/ISAProfile/Investigation.js +4 -4
  180. package/ROCrate/ISAProfile/LabProcess.js +4 -4
  181. package/ROCrate/ISAProfile/LabProtocol.js +4 -4
  182. package/ROCrate/ISAProfile/Person.js +4 -4
  183. package/ROCrate/ISAProfile/PropertyValue.js +4 -4
  184. package/ROCrate/ISAProfile/Sample.js +4 -4
  185. package/ROCrate/ISAProfile/ScholarlyArticle.js +4 -4
  186. package/ROCrate/ISAProfile/Study.js +4 -4
  187. package/ROCrate/LDObject.js +2 -2
  188. package/Spreadsheet/AnnotationTable/ArcTable.js +13 -13
  189. package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
  190. package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
  191. package/Spreadsheet/AnnotationTable/CompositeHeader.js +6 -6
  192. package/Spreadsheet/ArcAssay.js +7 -7
  193. package/Spreadsheet/ArcInvestigation.js +12 -12
  194. package/Spreadsheet/ArcStudy.js +7 -7
  195. package/Spreadsheet/CollectionAux.js +7 -7
  196. package/Spreadsheet/DataMap.js +3 -3
  197. package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
  198. package/Spreadsheet/DataMapTable/DataMapHeader.js +5 -5
  199. package/Spreadsheet/DataMapTable/DataMapTable.js +10 -10
  200. package/Spreadsheet/Metadata/Assays.js +5 -5
  201. package/Spreadsheet/Metadata/Comment.js +2 -2
  202. package/Spreadsheet/Metadata/Contacts.js +5 -5
  203. package/Spreadsheet/Metadata/Conversions.js +5 -5
  204. package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
  205. package/Spreadsheet/Metadata/Factors.js +5 -5
  206. package/Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
  207. package/Spreadsheet/Metadata/OntologySourceReference.js +5 -5
  208. package/Spreadsheet/Metadata/Protocols.js +5 -5
  209. package/Spreadsheet/Metadata/Publication.js +5 -5
  210. package/Spreadsheet/Metadata/SparseTable.js +17 -17
  211. package/Spreadsheet/Metadata/Study.js +8 -8
  212. package/Spreadsheet/Template.js +13 -13
  213. package/Template.Web.js +4 -4
  214. package/ValidationPackages/ValidationPackage.js +5 -5
  215. package/ValidationPackages/ValidationPackagesConfig.js +8 -8
  216. package/WebRequest/WebRequest.Node.js +2 -2
  217. package/WebRequest/WebRequest.js +2 -2
  218. package/Xlsx.js +16 -3
  219. package/Yaml/Encode.js +1 -1
  220. package/Yaml/ValidationPackage.js +4 -4
  221. package/Yaml/ValidationPackagesConfig.js +4 -4
  222. package/fable_modules/DynamicObj.4.0.3/DynObj.fs.js +6 -6
  223. package/fable_modules/DynamicObj.4.0.3/DynamicObj.fs.js +4 -4
  224. package/fable_modules/DynamicObj.4.0.3/FableJS.fs.js +4 -4
  225. package/fable_modules/DynamicObj.4.0.3/HashCodes.fs.js +5 -5
  226. package/fable_modules/DynamicObj.4.0.3/PropertyHelper.fs.js +2 -2
  227. package/fable_modules/DynamicObj.4.0.3/ReflectionUtils.fs.js +1 -1
  228. package/fable_modules/Fable.Exceljs.1.6.0/Cell.fs +32 -0
  229. package/fable_modules/Fable.Exceljs.1.6.0/Column.fs +24 -0
  230. package/fable_modules/Fable.Exceljs.1.6.0/Csv.fs +12 -0
  231. package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs +61 -0
  232. package/fable_modules/Fable.Exceljs.1.6.0/ExcelJs.fs.js +4 -0
  233. package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs +36 -0
  234. package/fable_modules/Fable.Exceljs.1.6.0/Extensions.fs.js +20 -0
  235. package/fable_modules/Fable.Exceljs.1.6.0/Fable.Exceljs.fableproj +53 -0
  236. package/fable_modules/Fable.Exceljs.1.6.0/Row.fs +34 -0
  237. package/fable_modules/Fable.Exceljs.1.6.0/Table.fs +85 -0
  238. package/fable_modules/Fable.Exceljs.1.6.0/Table.fs.js +22 -0
  239. package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs +87 -0
  240. package/fable_modules/Fable.Exceljs.1.6.0/Unions.fs.js +73 -0
  241. package/fable_modules/Fable.Exceljs.1.6.0/Workbook.fs +37 -0
  242. package/fable_modules/Fable.Exceljs.1.6.0/Worksheet.fs +120 -0
  243. package/fable_modules/Fable.Exceljs.1.6.0/Xlsx.fs +18 -0
  244. package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
  245. package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  246. package/fable_modules/Fable.Exceljs.1.6.0/obj/Debug/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  247. package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs +3 -0
  248. package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/net6.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  249. package/fable_modules/Fable.Exceljs.1.6.0/obj/Release/netstandard2.0/Fable.Exceljs.AssemblyInfo.fs +19 -0
  250. package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
  251. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +57 -0
  252. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +104 -0
  253. package/fable_modules/{Fable.Promise.2.2.2 → Fable.Promise.3.2.0}/Fable.Promise.fableproj +4 -3
  254. package/fable_modules/Fable.Promise.3.2.0/Promise.fs +766 -0
  255. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +217 -0
  256. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +31 -0
  257. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +19 -0
  258. package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
  259. package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
  260. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs.js +14 -14
  261. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs.js +6 -6
  262. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs.js +4 -4
  263. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs.js +3 -3
  264. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs.js +2 -2
  265. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs.js +1 -1
  266. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs.js +3 -3
  267. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs.js +3 -3
  268. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs.js +3 -3
  269. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs.js +6 -6
  270. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs.js +4 -4
  271. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs.js +3 -3
  272. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs.js +8 -8
  273. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs.js +3 -3
  274. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs.js +3 -3
  275. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsSpreadsheet.fableproj +5 -5
  276. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs.js +6 -6
  277. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs.js +9 -9
  278. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs.js +2 -2
  279. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs.js +2 -2
  280. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs.js +2 -2
  281. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs.js +1 -1
  282. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs.js +5 -5
  283. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs.js +1 -1
  284. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs.js +3 -3
  285. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs.js +3 -3
  286. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs.js +3 -3
  287. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs.js +3 -3
  288. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs.js +3 -3
  289. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs.js +1 -1
  290. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs.js +8 -8
  291. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs.js +7 -7
  292. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs.js +4 -4
  293. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs.js +1 -1
  294. package/fable_modules/FsSpreadsheet.6.3.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  295. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
  296. package/fable_modules/FsSpreadsheet.6.3.1/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  297. package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +1 -1
  298. package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs +88 -0
  299. package/fable_modules/FsSpreadsheet.Js.6.3.1/Cell.fs.js +79 -0
  300. package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs +69 -0
  301. package/fable_modules/FsSpreadsheet.Js.6.3.1/FsExtensions.fs.js +64 -0
  302. package/fable_modules/FsSpreadsheet.Js.6.3.1/FsSpreadsheet.Js.fableproj +57 -0
  303. package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs +59 -0
  304. package/fable_modules/FsSpreadsheet.Js.6.3.1/Json.fs.js +39 -0
  305. package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs +50 -0
  306. package/fable_modules/FsSpreadsheet.Js.6.3.1/Table.fs.js +54 -0
  307. package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs +27 -0
  308. package/fable_modules/FsSpreadsheet.Js.6.3.1/Workbook.fs.js +34 -0
  309. package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs +41 -0
  310. package/fable_modules/FsSpreadsheet.Js.6.3.1/Worksheet.fs.js +63 -0
  311. package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs +74 -0
  312. package/fable_modules/FsSpreadsheet.Js.6.3.1/Xlsx.fs.js +70 -0
  313. package/fable_modules/Thoth.Json.Core.0.4.0/Decode.fs.js +19 -19
  314. package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +6 -6
  315. package/fable_modules/Thoth.Json.Core.0.4.0/Types.fs.js +2 -2
  316. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Decode.fs.js +1 -1
  317. package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +2 -2
  318. package/fable_modules/YAMLicious.0.0.3/Decode.fs.js +15 -15
  319. package/fable_modules/YAMLicious.0.0.3/Encode.fs.js +6 -6
  320. package/fable_modules/YAMLicious.0.0.3/Library.fs.js +1 -1
  321. package/fable_modules/YAMLicious.0.0.3/Persil.fs.js +3 -3
  322. package/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +6 -6
  323. package/fable_modules/YAMLicious.0.0.3/Reader.fs.js +7 -7
  324. package/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +3 -3
  325. package/fable_modules/YAMLicious.0.0.3/Writer.fs.js +4 -4
  326. package/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +6 -6
  327. package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/CHANGELOG.md +6 -0
  328. package/fable_modules/fable-library-js.4.24.0/CollectionUtil.d.ts +7 -0
  329. package/fable_modules/fable-library-js.4.24.0/CollectionUtil.js +182 -0
  330. package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.d.ts +10 -2
  331. package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/package.json +1 -1
  332. package/fable_modules/project_cracked.json +1 -1
  333. package/package.json +1 -1
  334. package/fable_modules/Fable.Promise.2.2.2/Promise.fs +0 -176
  335. package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +0 -143
  336. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +0 -4
  337. package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +0 -4
  338. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → Fable.Exceljs.1.6.0}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  339. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → Fable.Exceljs.1.6.0}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  340. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCell.fs +0 -0
  341. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Cells/FsCellsCollection.fs +0 -0
  342. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/CellBuilder.fs +0 -0
  343. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/ColumnBuilder.fs +0 -0
  344. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/DSL.fs +0 -0
  345. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Expression.fs +0 -0
  346. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs +0 -0
  347. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Operators.fs.js +0 -0
  348. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/RowBuilder.fs +0 -0
  349. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/SheetBuilder.fs +0 -0
  350. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/TableBuilder.fs +0 -0
  351. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Transform.fs +0 -0
  352. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/Types.fs +0 -0
  353. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/DSL/WorkbookBuilder.fs +0 -0
  354. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsAddress.fs +0 -0
  355. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsColumn.fs +0 -0
  356. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsRow.fs +0 -0
  357. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorkbook.fs +0 -0
  358. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/FsWorksheet.fs +0 -0
  359. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Cell.fs +0 -0
  360. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Column.fs +0 -0
  361. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Row.fs +0 -0
  362. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Table.fs +0 -0
  363. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Value.fs +0 -0
  364. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Workbook.fs +0 -0
  365. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Json/Worksheet.fs +0 -0
  366. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRange.fs +0 -0
  367. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeAddress.fs +0 -0
  368. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeBase.fs +0 -0
  369. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeColumn.fs +0 -0
  370. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Ranges/FsRangeRow.fs +0 -0
  371. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/SheetBuilder.fs +0 -0
  372. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTable.fs +0 -0
  373. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableField.fs +0 -0
  374. /package/fable_modules/{FsSpreadsheet.6.3.0-alpha.4 → FsSpreadsheet.6.3.1}/Tables/FsTableRow.fs +0 -0
  375. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.d.ts +0 -0
  376. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Array.js +0 -0
  377. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.d.ts +0 -0
  378. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Async.js +0 -0
  379. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.d.ts +0 -0
  380. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/AsyncBuilder.js +0 -0
  381. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.d.ts +0 -0
  382. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BigInt.js +0 -0
  383. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.d.ts +0 -0
  384. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/BitConverter.js +0 -0
  385. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.d.ts +0 -0
  386. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Boolean.js +0 -0
  387. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.d.ts +0 -0
  388. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Char.js +0 -0
  389. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.d.ts +0 -0
  390. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Choice.js +0 -0
  391. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.d.ts +0 -0
  392. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/ConditionalWeakTable.js +0 -0
  393. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.d.ts +0 -0
  394. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Date.js +0 -0
  395. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.d.ts +0 -0
  396. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOffset.js +0 -0
  397. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.d.ts +0 -0
  398. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/DateOnly.js +0 -0
  399. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.d.ts +0 -0
  400. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Decimal.js +0 -0
  401. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.d.ts +0 -0
  402. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Double.js +0 -0
  403. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.d.ts +0 -0
  404. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Encoding.js +0 -0
  405. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.d.ts +0 -0
  406. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Event.js +0 -0
  407. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.d.ts +0 -0
  408. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Collections.js +0 -0
  409. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.d.ts +0 -0
  410. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.CompilerServices.js +0 -0
  411. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.d.ts +0 -0
  412. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/FSharp.Core.js +0 -0
  413. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.d.ts +0 -0
  414. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Global.js +0 -0
  415. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.d.ts +0 -0
  416. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Guid.js +0 -0
  417. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.d.ts +0 -0
  418. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Int32.js +0 -0
  419. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.d.ts +0 -0
  420. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/List.js +0 -0
  421. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.d.ts +0 -0
  422. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Long.js +0 -0
  423. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.d.ts +0 -0
  424. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MailboxProcessor.js +0 -0
  425. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.d.ts +0 -0
  426. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Map.js +0 -0
  427. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.d.ts +0 -0
  428. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MapUtil.js +0 -0
  429. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.d.ts +0 -0
  430. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableMap.js +0 -0
  431. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.d.ts +0 -0
  432. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/MutableSet.js +0 -0
  433. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.d.ts +0 -0
  434. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Native.js +0 -0
  435. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.d.ts +0 -0
  436. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Numeric.js +0 -0
  437. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.d.ts +0 -0
  438. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Observable.js +0 -0
  439. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.d.ts +0 -0
  440. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Option.js +0 -0
  441. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/README.md +0 -0
  442. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.d.ts +0 -0
  443. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Random.js +0 -0
  444. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.d.ts +0 -0
  445. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Range.js +0 -0
  446. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.d.ts +0 -0
  447. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Reflection.js +0 -0
  448. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.d.ts +0 -0
  449. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/RegExp.js +0 -0
  450. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.d.ts +0 -0
  451. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Result.js +0 -0
  452. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.d.ts +0 -0
  453. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq.js +0 -0
  454. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.d.ts +0 -0
  455. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Seq2.js +0 -0
  456. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.d.ts +0 -0
  457. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Set.js +0 -0
  458. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/String.js +0 -0
  459. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.d.ts +0 -0
  460. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Collections.Generic.js +0 -0
  461. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.d.ts +0 -0
  462. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/System.Text.js +0 -0
  463. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.d.ts +0 -0
  464. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/SystemException.js +0 -0
  465. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.d.ts +0 -0
  466. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeOnly.js +0 -0
  467. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.d.ts +0 -0
  468. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/TimeSpan.js +0 -0
  469. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.d.ts +0 -0
  470. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Timer.js +0 -0
  471. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.d.ts +0 -0
  472. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Types.js +0 -0
  473. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.d.ts +0 -0
  474. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Unicode.13.0.0.js +0 -0
  475. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.d.ts +0 -0
  476. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Uri.js +0 -0
  477. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.d.ts +0 -0
  478. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/Util.js +0 -0
  479. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/big.d.ts +0 -0
  480. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.d.ts +0 -0
  481. /package/fable_modules/{fable-library-js.4.22.0 → fable-library-js.4.24.0}/lib/big.js +0 -0
@@ -1,8 +1,8 @@
1
1
  import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
2
- import { empty, map } from "../../fable-library-js.4.22.0/Seq.js";
2
+ import { empty, map } from "../../fable-library-js.4.24.0/Seq.js";
3
3
  import { decodeCols, encodeNoNumber, encodeCols } from "./Cell.fs.js";
4
4
  import { seq as seq_1, int, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
5
- import { defaultArg } from "../../fable-library-js.4.22.0/Option.js";
5
+ import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
6
6
 
7
7
  export function encode(col) {
8
8
  let value;
@@ -1,8 +1,8 @@
1
1
  import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
2
- import { empty, map } from "../../fable-library-js.4.22.0/Seq.js";
2
+ import { empty, map } from "../../fable-library-js.4.24.0/Seq.js";
3
3
  import { decodeRows, encodeNoNumber, encodeRows } from "./Cell.fs.js";
4
4
  import { seq as seq_1, int, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
5
- import { defaultArg } from "../../fable-library-js.4.22.0/Option.js";
5
+ import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
6
6
 
7
7
  export function encode(row) {
8
8
  let value;
@@ -1,6 +1,6 @@
1
1
  import { FsRangeAddress_$ctor_Z721C83C5, FsRangeAddress__get_Range } from "../Ranges/FsRangeAddress.fs.js";
2
2
  import { FsRangeBase__get_RangeAddress } from "../Ranges/FsRangeBase.fs.js";
3
- import { map } from "../../fable-library-js.4.22.0/Seq.js";
3
+ import { map } from "../../fable-library-js.4.24.0/Seq.js";
4
4
  import { string, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
5
5
  import { FsTable } from "../Tables/FsTable.fs.js";
6
6
 
@@ -1,11 +1,11 @@
1
- import { toString, tryParse, minValue } from "../../fable-library-js.4.22.0/Date.js";
2
- import { FSharpRef } from "../../fable-library-js.4.22.0/Types.js";
3
- import { FSharpResult$2 } from "../../fable-library-js.4.22.0/Result.js";
1
+ import { toString, tryParse, minValue } from "../../fable-library-js.4.24.0/Date.js";
2
+ import { FSharpRef } from "../../fable-library-js.4.24.0/Types.js";
3
+ import { FSharpResult$2 } from "../../fable-library-js.4.24.0/Result.js";
4
4
  import { ErrorReason$1 } from "../../Thoth.Json.Core.0.4.0/Types.fs.js";
5
- import { item } from "../../fable-library-js.4.22.0/Array.js";
5
+ import { item } from "../../fable-library-js.4.24.0/Array.js";
6
6
  import { string, float, int, bool, map, oneOf } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
7
7
  import { DataType } from "../Cells/FsCell.fs.js";
8
- import { ofArray } from "../../fable-library-js.4.22.0/List.js";
8
+ import { ofArray } from "../../fable-library-js.4.24.0/List.js";
9
9
 
10
10
  export const Decode_datetime = {
11
11
  Decode(helpers, value) {
@@ -1,5 +1,5 @@
1
1
  import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
2
- import { map } from "../../fable-library-js.4.22.0/Seq.js";
2
+ import { map } from "../../fable-library-js.4.24.0/Seq.js";
3
3
  import { decodeColumns as decodeColumns_1, encodeColumns as encodeColumns_1, decodeRows as decodeRows_1, encodeRows as encodeRows_1 } from "./Worksheet.fs.js";
4
4
  import { seq as seq_1, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
5
5
  import { FsWorkbook } from "../FsWorkbook.fs.js";
@@ -1,12 +1,12 @@
1
1
  import { seq } from "../../Thoth.Json.Core.0.4.0/Encode.fs.js";
2
- import { iterate, empty, isEmpty, append, singleton, collect, map, delay, toList } from "../../fable-library-js.4.22.0/Seq.js";
2
+ import { iterate, empty, isEmpty, append, singleton, collect, map, delay, toList } from "../../fable-library-js.4.24.0/Seq.js";
3
3
  import { decode as decode_1, encode, encodeNoNumbers } from "./Row.fs.js";
4
4
  import { FsCellsCollection__TryGetCell_Z37302880 } from "../Cells/FsCellsCollection.fs.js";
5
5
  import { FsCell } from "../Cells/FsCell.fs.js";
6
- import { rangeDouble } from "../../fable-library-js.4.22.0/Range.js";
6
+ import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
7
7
  import { decode, encode as encode_1 } from "./Table.fs.js";
8
8
  import { seq as seq_1, string, object } from "../../Thoth.Json.Core.0.4.0/Decode.fs.js";
9
- import { defaultArg } from "../../fable-library-js.4.22.0/Option.js";
9
+ import { defaultArg } from "../../fable-library-js.4.24.0/Option.js";
10
10
  import { FsWorksheet } from "../FsWorksheet.fs.js";
11
11
  import { decode as decode_2, encode as encode_2, encodeNoNumbers as encodeNoNumbers_1 } from "./Column.fs.js";
12
12
 
@@ -1,9 +1,9 @@
1
1
  import { FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
2
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
3
- import { int32ToString, defaultOf } from "../../fable-library-js.4.22.0/Util.js";
2
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
3
+ import { int32ToString, defaultOf } from "../../fable-library-js.4.24.0/Util.js";
4
4
  import { FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
5
5
  import { FsRangeAddress__get_LastAddress, FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "./FsRangeAddress.fs.js";
6
- import { printf, toText } from "../../fable-library-js.4.22.0/String.js";
6
+ import { printf, toText } from "../../fable-library-js.4.24.0/String.js";
7
7
  import { FsRangeRow_$ctor_6A2513BC } from "./FsRangeRow.fs.js";
8
8
 
9
9
  export class FsRange extends FsRangeBase {
@@ -1,6 +1,6 @@
1
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
2
- import { toConsole, printf, toText } from "../../fable-library-js.4.22.0/String.js";
3
- import { item } from "../../fable-library-js.4.22.0/Array.js";
1
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
2
+ import { toConsole, printf, toText } from "../../fable-library-js.4.24.0/String.js";
3
+ import { item } from "../../fable-library-js.4.24.0/Array.js";
4
4
  import { FsAddress__get_Address, FsAddress_$ctor_Z37302880, FsAddress__set_ColumnNumber_Z524259A4, FsAddress__get_ColumnNumber, FsAddress__set_RowNumber_Z524259A4, FsAddress__get_RowNumber, FsAddress_$ctor_Z721C83C5, CellReference_moveHorizontal, CellReference_toIndices } from "../FsAddress.fs.js";
5
5
 
6
6
  export class FsRangeAddress {
@@ -1,9 +1,9 @@
1
- import { equals, defaultOf } from "../../fable-library-js.4.22.0/Util.js";
2
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
1
+ import { equals, defaultOf } from "../../fable-library-js.4.24.0/Util.js";
2
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
3
3
  import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress__Extend_6D30B323 } from "./FsRangeAddress.fs.js";
4
4
  import { FsAddress__get_FixedColumn, FsAddress__get_FixedRow, FsAddress_$ctor_Z4C746FC0, FsAddress__get_ColumnNumber, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
5
5
  import { FsCellsCollection__GetCells_7E77A4A0, FsCellsCollection__Add_2E78CE33, FsCellsCollection__TryGetCell_Z37302880, FsCellsCollection__get_MaxColumnNumber, FsCellsCollection__get_MaxRowNumber } from "../Cells/FsCellsCollection.fs.js";
6
- import { printf, toFail } from "../../fable-library-js.4.22.0/String.js";
6
+ import { printf, toFail } from "../../fable-library-js.4.24.0/String.js";
7
7
  import { FsCell } from "../Cells/FsCell.fs.js";
8
8
 
9
9
  export class FsRangeBase {
@@ -1,9 +1,9 @@
1
1
  import { FsRangeBase__Cells_Z2740B3CA, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
2
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
2
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
3
3
  import { FsRangeAddress__Copy, FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./FsRangeAddress.fs.js";
4
4
  import { FsAddress__get_RowNumber, FsAddress__set_ColumnNumber_Z524259A4, FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
5
- import { map, toList } from "../../fable-library-js.4.22.0/Seq.js";
6
- import { rangeDouble } from "../../fable-library-js.4.22.0/Range.js";
5
+ import { map, toList } from "../../fable-library-js.4.24.0/Seq.js";
6
+ import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
7
7
 
8
8
  export class FsRangeColumn extends FsRangeBase {
9
9
  constructor(rangeAddress) {
@@ -1,5 +1,5 @@
1
1
  import { FsRangeBase__Cells_Z2740B3CA, FsRangeBase__Cell_Z3407A44B, FsRangeBase__get_RangeAddress, FsRangeBase_$reflection, FsRangeBase } from "./FsRangeBase.fs.js";
2
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
2
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
3
3
  import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "./FsRangeAddress.fs.js";
4
4
  import { FsAddress__get_ColumnNumber, FsAddress__set_RowNumber_Z524259A4, FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
5
5
 
@@ -1,15 +1,15 @@
1
- import { equals, disposeSafe, getEnumerator, curry2, defaultOf } from "../fable-library-js.4.22.0/Util.js";
2
- import { addToDict, tryGetValue } from "../fable-library-js.4.22.0/MapUtil.js";
3
- import { Record, FSharpRef } from "../fable-library-js.4.22.0/Types.js";
4
- import { toNullable, some } from "../fable-library-js.4.22.0/Option.js";
1
+ import { equals, disposeSafe, getEnumerator, curry2, defaultOf } from "../fable-library-js.4.24.0/Util.js";
2
+ import { addToDict, tryGetValue } from "../fable-library-js.4.24.0/MapUtil.js";
3
+ import { Record, FSharpRef } from "../fable-library-js.4.24.0/Types.js";
4
+ import { toNullable, some } from "../fable-library-js.4.24.0/Option.js";
5
5
  import { FsCell, FsCell_$reflection } from "./Cells/FsCell.fs.js";
6
- import { record_type, string_type, bool_type, option_type, float64_type, list_type, lambda_type } from "../fable-library-js.4.22.0/Reflection.js";
7
- import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library-js.4.22.0/List.js";
8
- import { newGuid } from "../fable-library-js.4.22.0/Guid.js";
6
+ import { record_type, string_type, bool_type, option_type, float64_type, list_type, lambda_type } from "../fable-library-js.4.24.0/Reflection.js";
7
+ import { iterate, isEmpty, map as map_1, concat, singleton, append, empty as empty_1 } from "../fable-library-js.4.24.0/List.js";
8
+ import { newGuid } from "../fable-library-js.4.24.0/Guid.js";
9
9
  import { FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "./Ranges/FsRangeAddress.fs.js";
10
10
  import { FsRangeBase__get_RangeAddress } from "./Ranges/FsRangeBase.fs.js";
11
11
  import { FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "./FsAddress.fs.js";
12
- import { find, indexed } from "../fable-library-js.4.22.0/Seq.js";
12
+ import { find, indexed } from "../fable-library-js.4.24.0/Seq.js";
13
13
  import { FsRangeColumn__Cell_Z4232C216 } from "./Ranges/FsRangeColumn.fs.js";
14
14
  import { FsTableField__get_Column } from "./Tables/FsTableField.fs.js";
15
15
  import { FsWorksheet } from "./FsWorksheet.fs.js";
@@ -1,20 +1,20 @@
1
- import { disposeSafe, getEnumerator, comparePrimitives, int32ToString, defaultOf, equals } from "../../fable-library-js.4.22.0/Util.js";
1
+ import { disposeSafe, getEnumerator, comparePrimitives, int32ToString, defaultOf, equals } from "../../fable-library-js.4.24.0/Util.js";
2
2
  import { FsRangeBase_$reflection, FsRangeBase, FsRangeBase__set_RangeAddress_6A2513BC, FsRangeBase__ColumnCount, FsRangeBase__get_RangeAddress } from "../Ranges/FsRangeBase.fs.js";
3
- import { exists, toList, choose, tryPick, tryFind, find, max, length, iterate, iterateIndexed, map, reduce, singleton, collect, delay, initialize } from "../../fable-library-js.4.22.0/Seq.js";
3
+ import { exists, toList, choose, tryPick, tryFind, find, max, length, iterate, iterateIndexed, map, reduce, singleton, collect, delay, initialize } from "../../fable-library-js.4.24.0/Seq.js";
4
4
  import { FsRange_$ctor_6A2513BC, FsRange__FirstRow } from "../Ranges/FsRange.fs.js";
5
5
  import { FsAddress__get_ColumnNumber, FsAddress_$ctor_Z37302880, FsAddress__get_RowNumber } from "../FsAddress.fs.js";
6
6
  import { FsRangeAddress__Copy, FsRangeAddress__Union_6A2513BC, FsRangeAddress__get_LastAddress, FsRangeAddress_$ctor_7E77A4A0, FsRangeAddress__get_FirstAddress } from "../Ranges/FsRangeAddress.fs.js";
7
7
  import { FsRow } from "../FsRow.fs.js";
8
8
  import { FsColumn } from "../FsColumn.fs.js";
9
- import { rangeDouble } from "../../fable-library-js.4.22.0/Range.js";
9
+ import { rangeDouble } from "../../fable-library-js.4.24.0/Range.js";
10
10
  import { FsTableField__set_Index_Z524259A4, FsTableField_$ctor_Z18115A39, FsTableField__HeaderCell_10EBE01C, FsTableField__get_Index, FsTableField_$ctor_726EFFB, FsTableField__get_Name, FsTableField_$ctor_6547009B, FsTableField__get_Column } from "./FsTableField.fs.js";
11
- import { getItemFromDict, addToDict, addToSet } from "../../fable-library-js.4.22.0/MapUtil.js";
11
+ import { getItemFromDict, addToDict, addToSet } from "../../fable-library-js.4.24.0/MapUtil.js";
12
12
  import { FsRangeColumn__get_Index, FsRangeColumn_$ctor_6A2513BC, FsRangeColumn_$ctor_Z524259A4 } from "../Ranges/FsRangeColumn.fs.js";
13
13
  import { FsCellsCollection__TryGetCell_Z37302880, FsCellsCollection__GetCellsInColumn_Z524259A4, Dictionary_tryGet } from "../Cells/FsCellsCollection.fs.js";
14
- import { replace } from "../../fable-library-js.4.22.0/String.js";
15
- import { defaultArg, value as value_2 } from "../../fable-library-js.4.22.0/Option.js";
14
+ import { replace } from "../../fable-library-js.4.24.0/String.js";
15
+ import { defaultArg, value as value_2 } from "../../fable-library-js.4.24.0/Option.js";
16
16
  import { DataType } from "../Cells/FsCell.fs.js";
17
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
17
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
18
18
 
19
19
  export class FsTable extends FsRangeBase {
20
20
  constructor(name, rangeAddress, showTotalsRow, showHeaderRow) {
@@ -1,11 +1,11 @@
1
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
2
- import { equals, defaultOf } from "../../fable-library-js.4.22.0/Util.js";
1
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
2
+ import { equals, defaultOf } from "../../fable-library-js.4.24.0/Util.js";
3
3
  import { FsRangeColumn__Cells_Z2740B3CA, FsRangeColumn__Copy, FsRangeColumn__FirstCell_Z2740B3CA, FsRangeColumn_$ctor_6A2513BC } from "../Ranges/FsRangeColumn.fs.js";
4
4
  import { FsRangeAddress__get_LastAddress, FsRangeAddress__get_FirstAddress, FsRangeAddress_$ctor_7E77A4A0 } from "../Ranges/FsRangeAddress.fs.js";
5
5
  import { FsAddress__get_RowNumber, FsAddress_$ctor_Z37302880 } from "../FsAddress.fs.js";
6
6
  import { FsRangeBase__get_RangeAddress } from "../Ranges/FsRangeBase.fs.js";
7
- import { printf, toFail } from "../../fable-library-js.4.22.0/String.js";
8
- import { skip } from "../../fable-library-js.4.22.0/Seq.js";
7
+ import { printf, toFail } from "../../fable-library-js.4.24.0/String.js";
8
+ import { skip } from "../../fable-library-js.4.24.0/Seq.js";
9
9
 
10
10
  export class FsTableField {
11
11
  constructor(name, index, column, totalsRowLabel, totalsRowFunction) {
@@ -1,5 +1,5 @@
1
1
  import { FsRangeRow_$reflection, FsRangeRow } from "../Ranges/FsRangeRow.fs.js";
2
- import { class_type } from "../../fable-library-js.4.22.0/Reflection.js";
2
+ import { class_type } from "../../fable-library-js.4.24.0/Reflection.js";
3
3
 
4
4
  export class FsTableRow extends FsRangeRow {
5
5
  constructor(rangeAddress) {
@@ -0,0 +1,3 @@
1
+ namespace Microsoft.BuildSettings
2
+ [<System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName=".NET Standard 2.0")>]
3
+ do ()
@@ -11,7 +11,7 @@ open System.Reflection
11
11
  [<assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")>]
12
12
  [<assembly: System.Reflection.AssemblyDescriptionAttribute("Fable compliant Spreadsheet creation and manipulation in FSharp")>]
13
13
  [<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
14
- [<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")>]
14
+ [<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b8c476a81e3988e280c5e313c40b881625f57d24")>]
15
15
  [<assembly: System.Reflection.AssemblyProductAttribute("FsSpreadsheet")>]
16
16
  [<assembly: System.Reflection.AssemblyTitleAttribute("FsSpreadsheet")>]
17
17
  [<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
@@ -0,0 +1,3 @@
1
+ namespace Microsoft.BuildSettings
2
+ [<System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName=".NET Standard 2.0")>]
3
+ do ()
@@ -11,7 +11,7 @@ open System.Reflection
11
11
  [<assembly: System.Reflection.AssemblyConfigurationAttribute("Release")>]
12
12
  [<assembly: System.Reflection.AssemblyDescriptionAttribute("Fable compliant Spreadsheet creation and manipulation in FSharp")>]
13
13
  [<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
14
- [<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")>]
14
+ [<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b8c476a81e3988e280c5e313c40b881625f57d24")>]
15
15
  [<assembly: System.Reflection.AssemblyProductAttribute("FsSpreadsheet")>]
16
16
  [<assembly: System.Reflection.AssemblyTitleAttribute("FsSpreadsheet")>]
17
17
  [<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
@@ -0,0 +1,88 @@
1
+ namespace FsSpreadsheet.Js
2
+
3
+
4
+ module JsCell =
5
+
6
+ open Fable.Core
7
+ open Fable.Core.JsInterop
8
+ open FsSpreadsheet
9
+ open Fable.ExcelJs
10
+
11
+ [<Emit("console.log($0)")>]
12
+ let private log (obj:obj) = jsNative
13
+
14
+ let writeFromFsCell (fsCell: FsCell) =
15
+ match fsCell.DataType with
16
+ | Boolean ->
17
+ fsCell.ValueAsBool() |> box |> Some
18
+ | Number ->
19
+ fsCell.ValueAsFloat() |> box |> Some
20
+ | Date ->
21
+ /// Here it will actually show the correct DateTime. But when writing, exceljs will apply local offset.
22
+ let dt = fsCell.ValueAsDateTime() |> System.DateTimeOffset
23
+ /// Therefore we add offset and it should work.
24
+ let dt = dt + dt.Offset |> box |> Some
25
+ dt
26
+ | String ->
27
+ fsCell.Value |> Some
28
+ | anyElse ->
29
+ //let msg = sprintf "ValueType '%A' is not fully implemented in FsSpreadsheet and is handled as string input." anyElse
30
+ //#if FABLE_COMPILER_JAVASCRIPT
31
+ //log msg
32
+ //#else
33
+ //printfn "%s" msg
34
+ //#endif
35
+ fsCell.Value |> box |> Some
36
+
37
+ /// <summary>
38
+ /// `worksheetName`, `rowIndex` and `columnIndex` are only used for debugging.
39
+ /// </summary>
40
+ /// <param name="worksheetName"></param>
41
+ /// <param name="rowIndex"></param>
42
+ /// <param name="columnIndex"></param>
43
+ /// <param name="jsCell"></param>
44
+ let readToFsCell worksheetName rowIndex columnIndex (jsCell: Cell) =
45
+ let t = enum<Unions.ValueType>(jsCell.``type``)
46
+ let fsadress = FsAddress(jsCell.address)
47
+ let createFscell = fun dt v -> FsCell(v,dt,address = fsadress)
48
+ let vTemp = string jsCell.value.Value
49
+ let fscell =
50
+ match t with
51
+ | ValueType.Boolean ->
52
+ let b = System.Boolean.Parse vTemp
53
+ createFscell DataType.Boolean b
54
+ | ValueType.Number -> float vTemp |> createFscell DataType.Number
55
+ | ValueType.Date ->
56
+ let dt = System.DateTime.Parse(vTemp).ToUniversalTime()
57
+ /// Without this step universal time get changed to local time? Exceljs tests will hit this.
58
+ ///
59
+ /// Expected item (from test object): C2 : Sat Oct 14 2023 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) | Date
60
+ ///
61
+ /// Actual item (created here): C2 : Sat Oct 14 2023 02:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) | Date
62
+ ///
63
+ /// But logging hour minute showed that the values were given correctly and needed to be reinitialized.
64
+ let dt = System.DateTime(dt.Year,dt.Month,dt.Day,dt.Hour,dt.Minute, dt.Second)
65
+ dt |> createFscell DataType.Date
66
+ | ValueType.String -> vTemp |> createFscell DataType.String
67
+ | ValueType.Formula ->
68
+ match jsCell.formula with
69
+ | "TRUE()" ->
70
+ let b = true
71
+ createFscell DataType.Boolean b
72
+ | "FALSE()" ->
73
+ let b = false
74
+ createFscell DataType.Boolean b
75
+ | anyElse ->
76
+ let msg = sprintf "ValueType 'Format' (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)" anyElse worksheetName rowIndex columnIndex
77
+ log msg
78
+ anyElse |> createFscell DataType.String
79
+ | ValueType.Hyperlink ->
80
+ //log (c.value.Value?text)
81
+ jsCell.value.Value?hyperlink |> createFscell DataType.String
82
+ | anyElse ->
83
+ let msg = sprintf "ValueType `%A` (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)" anyElse vTemp worksheetName rowIndex columnIndex
84
+ log msg
85
+ vTemp |> createFscell DataType.String
86
+ fscell
87
+
88
+
@@ -0,0 +1,79 @@
1
+ import { value as value_4, some } from "../fable-library-js.4.24.0/Option.js";
2
+ import { offset, op_Addition, fromDate } from "../fable-library-js.4.24.0/DateOffset.js";
3
+ import { FsAddress_$ctor_Z721C83C5 } from "../FsSpreadsheet.6.3.1/FsAddress.fs.js";
4
+ import { DataType, FsCell } from "../FsSpreadsheet.6.3.1/Cells/FsCell.fs.js";
5
+ import { toString } from "../fable-library-js.4.24.0/Types.js";
6
+ import { parse } from "../fable-library-js.4.24.0/Double.js";
7
+ import { second, minute, hour, day, month, year, create, toUniversalTime, parse as parse_1 } from "../fable-library-js.4.24.0/Date.js";
8
+ import { printf, toText } from "../fable-library-js.4.24.0/String.js";
9
+ import { parse as parse_2 } from "../fable-library-js.4.24.0/Boolean.js";
10
+
11
+ export function writeFromFsCell(fsCell) {
12
+ const matchValue = fsCell.DataType;
13
+ switch (matchValue.tag) {
14
+ case 1:
15
+ return some(fsCell.ValueAsBool());
16
+ case 2:
17
+ return some(fsCell.ValueAsFloat());
18
+ case 3: {
19
+ const dt = fromDate(fsCell.ValueAsDateTime());
20
+ return some(op_Addition(dt, offset(dt)));
21
+ }
22
+ case 0:
23
+ return some(fsCell.Value);
24
+ default:
25
+ return some(fsCell.Value);
26
+ }
27
+ }
28
+
29
+ /**
30
+ * `worksheetName`, `rowIndex` and `columnIndex` are only used for debugging.
31
+ */
32
+ export function readToFsCell(worksheetName, rowIndex, columnIndex, jsCell) {
33
+ const t = (jsCell.type) | 0;
34
+ const fsadress = FsAddress_$ctor_Z721C83C5(jsCell.address);
35
+ const createFscell = (dt, v) => (new FsCell(v, dt, fsadress));
36
+ const vTemp = toString(value_4(jsCell.value));
37
+ switch (t) {
38
+ case 2: {
39
+ const arg_3 = parse(vTemp);
40
+ return createFscell(new DataType(2, []), arg_3);
41
+ }
42
+ case 3:
43
+ return createFscell(new DataType(0, []), vTemp);
44
+ case 4: {
45
+ let dt_1;
46
+ let copyOfStruct = parse_1(vTemp);
47
+ dt_1 = toUniversalTime(copyOfStruct);
48
+ const dt_2 = create(year(dt_1), month(dt_1), day(dt_1), hour(dt_1), minute(dt_1), second(dt_1));
49
+ return createFscell(new DataType(3, []), dt_2);
50
+ }
51
+ case 5:
52
+ return createFscell(new DataType(0, []), value_4(jsCell.value).hyperlink);
53
+ case 6: {
54
+ const matchValue = jsCell.formula;
55
+ switch (matchValue) {
56
+ case "TRUE()":
57
+ return createFscell(new DataType(1, []), true);
58
+ case "FALSE()":
59
+ return createFscell(new DataType(1, []), false);
60
+ default: {
61
+ const anyElse = matchValue;
62
+ const msg = toText(printf("ValueType \'Format\' (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)"))(anyElse)(worksheetName)(rowIndex)(columnIndex);
63
+ console.log(msg);
64
+ return createFscell(new DataType(0, []), anyElse);
65
+ }
66
+ }
67
+ }
68
+ case 9: {
69
+ const arg_1 = parse_2(vTemp);
70
+ return createFscell(new DataType(1, []), arg_1);
71
+ }
72
+ default: {
73
+ const msg_1 = toText(printf("ValueType `%A` (%s) is not fully implemented in FsSpreadsheet and is handled as string input. In %s: (%i,%i)"))(t)(vTemp)(worksheetName)(rowIndex)(columnIndex);
74
+ console.log(msg_1);
75
+ return createFscell(new DataType(0, []), vTemp);
76
+ }
77
+ }
78
+ }
79
+
@@ -0,0 +1,69 @@
1
+ [<AutoOpenAttribute>]
2
+ module FsSpreadsheet.Js.FsSpreadsheet
3
+
4
+ open FsSpreadsheet
5
+ open FsSpreadsheet.Js
6
+ open Fable.Core
7
+ open Fable.Core.JS
8
+ open Fable.Core.JsInterop
9
+
10
+ // This is mainly used for fsharp based access in a fable environment.
11
+ // If you want to use these bindings from js, you should use the ones in `Xlsx.fs`
12
+ type FsWorkbook with
13
+
14
+ static member fromXlsxFile(path:string) : Promise<FsWorkbook> =
15
+ Xlsx.fromXlsxFile(path)
16
+
17
+ static member fromXlsxStream(stream:System.IO.Stream) : Promise<FsWorkbook> =
18
+ Xlsx.fromXlsxStream stream
19
+
20
+ static member fromXlsxBytes(bytes: byte []) : Promise<FsWorkbook> =
21
+ Xlsx.fromXlsxBytes bytes
22
+
23
+ static member toXlsxFile(path: string) (wb:FsWorkbook) : Promise<unit> =
24
+ Xlsx.toXlsxFile path wb
25
+
26
+ static member toXlsxStream(stream: System.IO.Stream) (wb:FsWorkbook) : Promise<unit> =
27
+ Xlsx.toXlsxStream stream wb
28
+
29
+ static member toXlsxBytes(wb:FsWorkbook) : Promise<byte []> =
30
+ Xlsx.toXlsxBytes wb
31
+
32
+ member this.ToXlsxFile(path: string) : Promise<unit> =
33
+ FsWorkbook.toXlsxFile path this
34
+
35
+ member this.ToXlsxStream(stream: System.IO.Stream) : Promise<unit> =
36
+ FsWorkbook.toXlsxStream stream this
37
+
38
+ member this.ToXlsxBytes() : Promise<byte []> =
39
+ FsWorkbook.toXlsxBytes this
40
+
41
+
42
+
43
+ static member fromRowsJsonString (json:string) : FsWorkbook =
44
+ Json.fromRowsJsonString json
45
+
46
+ static member toRowsJsonString (wb:FsWorkbook,?spaces, ?noNumbering) : string =
47
+ Json.toRowsJsonString(wb, ?spaces = spaces, ?noNumbering = noNumbering)
48
+
49
+ //static member fromJsonFile (path:string) : Promise<FsWorkbook> =
50
+ // Json.fromJsonFile path
51
+
52
+ //static member toJsonFile (path:string) (wb:FsWorkbook) : Promise<unit> =
53
+ // Json.toJsonFile path wb
54
+
55
+ //member this.ToJsonFile(path: string) : Promise<unit> =
56
+ // FsWorkbook.toJsonFile path this
57
+
58
+ member this.ToRowsJsonString(?spaces, ?noNumbering) : string =
59
+ FsWorkbook.toRowsJsonString(this, ?spaces = spaces, ?noNumbering = noNumbering)
60
+
61
+
62
+ static member fromColumnsJsonString (json:string) : FsWorkbook =
63
+ Json.fromColumnsJsonString json
64
+
65
+ static member toColumnsJsonString (wb:FsWorkbook,?spaces, ?noNumbering) : string =
66
+ Json.toColumnsJsonString(wb, ?spaces = spaces, ?noNumbering = noNumbering)
67
+
68
+ member this.ToColumnsJsonString(?spaces, ?noNumbering) : string =
69
+ FsWorkbook.toColumnsJsonString(this, ?spaces = spaces, ?noNumbering = noNumbering)
@@ -0,0 +1,64 @@
1
+ import { Xlsx } from "./Xlsx.fs.js";
2
+ import { Json } from "./Json.fs.js";
3
+ import { unwrap } from "../fable-library-js.4.24.0/Option.js";
4
+
5
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromXlsxFile_Static_Z721C83C5(path) {
6
+ return Xlsx.fromXlsxFile(path);
7
+ }
8
+
9
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromXlsxStream_Static_4D976C1A(stream) {
10
+ return Xlsx.fromXlsxStream(stream);
11
+ }
12
+
13
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromXlsxBytes_Static_Z3F6BC7B1(bytes) {
14
+ return Xlsx.fromXlsxBytes(bytes);
15
+ }
16
+
17
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, wb) {
18
+ return Xlsx.toXlsxFile(path, wb);
19
+ }
20
+
21
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxStream_Static(stream, wb) {
22
+ return Xlsx.toXlsxStream(stream, wb);
23
+ }
24
+
25
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxBytes_Static_32154C9D(wb) {
26
+ return Xlsx.toXlsxBytes(wb);
27
+ }
28
+
29
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToXlsxFile_Z721C83C5(this$, path) {
30
+ return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxFile_Static(path, this$);
31
+ }
32
+
33
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToXlsxStream_4D976C1A(this$, stream) {
34
+ return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxStream_Static(stream, this$);
35
+ }
36
+
37
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToXlsxBytes(this$) {
38
+ return FsSpreadsheet_FsWorkbook__FsWorkbook_toXlsxBytes_Static_32154C9D(this$);
39
+ }
40
+
41
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromRowsJsonString_Static_Z721C83C5(json) {
42
+ return Json.fromRowsJsonString(json);
43
+ }
44
+
45
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_toRowsJsonString_Static_Z2B6E0EF5(wb, spaces, noNumbering) {
46
+ return Json.toRowsJsonString(wb, unwrap(spaces), unwrap(noNumbering));
47
+ }
48
+
49
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToRowsJsonString_Z3B036AA(this$, spaces, noNumbering) {
50
+ return FsSpreadsheet_FsWorkbook__FsWorkbook_toRowsJsonString_Static_Z2B6E0EF5(this$, unwrap(spaces), unwrap(noNumbering));
51
+ }
52
+
53
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_fromColumnsJsonString_Static_Z721C83C5(json) {
54
+ return Json.fromColumnsJsonString(json);
55
+ }
56
+
57
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_toColumnsJsonString_Static_Z2B6E0EF5(wb, spaces, noNumbering) {
58
+ return Json.toColumnsJsonString(wb, unwrap(spaces), unwrap(noNumbering));
59
+ }
60
+
61
+ export function FsSpreadsheet_FsWorkbook__FsWorkbook_ToColumnsJsonString_Z3B036AA(this$, spaces, noNumbering) {
62
+ return FsSpreadsheet_FsWorkbook__FsWorkbook_toColumnsJsonString_Static_Z2B6E0EF5(this$, unwrap(spaces), unwrap(noNumbering));
63
+ }
64
+
@@ -0,0 +1,57 @@
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+
3
+ <PropertyGroup>
4
+ <Authors>Kevin Frey, Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Timo Mühlhaus</Authors>
5
+ <Description>Excel IO Extensions for the FsSpreadsheet Datamodel in js environments using exceljs.</Description>
6
+ <Summary>Spreadsheet creation and manipulation in FSharp</Summary>
7
+ <PackageLicenseExpression>MIT</PackageLicenseExpression>
8
+ <PackageIcon>logo.png</PackageIcon>
9
+ <PackageTags>F# FSharp spreadsheet Excel xlsx datascience fable fable-library fable-javascript</PackageTags>
10
+ <RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
11
+ <RepositoryType>git</RepositoryType>
12
+ </PropertyGroup>
13
+
14
+ <PropertyGroup>
15
+ <TargetFramework>netstandard2.0</TargetFramework>
16
+ <GenerateDocumentationFile>true</GenerateDocumentationFile>
17
+ </PropertyGroup>
18
+
19
+ <ItemGroup>
20
+ <None Include="..\..\docs\img\logo.png" Link="logo.png">
21
+ <PackagePath>\</PackagePath>
22
+ <Pack>true</Pack>
23
+ </None>
24
+ <Compile Include="Cell.fs" />
25
+ <Compile Include="Table.fs" />
26
+ <Compile Include="Worksheet.fs" />
27
+ <Compile Include="Workbook.fs" />
28
+ <Compile Include="Xlsx.fs" />
29
+ <Compile Include="Json.fs" />
30
+ <Compile Include="FsExtensions.fs" />
31
+ </ItemGroup>
32
+
33
+ <ItemGroup>
34
+ <PackageReference Include="Fable.Exceljs" Version="1.6.0" />
35
+ <PackageReference Include="Fable.Promise" Version="3.2.0" />
36
+ <PackageReference Include="Thoth.Json.JavaScript" Version="0.1.0" />
37
+ </ItemGroup>
38
+
39
+ <!-- Add source files to "fable" folder in Nuget package -->
40
+ <ItemGroup>
41
+ <!-- Include all files that are compiled with this project -->
42
+ <Content Include="@(Compile)" Pack="true" PackagePath="fable/%(RelativeDir)%(Filename)%(Extension)" />
43
+ <!-- Include the project file itself as well -->
44
+ <Content Include="$(MSBuildThisFileFullPath)" Pack="true" PackagePath="fable/" />
45
+ </ItemGroup>
46
+
47
+ <ItemGroup>
48
+ <ProjectReference Include="..\FsSpreadsheet\FsSpreadsheet.fsproj" />
49
+ </ItemGroup>
50
+
51
+ <PropertyGroup>
52
+ <NpmDependencies>
53
+ <NpmPackage Name="@nfdi4plants/exceljs" Version="gte 0.1.0 lt 1.0.0" ResolutionStrategy="Max" />
54
+ </NpmDependencies>
55
+ </PropertyGroup>
56
+
57
+ </Project>