nmrium 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1110) 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/FloatingRanges.d.ts +1 -1
  14. package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
  15. package/lib/component/1d/FooterBanner.d.ts +1 -1
  16. package/lib/component/1d/FooterBanner.d.ts.map +1 -1
  17. package/lib/component/1d/FooterBanner.js +12 -2
  18. package/lib/component/1d/FooterBanner.js.map +1 -1
  19. package/lib/component/1d/HorizontalAxis1D.d.ts +1 -1
  20. package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -1
  21. package/lib/component/1d/Line.d.ts +1 -1
  22. package/lib/component/1d/Line.d.ts.map +1 -1
  23. package/lib/component/1d/LinesSeries.d.ts +1 -1
  24. package/lib/component/1d/LinesSeries.d.ts.map +1 -1
  25. package/lib/component/1d/LinesSeries.js +2 -1
  26. package/lib/component/1d/LinesSeries.js.map +1 -1
  27. package/lib/component/1d/PredictionErrorsNotations.d.ts +1 -1
  28. package/lib/component/1d/PredictionErrorsNotations.d.ts.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/PeaksShapes.d.ts +1 -1
  98. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
  99. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  100. package/lib/component/1d/peaks/usePeakShapesPath.js +2 -2
  101. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  102. package/lib/component/1d/ranges/AssignmentLabel.d.ts +1 -1
  103. package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
  104. package/lib/component/1d/ranges/Atoms.d.ts +1 -1
  105. package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
  106. package/lib/component/1d/ranges/Range.d.ts +1 -1
  107. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  108. package/lib/component/1d/ranges/Ranges.d.ts +1 -1
  109. package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
  110. package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -1
  111. package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
  112. package/lib/component/1d/tool/BaseLine.d.ts +1 -1
  113. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
  114. package/lib/component/1d/tool/PeakPointer.d.ts +1 -1
  115. package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
  116. package/lib/component/1d/tool/PivotIndicator1D.d.ts +1 -1
  117. package/lib/component/1d/tool/PivotIndicator1D.d.ts.map +1 -1
  118. package/lib/component/1d/tool/XLabelPointer.d.ts +1 -1
  119. package/lib/component/1d/tool/XLabelPointer.d.ts.map +1 -1
  120. package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
  121. package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
  122. package/lib/component/1d-2d/components/ClipPathContainer.d.ts +1 -1
  123. package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
  124. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +1 -1
  125. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
  126. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts +1 -1
  127. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
  128. package/lib/component/1d-2d/components/SVGRootContainer.d.ts +1 -1
  129. package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
  130. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -1
  131. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  132. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -4
  133. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  134. package/lib/component/1d-2d/components/axis_unit_picker.d.ts +1 -1
  135. package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
  136. package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -1
  137. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  138. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -1
  139. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  140. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts +1 -1
  141. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -1
  142. package/lib/component/2d/1d-tracer/Left1DChart.d.ts +1 -1
  143. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
  144. package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
  145. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
  146. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts +1 -1
  147. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -1
  148. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts +1 -1
  149. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts.map +1 -1
  150. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts +1 -1
  151. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts.map +1 -1
  152. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts +1 -1
  153. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
  154. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts +1 -1
  155. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -1
  156. package/lib/component/2d/BrushTracker2D.d.ts +1 -1
  157. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
  158. package/lib/component/2d/DirectAxis2D.d.ts +1 -1
  159. package/lib/component/2d/DirectAxis2D.d.ts.map +1 -1
  160. package/lib/component/2d/FooterBanner.d.ts +1 -1
  161. package/lib/component/2d/FooterBanner.d.ts.map +1 -1
  162. package/lib/component/2d/IndirectAxis2D.d.ts +1 -1
  163. package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -1
  164. package/lib/component/2d/SVGContent2D.d.ts +1 -1
  165. package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
  166. package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
  167. package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
  168. package/lib/component/2d/SlicingView.d.ts +1 -1
  169. package/lib/component/2d/SlicingView.d.ts.map +1 -1
  170. package/lib/component/2d/Viewer2D.d.ts +1 -1
  171. package/lib/component/2d/Viewer2D.d.ts.map +1 -1
  172. package/lib/component/2d/fid/FidCanvas.d.ts +1 -1
  173. package/lib/component/2d/fid/FidCanvas.d.ts.map +1 -1
  174. package/lib/component/2d/fid/FidContainer.d.ts +1 -1
  175. package/lib/component/2d/fid/FidContainer.d.ts.map +1 -1
  176. package/lib/component/2d/ft/Contours.d.ts +1 -1
  177. package/lib/component/2d/ft/Contours.d.ts.map +1 -1
  178. package/lib/component/2d/ft/FTContainer.d.ts +1 -1
  179. package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
  180. package/lib/component/2d/tools/PivotIndicator.d.ts +1 -1
  181. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
  182. package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
  183. package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
  184. package/lib/component/2d/zones/Signal.d.ts +1 -1
  185. package/lib/component/2d/zones/Signal.d.ts.map +1 -1
  186. package/lib/component/2d/zones/SignalCrosshair.d.ts +1 -1
  187. package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
  188. package/lib/component/2d/zones/SignalsGuideLines.d.ts +1 -1
  189. package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
  190. package/lib/component/2d/zones/Zone.d.ts +1 -1
  191. package/lib/component/2d/zones/Zone.d.ts.map +1 -1
  192. package/lib/component/2d/zones/Zones.d.ts +1 -1
  193. package/lib/component/2d/zones/Zones.d.ts.map +1 -1
  194. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts +1 -1
  195. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  196. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
  197. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  198. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
  199. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  200. package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
  201. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  202. package/lib/component/SVGTable.d.ts +1 -1
  203. package/lib/component/SVGTable.d.ts.map +1 -1
  204. package/lib/component/assignment/AssignmentProvider.d.ts +1 -1
  205. package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
  206. package/lib/component/context/FilterSyncOptionsContext.d.ts +1 -1
  207. package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
  208. package/lib/component/context/KeyModifierContext.d.ts +1 -1
  209. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  210. package/lib/component/context/LoggerContext.d.ts +1 -1
  211. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  212. package/lib/component/context/ScaleContext.d.ts +1 -1
  213. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  214. package/lib/component/context/ShareDataContext.d.ts +1 -1
  215. package/lib/component/context/ShareDataContext.d.ts.map +1 -1
  216. package/lib/component/context/SortSpectraContext.d.ts +1 -1
  217. package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
  218. package/lib/component/context/ToasterContext.d.ts +1 -1
  219. package/lib/component/context/ToasterContext.d.ts.map +1 -1
  220. package/lib/component/context/TopicMoleculeContext.d.ts +1 -1
  221. package/lib/component/context/TopicMoleculeContext.d.ts.map +1 -1
  222. package/lib/component/elements/ActionButtons.d.ts +1 -1
  223. package/lib/component/elements/ActionButtons.d.ts.map +1 -1
  224. package/lib/component/elements/ActionsButtonsPopover.d.ts +1 -1
  225. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  226. package/lib/component/elements/Alert.d.ts +1 -1
  227. package/lib/component/elements/Alert.d.ts.map +1 -1
  228. package/lib/component/elements/Anchor.d.ts +1 -1
  229. package/lib/component/elements/Anchor.d.ts.map +1 -1
  230. package/lib/component/elements/AssignmentsCell.d.ts +1 -1
  231. package/lib/component/elements/AssignmentsCell.d.ts.map +1 -1
  232. package/lib/component/elements/Button.js +2 -2
  233. package/lib/component/elements/CheckController.d.ts +1 -1
  234. package/lib/component/elements/CheckController.d.ts.map +1 -1
  235. package/lib/component/elements/CloseButton.d.ts +1 -1
  236. package/lib/component/elements/CloseButton.d.ts.map +1 -1
  237. package/lib/component/elements/CloseButton.js +2 -2
  238. package/lib/component/elements/CloseButton.js.map +1 -1
  239. package/lib/component/elements/ColorDot.d.ts +4 -0
  240. package/lib/component/elements/ColorDot.d.ts.map +1 -0
  241. package/lib/component/elements/ColorDot.js +32 -0
  242. package/lib/component/elements/ColorDot.js.map +1 -0
  243. package/lib/component/elements/ColorPickerDropdownController.d.ts +1 -1
  244. package/lib/component/elements/ColorPickerDropdownController.d.ts.map +1 -1
  245. package/lib/component/elements/ColumnWrapper.d.ts +1 -1
  246. package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
  247. package/lib/component/elements/ContextMenuBluePrint.d.ts +1 -1
  248. package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -1
  249. package/lib/component/elements/DialogManager.d.ts +2 -2
  250. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  251. package/lib/component/elements/DraggableDialog.d.ts +1 -1
  252. package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
  253. package/lib/component/elements/EmptyText.d.ts +1 -1
  254. package/lib/component/elements/EmptyText.d.ts.map +1 -1
  255. package/lib/component/elements/Footer.d.ts +1 -1
  256. package/lib/component/elements/Footer.d.ts.map +1 -1
  257. package/lib/component/elements/Footer.js +1 -0
  258. package/lib/component/elements/Footer.js.map +1 -1
  259. package/lib/component/elements/FormatField.d.ts +1 -1
  260. package/lib/component/elements/FormatField.d.ts.map +1 -1
  261. package/lib/component/elements/GroupPane.d.ts +1 -1
  262. package/lib/component/elements/GroupPane.d.ts.map +1 -1
  263. package/lib/component/elements/HeaderContainer.d.ts +1 -1
  264. package/lib/component/elements/HeaderContainer.d.ts.map +1 -1
  265. package/lib/component/elements/Input2Controller.d.ts +1 -1
  266. package/lib/component/elements/Input2Controller.d.ts.map +1 -1
  267. package/lib/component/elements/IsotopesViewer.d.ts +1 -1
  268. package/lib/component/elements/IsotopesViewer.d.ts.map +1 -1
  269. package/lib/component/elements/Label.d.ts +1 -1
  270. package/lib/component/elements/Label.d.ts.map +1 -1
  271. package/lib/component/elements/Logo.d.ts +1 -1
  272. package/lib/component/elements/Logo.d.ts.map +1 -1
  273. package/lib/component/elements/MoleculeSelection.d.ts +1 -1
  274. package/lib/component/elements/MoleculeSelection.d.ts.map +1 -1
  275. package/lib/component/elements/NextPrev.d.ts +1 -1
  276. package/lib/component/elements/NextPrev.d.ts.map +1 -1
  277. package/lib/component/elements/NumberInput2Controller.d.ts +1 -1
  278. package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
  279. package/lib/component/elements/NumberInputField.d.ts +1 -1
  280. package/lib/component/elements/NumberInputField.d.ts.map +1 -1
  281. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +1 -1
  282. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
  283. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +1 -1
  284. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +1 -1
  285. package/lib/component/elements/ReadOnly.d.ts +1 -1
  286. package/lib/component/elements/ReadOnly.d.ts.map +1 -1
  287. package/lib/component/elements/ResizerWithScale.d.ts +1 -1
  288. package/lib/component/elements/ResizerWithScale.d.ts.map +1 -1
  289. package/lib/component/elements/SVGButton.d.ts +1 -1
  290. package/lib/component/elements/SVGButton.d.ts.map +1 -1
  291. package/lib/component/elements/SVGGroup.d.ts +1 -1
  292. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  293. package/lib/component/elements/SVGText.d.ts +1 -1
  294. package/lib/component/elements/SVGText.d.ts.map +1 -1
  295. package/lib/component/elements/SaveButton.d.ts +1 -1
  296. package/lib/component/elements/SaveButton.d.ts.map +1 -1
  297. package/lib/component/elements/SaveButton.js +2 -2
  298. package/lib/component/elements/SaveButton.js.map +1 -1
  299. package/lib/component/elements/Scroller.d.ts +2 -2
  300. package/lib/component/elements/Scroller.d.ts.map +1 -1
  301. package/lib/component/elements/Sections.d.ts +4 -4
  302. package/lib/component/elements/Sections.d.ts.map +1 -1
  303. package/lib/component/elements/Sections.js +1 -1
  304. package/lib/component/elements/Sections.js.map +1 -1
  305. package/lib/component/elements/Select2.d.ts +1 -1
  306. package/lib/component/elements/Select2.d.ts.map +1 -1
  307. package/lib/component/elements/Select2Controller.d.ts +1 -1
  308. package/lib/component/elements/Select2Controller.d.ts.map +1 -1
  309. package/lib/component/elements/StandardDialog.d.ts +1 -1
  310. package/lib/component/elements/StandardDialog.d.ts.map +1 -1
  311. package/lib/component/elements/Tab/DeleteButton.d.ts +1 -1
  312. package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -1
  313. package/lib/component/elements/TabTitle.d.ts +1 -1
  314. package/lib/component/elements/TabTitle.d.ts.map +1 -1
  315. package/lib/component/elements/TabsProvider.d.ts +1 -1
  316. package/lib/component/elements/TabsProvider.d.ts.map +1 -1
  317. package/lib/component/elements/ToolbarPopoverItem.d.ts +1 -1
  318. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  319. package/lib/component/elements/ToolbarPopoverItem.js +7 -3
  320. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
  321. package/lib/component/elements/dropDownButton/DropDownButton.d.ts +1 -1
  322. package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
  323. package/lib/component/elements/dropDownButton/DropDownList.d.ts +1 -1
  324. package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
  325. package/lib/component/elements/export/ExportContent.d.ts +1 -1
  326. package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
  327. package/lib/component/elements/export/ExportManager.d.ts +2 -2
  328. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  329. package/lib/component/elements/export/ExportManager.js +2 -2
  330. package/lib/component/elements/export/ExportOptionsModal.d.ts +1 -1
  331. package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -1
  332. package/lib/component/elements/export/ExportSettingsProvider.d.ts +1 -1
  333. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
  334. package/lib/component/elements/export/RenderDetector.d.ts +1 -1
  335. package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
  336. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +1 -1
  337. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js +4 -10
  338. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +1 -1
  339. package/lib/component/elements/print/PrintContent.d.ts +1 -1
  340. package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
  341. package/lib/component/elements/print/PrintProvider.d.ts +1 -1
  342. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
  343. package/lib/component/elements/resizer/SVGResizer.d.ts +1 -1
  344. package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
  345. package/lib/component/elements/toolbar_button.d.ts +3 -0
  346. package/lib/component/elements/toolbar_button.d.ts.map +1 -0
  347. package/lib/component/elements/{ToolBarButton.js → toolbar_button.js} +2 -2
  348. package/lib/component/elements/toolbar_button.js.map +1 -0
  349. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts +1 -1
  350. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
  351. package/lib/component/header/AutoPeakPickingOptionPanel.js +23 -8
  352. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  353. package/lib/component/header/Header.d.ts +1 -1
  354. package/lib/component/header/Header.d.ts.map +1 -1
  355. package/lib/component/header/HeaderWrapper.d.ts +1 -1
  356. package/lib/component/header/HeaderWrapper.d.ts.map +1 -1
  357. package/lib/component/header/RangesPickingOptionPanel.d.ts +1 -1
  358. package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
  359. package/lib/component/header/RangesPickingOptionPanel.js +2 -2
  360. package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
  361. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts +1 -1
  362. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
  363. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts +1 -1
  364. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
  365. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts +1 -1
  366. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts.map +1 -1
  367. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts +1 -1
  368. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
  369. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts +1 -1
  370. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts.map +1 -1
  371. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts +1 -1
  372. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts.map +1 -1
  373. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
  374. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
  375. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
  376. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
  377. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts +1 -1
  378. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  379. package/lib/component/header/Zones2DOptionPanel.d.ts +1 -1
  380. package/lib/component/header/Zones2DOptionPanel.d.ts.map +1 -1
  381. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts +1 -1
  382. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
  383. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts +1 -1
  384. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  385. package/lib/component/highlight/index.d.ts +1 -1
  386. package/lib/component/highlight/index.d.ts.map +1 -1
  387. package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
  388. package/lib/component/hooks/use2DReducer.js +5 -1
  389. package/lib/component/hooks/use2DReducer.js.map +1 -1
  390. package/lib/component/hooks/useActiveSpectra.d.ts.map +1 -1
  391. package/lib/component/hooks/useActiveSpectra.js +3 -2
  392. package/lib/component/hooks/useActiveSpectra.js.map +1 -1
  393. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts +2 -1
  394. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
  395. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +26 -9
  396. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
  397. package/lib/component/hooks/useCheckToolsVisibility.d.ts +1 -9
  398. package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
  399. package/lib/component/hooks/useCheckToolsVisibility.js +52 -43
  400. package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
  401. package/lib/component/hooks/useExport.d.ts +1 -1
  402. package/lib/component/hooks/useExport.js +1 -1
  403. package/lib/component/hooks/useSaveSettings.d.ts +1 -1
  404. package/lib/component/hooks/useSelectedSpectra.d.ts +3 -0
  405. package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -0
  406. package/lib/component/hooks/useSelectedSpectra.js +20 -0
  407. package/lib/component/hooks/useSelectedSpectra.js.map +1 -0
  408. package/lib/component/hooks/useWorkspaceAction.js +4 -4
  409. package/lib/component/loader/DefaultSpinnerComponent.d.ts +1 -1
  410. package/lib/component/loader/DefaultSpinnerComponent.d.ts.map +1 -1
  411. package/lib/component/loader/DropZone.d.ts +1 -1
  412. package/lib/component/loader/DropZone.d.ts.map +1 -1
  413. package/lib/component/loader/NoData.d.ts +1 -1
  414. package/lib/component/loader/NoData.d.ts.map +1 -1
  415. package/lib/component/loader/Spinner.d.ts +1 -1
  416. package/lib/component/loader/Spinner.d.ts.map +1 -1
  417. package/lib/component/loader/SpinnerContext.d.ts +1 -1
  418. package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
  419. package/lib/component/main/ErrorOverlay.d.ts +1 -1
  420. package/lib/component/main/ErrorOverlay.d.ts.map +1 -1
  421. package/lib/component/main/InnerNMRium.d.ts +1 -1
  422. package/lib/component/main/InnerNMRium.d.ts.map +1 -1
  423. package/lib/component/main/InnerNMRiumContents.d.ts +1 -1
  424. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  425. package/lib/component/main/InnerNMRiumContents.js +2 -2
  426. package/lib/component/main/InnerNMRiumContents.js.map +1 -1
  427. package/lib/component/main/NMRiumStateProvider.d.ts +1 -1
  428. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
  429. package/lib/component/main/NMRiumViewer.d.ts +1 -1
  430. package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
  431. package/lib/component/main/NMRiumViewer.js +2 -2
  432. package/lib/component/main/NMRiumViewer.js.map +1 -1
  433. package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
  434. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  435. package/lib/component/modal/AboutPredictionModal.d.ts +1 -1
  436. package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
  437. package/lib/component/modal/AboutPredictionModal.js +1 -1
  438. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  439. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -1
  440. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
  441. package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -1
  442. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  443. package/lib/component/modal/EditPeakShapeModal.d.ts +7 -1
  444. package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
  445. package/lib/component/modal/EditPeakShapeModal.js +21 -13
  446. package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
  447. package/lib/component/modal/ExportAsJcampModal.d.ts +1 -1
  448. package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
  449. package/lib/component/modal/ImportPublicationStringModal.d.ts +1 -1
  450. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  451. package/lib/component/modal/LoadJCAMPModal.d.ts +1 -1
  452. package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
  453. package/lib/component/modal/LoadJCAMPModal.js +1 -1
  454. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  455. package/lib/component/modal/LogsHistoryModal.d.ts +1 -1
  456. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  457. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts +1 -1
  458. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -1
  459. package/lib/component/modal/MoleculeStructureEditorModal.d.ts +1 -1
  460. package/lib/component/modal/MultipletAnalysisModal.d.ts +1 -3
  461. package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
  462. package/lib/component/modal/MultipletAnalysisModal.js +58 -65
  463. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
  464. package/lib/component/modal/PredictSpectraModal.d.ts +1 -1
  465. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  466. package/lib/component/modal/PublicationStringModal.d.ts +1 -1
  467. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  468. package/lib/component/modal/SaveAsModal.d.ts +1 -1
  469. package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
  470. package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -1
  471. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  472. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts +1 -1
  473. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts.map +1 -1
  474. package/lib/component/modal/changeSum/ChangeSumModal.d.ts +1 -1
  475. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
  476. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts +1 -1
  477. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -1
  478. package/lib/component/modal/changeSum/SelectMolecule.d.ts +1 -1
  479. package/lib/component/modal/changeSum/SelectMolecule.d.ts.map +1 -1
  480. package/lib/component/modal/editRange/EditRangeModal.d.ts +1 -1
  481. package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
  482. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -1
  483. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
  484. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts +1 -1
  485. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts.map +1 -1
  486. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +1 -1
  487. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
  488. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +2 -3
  489. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
  490. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts +1 -1
  491. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
  492. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts +1 -1
  493. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
  494. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts +1 -1
  495. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  496. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts +1 -1
  497. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  498. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
  499. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +6 -7
  500. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
  501. package/lib/component/modal/editZone/EditZoneModal.d.ts +1 -1
  502. package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
  503. package/lib/component/modal/editZone/EditZoneModal.js +3 -1
  504. package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
  505. package/lib/component/modal/editZone/SignalsForm.d.ts +1 -1
  506. package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
  507. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts +1 -1
  508. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  509. package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -2
  510. package/lib/component/modal/setting/WorkspaceItem.d.ts +1 -1
  511. package/lib/component/modal/setting/WorkspaceItem.d.ts.map +1 -1
  512. package/lib/component/modal/setting/WorkspaceItem.js +2 -2
  513. package/lib/component/modal/setting/general_settings.d.ts +1 -1
  514. package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
  515. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +158 -24
  516. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
  517. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +158 -24
  518. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
  519. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +1 -1
  520. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
  521. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +158 -24
  522. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
  523. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +2 -1
  524. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
  525. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +120 -18
  526. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
  527. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +120 -18
  528. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
  529. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +20 -3
  530. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
  531. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +120 -18
  532. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
  533. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +120 -18
  534. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
  535. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +120 -18
  536. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
  537. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +120 -18
  538. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
  539. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +120 -18
  540. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
  541. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +25 -7
  542. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
  543. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +120 -18
  544. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
  545. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +120 -18
  546. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
  547. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +120 -18
  548. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
  549. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +120 -18
  550. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
  551. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +120 -18
  552. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
  553. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +1654 -0
  554. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -0
  555. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +105 -0
  556. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -0
  557. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +120 -18
  558. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
  559. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +120 -18
  560. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
  561. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +1 -1
  562. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -1
  563. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +1 -1
  564. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -1
  565. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +1 -1
  566. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -1
  567. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +2 -2
  568. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -1
  569. package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +1 -1
  570. package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
  571. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts +1 -1
  572. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts.map +1 -1
  573. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts +24 -12
  574. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts.map +1 -1
  575. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js +4 -2
  576. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js.map +1 -1
  577. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts +39 -0
  578. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts.map +1 -0
  579. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js +16 -0
  580. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js.map +1 -0
  581. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -1
  582. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -1
  583. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +38 -6
  584. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
  585. package/lib/component/modal/setting/tanstack_general_settings/validation.js +4 -2
  586. package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
  587. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +1 -1
  588. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -1
  589. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +2 -2
  590. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +1 -1
  591. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -1
  592. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -1
  593. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
  594. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
  595. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
  596. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts +1 -1
  597. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts.map +1 -1
  598. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +1 -1
  599. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +1 -1
  600. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
  601. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts +1 -1
  602. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
  603. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts +1 -1
  604. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts.map +1 -1
  605. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +1 -5
  606. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
  607. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts +1 -1
  608. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
  609. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts +1 -1
  610. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -1
  611. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +1 -1
  612. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -1
  613. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts +1 -1
  614. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts.map +1 -1
  615. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -1
  616. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  617. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
  618. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
  619. package/lib/component/panels/PanelNoData.d.ts +1 -1
  620. package/lib/component/panels/PanelNoData.d.ts.map +1 -1
  621. package/lib/component/panels/Panels.d.ts +1 -1
  622. package/lib/component/panels/Panels.d.ts.map +1 -1
  623. package/lib/component/panels/PanelsBar.d.ts +1 -1
  624. package/lib/component/panels/PanelsBar.d.ts.map +1 -1
  625. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts +1 -1
  626. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -1
  627. package/lib/component/panels/PeaksPanel/PeaksPanel.js +44 -27
  628. package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
  629. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
  630. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +22 -3
  631. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  632. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +9 -3
  633. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  634. package/lib/component/panels/PeaksPanel/PeaksTable.js +10 -8
  635. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  636. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts +4 -0
  637. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts.map +1 -0
  638. package/lib/component/panels/PeaksPanel/peaksToTSV.js +32 -0
  639. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -0
  640. package/lib/component/panels/RangesPanel/RangesHeader.d.ts +1 -1
  641. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
  642. package/lib/component/panels/RangesPanel/RangesHeader.js +1 -1
  643. package/lib/component/panels/RangesPanel/RangesPanel.d.ts +1 -1
  644. package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
  645. package/lib/component/panels/RangesPanel/RangesTable.d.ts +1 -1
  646. package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
  647. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +1 -1
  648. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  649. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts +1 -1
  650. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts.map +1 -1
  651. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +1 -1
  652. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  653. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +1 -1
  654. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts.map +1 -1
  655. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts +1 -1
  656. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts.map +1 -1
  657. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -1
  658. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
  659. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
  660. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  661. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  662. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  663. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -1
  664. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
  665. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +1 -1
  666. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts.map +1 -1
  667. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts +1 -1
  668. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
  669. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +143 -4
  670. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
  671. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
  672. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +1 -0
  673. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
  674. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +1 -1
  675. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  676. package/lib/component/panels/SpectraPanel/SpectraTable.js +5 -19
  677. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  678. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts +1 -1
  679. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
  680. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts +1 -1
  681. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts.map +1 -1
  682. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +1 -1
  683. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -1
  684. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts +1 -1
  685. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts.map +1 -1
  686. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -1
  687. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
  688. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +9 -0
  689. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
  690. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts +1 -1
  691. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts.map +1 -1
  692. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts +2 -0
  693. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -0
  694. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +66 -0
  695. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -0
  696. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts +1 -1
  697. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts.map +1 -1
  698. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts +1 -1
  699. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -1
  700. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +4 -0
  701. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
  702. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +1 -1
  703. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
  704. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +12 -10
  705. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
  706. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts +1 -1
  707. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
  708. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +4 -0
  709. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
  710. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +1 -1
  711. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
  712. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +7 -2
  713. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  714. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +1 -1
  715. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -1
  716. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +8 -2
  717. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
  718. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +1 -1
  719. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
  720. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +1 -1
  721. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
  722. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
  723. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
  724. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +1 -1
  725. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
  726. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts +1 -1
  727. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts.map +1 -1
  728. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +1 -1
  729. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
  730. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts +1 -1
  731. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts.map +1 -1
  732. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +1 -1
  733. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
  734. package/lib/component/panels/SummaryPanel/Overview.d.ts +1 -1
  735. package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
  736. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts +1 -1
  737. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
  738. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts +1 -1
  739. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  740. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +1 -1
  741. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  742. package/lib/component/panels/SummaryPanel/SummaryPanel.js +3 -7
  743. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  744. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +1 -1
  745. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  746. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +1 -1
  747. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  748. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  749. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  750. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +1 -1
  751. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
  752. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -1
  753. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
  754. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +1 -1
  755. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
  756. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +1 -1
  757. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
  758. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +1 -1
  759. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +1 -1
  760. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts +1 -1
  761. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
  762. package/lib/component/panels/ZonesPanel/ZonesPanel.js +1 -1
  763. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
  764. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
  765. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +1 -1
  766. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  767. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts +2 -2
  768. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
  769. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
  770. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts +1 -1
  771. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
  772. package/lib/component/panels/databasePanel/DatabasePanel.d.ts +2 -2
  773. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  774. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -3
  775. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  776. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +2 -2
  777. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
  778. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +1 -1
  779. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts.map +1 -1
  780. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
  781. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  782. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts +1 -1
  783. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts.map +1 -1
  784. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts +1 -1
  785. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts.map +1 -1
  786. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +1 -1
  787. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts.map +1 -1
  788. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +1 -1
  789. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts.map +1 -1
  790. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +1 -1
  791. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts.map +1 -1
  792. package/lib/component/panels/filtersPanel/FilterPanel.d.ts +1 -1
  793. package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -1
  794. package/lib/component/panels/filtersPanel/FilterPanel.js +1 -1
  795. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts +1 -1
  796. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
  797. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts +1 -1
  798. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
  799. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts +1 -1
  800. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts.map +1 -1
  801. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts +1 -1
  802. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
  803. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts +1 -1
  804. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
  805. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts +1 -1
  806. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts.map +1 -1
  807. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  808. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  809. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts +1 -1
  810. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts.map +1 -1
  811. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts +1 -1
  812. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts.map +1 -1
  813. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts +1 -1
  814. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts.map +1 -1
  815. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
  816. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
  817. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
  818. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
  819. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts +1 -1
  820. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts.map +1 -1
  821. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts +1 -1
  822. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -1
  823. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts +1 -1
  824. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
  825. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
  826. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -0
  827. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
  828. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +1 -0
  829. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
  830. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
  831. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -0
  832. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  833. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
  834. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -0
  835. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  836. package/lib/component/panels/header/DefaultPanelHeader.d.ts +3 -3
  837. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  838. package/lib/component/panels/header/DefaultPanelHeader.js +2 -2
  839. package/lib/component/panels/header/PreferencesHeader.d.ts +1 -1
  840. package/lib/component/panels/header/PreferencesHeader.d.ts.map +1 -1
  841. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +1 -1
  842. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts.map +1 -1
  843. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts +1 -1
  844. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  845. package/lib/component/panels/informationPanel/InformationEditionModal.js +222 -33
  846. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  847. package/lib/component/panels/informationPanel/InformationPanel.d.ts +1 -1
  848. package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
  849. package/lib/component/panels/informationPanel/InformationPanel.js +8 -8
  850. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
  851. package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts +6 -0
  852. package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts.map +1 -0
  853. package/lib/component/panels/informationPanel/MixedValuesBadge.js +47 -0
  854. package/lib/component/panels/informationPanel/MixedValuesBadge.js.map +1 -0
  855. package/lib/component/panels/informationPanel/SpectraPicker.d.ts +6 -0
  856. package/lib/component/panels/informationPanel/SpectraPicker.d.ts.map +1 -0
  857. package/lib/component/panels/informationPanel/SpectraPicker.js +148 -0
  858. package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -0
  859. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +1 -1
  860. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -1
  861. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts +1 -1
  862. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  863. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts +1 -1
  864. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts.map +1 -1
  865. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +9 -1
  866. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
  867. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +2 -1
  868. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
  869. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +25 -1
  870. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  871. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +1 -1
  872. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
  873. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +1 -1
  874. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
  875. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts +1 -1
  876. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
  877. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts +1 -1
  878. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
  879. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts +1 -1
  880. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts.map +1 -1
  881. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
  882. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +5 -9
  883. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  884. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts +1 -1
  885. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  886. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts +1 -1
  887. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts.map +1 -1
  888. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts +1 -1
  889. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts.map +1 -1
  890. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts +1 -1
  891. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts.map +1 -1
  892. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts +1 -1
  893. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
  894. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
  895. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  896. package/lib/component/reducer/actions/DomainActions.js +3 -3
  897. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  898. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
  899. package/lib/component/reducer/actions/MoleculeActions.d.ts +4 -1
  900. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  901. package/lib/component/reducer/actions/MoleculeActions.js +5 -1
  902. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  903. package/lib/component/reducer/actions/PeaksActions.d.ts +10 -5
  904. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  905. package/lib/component/reducer/actions/PeaksActions.js +39 -31
  906. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  907. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  908. package/lib/component/reducer/actions/RangesActions.js +4 -1
  909. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  910. package/lib/component/reducer/actions/SpectraActions.d.ts +3 -3
  911. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  912. package/lib/component/reducer/actions/SpectraActions.js +29 -21
  913. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  914. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  915. package/lib/component/reducer/actions/ToolsActions.js +5 -3
  916. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  917. package/lib/component/reducer/helper/getActiveSpectra.d.ts +2 -2
  918. package/lib/component/reducer/helper/getActiveSpectra.d.ts.map +1 -1
  919. package/lib/component/reducer/helper/getActiveSpectra.js +2 -2
  920. package/lib/component/reducer/helper/getActiveSpectra.js.map +1 -1
  921. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts.map +1 -1
  922. package/lib/component/reducer/helper/getActiveSpectraAsObject.js +2 -1
  923. package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
  924. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts +4 -0
  925. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts.map +1 -0
  926. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js +10 -0
  927. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js.map +1 -0
  928. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  929. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +6 -0
  930. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  931. package/lib/component/reducer/preferences/preferencesReducer.d.ts +4 -1
  932. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  933. package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
  934. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
  935. package/lib/component/toolbar/ToolTypes.d.ts +14 -4
  936. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
  937. package/lib/component/toolbar/ToolTypes.js +31 -60
  938. package/lib/component/toolbar/ToolTypes.js.map +1 -1
  939. package/lib/component/toolbar/nmr_toolbar.d.ts +2 -0
  940. package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -0
  941. package/lib/component/toolbar/{ToolBar.js → nmr_toolbar.js} +4 -7
  942. package/lib/component/toolbar/nmr_toolbar.js.map +1 -0
  943. package/lib/component/useWatchForm.d.ts.map +1 -1
  944. package/lib/component/useWatchForm.js +1 -0
  945. package/lib/component/useWatchForm.js.map +1 -1
  946. package/lib/component/utility/getValueByPath.d.ts +2 -0
  947. package/lib/component/utility/getValueByPath.d.ts.map +1 -0
  948. package/lib/component/utility/getValueByPath.js +21 -0
  949. package/lib/component/utility/getValueByPath.js.map +1 -0
  950. package/lib/component/utility/pathToString.d.ts +2 -0
  951. package/lib/component/utility/pathToString.d.ts.map +1 -0
  952. package/lib/component/utility/pathToString.js +4 -0
  953. package/lib/component/utility/pathToString.js.map +1 -0
  954. package/lib/component/workspaces/prediction.d.ts.map +1 -1
  955. package/lib/component/workspaces/prediction.js +20 -0
  956. package/lib/component/workspaces/prediction.js.map +1 -1
  957. package/lib/component/workspaces/simulation.d.ts.map +1 -1
  958. package/lib/component/workspaces/simulation.js +3 -0
  959. package/lib/component/workspaces/simulation.js.map +1 -1
  960. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  961. package/lib/component/workspaces/workspaceDefaultProperties.js +8 -0
  962. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  963. package/lib/data/SpectraManager.d.ts.map +1 -1
  964. package/lib/data/SpectraManager.js +4 -7
  965. package/lib/data/SpectraManager.js.map +1 -1
  966. package/lib/data/constants/defaultPeakShape.d.ts +6 -0
  967. package/lib/data/constants/defaultPeakShape.d.ts.map +1 -0
  968. package/lib/data/constants/defaultPeakShape.js +6 -0
  969. package/lib/data/constants/defaultPeakShape.js.map +1 -0
  970. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +3 -1
  971. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
  972. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +3 -2
  973. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
  974. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
  975. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +108 -3
  976. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
  977. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +3 -3
  978. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +3 -3
  979. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
  980. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
  981. package/lib/data/data1d/database.d.ts +5 -5
  982. package/lib/data/data1d/database.js +2 -2
  983. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
  984. package/lib/data/data2d/Spectrum2D/get2DColor.js +3 -1
  985. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  986. package/lib/data/molecules/MoleculeManager.d.ts +5 -1
  987. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  988. package/lib/data/molecules/MoleculeManager.js +5 -3
  989. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  990. package/lib/utils/clipboard/clipboardComponents.d.ts +1 -1
  991. package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -1
  992. package/lib/versionInfo.js +1 -1
  993. package/package.json +36 -36
  994. package/src/component/1d/BrushTracker1D.tsx +12 -8
  995. package/src/component/1d/FooterBanner.tsx +19 -3
  996. package/src/component/1d/LinesSeries.tsx +2 -0
  997. package/src/component/1d/SpectraLegends.tsx +7 -2
  998. package/src/component/1d/SpectrumLabel.tsx +59 -0
  999. package/src/component/1d/peaks/usePeakShapesPath.ts +4 -2
  1000. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +2 -4
  1001. package/src/component/elements/Button.tsx +2 -2
  1002. package/src/component/elements/CloseButton.tsx +2 -2
  1003. package/src/component/elements/ColorDot.tsx +38 -0
  1004. package/src/component/elements/Footer.tsx +1 -0
  1005. package/src/component/elements/SaveButton.tsx +2 -2
  1006. package/src/component/elements/Sections.tsx +1 -1
  1007. package/src/component/elements/ToolbarPopoverItem.tsx +17 -10
  1008. package/src/component/elements/export/ExportManager.tsx +2 -2
  1009. package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +4 -8
  1010. package/src/component/elements/{ToolBarButton.tsx → toolbar_button.tsx} +1 -1
  1011. package/src/component/header/AutoPeakPickingOptionPanel.tsx +32 -10
  1012. package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
  1013. package/src/component/hooks/use2DReducer.tsx +6 -3
  1014. package/src/component/hooks/useActiveSpectra.ts +6 -2
  1015. package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +41 -13
  1016. package/src/component/hooks/useCheckToolsVisibility.ts +69 -74
  1017. package/src/component/hooks/useExport.tsx +1 -1
  1018. package/src/component/hooks/useSelectedSpectra.ts +25 -0
  1019. package/src/component/hooks/useWorkspaceAction.ts +5 -5
  1020. package/src/component/main/InnerNMRiumContents.tsx +2 -2
  1021. package/src/component/main/NMRiumViewer.tsx +2 -2
  1022. package/src/component/modal/AboutPredictionModal.tsx +5 -5
  1023. package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -1
  1024. package/src/component/modal/EditPeakShapeModal.tsx +42 -26
  1025. package/src/component/modal/LoadJCAMPModal.tsx +1 -1
  1026. package/src/component/modal/MultipletAnalysisModal.tsx +81 -82
  1027. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +2 -3
  1028. package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +6 -7
  1029. package/src/component/modal/editZone/EditZoneModal.tsx +3 -1
  1030. package/src/component/modal/metaImportation/MetaImportationModal.tsx +2 -2
  1031. package/src/component/modal/setting/WorkspaceItem.tsx +2 -2
  1032. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +7 -0
  1033. package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +34 -7
  1034. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +201 -0
  1035. package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts +4 -2
  1036. package/src/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.ts +24 -0
  1037. package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -1
  1038. package/src/component/modal/setting/tanstack_general_settings/validation.ts +4 -2
  1039. package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +2 -2
  1040. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
  1041. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +1 -14
  1042. package/src/component/panels/PeaksPanel/PeaksPanel.tsx +90 -58
  1043. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +73 -9
  1044. package/src/component/panels/PeaksPanel/PeaksTable.tsx +25 -27
  1045. package/src/component/panels/PeaksPanel/peaksToTSV.ts +45 -0
  1046. package/src/component/panels/RangesPanel/RangesHeader.tsx +2 -2
  1047. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +206 -3
  1048. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +1 -0
  1049. package/src/component/panels/SpectraPanel/SpectraTable.tsx +5 -26
  1050. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +17 -0
  1051. package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +112 -0
  1052. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +5 -0
  1053. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +33 -25
  1054. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +5 -0
  1055. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +19 -11
  1056. package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +10 -2
  1057. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +3 -7
  1058. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
  1059. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +2 -2
  1060. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -2
  1061. package/src/component/panels/databasePanel/DatabasePanel.tsx +2 -2
  1062. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +5 -5
  1063. package/src/component/panels/filtersPanel/FilterPanel.tsx +1 -1
  1064. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -0
  1065. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -0
  1066. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +2 -0
  1067. package/src/component/panels/header/DefaultPanelHeader.tsx +6 -6
  1068. package/src/component/panels/informationPanel/InformationEditionModal.tsx +324 -44
  1069. package/src/component/panels/informationPanel/InformationPanel.tsx +13 -12
  1070. package/src/component/panels/informationPanel/MixedValuesBadge.tsx +77 -0
  1071. package/src/component/panels/informationPanel/SpectraPicker.tsx +260 -0
  1072. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +12 -1
  1073. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +38 -1
  1074. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +10 -9
  1075. package/src/component/reducer/actions/CorrelationsActions.ts +4 -4
  1076. package/src/component/reducer/actions/DomainActions.ts +8 -3
  1077. package/src/component/reducer/actions/IntegralsActions.ts +1 -1
  1078. package/src/component/reducer/actions/MoleculeActions.ts +11 -5
  1079. package/src/component/reducer/actions/PeaksActions.ts +71 -42
  1080. package/src/component/reducer/actions/RangesActions.ts +4 -1
  1081. package/src/component/reducer/actions/SpectraActions.ts +38 -24
  1082. package/src/component/reducer/actions/ToolsActions.ts +7 -6
  1083. package/src/component/reducer/helper/getActiveSpectra.ts +5 -4
  1084. package/src/component/reducer/helper/getActiveSpectraAsObject.ts +4 -1
  1085. package/src/component/reducer/preferences/actions/toggleSpectraLabel.ts +19 -0
  1086. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +8 -2
  1087. package/src/component/reducer/preferences/preferencesReducer.ts +8 -1
  1088. package/src/component/toolbar/ToolTypes.ts +47 -67
  1089. package/src/component/toolbar/{ToolBar.tsx → nmr_toolbar.tsx} +3 -8
  1090. package/src/component/useWatchForm.tsx +1 -0
  1091. package/src/component/utility/getValueByPath.ts +26 -0
  1092. package/src/component/utility/pathToString.ts +3 -0
  1093. package/src/component/workspaces/prediction.ts +20 -0
  1094. package/src/component/workspaces/simulation.ts +3 -0
  1095. package/src/component/workspaces/workspaceDefaultProperties.ts +8 -0
  1096. package/src/data/SpectraManager.ts +4 -8
  1097. package/src/data/constants/defaultPeakShape.ts +5 -0
  1098. package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +6 -1
  1099. package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +109 -3
  1100. package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +6 -3
  1101. package/src/data/data1d/database.ts +7 -7
  1102. package/src/data/data2d/Spectrum2D/get2DColor.ts +3 -1
  1103. package/src/data/molecules/MoleculeManager.ts +4 -3
  1104. package/src/versionInfo.ts +1 -1
  1105. package/lib/component/elements/ToolBarButton.d.ts +0 -3
  1106. package/lib/component/elements/ToolBarButton.d.ts.map +0 -1
  1107. package/lib/component/elements/ToolBarButton.js.map +0 -1
  1108. package/lib/component/toolbar/ToolBar.d.ts +0 -2
  1109. package/lib/component/toolbar/ToolBar.d.ts.map +0 -1
  1110. package/lib/component/toolbar/ToolBar.js.map +0 -1
