nmrium 3.0.0 → 3.2.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 (1413) hide show
  1. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  2. package/lib/component/1d/BrushTracker1D.js +141 -133
  3. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  4. package/lib/component/1d/ExclusionZoneAnnotation.js +1 -1
  5. package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
  6. package/lib/component/1d/ExclusionZonesAnnotations.js.map +1 -1
  7. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  8. package/lib/component/1d/FloatPublicationString.js +42 -39
  9. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  10. package/lib/component/1d/FooterBanner.js +2 -2
  11. package/lib/component/1d/FooterBanner.js.map +1 -1
  12. package/lib/component/1d/Line.js +1 -1
  13. package/lib/component/1d/Line.js.map +1 -1
  14. package/lib/component/1d/SimilarityTree.js +2 -2
  15. package/lib/component/1d/SimilarityTree.js.map +1 -1
  16. package/lib/component/1d/SpectraLegends.d.ts +1 -2
  17. package/lib/component/1d/SpectraLegends.d.ts.map +1 -1
  18. package/lib/component/1d/SpectraLegends.js +3 -4
  19. package/lib/component/1d/SpectraLegends.js.map +1 -1
  20. package/lib/component/1d/baseline/BaselinePreview.js +4 -4
  21. package/lib/component/1d/baseline/BaselinePreview.js.map +1 -1
  22. package/lib/component/1d/database/DatabaseElements.d.ts +1 -2
  23. package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
  24. package/lib/component/1d/database/DatabaseElements.js +1 -2
  25. package/lib/component/1d/database/DatabaseElements.js.map +1 -1
  26. package/lib/component/1d/database/DatabaseSpectrum.js +3 -3
  27. package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
  28. package/lib/component/1d/database/ResurrectedDatabaseRanges.js +1 -1
  29. package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
  30. package/lib/component/1d/inset/DraggableInset.js +4 -4
  31. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  32. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  33. package/lib/component/1d/inset/InsetProvider.js +4 -4
  34. package/lib/component/1d/inset/InsetProvider.js.map +1 -1
  35. package/lib/component/1d/inset/InsetViewerRoot.js +3 -3
  36. package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
  37. package/lib/component/1d/integral/IntegralsSeries.js +1 -1
  38. package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
  39. package/lib/component/1d/jCouplingGraph/JGraph.js +2 -2
  40. package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
  41. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +1 -1
  42. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -1
  43. package/lib/component/1d/jCouplingGraph/JGraphContext.js +3 -4
  44. package/lib/component/1d/jCouplingGraph/JGraphContext.js.map +1 -1
  45. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -1
  46. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js +1 -4
  47. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js.map +1 -1
  48. package/lib/component/1d/jCouplingGraph/JsCouplings.js +1 -1
  49. package/lib/component/1d/jCouplingGraph/JsCouplings.js.map +1 -1
  50. package/lib/component/1d/matrix/Stocsy.js +1 -2
  51. package/lib/component/1d/matrix/Stocsy.js.map +1 -1
  52. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +1 -1
  53. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  54. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  55. package/lib/component/1d/peaks/PeakEditionManager.js +6 -7
  56. package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
  57. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
  58. package/lib/component/1d/peaks/Peaks.js +12 -15
  59. package/lib/component/1d/peaks/Peaks.js.map +1 -1
  60. package/lib/component/1d/plugin_chart_brush_tracker.d.ts.map +1 -1
  61. package/lib/component/1d/plugin_chart_brush_tracker.js +2 -1
  62. package/lib/component/1d/plugin_chart_brush_tracker.js.map +1 -1
  63. package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -1
  64. package/lib/component/1d/plugin_svg_chart.js +15 -2
  65. package/lib/component/1d/plugin_svg_chart.js.map +1 -1
  66. package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
  67. package/lib/component/1d/ranges/AssignmentLabel.js +4 -3
  68. package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
  69. package/lib/component/1d/ranges/Atoms.js +18 -17
  70. package/lib/component/1d/ranges/Atoms.js.map +1 -1
  71. package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
  72. package/lib/component/1d/ranges/FloatingRanges.js +14 -16
  73. package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
  74. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  75. package/lib/component/1d/ranges/Range.js +1 -1
  76. package/lib/component/1d/ranges/Range.js.map +1 -1
  77. package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -2
  78. package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
  79. package/lib/component/1d/ranges/RangesIntegrals.js +2 -3
  80. package/lib/component/1d/ranges/RangesIntegrals.js.map +1 -1
  81. package/lib/component/1d/tool/BaseLine.d.ts +1 -2
  82. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
  83. package/lib/component/1d/tool/BaseLine.js +2 -3
  84. package/lib/component/1d/tool/BaseLine.js.map +1 -1
  85. package/lib/component/1d-2d/FieldEdition.d.ts +2 -1
  86. package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
  87. package/lib/component/1d-2d/FieldEdition.js +3 -3
  88. package/lib/component/1d-2d/FieldEdition.js.map +1 -1
  89. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +3 -3
  90. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  91. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
  92. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +3 -3
  93. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
  94. package/lib/component/1d-2d/components/RangeIndicator.d.ts +2 -1
  95. package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -1
  96. package/lib/component/1d-2d/components/RangeIndicator.js +2 -2
  97. package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -1
  98. package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
  99. package/lib/component/1d-2d/components/SVGRootContainer.js +2 -2
  100. package/lib/component/1d-2d/components/SVGRootContainer.js.map +1 -1
  101. package/lib/component/1d-2d/components/Signals1D.js.map +1 -1
  102. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -2
  103. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  104. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +17 -16
  105. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  106. package/lib/component/1d-2d/tools/BrushXY.js +2 -2
  107. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  108. package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -1
  109. package/lib/component/1d-2d/tools/CursorToolIcon.js +1 -3
  110. package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -1
  111. package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -1
  112. package/lib/component/1d-2d/tools/DistanceLine.js +2 -4
  113. package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -1
  114. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -1
  115. package/lib/component/2d/1d-tracer/HorizontalSliceChart.js +2 -1
  116. package/lib/component/2d/1d-tracer/HorizontalSliceChart.js.map +1 -1
  117. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
  118. package/lib/component/2d/1d-tracer/Left1DChart.js +1 -1
  119. package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
  120. package/lib/component/2d/1d-tracer/Ranges1D.d.ts +0 -1
  121. package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -1
  122. package/lib/component/2d/1d-tracer/Ranges1D.js.map +1 -1
  123. package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
  124. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
  125. package/lib/component/2d/1d-tracer/Top1DChart.js +5 -5
  126. package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
  127. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -1
  128. package/lib/component/2d/1d-tracer/VerticalSliceChart.js +2 -1
  129. package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
  130. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
  131. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
  132. package/lib/component/2d/BrushTracker2D.js +6 -2
  133. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  134. package/lib/component/2d/FooterBanner.d.ts.map +1 -1
  135. package/lib/component/2d/FooterBanner.js +1 -1
  136. package/lib/component/2d/FooterBanner.js.map +1 -1
  137. package/lib/component/2d/IndirectAxis2D.js +1 -1
  138. package/lib/component/2d/IndirectAxis2D.js.map +1 -1
  139. package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
  140. package/lib/component/2d/SVGContent2D.js +2 -1
  141. package/lib/component/2d/SVGContent2D.js.map +1 -1
  142. package/lib/component/2d/SignalDeltaLine.d.ts +3 -0
  143. package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
  144. package/lib/component/2d/SignalDeltaLine.js +3 -4
  145. package/lib/component/2d/SignalDeltaLine.js.map +1 -1
  146. package/lib/component/2d/SlicingView.js +2 -2
  147. package/lib/component/2d/SlicingView.js.map +1 -1
  148. package/lib/component/2d/Viewer2D.js +1 -1
  149. package/lib/component/2d/Viewer2D.js.map +1 -1
  150. package/lib/component/2d/linked-signals/LinkedSignal.d.ts +7 -0
  151. package/lib/component/2d/linked-signals/LinkedSignal.d.ts.map +1 -0
  152. package/lib/component/2d/linked-signals/LinkedSignal.js +42 -0
  153. package/lib/component/2d/linked-signals/LinkedSignal.js.map +1 -0
  154. package/lib/component/2d/linked-signals/LinkedSignalAssignmentLabel.d.ts +8 -0
  155. package/lib/component/2d/linked-signals/LinkedSignalAssignmentLabel.d.ts.map +1 -0
  156. package/lib/component/2d/linked-signals/LinkedSignalAssignmentLabel.js +152 -0
  157. package/lib/component/2d/linked-signals/LinkedSignalAssignmentLabel.js.map +1 -0
  158. package/lib/component/2d/linked-signals/LinkedSignals.d.ts +2 -0
  159. package/lib/component/2d/linked-signals/LinkedSignals.d.ts.map +1 -0
  160. package/lib/component/2d/linked-signals/LinkedSignals.js +32 -0
  161. package/lib/component/2d/linked-signals/LinkedSignals.js.map +1 -0
  162. package/lib/component/2d/linked-signals/SignalCrossingIndicator.d.ts +3 -0
  163. package/lib/component/2d/linked-signals/SignalCrossingIndicator.d.ts.map +1 -0
  164. package/lib/component/2d/linked-signals/SignalCrossingIndicator.js +36 -0
  165. package/lib/component/2d/linked-signals/SignalCrossingIndicator.js.map +1 -0
  166. package/lib/component/2d/linked-signals/useClassifyCorrelation.d.ts +5 -0
  167. package/lib/component/2d/linked-signals/useClassifyCorrelation.d.ts.map +1 -0
  168. package/lib/component/2d/linked-signals/useClassifyCorrelation.js +16 -0
  169. package/lib/component/2d/linked-signals/useClassifyCorrelation.js.map +1 -0
  170. package/lib/component/2d/linked-signals/useNearestSignalCrossing.d.ts +13 -0
  171. package/lib/component/2d/linked-signals/useNearestSignalCrossing.d.ts.map +1 -0
  172. package/lib/component/2d/linked-signals/useNearestSignalCrossing.js +41 -0
  173. package/lib/component/2d/linked-signals/useNearestSignalCrossing.js.map +1 -0
  174. package/lib/component/2d/linked-signals/utilities/getCorrelationColor.d.ts +5 -0
  175. package/lib/component/2d/linked-signals/utilities/getCorrelationColor.d.ts.map +1 -0
  176. package/lib/component/2d/linked-signals/utilities/getCorrelationColor.js +31 -0
  177. package/lib/component/2d/linked-signals/utilities/getCorrelationColor.js.map +1 -0
  178. package/lib/component/2d/linked-signals/utilities/getCouplingLength.d.ts +3 -0
  179. package/lib/component/2d/linked-signals/utilities/getCouplingLength.d.ts.map +1 -0
  180. package/lib/component/2d/linked-signals/utilities/getCouplingLength.js +41 -0
  181. package/lib/component/2d/linked-signals/utilities/getCouplingLength.js.map +1 -0
  182. package/lib/component/2d/linked-signals/utilities/signalCrossings.d.ts +45 -0
  183. package/lib/component/2d/linked-signals/utilities/signalCrossings.d.ts.map +1 -0
  184. package/lib/component/2d/linked-signals/utilities/signalCrossings.js +73 -0
  185. package/lib/component/2d/linked-signals/utilities/signalCrossings.js.map +1 -0
  186. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
  187. package/lib/component/2d/tools/PivotIndicator.js +1 -1
  188. package/lib/component/2d/tools/PivotIndicator.js.map +1 -1
  189. package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +5 -0
  190. package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
  191. package/lib/component/2d/utilities/extractSpectrumSignals.js +15 -0
  192. package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
  193. package/lib/component/2d/utilities/scale.js +1 -1
  194. package/lib/component/2d/utilities/useAssignmentLabelLinkPath.d.ts +17 -0
  195. package/lib/component/2d/utilities/useAssignmentLabelLinkPath.d.ts.map +1 -0
  196. package/lib/component/2d/utilities/useAssignmentLabelLinkPath.js +99 -0
  197. package/lib/component/2d/utilities/useAssignmentLabelLinkPath.js.map +1 -0
  198. package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
  199. package/lib/component/2d/zones/SignalsGuideLines.js +9 -8
  200. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  201. package/lib/component/2d/zones/Zone.d.ts.map +1 -1
  202. package/lib/component/2d/zones/Zone.js +50 -4
  203. package/lib/component/2d/zones/Zone.js.map +1 -1
  204. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  205. package/lib/component/2d/zones/ZonesAssignmentsLabels.js +24 -164
  206. package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
  207. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  208. package/lib/component/EventsTrackers/BrushTracker.js +111 -26
  209. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  210. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  211. package/lib/component/EventsTrackers/KeysListenerTracker.js +6 -0
  212. package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
  213. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  214. package/lib/component/EventsTrackers/MouseTracker.js +5 -6
  215. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  216. package/lib/component/EventsTrackers/brush_tracker.types.d.ts +52 -4
  217. package/lib/component/EventsTrackers/brush_tracker.types.d.ts.map +1 -1
  218. package/lib/component/EventsTrackers/brush_tracker_drag_gesture.d.ts +42 -0
  219. package/lib/component/EventsTrackers/brush_tracker_drag_gesture.d.ts.map +1 -0
  220. package/lib/component/EventsTrackers/brush_tracker_drag_gesture.js +46 -0
  221. package/lib/component/EventsTrackers/brush_tracker_drag_gesture.js.map +1 -0
  222. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts +2 -2
  223. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts.map +1 -1
  224. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js +3 -4
  225. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js.map +1 -1
  226. package/lib/component/SVGTable.d.ts.map +1 -1
  227. package/lib/component/SVGTable.js +4 -4
  228. package/lib/component/SVGTable.js.map +1 -1
  229. package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
  230. package/lib/component/assignment/AssignmentProvider.js +3 -5
  231. package/lib/component/assignment/AssignmentProvider.js.map +1 -1
  232. package/lib/component/assignment/AssignmentsContext.d.ts +3 -3
  233. package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
  234. package/lib/component/assignment/AssignmentsContext.js +3 -3
  235. package/lib/component/assignment/AssignmentsContext.js.map +1 -1
  236. package/lib/component/assignment/utilities/getAssignments.js +4 -10
  237. package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
  238. package/lib/component/context/ChartContext.d.ts +1 -1
  239. package/lib/component/context/ChartContext.d.ts.map +1 -1
  240. package/lib/component/context/ChartContext.js +3 -4
  241. package/lib/component/context/ChartContext.js.map +1 -1
  242. package/lib/component/context/CoreContext.d.ts +1 -1
  243. package/lib/component/context/CoreContext.d.ts.map +1 -1
  244. package/lib/component/context/CoreContext.js +3 -4
  245. package/lib/component/context/CoreContext.js.map +1 -1
  246. package/lib/component/context/DispatchContext.d.ts +3 -2
  247. package/lib/component/context/DispatchContext.d.ts.map +1 -1
  248. package/lib/component/context/DispatchContext.js +3 -4
  249. package/lib/component/context/DispatchContext.js.map +1 -1
  250. package/lib/component/context/FilterSyncOptionsContext.js +3 -3
  251. package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
  252. package/lib/component/context/GlobalContext.d.ts +1 -1
  253. package/lib/component/context/GlobalContext.d.ts.map +1 -1
  254. package/lib/component/context/GlobalContext.js +3 -4
  255. package/lib/component/context/GlobalContext.js.map +1 -1
  256. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  257. package/lib/component/context/KeyModifierContext.js +3 -3
  258. package/lib/component/context/KeyModifierContext.js.map +1 -1
  259. package/lib/component/context/LoaderContext.d.ts +1 -1
  260. package/lib/component/context/LoaderContext.d.ts.map +1 -1
  261. package/lib/component/context/LoaderContext.js +4 -7
  262. package/lib/component/context/LoaderContext.js.map +1 -1
  263. package/lib/component/context/LoggerContext.js +3 -3
  264. package/lib/component/context/LoggerContext.js.map +1 -1
  265. package/lib/component/context/PreferencesContext.d.ts +1 -1
  266. package/lib/component/context/PreferencesContext.d.ts.map +1 -1
  267. package/lib/component/context/PreferencesContext.js +4 -5
  268. package/lib/component/context/PreferencesContext.js.map +1 -1
  269. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  270. package/lib/component/context/ScaleContext.js +3 -3
  271. package/lib/component/context/ScaleContext.js.map +1 -1
  272. package/lib/component/context/ShareDataContext.d.ts.map +1 -1
  273. package/lib/component/context/ShareDataContext.js +3 -3
  274. package/lib/component/context/ShareDataContext.js.map +1 -1
  275. package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
  276. package/lib/component/context/SortSpectraContext.js +7 -8
  277. package/lib/component/context/SortSpectraContext.js.map +1 -1
  278. package/lib/component/context/ToasterContext.d.ts.map +1 -1
  279. package/lib/component/context/ToasterContext.js +3 -3
  280. package/lib/component/context/ToasterContext.js.map +1 -1
  281. package/lib/component/context/TopicMoleculeContext.js +3 -3
  282. package/lib/component/context/TopicMoleculeContext.js.map +1 -1
  283. package/lib/component/context/processings_mutations_context.api.d.ts +1 -1
  284. package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -1
  285. package/lib/component/context/processings_mutations_context.api.js +14 -13
  286. package/lib/component/context/processings_mutations_context.api.js.map +1 -1
  287. package/lib/component/context/processings_mutations_context.js +3 -3
  288. package/lib/component/context/processings_mutations_context.js.map +1 -1
  289. package/lib/component/elements/ActionsButtonsPopover.d.ts +1 -0
  290. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  291. package/lib/component/elements/ActionsButtonsPopover.js +24 -16
  292. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  293. package/lib/component/elements/Alert.d.ts.map +1 -1
  294. package/lib/component/elements/Alert.js +6 -4
  295. package/lib/component/elements/Alert.js.map +1 -1
  296. package/lib/component/elements/Anchor.d.ts +35 -11
  297. package/lib/component/elements/Anchor.d.ts.map +1 -1
  298. package/lib/component/elements/Anchor.js.map +1 -1
  299. package/lib/component/elements/Button.js +1 -1
  300. package/lib/component/elements/Button.js.map +1 -1
  301. package/lib/component/elements/D3Axis.d.ts +3 -2
  302. package/lib/component/elements/D3Axis.d.ts.map +1 -1
  303. package/lib/component/elements/D3Axis.js +3 -4
  304. package/lib/component/elements/D3Axis.js.map +1 -1
  305. package/lib/component/elements/DialogManager.d.ts +3 -1
  306. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  307. package/lib/component/elements/DialogManager.js +5 -5
  308. package/lib/component/elements/DialogManager.js.map +1 -1
  309. package/lib/component/elements/DraggableDialog.js +11 -11
  310. package/lib/component/elements/DraggableDialog.js.map +1 -1
  311. package/lib/component/elements/EditableColumn.d.ts +3 -2
  312. package/lib/component/elements/EditableColumn.d.ts.map +1 -1
  313. package/lib/component/elements/EditableColumn.js +12 -10
  314. package/lib/component/elements/EditableColumn.js.map +1 -1
  315. package/lib/component/elements/Footer.d.ts +9 -3
  316. package/lib/component/elements/Footer.d.ts.map +1 -1
  317. package/lib/component/elements/Footer.js.map +1 -1
  318. package/lib/component/elements/Input.d.ts +4 -3
  319. package/lib/component/elements/Input.d.ts.map +1 -1
  320. package/lib/component/elements/Input.js +9 -10
  321. package/lib/component/elements/Input.js.map +1 -1
  322. package/lib/component/elements/Input2.d.ts +4 -3
  323. package/lib/component/elements/Input2.d.ts.map +1 -1
  324. package/lib/component/elements/Input2.js +7 -9
  325. package/lib/component/elements/Input2.js.map +1 -1
  326. package/lib/component/elements/InputRange.d.ts +4 -3
  327. package/lib/component/elements/InputRange.d.ts.map +1 -1
  328. package/lib/component/elements/InputRange.js +10 -10
  329. package/lib/component/elements/InputRange.js.map +1 -1
  330. package/lib/component/elements/IsotopesViewer.js +1 -1
  331. package/lib/component/elements/IsotopesViewer.js.map +1 -1
  332. package/lib/component/elements/NumberInput2.d.ts +4 -3
  333. package/lib/component/elements/NumberInput2.d.ts.map +1 -1
  334. package/lib/component/elements/NumberInput2.js +5 -7
  335. package/lib/component/elements/NumberInput2.js.map +1 -1
  336. package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
  337. package/lib/component/elements/NumberInput2Controller.js +17 -9
  338. package/lib/component/elements/NumberInput2Controller.js.map +1 -1
  339. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  340. package/lib/component/elements/SVGGroup.js +16 -15
  341. package/lib/component/elements/SVGGroup.js.map +1 -1
  342. package/lib/component/elements/Scroller.d.ts.map +1 -1
  343. package/lib/component/elements/Scroller.js +3 -4
  344. package/lib/component/elements/Scroller.js.map +1 -1
  345. package/lib/component/elements/Sections.js +3 -3
  346. package/lib/component/elements/Sections.js.map +1 -1
  347. package/lib/component/elements/Select.d.ts +4 -3
  348. package/lib/component/elements/Select.d.ts.map +1 -1
  349. package/lib/component/elements/Select.js +3 -5
  350. package/lib/component/elements/Select.js.map +1 -1
  351. package/lib/component/elements/Select2.d.ts +3 -5
  352. package/lib/component/elements/Select2.d.ts.map +1 -1
  353. package/lib/component/elements/Select2.js +3 -4
  354. package/lib/component/elements/Select2.js.map +1 -1
  355. package/lib/component/elements/Tab/Tab.d.ts.map +1 -1
  356. package/lib/component/elements/Tab/Tab.js +2 -2
  357. package/lib/component/elements/Tab/Tab.js.map +1 -1
  358. package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
  359. package/lib/component/elements/Tab/Tabs.js +0 -2
  360. package/lib/component/elements/Tab/Tabs.js.map +1 -1
  361. package/lib/component/elements/TabsProvider.d.ts.map +1 -1
  362. package/lib/component/elements/TabsProvider.js +3 -3
  363. package/lib/component/elements/TabsProvider.js.map +1 -1
  364. package/lib/component/elements/custom-color-picker.d.ts +3 -0
  365. package/lib/component/elements/custom-color-picker.d.ts.map +1 -0
  366. package/lib/component/elements/custom-color-picker.js +158 -0
  367. package/lib/component/elements/custom-color-picker.js.map +1 -0
  368. package/lib/component/elements/draggable/useDraggable.js +4 -4
  369. package/lib/component/elements/draggable/useDraggable.js.map +1 -1
  370. package/lib/component/elements/export/ExportContent.js +1 -1
  371. package/lib/component/elements/export/ExportContent.js.map +1 -1
  372. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  373. package/lib/component/elements/export/ExportManager.js +5 -5
  374. package/lib/component/elements/export/ExportManager.js.map +1 -1
  375. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
  376. package/lib/component/elements/export/ExportSettingsProvider.js +3 -3
  377. package/lib/component/elements/export/ExportSettingsProvider.js.map +1 -1
  378. package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
  379. package/lib/component/elements/export/RenderDetector.js +1 -0
  380. package/lib/component/elements/export/RenderDetector.js.map +1 -1
  381. package/lib/component/elements/print/PrintContent.js +4 -3
  382. package/lib/component/elements/print/PrintContent.js.map +1 -1
  383. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
  384. package/lib/component/elements/print/PrintProvider.js +6 -6
  385. package/lib/component/elements/print/PrintProvider.js.map +1 -1
  386. package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
  387. package/lib/component/elements/resizer/SVGResizer.js +0 -1
  388. package/lib/component/elements/resizer/SVGResizer.js.map +1 -1
  389. package/lib/component/elements/tanstack_table/elements/table_context.d.ts +1 -1
  390. package/lib/component/elements/tanstack_table/elements/table_context.d.ts.map +1 -1
  391. package/lib/component/elements/tanstack_table/elements/table_context.js +3 -4
  392. package/lib/component/elements/tanstack_table/elements/table_context.js.map +1 -1
  393. package/lib/component/elements/tanstack_table/elements/table_header.d.ts +1 -0
  394. package/lib/component/elements/tanstack_table/elements/table_header.d.ts.map +1 -1
  395. package/lib/component/elements/tanstack_table/elements/table_header.js +2 -2
  396. package/lib/component/elements/tanstack_table/elements/table_header.js.map +1 -1
  397. package/lib/component/elements/tanstack_table/elements/table_row.d.ts +2 -2
  398. package/lib/component/elements/tanstack_table/elements/table_row.d.ts.map +1 -1
  399. package/lib/component/elements/tanstack_table/elements/table_row.js +42 -22
  400. package/lib/component/elements/tanstack_table/elements/table_row.js.map +1 -1
  401. package/lib/component/elements/tanstack_table/elements/useRowReorder.d.ts +10 -0
  402. package/lib/component/elements/tanstack_table/elements/useRowReorder.d.ts.map +1 -0
  403. package/lib/component/elements/tanstack_table/elements/useRowReorder.js +87 -0
  404. package/lib/component/elements/tanstack_table/elements/useRowReorder.js.map +1 -0
  405. package/lib/component/elements/tanstack_table/table.d.ts +6 -5
  406. package/lib/component/elements/tanstack_table/table.d.ts.map +1 -1
  407. package/lib/component/elements/tanstack_table/table.js +11 -8
  408. package/lib/component/elements/tanstack_table/table.js.map +1 -1
  409. package/lib/component/elements/tanstack_table/types.d.ts +5 -0
  410. package/lib/component/elements/tanstack_table/types.d.ts.map +1 -1
  411. package/lib/component/elements/utilities/transferStyles.d.ts.map +1 -1
  412. package/lib/component/elements/utilities/transferStyles.js +1 -3
  413. package/lib/component/elements/utilities/transferStyles.js.map +1 -1
  414. package/lib/component/header/Header.d.ts.map +1 -1
  415. package/lib/component/header/Header.js +3 -3
  416. package/lib/component/header/Header.js.map +1 -1
  417. package/lib/component/highlight/index.d.ts +8 -3
  418. package/lib/component/highlight/index.d.ts.map +1 -1
  419. package/lib/component/highlight/index.js +12 -9
  420. package/lib/component/highlight/index.js.map +1 -1
  421. package/lib/component/hooks/reduce2DSpectrum.js +2 -2
  422. package/lib/component/hooks/reduce2DSpectrum.js.map +1 -1
  423. package/lib/component/hooks/useCombinedRefs.d.ts +2 -2
  424. package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
  425. package/lib/component/hooks/useCombinedRefs.js +0 -3
  426. package/lib/component/hooks/useCombinedRefs.js.map +1 -1
  427. package/lib/component/hooks/useDialogToggle.js +1 -1
  428. package/lib/component/hooks/useDialogToggle.js.map +1 -1
  429. package/lib/component/hooks/useExport.d.ts.map +1 -1
  430. package/lib/component/hooks/useExport.js +4 -6
  431. package/lib/component/hooks/useExport.js.map +1 -1
  432. package/lib/component/hooks/usePanelPreferences.d.ts +2 -2
  433. package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
  434. package/lib/component/hooks/usePanelPreferences.js +5 -1
  435. package/lib/component/hooks/usePanelPreferences.js.map +1 -1
  436. package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -1
  437. package/lib/component/hooks/useSelectedSpectra.js +1 -1
  438. package/lib/component/hooks/useSelectedSpectra.js.map +1 -1
  439. package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
  440. package/lib/component/hooks/useTableSortBy.js +1 -1
  441. package/lib/component/hooks/useTableSortBy.js.map +1 -1
  442. package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
  443. package/lib/component/hooks/useTextMetrics.js +1 -0
  444. package/lib/component/hooks/useTextMetrics.js.map +1 -1
  445. package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -1
  446. package/lib/component/hooks/useToolsFunctions.js +8 -5
  447. package/lib/component/hooks/useToolsFunctions.js.map +1 -1
  448. package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -1
  449. package/lib/component/hooks/use_gridlines_config.js +2 -4
  450. package/lib/component/hooks/use_gridlines_config.js.map +1 -1
  451. package/lib/component/hooks/use_publication_strings.d.ts +3 -1
  452. package/lib/component/hooks/use_publication_strings.d.ts.map +1 -1
  453. package/lib/component/hooks/use_publication_strings.js +10 -6
  454. package/lib/component/hooks/use_publication_strings.js.map +1 -1
  455. package/lib/component/loader/DropZone.js +2 -2
  456. package/lib/component/loader/DropZone.js.map +1 -1
  457. package/lib/component/loader/Spinner.js +3 -3
  458. package/lib/component/loader/Spinner.js.map +1 -1
  459. package/lib/component/loader/SpinnerContext.d.ts +1 -2
  460. package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
  461. package/lib/component/loader/SpinnerContext.js +1 -2
  462. package/lib/component/loader/SpinnerContext.js.map +1 -1
  463. package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
  464. package/lib/component/loader/useLoadFiles.js +7 -9
  465. package/lib/component/loader/useLoadFiles.js.map +1 -1
  466. package/lib/component/main/InnerNMRium.d.ts +2 -2
  467. package/lib/component/main/InnerNMRium.d.ts.map +1 -1
  468. package/lib/component/main/InnerNMRium.js +15 -11
  469. package/lib/component/main/InnerNMRium.js.map +1 -1
  470. package/lib/component/main/InnerNMRiumContents.d.ts +2 -2
  471. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  472. package/lib/component/main/NMRium.d.ts +10 -2
  473. package/lib/component/main/NMRium.d.ts.map +1 -1
  474. package/lib/component/main/NMRium.js +4 -4
  475. package/lib/component/main/NMRium.js.map +1 -1
  476. package/lib/component/main/NMRiumRefAPI.d.ts +2 -2
  477. package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
  478. package/lib/component/main/NMRiumRefAPI.js.map +1 -1
  479. package/lib/component/main/NMRiumStateProvider.js +3 -3
  480. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  481. package/lib/component/main/NMRiumViewer.js +2 -1
  482. package/lib/component/main/NMRiumViewer.js.map +1 -1
  483. package/lib/component/modal/AboutPredictionModal.d.ts +1 -2
  484. package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
  485. package/lib/component/modal/AboutPredictionModal.js +1 -2
  486. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  487. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -2
  488. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
  489. package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -2
  490. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  491. package/lib/component/modal/LoadJCAMPModal.js +1 -1
  492. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  493. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  494. package/lib/component/modal/LogsHistoryModal.js +2 -2
  495. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  496. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js +1 -1
  497. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js.map +1 -1
  498. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  499. package/lib/component/modal/PredictSpectraModal.js +5 -2
  500. package/lib/component/modal/PredictSpectraModal.js.map +1 -1
  501. package/lib/component/modal/PredictionLimitModal.d.ts +10 -0
  502. package/lib/component/modal/PredictionLimitModal.d.ts.map +1 -0
  503. package/lib/component/modal/PredictionLimitModal.js +31 -0
  504. package/lib/component/modal/PredictionLimitModal.js.map +1 -0
  505. package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -2
  506. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  507. package/lib/component/modal/aboutUs/AboutUsModal.js +1 -2
  508. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
  509. package/lib/component/modal/editRange/EditRangeModal.js +4 -7
  510. package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
  511. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
  512. package/lib/component/modal/editRange/forms/components/SignalsContent.js +4 -4
  513. package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
  514. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  515. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +2 -6
  516. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  517. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +1 -1
  518. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
  519. package/lib/component/modal/editZone/SignalsForm.js +2 -2
  520. package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
  521. package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -5
  522. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  523. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +24 -0
  524. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
  525. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +3 -3
  526. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
  527. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +24 -0
  528. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
  529. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -1
  530. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +24 -0
  531. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
  532. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +14 -1
  533. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
  534. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +2 -3
  535. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
  536. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +12 -0
  537. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
  538. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +2 -0
  539. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
  540. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +12 -0
  541. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
  542. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +12 -0
  543. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
  544. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +12 -0
  545. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
  546. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +5 -2
  547. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
  548. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +12 -0
  549. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
  550. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
  551. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +3 -1
  552. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
  553. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +12 -0
  554. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
  555. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +5 -2
  556. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
  557. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +12 -0
  558. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
  559. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +12 -0
  560. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
  561. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +12 -0
  562. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
  563. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +12 -0
  564. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
  565. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js +1 -1
  566. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js.map +1 -1
  567. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +12 -0
  568. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
  569. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +2 -4
  570. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
  571. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +12 -0
  572. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -1
  573. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +2 -3
  574. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -1
  575. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +12 -0
  576. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
  577. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +2 -3
  578. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
  579. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +12 -0
  580. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
  581. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +1 -1
  582. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -1
  583. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js +1 -1
  584. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js.map +1 -1
  585. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +3 -1
  586. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -1
  587. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +9 -4
  588. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -1
  589. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts +11 -0
  590. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -1
  591. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +3 -2
  592. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -1
  593. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -0
  594. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts.map +1 -1
  595. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -0
  596. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js.map +1 -1
  597. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +12 -0
  598. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
  599. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +2 -2
  600. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -1
  601. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -2
  602. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
  603. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -2
  604. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
  605. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +6 -6
  606. package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
  607. package/lib/component/panels/IntegralsPanel/IntegralTable.js +2 -2
  608. package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
  609. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +5 -1
  610. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
  611. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +4 -3
  612. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
  613. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +6 -6
  614. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
  615. package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
  616. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +0 -1
  617. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
  618. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  619. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +5 -5
  620. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  621. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
  622. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +11 -9
  623. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
  624. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
  625. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +17 -15
  626. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
  627. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts +3 -0
  628. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts.map +1 -1
  629. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +31 -17
  630. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
  631. package/lib/component/panels/MoleculesPanel/hooks/useSignalAssignmentUpdates.d.ts +18 -0
  632. package/lib/component/panels/MoleculesPanel/hooks/useSignalAssignmentUpdates.d.ts.map +1 -0
  633. package/lib/component/panels/MoleculesPanel/hooks/useSignalAssignmentUpdates.js +113 -0
  634. package/lib/component/panels/MoleculesPanel/hooks/useSignalAssignmentUpdates.js.map +1 -0
  635. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts +2 -2
  636. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts.map +1 -1
  637. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.js.map +1 -1
  638. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts +2 -2
  639. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts.map +1 -1
  640. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js +2 -2
  641. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js.map +1 -1
  642. package/lib/component/panels/MoleculesPanel/utilities/sortAssignmentLabels.d.ts +11 -0
  643. package/lib/component/panels/MoleculesPanel/utilities/sortAssignmentLabels.d.ts.map +1 -0
  644. package/lib/component/panels/MoleculesPanel/utilities/sortAssignmentLabels.js +28 -0
  645. package/lib/component/panels/MoleculesPanel/utilities/sortAssignmentLabels.js.map +1 -0
  646. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +5 -1
  647. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
  648. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +4 -3
  649. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  650. package/lib/component/panels/PeaksPanel/peaksToTSV.js +1 -4
  651. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -1
  652. package/lib/component/panels/RangesPanel/RangesPanel.js +2 -2
  653. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
  654. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +6 -2
  655. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
  656. package/lib/component/panels/RangesPanel/RangesPreferences.js +4 -3
  657. package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
  658. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  659. package/lib/component/panels/RangesPanel/RangesTableRow.js +1 -1
  660. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  661. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +0 -1
  662. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  663. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js.map +1 -1
  664. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +0 -3
  665. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  666. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  667. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +2 -2
  668. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
  669. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +2 -2
  670. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js.map +1 -1
  671. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +1 -1
  672. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
  673. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +7 -1
  674. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
  675. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +6 -5
  676. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
  677. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  678. package/lib/component/panels/SpectraPanel/SpectraTable.js +19 -12
  679. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  680. package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -1
  681. package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
  682. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
  683. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
  684. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -1
  685. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +15 -7
  686. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
  687. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
  688. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +10 -7
  689. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
  690. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
  691. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +12 -8
  692. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
  693. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
  694. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +18 -19
  695. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  696. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
  697. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +9 -11
  698. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
  699. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
  700. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +22 -19
  701. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
  702. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
  703. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +6 -7
  704. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
  705. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +1 -3
  706. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js.map +1 -1
  707. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +2 -2
  708. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  709. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  710. package/lib/component/panels/SummaryPanel/SummaryPanel.js +10 -13
  711. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  712. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  713. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +8 -10
  714. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  715. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +1 -1
  716. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
  717. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
  718. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +40 -2
  719. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
  720. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
  721. package/lib/component/panels/ZonesPanel/ZonesPanel.js +24 -13
  722. package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
  723. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +5 -1
  724. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
  725. package/lib/component/panels/ZonesPanel/ZonesPreferences.js +4 -3
  726. package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
  727. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
  728. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
  729. package/lib/component/panels/ZonesPanel/ZonesTable.js +3 -3
  730. package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
  731. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +2 -2
  732. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  733. package/lib/component/panels/ZonesPanel/ZonesTableRow.js +4 -5
  734. package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
  735. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js +1 -1
  736. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
  737. package/lib/component/panels/accordionItems.d.ts.map +1 -1
  738. package/lib/component/panels/accordionItems.js +7 -0
  739. package/lib/component/panels/accordionItems.js.map +1 -1
  740. package/lib/component/panels/assignment-summary/AssignmentSummaryPanel.d.ts +2 -0
  741. package/lib/component/panels/assignment-summary/AssignmentSummaryPanel.d.ts.map +1 -0
  742. package/lib/component/panels/assignment-summary/AssignmentSummaryPanel.js +136 -0
  743. package/lib/component/panels/assignment-summary/AssignmentSummaryPanel.js.map +1 -0
  744. package/lib/component/panels/assignment-summary/AssignmentsExportModal.d.ts +10 -0
  745. package/lib/component/panels/assignment-summary/AssignmentsExportModal.d.ts.map +1 -0
  746. package/lib/component/panels/assignment-summary/AssignmentsExportModal.js +128 -0
  747. package/lib/component/panels/assignment-summary/AssignmentsExportModal.js.map +1 -0
  748. package/lib/component/panels/assignment-summary/MoleculeAssignmentTable.d.ts +11 -0
  749. package/lib/component/panels/assignment-summary/MoleculeAssignmentTable.d.ts.map +1 -0
  750. package/lib/component/panels/assignment-summary/MoleculeAssignmentTable.js +113 -0
  751. package/lib/component/panels/assignment-summary/MoleculeAssignmentTable.js.map +1 -0
  752. package/lib/component/panels/assignment-summary/table-cells/AssignmentAtomCell.d.ts +8 -0
  753. package/lib/component/panels/assignment-summary/table-cells/AssignmentAtomCell.d.ts.map +1 -0
  754. package/lib/component/panels/assignment-summary/table-cells/AssignmentAtomCell.js +16 -0
  755. package/lib/component/panels/assignment-summary/table-cells/AssignmentAtomCell.js.map +1 -0
  756. package/lib/component/panels/assignment-summary/table-cells/AssignmentChemicalShiftCell.d.ts +7 -0
  757. package/lib/component/panels/assignment-summary/table-cells/AssignmentChemicalShiftCell.d.ts.map +1 -0
  758. package/lib/component/panels/assignment-summary/table-cells/AssignmentChemicalShiftCell.js +22 -0
  759. package/lib/component/panels/assignment-summary/table-cells/AssignmentChemicalShiftCell.js.map +1 -0
  760. package/lib/component/panels/assignment-summary/table-cells/AssignmentCorrelationCell.d.ts +7 -0
  761. package/lib/component/panels/assignment-summary/table-cells/AssignmentCorrelationCell.d.ts.map +1 -0
  762. package/lib/component/panels/assignment-summary/table-cells/AssignmentCorrelationCell.js +5 -0
  763. package/lib/component/panels/assignment-summary/table-cells/AssignmentCorrelationCell.js.map +1 -0
  764. package/lib/component/panels/assignment-summary/table-cells/AssignmentLabelCell.d.ts +9 -0
  765. package/lib/component/panels/assignment-summary/table-cells/AssignmentLabelCell.d.ts.map +1 -0
  766. package/lib/component/panels/assignment-summary/table-cells/AssignmentLabelCell.js +10 -0
  767. package/lib/component/panels/assignment-summary/table-cells/AssignmentLabelCell.js.map +1 -0
  768. package/lib/component/panels/assignment-summary/utilities/atomGroupsToAssignmentRows.d.ts +54 -0
  769. package/lib/component/panels/assignment-summary/utilities/atomGroupsToAssignmentRows.d.ts.map +1 -0
  770. package/lib/component/panels/assignment-summary/utilities/atomGroupsToAssignmentRows.js +161 -0
  771. package/lib/component/panels/assignment-summary/utilities/atomGroupsToAssignmentRows.js.map +1 -0
  772. package/lib/component/panels/assignment-summary/utilities/exportAssignments.d.ts +19 -0
  773. package/lib/component/panels/assignment-summary/utilities/exportAssignments.d.ts.map +1 -0
  774. package/lib/component/panels/assignment-summary/utilities/exportAssignments.js +74 -0
  775. package/lib/component/panels/assignment-summary/utilities/exportAssignments.js.map +1 -0
  776. package/lib/component/panels/assignment-summary/utilities/formatAssignmentACS.d.ts +7 -0
  777. package/lib/component/panels/assignment-summary/utilities/formatAssignmentACS.d.ts.map +1 -0
  778. package/lib/component/panels/assignment-summary/utilities/formatAssignmentACS.js +28 -0
  779. package/lib/component/panels/assignment-summary/utilities/formatAssignmentACS.js.map +1 -0
  780. package/lib/component/panels/assignment-summary/utilities/formatAssignmentShifts.d.ts +12 -0
  781. package/lib/component/panels/assignment-summary/utilities/formatAssignmentShifts.d.ts.map +1 -0
  782. package/lib/component/panels/assignment-summary/utilities/formatAssignmentShifts.js +14 -0
  783. package/lib/component/panels/assignment-summary/utilities/formatAssignmentShifts.js.map +1 -0
  784. package/lib/component/panels/assignment-summary/utilities/getAssignedAtomCounts.d.ts +9 -0
  785. package/lib/component/panels/assignment-summary/utilities/getAssignedAtomCounts.d.ts.map +1 -0
  786. package/lib/component/panels/assignment-summary/utilities/getAssignedAtomCounts.js +23 -0
  787. package/lib/component/panels/assignment-summary/utilities/getAssignedAtomCounts.js.map +1 -0
  788. package/lib/component/panels/assignment-summary/utilities/getAssignmentSignals.d.ts +7 -0
  789. package/lib/component/panels/assignment-summary/utilities/getAssignmentSignals.d.ts.map +1 -0
  790. package/lib/component/panels/assignment-summary/utilities/getAssignmentSignals.js +41 -0
  791. package/lib/component/panels/assignment-summary/utilities/getAssignmentSignals.js.map +1 -0
  792. package/lib/component/panels/assignment-summary/utilities/getLinkedCorrelationsByExperiment.d.ts +18 -0
  793. package/lib/component/panels/assignment-summary/utilities/getLinkedCorrelationsByExperiment.d.ts.map +1 -0
  794. package/lib/component/panels/assignment-summary/utilities/getLinkedCorrelationsByExperiment.js +121 -0
  795. package/lib/component/panels/assignment-summary/utilities/getLinkedCorrelationsByExperiment.js.map +1 -0
  796. package/lib/component/panels/assignment-summary/utilities/getSignalsByNucleus.d.ts +16 -0
  797. package/lib/component/panels/assignment-summary/utilities/getSignalsByNucleus.d.ts.map +1 -0
  798. package/lib/component/panels/assignment-summary/utilities/getSignalsByNucleus.js +53 -0
  799. package/lib/component/panels/assignment-summary/utilities/getSignalsByNucleus.js.map +1 -0
  800. package/lib/component/panels/assignment-summary/utilities/types.d.ts +39 -0
  801. package/lib/component/panels/assignment-summary/utilities/types.d.ts.map +1 -0
  802. package/lib/component/panels/assignment-summary/utilities/types.js +2 -0
  803. package/lib/component/panels/assignment-summary/utilities/types.js.map +1 -0
  804. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
  805. package/lib/component/panels/databasePanel/DatabaseInfo.js +2 -0
  806. package/lib/component/panels/databasePanel/DatabaseInfo.js.map +1 -1
  807. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  808. package/lib/component/panels/databasePanel/DatabasePanel.js +5 -4
  809. package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
  810. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +6 -2
  811. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
  812. package/lib/component/panels/databasePanel/DatabasePreferences.js +4 -3
  813. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
  814. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  815. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +1 -1
  816. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
  817. package/lib/component/panels/databasePanel/DatabaseTable.js +1 -1
  818. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  819. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +2 -2
  820. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
  821. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +1 -1
  822. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
  823. package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
  824. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +2 -2
  825. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  826. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +12 -12
  827. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
  828. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
  829. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -2
  830. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
  831. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
  832. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +0 -2
  833. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  834. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
  835. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -5
  836. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  837. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
  838. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +3 -5
  839. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
  840. package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts +6 -0
  841. package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts.map +1 -1
  842. package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js +2 -2
  843. package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js.map +1 -1
  844. package/lib/component/panels/filtersPanel/processings/processing_item.d.ts.map +1 -1
  845. package/lib/component/panels/filtersPanel/processings/processing_item.js +1 -1
  846. package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -1
  847. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  848. package/lib/component/panels/header/DefaultPanelHeader.js +1 -1
  849. package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
  850. package/lib/component/panels/hooks/useGetPanelOptions.js +5 -5
  851. package/lib/component/panels/hooks/useGetPanelOptions.js.map +1 -1
  852. package/lib/component/panels/informationPanel/SpectraPicker.js +1 -1
  853. package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -1
  854. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  855. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +22 -17
  856. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
  857. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +1 -1
  858. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  859. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts +5 -2
  860. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
  861. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +4 -5
  862. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  863. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +4 -2
  864. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
  865. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +4 -8
  866. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
  867. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  868. package/lib/component/panels/predictionPanel/PredictionPanel.js +9 -7
  869. package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
  870. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +6 -2
  871. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
  872. package/lib/component/panels/predictionPanel/PredictionPreferences.js +4 -3
  873. package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
  874. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts +5 -2
  875. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts.map +1 -1
  876. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js +2 -3
  877. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
  878. package/lib/component/reducer/IgnoreActions.d.ts +1 -2
  879. package/lib/component/reducer/IgnoreActions.d.ts.map +1 -1
  880. package/lib/component/reducer/IgnoreActions.js +2 -5
  881. package/lib/component/reducer/IgnoreActions.js.map +1 -1
  882. package/lib/component/reducer/Reducer.d.ts +1 -1
  883. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  884. package/lib/component/reducer/Reducer.js +16 -2
  885. package/lib/component/reducer/Reducer.js.map +1 -1
  886. package/lib/component/reducer/actions/CorrelationsActions.d.ts +1 -1
  887. package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
  888. package/lib/component/reducer/actions/CorrelationsActions.js +15 -34
  889. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
  890. package/lib/component/reducer/actions/DomainActions.js +4 -4
  891. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  892. package/lib/component/reducer/actions/FiltersActions.d.ts +43 -43
  893. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  894. package/lib/component/reducer/actions/FiltersActions.js +53 -54
  895. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  896. package/lib/component/reducer/actions/InsetActions.js +1 -1
  897. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  898. package/lib/component/reducer/actions/LinkedSignalsActions.d.ts +29 -0
  899. package/lib/component/reducer/actions/LinkedSignalsActions.d.ts.map +1 -0
  900. package/lib/component/reducer/actions/LinkedSignalsActions.js +62 -0
  901. package/lib/component/reducer/actions/LinkedSignalsActions.js.map +1 -0
  902. package/lib/component/reducer/actions/LoadAction.d.ts +1 -1
  903. package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
  904. package/lib/component/reducer/actions/LoadAction.js +37 -71
  905. package/lib/component/reducer/actions/LoadAction.js.map +1 -1
  906. package/lib/component/reducer/actions/MoleculeActions.d.ts +19 -40
  907. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  908. package/lib/component/reducer/actions/MoleculeActions.js +92 -28
  909. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  910. package/lib/component/reducer/actions/PeaksActions.d.ts +11 -11
  911. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  912. package/lib/component/reducer/actions/PeaksActions.js +12 -14
  913. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  914. package/lib/component/reducer/actions/PreferencesActions.d.ts +4 -4
  915. package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
  916. package/lib/component/reducer/actions/PreferencesActions.js +4 -5
  917. package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
  918. package/lib/component/reducer/actions/RangesActions.d.ts +2 -8
  919. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  920. package/lib/component/reducer/actions/RangesActions.js +4 -42
  921. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  922. package/lib/component/reducer/actions/SpectraActions.d.ts +20 -16
  923. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  924. package/lib/component/reducer/actions/SpectraActions.js +35 -30
  925. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  926. package/lib/component/reducer/actions/ToolsActions.d.ts +18 -18
  927. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  928. package/lib/component/reducer/actions/ToolsActions.js +28 -19
  929. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  930. package/lib/component/reducer/actions/ZonesActions.d.ts +20 -6
  931. package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
  932. package/lib/component/reducer/actions/ZonesActions.js +78 -35
  933. package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
  934. package/lib/component/reducer/actions/processings_actions.d.ts +1 -1
  935. package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -1
  936. package/lib/component/reducer/actions/processings_actions.js +9 -9
  937. package/lib/component/reducer/actions/processings_actions.js.map +1 -1
  938. package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
  939. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
  940. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +19 -1
  941. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  942. package/lib/component/reducer/helper/ZoomHistoryManager.js +19 -1
  943. package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
  944. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +3 -2
  945. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  946. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +7 -6
  947. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  948. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
  949. package/lib/component/toolbar/ToolTypes.js +15 -0
  950. package/lib/component/toolbar/ToolTypes.js.map +1 -1
  951. package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
  952. package/lib/component/toolbar/nmr_toolbar.js +15 -7
  953. package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
  954. package/lib/component/useWatchForm.d.ts.map +1 -1
  955. package/lib/component/useWatchForm.js +0 -1
  956. package/lib/component/useWatchForm.js.map +1 -1
  957. package/lib/component/utility/Events.d.ts +4 -4
  958. package/lib/component/utility/Events.d.ts.map +1 -1
  959. package/lib/component/utility/Events.js +0 -1
  960. package/lib/component/utility/Events.js.map +1 -1
  961. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.d.ts.map +1 -1
  962. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.js +62 -4
  963. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.js.map +1 -1
  964. package/lib/component/utility/core_slots/core_operator_chart_svg.d.ts.map +1 -1
  965. package/lib/component/utility/core_slots/core_operator_chart_svg.js +2 -2
  966. package/lib/component/utility/core_slots/core_operator_chart_svg.js.map +1 -1
  967. package/lib/component/utility/export.d.ts.map +1 -1
  968. package/lib/component/utility/export.js +15 -18
  969. package/lib/component/utility/export.js.map +1 -1
  970. package/lib/component/workspaces/assignment.d.ts.map +1 -1
  971. package/lib/component/workspaces/assignment.js +5 -3
  972. package/lib/component/workspaces/assignment.js.map +1 -1
  973. package/lib/component/workspaces/basic.d.ts.map +1 -1
  974. package/lib/component/workspaces/basic.js +7 -5
  975. package/lib/component/workspaces/basic.js.map +1 -1
  976. package/lib/component/workspaces/embedded.d.ts.map +1 -1
  977. package/lib/component/workspaces/embedded.js +1 -0
  978. package/lib/component/workspaces/embedded.js.map +1 -1
  979. package/lib/component/workspaces/prediction.d.ts.map +1 -1
  980. package/lib/component/workspaces/prediction.js +1 -0
  981. package/lib/component/workspaces/prediction.js.map +1 -1
  982. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  983. package/lib/component/workspaces/workspaceDefaultProperties.js +2 -0
  984. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  985. package/lib/data/PredictionManager.d.ts +5 -0
  986. package/lib/data/PredictionManager.d.ts.map +1 -1
  987. package/lib/data/PredictionManager.js +18 -9
  988. package/lib/data/PredictionManager.js.map +1 -1
  989. package/lib/data/SpectraManager.d.ts +3 -1
  990. package/lib/data/SpectraManager.d.ts.map +1 -1
  991. package/lib/data/SpectraManager.js +1 -1
  992. package/lib/data/SpectraManager.js.map +1 -1
  993. package/lib/data/constants/Multiplets.js +2 -2
  994. package/lib/data/constants/Multiplets.js.map +1 -1
  995. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.d.ts.map +1 -1
  996. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js +7 -4
  997. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js.map +1 -1
  998. package/lib/data/data1d/Spectrum1D/generateJGraphData.d.ts.map +1 -1
  999. package/lib/data/data1d/Spectrum1D/generateJGraphData.js +9 -9
  1000. package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
  1001. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -2
  1002. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
  1003. package/lib/data/data1d/database.js +3 -3
  1004. package/lib/data/data1d/database.js.map +1 -1
  1005. package/lib/data/data1d/multipleSpectraAnalysis.js +7 -7
  1006. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  1007. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  1008. package/lib/data/data2d/Spectrum2D/contours.js +4 -3
  1009. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  1010. package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js +1 -1
  1011. package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js.map +1 -1
  1012. package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts.map +1 -1
  1013. package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js +2 -2
  1014. package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js.map +1 -1
  1015. package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js +1 -2
  1016. package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js.map +1 -1
  1017. package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js +2 -2
  1018. package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js.map +1 -1
  1019. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
  1020. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +1 -0
  1021. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  1022. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js +1 -1
  1023. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js +9 -10
  1024. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -1
  1025. package/lib/data/matrixGeneration.d.ts.map +1 -1
  1026. package/lib/data/matrixGeneration.js +3 -6
  1027. package/lib/data/matrixGeneration.js.map +1 -1
  1028. package/lib/data/molecules/Molecule.d.ts +1 -0
  1029. package/lib/data/molecules/Molecule.d.ts.map +1 -1
  1030. package/lib/data/molecules/Molecule.js +18 -3
  1031. package/lib/data/molecules/Molecule.js.map +1 -1
  1032. package/lib/data/molecules/MoleculeManager.d.ts +5 -2
  1033. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  1034. package/lib/data/molecules/MoleculeManager.js +10 -7
  1035. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  1036. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  1037. package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -1
  1038. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  1039. package/lib/data/utilities/RangeUtilities.d.ts +1 -1
  1040. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
  1041. package/lib/data/utilities/ZoneUtilities.d.ts +1 -1
  1042. package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
  1043. package/lib/data/utilities/ZoneUtilities.js +7 -31
  1044. package/lib/data/utilities/ZoneUtilities.js.map +1 -1
  1045. package/lib/data/utilities/generateNumbersPowerOfX.js +1 -1
  1046. package/lib/data/utilities/generateNumbersPowerOfX.js.map +1 -1
  1047. package/lib/utils/clipboard/clipboardHooks.d.ts +3 -1
  1048. package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
  1049. package/lib/utils/clipboard/clipboardHooks.js +15 -9
  1050. package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
  1051. package/lib/versionInfo.js +1 -1
  1052. package/package.json +56 -55
  1053. package/src/component/1d/BrushTracker1D.tsx +156 -151
  1054. package/src/component/1d/ExclusionZoneAnnotation.tsx +1 -1
  1055. package/src/component/1d/ExclusionZonesAnnotations.tsx +2 -2
  1056. package/src/component/1d/FloatPublicationString.tsx +65 -55
  1057. package/src/component/1d/FooterBanner.tsx +4 -4
  1058. package/src/component/1d/Line.tsx +1 -1
  1059. package/src/component/1d/SimilarityTree.tsx +2 -2
  1060. package/src/component/1d/SpectraLegends.tsx +6 -7
  1061. package/src/component/1d/baseline/BaselinePreview.tsx +5 -5
  1062. package/src/component/1d/database/DatabaseElements.tsx +1 -3
  1063. package/src/component/1d/database/DatabaseSpectrum.tsx +3 -3
  1064. package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +2 -2
  1065. package/src/component/1d/inset/DraggableInset.tsx +4 -4
  1066. package/src/component/1d/inset/InsetProvider.tsx +4 -6
  1067. package/src/component/1d/inset/InsetViewerRoot.tsx +4 -4
  1068. package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
  1069. package/src/component/1d/jCouplingGraph/JGraph.tsx +3 -3
  1070. package/src/component/1d/jCouplingGraph/JGraphContext.tsx +3 -5
  1071. package/src/component/1d/jCouplingGraph/JsCouplingLinks.tsx +4 -5
  1072. package/src/component/1d/jCouplingGraph/JsCouplings.tsx +1 -1
  1073. package/src/component/1d/matrix/Stocsy.tsx +1 -2
  1074. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -1
  1075. package/src/component/1d/peaks/PeakEditionManager.tsx +7 -14
  1076. package/src/component/1d/peaks/Peaks.tsx +14 -32
  1077. package/src/component/1d/plugin_chart_brush_tracker.tsx +2 -0
  1078. package/src/component/1d/plugin_svg_chart.tsx +20 -1
  1079. package/src/component/1d/ranges/AssignmentLabel.tsx +4 -3
  1080. package/src/component/1d/ranges/Atoms.tsx +19 -19
  1081. package/src/component/1d/ranges/FloatingRanges.tsx +14 -15
  1082. package/src/component/1d/ranges/Range.tsx +1 -2
  1083. package/src/component/1d/ranges/RangesIntegrals.tsx +7 -10
  1084. package/src/component/1d/tool/BaseLine.tsx +4 -4
  1085. package/src/component/1d-2d/FieldEdition.tsx +14 -4
  1086. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +3 -3
  1087. package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +3 -10
  1088. package/src/component/1d-2d/components/RangeIndicator.tsx +4 -3
  1089. package/src/component/1d-2d/components/SVGRootContainer.tsx +2 -6
  1090. package/src/component/1d-2d/components/Signals1D.tsx +3 -3
  1091. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +32 -24
  1092. package/src/component/1d-2d/tools/BrushXY.tsx +2 -2
  1093. package/src/component/1d-2d/tools/CursorToolIcon.tsx +1 -3
  1094. package/src/component/1d-2d/tools/DistanceLine.tsx +2 -4
  1095. package/src/component/2d/1d-tracer/HorizontalSliceChart.tsx +6 -1
  1096. package/src/component/2d/1d-tracer/Left1DChart.tsx +1 -5
  1097. package/src/component/2d/1d-tracer/Ranges1D.tsx +0 -1
  1098. package/src/component/2d/1d-tracer/Top1DChart.tsx +6 -9
  1099. package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +6 -1
  1100. package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +4 -2
  1101. package/src/component/2d/BrushTracker2D.tsx +9 -2
  1102. package/src/component/2d/FooterBanner.tsx +3 -2
  1103. package/src/component/2d/IndirectAxis2D.tsx +1 -1
  1104. package/src/component/2d/SVGContent2D.tsx +2 -0
  1105. package/src/component/2d/SignalDeltaLine.tsx +8 -2
  1106. package/src/component/2d/SlicingView.tsx +2 -2
  1107. package/src/component/2d/Viewer2D.tsx +2 -2
  1108. package/src/component/2d/linked-signals/LinkedSignal.tsx +68 -0
  1109. package/src/component/2d/linked-signals/LinkedSignalAssignmentLabel.tsx +248 -0
  1110. package/src/component/2d/linked-signals/LinkedSignals.tsx +56 -0
  1111. package/src/component/2d/linked-signals/SignalCrossingIndicator.tsx +63 -0
  1112. package/src/component/2d/linked-signals/useClassifyCorrelation.ts +24 -0
  1113. package/src/component/2d/linked-signals/useNearestSignalCrossing.ts +68 -0
  1114. package/src/component/2d/linked-signals/utilities/getCorrelationColor.ts +46 -0
  1115. package/src/component/2d/linked-signals/utilities/getCouplingLength.ts +58 -0
  1116. package/src/component/2d/linked-signals/utilities/signalCrossings.ts +167 -0
  1117. package/src/component/2d/tools/PivotIndicator.tsx +1 -3
  1118. package/src/component/2d/utilities/extractSpectrumSignals.ts +22 -0
  1119. package/src/component/2d/utilities/scale.ts +1 -1
  1120. package/src/component/2d/utilities/useAssignmentLabelLinkPath.ts +138 -0
  1121. package/src/component/2d/zones/SignalsGuideLines.tsx +15 -8
  1122. package/src/component/2d/zones/Zone.tsx +61 -4
  1123. package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +28 -210
  1124. package/src/component/EventsTrackers/BrushTracker.tsx +149 -39
  1125. package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -0
  1126. package/src/component/EventsTrackers/MouseTracker.tsx +6 -7
  1127. package/src/component/EventsTrackers/brush_tracker.types.ts +55 -4
  1128. package/src/component/EventsTrackers/brush_tracker_drag_gesture.ts +84 -0
  1129. package/src/component/EventsTrackers/brush_tracker_events_listeners.ts +10 -7
  1130. package/src/component/SVGTable.tsx +6 -5
  1131. package/src/component/assignment/AssignmentProvider.tsx +5 -11
  1132. package/src/component/assignment/AssignmentsContext.ts +7 -4
  1133. package/src/component/assignment/utilities/getAssignments.ts +4 -9
  1134. package/src/component/context/ChartContext.tsx +3 -4
  1135. package/src/component/context/CoreContext.tsx +4 -4
  1136. package/src/component/context/DispatchContext.tsx +5 -5
  1137. package/src/component/context/FilterSyncOptionsContext.tsx +4 -4
  1138. package/src/component/context/GlobalContext.tsx +3 -5
  1139. package/src/component/context/KeyModifierContext.tsx +3 -7
  1140. package/src/component/context/LoaderContext.tsx +4 -9
  1141. package/src/component/context/LoggerContext.tsx +4 -4
  1142. package/src/component/context/PreferencesContext.tsx +6 -5
  1143. package/src/component/context/ScaleContext.tsx +3 -5
  1144. package/src/component/context/ShareDataContext.tsx +3 -7
  1145. package/src/component/context/SortSpectraContext.tsx +7 -20
  1146. package/src/component/context/ToasterContext.tsx +3 -5
  1147. package/src/component/context/TopicMoleculeContext.tsx +4 -4
  1148. package/src/component/context/processings_mutations_context.api.ts +18 -11
  1149. package/src/component/context/processings_mutations_context.tsx +4 -4
  1150. package/src/component/elements/ActionsButtonsPopover.tsx +35 -15
  1151. package/src/component/elements/Alert.tsx +4 -5
  1152. package/src/component/elements/Anchor.tsx +42 -13
  1153. package/src/component/elements/Button.tsx +1 -1
  1154. package/src/component/elements/D3Axis.tsx +65 -66
  1155. package/src/component/elements/DialogManager.tsx +10 -10
  1156. package/src/component/elements/DraggableDialog.tsx +11 -12
  1157. package/src/component/elements/EditableColumn.tsx +16 -17
  1158. package/src/component/elements/Footer.tsx +9 -3
  1159. package/src/component/elements/Input.tsx +101 -107
  1160. package/src/component/elements/Input2.tsx +17 -21
  1161. package/src/component/elements/InputRange.tsx +11 -11
  1162. package/src/component/elements/IsotopesViewer.tsx +1 -1
  1163. package/src/component/elements/NumberInput2.tsx +9 -18
  1164. package/src/component/elements/NumberInput2Controller.tsx +23 -10
  1165. package/src/component/elements/SVGGroup.tsx +18 -15
  1166. package/src/component/elements/Scroller.tsx +3 -5
  1167. package/src/component/elements/Sections.tsx +4 -4
  1168. package/src/component/elements/Select.tsx +5 -10
  1169. package/src/component/elements/Select2.tsx +5 -10
  1170. package/src/component/elements/Tab/Tab.tsx +2 -2
  1171. package/src/component/elements/Tab/Tabs.tsx +0 -2
  1172. package/src/component/elements/TabsProvider.tsx +3 -5
  1173. package/src/component/elements/custom-color-picker.tsx +230 -0
  1174. package/src/component/elements/draggable/useDraggable.ts +4 -4
  1175. package/src/component/elements/export/ExportContent.tsx +1 -0
  1176. package/src/component/elements/export/ExportManager.tsx +5 -9
  1177. package/src/component/elements/export/ExportSettingsProvider.tsx +3 -5
  1178. package/src/component/elements/export/RenderDetector.tsx +1 -0
  1179. package/src/component/elements/print/PrintContent.tsx +4 -2
  1180. package/src/component/elements/print/PrintProvider.tsx +6 -8
  1181. package/src/component/elements/resizer/SVGResizer.tsx +0 -1
  1182. package/src/component/elements/tanstack_table/elements/table_context.ts +4 -5
  1183. package/src/component/elements/tanstack_table/elements/table_header.tsx +3 -1
  1184. package/src/component/elements/tanstack_table/elements/table_row.tsx +49 -5
  1185. package/src/component/elements/tanstack_table/elements/useRowReorder.ts +130 -0
  1186. package/src/component/elements/tanstack_table/table.tsx +22 -10
  1187. package/src/component/elements/tanstack_table/types.ts +11 -0
  1188. package/src/component/elements/utilities/transferStyles.ts +1 -3
  1189. package/src/component/header/Header.tsx +5 -4
  1190. package/src/component/highlight/index.tsx +26 -16
  1191. package/src/component/hooks/reduce2DSpectrum.ts +2 -2
  1192. package/src/component/hooks/useCombinedRefs.ts +2 -5
  1193. package/src/component/hooks/useDialogToggle.ts +1 -1
  1194. package/src/component/hooks/useExport.tsx +4 -6
  1195. package/src/component/hooks/usePanelPreferences.ts +15 -5
  1196. package/src/component/hooks/useSelectedSpectra.ts +1 -2
  1197. package/src/component/hooks/useTableSortBy.tsx +2 -1
  1198. package/src/component/hooks/useTextMetrics.ts +1 -0
  1199. package/src/component/hooks/useToolsFunctions.ts +8 -4
  1200. package/src/component/hooks/use_gridlines_config.ts +2 -4
  1201. package/src/component/hooks/use_publication_strings.ts +19 -7
  1202. package/src/component/loader/DropZone.tsx +3 -3
  1203. package/src/component/loader/Spinner.tsx +3 -3
  1204. package/src/component/loader/SpinnerContext.tsx +1 -3
  1205. package/src/component/loader/useLoadFiles.ts +8 -9
  1206. package/src/component/main/InnerNMRium.tsx +30 -25
  1207. package/src/component/main/InnerNMRiumContents.tsx +2 -2
  1208. package/src/component/main/NMRium.tsx +12 -8
  1209. package/src/component/main/NMRiumRefAPI.ts +2 -2
  1210. package/src/component/main/NMRiumStateProvider.tsx +6 -6
  1211. package/src/component/main/NMRiumViewer.tsx +3 -1
  1212. package/src/component/modal/AboutPredictionModal.tsx +1 -3
  1213. package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -3
  1214. package/src/component/modal/LoadJCAMPModal.tsx +1 -1
  1215. package/src/component/modal/LogsHistoryModal.tsx +4 -2
  1216. package/src/component/modal/MoleculeAutoLabelsDatabaseModal.tsx +1 -1
  1217. package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
  1218. package/src/component/modal/PredictSpectraModal.tsx +8 -2
  1219. package/src/component/modal/PredictionLimitModal.tsx +88 -0
  1220. package/src/component/modal/PublicationStringModal.tsx +1 -1
  1221. package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -3
  1222. package/src/component/modal/editRange/EditRangeModal.tsx +8 -7
  1223. package/src/component/modal/editRange/forms/components/SignalsContent.tsx +4 -8
  1224. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +3 -13
  1225. package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +1 -1
  1226. package/src/component/modal/editZone/SignalsForm.tsx +2 -2
  1227. package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -6
  1228. package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +4 -4
  1229. package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +1 -0
  1230. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +2 -3
  1231. package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +5 -2
  1232. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +3 -1
  1233. package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +5 -2
  1234. package/src/component/modal/setting/tanstack_general_settings/tabs/panels_tab.tsx +6 -0
  1235. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +2 -4
  1236. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +2 -3
  1237. package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +2 -3
  1238. package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +3 -0
  1239. package/src/component/modal/setting/tanstack_general_settings/ui/table_section.tsx +2 -2
  1240. package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +9 -4
  1241. package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +3 -5
  1242. package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -0
  1243. package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +7 -9
  1244. package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -3
  1245. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +6 -6
  1246. package/src/component/panels/IntegralsPanel/IntegralTable.tsx +2 -2
  1247. package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +67 -64
  1248. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
  1249. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +0 -1
  1250. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +8 -6
  1251. package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +14 -12
  1252. package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +26 -15
  1253. package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +57 -20
  1254. package/src/component/panels/MoleculesPanel/hooks/useSignalAssignmentUpdates.ts +191 -0
  1255. package/src/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.ts +4 -2
  1256. package/src/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.ts +4 -4
  1257. package/src/component/panels/MoleculesPanel/utilities/sortAssignmentLabels.ts +29 -0
  1258. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +86 -82
  1259. package/src/component/panels/PeaksPanel/peaksToTSV.ts +4 -4
  1260. package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
  1261. package/src/component/panels/RangesPanel/RangesPreferences.tsx +52 -46
  1262. package/src/component/panels/RangesPanel/RangesTableRow.tsx +1 -6
  1263. package/src/component/panels/RangesPanel/TableColumns/ActionsColumn.tsx +0 -1
  1264. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +1 -5
  1265. package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +2 -2
  1266. package/src/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.tsx +2 -2
  1267. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +1 -1
  1268. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +11 -11
  1269. package/src/component/panels/SpectraPanel/SpectraTable.tsx +22 -14
  1270. package/src/component/panels/SpectraPanel/SpectraTabs.tsx +2 -2
  1271. package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +3 -2
  1272. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +46 -27
  1273. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +12 -10
  1274. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +38 -29
  1275. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +54 -59
  1276. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +9 -11
  1277. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +24 -22
  1278. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +8 -12
  1279. package/src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx +3 -3
  1280. package/src/component/panels/SummaryPanel/Overview.tsx +1 -1
  1281. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
  1282. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +5 -9
  1283. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +4 -8
  1284. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -1
  1285. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +59 -3
  1286. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +26 -17
  1287. package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +62 -58
  1288. package/src/component/panels/ZonesPanel/ZonesTable.tsx +8 -16
  1289. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +5 -25
  1290. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +1 -1
  1291. package/src/component/panels/accordionItems.tsx +7 -0
  1292. package/src/component/panels/assignment-summary/AssignmentSummaryPanel.tsx +263 -0
  1293. package/src/component/panels/assignment-summary/AssignmentsExportModal.tsx +249 -0
  1294. package/src/component/panels/assignment-summary/MoleculeAssignmentTable.tsx +223 -0
  1295. package/src/component/panels/assignment-summary/table-cells/AssignmentAtomCell.tsx +36 -0
  1296. package/src/component/panels/assignment-summary/table-cells/AssignmentChemicalShiftCell.tsx +57 -0
  1297. package/src/component/panels/assignment-summary/table-cells/AssignmentCorrelationCell.tsx +23 -0
  1298. package/src/component/panels/assignment-summary/table-cells/AssignmentLabelCell.tsx +16 -0
  1299. package/src/component/panels/assignment-summary/utilities/atomGroupsToAssignmentRows.ts +254 -0
  1300. package/src/component/panels/assignment-summary/utilities/exportAssignments.ts +135 -0
  1301. package/src/component/panels/assignment-summary/utilities/formatAssignmentACS.ts +35 -0
  1302. package/src/component/panels/assignment-summary/utilities/formatAssignmentShifts.ts +26 -0
  1303. package/src/component/panels/assignment-summary/utilities/getAssignedAtomCounts.ts +32 -0
  1304. package/src/component/panels/assignment-summary/utilities/getAssignmentSignals.ts +55 -0
  1305. package/src/component/panels/assignment-summary/utilities/getLinkedCorrelationsByExperiment.ts +175 -0
  1306. package/src/component/panels/assignment-summary/utilities/getSignalsByNucleus.ts +60 -0
  1307. package/src/component/panels/assignment-summary/utilities/types.ts +47 -0
  1308. package/src/component/panels/databasePanel/DatabaseInfo.tsx +2 -0
  1309. package/src/component/panels/databasePanel/DatabasePanel.tsx +9 -6
  1310. package/src/component/panels/databasePanel/DatabasePreferences.tsx +118 -114
  1311. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +3 -4
  1312. package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
  1313. package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +2 -2
  1314. package/src/component/panels/extra/utilities/settingImperativeHandle.ts +1 -1
  1315. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +2 -2
  1316. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +15 -15
  1317. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -4
  1318. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +0 -2
  1319. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +3 -6
  1320. package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +4 -6
  1321. package/src/component/panels/filtersPanel/processings/operator_edit_banner.tsx +8 -1
  1322. package/src/component/panels/filtersPanel/processings/processing_item.tsx +2 -1
  1323. package/src/component/panels/header/DefaultPanelHeader.tsx +4 -3
  1324. package/src/component/panels/hooks/useGetPanelOptions.ts +6 -6
  1325. package/src/component/panels/informationPanel/SpectraPicker.tsx +1 -1
  1326. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +29 -26
  1327. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +1 -1
  1328. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +12 -10
  1329. package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +113 -142
  1330. package/src/component/panels/predictionPanel/PredictionPanel.tsx +11 -7
  1331. package/src/component/panels/predictionPanel/PredictionPreferences.tsx +42 -36
  1332. package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +7 -6
  1333. package/src/component/reducer/IgnoreActions.ts +2 -5
  1334. package/src/component/reducer/Reducer.ts +26 -6
  1335. package/src/component/reducer/actions/CorrelationsActions.ts +18 -34
  1336. package/src/component/reducer/actions/DomainActions.ts +4 -4
  1337. package/src/component/reducer/actions/FiltersActions.ts +81 -111
  1338. package/src/component/reducer/actions/InsetActions.ts +1 -1
  1339. package/src/component/reducer/actions/LinkedSignalsActions.ts +128 -0
  1340. package/src/component/reducer/actions/LoadAction.ts +50 -91
  1341. package/src/component/reducer/actions/MoleculeActions.ts +163 -44
  1342. package/src/component/reducer/actions/PeaksActions.ts +20 -26
  1343. package/src/component/reducer/actions/PreferencesActions.ts +4 -10
  1344. package/src/component/reducer/actions/RangesActions.ts +4 -84
  1345. package/src/component/reducer/actions/SpectraActions.ts +52 -47
  1346. package/src/component/reducer/actions/ToolsActions.ts +48 -38
  1347. package/src/component/reducer/actions/ZonesActions.ts +125 -37
  1348. package/src/component/reducer/actions/processings_actions.ts +10 -10
  1349. package/src/component/reducer/helper/Zoom1DManager.ts +2 -2
  1350. package/src/component/reducer/helper/ZoomHistoryManager.ts +41 -1
  1351. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +12 -8
  1352. package/src/component/toolbar/ToolTypes.ts +15 -0
  1353. package/src/component/toolbar/nmr_toolbar.tsx +17 -21
  1354. package/src/component/useWatchForm.tsx +0 -1
  1355. package/src/component/utility/Events.tsx +1 -3
  1356. package/src/component/utility/core_slots/core_operator_chart_brush.commons.ts +99 -3
  1357. package/src/component/utility/core_slots/core_operator_chart_svg.tsx +4 -0
  1358. package/src/component/utility/export.ts +17 -20
  1359. package/src/component/workspaces/assignment.ts +5 -3
  1360. package/src/component/workspaces/basic.ts +7 -5
  1361. package/src/component/workspaces/embedded.ts +1 -0
  1362. package/src/component/workspaces/prediction.ts +1 -0
  1363. package/src/component/workspaces/workspaceDefaultProperties.ts +2 -0
  1364. package/src/data/PredictionManager.ts +18 -13
  1365. package/src/data/SpectraManager.ts +4 -2
  1366. package/src/data/constants/Multiplets.ts +2 -2
  1367. package/src/data/data1d/Spectrum1D/convertDataToFloat64Array.ts +7 -4
  1368. package/src/data/data1d/Spectrum1D/generateJGraphData.ts +8 -9
  1369. package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -2
  1370. package/src/data/data1d/database.ts +3 -3
  1371. package/src/data/data1d/multipleSpectraAnalysis.ts +7 -7
  1372. package/src/data/data2d/Spectrum2D/contours.ts +20 -20
  1373. package/src/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.ts +1 -1
  1374. package/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts +3 -2
  1375. package/src/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.ts +1 -2
  1376. package/src/data/data2d/Spectrum2D/findBestMinContour/math.ts +2 -2
  1377. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -0
  1378. package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +1 -1
  1379. package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +7 -8
  1380. package/src/data/matrixGeneration.ts +3 -6
  1381. package/src/data/molecules/Molecule.ts +22 -6
  1382. package/src/data/molecules/MoleculeManager.ts +11 -9
  1383. package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -3
  1384. package/src/data/utilities/RangeUtilities.ts +3 -3
  1385. package/src/data/utilities/ZoneUtilities.ts +8 -34
  1386. package/src/data/utilities/generateNumbersPowerOfX.ts +2 -2
  1387. package/src/utils/clipboard/clipboardHooks.ts +19 -16
  1388. package/src/versionInfo.ts +1 -1
  1389. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +0 -9
  1390. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +0 -1
  1391. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +0 -80
  1392. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +0 -1
  1393. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +0 -7
  1394. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +0 -1
  1395. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +0 -7
  1396. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js.map +0 -1
  1397. package/lib/component/utility/colorToHexWithAlpha.d.ts +0 -10
  1398. package/lib/component/utility/colorToHexWithAlpha.d.ts.map +0 -1
  1399. package/lib/component/utility/colorToHexWithAlpha.js +0 -5
  1400. package/lib/component/utility/colorToHexWithAlpha.js.map +0 -1
  1401. package/lib/component/utility/forwardRef.d.ts +0 -3
  1402. package/lib/component/utility/forwardRef.d.ts.map +0 -1
  1403. package/lib/component/utility/forwardRef.js +0 -6
  1404. package/lib/component/utility/forwardRef.js.map +0 -1
  1405. package/lib/utils/clipboard/clipboard.d.ts +0 -15
  1406. package/lib/utils/clipboard/clipboard.d.ts.map +0 -1
  1407. package/lib/utils/clipboard/clipboard.js +0 -19
  1408. package/lib/utils/clipboard/clipboard.js.map +0 -1
  1409. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +0 -130
  1410. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.tsx +0 -32
  1411. package/src/component/utility/colorToHexWithAlpha.ts +0 -7
  1412. package/src/component/utility/forwardRef.ts +0 -10
  1413. package/src/utils/clipboard/clipboard.ts +0 -36
