nmrium 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1278) hide show
  1. package/lib/component/1d/ApodizationLine.d.ts +1 -1
  2. package/lib/component/1d/ApodizationLine.d.ts.map +1 -1
  3. package/lib/component/1d/BrushTracker1D.d.ts +1 -1
  4. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  5. package/lib/component/1d/BrushTracker1D.js +12 -7
  6. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  7. package/lib/component/1d/ExclusionZoneAnnotation.d.ts +1 -1
  8. package/lib/component/1d/ExclusionZoneAnnotation.d.ts.map +1 -1
  9. package/lib/component/1d/ExclusionZonesAnnotations.d.ts +1 -1
  10. package/lib/component/1d/ExclusionZonesAnnotations.d.ts.map +1 -1
  11. package/lib/component/1d/FloatPublicationString.d.ts +1 -1
  12. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  13. package/lib/component/1d/FooterBanner.d.ts +1 -1
  14. package/lib/component/1d/FooterBanner.d.ts.map +1 -1
  15. package/lib/component/1d/FooterBanner.js +12 -2
  16. package/lib/component/1d/FooterBanner.js.map +1 -1
  17. package/lib/component/1d/HorizontalAxis1D.d.ts +1 -1
  18. package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -1
  19. package/lib/component/1d/Line.d.ts +1 -1
  20. package/lib/component/1d/Line.d.ts.map +1 -1
  21. package/lib/component/1d/LinesSeries.d.ts +1 -1
  22. package/lib/component/1d/LinesSeries.d.ts.map +1 -1
  23. package/lib/component/1d/LinesSeries.js +2 -1
  24. package/lib/component/1d/LinesSeries.js.map +1 -1
  25. package/lib/component/1d/PredictionErrorsNotations.d.ts +1 -1
  26. package/lib/component/1d/PredictionErrorsNotations.d.ts.map +1 -1
  27. package/lib/component/1d/PredictionErrorsNotations.js +3 -3
  28. package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
  29. package/lib/component/1d/SVGContent1D.d.ts +1 -1
  30. package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
  31. package/lib/component/1d/SimilarityTree.d.ts +1 -1
  32. package/lib/component/1d/SimilarityTree.d.ts.map +1 -1
  33. package/lib/component/1d/SpectraLegends.d.ts +1 -1
  34. package/lib/component/1d/SpectraLegends.d.ts.map +1 -1
  35. package/lib/component/1d/SpectraLegends.js +9 -1
  36. package/lib/component/1d/SpectraLegends.js.map +1 -1
  37. package/lib/component/1d/SpectrumLabel.d.ts +6 -0
  38. package/lib/component/1d/SpectrumLabel.d.ts.map +1 -0
  39. package/lib/component/1d/SpectrumLabel.js +31 -0
  40. package/lib/component/1d/SpectrumLabel.js.map +1 -0
  41. package/lib/component/1d/Viewer1D.d.ts +1 -1
  42. package/lib/component/1d/Viewer1D.d.ts.map +1 -1
  43. package/lib/component/1d/baseline/BaselinePreview.d.ts +1 -1
  44. package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -1
  45. package/lib/component/1d/database/DatabaseElements.d.ts +1 -1
  46. package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
  47. package/lib/component/1d/database/DatabaseSpectrum.d.ts +1 -1
  48. package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
  49. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts +1 -1
  50. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
  51. package/lib/component/1d/inset/DraggableInset.d.ts +1 -1
  52. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  53. package/lib/component/1d/inset/InsetProvider.d.ts +1 -1
  54. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  55. package/lib/component/1d/inset/InsetViewerRoot.d.ts +1 -1
  56. package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
  57. package/lib/component/1d/inset/SpectraInsets.d.ts +1 -1
  58. package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
  59. package/lib/component/1d/integral/IntegralIndicator.d.ts +1 -1
  60. package/lib/component/1d/integral/IntegralIndicator.d.ts.map +1 -1
  61. package/lib/component/1d/integral/IntegralResizable.d.ts +1 -1
  62. package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
  63. package/lib/component/1d/integral/IntegralsSeries.d.ts +1 -1
  64. package/lib/component/1d/integral/IntegralsSeries.d.ts.map +1 -1
  65. package/lib/component/1d/integral/Integration.d.ts +1 -1
  66. package/lib/component/1d/integral/Integration.d.ts.map +1 -1
  67. package/lib/component/1d/jCouplingGraph/JGraph.d.ts +1 -1
  68. package/lib/component/1d/jCouplingGraph/JGraph.d.ts.map +1 -1
  69. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts +1 -1
  70. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts.map +1 -1
  71. package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts +1 -1
  72. package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts.map +1 -1
  73. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts +1 -1
  74. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -1
  75. package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts +1 -1
  76. package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts.map +1 -1
  77. package/lib/component/1d/matrix/Boxplot.d.ts +1 -1
  78. package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
  79. package/lib/component/1d/matrix/Stocsy.d.ts +1 -1
  80. package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
  81. package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts +1 -1
  82. package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts.map +1 -1
  83. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts +1 -1
  84. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts.map +1 -1
  85. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts +1 -1
  86. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts.map +1 -1
  87. package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts +1 -1
  88. package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts.map +1 -1
  89. package/lib/component/1d/peaks/PeakAnnotations.d.ts +1 -1
  90. package/lib/component/1d/peaks/PeakAnnotations.d.ts.map +1 -1
  91. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts +1 -1
  92. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
  93. package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -2
  94. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  95. package/lib/component/1d/peaks/Peaks.d.ts +1 -1
  96. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
  97. package/lib/component/1d/peaks/Peaks.js +2 -1
  98. package/lib/component/1d/peaks/Peaks.js.map +1 -1
  99. package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -1
  100. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
  101. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  102. package/lib/component/1d/peaks/usePeakShapesPath.js +2 -2
  103. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  104. package/lib/component/1d/ranges/AssignmentLabel.d.ts +1 -1
  105. package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
  106. package/lib/component/1d/ranges/AssignmentLabel.js +1 -1
  107. package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
  108. package/lib/component/1d/ranges/Atoms.d.ts +1 -1
  109. package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
  110. package/lib/component/1d/ranges/FloatingRangeTablePreferencesModal.d.ts +9 -0
  111. package/lib/component/1d/ranges/FloatingRangeTablePreferencesModal.d.ts.map +1 -0
  112. package/lib/component/1d/ranges/FloatingRangeTablePreferencesModal.js +138 -0
  113. package/lib/component/1d/ranges/FloatingRangeTablePreferencesModal.js.map +1 -0
  114. package/lib/component/1d/ranges/FloatingRanges.d.ts +2 -0
  115. package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -0
  116. package/lib/component/1d/ranges/FloatingRanges.js +362 -0
  117. package/lib/component/1d/ranges/FloatingRanges.js.map +1 -0
  118. package/lib/component/1d/ranges/Range.d.ts +1 -1
  119. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  120. package/lib/component/1d/ranges/Ranges.d.ts +1 -1
  121. package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
  122. package/lib/component/1d/ranges/Ranges.js +2 -2
  123. package/lib/component/1d/ranges/Ranges.js.map +1 -1
  124. package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -1
  125. package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
  126. package/lib/component/1d/tool/BaseLine.d.ts +1 -1
  127. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
  128. package/lib/component/1d/tool/PeakPointer.d.ts +1 -1
  129. package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
  130. package/lib/component/1d/tool/PivotIndicator1D.d.ts +1 -1
  131. package/lib/component/1d/tool/PivotIndicator1D.d.ts.map +1 -1
  132. package/lib/component/1d/tool/XLabelPointer.d.ts +1 -1
  133. package/lib/component/1d/tool/XLabelPointer.d.ts.map +1 -1
  134. package/lib/component/1d-2d/FieldEdition.d.ts +3 -3
  135. package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
  136. package/lib/component/1d-2d/FieldEdition.js +2 -2
  137. package/lib/component/1d-2d/FieldEdition.js.map +1 -1
  138. package/lib/component/1d-2d/components/ClipPathContainer.d.ts +1 -1
  139. package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
  140. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +1 -1
  141. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
  142. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +7 -7
  143. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  144. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts +1 -1
  145. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
  146. package/lib/component/1d-2d/components/SVGRootContainer.d.ts +1 -1
  147. package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
  148. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -1
  149. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  150. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -4
  151. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  152. package/lib/component/1d-2d/components/axis_unit_picker.d.ts +1 -1
  153. package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
  154. package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -1
  155. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  156. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -1
  157. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  158. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts +1 -1
  159. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -1
  160. package/lib/component/2d/1d-tracer/Left1DChart.d.ts +1 -1
  161. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
  162. package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
  163. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
  164. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts +1 -1
  165. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -1
  166. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts +1 -1
  167. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts.map +1 -1
  168. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts +1 -1
  169. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts.map +1 -1
  170. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts +1 -1
  171. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
  172. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts +1 -1
  173. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -1
  174. package/lib/component/2d/BrushTracker2D.d.ts +1 -1
  175. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
  176. package/lib/component/2d/DirectAxis2D.d.ts +1 -1
  177. package/lib/component/2d/DirectAxis2D.d.ts.map +1 -1
  178. package/lib/component/2d/FooterBanner.d.ts +1 -1
  179. package/lib/component/2d/FooterBanner.d.ts.map +1 -1
  180. package/lib/component/2d/IndirectAxis2D.d.ts +1 -1
  181. package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -1
  182. package/lib/component/2d/SVGContent2D.d.ts +1 -1
  183. package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
  184. package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
  185. package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
  186. package/lib/component/2d/SlicingView.d.ts +1 -1
  187. package/lib/component/2d/SlicingView.d.ts.map +1 -1
  188. package/lib/component/2d/Viewer2D.d.ts +1 -1
  189. package/lib/component/2d/Viewer2D.d.ts.map +1 -1
  190. package/lib/component/2d/fid/FidCanvas.d.ts +1 -1
  191. package/lib/component/2d/fid/FidCanvas.d.ts.map +1 -1
  192. package/lib/component/2d/fid/FidContainer.d.ts +1 -1
  193. package/lib/component/2d/fid/FidContainer.d.ts.map +1 -1
  194. package/lib/component/2d/ft/Contours.d.ts +1 -1
  195. package/lib/component/2d/ft/Contours.d.ts.map +1 -1
  196. package/lib/component/2d/ft/FTContainer.d.ts +1 -1
  197. package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
  198. package/lib/component/2d/tools/PivotIndicator.d.ts +1 -1
  199. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
  200. package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
  201. package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
  202. package/lib/component/2d/zones/Signal.d.ts +1 -1
  203. package/lib/component/2d/zones/Signal.d.ts.map +1 -1
  204. package/lib/component/2d/zones/SignalCrosshair.d.ts +1 -1
  205. package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
  206. package/lib/component/2d/zones/SignalsGuideLines.d.ts +1 -1
  207. package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
  208. package/lib/component/2d/zones/SignalsGuideLines.js +1 -1
  209. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  210. package/lib/component/2d/zones/Zone.d.ts +1 -1
  211. package/lib/component/2d/zones/Zone.d.ts.map +1 -1
  212. package/lib/component/2d/zones/Zones.d.ts +1 -1
  213. package/lib/component/2d/zones/Zones.d.ts.map +1 -1
  214. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts +1 -1
  215. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  216. package/lib/component/2d/zones/ZonesAssignmentsLabels.js +1 -1
  217. package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
  218. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
  219. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  220. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  221. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
  222. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  223. package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
  224. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  225. package/lib/component/SVGTable.d.ts +6 -4
  226. package/lib/component/SVGTable.d.ts.map +1 -1
  227. package/lib/component/SVGTable.js +16 -16
  228. package/lib/component/SVGTable.js.map +1 -1
  229. package/lib/component/assignment/AssignmentProvider.d.ts +1 -1
  230. package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
  231. package/lib/component/context/FilterSyncOptionsContext.d.ts +1 -1
  232. package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
  233. package/lib/component/context/KeyModifierContext.d.ts +1 -1
  234. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  235. package/lib/component/context/KeyModifierContext.js.map +1 -1
  236. package/lib/component/context/LoggerContext.d.ts +1 -1
  237. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  238. package/lib/component/context/LoggerContext.js.map +1 -1
  239. package/lib/component/context/ScaleContext.d.ts +1 -1
  240. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  241. package/lib/component/context/ShareDataContext.d.ts +1 -1
  242. package/lib/component/context/ShareDataContext.d.ts.map +1 -1
  243. package/lib/component/context/SortSpectraContext.d.ts +1 -1
  244. package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
  245. package/lib/component/context/SortSpectraContext.js.map +1 -1
  246. package/lib/component/context/ToasterContext.d.ts +1 -1
  247. package/lib/component/context/ToasterContext.d.ts.map +1 -1
  248. package/lib/component/context/TopicMoleculeContext.d.ts +1 -1
  249. package/lib/component/context/TopicMoleculeContext.d.ts.map +1 -1
  250. package/lib/component/elements/ActionButtons.d.ts +1 -1
  251. package/lib/component/elements/ActionButtons.d.ts.map +1 -1
  252. package/lib/component/elements/ActionsButtonsPopover.d.ts +3 -3
  253. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  254. package/lib/component/elements/ActionsButtonsPopover.js +6 -9
  255. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  256. package/lib/component/elements/Alert.d.ts +1 -1
  257. package/lib/component/elements/Alert.d.ts.map +1 -1
  258. package/lib/component/elements/Anchor.d.ts +1 -1
  259. package/lib/component/elements/Anchor.d.ts.map +1 -1
  260. package/lib/component/elements/AssignmentsCell.d.ts +1 -1
  261. package/lib/component/elements/AssignmentsCell.d.ts.map +1 -1
  262. package/lib/component/elements/Button.d.ts.map +1 -1
  263. package/lib/component/elements/Button.js +2 -2
  264. package/lib/component/elements/Button.js.map +1 -1
  265. package/lib/component/elements/CheckController.d.ts +1 -1
  266. package/lib/component/elements/CheckController.d.ts.map +1 -1
  267. package/lib/component/elements/CloseButton.d.ts +1 -1
  268. package/lib/component/elements/CloseButton.d.ts.map +1 -1
  269. package/lib/component/elements/CloseButton.js +2 -2
  270. package/lib/component/elements/CloseButton.js.map +1 -1
  271. package/lib/component/elements/ColorDot.d.ts +4 -0
  272. package/lib/component/elements/ColorDot.d.ts.map +1 -0
  273. package/lib/component/elements/ColorDot.js +32 -0
  274. package/lib/component/elements/ColorDot.js.map +1 -0
  275. package/lib/component/elements/ColorPickerDropdownController.d.ts +1 -1
  276. package/lib/component/elements/ColorPickerDropdownController.d.ts.map +1 -1
  277. package/lib/component/elements/ColumnWrapper.d.ts +1 -1
  278. package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
  279. package/lib/component/elements/ContextMenuBluePrint.d.ts +1 -1
  280. package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -1
  281. package/lib/component/elements/DialogManager.d.ts +2 -2
  282. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  283. package/lib/component/elements/DraggableDialog.d.ts +1 -1
  284. package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
  285. package/lib/component/elements/EmptyText.d.ts +1 -1
  286. package/lib/component/elements/EmptyText.d.ts.map +1 -1
  287. package/lib/component/elements/Footer.d.ts +1 -1
  288. package/lib/component/elements/Footer.d.ts.map +1 -1
  289. package/lib/component/elements/Footer.js +1 -0
  290. package/lib/component/elements/Footer.js.map +1 -1
  291. package/lib/component/elements/FormatField.d.ts +1 -1
  292. package/lib/component/elements/FormatField.d.ts.map +1 -1
  293. package/lib/component/elements/GroupPane.d.ts +1 -1
  294. package/lib/component/elements/GroupPane.d.ts.map +1 -1
  295. package/lib/component/elements/HeaderContainer.d.ts +1 -1
  296. package/lib/component/elements/HeaderContainer.d.ts.map +1 -1
  297. package/lib/component/elements/Input2Controller.d.ts +1 -1
  298. package/lib/component/elements/Input2Controller.d.ts.map +1 -1
  299. package/lib/component/elements/IsotopesViewer.d.ts +1 -1
  300. package/lib/component/elements/IsotopesViewer.d.ts.map +1 -1
  301. package/lib/component/elements/Label.d.ts +1 -1
  302. package/lib/component/elements/Label.d.ts.map +1 -1
  303. package/lib/component/elements/Logo.d.ts +1 -1
  304. package/lib/component/elements/Logo.d.ts.map +1 -1
  305. package/lib/component/elements/MoleculeSelection.d.ts +1 -1
  306. package/lib/component/elements/MoleculeSelection.d.ts.map +1 -1
  307. package/lib/component/elements/NextPrev.d.ts +1 -1
  308. package/lib/component/elements/NextPrev.d.ts.map +1 -1
  309. package/lib/component/elements/NumberInput2Controller.d.ts +1 -1
  310. package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
  311. package/lib/component/elements/NumberInputField.d.ts +1 -1
  312. package/lib/component/elements/NumberInputField.d.ts.map +1 -1
  313. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +1 -1
  314. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
  315. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +1 -1
  316. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +1 -1
  317. package/lib/component/elements/ReadOnly.d.ts +1 -1
  318. package/lib/component/elements/ReadOnly.d.ts.map +1 -1
  319. package/lib/component/elements/ResizerWithScale.d.ts +1 -1
  320. package/lib/component/elements/ResizerWithScale.d.ts.map +1 -1
  321. package/lib/component/elements/SVGButton.d.ts +1 -1
  322. package/lib/component/elements/SVGButton.d.ts.map +1 -1
  323. package/lib/component/elements/SVGGroup.d.ts +1 -1
  324. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  325. package/lib/component/elements/SVGText.d.ts +1 -1
  326. package/lib/component/elements/SVGText.d.ts.map +1 -1
  327. package/lib/component/elements/SaveButton.d.ts +1 -1
  328. package/lib/component/elements/SaveButton.d.ts.map +1 -1
  329. package/lib/component/elements/SaveButton.js +2 -2
  330. package/lib/component/elements/SaveButton.js.map +1 -1
  331. package/lib/component/elements/Scroller.d.ts +2 -2
  332. package/lib/component/elements/Scroller.d.ts.map +1 -1
  333. package/lib/component/elements/Sections.d.ts +4 -4
  334. package/lib/component/elements/Sections.d.ts.map +1 -1
  335. package/lib/component/elements/Sections.js +1 -1
  336. package/lib/component/elements/Sections.js.map +1 -1
  337. package/lib/component/elements/Select2.d.ts +1 -1
  338. package/lib/component/elements/Select2.d.ts.map +1 -1
  339. package/lib/component/elements/Select2Controller.d.ts +1 -1
  340. package/lib/component/elements/Select2Controller.d.ts.map +1 -1
  341. package/lib/component/elements/StandardDialog.d.ts +1 -1
  342. package/lib/component/elements/StandardDialog.d.ts.map +1 -1
  343. package/lib/component/elements/Tab/DeleteButton.d.ts +1 -1
  344. package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -1
  345. package/lib/component/elements/TabTitle.d.ts +1 -1
  346. package/lib/component/elements/TabTitle.d.ts.map +1 -1
  347. package/lib/component/elements/TabTitle.js +2 -2
  348. package/lib/component/elements/TabTitle.js.map +1 -1
  349. package/lib/component/elements/TabsProvider.d.ts +1 -1
  350. package/lib/component/elements/TabsProvider.d.ts.map +1 -1
  351. package/lib/component/elements/ToolbarPopoverItem.d.ts +2 -1
  352. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  353. package/lib/component/elements/ToolbarPopoverItem.js +15 -4
  354. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
  355. package/lib/component/elements/dropDownButton/DropDownButton.d.ts +1 -1
  356. package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
  357. package/lib/component/elements/dropDownButton/DropDownButton.js +2 -2
  358. package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
  359. package/lib/component/elements/dropDownButton/DropDownList.d.ts +1 -1
  360. package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
  361. package/lib/component/elements/export/ExportContent.d.ts +1 -1
  362. package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
  363. package/lib/component/elements/export/ExportManager.d.ts +2 -2
  364. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  365. package/lib/component/elements/export/ExportManager.js +2 -2
  366. package/lib/component/elements/export/ExportOptionsModal.d.ts +2 -2
  367. package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -1
  368. package/lib/component/elements/export/ExportOptionsModal.js +31 -110
  369. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
  370. package/lib/component/elements/export/ExportSettingsProvider.d.ts +1 -1
  371. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
  372. package/lib/component/elements/export/RenderDetector.d.ts +1 -1
  373. package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
  374. package/lib/component/elements/export/units.d.ts +0 -28
  375. package/lib/component/elements/export/units.d.ts.map +1 -1
  376. package/lib/component/elements/export/units.js +0 -5
  377. package/lib/component/elements/export/units.js.map +1 -1
  378. package/lib/component/elements/export/utilities/getExportOptions.d.ts.map +1 -1
  379. package/lib/component/elements/export/utilities/getExportOptions.js.map +1 -1
  380. package/lib/component/elements/print/PrintContent.d.ts +1 -1
  381. package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
  382. package/lib/component/elements/print/PrintProvider.d.ts +1 -1
  383. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
  384. package/lib/component/elements/print/pageSize.d.ts +1 -1
  385. package/lib/component/elements/print/pageSize.d.ts.map +1 -1
  386. package/lib/component/elements/resizer/SVGResizer.d.ts +1 -1
  387. package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
  388. package/lib/component/elements/toolbar_button.d.ts +3 -0
  389. package/lib/component/elements/toolbar_button.d.ts.map +1 -0
  390. package/lib/component/elements/{ToolBarButton.js → toolbar_button.js} +2 -2
  391. package/lib/component/elements/toolbar_button.js.map +1 -0
  392. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts +1 -1
  393. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
  394. package/lib/component/header/AutoPeakPickingOptionPanel.js +23 -8
  395. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  396. package/lib/component/header/Header.d.ts +1 -1
  397. package/lib/component/header/Header.d.ts.map +1 -1
  398. package/lib/component/header/HeaderWrapper.d.ts +1 -1
  399. package/lib/component/header/HeaderWrapper.d.ts.map +1 -1
  400. package/lib/component/header/RangesPickingOptionPanel.d.ts +1 -1
  401. package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
  402. package/lib/component/header/RangesPickingOptionPanel.js +2 -2
  403. package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
  404. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts +1 -1
  405. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
  406. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts +1 -1
  407. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
  408. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts +1 -1
  409. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts.map +1 -1
  410. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts +1 -1
  411. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
  412. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts +1 -1
  413. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts.map +1 -1
  414. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts +1 -1
  415. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts.map +1 -1
  416. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
  417. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
  418. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
  419. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
  420. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts +1 -1
  421. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  422. package/lib/component/header/Zones2DOptionPanel.d.ts +1 -1
  423. package/lib/component/header/Zones2DOptionPanel.d.ts.map +1 -1
  424. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts +1 -1
  425. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
  426. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts +1 -1
  427. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  428. package/lib/component/highlight/index.d.ts +1 -1
  429. package/lib/component/highlight/index.d.ts.map +1 -1
  430. package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
  431. package/lib/component/hooks/use2DReducer.js +5 -1
  432. package/lib/component/hooks/use2DReducer.js.map +1 -1
  433. package/lib/component/hooks/useActiveSpectra.d.ts.map +1 -1
  434. package/lib/component/hooks/useActiveSpectra.js +3 -2
  435. package/lib/component/hooks/useActiveSpectra.js.map +1 -1
  436. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts +2 -1
  437. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
  438. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +26 -9
  439. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
  440. package/lib/component/hooks/useCheckToolsVisibility.d.ts +1 -9
  441. package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
  442. package/lib/component/hooks/useCheckToolsVisibility.js +52 -43
  443. package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
  444. package/lib/component/hooks/useExport.d.ts +1 -1
  445. package/lib/component/hooks/useExport.d.ts.map +1 -1
  446. package/lib/component/hooks/useExport.js +1 -1
  447. package/lib/component/hooks/useExport.js.map +1 -1
  448. package/lib/component/hooks/usePanelPreferences.d.ts +3 -3
  449. package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
  450. package/lib/component/hooks/useSaveSettings.d.ts +1 -1
  451. package/lib/component/hooks/useSelectedSpectra.d.ts +3 -0
  452. package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -0
  453. package/lib/component/hooks/useSelectedSpectra.js +20 -0
  454. package/lib/component/hooks/useSelectedSpectra.js.map +1 -0
  455. package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
  456. package/lib/component/hooks/useTextMetrics.js +1 -0
  457. package/lib/component/hooks/useTextMetrics.js.map +1 -1
  458. package/lib/component/hooks/useWorkspaceAction.js +4 -4
  459. package/lib/component/loader/DefaultSpinnerComponent.d.ts +1 -1
  460. package/lib/component/loader/DefaultSpinnerComponent.d.ts.map +1 -1
  461. package/lib/component/loader/DropZone.d.ts +1 -1
  462. package/lib/component/loader/DropZone.d.ts.map +1 -1
  463. package/lib/component/loader/NoData.d.ts +1 -1
  464. package/lib/component/loader/NoData.d.ts.map +1 -1
  465. package/lib/component/loader/Spinner.d.ts +1 -1
  466. package/lib/component/loader/Spinner.d.ts.map +1 -1
  467. package/lib/component/loader/SpinnerContext.d.ts +1 -1
  468. package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
  469. package/lib/component/main/ErrorOverlay.d.ts +1 -1
  470. package/lib/component/main/ErrorOverlay.d.ts.map +1 -1
  471. package/lib/component/main/InnerNMRium.d.ts +1 -1
  472. package/lib/component/main/InnerNMRium.d.ts.map +1 -1
  473. package/lib/component/main/InnerNMRiumContents.d.ts +1 -1
  474. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  475. package/lib/component/main/InnerNMRiumContents.js +2 -2
  476. package/lib/component/main/InnerNMRiumContents.js.map +1 -1
  477. package/lib/component/main/NMRiumStateProvider.d.ts +1 -1
  478. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
  479. package/lib/component/main/NMRiumViewer.d.ts +1 -1
  480. package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
  481. package/lib/component/main/NMRiumViewer.js +3 -3
  482. package/lib/component/main/NMRiumViewer.js.map +1 -1
  483. package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
  484. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  485. package/lib/component/modal/AboutPredictionModal.d.ts +1 -1
  486. package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
  487. package/lib/component/modal/AboutPredictionModal.js +1 -1
  488. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  489. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -1
  490. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
  491. package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -1
  492. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  493. package/lib/component/modal/EditPeakShapeModal.d.ts +7 -1
  494. package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
  495. package/lib/component/modal/EditPeakShapeModal.js +23 -15
  496. package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
  497. package/lib/component/modal/ExportAsJcampModal.d.ts +1 -1
  498. package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
  499. package/lib/component/modal/ImportPublicationStringModal.d.ts +1 -1
  500. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  501. package/lib/component/modal/LoadJCAMPModal.d.ts +1 -1
  502. package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
  503. package/lib/component/modal/LoadJCAMPModal.js +1 -1
  504. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  505. package/lib/component/modal/LogsHistoryModal.d.ts +1 -1
  506. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  507. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts +1 -1
  508. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -1
  509. package/lib/component/modal/MoleculeStructureEditorModal.d.ts +1 -1
  510. package/lib/component/modal/MultipletAnalysisModal.d.ts +1 -3
  511. package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
  512. package/lib/component/modal/MultipletAnalysisModal.js +58 -65
  513. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
  514. package/lib/component/modal/PredictSpectraModal.d.ts +1 -1
  515. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  516. package/lib/component/modal/PublicationStringModal.d.ts +1 -1
  517. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  518. package/lib/component/modal/SaveAsModal.d.ts +2 -2
  519. package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
  520. package/lib/component/modal/SaveAsModal.js +43 -35
  521. package/lib/component/modal/SaveAsModal.js.map +1 -1
  522. package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -1
  523. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  524. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts +1 -1
  525. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts.map +1 -1
  526. package/lib/component/modal/changeSum/ChangeSumModal.d.ts +1 -1
  527. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
  528. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts +1 -1
  529. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -1
  530. package/lib/component/modal/changeSum/SelectMolecule.d.ts +1 -1
  531. package/lib/component/modal/changeSum/SelectMolecule.d.ts.map +1 -1
  532. package/lib/component/modal/editRange/EditRangeModal.d.ts +1 -1
  533. package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
  534. package/lib/component/modal/editRange/EditRangeModal.js +4 -3
  535. package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
  536. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -1
  537. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
  538. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts +1 -1
  539. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts.map +1 -1
  540. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +1 -1
  541. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
  542. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +4 -5
  543. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
  544. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts +1 -1
  545. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
  546. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts +1 -1
  547. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
  548. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts +1 -1
  549. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  550. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts +1 -1
  551. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  552. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
  553. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +6 -7
  554. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
  555. package/lib/component/modal/editZone/EditZoneModal.d.ts +1 -1
  556. package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
  557. package/lib/component/modal/editZone/EditZoneModal.js +3 -1
  558. package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
  559. package/lib/component/modal/editZone/SignalsForm.d.ts +1 -1
  560. package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
  561. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts +1 -1
  562. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  563. package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -2
  564. package/lib/component/modal/setting/WorkspaceItem.d.ts +1 -1
  565. package/lib/component/modal/setting/WorkspaceItem.d.ts.map +1 -1
  566. package/lib/component/modal/setting/WorkspaceItem.js +2 -2
  567. package/lib/component/modal/setting/general_settings.d.ts +1 -1
  568. package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
  569. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +163 -29
  570. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
  571. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +3 -3
  572. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
  573. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +163 -29
  574. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
  575. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js +2 -2
  576. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -1
  577. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +1 -1
  578. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
  579. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +163 -29
  580. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
  581. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +4 -3
  582. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
  583. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +120 -18
  584. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
  585. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +125 -23
  586. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
  587. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +2 -2
  588. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
  589. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +20 -3
  590. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
  591. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +125 -23
  592. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
  593. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js +2 -2
  594. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -1
  595. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +120 -18
  596. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
  597. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +120 -18
  598. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
  599. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +120 -18
  600. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
  601. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +14 -14
  602. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +2 -2
  603. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
  604. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +120 -18
  605. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
  606. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +25 -7
  607. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
  608. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +120 -18
  609. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
  610. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +120 -18
  611. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
  612. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +120 -18
  613. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
  614. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +120 -18
  615. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
  616. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +120 -18
  617. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
  618. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +1654 -0
  619. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -0
  620. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +106 -0
  621. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -0
  622. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +120 -18
  623. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
  624. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +3 -2
  625. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
  626. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +120 -18
  627. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
  628. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +1 -1
  629. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -1
  630. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +1 -1
  631. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -1
  632. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +1 -1
  633. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -1
  634. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +2 -2
  635. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -1
  636. package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +1 -1
  637. package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
  638. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts +1 -1
  639. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts.map +1 -1
  640. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts +24 -12
  641. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts.map +1 -1
  642. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js +4 -2
  643. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js.map +1 -1
  644. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts +39 -0
  645. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts.map +1 -0
  646. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js +16 -0
  647. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js.map +1 -0
  648. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -1
  649. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -1
  650. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +38 -6
  651. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
  652. package/lib/component/modal/setting/tanstack_general_settings/validation.js +4 -2
  653. package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
  654. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +1 -1
  655. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -1
  656. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +2 -2
  657. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +1 -1
  658. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -1
  659. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -1
  660. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
  661. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
  662. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
  663. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts +1 -1
  664. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts.map +1 -1
  665. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +1 -1
  666. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +1 -1
  667. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
  668. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts +1 -1
  669. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
  670. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts +1 -1
  671. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts.map +1 -1
  672. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +1 -5
  673. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
  674. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts +1 -1
  675. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
  676. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts +1 -1
  677. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -1
  678. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +1 -1
  679. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -1
  680. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts +1 -1
  681. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts.map +1 -1
  682. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -1
  683. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  684. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +30 -3
  685. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  686. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
  687. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
  688. package/lib/component/panels/PanelNoData.d.ts +1 -1
  689. package/lib/component/panels/PanelNoData.d.ts.map +1 -1
  690. package/lib/component/panels/Panels.d.ts +1 -1
  691. package/lib/component/panels/Panels.d.ts.map +1 -1
  692. package/lib/component/panels/PanelsBar.d.ts +1 -1
  693. package/lib/component/panels/PanelsBar.d.ts.map +1 -1
  694. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts +1 -1
  695. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -1
  696. package/lib/component/panels/PeaksPanel/PeaksPanel.js +44 -27
  697. package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
  698. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
  699. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +40 -21
  700. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  701. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +9 -3
  702. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  703. package/lib/component/panels/PeaksPanel/PeaksTable.js +21 -19
  704. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  705. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts +4 -0
  706. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts.map +1 -0
  707. package/lib/component/panels/PeaksPanel/peaksToTSV.js +32 -0
  708. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -0
  709. package/lib/component/panels/RangesPanel/RangesHeader.d.ts +1 -1
  710. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
  711. package/lib/component/panels/RangesPanel/RangesHeader.js +1 -1
  712. package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
  713. package/lib/component/panels/RangesPanel/RangesPanel.d.ts +1 -1
  714. package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
  715. package/lib/component/panels/RangesPanel/RangesPreferences.js +22 -22
  716. package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
  717. package/lib/component/panels/RangesPanel/RangesTable.d.ts +3 -3
  718. package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
  719. package/lib/component/panels/RangesPanel/RangesTable.js +5 -4
  720. package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
  721. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +3 -3
  722. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  723. package/lib/component/panels/RangesPanel/RangesTableRow.js +2 -2
  724. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  725. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts +1 -1
  726. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts.map +1 -1
  727. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +1 -1
  728. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  729. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +1 -1
  730. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts.map +1 -1
  731. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts +1 -1
  732. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts.map +1 -1
  733. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -1
  734. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
  735. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
  736. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  737. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  738. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  739. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -1
  740. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
  741. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +1 -1
  742. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts.map +1 -1
  743. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts +1 -1
  744. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
  745. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +143 -4
  746. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
  747. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
  748. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +1 -0
  749. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
  750. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +1 -1
  751. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  752. package/lib/component/panels/SpectraPanel/SpectraTable.js +9 -19
  753. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  754. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts +1 -1
  755. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
  756. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts +1 -1
  757. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts.map +1 -1
  758. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +1 -1
  759. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -1
  760. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
  761. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js +7 -4
  762. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
  763. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts +1 -1
  764. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts.map +1 -1
  765. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -1
  766. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
  767. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +9 -0
  768. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
  769. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts +1 -1
  770. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts.map +1 -1
  771. package/lib/component/panels/SpectraPanel/base/SpectrumName.js +5 -1
  772. package/lib/component/panels/SpectraPanel/base/SpectrumName.js.map +1 -1
  773. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts +2 -0
  774. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -0
  775. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +66 -0
  776. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -0
  777. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts +1 -1
  778. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts.map +1 -1
  779. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts +1 -1
  780. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -1
  781. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +4 -0
  782. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
  783. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +1 -1
  784. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
  785. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +12 -10
  786. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
  787. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts +1 -1
  788. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
  789. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +4 -0
  790. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
  791. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +1 -1
  792. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
  793. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +7 -2
  794. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  795. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +1 -1
  796. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -1
  797. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +10 -4
  798. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
  799. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +1 -1
  800. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
  801. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +1 -1
  802. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
  803. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
  804. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
  805. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +1 -1
  806. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
  807. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts +1 -1
  808. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts.map +1 -1
  809. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +1 -1
  810. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
  811. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts +1 -1
  812. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts.map +1 -1
  813. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +1 -1
  814. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
  815. package/lib/component/panels/SummaryPanel/Overview.d.ts +1 -1
  816. package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
  817. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts +1 -1
  818. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
  819. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts +1 -1
  820. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  821. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +1 -1
  822. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  823. package/lib/component/panels/SummaryPanel/SummaryPanel.js +3 -7
  824. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  825. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +1 -1
  826. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  827. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +1 -1
  828. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  829. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  830. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  831. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +1 -1
  832. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
  833. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -1
  834. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
  835. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +1 -1
  836. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
  837. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +1 -1
  838. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
  839. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +1 -1
  840. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +1 -1
  841. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts +1 -1
  842. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
  843. package/lib/component/panels/ZonesPanel/ZonesPanel.js +1 -1
  844. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
  845. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
  846. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +1 -1
  847. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  848. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts +2 -2
  849. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
  850. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
  851. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts +1 -1
  852. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
  853. package/lib/component/panels/databasePanel/DatabasePanel.d.ts +2 -2
  854. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  855. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -3
  856. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  857. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +2 -2
  858. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
  859. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +1 -1
  860. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts.map +1 -1
  861. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
  862. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  863. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts +1 -1
  864. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts.map +1 -1
  865. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts +1 -1
  866. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts.map +1 -1
  867. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +1 -1
  868. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts.map +1 -1
  869. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +1 -1
  870. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts.map +1 -1
  871. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +1 -1
  872. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts.map +1 -1
  873. package/lib/component/panels/filtersPanel/FilterPanel.d.ts +1 -1
  874. package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -1
  875. package/lib/component/panels/filtersPanel/FilterPanel.js +1 -1
  876. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts +1 -1
  877. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
  878. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts +1 -1
  879. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
  880. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts +1 -1
  881. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts.map +1 -1
  882. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts +1 -1
  883. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
  884. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts +1 -1
  885. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
  886. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts +1 -1
  887. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts.map +1 -1
  888. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  889. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  890. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts +1 -1
  891. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts.map +1 -1
  892. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts +1 -1
  893. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts.map +1 -1
  894. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts +1 -1
  895. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts.map +1 -1
  896. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
  897. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
  898. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
  899. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
  900. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts +1 -1
  901. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts.map +1 -1
  902. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts +1 -1
  903. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -1
  904. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts +1 -1
  905. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
  906. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
  907. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -0
  908. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
  909. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +1 -0
  910. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
  911. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
  912. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -0
  913. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  914. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
  915. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -0
  916. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  917. package/lib/component/panels/header/DefaultPanelHeader.d.ts +3 -3
  918. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  919. package/lib/component/panels/header/DefaultPanelHeader.js +2 -2
  920. package/lib/component/panels/header/PreferencesHeader.d.ts +1 -1
  921. package/lib/component/panels/header/PreferencesHeader.d.ts.map +1 -1
  922. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +1 -1
  923. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts.map +1 -1
  924. package/lib/component/panels/hooks/useMoleculeAnnotationCore.d.ts +3 -2
  925. package/lib/component/panels/hooks/useMoleculeAnnotationCore.d.ts.map +1 -1
  926. package/lib/component/panels/hooks/useMoleculeAnnotationCore.js +14 -8
  927. package/lib/component/panels/hooks/useMoleculeAnnotationCore.js.map +1 -1
  928. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts +1 -1
  929. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  930. package/lib/component/panels/informationPanel/InformationEditionModal.js +222 -33
  931. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  932. package/lib/component/panels/informationPanel/InformationPanel.d.ts +1 -1
  933. package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
  934. package/lib/component/panels/informationPanel/InformationPanel.js +8 -8
  935. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
  936. package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts +6 -0
  937. package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts.map +1 -0
  938. package/lib/component/panels/informationPanel/MixedValuesBadge.js +47 -0
  939. package/lib/component/panels/informationPanel/MixedValuesBadge.js.map +1 -0
  940. package/lib/component/panels/informationPanel/SpectraPicker.d.ts +6 -0
  941. package/lib/component/panels/informationPanel/SpectraPicker.d.ts.map +1 -0
  942. package/lib/component/panels/informationPanel/SpectraPicker.js +148 -0
  943. package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -0
  944. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +1 -1
  945. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -1
  946. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts +1 -1
  947. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  948. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts +1 -1
  949. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts.map +1 -1
  950. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +9 -1
  951. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
  952. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +2 -1
  953. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
  954. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +25 -1
  955. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  956. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +1 -1
  957. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
  958. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +1 -1
  959. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
  960. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts +1 -1
  961. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
  962. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts +1 -1
  963. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
  964. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts +1 -1
  965. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts.map +1 -1
  966. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
  967. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +5 -9
  968. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  969. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts +1 -1
  970. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  971. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts +1 -1
  972. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts.map +1 -1
  973. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts +1 -1
  974. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts.map +1 -1
  975. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts +1 -1
  976. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts.map +1 -1
  977. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts +1 -1
  978. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
  979. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
  980. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  981. package/lib/component/reducer/actions/DomainActions.js +3 -3
  982. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  983. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  984. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  985. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
  986. package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
  987. package/lib/component/reducer/actions/LoadAction.js.map +1 -1
  988. package/lib/component/reducer/actions/MoleculeActions.d.ts +4 -1
  989. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  990. package/lib/component/reducer/actions/MoleculeActions.js +5 -1
  991. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  992. package/lib/component/reducer/actions/PeaksActions.d.ts +10 -5
  993. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  994. package/lib/component/reducer/actions/PeaksActions.js +39 -31
  995. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  996. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  997. package/lib/component/reducer/actions/RangesActions.js +4 -1
  998. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  999. package/lib/component/reducer/actions/SpectraActions.d.ts +3 -3
  1000. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  1001. package/lib/component/reducer/actions/SpectraActions.js +29 -21
  1002. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  1003. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  1004. package/lib/component/reducer/actions/ToolsActions.js +5 -3
  1005. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  1006. package/lib/component/reducer/helper/getActiveSpectra.d.ts +2 -2
  1007. package/lib/component/reducer/helper/getActiveSpectra.d.ts.map +1 -1
  1008. package/lib/component/reducer/helper/getActiveSpectra.js +2 -2
  1009. package/lib/component/reducer/helper/getActiveSpectra.js.map +1 -1
  1010. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts.map +1 -1
  1011. package/lib/component/reducer/helper/getActiveSpectraAsObject.js +2 -1
  1012. package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
  1013. package/lib/component/reducer/helper/setRangesViewProperty.d.ts.map +1 -1
  1014. package/lib/component/reducer/helper/setRangesViewProperty.js.map +1 -1
  1015. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts +4 -0
  1016. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts.map +1 -0
  1017. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js +10 -0
  1018. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js.map +1 -0
  1019. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  1020. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +41 -26
  1021. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  1022. package/lib/component/reducer/preferences/preferencesReducer.d.ts +6 -3
  1023. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  1024. package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
  1025. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
  1026. package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +2 -2
  1027. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -2
  1028. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
  1029. package/lib/component/toolbar/ToolTypes.d.ts +16 -6
  1030. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
  1031. package/lib/component/toolbar/ToolTypes.js +31 -60
  1032. package/lib/component/toolbar/ToolTypes.js.map +1 -1
  1033. package/lib/component/toolbar/nmr_toolbar.d.ts +2 -0
  1034. package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -0
  1035. package/lib/component/toolbar/{ToolBar.js → nmr_toolbar.js} +4 -7
  1036. package/lib/component/toolbar/nmr_toolbar.js.map +1 -0
  1037. package/lib/component/useWatchForm.d.ts.map +1 -1
  1038. package/lib/component/useWatchForm.js +1 -0
  1039. package/lib/component/useWatchForm.js.map +1 -1
  1040. package/lib/component/utility/export.d.ts.map +1 -1
  1041. package/lib/component/utility/export.js +1 -0
  1042. package/lib/component/utility/export.js.map +1 -1
  1043. package/lib/component/utility/getValueByPath.d.ts +2 -0
  1044. package/lib/component/utility/getValueByPath.d.ts.map +1 -0
  1045. package/lib/component/utility/getValueByPath.js +21 -0
  1046. package/lib/component/utility/getValueByPath.js.map +1 -0
  1047. package/lib/component/utility/pathToString.d.ts +2 -0
  1048. package/lib/component/utility/pathToString.d.ts.map +1 -0
  1049. package/lib/component/utility/pathToString.js +4 -0
  1050. package/lib/component/utility/pathToString.js.map +1 -0
  1051. package/lib/component/workspaces/prediction.d.ts.map +1 -1
  1052. package/lib/component/workspaces/prediction.js +20 -0
  1053. package/lib/component/workspaces/prediction.js.map +1 -1
  1054. package/lib/component/workspaces/simulation.d.ts.map +1 -1
  1055. package/lib/component/workspaces/simulation.js +3 -0
  1056. package/lib/component/workspaces/simulation.js.map +1 -1
  1057. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  1058. package/lib/component/workspaces/workspaceDefaultProperties.js +8 -0
  1059. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  1060. package/lib/data/PredictionManager.js.map +1 -1
  1061. package/lib/data/SpectraManager.d.ts.map +1 -1
  1062. package/lib/data/SpectraManager.js +4 -7
  1063. package/lib/data/SpectraManager.js.map +1 -1
  1064. package/lib/data/constants/defaultPeakShape.d.ts +6 -0
  1065. package/lib/data/constants/defaultPeakShape.d.ts.map +1 -0
  1066. package/lib/data/constants/defaultPeakShape.js +6 -0
  1067. package/lib/data/constants/defaultPeakShape.js.map +1 -0
  1068. package/lib/data/constants/signalsKinds.d.ts +1 -2
  1069. package/lib/data/constants/signalsKinds.d.ts.map +1 -1
  1070. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +3 -1
  1071. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
  1072. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +3 -2
  1073. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
  1074. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
  1075. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +108 -3
  1076. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
  1077. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +3 -3
  1078. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +3 -3
  1079. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
  1080. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
  1081. package/lib/data/data1d/database.d.ts +5 -5
  1082. package/lib/data/data1d/database.js +2 -2
  1083. package/lib/data/data1d/multipleSpectraAnalysis.d.ts +2 -2
  1084. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
  1085. package/lib/data/data2d/Spectrum2D/get2DColor.js +3 -1
  1086. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  1087. package/lib/data/matrixGeneration.d.ts.map +1 -1
  1088. package/lib/data/matrixGeneration.js.map +1 -1
  1089. package/lib/data/molecules/MoleculeManager.d.ts +5 -1
  1090. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  1091. package/lib/data/molecules/MoleculeManager.js +5 -3
  1092. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  1093. package/lib/utils/clipboard/clipboardComponents.d.ts +1 -1
  1094. package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -1
  1095. package/lib/versionInfo.js +1 -1
  1096. package/package.json +41 -42
  1097. package/src/component/1d/BrushTracker1D.tsx +12 -8
  1098. package/src/component/1d/FooterBanner.tsx +19 -3
  1099. package/src/component/1d/LinesSeries.tsx +2 -0
  1100. package/src/component/1d/PredictionErrorsNotations.tsx +5 -4
  1101. package/src/component/1d/SpectraLegends.tsx +7 -2
  1102. package/src/component/1d/SpectrumLabel.tsx +59 -0
  1103. package/src/component/1d/peaks/Peaks.tsx +5 -2
  1104. package/src/component/1d/peaks/usePeakShapesPath.ts +3 -2
  1105. package/src/component/1d/ranges/AssignmentLabel.tsx +1 -1
  1106. package/src/component/1d/ranges/FloatingRangeTablePreferencesModal.tsx +238 -0
  1107. package/src/component/1d/ranges/FloatingRanges.tsx +529 -0
  1108. package/src/component/1d/ranges/Ranges.tsx +2 -2
  1109. package/src/component/1d-2d/FieldEdition.tsx +4 -4
  1110. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +8 -8
  1111. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +2 -4
  1112. package/src/component/2d/zones/SignalsGuideLines.tsx +1 -1
  1113. package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +1 -1
  1114. package/src/component/EventsTrackers/BrushTracker.tsx +1 -2
  1115. package/src/component/SVGTable.tsx +35 -33
  1116. package/src/component/context/KeyModifierContext.tsx +1 -2
  1117. package/src/component/context/LoggerContext.tsx +1 -7
  1118. package/src/component/context/SortSpectraContext.tsx +1 -3
  1119. package/src/component/elements/ActionsButtonsPopover.tsx +12 -14
  1120. package/src/component/elements/Button.tsx +3 -8
  1121. package/src/component/elements/CloseButton.tsx +2 -2
  1122. package/src/component/elements/ColorDot.tsx +38 -0
  1123. package/src/component/elements/Footer.tsx +1 -0
  1124. package/src/component/elements/SaveButton.tsx +2 -2
  1125. package/src/component/elements/Sections.tsx +6 -4
  1126. package/src/component/elements/TabTitle.tsx +7 -5
  1127. package/src/component/elements/ToolbarPopoverItem.tsx +28 -10
  1128. package/src/component/elements/dropDownButton/DropDownButton.tsx +7 -5
  1129. package/src/component/elements/export/ExportManager.tsx +2 -2
  1130. package/src/component/elements/export/ExportOptionsModal.tsx +56 -276
  1131. package/src/component/elements/export/units.ts +0 -6
  1132. package/src/component/elements/export/utilities/getExportOptions.ts +1 -0
  1133. package/src/component/elements/print/pageSize.ts +1 -1
  1134. package/src/component/elements/{ToolBarButton.tsx → toolbar_button.tsx} +1 -1
  1135. package/src/component/header/AutoPeakPickingOptionPanel.tsx +32 -10
  1136. package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
  1137. package/src/component/hooks/use2DReducer.tsx +6 -3
  1138. package/src/component/hooks/useActiveSpectra.ts +6 -2
  1139. package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +41 -13
  1140. package/src/component/hooks/useCheckToolsVisibility.ts +69 -74
  1141. package/src/component/hooks/useExport.tsx +2 -4
  1142. package/src/component/hooks/usePanelPreferences.ts +4 -4
  1143. package/src/component/hooks/useSelectedSpectra.ts +25 -0
  1144. package/src/component/hooks/useTextMetrics.ts +1 -0
  1145. package/src/component/hooks/useWorkspaceAction.ts +5 -5
  1146. package/src/component/main/InnerNMRiumContents.tsx +2 -2
  1147. package/src/component/main/NMRiumViewer.tsx +3 -3
  1148. package/src/component/modal/AboutPredictionModal.tsx +5 -5
  1149. package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -1
  1150. package/src/component/modal/EditPeakShapeModal.tsx +44 -28
  1151. package/src/component/modal/LoadJCAMPModal.tsx +1 -1
  1152. package/src/component/modal/MultipletAnalysisModal.tsx +81 -82
  1153. package/src/component/modal/SaveAsModal.tsx +89 -82
  1154. package/src/component/modal/editRange/EditRangeModal.tsx +6 -4
  1155. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +5 -6
  1156. package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +6 -7
  1157. package/src/component/modal/editZone/EditZoneModal.tsx +3 -1
  1158. package/src/component/modal/metaImportation/MetaImportationModal.tsx +2 -2
  1159. package/src/component/modal/setting/WorkspaceItem.tsx +3 -3
  1160. package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +3 -3
  1161. package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +2 -2
  1162. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +9 -2
  1163. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +2 -2
  1164. package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +2 -2
  1165. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +2 -2
  1166. package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +34 -7
  1167. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +202 -0
  1168. package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +3 -2
  1169. package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts +4 -2
  1170. package/src/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.ts +24 -0
  1171. package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -1
  1172. package/src/component/modal/setting/tanstack_general_settings/validation.ts +4 -2
  1173. package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +2 -2
  1174. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
  1175. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +1 -14
  1176. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +41 -8
  1177. package/src/component/panels/PeaksPanel/PeaksPanel.tsx +90 -58
  1178. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +91 -27
  1179. package/src/component/panels/PeaksPanel/PeaksTable.tsx +36 -38
  1180. package/src/component/panels/PeaksPanel/peaksToTSV.ts +45 -0
  1181. package/src/component/panels/RangesPanel/RangesHeader.tsx +3 -4
  1182. package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
  1183. package/src/component/panels/RangesPanel/RangesPreferences.tsx +22 -22
  1184. package/src/component/panels/RangesPanel/RangesTable.tsx +19 -17
  1185. package/src/component/panels/RangesPanel/RangesTableRow.tsx +25 -25
  1186. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +206 -3
  1187. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +1 -0
  1188. package/src/component/panels/SpectraPanel/SpectraTable.tsx +16 -26
  1189. package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +22 -4
  1190. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +17 -0
  1191. package/src/component/panels/SpectraPanel/base/SpectrumName.tsx +15 -6
  1192. package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +112 -0
  1193. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +5 -0
  1194. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +33 -25
  1195. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +5 -0
  1196. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +19 -11
  1197. package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +13 -4
  1198. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +4 -12
  1199. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
  1200. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +2 -2
  1201. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -2
  1202. package/src/component/panels/databasePanel/DatabasePanel.tsx +2 -2
  1203. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +5 -5
  1204. package/src/component/panels/filtersPanel/FilterPanel.tsx +1 -1
  1205. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -0
  1206. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -0
  1207. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +2 -0
  1208. package/src/component/panels/header/DefaultPanelHeader.tsx +6 -6
  1209. package/src/component/panels/hooks/useMoleculeAnnotationCore.ts +17 -9
  1210. package/src/component/panels/informationPanel/InformationEditionModal.tsx +324 -44
  1211. package/src/component/panels/informationPanel/InformationPanel.tsx +13 -12
  1212. package/src/component/panels/informationPanel/MixedValuesBadge.tsx +78 -0
  1213. package/src/component/panels/informationPanel/SpectraPicker.tsx +268 -0
  1214. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +2 -2
  1215. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +12 -1
  1216. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +38 -1
  1217. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +10 -9
  1218. package/src/component/reducer/actions/CorrelationsActions.ts +4 -4
  1219. package/src/component/reducer/actions/DomainActions.ts +9 -7
  1220. package/src/component/reducer/actions/FiltersActions.ts +1 -2
  1221. package/src/component/reducer/actions/IntegralsActions.ts +1 -1
  1222. package/src/component/reducer/actions/LoadAction.ts +1 -3
  1223. package/src/component/reducer/actions/MoleculeActions.ts +11 -5
  1224. package/src/component/reducer/actions/PeaksActions.ts +71 -42
  1225. package/src/component/reducer/actions/RangesActions.ts +4 -1
  1226. package/src/component/reducer/actions/SpectraActions.ts +38 -24
  1227. package/src/component/reducer/actions/ToolsActions.ts +7 -6
  1228. package/src/component/reducer/helper/getActiveSpectra.ts +5 -4
  1229. package/src/component/reducer/helper/getActiveSpectraAsObject.ts +4 -1
  1230. package/src/component/reducer/helper/setRangesViewProperty.ts +1 -2
  1231. package/src/component/reducer/preferences/actions/toggleSpectraLabel.ts +19 -0
  1232. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +40 -21
  1233. package/src/component/reducer/preferences/preferencesReducer.ts +10 -3
  1234. package/src/component/reducer/preferences/utilities/initWorkspace.ts +2 -2
  1235. package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +2 -2
  1236. package/src/component/toolbar/ToolTypes.ts +49 -69
  1237. package/src/component/toolbar/{ToolBar.tsx → nmr_toolbar.tsx} +3 -8
  1238. package/src/component/useWatchForm.tsx +1 -0
  1239. package/src/component/utility/export.ts +1 -0
  1240. package/src/component/utility/getValueByPath.ts +26 -0
  1241. package/src/component/utility/pathToString.ts +3 -0
  1242. package/src/component/workspaces/prediction.ts +20 -0
  1243. package/src/component/workspaces/simulation.ts +3 -0
  1244. package/src/component/workspaces/workspaceDefaultProperties.ts +8 -0
  1245. package/src/data/PredictionManager.ts +4 -6
  1246. package/src/data/SpectraManager.ts +4 -8
  1247. package/src/data/constants/defaultPeakShape.ts +5 -0
  1248. package/src/data/constants/signalsKinds.ts +1 -1
  1249. package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +6 -1
  1250. package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +109 -3
  1251. package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +6 -3
  1252. package/src/data/data1d/database.ts +7 -7
  1253. package/src/data/data1d/multipleSpectraAnalysis.ts +2 -2
  1254. package/src/data/data2d/Spectrum2D/get2DColor.ts +3 -1
  1255. package/src/data/matrixGeneration.ts +1 -5
  1256. package/src/data/molecules/MoleculeManager.ts +4 -3
  1257. package/src/versionInfo.ts +1 -1
  1258. package/lib/component/1d/FloatingRanges.d.ts +0 -2
  1259. package/lib/component/1d/FloatingRanges.d.ts.map +0 -1
  1260. package/lib/component/1d/FloatingRanges.js +0 -263
  1261. package/lib/component/1d/FloatingRanges.js.map +0 -1
  1262. package/lib/component/elements/ToolBarButton.d.ts +0 -3
  1263. package/lib/component/elements/ToolBarButton.d.ts.map +0 -1
  1264. package/lib/component/elements/ToolBarButton.js.map +0 -1
  1265. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts +0 -17
  1266. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +0 -1
  1267. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js +0 -85
  1268. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +0 -1
  1269. package/lib/component/elements/export/utilities/getModes.d.ts +0 -4
  1270. package/lib/component/elements/export/utilities/getModes.d.ts.map +0 -1
  1271. package/lib/component/elements/export/utilities/getModes.js +0 -11
  1272. package/lib/component/elements/export/utilities/getModes.js.map +0 -1
  1273. package/lib/component/toolbar/ToolBar.d.ts +0 -2
  1274. package/lib/component/toolbar/ToolBar.d.ts.map +0 -1
  1275. package/lib/component/toolbar/ToolBar.js.map +0 -1
  1276. package/src/component/1d/FloatingRanges.tsx +0 -378
  1277. package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +0 -110
  1278. package/src/component/elements/export/utilities/getModes.ts +0 -14
