nmrium 0.65.1 → 0.65.3-pre.1753283376

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 (318) hide show
  1. package/README.md +1 -19
  2. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  3. package/lib/component/1d/FloatPublicationString.js +1 -1
  4. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  5. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  6. package/lib/component/1d/peaks/usePeakShapesPath.js +1 -1
  7. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  8. package/lib/component/1d/utilities/scale.d.ts +1 -1
  9. package/lib/component/1d/utilities/scale.d.ts.map +1 -1
  10. package/lib/component/1d/utilities/scale.js +1 -1
  11. package/lib/component/1d/utilities/scale.js.map +1 -1
  12. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  13. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.d.ts.map +1 -1
  14. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.js.map +1 -1
  15. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  16. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  17. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  18. package/lib/component/2d/FooterBanner.js +1 -1
  19. package/lib/component/2d/FooterBanner.js.map +1 -1
  20. package/lib/component/2d/tools/XYLabelPointer.js +1 -1
  21. package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
  22. package/lib/component/2d/useTracesSpectra.d.ts +1 -1
  23. package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
  24. package/lib/component/2d/utilities/scale.d.ts +1 -1
  25. package/lib/component/2d/utilities/scale.d.ts.map +1 -1
  26. package/lib/component/2d/utilities/scale.js +1 -1
  27. package/lib/component/2d/utilities/scale.js.map +1 -1
  28. package/lib/component/EventsTrackers/MouseTracker.js +1 -1
  29. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  30. package/lib/component/elements/ContextMenuBluePrint.js +1 -1
  31. package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
  32. package/lib/component/elements/D3Axis.d.ts.map +1 -1
  33. package/lib/component/elements/D3Axis.js.map +1 -1
  34. package/lib/component/elements/DraggableDialog.js +1 -1
  35. package/lib/component/elements/DraggableDialog.js.map +1 -1
  36. package/lib/component/elements/Footer.d.ts +1 -1
  37. package/lib/component/elements/Footer.d.ts.map +1 -1
  38. package/lib/component/elements/Footer.js +1 -1
  39. package/lib/component/elements/Footer.js.map +1 -1
  40. package/lib/component/elements/Input.d.ts.map +1 -1
  41. package/lib/component/elements/NextPrev.js +1 -1
  42. package/lib/component/elements/SVGGroup.d.ts +1 -1
  43. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  44. package/lib/component/elements/Sections.d.ts +3 -1
  45. package/lib/component/elements/Sections.d.ts.map +1 -1
  46. package/lib/component/elements/Sections.js +135 -25
  47. package/lib/component/elements/Sections.js.map +1 -1
  48. package/lib/component/elements/StyledDialogBody.d.ts +1 -1
  49. package/lib/component/elements/TabsProvider.js +1 -1
  50. package/lib/component/elements/TabsProvider.js.map +1 -1
  51. package/lib/component/elements/ToolbarPopoverItem.d.ts +1 -1
  52. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  53. package/lib/component/elements/export/units.d.ts.map +1 -1
  54. package/lib/component/elements/export/units.js.map +1 -1
  55. package/lib/component/elements/pdnd.cjs +12 -1
  56. package/lib/component/elements/pdnd.cjs.map +1 -1
  57. package/lib/component/elements/pdnd.d.cts +5 -0
  58. package/lib/component/elements/pdnd.d.cts.map +1 -1
  59. package/lib/component/elements/resizer/useResizer.d.ts.map +1 -1
  60. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
  61. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.js.map +1 -1
  62. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  63. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
  64. package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
  65. package/lib/component/hooks/usePanelPreferences.js +1 -1
  66. package/lib/component/hooks/usePanelPreferences.js.map +1 -1
  67. package/lib/component/hooks/useVerticalAlign.d.ts +1 -1
  68. package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
  69. package/lib/component/loader/useLoadFiles.js +3 -3
  70. package/lib/component/loader/useLoadFiles.js.map +1 -1
  71. package/lib/component/main/InnerNMRium.js +2 -2
  72. package/lib/component/main/InnerNMRium.js.map +1 -1
  73. package/lib/component/main/NMRium.d.ts +1 -1
  74. package/lib/component/main/NMRium.d.ts.map +1 -1
  75. package/lib/component/main/NMRiumStateProvider.js +1 -1
  76. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  77. package/lib/component/main/types.d.ts +2 -2
  78. package/lib/component/main/types.d.ts.map +1 -1
  79. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  80. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  81. package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -1
  82. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  83. package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
  84. package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
  85. package/lib/component/modal/setting/settingsValidation.js.map +1 -1
  86. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
  87. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  88. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts +1 -1
  89. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts.map +1 -1
  90. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js +1 -1
  91. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js.map +1 -1
  92. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
  93. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  94. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
  95. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js.map +1 -1
  96. package/lib/component/panels/databasePanel/DatabasePreferences.js +1 -1
  97. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
  98. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +1 -1
  99. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  100. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  101. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +6 -6
  102. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  103. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
  104. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
  105. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  106. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  107. package/lib/component/panels/predictionPanel/PredictionPanel.js +17 -13
  108. package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
  109. package/lib/component/reducer/Reducer.d.ts +1 -1
  110. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  111. package/lib/component/reducer/actions/CorrelationsActions.d.ts +1 -1
  112. package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
  113. package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
  114. package/lib/component/reducer/actions/DomainActions.d.ts +1 -1
  115. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  116. package/lib/component/reducer/actions/DomainActions.js +1 -1
  117. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  118. package/lib/component/reducer/actions/FiltersActions.d.ts +3 -3
  119. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  120. package/lib/component/reducer/actions/FiltersActions.js +2 -4
  121. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  122. package/lib/component/reducer/actions/InsetActions.d.ts +1 -1
  123. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  124. package/lib/component/reducer/actions/InsetActions.js +2 -2
  125. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  126. package/lib/component/reducer/actions/IntegralsActions.d.ts +1 -1
  127. package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
  128. package/lib/component/reducer/actions/IntegralsActions.js +1 -1
  129. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
  130. package/lib/component/reducer/actions/LoadActions.d.ts +1 -1
  131. package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
  132. package/lib/component/reducer/actions/LoadActions.js +1 -1
  133. package/lib/component/reducer/actions/LoadActions.js.map +1 -1
  134. package/lib/component/reducer/actions/MoleculeActions.d.ts +1 -1
  135. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  136. package/lib/component/reducer/actions/MoleculeActions.js +2 -2
  137. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  138. package/lib/component/reducer/actions/PeaksActions.d.ts +1 -1
  139. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  140. package/lib/component/reducer/actions/PeaksActions.js +1 -1
  141. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  142. package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
  143. package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
  144. package/lib/component/reducer/actions/PreferencesActions.js +1 -1
  145. package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
  146. package/lib/component/reducer/actions/RangesActions.d.ts +1 -1
  147. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  148. package/lib/component/reducer/actions/RangesActions.js +1 -1
  149. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  150. package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
  151. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  152. package/lib/component/reducer/actions/SpectraActions.js +1 -1
  153. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  154. package/lib/component/reducer/actions/ToolsActions.d.ts +1 -1
  155. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  156. package/lib/component/reducer/actions/ToolsActions.js +2 -2
  157. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  158. package/lib/component/reducer/actions/ZonesActions.d.ts +2 -2
  159. package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
  160. package/lib/component/reducer/actions/ZonesActions.js +1 -1
  161. package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
  162. package/lib/component/reducer/helper/Zoom1DManager.d.ts +1 -1
  163. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
  164. package/lib/component/reducer/helper/Zoom1DManager.js +1 -1
  165. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
  166. package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts +1 -1
  167. package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts.map +1 -1
  168. package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts +1 -1
  169. package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts.map +1 -1
  170. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
  171. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
  172. package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
  173. package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
  174. package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts +1 -1
  175. package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts.map +1 -1
  176. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +1 -1
  177. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  178. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
  179. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  180. package/lib/component/reducer/preferences/preferencesReducer.d.ts +1 -1
  181. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  182. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +1 -1
  183. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
  184. package/lib/component/toolbar/ToolBar.js.map +1 -1
  185. package/lib/component/utility/export.d.ts +1 -1
  186. package/lib/component/utility/export.d.ts.map +1 -1
  187. package/lib/component/utility/export.js +5 -11
  188. package/lib/component/utility/export.js.map +1 -1
  189. package/lib/data/SpectraManager.d.ts.map +1 -1
  190. package/lib/data/SpectraManager.js +5 -11
  191. package/lib/data/SpectraManager.js.map +1 -1
  192. package/lib/data/data1d/Spectrum1D/index.d.ts +1 -1
  193. package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
  194. package/lib/data/data1d/Spectrum1D/index.js +1 -1
  195. package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
  196. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +1 -1
  197. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
  198. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
  199. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  200. package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -1
  201. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  202. package/lib/data/data2d/Spectrum2D/contours.js +1 -1
  203. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  204. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
  205. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
  206. package/lib/data/parseMeta/index.d.ts +1 -1
  207. package/lib/data/parseMeta/index.d.ts.map +1 -1
  208. package/lib/data/parseMeta/index.js +1 -1
  209. package/lib/data/parseMeta/index.js.map +1 -1
  210. package/lib/data/parseMeta/isMetaFile.d.ts +2 -2
  211. package/lib/data/parseMeta/isMetaFile.d.ts.map +1 -1
  212. package/lib/data/parseMeta/isMetaFile.js.map +1 -1
  213. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
  214. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  215. package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -1
  216. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  217. package/lib/data/parseMeta/parseMetaFile.d.ts +2 -2
  218. package/lib/data/parseMeta/parseMetaFile.d.ts.map +1 -1
  219. package/lib/data/parseMeta/parseMetaFile.js.map +1 -1
  220. package/lib/data/utilities/FindUtilities.d.ts +1 -1
  221. package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
  222. package/lib/versionInfo.d.ts.map +1 -1
  223. package/lib/versionInfo.js +1 -1
  224. package/lib/versionInfo.js.map +1 -1
  225. package/package.json +29 -27
  226. package/src/component/1d/FloatPublicationString.tsx +3 -1
  227. package/src/component/1d/SpectraLegends.tsx +1 -1
  228. package/src/component/1d/inset/DraggableInset.tsx +1 -1
  229. package/src/component/1d/peaks/usePeakShapesPath.ts +1 -1
  230. package/src/component/1d/utilities/scale.ts +4 -4
  231. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +1 -1
  232. package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
  233. package/src/component/1d-2d/components/ViewerResponsiveWrapper.tsx +1 -1
  234. package/src/component/1d-2d/tools/BrushXY.tsx +1 -1
  235. package/src/component/2d/BrushTracker2D.tsx +1 -1
  236. package/src/component/2d/FooterBanner.tsx +1 -1
  237. package/src/component/2d/tools/XYLabelPointer.tsx +1 -1
  238. package/src/component/2d/useTracesSpectra.ts +1 -1
  239. package/src/component/2d/utilities/scale.ts +3 -3
  240. package/src/component/EventsTrackers/MouseTracker.tsx +1 -1
  241. package/src/component/assignment/AssignmentProvider.tsx +1 -1
  242. package/src/component/elements/ContextMenuBluePrint.tsx +1 -1
  243. package/src/component/elements/D3Axis.tsx +1 -1
  244. package/src/component/elements/DraggableDialog.tsx +1 -1
  245. package/src/component/elements/Footer.tsx +1 -1
  246. package/src/component/elements/Input.tsx +1 -1
  247. package/src/component/elements/NextPrev.tsx +1 -1
  248. package/src/component/elements/SVGGroup.tsx +1 -1
  249. package/src/component/elements/Sections.tsx +199 -36
  250. package/src/component/elements/TabsProvider.tsx +1 -1
  251. package/src/component/elements/ToolbarPopoverItem.tsx +1 -1
  252. package/src/component/elements/export/units.ts +1 -1
  253. package/src/component/elements/pdnd.cts +8 -0
  254. package/src/component/elements/resizer/useResizer.tsx +1 -1
  255. package/src/component/header/base/BaseSimpleApodizationOptionsPanel.tsx +1 -1
  256. package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +1 -1
  257. package/src/component/hooks/usePanelPreferences.ts +5 -5
  258. package/src/component/loader/useLoadFiles.ts +7 -5
  259. package/src/component/main/InnerNMRium.tsx +2 -2
  260. package/src/component/main/NMRium.tsx +1 -1
  261. package/src/component/main/NMRiumStateProvider.tsx +1 -1
  262. package/src/component/main/types.ts +2 -2
  263. package/src/component/modal/PublicationStringModal.tsx +1 -1
  264. package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
  265. package/src/component/modal/metaImportation/MetaImportationModal.tsx +1 -1
  266. package/src/component/modal/setting/GeneralSettings.tsx +1 -1
  267. package/src/component/modal/setting/settingsValidation.ts +1 -1
  268. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
  269. package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +3 -3
  270. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +1 -1
  271. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
  272. package/src/component/panels/SummaryPanel/CorrelationTable/Constants.ts +1 -1
  273. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
  274. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.tsx +1 -1
  275. package/src/component/panels/databasePanel/DatabasePreferences.tsx +1 -1
  276. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
  277. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +7 -6
  278. package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +1 -1
  279. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +1 -1
  280. package/src/component/panels/predictionPanel/PredictionPanel.tsx +34 -27
  281. package/src/component/reducer/Reducer.ts +1 -1
  282. package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
  283. package/src/component/reducer/actions/DatabaseActions.ts +1 -1
  284. package/src/component/reducer/actions/DomainActions.ts +5 -5
  285. package/src/component/reducer/actions/FiltersActions.ts +29 -32
  286. package/src/component/reducer/actions/InsetActions.ts +7 -7
  287. package/src/component/reducer/actions/IntegralsActions.ts +3 -3
  288. package/src/component/reducer/actions/LoadActions.ts +1 -1
  289. package/src/component/reducer/actions/MoleculeActions.ts +5 -5
  290. package/src/component/reducer/actions/PeaksActions.ts +3 -3
  291. package/src/component/reducer/actions/PreferencesActions.ts +1 -1
  292. package/src/component/reducer/actions/RangesActions.ts +17 -17
  293. package/src/component/reducer/actions/SpectraActions.ts +7 -7
  294. package/src/component/reducer/actions/ToolsActions.ts +13 -13
  295. package/src/component/reducer/actions/ZonesActions.ts +11 -11
  296. package/src/component/reducer/helper/Zoom1DManager.ts +1 -1
  297. package/src/component/reducer/preferences/actions/changeExportSettings.ts +1 -1
  298. package/src/component/reducer/preferences/actions/changePrintPageSettings.ts +1 -1
  299. package/src/component/reducer/preferences/actions/matrixGeneration.ts +2 -2
  300. package/src/component/reducer/preferences/actions/toggleInformationBlock.ts +1 -1
  301. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +6 -6
  302. package/src/component/reducer/preferences/preferencesReducer.ts +1 -1
  303. package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +1 -1
  304. package/src/component/toolbar/ToolBar.tsx +1 -1
  305. package/src/component/utility/export.ts +7 -13
  306. package/src/data/SpectraManager.ts +5 -12
  307. package/src/data/data1d/Spectrum1D/index.ts +2 -2
  308. package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +1 -1
  309. package/src/data/data1d/multipleSpectraAnalysis.ts +5 -5
  310. package/src/data/data2d/Spectrum2D/contours.ts +2 -2
  311. package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +1 -1
  312. package/src/data/parseMeta/index.ts +1 -1
  313. package/src/data/parseMeta/isMetaFile.ts +2 -2
  314. package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -1
  315. package/src/data/parseMeta/parseMetaFile.ts +2 -2
  316. package/src/data/utilities/FindUtilities.ts +1 -1
  317. package/src/index.tsx +1 -1
  318. package/src/versionInfo.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nmrium",