@@ -0,0 +1,128 @@
1
+ import type { Spectrum2D } from '@zakodium/nmr-types';
2
+ import { isSpectrum2DFt } from '@zakodium/nmrium-core';
3
+ import type { Draft } from 'immer';
4
+
5
+ import type { State } from '../Reducer.js';
6
+ import { getSpectrum } from '../helper/getSpectrum.js';
7
+ import type { ActionType } from '../types/ActionType.js';
8
+
9
+ type LinkedSignal = Spectrum2D['linkedSignals'][number];
10
+
11
+ type Add2DSignalLinkAction = ActionType<
12
+ 'ADD_2D_SIGNAL_LINK',
13
+ Pick<LinkedSignal, 'xSignalId' | 'ySignalId' | 'assignment'>
14
+ >;
15
+ type Delete2DSignalLinkAction = ActionType<
16
+ 'DELETE_2D_SIGNAL_LINK',
17
+ { id: string }
18
+ >;
19
+ type ChangeLinkedSignalAssignmentAction = ActionType<
20
+ 'CHANGE_LINKED_SIGNAL_ASSIGNMENT_LABEL',
21
+ { id: string; value: string; isAutoAssignment?: boolean }
22
+ >;
23
+ type SetLinkedSignalLabelCoordinationAction = ActionType<
24
+ 'SET_LINKED_SIGNAL_ASSIGNMENT_LABEL_COORDINATION',
25
+ { spectrumId: string; id: string; coordination: { x: number; y: number } }
26
+ >;
27
+
28
+ export type LinkedSignalsActions =
29
+ | Add2DSignalLinkAction
30
+ | Delete2DSignalLinkAction
31
+ | ChangeLinkedSignalAssignmentAction
32
+ | SetLinkedSignalLabelCoordinationAction;
33
+
34
+ function getLinkedSignal(draft: Draft<State>, id: string) {
35
+ const spectrum = getSpectrum(draft);
36
+
37
+ if (!isSpectrum2DFt(spectrum)) {
38
+ return;
39
+ }
40
+
41
+ const link = spectrum.linkedSignals?.find(
42
+ (link) => `${link.xSignalId}:${link.ySignalId}` === id,
43
+ );
44
+
45
+ if (!link) {
46
+ return;
47
+ }
48
+
49
+ return { spectrum, link };
50
+ }
51
+
52
+ export function handleAdd2DSignalLink(
53
+ draft: Draft<State>,
54
+ action: Add2DSignalLinkAction,
55
+ ) {
56
+ const spectrum = getSpectrum(draft);
57
+ const { xSignalId, ySignalId, assignment } = action.payload;
58
+
59
+ if (!xSignalId || !ySignalId || !isSpectrum2DFt(spectrum)) {
60
+ return;
61
+ }
62
+
63
+ const isLined = spectrum.linkedSignals.some(
64
+ (link) => link.xSignalId === xSignalId && link.ySignalId === ySignalId,
65
+ );
66
+
67
+ if (isLined) {
68
+ return;
69
+ }
70
+
71
+ spectrum.linkedSignals.push({
72
+ xSignalId,
73
+ ySignalId,
74
+ assignment,
75
+ isAutoAssignment: true,
76
+ });
77
+ }
78
+
79
+ export function handleChangeLinkedSignalAssignment(
80
+ draft: Draft<State>,
81
+ action: ChangeLinkedSignalAssignmentAction,
82
+ ) {
83
+ const { isAutoAssignment = false, value, id } = action.payload;
84
+ const linkedSignal = getLinkedSignal(draft, id);
85
+ if (!linkedSignal) {
86
+ return;
87
+ }
88
+ const { link } = linkedSignal;
89
+ link.assignment = value;
90
+ link.isAutoAssignment = isAutoAssignment;
91
+ }
92
+
93
+ export function handleDelete2DSignalLink(
94
+ draft: Draft<State>,
95
+ action: Delete2DSignalLinkAction,
96
+ ) {
97
+ const { id } = action.payload;
98
+ const linkedSignal = getLinkedSignal(draft, id);
99
+
100
+ if (!linkedSignal) {
101
+ return;
102
+ }
103
+
104
+ const { spectrum } = linkedSignal;
105
+ spectrum.linkedSignals = spectrum.linkedSignals.filter(
106
+ (signal) => `${signal.xSignalId}:${signal.ySignalId}` !== id,
107
+ );
108
+
109
+ delete draft.view.assignmentsLabelsCoordinates?.[spectrum.id]?.[id];
110
+ }
111
+
112
+ export function handleSetLinkedSignalLabelCoordination(
113
+ draft: Draft<State>,
114
+ action: SetLinkedSignalLabelCoordinationAction,
115
+ ) {
116
+ const { spectrumId, id, coordination } = action.payload;
117
+
118
+ if (!draft.view.assignmentsLabelsCoordinates) {
119
+ draft.view.assignmentsLabelsCoordinates = {};
120
+ }
121
+
122
+ const coordinates = draft.view.assignmentsLabelsCoordinates;
123
+ if (!coordinates[spectrumId]) {
124
+ coordinates[spectrumId] = {};
125
+ }
126
+
127
+ coordinates[spectrumId][id] = coordination;
128
+ }
@@ -10,8 +10,6 @@ import type { Draft } from 'immer';
10
10
  import { produce } from 'immer';
