nmrium 0.65.0 → 0.65.2

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 (293) hide show
  1. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  2. package/lib/component/1d/FloatPublicationString.js +1 -1
  3. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  4. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  5. package/lib/component/1d/peaks/usePeakShapesPath.js +1 -1
  6. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  7. package/lib/component/1d/utilities/scale.d.ts +1 -1
  8. package/lib/component/1d/utilities/scale.d.ts.map +1 -1
  9. package/lib/component/1d/utilities/scale.js +1 -1
  10. package/lib/component/1d/utilities/scale.js.map +1 -1
  11. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  12. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.d.ts.map +1 -1
  13. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.js.map +1 -1
  14. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  15. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  16. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  17. package/lib/component/2d/FooterBanner.js +1 -1
  18. package/lib/component/2d/FooterBanner.js.map +1 -1
  19. package/lib/component/2d/tools/XYLabelPointer.js +1 -1
  20. package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
  21. package/lib/component/2d/useTracesSpectra.d.ts +1 -1
  22. package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
  23. package/lib/component/2d/utilities/scale.d.ts +1 -1
  24. package/lib/component/2d/utilities/scale.d.ts.map +1 -1
  25. package/lib/component/2d/utilities/scale.js +1 -1
  26. package/lib/component/2d/utilities/scale.js.map +1 -1
  27. package/lib/component/EventsTrackers/MouseTracker.js +1 -1
  28. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  29. package/lib/component/elements/ContextMenuBluePrint.js +1 -1
  30. package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
  31. package/lib/component/elements/D3Axis.d.ts.map +1 -1
  32. package/lib/component/elements/D3Axis.js.map +1 -1
  33. package/lib/component/elements/DraggableDialog.js +1 -1
  34. package/lib/component/elements/DraggableDialog.js.map +1 -1
  35. package/lib/component/elements/Footer.d.ts +1 -1
  36. package/lib/component/elements/Footer.d.ts.map +1 -1
  37. package/lib/component/elements/Footer.js +1 -1
  38. package/lib/component/elements/Footer.js.map +1 -1
  39. package/lib/component/elements/Input.d.ts.map +1 -1
  40. package/lib/component/elements/NextPrev.js +1 -1
  41. package/lib/component/elements/SVGGroup.d.ts +1 -1
  42. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  43. package/lib/component/elements/Sections.d.ts +3 -1
  44. package/lib/component/elements/Sections.d.ts.map +1 -1
  45. package/lib/component/elements/Sections.js +135 -25
  46. package/lib/component/elements/Sections.js.map +1 -1
  47. package/lib/component/elements/TabsProvider.js +1 -1
  48. package/lib/component/elements/TabsProvider.js.map +1 -1
  49. package/lib/component/elements/ToolbarPopoverItem.d.ts +1 -1
  50. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  51. package/lib/component/elements/export/units.d.ts.map +1 -1
  52. package/lib/component/elements/export/units.js.map +1 -1
  53. package/lib/component/elements/pdnd.cjs +12 -1
  54. package/lib/component/elements/pdnd.cjs.map +1 -1
  55. package/lib/component/elements/pdnd.d.cts +5 -0
  56. package/lib/component/elements/pdnd.d.cts.map +1 -1
  57. package/lib/component/elements/resizer/useResizer.d.ts.map +1 -1
  58. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
  59. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.js.map +1 -1
  60. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  61. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
  62. package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
  63. package/lib/component/hooks/usePanelPreferences.js +1 -1
  64. package/lib/component/hooks/usePanelPreferences.js.map +1 -1
  65. package/lib/component/hooks/useVerticalAlign.d.ts +1 -1
  66. package/lib/component/main/InnerNMRium.js +2 -2
  67. package/lib/component/main/InnerNMRium.js.map +1 -1
  68. package/lib/component/main/NMRium.d.ts +1 -1
  69. package/lib/component/main/NMRium.d.ts.map +1 -1
  70. package/lib/component/main/NMRiumStateProvider.js +1 -1
  71. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  72. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  73. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  74. package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -1
  75. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  76. package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
  77. package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
  78. package/lib/component/modal/setting/settingsValidation.js.map +1 -1
  79. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
  80. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  81. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts +1 -1
  82. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts.map +1 -1
  83. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js +1 -1
  84. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js.map +1 -1
  85. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
  86. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  87. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
  88. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js.map +1 -1
  89. package/lib/component/panels/databasePanel/DatabasePreferences.js +1 -1
  90. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
  91. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +1 -1
  92. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  93. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  94. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +6 -6
  95. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  96. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
  97. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
  98. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +1 -1
  99. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  100. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  101. package/lib/component/panels/predictionPanel/PredictionPanel.js +32 -23
  102. package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
  103. package/lib/component/reducer/actions/CorrelationsActions.d.ts +1 -1
  104. package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
  105. package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
  106. package/lib/component/reducer/actions/DomainActions.d.ts +1 -1
  107. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  108. package/lib/component/reducer/actions/DomainActions.js +1 -1
  109. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  110. package/lib/component/reducer/actions/FiltersActions.d.ts +3 -3
  111. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  112. package/lib/component/reducer/actions/FiltersActions.js +21 -18
  113. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  114. package/lib/component/reducer/actions/InsetActions.d.ts +1 -1
  115. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  116. package/lib/component/reducer/actions/InsetActions.js +2 -2
  117. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  118. package/lib/component/reducer/actions/IntegralsActions.d.ts +1 -1
  119. package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
  120. package/lib/component/reducer/actions/IntegralsActions.js +1 -1
  121. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
  122. package/lib/component/reducer/actions/LoadActions.d.ts +1 -1
  123. package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
  124. package/lib/component/reducer/actions/LoadActions.js +1 -1
  125. package/lib/component/reducer/actions/LoadActions.js.map +1 -1
  126. package/lib/component/reducer/actions/MoleculeActions.d.ts +1 -1
  127. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  128. package/lib/component/reducer/actions/MoleculeActions.js +2 -2
  129. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  130. package/lib/component/reducer/actions/PeaksActions.d.ts +1 -1
  131. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  132. package/lib/component/reducer/actions/PeaksActions.js +1 -1
  133. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  134. package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
  135. package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
  136. package/lib/component/reducer/actions/PreferencesActions.js +1 -1
  137. package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
  138. package/lib/component/reducer/actions/RangesActions.d.ts +1 -1
  139. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  140. package/lib/component/reducer/actions/RangesActions.js +1 -1
  141. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  142. package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
  143. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  144. package/lib/component/reducer/actions/SpectraActions.js +1 -1
  145. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  146. package/lib/component/reducer/actions/ToolsActions.d.ts +1 -1
  147. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  148. package/lib/component/reducer/actions/ToolsActions.js +2 -2
  149. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  150. package/lib/component/reducer/actions/ZonesActions.d.ts +2 -2
  151. package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
  152. package/lib/component/reducer/actions/ZonesActions.js +1 -1
  153. package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
  154. package/lib/component/reducer/helper/Zoom1DManager.d.ts +1 -1
  155. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
  156. package/lib/component/reducer/helper/Zoom1DManager.js +1 -1
  157. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
  158. package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts +1 -1
  159. package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts.map +1 -1
  160. package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts +1 -1
  161. package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts.map +1 -1
  162. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
  163. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
  164. package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
  165. package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
  166. package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts +1 -1
  167. package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts.map +1 -1
  168. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +1 -1
  169. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  170. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
  171. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  172. package/lib/component/reducer/preferences/preferencesReducer.d.ts +1 -1
  173. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  174. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +1 -1
  175. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
  176. package/lib/component/toolbar/ToolBar.js.map +1 -1
  177. package/lib/component/utility/export.d.ts +1 -1
  178. package/lib/component/utility/export.d.ts.map +1 -1
  179. package/lib/component/utility/export.js +1 -1
  180. package/lib/component/utility/export.js.map +1 -1
  181. package/lib/data/data1d/Spectrum1D/index.d.ts +1 -1
  182. package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
  183. package/lib/data/data1d/Spectrum1D/index.js +1 -1
  184. package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
  185. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +1 -1
  186. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
  187. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
  188. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  189. package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -1
  190. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  191. package/lib/data/data2d/Spectrum2D/contours.js +1 -1
  192. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  193. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
  194. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
  195. package/lib/data/parseMeta/index.d.ts +1 -1
  196. package/lib/data/parseMeta/index.d.ts.map +1 -1
  197. package/lib/data/parseMeta/index.js +1 -1
  198. package/lib/data/parseMeta/index.js.map +1 -1
  199. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
  200. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  201. package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -1
  202. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  203. package/lib/data/utilities/FindUtilities.d.ts +1 -1
  204. package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
  205. package/lib/versionInfo.js +1 -1
  206. package/package.json +28 -26
  207. package/src/component/1d/FloatPublicationString.tsx +3 -1
  208. package/src/component/1d/SpectraLegends.tsx +1 -1
  209. package/src/component/1d/inset/DraggableInset.tsx +1 -1
  210. package/src/component/1d/peaks/usePeakShapesPath.ts +1 -1
  211. package/src/component/1d/utilities/scale.ts +4 -4
  212. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +1 -1
  213. package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
  214. package/src/component/1d-2d/components/ViewerResponsiveWrapper.tsx +1 -1
  215. package/src/component/1d-2d/tools/BrushXY.tsx +1 -1
  216. package/src/component/2d/BrushTracker2D.tsx +1 -1
  217. package/src/component/2d/FooterBanner.tsx +1 -1
  218. package/src/component/2d/tools/XYLabelPointer.tsx +1 -1
  219. package/src/component/2d/useTracesSpectra.ts +1 -1
  220. package/src/component/2d/utilities/scale.ts +3 -3
  221. package/src/component/EventsTrackers/MouseTracker.tsx +1 -1
  222. package/src/component/assignment/AssignmentProvider.tsx +1 -1
  223. package/src/component/elements/ContextMenuBluePrint.tsx +1 -1
  224. package/src/component/elements/D3Axis.tsx +1 -1
  225. package/src/component/elements/DraggableDialog.tsx +1 -1
  226. package/src/component/elements/Footer.tsx +1 -1
  227. package/src/component/elements/Input.tsx +1 -1
  228. package/src/component/elements/NextPrev.tsx +1 -1
  229. package/src/component/elements/SVGGroup.tsx +1 -1
  230. package/src/component/elements/Sections.tsx +199 -36
  231. package/src/component/elements/TabsProvider.tsx +1 -1
  232. package/src/component/elements/ToolbarPopoverItem.tsx +1 -1
  233. package/src/component/elements/export/units.ts +1 -1
  234. package/src/component/elements/pdnd.cts +8 -0
  235. package/src/component/elements/resizer/useResizer.tsx +1 -1
  236. package/src/component/header/base/BaseSimpleApodizationOptionsPanel.tsx +1 -1
  237. package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +1 -1
  238. package/src/component/hooks/usePanelPreferences.ts +5 -5
  239. package/src/component/main/InnerNMRium.tsx +2 -2
  240. package/src/component/main/NMRium.tsx +1 -1
  241. package/src/component/main/NMRiumStateProvider.tsx +1 -1
  242. package/src/component/modal/PublicationStringModal.tsx +1 -1
  243. package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
  244. package/src/component/modal/metaImportation/MetaImportationModal.tsx +1 -1
  245. package/src/component/modal/setting/GeneralSettings.tsx +1 -1
  246. package/src/component/modal/setting/settingsValidation.ts +1 -1
  247. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
  248. package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +3 -3
  249. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +1 -1
  250. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
  251. package/src/component/panels/SummaryPanel/CorrelationTable/Constants.ts +1 -1
  252. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
  253. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.tsx +1 -1
  254. package/src/component/panels/databasePanel/DatabasePreferences.tsx +1 -1
  255. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
  256. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +7 -6
  257. package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +1 -1
  258. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +1 -1
  259. package/src/component/panels/predictionPanel/PredictionPanel.tsx +80 -73
  260. package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
  261. package/src/component/reducer/actions/DatabaseActions.ts +1 -1
  262. package/src/component/reducer/actions/DomainActions.ts +5 -5
  263. package/src/component/reducer/actions/FiltersActions.ts +53 -51
  264. package/src/component/reducer/actions/InsetActions.ts +7 -7
  265. package/src/component/reducer/actions/IntegralsActions.ts +3 -3
  266. package/src/component/reducer/actions/LoadActions.ts +1 -1
  267. package/src/component/reducer/actions/MoleculeActions.ts +5 -5
  268. package/src/component/reducer/actions/PeaksActions.ts +3 -3
  269. package/src/component/reducer/actions/PreferencesActions.ts +1 -1
  270. package/src/component/reducer/actions/RangesActions.ts +17 -17
  271. package/src/component/reducer/actions/SpectraActions.ts +7 -7
  272. package/src/component/reducer/actions/ToolsActions.ts +13 -13
  273. package/src/component/reducer/actions/ZonesActions.ts +11 -11
  274. package/src/component/reducer/helper/Zoom1DManager.ts +1 -1
  275. package/src/component/reducer/preferences/actions/changeExportSettings.ts +1 -1
  276. package/src/component/reducer/preferences/actions/changePrintPageSettings.ts +1 -1
  277. package/src/component/reducer/preferences/actions/matrixGeneration.ts +2 -2
  278. package/src/component/reducer/preferences/actions/toggleInformationBlock.ts +1 -1
  279. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +6 -6
  280. package/src/component/reducer/preferences/preferencesReducer.ts +1 -1
  281. package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +1 -1
  282. package/src/component/toolbar/ToolBar.tsx +1 -1
  283. package/src/component/utility/export.ts +3 -3
  284. package/src/data/data1d/Spectrum1D/index.ts +2 -2
  285. package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +1 -1
  286. package/src/data/data1d/multipleSpectraAnalysis.ts +5 -5
  287. package/src/data/data2d/Spectrum2D/contours.ts +2 -2
  288. package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +1 -1
  289. package/src/data/parseMeta/index.ts +1 -1
  290. package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -1
  291. package/src/data/utilities/FindUtilities.ts +1 -1
  292. package/src/index.tsx +1 -1
  293. package/src/versionInfo.ts +1 -1