3
3
  "description": "React component to display and process nuclear magnetic resonance (NMR) spectra.",
4
- "version": "0.65.1",
4
+ "version": "0.65.3-pre.1753283376",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": "./lib/component/main/index.js",
@@ -56,26 +56,27 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.4",
59
- "@blueprintjs/core": "^6.0.0",
59
+ "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
60
+ "@blueprintjs/core": "^6.1.0",
60
61
  "@blueprintjs/icons": "^6.0.0",
61
- "@blueprintjs/select": "^6.0.0",
62
+ "@blueprintjs/select": "^6.0.1",
62
63
  "@emotion/react": "^11.14.0",
63
64
  "@emotion/styled": "^11.14.1",
64
65
  "@hookform/resolvers": "^5.1.1",
65
- "@zakodium/nmr-types": "^0.0.1",
66
- "@zakodium/nmrium-core": "^0.1.3",
67
- "@zakodium/nmrium-core-plugins": "^0.1.4",
66
+ "@zakodium/nmr-types": "^0.1.0",
67
+ "@zakodium/nmrium-core": "^0.1.4",
68
+ "@zakodium/nmrium-core-plugins": "^0.1.6",
69
+ "@zip.js/zip.js": "^2.7.67",
68
70
  "cheminfo-font": "^1.13.1",