11
11
  import lodashMerge from 'lodash/merge.js';
12
12
  import lodashMergeWith from 'lodash/mergeWith.js';
13
- import type { CorrelationData } from 'nmr-processing';
14
- import { correlationApi } from 'nmr-processing';
15
13
  import type { ParseResult } from 'papaparse';
16
14
 
17
15
  import { initiateDatum1D } from '../../../data/data1d/Spectrum1D/index.js';
@@ -19,9 +17,8 @@ import { initializeContours } from '../../../data/data2d/Spectrum2D/contours.ts'
19
17
  import { initiateDatum2D } from '../../../data/data2d/Spectrum2D/index.js';
20
18
  import type { StateMoleculeExtended } from '../../../data/molecules/Molecule.js';
21
19
  import * as MoleculeManager from '../../../data/molecules/MoleculeManager.js';
22
- import { linkMetaWithSpectra } from '../../../data/parseMeta/linkMetaWithSpectra.js';
20
+ import { linkMetaWithSpectra } from '../../../data/parseMeta/index.ts';
23
21
  import type { UsedColors } from '../../../types/UsedColors.js';
24
- import { DefaultTolerance } from '../../panels/SummaryPanel/CorrelationTable/Constants.js';
25
22
  import type { State } from '../Reducer.js';