@@ -2,7 +2,6 @@ import type { Peak1D } from '@zakodium/nmr-types';
2
2
  import type {
3
3
  PeaksViewState,
4
4
  RangesViewState,
5
- Spectrum1D,
6
5
  ViewState,
7
6
  } from '@zakodium/nmrium-core';
8
7
  import type { Draft } from 'immer';
@@ -11,6 +10,7 @@ import { xFindClosestIndex } from 'ml-spectra-processing';
11
10
  import type { OptionsXYAutoPeaksPicking } from 'nmr-processing';
12
11
  import { mapPeaks } from 'nmr-processing';
13
12
 
13
+ import { DEFAULT_PEAK_SHAPE } from '../../../data/constants/defaultPeakShape.ts';
14
14
  import {
15
15
  autoPeakPicking,
16
16
  getShiftX,
@@ -22,13 +22,20 @@ import { getDefaultRangesViewState } from '../../hooks/useActiveSpectrumRangesVi
22
22
  import type { FilterType } from '../../utility/filterType.js';
23
23
  import { getClosePeak } from '../../utility/getClosePeak.js';
24
24
  import type { State } from '../Reducer.js';
25
+ import { getActiveSpectra } from '../helper/getActiveSpectra.ts';
25
26
  import { getActiveSpectrum } from '../helper/getActiveSpectrum.js';
26
27
  import getRange from '../helper/getRange.js';
27
28
  import { getSpectrum } from '../helper/getSpectrum.js';
28
29
  import type { ActionType } from '../types/ActionType.js';
29
30
 
30
- type AddPeakAction = ActionType<'ADD_PEAK', { x: number }>;
31
- type AddPeaksAction = ActionType<'ADD_PEAKS', { startX: number; endX: number }>;
31
+ type AddPeakAction = ActionType<
32
+ 'ADD_PEAK',
33
+ { x: number; defaultPeakShape?: Peak1D['shape'] }
34
+ >;
35
+ type AddPeaksAction = ActionType<
36
+ 'ADD_PEAKS',
37
+ { startX: number; endX: number; defaultPeakShape?: Peak1D['shape'] }
38
+ >;
32
39
  type DeletePeakAction = ActionType<
33
40
  'DELETE_PEAK',
34
41
  { id?: string; spectrumKey?: string }
@@ -37,16 +44,19 @@ type OptimizePeaksAction = ActionType<'OPTIMIZE_PEAKS', { peaks: Peak1D[] }>;
37
44
  type AutoPeaksPickingAction = ActionType<
38
45
  'AUTO_PEAK_PICKING',
39
46
  {
40
- maxNumberOfPeaks: number;
41
- minMaxRatio: number;
42
- noiseFactor: number;
43
- direction: OptionsXYAutoPeaksPicking['direction'];
47
+ options: {
48
+ maxNumberOfPeaks: number;
49
+ minMaxRatio: number;
50
+ noiseFactor: number;
51
+ direction: OptionsXYAutoPeaksPicking['direction'];
52
+ };
53
+ defaultPeakShape: Peak1D['shape'];
44
54
  }
45
55
  >;
46
56
  type ChangePeaksShapeAction = ActionType<
47
57
  'CHANGE_PEAK_SHAPE',
48
58
  {
49
- id: string;
59
+ id?: string;
50
60
  shape: Peak1D['shape'];
51
61
  }
52
62
  >;
@@ -69,7 +79,8 @@ export type PeaksActions =
69
79
 
70
80
  //action
71
81
  function handleAddPeak(draft: Draft<State>, action: AddPeakAction) {
72
- const { x: mouseXPosition } = action.payload;
82
+ const { x: mouseXPosition, defaultPeakShape = DEFAULT_PEAK_SHAPE } =
83
+ action.payload;
73
84
 
74
85
  const spectrum = getSpectrum(draft);
75
86
  if (!isSpectrum1D(spectrum)) return;
@@ -78,7 +89,7 @@ function handleAddPeak(draft: Draft<State>, action: AddPeakAction) {
78
89
  const startX = mouseXPosition - xShift;
79
90
  const endX = mouseXPosition + xShift;
80
91
  const [from, to] = getRange(draft, { startX, endX });
81
- const candidatePeak = getClosePeak(original(spectrum) as Spectrum1D, {
92
+ const candidatePeak = getClosePeak(original(spectrum), {
82
93
  from,
83
94
  to,
84
95
  });
@@ -91,11 +102,7 @@ function handleAddPeak(draft: Draft<State>, action: AddPeakAction) {
91
102
  x: candidatePeak.x,
92
103
  y: candidatePeak.y,
93
104
  width: 1,
94
- shape: {
95
- kind: 'generalizedLorentzian',
96
- fwhm: 1,
97
- gamma: 0.5,
98
- },
105
+ shape: { ...defaultPeakShape },
99
106
  };
100
107
  spectrum.peaks.values.push(...mapPeaks([peak], spectrum));
101
108
  }
@@ -103,7 +110,11 @@ function handleAddPeak(draft: Draft<State>, action: AddPeakAction) {
103
110
 
104
111
  //action
105
112
  function handleAddPeaks(draft: Draft<State>, action: AddPeaksAction) {
106
- const { startX, endX } = action.payload;
113
+ const {
114
+ startX,
115
+ endX,
116
+ defaultPeakShape = DEFAULT_PEAK_SHAPE,
117
+ } = action.payload;
107
118
 
108
119
  const spectrum = getSpectrum(draft);
109
120
  if (!isSpectrum1D(spectrum)) return;
@@ -111,7 +122,7 @@ function handleAddPeaks(draft: Draft<State>, action: AddPeaksAction) {
111
122
  const [from, to] = getRange(draft, { startX, endX });
112
123
 
113
124
  if (from !== to) {
114
- const peak = getClosePeak(original(spectrum) as Spectrum1D, { from, to });
125
+ const peak = getClosePeak(original(spectrum), { from, to });
115
126
  if (peak && !spectrum.peaks.values.some((p) => p.x === peak.x)) {
116
127
  const shiftX = getShiftX(spectrum);
117
128
  const newPeak: Peak1D = {
@@ -120,11 +131,7 @@ function handleAddPeaks(draft: Draft<State>, action: AddPeaksAction) {
120
131
  x: peak.x,
121
132
  y: peak.y,
122
133
  width: 1,
123
- shape: {
124
- kind: 'generalizedLorentzian',
125
- fwhm: 1,
126
- gamma: 0.5,
127
- },
134
+ shape: { ...defaultPeakShape },
128
135
  };
129
136
  spectrum.peaks.values.push(newPeak);
130
137
  }
@@ -151,6 +158,7 @@ function handleDeletePeak(draft: Draft<State>, action: DeletePeakAction) {
151
158
  //action
152
159
  function handleOptimizePeaks(draft: Draft<State>, action: OptimizePeaksAction) {
153
160
  const { peaks } = action.payload;
161
+ togglePeaksViewProperty(draft, 'showPeaksSum', true);
154
162
 
155
163
  const spectrum = getSpectrum(draft);
156
164
  if (!isSpectrum1D(spectrum)) return;
@@ -170,28 +178,39 @@ function handleAutoPeakPicking(
170
178
  draft: Draft<State>,
171
179
  action: AutoPeaksPickingAction,
172
180
  ) {
173
- const { maxNumberOfPeaks, minMaxRatio, noiseFactor, direction } =
174
- action.payload;
181
+ const { options, defaultPeakShape } = action.payload;
182
+ const {
183
+ view: { spectra },
184
+ xDomain,
185
+ toolOptions,
186
+ } = draft;
187
+ const activeSpectra = getActiveSpectra(spectra);
175
188
 
176
- const spectrum = getSpectrum(draft);
177
- if (!isSpectrum1D(spectrum)) return;
189
+ if (!activeSpectra || activeSpectra.length === 0) {
190
+ return;
191
+ }
178
192
 
179
- draft.toolOptions.selectedTool = 'zoom';
180
- draft.toolOptions.selectedOptionPanel = null;
193
+ const [from, to] = xDomain;
181
194
 
182
- const [from, to] = draft.xDomain;
183
- const windowFromIndex = xFindClosestIndex(spectrum.data.x, from);
184
- const windowToIndex = xFindClosestIndex(spectrum.data.x, to);
185
-
186
- const peaks = autoPeakPicking(spectrum, {
187
- maxNumberOfPeaks,
188
- minMaxRatio,
189
- noiseFactor,
190
- direction,
191
- windowFromIndex,
192
- windowToIndex,
193
- });
194
- spectrum.peaks.values = spectrum.peaks.values.concat(peaks);
195
+ for (const activeSpectrum of activeSpectra) {
196
+ const spectrum = getSpectrum(draft, activeSpectrum.index);
197
+
198
+ if (!isSpectrum1D(spectrum)) continue;
199
+
200
+ const windowFromIndex = xFindClosestIndex(spectrum.data.x, from);
201
+ const windowToIndex = xFindClosestIndex(spectrum.data.x, to);
202
+
203
+ const peaks = autoPeakPicking(spectrum, {
204
+ ...options,
205
+ windowFromIndex,
206
+ windowToIndex,
207
+ defaultPeakShape,
208
+ });
209
+ spectrum.peaks.values = spectrum.peaks.values.concat(peaks);
210
+ }
211
+
212
+ toolOptions.selectedTool = 'zoom';
213
+ toolOptions.selectedOptionPanel = null;
195
214
  }
196
215
 
197
216
  //action
@@ -204,6 +223,14 @@ function handleChangePeakShape(
204
223
  const spectrum = getSpectrum(draft);
205
224
  if (!isSpectrum1D(spectrum)) return;
206
225
 
226
+ if (!id) {
227
+ spectrum.peaks.values = spectrum.peaks.values.map((peak) => ({
228
+ ...peak,
229
+ shape,
230
+ }));
231
+ return;
232
+ }
233
+
207
234
  const peakIndex = spectrum.peaks.values.findIndex((peak) => peak.id === id);
208
235
  if (peakIndex !== -1) {
209
236
  spectrum.peaks.values[peakIndex].shape = shape;
@@ -222,13 +249,15 @@ function handleTogglePeaksViewProperty(
222
249
  function togglePeaksViewProperty(
223
250
  draft: Draft<State>,
224
251
  key: keyof FilterType<PeaksViewState, boolean>,
252
+ value?: boolean,
225
253
  ) {
226
254
  const activeSpectrum = getActiveSpectrum(draft);
227
255
  if (!activeSpectrum) return;
228
256
 
229
257
  const peaksView = draft.view.peaks;
230
258
  if (peaksView[activeSpectrum.id]) {
231
- peaksView[activeSpectrum.id][key] = !peaksView[activeSpectrum.id][key];
259
+ peaksView[activeSpectrum.id][key] =
260
+ value ?? !peaksView[activeSpectrum.id][key];
232
261
  } else {
233
262
  const defaultPeaksView = { ...defaultPeaksViewState };
234
263
  defaultPeaksView[key] = !defaultPeaksView[key];
@@ -340,12 +340,15 @@ function handleSaveEditedRange(
340
340
  // remove assignments in assignment hook data
341
341
  // for now: clear all assignments for this range because signals or levels to store might have changed
342
342
  const rangeIndex = getRangeIndex(spectrum, _editedRowData.id);
343
+ if (rangeIndex === -1) {
344
+ throw new Error('unreachable');
345
+ }
343
346
 
344
347
  if (_editedRowData.id === 'new') {
345
348
  _editedRowData.id = crypto.randomUUID();
346
349
  }
347
350
 
348
- spectrum.ranges.values.splice(rangeIndex, 1, _editedRowData);
351
+ spectrum.ranges.values[rangeIndex] = _editedRowData;
349
352
  updateRangesRelativeValues(spectrum);
350
353
  handleUpdateCorrelations(draft);
351
354
  resetSelectedTool(draft);
@@ -90,11 +90,11 @@ type ChangeActiveSpectrumAction = ActionType<
90
90
  type ChangeSpectrumSettingAction = ActionType<
91
91
  'CHANGE_SPECTRUM_SETTING',
92
92
  | {
93
- id: string;
93
+ ids: string[];
94
94
  display: Display1D | Display2D;
95
95
  }
96
96
  | {
97
- id: string;
97
+ ids: string[];
98
98
  display: Display2D;
99
99
  contourOptions: ContourLevel;
100
100
  }
@@ -159,7 +159,7 @@ type SimulateSpectrumAction = ActionType<
159
159
  type UpdateSpectrumMetaAction = ActionType<
160
160
  'UPDATE_SPECTRUM_META',
161
161
  {
162
- meta: Record<string, string>;
162
+ meta: Record<string, Record<string, string>>;
163
163
  }
164
164
  >;
165
165
 
@@ -295,14 +295,14 @@ function handleChangeActiveSpectrum(
295
295
  action: ChangeActiveSpectrumAction,
296
296
  ) {
297
297
  const {
298
- view: {
299
- spectra: { activeTab, selectReferences, activeSpectra },
300
- },
298
+ view: { spectra: viewSpectra },
301
299
  data,
302
300
  toolOptions,
303
301
  } = draft;
302
+
303
+ const { activeTab, selectReferences, activeSpectra } = viewSpectra;
304
304
  const { modifier, id, sortedSpectra } = action.payload;
305
- const spectra = getActiveSpectra(draft);
305
+ const spectra = getActiveSpectra(viewSpectra);
306
306
 
307
307
  //get the spectra that its nucleus match the active tab
308
308
  const spectraPerNucleus = getSpectraByNucleus(
@@ -415,7 +415,7 @@ function handleChangeActiveSpectrum(
415
415
  const refreshDomain =
416
416
  (previousActiveSpectraHasFT === undefined ||
417
417
  previousActiveSpectraHasFT !== newActiveSpectraHasFT) &&
418
- spectra &&
418
+ !!spectra &&
419
419
  spectra?.length > 0 &&
420
420
  spectraIds?.length > 0;
421
421
 
@@ -445,16 +445,22 @@ function handleChangeSpectrumSetting(
445
445
  draft: Draft<State>,
446
446
  action: ChangeSpectrumSettingAction,
447
447
  ) {
448
- const id = action.payload.id;
448
+ const ids = action.payload.ids;
449
+
450
+ const spectraById = new Map(draft.data.map((s) => [s.id, s]));
449
451
 
450
- const spectrum = getSpectrum(draft, id);
451
- if (!spectrum) return;
452
+ for (const id of ids) {
453
+ const spectrum = spectraById.get(id);
454
+ if (!spectrum) continue;
452
455
 
453
- spectrum.display = action.payload.display;
454
- if (isFt2DSpectrum(spectrum) && 'contourOptions' in action.payload) {
455
- draft.view.spectraContourLevels[id] = action.payload.contourOptions;
456
- const { checkLevel } = contoursManager(draft.view.spectraContourLevels[id]);
457
- checkLevel();
456
+ spectrum.display = action.payload.display;
457
+ if (isFt2DSpectrum(spectrum) && 'contourOptions' in action.payload) {
458
+ draft.view.spectraContourLevels[id] = action.payload.contourOptions;
459
+ const { checkLevel } = contoursManager(
460
+ draft.view.spectraContourLevels[id],
461
+ );
462
+ checkLevel();
463
+ }
458
464
  }
459
465
  }
460
466
 
@@ -466,13 +472,17 @@ function resolveDeleteSpectraIDs(
466
472
  draft: Draft<State>,
467
473
  action: DeleteSpectraAction,
468
474
  ): SpectraEntry[] {
469
- const activeSpectra = getActiveSpectra(draft);
475
+ const {
476
+ view: { spectra },
477
+ data,
478
+ } = draft;
479
+ const activeSpectra = getActiveSpectra(spectra);
470
480
  const { ids, spectrumSource } = action?.payload || {};
471
481
  const result: SpectraEntry[] = [];
472
482
 
473
483
  if (spectrumSource) {
474
- for (let index = 0; index < draft.data.length; index++) {
475
- const { info, id } = draft.data[index];
484
+ for (let index = 0; index < data.length; index++) {
485
+ const { info, id } = data[index];
476
486
  if (info?.spectrumSource === spectrumSource) {
477
487
  result.push({ id, index });
478
488
  }
@@ -484,8 +494,8 @@ function resolveDeleteSpectraIDs(
484
494
  if (ids) {
485
495
  const remainingIDs = new Set(ids);
486
496
 
487
- for (let index = 0; index < draft.data.length; index++) {
488
- const { id } = draft.data[index];
497
+ for (let index = 0; index < data.length; index++) {
498
+ const { id } = data[index];
489
499
  if (remainingIDs.has(id)) {
490
500
  result.push({ id, index });
491
501
  remainingIDs.delete(id);
@@ -788,10 +798,14 @@ function handleUpdateSpectrumMeta(
788
798
  payload: { meta },
789
799
  } = action;
790
800
 
791
- const spectrum = getSpectrum(draft);
792
- if (!spectrum) return;
801
+ const { data } = draft;
793
802
 
794
- spectrum.customInfo = meta;
803
+ for (const spectrum of data) {
804
+ const { id } = spectrum;
805
+ if (id in meta) {
806
+ spectrum.customInfo = meta[id];
807
+ }
808
+ }
795
809
  }
796
810
 
797
811
  export {
@@ -329,7 +329,10 @@ function handleZoom(draft: Draft<State>, action: ZoomAction) {
329
329
  }
330
330
 
331
331
  case '1D': {
332
- const activeSpectra = getActiveSpectra(draft);
332
+ const {
333
+ view: { spectra },
334
+ } = draft;
335
+ const activeSpectra = getActiveSpectra(spectra);
333
336
 
334
337
  // Horizontal zoom in/out 1d spectra by mouse wheel
335
338
  if (shiftKey || isBidirectionalZoom) {
@@ -612,12 +615,10 @@ function levelChangeHandler(draft: Draft<State>, action: LevelChangeAction) {
612
615
  const { deltaY, altKey, invertScroll } = action.payload.options;
613
616
  const {
614
617
  data,
615
- view: {
616
- spectraContourLevels,
617
- spectra: { activeTab },
618
- },
618
+ view: { spectraContourLevels, spectra: viewSpectra },
619
619
  } = draft;
620
- const activeSpectra = getActiveSpectra(draft) || [];
620
+ const { activeTab } = viewSpectra;
621
+ const activeSpectra = getActiveSpectra(viewSpectra) || [];
621
622
 
622
623
  const activeSpectraObj: Record<string, true> = {};
623
624
  for (const activeSpectrum of activeSpectra) {
@@ -1,9 +1,10 @@
1
+ import type { ViewState } from '@zakodium/nmrium-core';
1
2
  import type { Draft } from 'immer';
2
3
 
3
- import type { State } from '../Reducer.js';
4
-
5
- export function getActiveSpectra(state: Draft<State> | State) {
6
- const { activeSpectra, activeTab } = state.view.spectra;
4
+ export function getActiveSpectra(
5
+ viewSpectraState: Draft<ViewState['spectra']> | ViewState['spectra'],
6
+ ) {
7
+ const { activeSpectra, activeTab } = viewSpectraState;
7
8
  const spectra = activeSpectra?.[activeTab]?.filter(
8
9
  (spectrum) => spectrum?.selected,
9
10
  );
@@ -7,7 +7,10 @@ import { getActiveSpectra } from './getActiveSpectra.js';
7
7
  export function getActiveSpectraAsObject(
8
8
  state: Draft<State> | State,
9
9
  ): Record<string, number> | null {
10
- const activeSpectra = getActiveSpectra(state);
10
+ const {
11
+ view: { spectra },
12
+ } = state;
13
+ const activeSpectra = getActiveSpectra(spectra);
11
14
 
12
15
  if (!activeSpectra || activeSpectra?.length === 0) return null;
13
16
 
@@ -0,0 +1,19 @@
1
+ import type { Draft } from 'immer';
2
+
3
+ import type {
4
+ PreferencesState,
5
+ ToggleSpectraLabelAction,
6
+ } from '../preferencesReducer.js';
7
+ import { getActiveWorkspace } from '../utilities/getActiveWorkspace.js';
8
+
9
+ export function toggleSpectraLabel(
10
+ draft: Draft<PreferencesState>,
11
+ action: ToggleSpectraLabelAction,
12
+ ) {
13
+ const { value } = action.payload;
14
+ const currentWorkspace = getActiveWorkspace(draft);
15
+ if (!currentWorkspace) return;
16
+
17
+ currentWorkspace.spectraLabel.visible =
18
+ value ?? !currentWorkspace.spectraLabel.visible;
19
+ }
@@ -4,11 +4,13 @@ import type {
4
4
  MatrixGenerationOptions,
5
5
  MultipleSpectraAnalysisPreferences,
6
6
  PanelsPreferences,
7
+ PeaksNucleusPreferences,
7
8
  SpectraPreferences,
8
9
  Zones1DNucleusPreferences,
9
10
  Zones2DNucleusPreferences,
10
11
  } from '@zakodium/nmrium-core';
11
12
 
13
+ import { DEFAULT_PEAK_SHAPE } from '../../../data/constants/defaultPeakShape.ts';
12
14
  import { isProton } from '../../../data/utilities/isProton.js';
13
15
  import { is2DNucleus } from '../../utility/nucleusToString.js';
14
16
 
@@ -31,21 +33,25 @@ const getSpectraDefaultValues = (
31
33
  label: 'Spectrum Name',
32
34
  jpath: ['info', 'name'],
33
35
  visible: true,
36
+ format: '',
34
37
  },
35
38
  {
36
39
  label: 'Solvent',
37
40
  jpath: ['info', 'solvent'],
38
41
  visible: true,
42
+ format: '',
39
43
  },
40
44
  {
41
45
  jpath: ['info', 'pulseSequence'],
42
46
  label: 'Pulse',
43
47
  visible: true,
48
+ format: '',
44
49
  },
45
50
  {
46
51
  jpath: ['info', 'experiment'],
47
52
  label: 'Experiment',
48
53
  visible: true,
54
+ format: '',
49
55
  },
50
56
  {
51
57
  name: 'color',
@@ -55,7 +61,6 @@ const getSpectraDefaultValues = (
55
61
  },
56
62
  ],
57
63
  };
58
-
59
64
  return getPreferences(preferences, nucleus);
60
65
  };
61
66
 
@@ -148,7 +153,7 @@ const getRangeDefaultValues = (
148
153
  const getPeaksDefaultValues = (
149
154
  nucleus?: string,
150
155
  ): PanelsPreferences['peaks'] => {
151
- const preferences = {
156
+ const preferences: PeaksNucleusPreferences = {
152
157
  showSerialNumber: true,
153
158
  deltaPPM: { show: true, format: '0.00' },
154
159
  deltaHz: { show: false, format: '0.00' },
@@ -160,6 +165,7 @@ const getPeaksDefaultValues = (
160
165
  showDeleteAction: true,
161
166
  showEditPeakShapeAction: true,
162
167
  showKind: true,
168
+ defaultPeakShape: DEFAULT_PEAK_SHAPE,
163
169
  };
164
170
  return getPreferences(preferences, nucleus);
165
171
  };
@@ -57,6 +57,7 @@ import { setWorkspace } from './actions/setWorkspace.js';
57
57
  import { toggleInformationBlock } from './actions/toggleInformationBlock.js';
58
58
  import { toggleOpenSplitPanel } from './actions/toggleOpenSplitPanel.js';
59
59
  import { togglePanel } from './actions/togglePanel.js';
60
+ import { toggleSpectraLabel } from './actions/toggleSpectraLabel.ts';
60
61
  import { mapWorkspaces } from './utilities/mapWorkspaces.js';
61
62
 
62
63
  const LOCAL_STORAGE_SETTINGS_KEY = 'nmr-general-settings';
@@ -91,6 +92,10 @@ export type SetPanelsPreferencesAction = ActionType<
91
92
  'SET_PANELS_PREFERENCES',
92
93
  { key: keyof PanelsPreferences; value: any }
93
94
  >;
95
+ export type ToggleSpectraLabelAction = ActionType<
96
+ 'TOGGLE_SPECTRA_LABEL',
97
+ { value?: boolean }
98
+ >;
94
99
 
95
100
  export type SetWorkspaceAction = ActionType<
96
101
  'SET_WORKSPACE',
@@ -196,6 +201,7 @@ export type PreferencesActions =
196
201
  | InitPreferencesAction
197
202
  | SetPreferencesAction
198
203
  | SetPanelsPreferencesAction
204
+ | ToggleSpectraLabelAction
199
205
  | SetWorkspaceAction
200
206
  | WorkspaceAction
201
207
  | AddWorkspaceAction
@@ -345,7 +351,8 @@ function innerPreferencesReducer(
345
351
  return changeDefaultMoleculeSettings(draft, action);
346
352
  case 'TOGGLE_SPLIT_PANEL':
347
353
  return toggleOpenSplitPanel(draft, action);
348
-
354
+ case 'TOGGLE_SPECTRA_LABEL':
355
+ return toggleSpectraLabel(draft, action);
349
356
  default:
350
357
  return draft;
351
358
  }