69
71
  "cheminfo-types": "^1.8.1",
70
72
  "clipboard-polyfill": "^4.1.1",
71
73
  "d3": "^7.9.0",
72
74
  "dlv": "^1.1.3",
73
75
  "eventemitter3": "^5.0.1",
74
- "fifo-logger": "^1.0.0",
76
+ "fifo-logger": "^2.0.0",
77
+ "file-collection": "^5.0.1",
75
78
  "file-saver": "^2.0.5",
76
- "filelist-utils": "^1.11.3",
77
79
  "immer": "^10.1.1",
78
- "jszip": "^3.10.1",
79
80
  "lodash": "^4.17.21",
80
81
  "mf-parser": "^3.4.2",
81
82
  "ml-array-mean": "^1.1.6",
@@ -83,18 +84,18 @@
83
84
  "ml-conrec": "^5.0.3",
84
85
  "ml-gsd": "^13.0.1",
85
86
  "ml-signal-processing": "^2.0.0",
86
- "ml-spectra-processing": "^14.12.0",
87
+ "ml-spectra-processing": "^14.13.0",
87
88
  "ml-tree-similarity": "^2.2.0",
88
89
  "nmr-correlation": "2.3.3",
89
- "nmr-processing": "^19.0.1",
90
+ "nmr-processing": "^19.0.3",
90
91
  "numeral": "^2.0.6",