26
23
  import { getDefaultViewState, getInitialState } from '../Reducer.js';
27
24
  import type { ActionType } from '../types/ActionType.js';
@@ -40,7 +37,7 @@ interface InputProps extends InitiateProps {
40
37
  containsNmrium?: boolean;
41
38
  usedColors?: UsedColors;
42
39
  parseMetaFileResult?: ParseResult<any> | null;
43
- resetSourceObject?: boolean;
40
+ shouldResetSourceObject?: boolean;
44
41
  spectraColors?: SpectraColors;
45
42
  defaultMoleculeSettings?: MoleculeView;
46
43
  }
@@ -57,45 +54,6 @@ type InitiateAction = ActionType<'INITIATE', InitiateProps>;
57
54
  export type LoadAction =
58
55
  SetIsLoadingAction | LoadDropFilesAction | InitiateAction;
59
56
 
60
- function convertHybridizationStringValuesInCorrelations(
61
- correlations: CorrelationData,
62
- ): CorrelationData {
63
- return {
64
- ...correlations,
65
- values: correlations.values.map((correlation: any) => {
66
- if (typeof correlation.hybridization === 'string') {
67
- const values: number[] = [];
68
- if (correlation.hybridization.length > 0) {
69
- const hybridizationString: string =
70
- correlation.hybridization.replaceAll('SP', '');
71
- const value = Number(hybridizationString);
72
- values.push(value);
73
- }
74
- correlation.hybridization = values;
75
- }
76
- return correlation;
77
- }),
78
- };
79
- }
80
-
81
- function setCorrelation(
82
- draft: Draft<State>,
83
- correlations: CorrelationData | null,
84
- ) {
85
- if (!correlations || Object.keys(correlations).length === 0) {
86
- draft.correlations = correlationApi.buildCorrelationData([], {
87
- tolerance: DefaultTolerance,
88
- });
89
- } else {
90
- // in case of older NMRium data are imported, convert hybridization string to number array
91
- // @TODO remove following command to overwrite correlations at some point in future
92
- draft.correlations =
93
- convertHybridizationStringValuesInCorrelations(correlations);
94
-
95
- // draft.correlations = correlations // original command without overwriting
96
- }
97
- }
98
-
99
57
  function isDataSourceDropFiles(
100
58
  input: InputProps | InitiateProps,
101
59
  ): input is InputProps {
@@ -137,7 +95,7 @@ function setData(draft: Draft<State>, input: InputProps | InitiateProps) {
137
95
 
138
96
  if (sources && sources.length > 0) {
139
97
  for (const source of sources) {
140
- if (draft.sources[source.id]) {
98
+ if (Object.hasOwn(draft.sources, source.id)) {
141
99
  draft.sources[source.id] = lodashMergeWith(
142
100
  draft.sources[source.id],
143
101
  source,
@@ -204,17 +162,18 @@ function setData(draft: Draft<State>, input: InputProps | InitiateProps) {
204
162
  }
205
163
 
206
164
  draft.view.spectraContourLevels = initializeContours(draft.data);
165
+ if (correlations) {
166
+ draft.correlations = correlations;
167
+ }
207
168
 
208
- setCorrelation(draft, correlations);
169
+ if (!parseMetaFileResult) return;
209
170
 
210
- if (parseMetaFileResult) {
211
- const { matches } = linkMetaWithSpectra({
212
- autolink: true,
213
- spectra: draft.data,
214
- parseMetaFileResult,
215
- });
216
- setSpectraMetaInfo(draft, matches);
217
- }
171
+ const { matches } = linkMetaWithSpectra({
172
+ autolink: true,
173
+ spectra: draft.data,
174
+ parseMetaFileResult,
175
+ });
176
+ setSpectraMetaInfo(draft, matches);
218
177
  }
219
178
 
220
179
  function initSpectra(
@@ -295,23 +254,23 @@ function initData(
295
254
  initialDraft.isLoading = false;
296
255
  initialDraft.actionType = action.type;
297
256
  });
298
- } else {
299
- draft.aggregator = FileCollection.fromCollection(draft.aggregator);
300
- draft.aggregator.appendFileCollection(aggregator, '');
301
-
302
- if (view) {
303
- const defaultViewState = getDefaultViewState();
304
- draft.view = lodashMerge(defaultViewState, view);
305
- draft.view.molecules = Object.fromEntries(
306
- Object.entries(draft.view.molecules).filter(([id]) =>
307
- draft.molecules.some((molecule) => molecule.id === id),
308
- ),
309
- );
310
- }
311
- draft.actionType = action.type;
312
- draft.isLoading = false;
313
- return undefined;
314
257
  }
258
+
259
+ draft.aggregator = FileCollection.fromCollection(draft.aggregator);
260
+ draft.aggregator.appendFileCollection(aggregator, '');
261
+
262
+ if (view) {
263
+ const defaultViewState = getDefaultViewState();
264
+ draft.view = lodashMerge(defaultViewState, view);
265
+ draft.view.molecules = Object.fromEntries(
266
+ Object.entries(draft.view.molecules).filter(([id]) =>
267
+ draft.molecules.some((molecule) => molecule.id === id),
268
+ ),
269
+ );
270
+ }
271
+ draft.actionType = action.type;
272
+ draft.isLoading = false;
273
+ return undefined;
315
274
  }
316
275
 
317
276
  //action
@@ -331,35 +290,35 @@ function handleLoadDropFiles(draft: Draft<State>, action: LoadDropFilesAction) {
331
290
  const { payload, type } = action;
332
291
 
333
292
  const {
334
- nmriumState: { data: { spectra = [] } = {} },
293
+ nmriumState,
335
294
  containsNmrium = false,
336
- resetSourceObject = true,
295
+ shouldResetSourceObject = true,
337
296
  } = payload;
338
297
 
339
298
  if (containsNmrium) {
340
299
  return initData(draft, action);
341
- } else {
342
- setData(draft, payload);
343
- setActiveTab(draft, {
344
- domainOptions: { domainSpectraScope: 'all', isYDomainShared: false },
345
- });
346
- changeSpectrumVerticalAlignment(draft, { verticalAlign: 'auto-check' });
300
+ }
301
+ setData(draft, payload);
302
+ setActiveTab(draft, {
303
+ domainOptions: { domainSpectraScope: 'all', isYDomainShared: false },
304
+ });
305
+ changeSpectrumVerticalAlignment(draft, { verticalAlign: 'auto-check' });
347
306
 
348
- // set source undefined when dragging and dropping a spectra file to prevent export spectra with the data source.
349
- if (resetSourceObject && spectra?.length > 0) {
350
- draft.sources = {};
351
- }
307
+ const spectra = nmriumState.data?.spectra ?? [];
308
+ // set source undefined when dragging and dropping a spectra file to prevent export spectra with the data source.
309
+ if (shouldResetSourceObject && spectra.length > 0) {
310
+ draft.sources = {};
311
+ }
352
312
 
353
- draft.view.molecules = Object.fromEntries(
354
- Object.entries(draft.view.molecules).filter(([id]) =>
355
- draft.molecules.some((molecule) => molecule.id === id),
356
- ),
357
- );
313
+ draft.view.molecules = Object.fromEntries(
314
+ Object.entries(draft.view.molecules).filter(([id]) =>
315
+ draft.molecules.some((molecule) => molecule.id === id),
316
+ ),
317
+ );
358
318
 
359
- draft.actionType = type;
360
- draft.isLoading = false;
361
- return undefined;
362
- }
319
+ draft.actionType = type;
320
+ draft.isLoading = false;
321
+ return undefined;
363
322
  }
364
323
 
365
324
  export const LoadActions = {
@@ -1,5 +1,14 @@
1
- import type { MoleculeView, StateMolecule } from '@zakodium/nmrium-core';
2
- import { isSpectrum1D, isSpectrum2D } from '@zakodium/nmrium-core';
1
+ import type { Range, Zone } from '@zakodium/nmr-types';
2
+ import type {
3
+ MoleculeView,
4
+ Spectrum2D,
5
+ StateMolecule,
6
+ } from '@zakodium/nmrium-core';
7
+ import {
8
+ isSpectrum1D,
9
+ isSpectrum2D,
10
+ isSpectrum2DFt,
11
+ } from '@zakodium/nmrium-core';
3
12
  import type { Logger } from 'cheminfo-types';
4
13
  import type { FifoLogger } from 'fifo-logger';
5
14
  import type { Draft } from 'immer';
@@ -12,7 +21,10 @@ import type {
12
21
  PredictedSpectraResult,
13
22
  PredictionOptions,
14
23
  } from '../../../data/PredictionManager.js';
15
- import { generateSpectra } from '../../../data/PredictionManager.js';
24
+ import {
25
+ generateSpectra,
26
+ isEmpty2DPrediction,
27
+ } from '../../../data/PredictionManager.js';
16
28
  import { changeSpectraRelativeSum } from '../../../data/data1d/Spectrum1D/SumManager.js';
17
29
  import { initializeContoursLevels } from '../../../data/data2d/Spectrum2D/contours.ts';
18
30
  import type { MoleculeBoundingRect } from '../../../data/molecules/Molecule.js';
@@ -20,6 +32,7 @@ import { DRAGGABLE_STRUCTURE_INITIAL_BOUNDING_REACT } from '../../../data/molecu
20
32
  import * as MoleculeManager from '../../../data/molecules/MoleculeManager.js';
21
33
  import { generateColor } from '../../../data/utilities/generateColor.js';
22
34
  import { convertPixelToPercent } from '../../hooks/useSVGUnitConverter.js';
35
+ import type { SignalAssignmentUpdate } from '../../panels/MoleculesPanel/hooks/useSignalAssignmentUpdates.js';
23
36
  import { extractFromAtom } from '../../panels/MoleculesPanel/utilities/extractFromAtom.js';
24
37
  import nucleusToString from '../../utility/nucleusToString.js';
25
38
  import type { State } from '../Reducer.js';
@@ -95,6 +108,12 @@ type ChangeMoleculeLabelAction = ActionType<
95
108
  'CHANGE_MOLECULE_LABEL',
96
109
  { id: string; label: string }
97
110
  >;
111
+ type ChangeAssignmentLabelsByDiaIdsAction = ActionType<
112
+ 'CHANGE_ASSIGNMENT_LABEL_BY_DIAIDS',
113
+ {
114
+ assignments: SignalAssignmentUpdate[];
115
+ }
116
+ >;
98
117
 
99
118
  export type MoleculeActions =
100
119
  | AddMoleculeAction
@@ -106,9 +125,10 @@ export type MoleculeActions =
106
125
  | ChangeFloatMoleculePositionAction
107
126
  | ChangeMoleculeLabelAction
108
127
  | ChangeMoleculeAnnotationAction
128
+ | ChangeAssignmentLabelsByDiaIdsAction
109
129
  | ToggleMoleculeLabelAction;
110
130
 
111
- function addMolecule(draft: Draft<State>, props: AddMoleculeProps) {
131
+ export function addMolecule(draft: Draft<State>, props: AddMoleculeProps) {
112
132
  const { molfile, id, label, floatMoleculeOnSave, defaultMoleculeSettings } =
113
133
  props;
114
134
  const isEmpty = draft.molecules.length === 0;
@@ -137,10 +157,17 @@ function addMolecule(draft: Draft<State>, props: AddMoleculeProps) {
137
157
  }
138
158
 
139
159
  //action
140
- function handleAddMolecule(draft: Draft<State>, action: AddMoleculeAction) {
160
+ export function handleAddMolecule(
161
+ draft: Draft<State>,
162
+ action: AddMoleculeAction,
163
+ ) {
141
164
  addMolecule(draft, action.payload);
142
165
  }
143
- function handleAddMolecules(draft: Draft<State>, action: AddMoleculesAction) {
166
+
167
+ export function handleAddMolecules(
168
+ draft: Draft<State>,
169
+ action: AddMoleculesAction,
170
+ ) {
144
171
  const { molecules, defaultMoleculeSettings } = action.payload;
145
172
 
146
173
  for (const { molfile } of molecules) {
@@ -172,10 +199,110 @@ function setMolecule(draft: Draft<State>, props: SetMoleculeAction['payload']) {
172
199
  );
173
200
  }
174
201
  //action
175
- function handleSetMolecule(draft: Draft<State>, action: SetMoleculeAction) {
202
+ export function handleSetMolecule(
203
+ draft: Draft<State>,
204
+ action: SetMoleculeAction,
205
+ ) {
176
206
  setMolecule(draft, action.payload);
177
207
  }
178
208
 
209
+ interface UpdateRangeSignalsAssignmentParams {
210
+ ranges: Range[];
211
+ signalId?: string;
212
+ assignment: string;
213
+ }
214
+
215
+ function updateRangeSignalsAssignment(
216
+ options: UpdateRangeSignalsAssignmentParams,
217
+ ) {
218
+ const { ranges, signalId, assignment } = options;
219
+ if (signalId === undefined) return;
220
+
221
+ for (const range of ranges) {
222
+ const signal = range.signals.find((item) => item.id === signalId);
223
+ if (signal?.isAutoAssignment) {
224
+ signal.assignment = assignment;
225
+ break;
226
+ }
227
+ }
228
+ }
229
+
230
+ interface UpdateZoneAssignmentsParams {
231
+ zones: Zone[];
232
+ signalId?: string;
233
+ assignment: string;
234
+ }
235
+ function updateZoneAssignments(options: UpdateZoneAssignmentsParams) {
236
+ const { zones, signalId, assignment } = options;
237
+ if (signalId === undefined) return;
238
+
239
+ for (const zone of zones) {
240
+ const signal = zone.signals.find((item) => item.id === signalId);
241
+ if (signal?.isAutoAssignment) {
242
+ signal.assignment = assignment;
243
+ break;
244
+ }
245
+ }
246
+ }
247
+
248
+ interface UpdateLinkedSignalAssignmentParams extends Pick<
249
+ Spectrum2D,
250
+ 'linkedSignals'
251
+ > {
252
+ linkedSignalId?: string;
253
+ assignment: string;
254
+ }
255
+
256
+ function updateLinkedSignalAssignment(
257
+ options: UpdateLinkedSignalAssignmentParams,
258
+ ) {
259
+ const { linkedSignals, linkedSignalId, assignment } = options;
260
+ if (linkedSignalId === undefined) return;
261
+
262
+ const link = linkedSignals.find(
263
+ (item) => `${item.xSignalId}:${item.ySignalId}` === linkedSignalId,
264
+ );
265
+ if (!link?.isAutoAssignment) return;
266
+
267
+ link.assignment = assignment;
268
+ }
269
+
270
+ export function handleChangeAssignmentLabelsByDiaIds(
271
+ draft: Draft<State>,
272
+ action: ChangeAssignmentLabelsByDiaIdsAction,
273
+ ) {
274
+ for (const spectrum of draft.data) {
275
+ const assignments = action.payload.assignments.filter(
276
+ (update) => update.spectrumId === spectrum.id,
277
+ );
278
+
279
+ if (isSpectrum1D(spectrum)) {
280
+ for (const { signalId, assignment } of assignments) {
281
+ if (signalId === undefined) continue;
282
+
283
+ updateRangeSignalsAssignment({
284
+ ranges: spectrum.ranges.values,
285
+ signalId,
286
+ assignment,
287
+ });
288
+ }
289
+ } else if (isSpectrum2DFt(spectrum)) {
290
+ for (const { signalId, linkedSignalId, assignment } of assignments) {
291
+ updateZoneAssignments({
292
+ zones: spectrum.zones.values,
293
+ signalId,
294
+ assignment,
295
+ });
296
+ updateLinkedSignalAssignment({
297
+ linkedSignals: spectrum.linkedSignals,
298
+ linkedSignalId,
299
+ assignment,
300
+ });
301
+ }
302
+ }
303
+ }
304
+ }
305
+
179
306
  function clearDiaIDs(
180
307
  obj: Partial<{ diaIDs?: string[]; nbAtoms?: number }>,
181
308
  options: {
@@ -243,11 +370,7 @@ function clearAssignments(draft: Draft<State>, diaIDs: DiaIDAndInfo[]) {
243
370
  } else {
244
371
  const zones = spectrum.zones.values;
245
372
  for (const zone of zones) {
246
- const { x, y, signals = [] } = zone;
247
- clearDiaIDs(x, { diaIDsObj, nucleus });
248
- clearDiaIDs(y, { diaIDsObj, nucleus });
249
-
250
- for (const signal of signals) {
373
+ for (const signal of zone.signals) {
251
374
  clearDiaIDs(signal.x, { diaIDsObj, nucleus });
252
375
  clearDiaIDs(signal.y, { diaIDsObj, nucleus });
253
376
  }
@@ -257,7 +380,7 @@ function clearAssignments(draft: Draft<State>, diaIDs: DiaIDAndInfo[]) {
257
380
  }
258
381
 
259
382
  //action
260
- function handleDeleteMolecule(
383
+ export function handleDeleteMolecule(
261
384
  draft: Draft<State>,
262
385
  action: DeleteMoleculeAction,
263
386
  ) {
@@ -285,7 +408,7 @@ function handleDeleteMolecule(
285
408
  }
286
409
 
287
410
  //action
288
- function handlePredictSpectraFromMolecule(
411
+ export function handlePredictSpectraFromMolecule(
289
412
  draft: Draft<State>,
290
413
  action: PredictSpectraFromMoleculeAction,
291
414
  ) {
@@ -296,8 +419,9 @@ function handlePredictSpectraFromMolecule(
296
419
  molecule,
297
420
  action: predictionAction = 'save',
298
421
  } = action.payload;
299
- checkPredictions(predictedSpectra, options, molecule.molfile, logger);
422
+ checkPredictions(predictedSpectra, options, molecule, logger);
300
423
  const color = generateColor({ usedColors: draft.usedColors['1d'] });
424
+
301
425
  const spectraIds: string[] = [];
302
426
  for (const spectrum of generateSpectra(
303
427
  predictedSpectra,
@@ -328,8 +452,7 @@ function handlePredictSpectraFromMolecule(
328
452
  });
329
453
  }
330
454
 
331
- if (id) {
332
- //save a set of the predicted spectra Ids by molecule ID in the view object in case we predict the spectra again we remove the old ones
455
+ if (id && spectraIds.length > 0) {
333
456
  setPredictedSpectraReference(draft, id, spectraIds);
334
457
  }
335
458
  draft.usedColors['1d'] = draft.usedColors['1d'].filter(
@@ -344,7 +467,7 @@ function handlePredictSpectraFromMolecule(
344
467
  function checkPredictions(
345
468
  predictedSpectra: PredictedSpectraResult,
346
469
  inputOptions: PredictionOptions,
347
- molfile: string,
470
+ { molfile, label }: StateMolecule,
348
471
  logger: Logger,
349
472
  ) {
350
473
  const { spectra } = inputOptions;
@@ -353,12 +476,25 @@ function checkPredictions(
353
476
  const { atoms } = getAtoms(molecule);
354
477
  for (const entry of Object.entries(spectra)) {
355
478
  const [experiment, required] = entry as [Experiment, boolean];
356
- if (!required || predictedSpectra[experiment]) continue;
479
+
480
+ if (!required) continue;
481
+
482
+ const prediction = predictedSpectra[experiment];
483
+ if (prediction) {
484
+ if ('nuclei' in prediction && isEmpty2DPrediction(prediction)) {
485
+ const forMolecule = label ? ` for ${label}` : '';
486
+ logger.warn(
487
+ `${experiment.toUpperCase()} prediction${forMolecule} is empty: no spectrum was simulated.`,
488
+ );
489
+ }
490
+ continue;
491
+ }
492
+
357
493
  let message = '';
358
494
  switch (experiment) {
359
495
  case 'proton': {
360
496
  message =
361
- atoms.H - nbLabileH(molecule) === 0
497
+ atoms.H === nbLabileH(molecule)
362
498
  ? 'No non-labile hydrogen found in the molecule, the proton spectrum could not be predicted'
363
499
  : `Proton was not predicted`;
364
500
  break;
@@ -376,9 +512,7 @@ function checkPredictions(
376
512
  break;
377
513
  case 'hsqc':
378
514
  case 'hmbc':
379
- if (!predictedSpectra[experiment]) {
380
- missing2DPrediction.push(experiment);
381
- }
515
+ missing2DPrediction.push(experiment);
382
516
  break;
383
517
  default:
384
518
  break;
@@ -415,7 +549,7 @@ function setPredictedSpectraReference(
415
549
  draft.view.predictions[moleculeId] = spectraIds;
416
550
  }
417
551
 
418
- function initMoleculeViewProperties(
552
+ export function initMoleculeViewProperties(
419
553
  draft: Draft<State>,
420
554
  options: {
421
555
  id: string;
@@ -483,7 +617,7 @@ function getFloatingMoleculeInitialPosition(id: string, draft: Draft<State>) {
483
617
  }
484
618
 
485
619
  //action
486
- function handleFloatMoleculeOverSpectrum(
620
+ export function handleFloatMoleculeOverSpectrum(
487
621
  draft: Draft<State>,
488
622
  action: ToggleMoleculeViewObjectAction,
489
623
  ) {
@@ -497,7 +631,7 @@ function handleFloatMoleculeOverSpectrum(
497
631
  }
498
632
 
499
633
  //action
500
- function handleChangeMoleculeAnnotation(
634
+ export function handleChangeMoleculeAnnotation(
501
635
  draft: Draft<State>,
502
636
  action: ChangeMoleculeAnnotationAction,
503
637
  ) {
@@ -511,7 +645,7 @@ function handleChangeMoleculeAnnotation(
511
645
  }
512
646
 
513
647
  //action
514
- function handleChangeFloatMoleculePosition(
648
+ export function handleChangeFloatMoleculePosition(
515
649
  draft: Draft<State>,
516
650
  action: ChangeFloatMoleculePositionAction,
517
651
  ) {
@@ -525,7 +659,7 @@ function handleChangeFloatMoleculePosition(
525
659
  }
526
660
 
527
661
  //action
528
- function handleChangeMoleculeLabel(
662
+ export function handleChangeMoleculeLabel(
529
663
  draft: Draft<State>,
530
664
  action: ChangeMoleculeLabelAction,
531
665
  ) {
@@ -536,7 +670,7 @@ function handleChangeMoleculeLabel(
536
670
  draft.molecules[moleculeIndex].label = label;
537
671
  }
538
672
  //action
539
- function handleToggleMoleculeLabel(
673
+ export function handleToggleMoleculeLabel(
540
674
  draft: Draft<State>,
541
675
  action: ToggleMoleculeLabelAction,
542
676
  ) {
@@ -548,18 +682,3 @@ function handleToggleMoleculeLabel(
548
682
 
549
683
  molecule.showLabel = !molecule.showLabel;
550
684
  }
551
-
552
- export {
553
- addMolecule,
554
- handleAddMolecule,
555
- handleAddMolecules,
556
- handleChangeFloatMoleculePosition,
557
- handleChangeMoleculeAnnotation,
558
- handleChangeMoleculeLabel,
559
- handleDeleteMolecule,
560
- handleFloatMoleculeOverSpectrum,
561
- handlePredictSpectraFromMolecule,
562
- handleSetMolecule,
563
- handleToggleMoleculeLabel,
564
- initMoleculeViewProperties,
565
- };