@@ -11,6 +11,6 @@ interface MoleculePanelHeaderProps {
11
11
  onClickPasteMolecule?: () => void;
12
12
  children?: ReactNode;
13
13
  }
14
- export default function MoleculePanelHeader(props: MoleculePanelHeaderProps): import("react/jsx-runtime").JSX.Element;
14
+ export default function MoleculePanelHeader(props: MoleculePanelHeaderProps): import("react").JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=MoleculePanelHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculePanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EACV,aAAa,EACb,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AA2F7C,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IACnD,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CA6V1E"}
1
+ {"version":3,"file":"MoleculePanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoBvC,OAAO,KAAK,EACV,aAAa,EACb,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AA4F7C,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IACnD,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BA2X1E"}
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  import { Molecule } from 'openchemlib';
3
3
  import { autoLabel } from 'openchemlib-utils';
4
4
  import { useCallback } from 'react';
5
- import { FaCopy, FaDatabase, FaDownload, FaFileExport, FaFileImage, FaPaste, FaPlus, FaRegBookmark, FaRegTrashAlt, } from 'react-icons/fa';
5
+ import { FaCopy, FaDatabase, FaDownload, FaFileExport, FaFileImage, FaMinusSquare, FaPaste, FaPlus, FaPlusSquare, FaRegBookmark, FaRegTrashAlt, } from 'react-icons/fa';
6
6
  import { FaMaximize, FaMinimize } from 'react-icons/fa6';