91
- "openchemlib": "^9.3.0",
92
- "openchemlib-utils": "^8.1.5",
92
+ "openchemlib": "^9.6.0",
93
+ "openchemlib-utils": "^8.2.0",
93
94
  "papaparse": "^5.5.3",
94
95
  "react-d3-utils": "^3.1.1",
95
96
  "react-dropzone": "^14.3.8",
96
97
  "react-error-boundary": "^6.0.0",
97
- "react-hook-form": "^7.59.0",
98
+ "react-hook-form": "^7.60.0",
98
99
  "react-icons": "^5.5.0",
99
100
  "react-inspector": "^6.0.2",
100
101
  "react-mf": "^3.1.0",
@@ -102,47 +103,48 @@
102
103
  "react-ocl-nmr": "^4.0.1",
103
104
  "react-plot": "^3.1.0",
104
105
  "react-rnd": "^10.5.2",
105
- "react-science": "^19.0.0",
106
+ "react-science": "^19.1.0",
106
107
  "react-table": "^7.8.0",
107
108
  "smart-array-filter": "^4.1.1",
108
109
  "yup": "^1.6.1"
109
110
  },
110
111
  "devDependencies": {
111
- "@playwright/test": "^1.53.2",
112
+ "@playwright/test": "^1.54.1",
112
113
  "@simbathesailor/use-what-changed": "^2.0.0",
113
114
  "@types/d3": "^7.4.3",
114
115
  "@types/dlv": "^1.1.5",
115
116
  "@types/lodash": "^4.17.20",
116
- "@types/node": "^24.0.10",
117
+ "@types/node": "^24.1.0",
117
118
  "@types/papaparse": "^5.3.16",
118
119
  "@types/react": "^18.3.13",
119
120
  "@types/react-dom": "^18.3.1",
120
121
  "@types/react-table": "^7.7.20",
121
- "@vitejs/plugin-react": "^4.6.0",
122
+ "@vitejs/plugin-react": "^4.7.0",
122
123
  "@vitest/coverage-v8": "^3.2.4",
124
+ "@zakodium/tsconfig": "^1.0.2",
123
125
  "cross-env": "^7.0.3",
124
- "cspell": "^9.1.2",
125
- "eslint": "^9.30.1",
126
- "eslint-config-cheminfo-react": "^16.1.0",
127
- "eslint-config-cheminfo-typescript": "^18.0.1",
128
- "knip": "^5.61.3",
126
+ "cspell": "^9.2.0",
127
+ "eslint": "^9.31.0",
128
+ "eslint-config-cheminfo-react": "^17.0.0",
129
+ "eslint-config-cheminfo-typescript": "^19.0.0",
130
+ "knip": "^5.62.0",
129
131
  "modern-normalize": "^3.0.1",
130
132
  "postcss-styled-syntax": "^0.7.1",
131
133
  "prettier": "^3.6.2",
132
134
  "rc-menu": "^9.16.1",
133
135
  "react": "^18.3.1",
134
136
  "react-dom": "^18.3.1",
135
- "react-router-dom": "^7.6.3",
137
+ "react-router-dom": "^7.7.0",
136
138
  "rimraf": "^6.0.1",
137
139
  "rollup-plugin-analyzer": "^4.0.0",
138
140
  "serve": "^14.2.4",
139
- "stylelint": "^16.21.1",
141
+ "stylelint": "^16.22.0",
140
142
  "stylelint-config-standard": "^38.0.0",
141
143
  "typescript": "^5.8.3",
142
- "vite": "^7.0.2",
144
+ "vite": "^7.0.5",
143
145
  "vitest": "^3.2.4"
144
146
  },