@@ -24,19 +24,19 @@ import {
24
24
  } from '../../hooks/useSVGUnitConverter.js';
25
25
  import type { FilterType } from '../../utility/filterType.js';
26
26
  import type { SpectraDirection, State } from '../Reducer.js';
27
+ import type { ZoomType } from '../helper/Zoom1DManager.js';
27
28
  import {
29
+ ZOOM_TYPES,
28
30
  toScaleRatio,
29
31
  wheelZoom,
30
- ZOOM_TYPES,
31
32
  } from '../helper/Zoom1DManager.js';
32
- import type { ZoomType } from '../helper/Zoom1DManager.js';
33
33
  import { preparePop } from '../helper/ZoomHistoryManager.js';
34
34
  import { getActiveSpectrum } from '../helper/getActiveSpectrum.js';
35
35
  import getRange from '../helper/getRange.js';
36
36
  import type { ActionType } from '../types/ActionType.js';
37
37
 
38
- import { moveOverAxis } from './DomainActions.js';
39
38
  import type { MoveOptions } from './DomainActions.js';
39
+ import { moveOverAxis } from './DomainActions.js';
40
40
 
41
41
  interface BrushInsetBoundary {
42
42
  startX: number;
@@ -438,14 +438,14 @@ function handleToggleInsetDisplayingPeaksMode(
438
438
 
439
439
  export {
440
440
  handleAddInset,
441
- handleDeleteInset,
442
441
  handleChangeInsetBounding,
443
- handleMoveInset,
442
+ handleDeleteInset,
444
443
  handleInsetBrushEnd,
445
444
  handleInsetZoom,
446
445
  handleInsetZoomOut,
447
- handleToggleInsetRangesViewProperty,
446
+ handleMoveInset,
447
+ handleToggleInsetDisplayingPeaksMode,
448
448
  handleToggleInsetIntegralsViewProperty,
449
449
  handleToggleInsetPeaksViewProperty,
450
- handleToggleInsetDisplayingPeaksMode,
450
+ handleToggleInsetRangesViewProperty,
451
451
  };
@@ -246,12 +246,12 @@ function handleToggleIntegralsViewProperty(
246
246
  }
247
247
 
248
248
  export {
249
- handleCutIntegral,
250
- handleChangeIntegralSum,
251
249
  handleAddIntegral,
252
- handleDeleteIntegral,
253
250
  handleChangeIntegral,
251
+ handleChangeIntegralSum,
254
252
  handleChangeIntegralsRelativeValue,
255
253
  handleChangeIntegralsSumFlag,
254
+ handleCutIntegral,
255
+ handleDeleteIntegral,
256
256
  handleToggleIntegralsViewProperty,
257
257
  };
@@ -277,4 +277,4 @@ function handleLoadDropFiles(draft: Draft<State>, action: LoadDropFilesAction) {
277
277
  }
278
278
  }
279
279
 
280
- export { handleSetIsLoading, handleInitiate, handleLoadDropFiles };
280
+ export { handleInitiate, handleLoadDropFiles, handleSetIsLoading };
@@ -3,7 +3,7 @@ import type { FifoLogger } from 'fifo-logger';
3
3
  import type { Draft } from 'immer';
4
4
  import { Molecule } from 'openchemlib';
5
5
  import type { TopicMolecule } from 'openchemlib-utils';
6
- import { nbLabileH, getAtoms } from 'openchemlib-utils';
6
+ import { getAtoms, nbLabileH } from 'openchemlib-utils';
7
7
 
8
8
  import type {
9
9
  PredictedSpectraResult,
@@ -413,11 +413,11 @@ export {
413
413
  addMolecule,
414
414
  handleAddMolecule,
415
415
  handleAddMolecules,
416
- handleSetMolecule,
416
+ handleChangeFloatMoleculePosition,
417
+ handleChangeMoleculeLabel,
417
418
  handleDeleteMolecule,
418
- handlePredictSpectraFromMolecule,
419
419
  handleFloatMoleculeOverSpectrum,
420
+ handlePredictSpectraFromMolecule,
421
+ handleSetMolecule,
420
422
  handleToggleMoleculeAtomsNumbers,
421
- handleChangeFloatMoleculePosition,
422
- handleChangeMoleculeLabel,
423
423
  };
@@ -298,11 +298,11 @@ function handleChangePeaksDisplayingMode(draft: Draft<State>) {
298
298
  export {
299
299
  handleAddPeak,
300
300
  handleAddPeaks,
301
- handleDeletePeak,
302
301
  handleAutoPeakPicking,
303
- handleOptimizePeaks,
304
302
  handleChangePeakShape,
305
- handleTogglePeaksViewProperty,
306
303
  handleChangePeaksDisplayingMode,
304
+ handleDeletePeak,
305
+ handleOptimizePeaks,
306
+ handleTogglePeaksViewProperty,
307
307
  toggleDisplayingPeaks,
308
308
  };
@@ -153,6 +153,6 @@ function handleApplyKeyPreferences(
153
153
 
154
154
  export {
155
155
  changeSpectrumVerticalAlignment,
156
- handleSetKeyPreferences,
157
156
  handleApplyKeyPreferences,
157
+ handleSetKeyPreferences,
158
158
  };
@@ -2,8 +2,8 @@ import type { Range, Signal1D } from '@zakodium/nmr-types';
2
2
  import type {
3
3
  BoundingBox,
4
4
  RangesViewState,
5
- Spectrum,
6
5
  Spectrum1D,
6
+ Spectrum,
7
7
  } from '@zakodium/nmrium-core';
8
8
  import type { Draft } from 'immer';
9
9
  import { original } from 'immer';
@@ -705,27 +705,27 @@ function handleChangeRangesViewFloatingBoxBounding(
705
705
  }
706
706
 
707
707
  export {
708
- handleCutRange,
709
- handleAutoRangesDetection,
710
- handleDeleteRange,
711
708
  deleteSignal1D,
712
- handleDeleteSignal,
713
- handleChangeRangeSum,
714
709
  handleAddRange,
715
- handleResizeRange,
716
- handleChangeRangeRelativeValue,
717
- handleChangeRangeSignalValue,
718
- handleChangeRangeSignalKind,
719
- handleSaveEditedRange,
720
- handleUnlinkRange,
721
- unlinkRange,
722
710
  handleAssignRange,
723
- handleChangeRangesSumFlag,
724
- handleUpdateRange,
711
+ handleAutoRangesDetection,
725
712
  handleAutoSpectraRangesDetection,
726
- handleToggleRangesViewProperty,
727
713
  handleChangePeaksDisplayingMode,
728
- handleDeleteRangePeak,
729
714
  handleChangeRangeAssignmentLabel,
715
+ handleChangeRangeRelativeValue,
716
+ handleChangeRangeSignalKind,
717
+ handleChangeRangeSignalValue,
718
+ handleChangeRangeSum,
719
+ handleChangeRangesSumFlag,
730
720
  handleChangeRangesViewFloatingBoxBounding,
721
+ handleCutRange,
722
+ handleDeleteRange,
723
+ handleDeleteRangePeak,
724
+ handleDeleteSignal,
725
+ handleResizeRange,
726
+ handleSaveEditedRange,
727
+ handleToggleRangesViewProperty,
728
+ handleUnlinkRange,
729
+ handleUpdateRange,
730
+ unlinkRange,
731
731
  };
@@ -4,9 +4,9 @@ import type {
4
4
  Display1D,
5
5
  Display2D,
6
6
  SpectraColors,
7
- Spectrum,
8
7
  Spectrum1D,
9
8
  Spectrum2D,
9
+ Spectrum,
10
10
  } from '@zakodium/nmrium-core';
11
11
  import type { NmrData2DFid, NmrData2DFt } from 'cheminfo-types';
12
12
  import dlv from 'dlv';
@@ -757,18 +757,18 @@ function handleUpdateSpectrumMeta(
757
757
  }
758
758
 
759
759
  export {
760
- handleChangeSpectrumVisibilityById,
761
- handleChangeSpectraVisibilityByNucleus,
760
+ handleAddMissingProjectionHandler,
761
+ handleAlignSpectraHandler,
762
762
  handleChangeActiveSpectrum,
763
+ handleChangeSpectraVisibilityByNucleus,
763
764
  handleChangeSpectrumSetting,
765
+ handleChangeSpectrumVisibilityById,
764
766
  handleDeleteSpectra,
765
- handleAddMissingProjectionHandler,
766
- handleAlignSpectraHandler,
767
767
  handleGenerateSpectrumFromPublicationStringHandler,
768
768
  handleImportSpectraMetaInfo,
769
- handleToggleSpectraLegend,
770
769
  handleRecolorSpectraBasedOnDistinctValue,
771
770
  handleSimulateSpectrum,
772
- setSpectraMetaInfo,
771
+ handleToggleSpectraLegend,
773
772
  handleUpdateSpectrumMeta,
773
+ setSpectraMetaInfo,
774
774
  };
@@ -1,5 +1,5 @@
1
1
  import type { BaselineCorrectionZone } from '@zakodium/nmr-types';
2
- import type { Spectrum, Spectrum1D, Spectrum2D } from '@zakodium/nmrium-core';
2
+ import type { Spectrum1D, Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
3
3
  import { zoomIdentity } from 'd3';
4
4
  import type { Draft } from 'immer';
5
5
 
@@ -20,10 +20,10 @@ import type { State } from '../Reducer.js';
20
20
  import { MARGIN } from '../core/Constants.js';
21
21
  import type { ZoomType } from '../helper/Zoom1DManager.js';
22
22
  import {
23
+ ZOOM_TYPES,
23
24
  setZoom,
24
25
  toScaleRatio,
25
26
  wheelZoom,
26
- ZOOM_TYPES,
27
27
  } from '../helper/Zoom1DManager.js';
28
28
  import zoomHistoryManager, {
29
29
  addToBrushHistory,
@@ -732,24 +732,24 @@ function resetSpectraScale(draft: Draft<State>) {
732
732
  }
733
733
 
734
734
  export {
735
- handleResetSelectedTool,
736
- resetSelectedTool,
737
- setSelectedTool,
738
735
  activateTool,
739
- setSpectraVerticalAlign,
740
- handleChangeSpectrumDisplayMode,
741
736
  handleAddBaseLineZone,
737
+ handleBrushEnd,
738
+ handleChangeSpectrumDisplayMode,
742
739
  handleDeleteBaseLineZone,
740
+ handleResetSelectedTool,
743
741
  handleResizeBaseLineZone,
742
+ handleSetActiveTab,
744
743
  handleToggleRealImaginaryVisibility,
745
- handleBrushEnd,
746
744
  handleZoom,
747
- zoomOut,
748
- handleSetActiveTab,
749
745
  levelChangeHandler,
750
- setActiveTab,
751
- setTab,
752
- setSpectraSameTopHandler,
746
+ resetSelectedTool,
753
747
  resetSpectraScale,
748
+ setActiveTab,
754
749
  setMargin,
750
+ setSelectedTool,
751
+ setSpectraSameTopHandler,
752
+ setSpectraVerticalAlign,
753
+ setTab,
754
+ zoomOut,
755
755
  };
@@ -1,7 +1,7 @@
1
1
  import type { Filter2DEntry, Signal2D, Zone } from '@zakodium/nmr-types';
2
2
  import type {
3
- Spectrum,
4
3
  Spectrum2D,
4
+ Spectrum,
5
5
  ZonesViewState,
6
6
  } from '@zakodium/nmrium-core';
7
7
  import type { FromTo, NmrData2DFt } from 'cheminfo-types';
@@ -531,21 +531,21 @@ function handleSetZoneAssignmentLabelCoordination(
531
531
  }
532
532
 
533
533
  export {
534
+ deleteSignal2D,
534
535
  handleAdd2dZone,
536
+ handleAssignZone,
537
+ handleAutoSpectraZonesDetection,
535
538
  handleAutoZonesDetection,
536
- handleDeleteSignal,
537
- deleteSignal2D,
538
- handleDeleteZone,
539
+ handleChangeZoneAssignmentLabel,
539
540
  handleChangeZoneSignalDelta,
540
541
  handleChangeZoneSignalKind,
541
- handleUnlinkZone,
542
- unlinkZone,
542
+ handleChangeZonesFactor,
543
+ handleDeleteSignal,
544
+ handleDeleteZone,
543
545
  handleSaveEditedZone,
544
- handleAssignZone,
545
546
  handleSetSignalPathLength,
546
- handleChangeZonesFactor,
547
- handleAutoSpectraZonesDetection,
548
- handleToggleZonesViewProperty,
549
- handleChangeZoneAssignmentLabel,
550
547
  handleSetZoneAssignmentLabelCoordination,
548
+ handleToggleZonesViewProperty,
549
+ handleUnlinkZone,
550
+ unlinkZone,
551
551
  };
@@ -122,4 +122,4 @@ function rescaleToSameTop(
122
122
  return newYDomains;
123
123
  }
124
124
 
125
- export { setZoom, wheelZoom, toScaleRatio, rescaleToSameTop };
125
+ export { rescaleToSameTop, setZoom, toScaleRatio, wheelZoom };
@@ -1,8 +1,8 @@
1
1
  import type { Draft } from 'immer';
2
2
 
3
3
  import type {
4
- PreferencesState,
5
4
  ChangeExportSettingsAction,
5
+ PreferencesState,
6
6
  } from '../preferencesReducer.js';
7
7
  import { getActiveWorkspace } from '../utilities/getActiveWorkspace.js';
8
8
 
@@ -1,8 +1,8 @@
1
1
  import type { Draft } from 'immer';
2
2
 
3
3
  import type {
4
- PreferencesState,
5
4
  ChangePrintPageSettingsAction,
5
+ PreferencesState,
6
6
  } from '../preferencesReducer.js';
7
7
  import { getActiveWorkspace } from '../utilities/getActiveWorkspace.js';
8
8
 
@@ -168,9 +168,9 @@ function changeMatrixGenerationStocsyChemicalShift(
168
168
 
169
169
  export {
170
170
  addExclusionZone,
171
+ changeMatrixGenerationScale,
172
+ changeMatrixGenerationStocsyChemicalShift,
171
173
  deleteExclusionZone,
172
174
  setMatrixGenerationOptions,
173
175
  toggleMatrixGenerationViewProperty,
174
- changeMatrixGenerationScale,
175
- changeMatrixGenerationStocsyChemicalShift,
176
176
  };
@@ -1,8 +1,8 @@
1
1
  import type { Draft } from 'immer';
2
2
 
3
3
  import type {
4
- ToggleInformationBlock,
5
4
  PreferencesState,
5
+ ToggleInformationBlock,
6
6
  } from '../preferencesReducer.js';
7
7
  import { getActiveWorkspace } from '../utilities/getActiveWorkspace.js';
8
8
 
@@ -222,13 +222,13 @@ const getMatrixGenerationDefaultValues = (
222
222
  };
223
223
 
224
224
  export {
225
- getSpectraDefaultValues,
226
- getPeaksDefaultValues,
227
- getIntegralDefaultValues,
228
- getRangeDefaultValues,
229
- getZoneDefaultValues,
230
225
  databaseDefaultValues,
231
- getMultipleSpectraAnalysisDefaultValues,
226
+ getIntegralDefaultValues,
232
227
  getMatrixGenerationDefaultOptions,
233
228
  getMatrixGenerationDefaultValues,
229
+ getMultipleSpectraAnalysisDefaultValues,
230
+ getPeaksDefaultValues,
231
+ getRangeDefaultValues,
232
+ getSpectraDefaultValues,
233
+ getZoneDefaultValues,
234
234
  };
@@ -4,8 +4,8 @@ import type {
4
4
  MultipleSpectraAnalysisPreferences,
5
5
  PanelPreferencesType,
6
6
  PrintPageOptions,
7
- Workspace,
8
7
  WorkSpaceSource,
8
+ Workspace,
9
9
  } from '@zakodium/nmrium-core';
10
10
  import { CURRENT_EXPORT_VERSION, migrateSettings } from '@zakodium/nmrium-core';
11
11
  import type { Draft } from 'immer';
@@ -1,4 +1,4 @@
1
- import type { Workspace, WorkSpaceSource } from '@zakodium/nmrium-core';
1
+ import type { WorkSpaceSource, Workspace } from '@zakodium/nmrium-core';
2
2
  import lodashMerge from 'lodash/merge.js';
3
3
 
4
4
  import { workspaceDefaultProperties } from '../../../workspaces/workspaceDefaultProperties.js';
@@ -51,8 +51,8 @@ import { LoadJCAMPModal } from '../modal/LoadJCAMPModal.js';
51
51
  import SaveAsModal from '../modal/SaveAsModal.js';
52
52
  import { MetaImportationModal } from '../modal/metaImportation/MetaImportationModal.js';
53
53
 
54
- import { options } from './ToolTypes.js';
55
54
  import type { Tool } from './ToolTypes.js';
55
+ import { options } from './ToolTypes.js';
56
56
  import { EXPORT_MENU, IMPORT_MENU } from './toolbarMenu.js';
57
57
 
58
58
  interface BaseToolItem extends Pick<ToolbarItemProps, 'icon' | 'disabled'> {
@@ -431,10 +431,10 @@ function getBlob(targetElementID: string, options: GetBlobOptions): BlobObject {
431
431
  }
432
432
 
433
433
  export {
434
- exportAsSVG,
435
- exportAsJSON,
436
- exportAsPng,
437
434
  copyPNGToClipboard,
435
+ exportAsJSON,
438
436
  exportAsMatrix,
437
+ exportAsPng,
438
+ exportAsSVG,
439
439
  getBlob,
440
440
  };
@@ -13,9 +13,9 @@ export { detectRange } from './ranges/detectRange.js';
13
13
  export { detectRanges } from './ranges/detectRanges.js';
14
14
  export { resurrectSpectrumFromRanges } from './ranges/resurrectSpectrum.js';
15
15
  export {
16
- mapRanges,
17
16
  getShiftX,
18
- updateRangesRelativeValues,
17
+ mapRanges,
19
18
  updateIntegralsRelativeValues,
19
+ updateRangesRelativeValues,
20
20
  } from 'nmr-processing';
21
21
  export { get1DColor } from './get1DColor.js';
@@ -1,4 +1,4 @@
1
- import type { Spectrum, Spectrum1D } from '@zakodium/nmrium-core';
1
+ import type { Spectrum1D, Spectrum } from '@zakodium/nmrium-core';
2
2
 
3
3
  export function isSpectrum1D(spectrum: Spectrum): spectrum is Spectrum1D {
4
4
  return spectrum && spectrum.info.dimension === 1;
@@ -1,7 +1,3 @@
1
- import {
2
- ANALYSIS_COLUMN_TYPES,
3
- ANALYSIS_COLUMN_VALUES_KEYS,
4
- } from '@zakodium/nmrium-core';
5
1
  import type {
6
2
  AnalysisColumnsValuesKeys,
7
3
  AnalysisOptions,
@@ -10,10 +6,14 @@ import type {
10
6
  PanelsPreferences,
11
7
  SpectraAnalysisColumn,
12
8
  SpectraAnalysisColumns,
13
- Spectrum,
14
9
  Spectrum1D,
10
+ Spectrum,
15
11
  WorkSpacePanelPreferences,
16
12
  } from '@zakodium/nmrium-core';
13
+ import {
14
+ ANALYSIS_COLUMN_TYPES,
15
+ ANALYSIS_COLUMN_VALUES_KEYS,
16
+ } from '@zakodium/nmrium-core';
17
17
  import dlv from 'dlv';
18
18
 
19
19
  import type { RangeDetectionResult } from '../types/data1d/index.js';
@@ -260,9 +260,9 @@ function calculateValueOfLevel(level: number, max: number, invert = false) {
260
260
  }
261
261
 
262
262
  export {
263
- drawContours,
263
+ DEFAULT_CONTOURS_OPTIONS,
264
264
  contoursManager,
265
+ drawContours,
265
266
  getDefaultContoursLevel,
266
- DEFAULT_CONTOURS_OPTIONS,
267
267
  };
268
268
  export type { LevelSign };
@@ -1,4 +1,4 @@
1
- import type { Spectrum, Spectrum2D } from '@zakodium/nmrium-core';
1
+ import type { Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
2
2
  import type { NmrData2D, NmrData2DFid, NmrData2DFt } from 'cheminfo-types';
3
3
 
4
4
  export function isSpectrum2D(spectrum: Spectrum): spectrum is Spectrum2D {
@@ -1,4 +1,4 @@
1
1
  export { isMetaFile } from './isMetaFile.js';
2
2
  export { mapErrors } from './mapErrors.js';
3
3
  export { parseMetaFile } from './parseMetaFile.js';
4
- export { linkMetaWithSpectra, TargetPathError } from './linkMetaWithSpectra.js';
4
+ export { TargetPathError, linkMetaWithSpectra } from './linkMetaWithSpectra.js';
@@ -109,4 +109,4 @@ class SourcePathError extends Error {
109
109
  }
110
110
  }
111
111
 
112
- export { linkMetaWithSpectra, TargetPathError };
112
+ export { TargetPathError, linkMetaWithSpectra };
@@ -1,5 +1,5 @@
1
1
  import type { Range, Signal1D, Signal2D, Zone } from '@zakodium/nmr-types';
2
- import type { Spectrum, Spectrum1D, Spectrum2D } from '@zakodium/nmrium-core';
2
+ import type { Spectrum1D, Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
3
3
 
4
4
  function findSpectrum(
5
5
  spectraData: Spectrum[],
package/src/index.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FocusStyleManager } from '@blueprintjs/core';
2
2
  import { createRoot } from 'react-dom/client';
3
- import { HashRouter, Routes, Route } from 'react-router-dom';
3
+ import { HashRouter, Route, Routes } from 'react-router-dom';
4
4
 
5
5
  import Main from './demo/layouts/Main.js';
6
6
  import TestHighlight from './demo/test/TestHighlight.js';
@@ -1 +1 @@
1
- export default { version: 'v0.65.0' };
1
+ export default { version: 'v0.65.2' };