7
7
  import { IoOpenOutline } from 'react-icons/io5';
8
8
  import { MdFlashAuto, MdNumbers, MdOutlineLabelOff } from 'react-icons/md';
@@ -84,6 +84,7 @@ export default function MoleculePanelHeader(props) {
84
84
  const { dialog, openDialog, closeDialog } = useDialogToggle({
85
85
  autoLabelDatabaseDialog: false,
86
86
  });
87
+ const { toggleAtomAnnotation, isActiveAnnotation, setAtomAnnotation } = useMoleculeAnnotationCore(moleculeKey, moleculesView[moleculeKey]);
87
88
  const saveAsSVGHandler = useCallback(() => {
88
89
  if (!rootRef)
89
90
  return;
@@ -226,6 +227,23 @@ export default function MoleculePanelHeader(props) {
226
227
  payload: { id, label, molfile: molecule.toMolfileV3() },
227
228
  });
228
229
  }
230
+ function toggleProchirality(action) {
231
+ const molecule = molecules[currentIndex];
232
+ setAtomAnnotation('custom-labels');
233
+ if (!molecule)
234
+ return;
235
+ const { id, label } = molecule;
236
+ if (action === 'add') {
237
+ topicMolecule[id].setProchiralHydrogenLabels();
238
+ }
239
+ else {
240
+ topicMolecule[id].removeProchiralHydrogenLabels();
241
+ }
242
+ dispatch({
243
+ type: 'SET_MOLECULE',
244
+ payload: { id, label, molfile: topicMolecule[id].toMolfile() },
245
+ });
246
+ }
229
247
  function autoLabels() {
230
248
  const currentMolecule = molecules[currentIndex];
231
249
  if (!currentMolecule)
@@ -275,9 +293,18 @@ export default function MoleculePanelHeader(props) {
275
293
  text: 'Template database',
276
294
  onClick: () => openDialog('autoLabelDatabaseDialog'),
277
295
  },
296
+ {
297
+ icon: _jsx(FaPlusSquare, {}),
298
+ text: 'Add prochirality',
299
+ onClick: () => toggleProchirality('add'),
300
+ },
301
+ {
302
+ icon: _jsx(FaMinusSquare, {}),
303
+ text: 'Remove prochirality',
304
+ onClick: () => toggleProchirality('remove'),
305
+ },
278
306
  ];
279
- const { handleChangeAtomAnnotation, isAnnotation } = useMoleculeAnnotationCore(moleculeKey, moleculesView[moleculeKey]);
280
- return (_jsxs(PanelHeader, { onClickSettings: onClickPreferences, current: showCounter ? currentIndex + 1 : undefined, total: showCounter ? molecules.length : undefined, children: [dialog.autoLabelDatabaseDialog && (_jsx(MoleculeAutoLabelsDatabaseModal, { onClose: closeDialog })), _jsxs(Toolbar, { overflow: "collapse", children: [renderSource === 'predictionPanel' && _jsx(AboutPredictionModal, {}), renderSource === 'moleculePanel' && (_jsx(ToolbarPopoverItem, { options: MOL_EXPORT_MENU, onClick: exportHandler, disabled: !hasMolecules, tooltip: "Export As", icon: _jsx(FaFileExport, {}), id: "molecule-export-as" })), _jsx(Toolbar.Item, { tooltip: "Paste SMILES or molfile", icon: _jsx(FaPaste, {}), onClick: handlePasteMoleculeAction }), renderSource === 'moleculePanel' && (_jsx(Toolbar.Item, { tooltip: "Add molecule", icon: _jsx(FaPlus, {}), onClick: onOpenMoleculeEditor })), renderSource === 'moleculePanel' && (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { tooltip: "Delete molecule", icon: _jsx(FaRegTrashAlt, {}), onClick: handleDelete, disabled: !hasMolecules }), hasMolecules && (_jsx(PredictSpectraModal, { molecule: molecules[currentIndex] })), _jsx(Toolbar.Item, { tooltip: `${booleanToString(!isAnnotation('atom-numbers'))} atom number`, icon: _jsx(MdNumbers, {}), onClick: () => handleChangeAtomAnnotation('atom-numbers'), active: isAnnotation('atom-numbers'), disabled: !hasMolecules }), _jsx(Toolbar.Item, { tooltip: _jsx(TooltipHelpContent, { title: `${booleanToString(!isAnnotation('custom-labels'), { trueLabel: 'Display' })} custom atom labels`, description: "Custom atom labels can be displayed or hidden on the molecule structure", link: "https://docs.nmrium.org/help/structure-labelling/" }), icon: _jsx(FaRegBookmark, {}), onClick: () => handleChangeAtomAnnotation('custom-labels'), active: isAnnotation('custom-labels'), disabled: !hasMolecules })] })), _jsx(Toolbar.Item, { tooltip: "Float molecule", icon: _jsx(IoOpenOutline, {}), onClick: floatMoleculeHandler, active: moleculesView?.[moleculeKey]?.floating.visible || false, disabled: !hasMolecules }), _jsx(ToolbarPopoverItem, { options: moreMenu, tooltip: "More", tooltipProps: {
307
+ return (_jsxs(PanelHeader, { onClickSettings: onClickPreferences, current: showCounter ? currentIndex + 1 : undefined, total: showCounter ? molecules.length : undefined, children: [dialog.autoLabelDatabaseDialog && (_jsx(MoleculeAutoLabelsDatabaseModal, { onClose: closeDialog })), _jsxs(Toolbar, { overflow: "collapse", children: [renderSource === 'predictionPanel' && _jsx(AboutPredictionModal, {}), renderSource === 'moleculePanel' && (_jsx(ToolbarPopoverItem, { options: MOL_EXPORT_MENU, onClick: exportHandler, disabled: !hasMolecules, tooltip: "Export As", icon: _jsx(FaFileExport, {}), id: "molecule-export-as" })), _jsx(Toolbar.Item, { tooltip: "Paste SMILES or molfile", icon: _jsx(FaPaste, {}), onClick: handlePasteMoleculeAction }), renderSource === 'moleculePanel' && (_jsx(Toolbar.Item, { tooltip: "Add molecule", icon: _jsx(FaPlus, {}), onClick: onOpenMoleculeEditor })), renderSource === 'moleculePanel' && (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { tooltip: "Delete molecule", icon: _jsx(FaRegTrashAlt, {}), onClick: handleDelete, disabled: !hasMolecules }), hasMolecules && (_jsx(PredictSpectraModal, { molecule: molecules[currentIndex] })), _jsx(Toolbar.Item, { tooltip: `${booleanToString(!isActiveAnnotation('atom-numbers'))} atom number`, icon: _jsx(MdNumbers, {}), onClick: () => toggleAtomAnnotation('atom-numbers'), active: isActiveAnnotation('atom-numbers'), disabled: !hasMolecules }), _jsx(Toolbar.Item, { tooltip: _jsx(TooltipHelpContent, { title: `${booleanToString(!isActiveAnnotation('custom-labels'), { trueLabel: 'Display' })} custom atom labels`, description: "Custom atom labels can be displayed or hidden on the molecule structure", link: "https://docs.nmrium.org/help/structure-labelling/" }), icon: _jsx(FaRegBookmark, {}), onClick: () => toggleAtomAnnotation('custom-labels'), active: isActiveAnnotation('custom-labels'), disabled: !hasMolecules })] })), _jsx(Toolbar.Item, { tooltip: "Float molecule", icon: _jsx(IoOpenOutline, {}), onClick: floatMoleculeHandler, active: moleculesView?.[moleculeKey]?.floating.visible || false, disabled: !hasMolecules }), _jsx(ToolbarPopoverItem, { options: moreMenu, tooltip: "More", tooltipProps: {
281
308
  minimal: true,
282
309
  }, icon: "more" })] }), _jsx("div", { style: { flex: 1 }, children: children }), _jsx(ClipboardFallbackModal, { mode: shouldFallback, onDismiss: cleanShouldFallback, onReadText: handlePasteMolecule, text: text, label: "Enter here a molfile or SMILES" })] }));
283
310
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculePanelHeader.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EACL,MAAM,EACN,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,OAAO,EACP,MAAM,EACN,aAAa,EACb,aAAa,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAM5E,OAAO,EACL,YAAY,EACZ,iBAAiB,GAClB,MAAM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EAC/D,QAAQ,EAAE,CAAC,YAAY,GACvB,EAEF,KAAC,kBAAkB,IACjB,OAAO,EAAE,QAAQ,EACjB,OAAO,EAAC,MAAM,EACd,YAAY,EAAE;4BACZ,OAAO,EAAE,IAAI;yBACd,EACD,IAAI,EAAC,MAAM,GACX,IACM,EAEV,cAAK,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,YAAG,QAAQ,GAAO,EAEzC,KAAC,sBAAsB,IACrB,IAAI,EAAE,cAAc,EACpB,SAAS,EAAE,mBAAmB,EAC9B,UAAU,EAAE,mBAAmB,EAC/B,IAAI,EAAE,IAAI,EACV,KAAK,EAAC,gCAAgC,GACtC,IACU,CACf,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"MoleculePanelHeader.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EACL,MAAM,EACN,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,aAAa,EACb,OAAO,EACP,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAM5E,OAAO,EACL,YAAY,EACZ,iBAAiB,GAClB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM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AAI,EACV,KAAK,EAAC,gCAAgC,GACtC,IACU,CACf,CAAC;AACJ,CAAC"}
@@ -8,6 +8,6 @@ interface MoleculeStructureProps extends Pick<OCLnmrProps, 'width' | 'height'> {
8
8
  showLabel?: boolean;
9
9
  index?: number;
10
10
  }
11
- export declare function MoleculeStructure(props: MoleculeStructureProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function MoleculeStructure(props: MoleculeStructureProps): import("react").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=MoleculeStructure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculeStructure.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeStructure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AASjF,UAAU,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC5E,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0BD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CA0G9D"}
1
+ {"version":3,"file":"MoleculeStructure.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeStructure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AASjF,UAAU,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC5E,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0BD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BA0G9D"}
@@ -1,6 +1,6 @@
1
1
  interface PanelNoDataProps {
2
2
  children?: string;
3
3
  }
4
- export declare function PanelNoData({ children }: PanelNoDataProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function PanelNoData({ children }: PanelNoDataProps): import("react").JSX.Element;
5
5
  export {};
6
6
  //# sourceMappingURL=PanelNoData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PanelNoData.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelNoData.tsx"],"names":[],"mappings":"AAuBA,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAMzD"}
1
+ {"version":3,"file":"PanelNoData.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelNoData.tsx"],"names":[],"mappings":"AAuBA,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,+BAMzD"}
@@ -1,2 +1,2 @@
1
- export declare function Panels(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Panels(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=Panels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Panels.d.ts","sourceRoot":"","sources":["../../../src/component/panels/Panels.tsx"],"names":[],"mappings":"AAuFA,wBAAgB,MAAM,4CAErB"}
1
+ {"version":3,"file":"Panels.d.ts","sourceRoot":"","sources":["../../../src/component/panels/Panels.tsx"],"names":[],"mappings":"AAuFA,wBAAgB,MAAM,gCAErB"}
@@ -1,4 +1,4 @@
1
1
  export declare function PanelsBar({ itemHeight }: {
2
2
  itemHeight?: number | undefined;
3
- }): import("react/jsx-runtime").JSX.Element | null;
3
+ }): import("react").JSX.Element | null;
4
4
  //# sourceMappingURL=PanelsBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PanelsBar.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelsBar.tsx"],"names":[],"mappings":"AA4CA,wBAAgB,SAAS,CAAC,EAAE,UAAe,EAAE;;CAAA,kDAsD5C"}
1
+ {"version":3,"file":"PanelsBar.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelsBar.tsx"],"names":[],"mappings":"AA4CA,wBAAgB,SAAS,CAAC,EAAE,UAAe,EAAE;;CAAA,sCAsD5C"}
@@ -3,5 +3,5 @@ export interface PeakRecord extends Peak1D {
3
3
  xHz: number;
4
4
  isConstantlyHighlighted: boolean;
5
5
  }
6
- export default function PeaksPanel(): import("react/jsx-runtime").JSX.Element;
6
+ export default function PeaksPanel(): import("react").JSX.Element;
7
7
  //# sourceMappingURL=PeaksPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PeaksPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAmCjE,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,uBAAuB,EAAE,OAAO,CAAC;CAClC;AA0KD,MAAM,CAAC,OAAO,UAAU,UAAU,4CAgBjC"}
1
+ {"version":3,"file":"PeaksPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAsCjE,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,uBAAuB,EAAE,OAAO,CAAC;CAClC;AAuMD,MAAM,CAAC,OAAO,UAAU,UAAU,gCAgBjC"}
@@ -1,23 +1,26 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { SvgNmrFt, SvgNmrPeaks, SvgNmrPeaksTopLabels } from 'cheminfo-font';
3
3
  import { memo, useCallback, useMemo, useRef, useState } from 'react';
4
- import { FaThinkPeaks } from 'react-icons/fa';
4
+ import { FaCopy, FaThinkPeaks } from 'react-icons/fa';
5
5
  import isInRange from '../../../data/utilities/isInRange.js';
6
+ import { ClipboardFallbackModal } from "../../../utils/clipboard/clipboardComponents.js";
7
+ import { useClipboard } from "../../../utils/clipboard/clipboardHooks.js";
6
8
  import { useChartData } from '../../context/ChartContext.js';
7
9
  import { useDispatch } from '../../context/DispatchContext.js';
8
10
  import { usePreferences } from '../../context/PreferencesContext.js';
9
11
  import { useToaster } from '../../context/ToasterContext.js';
10
12
  import { useAlert } from '../../elements/Alert.js';
11
13
  import { useActiveSpectrumPeaksViewState } from '../../hooks/useActiveSpectrumPeaksViewState.js';
12
- import useCheckExperimentalFeature from '../../hooks/useCheckExperimentalFeature.js';
13
14
  import { useFormatNumberByNucleus } from '../../hooks/useFormatNumberByNucleus.js';
14
15
  import useSpectrum from '../../hooks/useSpectrum.js';
16
+ import { EditPeakShapeModal } from "../../modal/EditPeakShapeModal.js";
15
17
  import { booleanToString } from '../../utility/booleanToString.js';
16
18
  import { TablePanel } from '../extra/BasicPanelStyle.js';
17
19
  import DefaultPanelHeader from '../header/DefaultPanelHeader.js';
18
20
  import PreferencesHeader from '../header/PreferencesHeader.js';
19
21
  import PeaksPreferences from './PeaksPreferences.js';
20
- import PeaksTable from './PeaksTable.js';
22
+ import PeaksTable, { usePeaksTableColumns } from './PeaksTable.js';
23
+ import { exportPeaksToTSV } from "./peaksToTSV.js";
21
24
  function PeaksPanelInner(props) {
22
25
  const { peaks, info, xDomain, activeTab, peaksViewState } = props;
23
26
  const [filterIsActive, setFilterIsActive] = useState(false);
@@ -26,8 +29,9 @@ function PeaksPanelInner(props) {
26
29
  const dispatch = useDispatch();
27
30
  const alert = useAlert();
28
31
  const toaster = useToaster();
29
- const isExperimental = useCheckExperimentalFeature();
30
32
  const settingRef = useRef(null);
33
+ const { peak, tableColumns, setEditedPeak } = usePeaksTableColumns(activeTab);
34
+ const { rawWriteWithType, shouldFallback, cleanShouldFallback, text } = useClipboard();
31
35
  const yesHandler = useCallback(() => {
32
36
  dispatch({ type: 'DELETE_PEAK', payload: {} });
33
37
  }, [dispatch]);
@@ -75,12 +79,12 @@ function PeaksPanelInner(props) {
75
79
  const optimizePeaksHandler = () => {
76
80
  const [from, to] = xDomain;
77
81
  const filterPeaks = peaks.values.filter((peak) => isInRange(peak.x, { from, to }));
78
- if (filterPeaks.length <= 4) {
82
+ if (filterPeaks.length <= 15) {
79
83
  dispatch({ type: 'OPTIMIZE_PEAKS', payload: { peaks: filterPeaks } });
80
84
  }
81
85
  else {
82
86
  toaster.show({
83
- message: 'optimization can be done on no more than 4 peaks',
87
+ message: 'optimization can be done on no more than 15 peaks',
84
88
  intent: 'danger',
85
89
  });
86
90
  }
@@ -94,7 +98,33 @@ function PeaksPanelInner(props) {
94
98
  const total = peaks.values.length;
95
99
  const disabled = total === 0;
96
100
  const { showPeaks, displayingMode, showPeaksShapes, showPeaksSum } = peaksViewState;
101
+ function handleExportPeaksToTSV() {
102
+ const tsv = exportPeaksToTSV(filteredPeaks, tableColumns);
103
+ void rawWriteWithType(tsv, 'text/plain').then(() => toaster.show({
104
+ message: 'Peaks copied to clipboard',
105
+ intent: 'success',
106
+ }));
107
+ }
97
108
  const leftButtons = [
109
+ {
110
+ disabled,
111
+ icon: _jsx(SvgNmrPeaks, {}),
112
+ tooltip: `${booleanToString(!showPeaksShapes)} peaks shapes`,
113
+ onClick: () => toggleViewProperty('showPeaksShapes'),
114
+ active: showPeaksShapes,
115
+ },
116
+ {
117
+ disabled,
118
+ icon: _jsx(SvgNmrFt, {}),
119
+ tooltip: `${booleanToString(!showPeaksSum)} peaks sum`,
120
+ onClick: () => toggleViewProperty('showPeaksSum'),
121
+ active: showPeaksSum,
122
+ },
123
+ {
124
+ icon: _jsx(FaThinkPeaks, {}),
125
+ tooltip: 'Optimize peaks',
126
+ onClick: optimizePeaksHandler,
127
+ },
98
128
  {
99
129
  disabled,
100
130
  icon: _jsx(SvgNmrPeaks, {}),
@@ -109,27 +139,14 @@ function PeaksPanelInner(props) {
109
139
  onClick: toggleDisplayingMode,
110
140
  active: displayingMode === 'spread',
111
141
  },
112
- ];
113
- if (isExperimental) {
114
- leftButtons.unshift({
115
- disabled,
116
- icon: _jsx(SvgNmrPeaks, {}),
117
- tooltip: `${booleanToString(!showPeaksShapes)} peaks shapes`,
118
- onClick: () => toggleViewProperty('showPeaksShapes'),
119
- active: showPeaksShapes,
120
- }, {
142
+ {
121
143
  disabled,
122
- icon: _jsx(SvgNmrFt, {}),
123
- tooltip: `${booleanToString(!showPeaksSum)} peaks sum`,
124
- onClick: () => toggleViewProperty('showPeaksSum'),
125
- active: showPeaksSum,
126
- }, {
127
- icon: _jsx(FaThinkPeaks, {}),
128
- tooltip: 'Optimize peaks',
129
- onClick: optimizePeaksHandler,
130
- });
131
- }
132
- return (_jsxs(TablePanel, { isFlipped: isFlipped, children: [!isFlipped && (_jsx(DefaultPanelHeader, { total: total, counter: filteredPeaks.length, onDelete: handleDeleteAll, deleteToolTip: "Delete All Peaks", onFilter: handleOnFilter, filterToolTip: filterIsActive ? 'Show all peaks' : 'Hide peaks out of view', onSettingClick: settingsPanelHandler, leftButtons: leftButtons })), isFlipped && (_jsx(PreferencesHeader, { onSave: saveSettingHandler, onClose: settingsPanelHandler })), _jsx("div", { className: "inner-container", children: !isFlipped ? (_jsx(PeaksTable, { data: filteredPeaks, info: info, activeTab: activeTab })) : (_jsx(PeaksPreferences, { ref: settingRef })) })] }));
144
+ icon: _jsx(FaCopy, {}),
145
+ tooltip: `Copy as TSV`,
146
+ onClick: handleExportPeaksToTSV,
147
+ },
148
+ ];
149
+ return (_jsxs(_Fragment, { children: [_jsx(ClipboardFallbackModal, { mode: shouldFallback, onDismiss: cleanShouldFallback, text: text, label: "Peaks" }), _jsx(EditPeakShapeModal, { peak: peak, onCloseDialog: () => setEditedPeak(undefined) }), _jsxs(TablePanel, { isFlipped: isFlipped, children: [!isFlipped && (_jsx(DefaultPanelHeader, { total: total, counter: filteredPeaks.length, onDelete: handleDeleteAll, deleteTooltip: "Delete All Peaks", onFilter: handleOnFilter, filterTooltip: filterIsActive ? 'Show all peaks' : 'Hide peaks out of view', onSettingClick: settingsPanelHandler, leftButtons: leftButtons })), isFlipped && (_jsx(PreferencesHeader, { onSave: saveSettingHandler, onClose: settingsPanelHandler })), _jsx("div", { className: "inner-container", children: !isFlipped ? (_jsx(PeaksTable, { data: filteredPeaks, info: info, tableColumns: tableColumns })) : (_jsx(PeaksPreferences, { ref: settingRef })) })] })] }));
133
150
  }
134
151
  const MemoizedPeaksPanel = memo(PeaksPanelInner);
135
152
  const emptyData = { peaks: { values: [] }, info: {} };
@@ -1 +1 @@
1
- {"version":3,"file":"PeaksPanel.js","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPanel.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,SAAS,MAAM,sCAAsC,CAAC;AAC7D,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,CACL,KAAC,kBAAkB,IACX,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,GAClE,CACH,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PeaksPreferences.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPreferences.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;;AAuEjF,wBAoCE"}
1
+ {"version":3,"file":"PeaksPreferences.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPreferences.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;;AAuEjF,wBA8FE"}
@@ -1,9 +1,15 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, memo, useCallback, useMemo } from 'react';
3
- import { useForm } from 'react-hook-form';
3
+ import { useForm, useWatch } from 'react-hook-form';
4
4
  import { usePreferences } from '../../context/PreferencesContext.js';
5
+ import { fieldLabelStyle } from "../../elements/FormatField.js";
6
+ import { GroupPane } from "../../elements/GroupPane.js";
7
+ import Label from "../../elements/Label.js";
8
+ import { NumberInput2Controller } from "../../elements/NumberInput2Controller.js";
9
+ import { Select2Controller } from "../../elements/Select2Controller.js";
5
10
  import useNucleus from '../../hooks/useNucleus.js';
6
11
  import { usePanelPreferencesByNuclei } from '../../hooks/usePanelPreferences.js';
12
+ import { PEAKS_SHAPES } from "../../modal/EditPeakShapeModal.js";
7
13
  import { getUniqueNuclei } from '../../utility/getUniqueNuclei.js';
8
14
  import { NucleusPreferences } from '../extra/preferences/NucleusPreferences.js';
9
15
  import { PreferencesContainer } from '../extra/preferences/PreferencesContainer.js';
@@ -12,66 +18,66 @@ const formatFields = [
12
18
  {
13
19
  id: 1,
14
20
  label: 'Serial number :',
15
- checkFieldName: 'showSerialNumber',
21
+ checkFieldName: 'tablePreferences.showSerialNumber',
16
22
  hideFormatField: true,
17
23
  },
18
24
  {
19
25
  id: 2,
20
26
  label: 'δ (ppm) :',
21
- checkFieldName: 'deltaPPM.show',
22
- formatFieldName: 'deltaPPM.format',
27
+ checkFieldName: 'tablePreferences.deltaPPM.show',
28
+ formatFieldName: 'tablePreferences.deltaPPM.format',
23
29
  },
24
30
  {
25
31
  id: 3,
26
32
  label: 'δ (Hz) :',
27
- checkFieldName: 'deltaHz.show',
28
- formatFieldName: 'deltaHz.format',
33
+ checkFieldName: 'tablePreferences.deltaHz.show',
34
+ formatFieldName: 'tablePreferences.deltaHz.format',
29
35
  },
30
36
  {
31
37
  id: 4,
32
38
  label: 'Peak Width (Hz)',
33
- checkFieldName: 'peakWidth.show',
34
- formatFieldName: 'peakWidth.format',
39
+ checkFieldName: 'tablePreferences.peakWidth.show',
40
+ formatFieldName: 'tablePreferences.peakWidth.format',
35
41
  },
36
42
  {
37
43
  id: 5,
38
44
  label: 'Intensity :',
39
- checkFieldName: 'intensity.show',
40
- formatFieldName: 'intensity.format',
45
+ checkFieldName: 'tablePreferences.intensity.show',
46
+ formatFieldName: 'tablePreferences.intensity.format',
41
47
  },
42
48
  {
43
49
  id: 6,
44
50
  label: 'kind :',
45
- checkFieldName: 'fwhm.show',
51
+ checkFieldName: 'tablePreferences.fwhm.show',
46
52
  },
47
53
  {
48
54
  id: 7,
49
55
  label: 'fwhm :',
50
- checkFieldName: 'fwhm.show',
51
- formatFieldName: 'fwhm.format',
56
+ checkFieldName: 'tablePreferences.fwhm.show',
57
+ formatFieldName: 'tablePreferences.fwhm.format',
52
58
  },
53
59
  {
54
60
  id: 8,
55
61
  label: 'mu :',
56
- checkFieldName: 'mu.show',
57
- formatFieldName: 'mu.format',
62
+ checkFieldName: 'tablePreferences.mu.show',
63
+ formatFieldName: 'tablePreferences.mu.format',
58
64
  },
59
65
  {
60
66
  id: 11,
61
67
  label: 'gamma :',
62
- checkFieldName: 'gamma.show',
63
- formatFieldName: 'gamma.format',
68
+ checkFieldName: 'tablePreferences.gamma.show',
69
+ formatFieldName: 'tablePreferences.gamma.format',
64
70
  },
65
71
  {
66
72
  id: 9,
67
73
  label: 'Delete action :',
68
- checkFieldName: 'showDeleteAction',
74
+ checkFieldName: 'tablePreferences.showDeleteAction',
69
75
  hideFormatField: true,
70
76
  },
71
77
  {
72
78
  id: 10,
73
79
  label: 'Edit peak shape action :',
74
- checkFieldName: 'showEditPeakShapeAction',
80
+ checkFieldName: 'tablePreferences.showEditPeakShapeAction',
75
81
  hideFormatField: true,
76
82
  },
77
83
  ];
@@ -90,6 +96,19 @@ export default memo(forwardRef(function PeaksPreferences(_, ref) {
90
96
  defaultValues: preferencesByNuclei,
91
97
  });
92
98
  useSettingImperativeHandle(ref, handleSubmit, saveHandler);
93
- return (_jsx(PreferencesContainer, { children: nuclei?.map((n) => (_jsx(NucleusPreferences, { control: control, nucleus: n, fields: formatFields }, n))) }));
99
+ const currentPreferences = useWatch({ control, name: 'nuclei' });
100
+ return (_jsx(PreferencesContainer, { children: nuclei?.map((n) => {
101
+ const kind = currentPreferences?.[n].defaultPeakShape?.kind;
102
+ return (_jsx(NucleusPreferences, { control: control, nucleus: n, fields: formatFields, renderBottom: () => (_jsxs(GroupPane, { text: "Default peak shape", style: { header: { color: '#005d9e' } }, children: [_jsx(Label, { title: "Kind:", style: fieldLabelStyle, children: _jsx(Select2Controller, { items: PEAKS_SHAPES, control: control, name: `nuclei.${n}.defaultPeakShape.kind` }) }), _jsx(Label, { title: "FWHM:", style: fieldLabelStyle, children: _jsx(NumberInput2Controller, { min: 0, control: control, name: `nuclei.${n}.defaultPeakShape.fwhm`, controllerProps: {
103
+ rules: { required: true },
104
+ defaultValue: 1,
105
+ } }) }), kind === 'pseudoVoigt' && (_jsx(Label, { title: "Mu:", style: fieldLabelStyle, children: _jsx(NumberInput2Controller, { min: 0, control: control, name: `nuclei.${n}.defaultPeakShape.mu`, controllerProps: {
106
+ rules: { required: true },
107
+ defaultValue: 0.5,
108
+ } }) })), kind === 'generalizedLorentzian' && (_jsx(Label, { title: "Gamma:", style: fieldLabelStyle, children: _jsx(NumberInput2Controller, { min: -1, max: 2, control: control, name: `nuclei.${n}.defaultPeakShape.gamma`, controllerProps: {
109
+ rules: { required: true },
110
+ defaultValue: 0.5,
111
+ } }) }))] })) }, n));
112
+ }) }));
94
113
  }));
95
114
  //# sourceMappingURL=PeaksPreferences.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PeaksPreferences.js","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPreferences.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAE3F,MAAM,YAAY,GAA6B;IAC7C;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,iBAAiB;QACxB,cAAc,EAAE,kBAAkB;QAClC,eAAe,EAAE,IAAI;KACtB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,WAAW;QAClB,cAAc,EAAE,eAAe;QAC/B,eAAe,EAAE,iBAAiB;KACnC;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,UAAU;QACjB,cAAc,EAAE,cAAc;QA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C,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,eAAe,YAC1C,KAAC,sBAAsB,IACrB,GAAG,EAAE,CAAC,CAAC,EACP,GAAG,EAAE,CAAC,EACN,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,UAAU,CAAC,yBAAyB,EAC1C,eAAe,EAAE;oCACf,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;oCACzB,YAAY,EAAE,GAAG;iCAClB,GACD,GACI,CACT,IACS,CACb,IAxDI,CAAC,CAyDN,CACH,CAAC;QACJ,CAAC,CAAC,GACmB,CACxB,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
@@ -1,11 +1,17 @@
1
- import type { Info1D } from '@zakodium/nmr-types';
1
+ import type { Info1D, Peak1D } from '@zakodium/nmr-types';
2
+ import type { ControlCustomColumn } from '../../elements/ReactTable/utility/addCustomColumn.js';
2
3
  import type { PeakRecord } from './PeaksPanel.js';
4
+ export declare function usePeaksTableColumns(activeTab: string): {
5
+ tableColumns: ControlCustomColumn<PeakRecord>[];
6
+ peak: Peak1D | undefined;
7
+ setEditedPeak: import("react").Dispatch<import("react").SetStateAction<Peak1D | undefined>>;
8
+ };
3
9
  interface PeaksTableProps {
4
- activeTab: string;
10
+ tableColumns: Array<ControlCustomColumn<PeakRecord>>;
5
11
  data: PeakRecord[];
6
12
  info: Info1D;
7
13
  }
8
- declare function PeaksTable(props: PeaksTableProps): import("react/jsx-runtime").JSX.Element;
14
+ declare function PeaksTable(props: PeaksTableProps): import("react").JSX.Element;
9
15
  declare const _default: import("react").MemoExoticComponent<typeof PeaksTable>;
10
16
  export default _default;
11
17
  //# sourceMappingURL=PeaksTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PeaksTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAU,MAAM,qBAAqB,CAAC;AAmB1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,UAAU,eAAe;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAMD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAqMzC;;AAED,wBAAgC"}
1
+ {"version":3,"file":"PeaksTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAU1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAQhG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM;;;;EA6KrD;AAED,UAAU,eAAe;IACvB,YAAY,EAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,CAAC;IACrD,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAMD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,+BAqBzC;;AAED,wBAAgC"}