145
147
  "volta": {
146
- "node": "24.2.0"
148
+ "node": "24.4.1"
147
149
  }
148
150
  }
@@ -38,6 +38,7 @@ function calculateWorldWidth(context, word) {
38
38
 
39
39
  function useWrapSVGText({ text, width, fontSize }) {
40
40
  const context = useCanvasContext(fontSize);
41
+
41
42
  const formattedText = text
42
43
  .replaceAll(/<sup>(?<n>.*?)<\/sup>/g, '++$1++ ')
43
44
  .replaceAll(/<i>(?<j>.*?)<\/i>/g, '**$1**');
@@ -83,6 +84,7 @@ function PublicationText(props: PublicationTextProps) {
83
84
  fontSize,
84
85
  text,
85
86
  });
87
+
86
88
  return (
87
89
  <g transform={`translate(${padding} ${padding})`}>
88
90
  {lines.map((line, lineIndex) => (
@@ -239,7 +241,7 @@ function DraggablePublicationString(props: DraggablePublicationStringProps) {
239
241
  onClick: handleRemove,
240
242
  },
241
243
  ];
242
- if (!viewerRef) return null;
244
+ if (!viewerRef || !value) return null;
243
245
 
244
246
  const { width, height, x: xInPercent, y: yInPercent } = bounding;
245
247
 
@@ -2,8 +2,8 @@ import type {
2
2
  JpathLegendField,
3
3
  LegendField,
4
4
  PredefinedLegendField,
5
- Spectrum,
6
5
  Spectrum1D,
6
+ Spectrum,
7
7
  } from '@zakodium/nmrium-core';
8
8
  import dlv from 'dlv';
9
9
  import { xFindClosestIndex } from 'ml-spectra-processing';
@@ -18,8 +18,8 @@ import { Rnd } from 'react-rnd';
18
18
  import { SVGRootContainer } from '../../1d-2d/components/SVGRootContainer.js';
19
19
  import { useDispatch } from '../../context/DispatchContext.js';
20
20
  import { useGlobal } from '../../context/GlobalContext.js';
21
- import { ActionsButtonsPopover } from '../../elements/ActionsButtonsPopover.js';
22
21
  import type { ActionsButtonsPopoverProps } from '../../elements/ActionsButtonsPopover.js';
22
+ import { ActionsButtonsPopover } from '../../elements/ActionsButtonsPopover.js';
23
23
  import { useSVGUnitConverter } from '../../hooks/useSVGUnitConverter.js';
24
24
  import { useCheckExportStatus } from '../../hooks/useViewportSize.js';
25
25
  import { booleanToString } from '../../utility/booleanToString.js';
@@ -1,7 +1,7 @@
1
1
  import type { Peak1D } from '@zakodium/nmr-types';
2
2
  import type { Spectrum1D } from '@zakodium/nmrium-core';
3
3
  import type { DataXY } from 'cheminfo-types';
4
- import { peaksToXY, peakToXY } from 'nmr-processing';
4
+ import { peakToXY, peaksToXY } from 'nmr-processing';
5
5
 
6
6
  import { useChartData } from '../../context/ChartContext.js';
7
7
  import { useScaleChecked } from '../../context/ScaleContext.js';
@@ -133,11 +133,11 @@ function useScaleX() {
133
133
  }
134
134
 
135
135
  export {
136
- useScaleX,
136
+ getInsetXScale,
137
+ getInsetYScale,
138
+ getIntegralYScale,
137
139
  getXScale,
138
140
  getYScale,
139
- getIntegralYScale,
140
141
  getYScaleWithRation,
141
- getInsetXScale,
142
- getInsetYScale,
142
+ useScaleX,
143
143
  };
@@ -13,8 +13,8 @@ import type {
13
13
  } from '../../../../data/molecules/Molecule.js';
14
14
  import { useDispatch } from '../../../context/DispatchContext.js';
15
15
  import { useGlobal } from '../../../context/GlobalContext.js';
16
- import { ActionsButtonsPopover } from '../../../elements/ActionsButtonsPopover.js';
17
16
  import type { ActionsButtonsPopoverProps } from '../../../elements/ActionsButtonsPopover.js';
17
+ import { ActionsButtonsPopover } from '../../../elements/ActionsButtonsPopover.js';
18
18
  import { useHighlightColor } from '../../../hooks/useHighlightColor.js';
19
19
  import { useSVGUnitConverter } from '../../../hooks/useSVGUnitConverter.js';
20
20
  import { useCheckExportStatus } from '../../../hooks/useViewportSize.js';
@@ -3,8 +3,8 @@ import type { Spectrum1D, Spectrum2D } from '@zakodium/nmrium-core';
3
3
  import { memo } from 'react';
4
4
 
5
5
  import type {
6
- MoleculesView,
7
6
  MoleculeView,
7
+ MoleculesView,
8
8
  StateMoleculeExtended,
9
9
  } from '../../../../data/molecules/Molecule.js';
10
10
  import { useChartData } from '../../../context/ChartContext.js';
@@ -1,5 +1,5 @@
1
- import { useEffect } from 'react';
2
1
  import type { ReactNode } from 'react';
2
+ import { useEffect } from 'react';
3
3
 
4
4
  import { useDispatch } from '../../context/DispatchContext.js';
5
5
  import { useViewportSize } from '../../hooks/useViewportSize.js';
@@ -4,12 +4,12 @@ import type { CSSProperties } from 'react';
4
4
  import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/isSpectrum1D.js';
5
5
  import { isSpectrum2D } from '../../../data/data2d/Spectrum2D/isSpectrum2D.js';
6
6
  import { useScale2DX } from '../../2d/utilities/scale.js';
7
+ import type { BrushAxis } from '../../EventsTrackers/BrushTracker.js';
7
8
  import {
8
9
  detectBrushing,
9
10
  useBrushDetectionOptions,
10
11
  useBrushTracker,
11
12
  } from '../../EventsTrackers/BrushTracker.js';
12
- import type { BrushAxis } from '../../EventsTrackers/BrushTracker.js';
13
13
  import { useChartData } from '../../context/ChartContext.js';
14
14
  import { useScaleChecked } from '../../context/ScaleContext.js';
15
15
  import { ArrowBox } from '../../elements/ArrowBox.js';
@@ -19,11 +19,11 @@ import { useMapKeyModifiers } from '../context/KeyModifierContext.js';
19
19
  import { usePreferences } from '../context/PreferencesContext.js';
20
20
  import { options } from '../toolbar/ToolTypes.js';
21
21
 
22
+ import type { Layout } from './utilities/DimensionLayout.js';
22
23
  import {
23
24
  get2DDimensionLayout,
24
25
  getLayoutID,
25
26
  } from './utilities/DimensionLayout.js';
26
- import type { Layout } from './utilities/DimensionLayout.js';
27
27
  import { useScale2DX, useScale2DY } from './utilities/scale.js';
28
28
 
29
29
  const clickDebounceTools = new Set([options.phaseCorrectionTwoDimensions.id]);
@@ -15,7 +15,7 @@ import { useActiveSpectrum } from '../hooks/useActiveSpectrum.js';
15
15
  import { useFormatNumberByNucleus } from '../hooks/useFormatNumberByNucleus.js';
16
16
  import { options } from '../toolbar/ToolTypes.js';
17
17
 
18
- import { getLayoutID, LAYOUT } from './utilities/DimensionLayout.js';
18
+ import { LAYOUT, getLayoutID } from './utilities/DimensionLayout.js';
19
19
  import { get1DYScale, get2DXScale, get2DYScale } from './utilities/scale.js';
20
20
 
21
21
  function FooterBanner({ layout, data1D }) {
@@ -6,7 +6,7 @@ import { useMouseTracker } from '../../EventsTrackers/MouseTracker.js';
6
6
  import { useChartData } from '../../context/ChartContext.js';
7
7
  import { useActiveSpectrum } from '../../hooks/useActiveSpectrum.js';
8
8
  import { useFormatNumberByNucleus } from '../../hooks/useFormatNumberByNucleus.js';
9
- import { getLayoutID, LAYOUT } from '../utilities/DimensionLayout.js';
9
+ import { LAYOUT, getLayoutID } from '../utilities/DimensionLayout.js';
10
10
  import { get1DYScale, useScale2DX, useScale2DY } from '../utilities/scale.js';
11
11
 
12
12
  const style: CSSProperties = {
@@ -1,7 +1,7 @@
1
1
  import type {
2
2
  ActiveSpectrum,
3
- Spectrum,
4
3
  Spectrum1D,
4
+ Spectrum,
5
5
  } from '@zakodium/nmrium-core';
6
6
  import { useMemo } from 'react';
7
7
 
@@ -100,11 +100,11 @@ function getSliceYScale(
100
100
  }
101
101
 
102
102
  export {
103
+ get1DYScale,
103
104
  get2DXScale,
104
- getSliceYScale,
105
105
  get2DYScale,
106
- get1DYScale,
106
+ getSliceYScale,
107
+ use1DTraceYScale,
107
108
  useScale2DX,
108
109
  useScale2DY,
109
- use1DTraceYScale,
110
110
  };
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties, ReactNode } from 'react';
2
- import { createContext, useCallback, useState, useContext } from 'react';
2
+ import { createContext, useCallback, useContext, useState } from 'react';
3
3
 
4
4
  interface MouseTrackerData {
5
5
  x: number;
@@ -6,8 +6,8 @@ import { useChartData } from '../context/ChartContext.js';
6
6
  import type {
7
7
  ActivateAssignmentOptions,
8
8
  AssignmentContext,
9
- HighlightAssignmentOptions,
10
9
  AssignmentStatus,
10
+ HighlightAssignmentOptions,
11
11
  } from './AssignmentsContext.js';
12
12
  import { assignmentContext, assignmentStatus } from './AssignmentsContext.js';
13
13
  import { getAssignments } from './utilities/getAssignments.js';
@@ -3,7 +3,7 @@ import type {
3
3
  MenuItemProps,
4
4
  TooltipProps,
5
5
  } from '@blueprintjs/core';
6
- import { Menu, MenuItem, showContextMenu, Tooltip } from '@blueprintjs/core';
6
+ import { Menu, MenuItem, Tooltip, showContextMenu } from '@blueprintjs/core';
7
7
  import type { ComponentProps, ElementType, MouseEvent, ReactNode } from 'react';
8
8
 
9
9
  type ContextMenuCheck = boolean | ((data: any) => boolean);
@@ -1,5 +1,5 @@
1
- import { forwardRef } from 'react';
2
1
  import type { SVGAttributes } from 'react';
2
+ import { forwardRef } from 'react';
3
3
  import type { UseLinearPrimaryTicksResult } from 'react-d3-utils';
4
4
 
5
5
  type AxisPosition = 'top' | 'bottom' | 'left' | 'right';
@@ -9,8 +9,8 @@ import {
9
9
  H6,
10
10
  Icon,
11
11
  IconSize,
12
- mergeRefs,
13
12
  Overlay2,
13
+ mergeRefs,
14
14
  } from '@blueprintjs/core';
15
15
  import { SmallCross } from '@blueprintjs/icons';
16
16
  import { Global } from '@emotion/react';
@@ -77,4 +77,4 @@ InfoItem.Unit = styled(Span)`
77
77
  font-size: 10px;
78
78
  `;
79
79
 
80
- export { InfoItem, FooterContainer };
80
+ export { FooterContainer, InfoItem };
@@ -1,7 +1,7 @@
1
1
  import debounce from 'lodash/debounce.js';
2
2
  import type {
3
- ChangeEvent,
4
3
  CSSProperties,
4
+ ChangeEvent,
5
5
  ForwardedRef,
6
6
  ReactElement,
7
7
  } from 'react';
@@ -76,7 +76,7 @@ const TransformController = styled.div<{
76
76
 
77
77
  const Content = styled.div<{ width: number }>`
78
78
  width: ${(props) => props.width}px;
79
- height: 100%;
79
+ flex: 1;
80
80
  `;
81
81
 
82
82
  const transition = 0.45;
@@ -1,4 +1,4 @@
1
- import type { SVGAttributes, ReactElement } from 'react';
1
+ import type { ReactElement, SVGAttributes } from 'react';
2
2
  import { Children, useLayoutEffect, useRef } from 'react';
3
3
 
4
4
  interface SVGGroupProps extends SVGAttributes<SVGElement> {