nmrium 2.0.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 (1928) 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 +29 -17
  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/FloatPublicationString.js +39 -27
  14. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  15. package/lib/component/1d/FloatingRanges.d.ts +1 -1
  16. package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
  17. package/lib/component/1d/FooterBanner.d.ts +1 -1
  18. package/lib/component/1d/FooterBanner.d.ts.map +1 -1
  19. package/lib/component/1d/FooterBanner.js +12 -2
  20. package/lib/component/1d/FooterBanner.js.map +1 -1
  21. package/lib/component/1d/HorizontalAxis1D.d.ts +2 -0
  22. package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -0
  23. package/lib/component/1d/HorizontalAxis1D.js +30 -0
  24. package/lib/component/1d/HorizontalAxis1D.js.map +1 -0
  25. package/lib/component/1d/Line.d.ts +1 -1
  26. package/lib/component/1d/Line.d.ts.map +1 -1
  27. package/lib/component/1d/Line.js +1 -1
  28. package/lib/component/1d/Line.js.map +1 -1
  29. package/lib/component/1d/LinesSeries.d.ts +1 -1
  30. package/lib/component/1d/LinesSeries.d.ts.map +1 -1
  31. package/lib/component/1d/LinesSeries.js +4 -11
  32. package/lib/component/1d/LinesSeries.js.map +1 -1
  33. package/lib/component/1d/PredictionErrorsNotations.d.ts +1 -1
  34. package/lib/component/1d/PredictionErrorsNotations.d.ts.map +1 -1
  35. package/lib/component/1d/SVGContent1D.d.ts +1 -1
  36. package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
  37. package/lib/component/1d/SVGContent1D.js +2 -3
  38. package/lib/component/1d/SVGContent1D.js.map +1 -1
  39. package/lib/component/1d/SimilarityTree.d.ts +1 -1
  40. package/lib/component/1d/SimilarityTree.d.ts.map +1 -1
  41. package/lib/component/1d/SpectraLegends.d.ts +1 -1
  42. package/lib/component/1d/SpectraLegends.d.ts.map +1 -1
  43. package/lib/component/1d/SpectraLegends.js +9 -1
  44. package/lib/component/1d/SpectraLegends.js.map +1 -1
  45. package/lib/component/1d/SpectrumLabel.d.ts +6 -0
  46. package/lib/component/1d/SpectrumLabel.d.ts.map +1 -0
  47. package/lib/component/1d/SpectrumLabel.js +31 -0
  48. package/lib/component/1d/SpectrumLabel.js.map +1 -0
  49. package/lib/component/1d/Viewer1D.d.ts +1 -1
  50. package/lib/component/1d/Viewer1D.d.ts.map +1 -1
  51. package/lib/component/1d/Viewer1D.js +2 -1
  52. package/lib/component/1d/Viewer1D.js.map +1 -1
  53. package/lib/component/1d/baseline/BaselinePreview.d.ts +2 -0
  54. package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -0
  55. package/lib/component/1d/baseline/BaselinePreview.js +146 -0
  56. package/lib/component/1d/baseline/BaselinePreview.js.map +1 -0
  57. package/lib/component/1d/baseline/getMedianWindow.d.ts +3 -0
  58. package/lib/component/1d/baseline/getMedianWindow.d.ts.map +1 -0
  59. package/lib/component/1d/baseline/getMedianWindow.js +5 -0
  60. package/lib/component/1d/baseline/getMedianWindow.js.map +1 -0
  61. package/lib/component/1d/baseline/getMedianY.d.ts +3 -0
  62. package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -0
  63. package/lib/component/1d/baseline/getMedianY.js +13 -0
  64. package/lib/component/1d/baseline/getMedianY.js.map +1 -0
  65. package/lib/component/1d/database/DatabaseElements.d.ts +1 -1
  66. package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
  67. package/lib/component/1d/database/DatabaseElements.js +4 -4
  68. package/lib/component/1d/database/DatabaseElements.js.map +1 -1
  69. package/lib/component/1d/database/DatabaseSpectrum.d.ts +1 -1
  70. package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
  71. package/lib/component/1d/database/DatabaseSpectrum.js +5 -2
  72. package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
  73. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts +1 -1
  74. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
  75. package/lib/component/1d/database/ResurrectedDatabaseRanges.js +4 -5
  76. package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
  77. package/lib/component/1d/inset/DraggableInset.d.ts +1 -1
  78. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  79. package/lib/component/1d/inset/InsetProvider.d.ts +1 -1
  80. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  81. package/lib/component/1d/inset/InsetViewerRoot.d.ts +1 -1
  82. package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
  83. package/lib/component/1d/inset/SpectraInsets.d.ts +1 -1
  84. package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
  85. package/lib/component/1d/integral/IntegralIndicator.d.ts +1 -1
  86. package/lib/component/1d/integral/IntegralIndicator.d.ts.map +1 -1
  87. package/lib/component/1d/integral/IntegralResizable.d.ts +1 -1
  88. package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
  89. package/lib/component/1d/integral/IntegralsSeries.d.ts +1 -1
  90. package/lib/component/1d/integral/IntegralsSeries.d.ts.map +1 -1
  91. package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
  92. package/lib/component/1d/integral/Integration.d.ts +1 -1
  93. package/lib/component/1d/integral/Integration.d.ts.map +1 -1
  94. package/lib/component/1d/jCouplingGraph/JGraph.d.ts +1 -1
  95. package/lib/component/1d/jCouplingGraph/JGraph.d.ts.map +1 -1
  96. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts +1 -1
  97. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts.map +1 -1
  98. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js +1 -1
  99. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js.map +1 -1
  100. package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts +1 -1
  101. package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts.map +1 -1
  102. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts +1 -1
  103. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -1
  104. package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts +1 -1
  105. package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts.map +1 -1
  106. package/lib/component/1d/matrix/Boxplot.d.ts +1 -1
  107. package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
  108. package/lib/component/1d/matrix/Stocsy.d.ts +1 -1
  109. package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
  110. package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts +1 -1
  111. package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts.map +1 -1
  112. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts +1 -1
  113. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts.map +1 -1
  114. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts +1 -1
  115. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts.map +1 -1
  116. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +6 -5
  117. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  118. package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts +1 -1
  119. package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts.map +1 -1
  120. package/lib/component/1d/peaks/PeakAnnotations.d.ts +1 -1
  121. package/lib/component/1d/peaks/PeakAnnotations.d.ts.map +1 -1
  122. package/lib/component/1d/peaks/PeakAnnotations.js +1 -1
  123. package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
  124. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts +1 -1
  125. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
  126. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +2 -2
  127. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
  128. package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -2
  129. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  130. package/lib/component/1d/peaks/PeakEditionManager.js +1 -1
  131. package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
  132. package/lib/component/1d/peaks/Peaks.d.ts +1 -1
  133. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
  134. package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -1
  135. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
  136. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  137. package/lib/component/1d/peaks/usePeakShapesPath.js +3 -3
  138. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  139. package/lib/component/1d/ranges/AssignmentLabel.d.ts +1 -1
  140. package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
  141. package/lib/component/1d/ranges/Atoms.d.ts +1 -1
  142. package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
  143. package/lib/component/1d/ranges/Range.d.ts +1 -1
  144. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  145. package/lib/component/1d/ranges/Range.js +3 -3
  146. package/lib/component/1d/ranges/Range.js.map +1 -1
  147. package/lib/component/1d/ranges/Ranges.d.ts +1 -1
  148. package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
  149. package/lib/component/1d/ranges/Ranges.js +2 -2
  150. package/lib/component/1d/ranges/Ranges.js.map +1 -1
  151. package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -1
  152. package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
  153. package/lib/component/1d/tool/BaseLine.d.ts +1 -1
  154. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
  155. package/lib/component/1d/tool/BaseLine.js +1 -1
  156. package/lib/component/1d/tool/PeakPointer.d.ts +1 -1
  157. package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
  158. package/lib/component/1d/tool/PeakPointer.js +2 -1
  159. package/lib/component/1d/tool/PeakPointer.js.map +1 -1
  160. package/lib/component/1d/tool/PivotIndicator1D.d.ts +1 -1
  161. package/lib/component/1d/tool/PivotIndicator1D.d.ts.map +1 -1
  162. package/lib/component/1d/tool/XLabelPointer.d.ts +1 -1
  163. package/lib/component/1d/tool/XLabelPointer.d.ts.map +1 -1
  164. package/lib/component/1d/utilities/scale.d.ts +5 -4
  165. package/lib/component/1d/utilities/scale.d.ts.map +1 -1
  166. package/lib/component/1d/utilities/scale.js +13 -6
  167. package/lib/component/1d/utilities/scale.js.map +1 -1
  168. package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
  169. package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
  170. package/lib/component/1d-2d/FieldEdition.js.map +1 -1
  171. package/lib/component/1d-2d/components/ClipPathContainer.d.ts +1 -1
  172. package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
  173. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +1 -1
  174. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
  175. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts +1 -1
  176. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
  177. package/lib/component/1d-2d/components/SVGRootContainer.d.ts +1 -1
  178. package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
  179. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -1
  180. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  181. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -4
  182. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  183. package/lib/component/1d-2d/components/axis_unit_picker.d.ts +11 -0
  184. package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -0
  185. package/lib/component/1d-2d/components/axis_unit_picker.js +26 -0
  186. package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -0
  187. package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -1
  188. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  189. package/lib/component/1d-2d/tools/BrushXY.js +6 -6
  190. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  191. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -1
  192. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  193. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts +1 -1
  194. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -1
  195. package/lib/component/2d/1d-tracer/Left1DChart.d.ts +1 -1
  196. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
  197. package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
  198. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
  199. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts +1 -1
  200. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -1
  201. package/lib/component/2d/1d-tracer/VerticalSliceChart.js +1 -1
  202. package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
  203. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts +1 -1
  204. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts.map +1 -1
  205. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts +1 -1
  206. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts.map +1 -1
  207. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts +1 -1
  208. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
  209. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts +3 -3
  210. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -1
  211. package/lib/component/2d/BrushTracker2D.d.ts +1 -1
  212. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
  213. package/lib/component/2d/{XAxis.d.ts → DirectAxis2D.d.ts} +4 -4
  214. package/lib/component/2d/DirectAxis2D.d.ts.map +1 -0
  215. package/lib/component/2d/DirectAxis2D.js +42 -0
  216. package/lib/component/2d/DirectAxis2D.js.map +1 -0
  217. package/lib/component/2d/FooterBanner.d.ts +1 -1
  218. package/lib/component/2d/FooterBanner.d.ts.map +1 -1
  219. package/lib/component/2d/{YAxis.d.ts → IndirectAxis2D.d.ts} +4 -4
  220. package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -0
  221. package/lib/component/2d/IndirectAxis2D.js +52 -0
  222. package/lib/component/2d/IndirectAxis2D.js.map +1 -0
  223. package/lib/component/2d/SVGContent2D.d.ts +1 -1
  224. package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
  225. package/lib/component/2d/SVGContent2D.js +3 -3
  226. package/lib/component/2d/SVGContent2D.js.map +1 -1
  227. package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
  228. package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
  229. package/lib/component/2d/SlicingView.d.ts +1 -1
  230. package/lib/component/2d/SlicingView.d.ts.map +1 -1
  231. package/lib/component/2d/Viewer2D.d.ts +1 -1
  232. package/lib/component/2d/Viewer2D.d.ts.map +1 -1
  233. package/lib/component/2d/fid/FidCanvas.d.ts +1 -1
  234. package/lib/component/2d/fid/FidCanvas.d.ts.map +1 -1
  235. package/lib/component/2d/fid/FidCanvas.js.map +1 -1
  236. package/lib/component/2d/fid/FidContainer.d.ts +1 -1
  237. package/lib/component/2d/fid/FidContainer.d.ts.map +1 -1
  238. package/lib/component/2d/ft/Contours.d.ts +1 -1
  239. package/lib/component/2d/ft/Contours.d.ts.map +1 -1
  240. package/lib/component/2d/ft/FTContainer.d.ts +1 -1
  241. package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
  242. package/lib/component/2d/tools/PivotIndicator.d.ts +1 -1
  243. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
  244. package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
  245. package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
  246. package/lib/component/2d/utilities/extractSpectrumSignals.js +2 -2
  247. package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
  248. package/lib/component/2d/utilities/scale.d.ts +10 -2
  249. package/lib/component/2d/utilities/scale.d.ts.map +1 -1
  250. package/lib/component/2d/utilities/scale.js +6 -4
  251. package/lib/component/2d/utilities/scale.js.map +1 -1
  252. package/lib/component/2d/zones/Signal.d.ts +2 -2
  253. package/lib/component/2d/zones/Signal.d.ts.map +1 -1
  254. package/lib/component/2d/zones/Signal.js +7 -9
  255. package/lib/component/2d/zones/Signal.js.map +1 -1
  256. package/lib/component/2d/zones/SignalCrosshair.d.ts +1 -1
  257. package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
  258. package/lib/component/2d/zones/SignalCrosshair.js +3 -2
  259. package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
  260. package/lib/component/2d/zones/SignalsGuideLines.d.ts +1 -1
  261. package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
  262. package/lib/component/2d/zones/SignalsGuideLines.js +2 -2
  263. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  264. package/lib/component/2d/zones/Zone.d.ts +1 -1
  265. package/lib/component/2d/zones/Zone.d.ts.map +1 -1
  266. package/lib/component/2d/zones/Zone.js +3 -4
  267. package/lib/component/2d/zones/Zone.js.map +1 -1
  268. package/lib/component/2d/zones/Zones.d.ts +1 -1
  269. package/lib/component/2d/zones/Zones.d.ts.map +1 -1
  270. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts +1 -1
  271. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  272. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
  273. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  274. package/lib/component/EventsTrackers/BrushTracker.js +6 -6
  275. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  276. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
  277. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  278. package/lib/component/EventsTrackers/KeysListenerTracker.js +109 -123
  279. package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
  280. package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
  281. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  282. package/lib/component/EventsTrackers/MouseTracker.js +9 -8
  283. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  284. package/lib/component/SVGTable.d.ts +4 -3
  285. package/lib/component/SVGTable.d.ts.map +1 -1
  286. package/lib/component/SVGTable.js +2 -4
  287. package/lib/component/SVGTable.js.map +1 -1
  288. package/lib/component/assignment/AssignmentProvider.d.ts +1 -1
  289. package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
  290. package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
  291. package/lib/component/context/DispatchContext.d.ts +2 -1
  292. package/lib/component/context/DispatchContext.d.ts.map +1 -1
  293. package/lib/component/context/DispatchContext.js.map +1 -1
  294. package/lib/component/context/FilterSyncOptionsContext.d.ts +5 -4
  295. package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
  296. package/lib/component/context/FilterSyncOptionsContext.js +34 -8
  297. package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
  298. package/lib/component/context/KeyModifierContext.d.ts +1 -1
  299. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  300. package/lib/component/context/LoggerContext.d.ts +1 -1
  301. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  302. package/lib/component/context/ScaleContext.d.ts +6 -2
  303. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  304. package/lib/component/context/ScaleContext.js +5 -4
  305. package/lib/component/context/ScaleContext.js.map +1 -1
  306. package/lib/component/context/ShareDataContext.d.ts +1 -1
  307. package/lib/component/context/ShareDataContext.d.ts.map +1 -1
  308. package/lib/component/context/SortSpectraContext.d.ts +1 -1
  309. package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
  310. package/lib/component/context/SortSpectraContext.js +1 -1
  311. package/lib/component/context/SortSpectraContext.js.map +1 -1
  312. package/lib/component/context/ToasterContext.d.ts +1 -1
  313. package/lib/component/context/ToasterContext.d.ts.map +1 -1
  314. package/lib/component/context/TopicMoleculeContext.d.ts +1 -1
  315. package/lib/component/context/TopicMoleculeContext.d.ts.map +1 -1
  316. package/lib/component/elements/ActionButtons.d.ts +1 -1
  317. package/lib/component/elements/ActionButtons.d.ts.map +1 -1
  318. package/lib/component/elements/ActionsButtonsPopover.d.ts +1 -1
  319. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  320. package/lib/component/elements/ActionsButtonsPopover.js +1 -1
  321. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  322. package/lib/component/elements/Alert.d.ts +1 -1
  323. package/lib/component/elements/Alert.d.ts.map +1 -1
  324. package/lib/component/elements/Alert.js.map +1 -1
  325. package/lib/component/elements/Anchor.d.ts +43 -0
  326. package/lib/component/elements/Anchor.d.ts.map +1 -0
  327. package/lib/component/elements/Anchor.js +151 -0
  328. package/lib/component/elements/Anchor.js.map +1 -0
  329. package/lib/component/elements/AssignmentsCell.d.ts +1 -1
  330. package/lib/component/elements/AssignmentsCell.d.ts.map +1 -1
  331. package/lib/component/elements/Button.d.ts.map +1 -1
  332. package/lib/component/elements/Button.js +2 -2
  333. package/lib/component/elements/Button.js.map +1 -1
  334. package/lib/component/elements/CheckController.d.ts +1 -1
  335. package/lib/component/elements/CheckController.d.ts.map +1 -1
  336. package/lib/component/elements/CloseButton.d.ts +1 -1
  337. package/lib/component/elements/CloseButton.d.ts.map +1 -1
  338. package/lib/component/elements/CloseButton.js +2 -2
  339. package/lib/component/elements/CloseButton.js.map +1 -1
  340. package/lib/component/elements/ColorDot.d.ts +4 -0
  341. package/lib/component/elements/ColorDot.d.ts.map +1 -0
  342. package/lib/component/elements/ColorDot.js +32 -0
  343. package/lib/component/elements/ColorDot.js.map +1 -0
  344. package/lib/component/elements/ColorPickerDropdownController.d.ts +1 -1
  345. package/lib/component/elements/ColorPickerDropdownController.d.ts.map +1 -1
  346. package/lib/component/elements/ColumnWrapper.d.ts +3 -2
  347. package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
  348. package/lib/component/elements/ColumnWrapper.js.map +1 -1
  349. package/lib/component/elements/ContextMenuBluePrint.d.ts +1 -1
  350. package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -1
  351. package/lib/component/elements/ContextMenuBluePrint.js +2 -2
  352. package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
  353. package/lib/component/elements/D3Axis.d.ts +5 -2
  354. package/lib/component/elements/D3Axis.d.ts.map +1 -1
  355. package/lib/component/elements/D3Axis.js +61 -18
  356. package/lib/component/elements/D3Axis.js.map +1 -1
  357. package/lib/component/elements/DialogManager.d.ts +2 -2
  358. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  359. package/lib/component/elements/DialogManager.js.map +1 -1
  360. package/lib/component/elements/DraggableDialog.d.ts +1 -1
  361. package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
  362. package/lib/component/elements/DraggableDialog.js.map +1 -1
  363. package/lib/component/elements/EditableColumn.d.ts +9 -5
  364. package/lib/component/elements/EditableColumn.d.ts.map +1 -1
  365. package/lib/component/elements/EditableColumn.js +7 -7
  366. package/lib/component/elements/EditableColumn.js.map +1 -1
  367. package/lib/component/elements/EmptyText.d.ts +1 -1
  368. package/lib/component/elements/EmptyText.d.ts.map +1 -1
  369. package/lib/component/elements/Footer.d.ts +1 -1
  370. package/lib/component/elements/Footer.d.ts.map +1 -1
  371. package/lib/component/elements/Footer.js +1 -0
  372. package/lib/component/elements/Footer.js.map +1 -1
  373. package/lib/component/elements/FormatField.d.ts +1 -1
  374. package/lib/component/elements/FormatField.d.ts.map +1 -1
  375. package/lib/component/elements/GroupPane.d.ts +1 -1
  376. package/lib/component/elements/GroupPane.d.ts.map +1 -1
  377. package/lib/component/elements/HeaderContainer.d.ts +1 -1
  378. package/lib/component/elements/HeaderContainer.d.ts.map +1 -1
  379. package/lib/component/elements/Input.d.ts +2 -2
  380. package/lib/component/elements/Input.d.ts.map +1 -1
  381. package/lib/component/elements/Input.js.map +1 -1
  382. package/lib/component/elements/Input2Controller.d.ts +1 -1
  383. package/lib/component/elements/Input2Controller.d.ts.map +1 -1
  384. package/lib/component/elements/InputRange.d.ts.map +1 -1
  385. package/lib/component/elements/InputRange.js.map +1 -1
  386. package/lib/component/elements/IsotopesViewer.d.ts +1 -1
  387. package/lib/component/elements/IsotopesViewer.d.ts.map +1 -1
  388. package/lib/component/elements/Label.d.ts +2 -3
  389. package/lib/component/elements/Label.d.ts.map +1 -1
  390. package/lib/component/elements/Logo.d.ts +1 -1
  391. package/lib/component/elements/Logo.d.ts.map +1 -1
  392. package/lib/component/elements/MoleculeSelection.d.ts +1 -1
  393. package/lib/component/elements/MoleculeSelection.d.ts.map +1 -1
  394. package/lib/component/elements/MoleculeSelection.js.map +1 -1
  395. package/lib/component/elements/NextPrev.d.ts +1 -1
  396. package/lib/component/elements/NextPrev.d.ts.map +1 -1
  397. package/lib/component/elements/NumberInput2.d.ts +2 -1
  398. package/lib/component/elements/NumberInput2.d.ts.map +1 -1
  399. package/lib/component/elements/NumberInput2Controller.d.ts +2 -3
  400. package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
  401. package/lib/component/elements/NumberInputField.d.ts +9 -0
  402. package/lib/component/elements/NumberInputField.d.ts.map +1 -0
  403. package/lib/component/elements/NumberInputField.js +8 -0
  404. package/lib/component/elements/NumberInputField.js.map +1 -0
  405. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +6 -1
  406. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
  407. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js +2 -2
  408. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
  409. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +1 -1
  410. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +1 -1
  411. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +5 -5
  412. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
  413. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +5 -5
  414. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
  415. package/lib/component/elements/ReactTable/ReactTable.d.ts +15 -9
  416. package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
  417. package/lib/component/elements/ReactTable/ReactTable.js +8 -4
  418. package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
  419. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +2 -1
  420. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
  421. package/lib/component/elements/ReadOnly.d.ts +3 -3
  422. package/lib/component/elements/ReadOnly.d.ts.map +1 -1
  423. package/lib/component/elements/ReadOnly.js.map +1 -1
  424. package/lib/component/elements/ResizerWithScale.d.ts +1 -1
  425. package/lib/component/elements/ResizerWithScale.d.ts.map +1 -1
  426. package/lib/component/elements/SVGButton.d.ts +1 -1
  427. package/lib/component/elements/SVGButton.d.ts.map +1 -1
  428. package/lib/component/elements/SVGGroup.d.ts +1 -1
  429. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  430. package/lib/component/elements/SVGText.d.ts +1 -1
  431. package/lib/component/elements/SVGText.d.ts.map +1 -1
  432. package/lib/component/elements/SaveButton.d.ts +1 -1
  433. package/lib/component/elements/SaveButton.d.ts.map +1 -1
  434. package/lib/component/elements/SaveButton.js +2 -2
  435. package/lib/component/elements/SaveButton.js.map +1 -1
  436. package/lib/component/elements/Scroller.d.ts +2 -2
  437. package/lib/component/elements/Scroller.d.ts.map +1 -1
  438. package/lib/component/elements/Sections.d.ts +4 -4
  439. package/lib/component/elements/Sections.d.ts.map +1 -1
  440. package/lib/component/elements/Sections.js +2 -2
  441. package/lib/component/elements/Sections.js.map +1 -1
  442. package/lib/component/elements/Select2.d.ts +1 -1
  443. package/lib/component/elements/Select2.d.ts.map +1 -1
  444. package/lib/component/elements/Select2Controller.d.ts +1 -1
  445. package/lib/component/elements/Select2Controller.d.ts.map +1 -1
  446. package/lib/component/elements/StandardDialog.d.ts +1 -1
  447. package/lib/component/elements/StandardDialog.d.ts.map +1 -1
  448. package/lib/component/elements/Tab/DeleteButton.d.ts +3 -3
  449. package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -1
  450. package/lib/component/elements/TabTitle.d.ts +1 -1
  451. package/lib/component/elements/TabTitle.d.ts.map +1 -1
  452. package/lib/component/elements/TabTitle.js.map +1 -1
  453. package/lib/component/elements/TabsProvider.d.ts +1 -1
  454. package/lib/component/elements/TabsProvider.d.ts.map +1 -1
  455. package/lib/component/elements/ToolbarPopoverItem.d.ts +1 -1
  456. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  457. package/lib/component/elements/ToolbarPopoverItem.js +7 -3
  458. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
  459. package/lib/component/elements/dropDownButton/DropDownButton.d.ts +1 -1
  460. package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
  461. package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
  462. package/lib/component/elements/dropDownButton/DropDownList.d.ts +1 -1
  463. package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
  464. package/lib/component/elements/export/ExportContent.d.ts +1 -1
  465. package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
  466. package/lib/component/elements/export/ExportContent.js +13 -27
  467. package/lib/component/elements/export/ExportContent.js.map +1 -1
  468. package/lib/component/elements/export/ExportManager.d.ts +2 -2
  469. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  470. package/lib/component/elements/export/ExportManager.js +2 -2
  471. package/lib/component/elements/export/ExportOptionsModal.d.ts +1 -1
  472. package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -1
  473. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
  474. package/lib/component/elements/export/ExportSettingsProvider.d.ts +1 -1
  475. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
  476. package/lib/component/elements/export/RenderDetector.d.ts +1 -1
  477. package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
  478. package/lib/component/elements/export/units.d.ts +1 -1
  479. package/lib/component/elements/export/units.d.ts.map +1 -1
  480. package/lib/component/elements/export/units.js.map +1 -1
  481. package/lib/component/elements/export/useExportConfigurer.d.ts +1 -1
  482. package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
  483. package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
  484. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +1 -1
  485. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js +4 -10
  486. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +1 -1
  487. package/lib/component/elements/print/PrintContent.d.ts +1 -1
  488. package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
  489. package/lib/component/elements/print/PrintProvider.d.ts +1 -1
  490. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
  491. package/lib/component/elements/resizer/SVGResizer.d.ts +3 -2
  492. package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
  493. package/lib/component/elements/toolbar_button.d.ts +3 -0
  494. package/lib/component/elements/toolbar_button.d.ts.map +1 -0
  495. package/lib/component/elements/{ToolBarButton.js → toolbar_button.js} +2 -2
  496. package/lib/component/elements/toolbar_button.js.map +1 -0
  497. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts +1 -1
  498. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
  499. package/lib/component/header/AutoPeakPickingOptionPanel.js +23 -8
  500. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  501. package/lib/component/header/Header.d.ts +1 -1
  502. package/lib/component/header/Header.d.ts.map +1 -1
  503. package/lib/component/header/Header.js +2 -2
  504. package/lib/component/header/Header.js.map +1 -1
  505. package/lib/component/header/HeaderWrapper.d.ts +1 -1
  506. package/lib/component/header/HeaderWrapper.d.ts.map +1 -1
  507. package/lib/component/header/RangesPickingOptionPanel.d.ts +1 -1
  508. package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
  509. package/lib/component/header/RangesPickingOptionPanel.js +2 -2
  510. package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
  511. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts +1 -1
  512. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
  513. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts +1 -1
  514. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
  515. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts +1 -1
  516. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts.map +1 -1
  517. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts +1 -1
  518. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
  519. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +43 -24
  520. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
  521. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts +1 -1
  522. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts.map +1 -1
  523. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts +1 -1
  524. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts.map +1 -1
  525. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
  526. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
  527. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
  528. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
  529. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts +1 -1
  530. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  531. package/lib/component/header/Zones2DOptionPanel.d.ts +1 -1
  532. package/lib/component/header/Zones2DOptionPanel.d.ts.map +1 -1
  533. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts +1 -1
  534. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
  535. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts +1 -1
  536. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
  537. package/lib/component/highlight/index.d.ts +59 -19
  538. package/lib/component/highlight/index.d.ts.map +1 -1
  539. package/lib/component/highlight/index.js +6 -4
  540. package/lib/component/highlight/index.js.map +1 -1
  541. package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
  542. package/lib/component/hooks/use2DReducer.js +5 -1
  543. package/lib/component/hooks/use2DReducer.js.map +1 -1
  544. package/lib/component/hooks/useActiveSpectra.d.ts.map +1 -1
  545. package/lib/component/hooks/useActiveSpectra.js +3 -2
  546. package/lib/component/hooks/useActiveSpectra.js.map +1 -1
  547. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts +2 -1
  548. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
  549. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +26 -9
  550. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
  551. package/lib/component/hooks/useCheckToolsVisibility.d.ts +1 -9
  552. package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
  553. package/lib/component/hooks/useCheckToolsVisibility.js +52 -43
  554. package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
  555. package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
  556. package/lib/component/hooks/useCombinedRefs.js +1 -0
  557. package/lib/component/hooks/useCombinedRefs.js.map +1 -1
  558. package/lib/component/hooks/useExport.d.ts +1 -1
  559. package/lib/component/hooks/useExport.js +1 -1
  560. package/lib/component/hooks/useFilter.d.ts.map +1 -1
  561. package/lib/component/hooks/useFilter.js.map +1 -1
  562. package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
  563. package/lib/component/hooks/useSaveSettings.d.ts +1 -1
  564. package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
  565. package/lib/component/hooks/useSaveSettings.js +3 -3
  566. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  567. package/lib/component/hooks/useSelectedSpectra.d.ts +3 -0
  568. package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -0
  569. package/lib/component/hooks/useSelectedSpectra.js +20 -0
  570. package/lib/component/hooks/useSelectedSpectra.js.map +1 -0
  571. package/lib/component/hooks/useTableSortBy.d.ts +5 -4
  572. package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
  573. package/lib/component/hooks/useTableSortBy.js +3 -3
  574. package/lib/component/hooks/useTableSortBy.js.map +1 -1
  575. package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts +1 -1
  576. package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
  577. package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
  578. package/lib/component/hooks/useWorkspaceAction.js +4 -4
  579. package/lib/component/hooks/use_axis_unit.d.ts +24 -0
  580. package/lib/component/hooks/use_axis_unit.d.ts.map +1 -0
  581. package/lib/component/hooks/use_axis_unit.js +255 -0
  582. package/lib/component/hooks/use_axis_unit.js.map +1 -0
  583. package/lib/component/hooks/use_gridlines_config.d.ts +3 -0
  584. package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -0
  585. package/lib/component/hooks/use_gridlines_config.js +15 -0
  586. package/lib/component/hooks/use_gridlines_config.js.map +1 -0
  587. package/lib/component/hooks/use_ticks_config.d.ts +5 -0
  588. package/lib/component/hooks/use_ticks_config.d.ts.map +1 -0
  589. package/lib/component/hooks/use_ticks_config.js +13 -0
  590. package/lib/component/hooks/use_ticks_config.js.map +1 -0
  591. package/lib/component/hooks/use_visible_spectra_1d.d.ts +3 -0
  592. package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -0
  593. package/lib/component/hooks/use_visible_spectra_1d.js +12 -0
  594. package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -0
  595. package/lib/component/loader/DefaultSpinnerComponent.d.ts +1 -1
  596. package/lib/component/loader/DefaultSpinnerComponent.d.ts.map +1 -1
  597. package/lib/component/loader/DropZone.d.ts +1 -1
  598. package/lib/component/loader/DropZone.d.ts.map +1 -1
  599. package/lib/component/loader/NoData.d.ts +1 -1
  600. package/lib/component/loader/NoData.d.ts.map +1 -1
  601. package/lib/component/loader/Spinner.d.ts +1 -1
  602. package/lib/component/loader/Spinner.d.ts.map +1 -1
  603. package/lib/component/loader/SpinnerContext.d.ts +1 -1
  604. package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
  605. package/lib/component/loader/useLoadFiles.d.ts +2 -1
  606. package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
  607. package/lib/component/loader/useLoadFiles.js +15 -10
  608. package/lib/component/loader/useLoadFiles.js.map +1 -1
  609. package/lib/component/main/ErrorOverlay.d.ts +1 -1
  610. package/lib/component/main/ErrorOverlay.d.ts.map +1 -1
  611. package/lib/component/main/InnerNMRium.d.ts +1 -1
  612. package/lib/component/main/InnerNMRium.d.ts.map +1 -1
  613. package/lib/component/main/InnerNMRium.js +3 -3
  614. package/lib/component/main/InnerNMRium.js.map +1 -1
  615. package/lib/component/main/InnerNMRiumContents.d.ts +1 -1
  616. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  617. package/lib/component/main/InnerNMRiumContents.js +2 -2
  618. package/lib/component/main/InnerNMRiumContents.js.map +1 -1
  619. package/lib/component/main/NMRiumRefAPI.d.ts +2 -0
  620. package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
  621. package/lib/component/main/NMRiumRefAPI.js +1 -0
  622. package/lib/component/main/NMRiumRefAPI.js.map +1 -1
  623. package/lib/component/main/NMRiumStateProvider.d.ts +2 -1
  624. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
  625. package/lib/component/main/NMRiumStateProvider.js +11 -4
  626. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  627. package/lib/component/main/NMRiumViewer.d.ts +1 -1
  628. package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
  629. package/lib/component/main/NMRiumViewer.js +2 -2
  630. package/lib/component/main/NMRiumViewer.js.map +1 -1
  631. package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
  632. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  633. package/lib/component/modal/AboutPredictionModal.d.ts +1 -1
  634. package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
  635. package/lib/component/modal/AboutPredictionModal.js +1 -1
  636. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  637. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -1
  638. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
  639. package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -1
  640. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  641. package/lib/component/modal/EditPeakShapeModal.d.ts +7 -1
  642. package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
  643. package/lib/component/modal/EditPeakShapeModal.js +21 -13
  644. package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
  645. package/lib/component/modal/ExportAsJcampModal.d.ts +1 -1
  646. package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
  647. package/lib/component/modal/ImportPublicationStringModal.d.ts +1 -1
  648. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  649. package/lib/component/modal/LoadJCAMPModal.d.ts +1 -1
  650. package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
  651. package/lib/component/modal/LoadJCAMPModal.js +1 -1
  652. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  653. package/lib/component/modal/LogsHistoryModal.d.ts +1 -1
  654. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  655. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts +1 -1
  656. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -1
  657. package/lib/component/modal/MoleculeStructureEditorModal.d.ts +1 -1
  658. package/lib/component/modal/MultipletAnalysisModal.d.ts +3 -5
  659. package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
  660. package/lib/component/modal/MultipletAnalysisModal.js +58 -67
  661. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
  662. package/lib/component/modal/PredictSpectraModal.d.ts +1 -1
  663. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  664. package/lib/component/modal/PublicationStringModal.d.ts +1 -1
  665. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  666. package/lib/component/modal/PublicationStringModal.js +4 -0
  667. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  668. package/lib/component/modal/SaveAsModal.d.ts +1 -3
  669. package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
  670. package/lib/component/modal/SaveAsModal.js +1 -1
  671. package/lib/component/modal/SaveAsModal.js.map +1 -1
  672. package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -1
  673. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  674. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts +1 -1
  675. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts.map +1 -1
  676. package/lib/component/modal/changeSum/ChangeSumModal.d.ts +1 -1
  677. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
  678. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts +1 -1
  679. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -1
  680. package/lib/component/modal/changeSum/SelectMolecule.d.ts +1 -1
  681. package/lib/component/modal/changeSum/SelectMolecule.d.ts.map +1 -1
  682. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  683. package/lib/component/modal/editRange/EditRangeModal.d.ts +1 -1
  684. package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
  685. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -1
  686. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
  687. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts +1 -1
  688. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts.map +1 -1
  689. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +3 -2
  690. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
  691. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +2 -3
  692. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
  693. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts +1 -1
  694. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
  695. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts +1 -1
  696. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
  697. package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
  698. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts +1 -1
  699. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  700. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
  701. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts +1 -1
  702. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  703. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  704. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
  705. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +6 -7
  706. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
  707. package/lib/component/modal/editZone/EditZoneModal.d.ts +1 -1
  708. package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
  709. package/lib/component/modal/editZone/EditZoneModal.js +3 -1
  710. package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
  711. package/lib/component/modal/editZone/SignalsForm.d.ts +1 -1
  712. package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
  713. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts +1 -1
  714. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  715. package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -2
  716. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  717. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts +4 -1
  718. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts.map +1 -1
  719. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js.map +1 -1
  720. package/lib/component/modal/setting/WorkspaceItem.d.ts +1 -1
  721. package/lib/component/modal/setting/WorkspaceItem.d.ts.map +1 -1
  722. package/lib/component/modal/setting/WorkspaceItem.js +8 -8
  723. package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
  724. package/lib/component/modal/setting/general_settings.d.ts +2 -8
  725. package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
  726. package/lib/component/modal/setting/general_settings.js +5 -228
  727. package/lib/component/modal/setting/general_settings.js.map +1 -1
  728. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +2313 -0
  729. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -0
  730. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +52 -0
  731. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -0
  732. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +2302 -0
  733. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -0
  734. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js +29 -0
  735. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -0
  736. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +1 -1
  737. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
  738. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +24 -22
  739. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
  740. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +1165 -217
  741. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
  742. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +6 -2
  743. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
  744. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +516 -216
  745. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
  746. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +2 -8
  747. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
  748. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +516 -216
  749. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
  750. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +23 -45
  751. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
  752. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +70 -243
  753. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
  754. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js +2 -8
  755. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js.map +1 -1
  756. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +516 -216
  757. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
  758. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js +21 -17
  759. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -1
  760. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +1654 -0
  761. package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts.map → tabs/axis_tab.d.ts.map} +1 -1
  762. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +43 -0
  763. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -0
  764. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +516 -216
  765. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
  766. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +10 -9
  767. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
  768. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +516 -216
  769. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
  770. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +516 -216
  771. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
  772. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +30 -14
  773. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
  774. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +516 -216
  775. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
  776. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +2 -2
  777. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -1
  778. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +516 -216
  779. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
  780. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +516 -216
  781. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
  782. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +10 -8
  783. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -1
  784. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +516 -216
  785. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
  786. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +516 -216
  787. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
  788. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +15 -18
  789. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
  790. package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts → tabs/spectra_label_tab.d.ts} +518 -218
  791. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -0
  792. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +105 -0
  793. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -0
  794. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +516 -216
  795. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
  796. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +10 -10
  797. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
  798. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +516 -216
  799. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
  800. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +7 -0
  801. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -0
  802. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js +16 -0
  803. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js.map +1 -0
  804. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +16 -0
  805. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -0
  806. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js +26 -0
  807. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js.map +1 -0
  808. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +14 -0
  809. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -0
  810. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js +18 -0
  811. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js.map +1 -0
  812. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +36 -0
  813. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -0
  814. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js +64 -0
  815. package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js.map +1 -0
  816. package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +2 -55
  817. package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
  818. package/lib/component/modal/setting/tanstack_general_settings/ui/table.js +2 -79
  819. package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
  820. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts +1 -1
  821. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts.map +1 -1
  822. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +37 -33
  823. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts.map +1 -1
  824. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js +2 -52
  825. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js.map +1 -1
  826. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +95 -0
  827. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -0
  828. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +19 -0
  829. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -0
  830. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts +24 -12
  831. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts.map +1 -1
  832. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js +4 -2
  833. package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js.map +1 -1
  834. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +18 -4
  835. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -1
  836. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +4 -0
  837. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -1
  838. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts +39 -0
  839. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts.map +1 -0
  840. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js +16 -0
  841. package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js.map +1 -0
  842. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -1
  843. package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -1
  844. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +137 -43
  845. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
  846. package/lib/component/modal/setting/tanstack_general_settings/validation.js +7 -4
  847. package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
  848. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +3 -0
  849. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -0
  850. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +96 -0
  851. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -0
  852. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +3 -0
  853. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -0
  854. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js +55 -0
  855. package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js.map +1 -0
  856. package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts +7 -0
  857. package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts.map +1 -0
  858. package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js +2 -0
  859. package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js.map +1 -0
  860. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -1
  861. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
  862. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
  863. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
  864. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +3 -3
  865. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
  866. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts +1 -1
  867. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts.map +1 -1
  868. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +1 -1
  869. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +1 -1
  870. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
  871. package/lib/component/panels/IntegralsPanel/IntegralTable.js +6 -7
  872. package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
  873. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
  874. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +2 -3
  875. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
  876. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts +1 -1
  877. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
  878. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts +1 -1
  879. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts.map +1 -1
  880. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +1 -5
  881. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
  882. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts +1 -1
  883. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
  884. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts +1 -1
  885. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -1
  886. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +2 -1
  887. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
  888. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +1 -1
  889. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -1
  890. package/lib/component/panels/MoleculesPanel/MoleculeHeader.js +5 -5
  891. package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
  892. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts +1 -1
  893. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts.map +1 -1
  894. package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
  895. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
  896. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
  897. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -1
  898. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  899. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +2 -2
  900. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
  901. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +9 -4
  902. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
  903. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
  904. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +24 -20
  905. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
  906. package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +3 -3
  907. package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.js +3 -3
  908. package/lib/component/panels/PanelNoData.d.ts +1 -1
  909. package/lib/component/panels/PanelNoData.d.ts.map +1 -1
  910. package/lib/component/panels/Panels.d.ts +1 -1
  911. package/lib/component/panels/Panels.d.ts.map +1 -1
  912. package/lib/component/panels/Panels.js.map +1 -1
  913. package/lib/component/panels/PanelsBar.d.ts +1 -1
  914. package/lib/component/panels/PanelsBar.d.ts.map +1 -1
  915. package/lib/component/panels/PanelsBar.js.map +1 -1
  916. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts +1 -1
  917. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -1
  918. package/lib/component/panels/PeaksPanel/PeaksPanel.js +44 -27
  919. package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
  920. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +2 -1
  921. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
  922. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +24 -6
  923. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  924. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +9 -3
  925. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  926. package/lib/component/panels/PeaksPanel/PeaksTable.js +13 -11
  927. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  928. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts +4 -0
  929. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts.map +1 -0
  930. package/lib/component/panels/PeaksPanel/peaksToTSV.js +32 -0
  931. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -0
  932. package/lib/component/panels/RangesPanel/RangesHeader.d.ts +1 -1
  933. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
  934. package/lib/component/panels/RangesPanel/RangesHeader.js +1 -1
  935. package/lib/component/panels/RangesPanel/RangesPanel.d.ts +8 -1
  936. package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
  937. package/lib/component/panels/RangesPanel/RangesPanel.js +6 -5
  938. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
  939. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +2 -1
  940. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
  941. package/lib/component/panels/RangesPanel/RangesPreferences.js +2 -3
  942. package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
  943. package/lib/component/panels/RangesPanel/RangesTable.d.ts +4 -3
  944. package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
  945. package/lib/component/panels/RangesPanel/RangesTable.js +2 -3
  946. package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
  947. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +5 -5
  948. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  949. package/lib/component/panels/RangesPanel/RangesTableRow.js +8 -3
  950. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  951. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts +1 -1
  952. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts.map +1 -1
  953. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +1 -1
  954. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  955. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +1 -1
  956. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts.map +1 -1
  957. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts +1 -1
  958. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts.map +1 -1
  959. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -2
  960. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
  961. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +4 -4
  962. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
  963. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
  964. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  965. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +8 -7
  966. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  967. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  968. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  969. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -2
  970. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
  971. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +7 -5
  972. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
  973. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +1 -1
  974. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts.map +1 -1
  975. package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts +11 -4
  976. package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
  977. package/lib/component/panels/RangesPanel/hooks/useMapRanges.js +2 -4
  978. package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
  979. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts +1 -1
  980. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
  981. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +143 -4
  982. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
  983. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
  984. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +1 -0
  985. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
  986. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +3 -2
  987. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  988. package/lib/component/panels/SpectraPanel/SpectraTable.js +5 -19
  989. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  990. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts +1 -1
  991. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
  992. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts +1 -1
  993. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts.map +1 -1
  994. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +1 -1
  995. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -1
  996. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts +1 -1
  997. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
  998. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js +5 -9
  999. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
  1000. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts +1 -1
  1001. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts.map +1 -1
  1002. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -1
  1003. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
  1004. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +9 -0
  1005. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
  1006. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts +1 -1
  1007. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts.map +1 -1
  1008. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts +2 -0
  1009. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -0
  1010. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +66 -0
  1011. package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -0
  1012. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts +1 -1
  1013. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts.map +1 -1
  1014. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts +1 -1
  1015. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -1
  1016. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +4 -0
  1017. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
  1018. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +1 -1
  1019. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
  1020. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +14 -12
  1021. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
  1022. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts +1 -1
  1023. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
  1024. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +4 -0
  1025. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
  1026. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +1 -1
  1027. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
  1028. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +9 -4
  1029. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  1030. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +1 -1
  1031. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -1
  1032. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +8 -2
  1033. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
  1034. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +1 -1
  1035. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
  1036. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
  1037. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +1 -1
  1038. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
  1039. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
  1040. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +5 -8
  1041. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
  1042. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +1 -1
  1043. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
  1044. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +18 -12
  1045. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
  1046. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +9 -12
  1047. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
  1048. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts +1 -1
  1049. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts.map +1 -1
  1050. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +1 -1
  1051. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
  1052. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts +1 -1
  1053. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts.map +1 -1
  1054. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +1 -1
  1055. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
  1056. package/lib/component/panels/SummaryPanel/Overview.d.ts +1 -1
  1057. package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
  1058. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts +1 -1
  1059. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
  1060. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +2 -2
  1061. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
  1062. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts +1 -1
  1063. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  1064. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +1 -1
  1065. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  1066. package/lib/component/panels/SummaryPanel/SummaryPanel.js +4 -8
  1067. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  1068. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
  1069. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  1070. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +2 -2
  1071. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  1072. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +1 -1
  1073. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  1074. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  1075. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  1076. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +2 -1
  1077. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
  1078. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +1 -1
  1079. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
  1080. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +2 -2
  1081. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
  1082. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +6 -8
  1083. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
  1084. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +1 -1
  1085. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
  1086. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +4 -3
  1087. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
  1088. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +1 -1
  1089. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
  1090. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +2 -0
  1091. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +1 -1
  1092. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +1 -1
  1093. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +1 -1
  1094. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts +1 -1
  1095. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
  1096. package/lib/component/panels/ZonesPanel/ZonesPanel.js +1 -1
  1097. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +1 -1
  1098. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
  1099. package/lib/component/panels/ZonesPanel/ZonesPreferences.js +2 -3
  1100. package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
  1101. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
  1102. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
  1103. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +5 -4
  1104. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  1105. package/lib/component/panels/ZonesPanel/ZonesTableRow.js +2 -2
  1106. package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
  1107. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts +2 -2
  1108. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
  1109. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
  1110. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts +1 -1
  1111. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
  1112. package/lib/component/panels/databasePanel/DatabasePanel.d.ts +2 -2
  1113. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  1114. package/lib/component/panels/databasePanel/DatabasePanel.js +56 -56
  1115. package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
  1116. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +2 -1
  1117. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
  1118. package/lib/component/panels/databasePanel/DatabasePreferences.js +2 -3
  1119. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
  1120. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -3
  1121. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  1122. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +2 -2
  1123. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
  1124. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +1 -1
  1125. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts.map +1 -1
  1126. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +2 -2
  1127. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  1128. package/lib/component/panels/databasePanel/DatabaseTable.js +22 -3
  1129. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  1130. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts +1 -1
  1131. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts.map +1 -1
  1132. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts +1 -1
  1133. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts.map +1 -1
  1134. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +1 -1
  1135. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts.map +1 -1
  1136. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +1 -1
  1137. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts.map +1 -1
  1138. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +1 -1
  1139. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts.map +1 -1
  1140. package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +2 -2
  1141. package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
  1142. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +6 -4
  1143. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
  1144. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +3 -3
  1145. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
  1146. package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
  1147. package/lib/component/panels/filtersPanel/FilterPanel.d.ts +1 -1
  1148. package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -1
  1149. package/lib/component/panels/filtersPanel/FilterPanel.js +1 -1
  1150. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts +1 -1
  1151. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
  1152. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts +1 -1
  1153. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
  1154. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts +1 -1
  1155. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts.map +1 -1
  1156. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts +1 -1
  1157. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
  1158. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +61 -19
  1159. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
  1160. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts +1 -1
  1161. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
  1162. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
  1163. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts +1 -1
  1164. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts.map +1 -1
  1165. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  1166. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  1167. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
  1168. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  1169. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts +1 -1
  1170. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts.map +1 -1
  1171. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
  1172. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts +1 -1
  1173. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts.map +1 -1
  1174. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
  1175. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts +1 -1
  1176. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts.map +1 -1
  1177. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -1
  1178. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
  1179. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
  1180. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
  1181. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
  1182. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts +1 -1
  1183. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts.map +1 -1
  1184. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts +1 -1
  1185. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -1
  1186. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
  1187. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts +1 -1
  1188. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
  1189. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
  1190. package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts +49 -0
  1191. package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts.map +1 -0
  1192. package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js +2 -0
  1193. package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js.map +1 -0
  1194. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
  1195. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -0
  1196. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
  1197. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +129 -48
  1198. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
  1199. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +106 -41
  1200. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
  1201. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
  1202. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -0
  1203. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  1204. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
  1205. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -0
  1206. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  1207. package/lib/component/panels/header/DefaultPanelHeader.d.ts +3 -3
  1208. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  1209. package/lib/component/panels/header/DefaultPanelHeader.js +3 -5
  1210. package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
  1211. package/lib/component/panels/header/PreferencesHeader.d.ts +1 -1
  1212. package/lib/component/panels/header/PreferencesHeader.d.ts.map +1 -1
  1213. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +1 -1
  1214. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts.map +1 -1
  1215. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts +1 -1
  1216. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  1217. package/lib/component/panels/informationPanel/InformationEditionModal.js +222 -33
  1218. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  1219. package/lib/component/panels/informationPanel/InformationPanel.d.ts +1 -1
  1220. package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
  1221. package/lib/component/panels/informationPanel/InformationPanel.js +8 -8
  1222. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
  1223. package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts +6 -0
  1224. package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts.map +1 -0
  1225. package/lib/component/panels/informationPanel/MixedValuesBadge.js +47 -0
  1226. package/lib/component/panels/informationPanel/MixedValuesBadge.js.map +1 -0
  1227. package/lib/component/panels/informationPanel/SpectraPicker.d.ts +6 -0
  1228. package/lib/component/panels/informationPanel/SpectraPicker.d.ts.map +1 -0
  1229. package/lib/component/panels/informationPanel/SpectraPicker.js +148 -0
  1230. package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -0
  1231. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +1 -1
  1232. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -1
  1233. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts +1 -1
  1234. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  1235. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
  1236. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts +1 -1
  1237. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts.map +1 -1
  1238. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +9 -1
  1239. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
  1240. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +2 -1
  1241. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
  1242. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +26 -1
  1243. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  1244. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +3 -3
  1245. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
  1246. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js +2 -2
  1247. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js.map +1 -1
  1248. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +4 -3
  1249. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
  1250. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +2 -2
  1251. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.map +1 -1
  1252. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts +1 -1
  1253. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
  1254. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts +1 -1
  1255. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
  1256. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts +1 -1
  1257. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts.map +1 -1
  1258. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js.map +1 -1
  1259. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
  1260. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +5 -9
  1261. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  1262. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +2 -1
  1263. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
  1264. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +2 -3
  1265. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
  1266. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts +1 -1
  1267. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  1268. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +2 -1
  1269. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
  1270. package/lib/component/panels/predictionPanel/PredictionPreferences.js +2 -3
  1271. package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
  1272. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts +1 -1
  1273. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts.map +1 -1
  1274. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts +1 -1
  1275. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts.map +1 -1
  1276. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts +1 -1
  1277. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts.map +1 -1
  1278. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts +1 -1
  1279. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
  1280. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  1281. package/lib/component/reducer/Reducer.js +13 -8
  1282. package/lib/component/reducer/Reducer.js.map +1 -1
  1283. package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
  1284. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
  1285. package/lib/component/reducer/actions/DatabaseActions.d.ts +8 -11
  1286. package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
  1287. package/lib/component/reducer/actions/DatabaseActions.js +87 -51
  1288. package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
  1289. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  1290. package/lib/component/reducer/actions/DomainActions.js +3 -3
  1291. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  1292. package/lib/component/reducer/actions/FiltersActions.d.ts +4 -3
  1293. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  1294. package/lib/component/reducer/actions/FiltersActions.js +66 -68
  1295. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  1296. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  1297. package/lib/component/reducer/actions/InsetActions.js +8 -8
  1298. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  1299. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
  1300. package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
  1301. package/lib/component/reducer/actions/LoadAction.js +21 -2
  1302. package/lib/component/reducer/actions/LoadAction.js.map +1 -1
  1303. package/lib/component/reducer/actions/MoleculeActions.d.ts +4 -1
  1304. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  1305. package/lib/component/reducer/actions/MoleculeActions.js +14 -7
  1306. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  1307. package/lib/component/reducer/actions/PeaksActions.d.ts +10 -5
  1308. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  1309. package/lib/component/reducer/actions/PeaksActions.js +40 -33
  1310. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  1311. package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
  1312. package/lib/component/reducer/actions/RangesActions.d.ts +3 -3
  1313. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  1314. package/lib/component/reducer/actions/RangesActions.js +10 -4
  1315. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  1316. package/lib/component/reducer/actions/SpectraActions.d.ts +5 -4
  1317. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  1318. package/lib/component/reducer/actions/SpectraActions.js +51 -32
  1319. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  1320. package/lib/component/reducer/actions/ToolsActions.d.ts +2 -14
  1321. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  1322. package/lib/component/reducer/actions/ToolsActions.js +9 -37
  1323. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  1324. package/lib/component/reducer/actions/unit_actions.d.ts +28 -0
  1325. package/lib/component/reducer/actions/unit_actions.d.ts.map +1 -0
  1326. package/lib/component/reducer/actions/unit_actions.js +58 -0
  1327. package/lib/component/reducer/actions/unit_actions.js.map +1 -0
  1328. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
  1329. package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
  1330. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
  1331. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  1332. package/lib/component/reducer/helper/ZoomHistoryManager.js +1 -2
  1333. package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
  1334. package/lib/component/reducer/helper/getActiveSpectra.d.ts +2 -2
  1335. package/lib/component/reducer/helper/getActiveSpectra.d.ts.map +1 -1
  1336. package/lib/component/reducer/helper/getActiveSpectra.js +2 -2
  1337. package/lib/component/reducer/helper/getActiveSpectra.js.map +1 -1
  1338. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts.map +1 -1
  1339. package/lib/component/reducer/helper/getActiveSpectraAsObject.js +2 -1
  1340. package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
  1341. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
  1342. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
  1343. package/lib/component/reducer/preferences/actions/addWorkspace.js.map +1 -1
  1344. package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
  1345. package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
  1346. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts +4 -0
  1347. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts.map +1 -0
  1348. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js +10 -0
  1349. package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js.map +1 -0
  1350. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  1351. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +7 -1
  1352. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  1353. package/lib/component/reducer/preferences/preferencesReducer.d.ts +4 -1
  1354. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  1355. package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
  1356. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
  1357. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts +3 -2
  1358. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts.map +1 -1
  1359. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +3 -2
  1360. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js.map +1 -1
  1361. package/lib/component/toolbar/ToolTypes.d.ts +14 -4
  1362. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
  1363. package/lib/component/toolbar/ToolTypes.js +31 -60
  1364. package/lib/component/toolbar/ToolTypes.js.map +1 -1
  1365. package/lib/component/toolbar/nmr_toolbar.d.ts +2 -0
  1366. package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -0
  1367. package/lib/component/toolbar/{ToolBar.js → nmr_toolbar.js} +4 -7
  1368. package/lib/component/toolbar/nmr_toolbar.js.map +1 -0
  1369. package/lib/component/useWatchForm.d.ts.map +1 -1
  1370. package/lib/component/useWatchForm.js +1 -0
  1371. package/lib/component/useWatchForm.js.map +1 -1
  1372. package/lib/component/utility/Evaluate.d.ts +1 -1
  1373. package/lib/component/utility/Evaluate.d.ts.map +1 -1
  1374. package/lib/component/utility/Evaluate.js.map +1 -1
  1375. package/lib/component/utility/LocalStorage.d.ts +3 -3
  1376. package/lib/component/utility/LocalStorage.d.ts.map +1 -1
  1377. package/lib/component/utility/LocalStorage.js.map +1 -1
  1378. package/lib/component/utility/convertPathArrayToString.d.ts +1 -1
  1379. package/lib/component/utility/convertPathArrayToString.d.ts.map +1 -1
  1380. package/lib/component/utility/convertPathArrayToString.js.map +1 -1
  1381. package/lib/component/utility/export.d.ts +3 -3
  1382. package/lib/component/utility/export.d.ts.map +1 -1
  1383. package/lib/component/utility/export.js +5 -6
  1384. package/lib/component/utility/export.js.map +1 -1
  1385. package/lib/component/utility/getValueByPath.d.ts +2 -0
  1386. package/lib/component/utility/getValueByPath.d.ts.map +1 -0
  1387. package/lib/component/utility/getValueByPath.js +21 -0
  1388. package/lib/component/utility/getValueByPath.js.map +1 -0
  1389. package/lib/component/utility/merge_replace_array.d.ts +8 -0
  1390. package/lib/component/utility/merge_replace_array.d.ts.map +1 -0
  1391. package/lib/component/utility/merge_replace_array.js +14 -0
  1392. package/lib/component/utility/merge_replace_array.js.map +1 -0
  1393. package/lib/component/utility/nucleusToString.d.ts +1 -1
  1394. package/lib/component/utility/nucleusToString.d.ts.map +1 -1
  1395. package/lib/component/utility/nucleusToString.js.map +1 -1
  1396. package/lib/component/utility/pathToString.d.ts +2 -0
  1397. package/lib/component/utility/pathToString.d.ts.map +1 -0
  1398. package/lib/component/utility/pathToString.js +4 -0
  1399. package/lib/component/utility/pathToString.js.map +1 -0
  1400. package/lib/component/utility/replaceNucleiObjectKeys.js.map +1 -1
  1401. package/lib/component/utility/stackOverlappingLabels.d.ts +5 -0
  1402. package/lib/component/utility/stackOverlappingLabels.d.ts.map +1 -1
  1403. package/lib/component/utility/stackOverlappingLabels.js +18 -6
  1404. package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
  1405. package/lib/component/workspaces/exercise.d.ts.map +1 -1
  1406. package/lib/component/workspaces/exercise.js +8 -0
  1407. package/lib/component/workspaces/exercise.js.map +1 -1
  1408. package/lib/component/workspaces/index.d.ts +7 -7
  1409. package/lib/component/workspaces/index.d.ts.map +1 -1
  1410. package/lib/component/workspaces/index.js.map +1 -1
  1411. package/lib/component/workspaces/prediction.d.ts.map +1 -1
  1412. package/lib/component/workspaces/prediction.js +28 -0
  1413. package/lib/component/workspaces/prediction.js.map +1 -1
  1414. package/lib/component/workspaces/simulation.d.ts.map +1 -1
  1415. package/lib/component/workspaces/simulation.js +11 -0
  1416. package/lib/component/workspaces/simulation.js.map +1 -1
  1417. package/lib/component/workspaces/workspaceDefaultProperties.d.ts +3 -1
  1418. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  1419. package/lib/component/workspaces/workspaceDefaultProperties.js +61 -0
  1420. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  1421. package/lib/data/PredictionManager.d.ts.map +1 -1
  1422. package/lib/data/PredictionManager.js +9 -2
  1423. package/lib/data/PredictionManager.js.map +1 -1
  1424. package/lib/data/SpectraManager.d.ts +1 -2
  1425. package/lib/data/SpectraManager.d.ts.map +1 -1
  1426. package/lib/data/SpectraManager.js +7 -43
  1427. package/lib/data/SpectraManager.js.map +1 -1
  1428. package/lib/data/constants/defaultPeakShape.d.ts +6 -0
  1429. package/lib/data/constants/defaultPeakShape.d.ts.map +1 -0
  1430. package/lib/data/constants/defaultPeakShape.js +6 -0
  1431. package/lib/data/constants/defaultPeakShape.js.map +1 -0
  1432. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts +2 -2
  1433. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
  1434. package/lib/data/data1d/Spectrum1D/get1DColor.js +6 -7
  1435. package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
  1436. package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +0 -5
  1437. package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts.map +1 -1
  1438. package/lib/data/data1d/Spectrum1D/get1DDataXY.js +0 -5
  1439. package/lib/data/data1d/Spectrum1D/get1DDataXY.js.map +1 -1
  1440. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +4 -9
  1441. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
  1442. package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -9
  1443. package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
  1444. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +12 -1
  1445. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
  1446. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +4 -3
  1447. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
  1448. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
  1449. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +108 -3
  1450. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
  1451. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts +2 -2
  1452. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +2 -2
  1453. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +7 -5
  1454. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
  1455. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js +1 -1
  1456. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js.map +1 -1
  1457. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +10 -4
  1458. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
  1459. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +1 -1
  1460. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
  1461. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
  1462. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +4 -2
  1463. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
  1464. package/lib/data/data1d/database.d.ts +5 -5
  1465. package/lib/data/data1d/database.js +2 -2
  1466. package/lib/data/data1d/database.js.map +1 -1
  1467. package/lib/data/data1d/multipleSpectraAnalysis.d.ts +7 -1
  1468. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
  1469. package/lib/data/data1d/multipleSpectraAnalysis.js +3 -3
  1470. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  1471. package/lib/data/data2d/Spectrum2D/contours.d.ts +4 -3
  1472. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  1473. package/lib/data/data2d/Spectrum2D/contours.js +8 -4
  1474. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  1475. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +2 -2
  1476. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
  1477. package/lib/data/data2d/Spectrum2D/get2DColor.js +11 -10
  1478. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  1479. package/lib/data/data2d/Spectrum2D/getMissingProjection.js +2 -2
  1480. package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
  1481. package/lib/data/data2d/Spectrum2D/getSlice.d.ts +6 -4
  1482. package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
  1483. package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
  1484. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  1485. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +1 -1
  1486. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -1
  1487. package/lib/data/molecules/Molecule.js +2 -2
  1488. package/lib/data/molecules/Molecule.js.map +1 -1
  1489. package/lib/data/molecules/MoleculeManager.d.ts +5 -1
  1490. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  1491. package/lib/data/molecules/MoleculeManager.js +5 -3
  1492. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  1493. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
  1494. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  1495. package/lib/data/parseMeta/linkMetaWithSpectra.js +2 -2
  1496. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  1497. package/lib/data/utilities/RangeUtilities.d.ts +0 -8
  1498. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
  1499. package/lib/data/utilities/RangeUtilities.js.map +1 -1
  1500. package/lib/data/utilities/checkModifierKeyActivated.d.ts +1 -1
  1501. package/lib/data/utilities/checkModifierKeyActivated.d.ts.map +1 -1
  1502. package/lib/data/utilities/checkModifierKeyActivated.js.map +1 -1
  1503. package/lib/data/utilities/isNumber.d.ts +1 -1
  1504. package/lib/data/utilities/isNumber.d.ts.map +1 -1
  1505. package/lib/data/utilities/isNumber.js.map +1 -1
  1506. package/lib/utils/clipboard/clipboardComponents.d.ts +1 -1
  1507. package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -1
  1508. package/lib/versionInfo.js +1 -1
  1509. package/package.json +53 -53
  1510. package/src/component/1d/BrushTracker1D.tsx +30 -20
  1511. package/src/component/1d/FloatPublicationString.tsx +52 -34
  1512. package/src/component/1d/FooterBanner.tsx +19 -3
  1513. package/src/component/1d/HorizontalAxis1D.tsx +69 -0
  1514. package/src/component/1d/Line.tsx +1 -1
  1515. package/src/component/1d/LinesSeries.tsx +4 -17
  1516. package/src/component/1d/SVGContent1D.tsx +2 -4
  1517. package/src/component/1d/SpectraLegends.tsx +7 -2
  1518. package/src/component/1d/SpectrumLabel.tsx +59 -0
  1519. package/src/component/1d/Viewer1D.tsx +2 -0
  1520. package/src/component/1d/baseline/BaselinePreview.tsx +242 -0
  1521. package/src/component/1d/baseline/getMedianWindow.ts +6 -0
  1522. package/src/component/1d/baseline/getMedianY.ts +15 -0
  1523. package/src/component/1d/database/DatabaseElements.tsx +9 -4
  1524. package/src/component/1d/database/DatabaseSpectrum.tsx +8 -2
  1525. package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +8 -2
  1526. package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
  1527. package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
  1528. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +6 -5
  1529. package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
  1530. package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +3 -0
  1531. package/src/component/1d/peaks/PeakEditionManager.tsx +2 -5
  1532. package/src/component/1d/peaks/usePeakShapesPath.ts +5 -3
  1533. package/src/component/1d/ranges/Range.tsx +3 -3
  1534. package/src/component/1d/ranges/Ranges.tsx +2 -2
  1535. package/src/component/1d/tool/BaseLine.tsx +1 -1
  1536. package/src/component/1d/tool/PeakPointer.tsx +3 -1
  1537. package/src/component/1d/utilities/scale.ts +20 -13
  1538. package/src/component/1d-2d/FieldEdition.tsx +2 -2
  1539. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +2 -4
  1540. package/src/component/1d-2d/components/axis_unit_picker.tsx +53 -0
  1541. package/src/component/1d-2d/tools/BrushXY.tsx +6 -6
  1542. package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
  1543. package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +2 -2
  1544. package/src/component/2d/DirectAxis2D.tsx +104 -0
  1545. package/src/component/2d/IndirectAxis2D.tsx +139 -0
  1546. package/src/component/2d/SVGContent2D.tsx +4 -4
  1547. package/src/component/2d/fid/FidCanvas.tsx +2 -2
  1548. package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -2
  1549. package/src/component/2d/utilities/scale.ts +26 -6
  1550. package/src/component/2d/zones/Signal.tsx +8 -12
  1551. package/src/component/2d/zones/SignalCrosshair.tsx +3 -2
  1552. package/src/component/2d/zones/SignalsGuideLines.tsx +2 -2
  1553. package/src/component/2d/zones/Zone.tsx +4 -4
  1554. package/src/component/EventsTrackers/BrushTracker.tsx +15 -7
  1555. package/src/component/EventsTrackers/KeysListenerTracker.tsx +115 -128
  1556. package/src/component/EventsTrackers/MouseTracker.tsx +10 -14
  1557. package/src/component/SVGTable.tsx +5 -5
  1558. package/src/component/assignment/utilities/getAssignments.ts +1 -1
  1559. package/src/component/context/DispatchContext.tsx +3 -1
  1560. package/src/component/context/FilterSyncOptionsContext.tsx +62 -20
  1561. package/src/component/context/ScaleContext.tsx +17 -15
  1562. package/src/component/context/SortSpectraContext.tsx +1 -1
  1563. package/src/component/elements/ActionsButtonsPopover.tsx +3 -4
  1564. package/src/component/elements/Alert.tsx +2 -2
  1565. package/src/component/elements/Anchor.tsx +361 -0
  1566. package/src/component/elements/Button.tsx +4 -3
  1567. package/src/component/elements/CloseButton.tsx +2 -2
  1568. package/src/component/elements/ColorDot.tsx +38 -0
  1569. package/src/component/elements/ColumnWrapper.tsx +3 -1
  1570. package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
  1571. package/src/component/elements/D3Axis.tsx +118 -47
  1572. package/src/component/elements/DialogManager.tsx +1 -1
  1573. package/src/component/elements/DraggableDialog.tsx +3 -3
  1574. package/src/component/elements/EditableColumn.tsx +22 -16
  1575. package/src/component/elements/Footer.tsx +1 -0
  1576. package/src/component/elements/Input.tsx +3 -2
  1577. package/src/component/elements/InputRange.tsx +3 -3
  1578. package/src/component/elements/Label.tsx +1 -1
  1579. package/src/component/elements/MoleculeSelection.tsx +1 -1
  1580. package/src/component/elements/NumberInput2.tsx +2 -2
  1581. package/src/component/elements/NumberInput2Controller.tsx +1 -1
  1582. package/src/component/elements/NumberInputField.tsx +23 -0
  1583. package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +8 -3
  1584. package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +23 -11
  1585. package/src/component/elements/ReactTable/ReactTable.tsx +44 -14
  1586. package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +2 -2
  1587. package/src/component/elements/ReadOnly.tsx +3 -3
  1588. package/src/component/elements/SaveButton.tsx +2 -2
  1589. package/src/component/elements/Sections.tsx +3 -3
  1590. package/src/component/elements/Tab/DeleteButton.tsx +2 -2
  1591. package/src/component/elements/TabTitle.tsx +2 -2
  1592. package/src/component/elements/ToolbarPopoverItem.tsx +17 -10
  1593. package/src/component/elements/dropDownButton/DropDownButton.tsx +1 -1
  1594. package/src/component/elements/export/ExportContent.tsx +12 -32
  1595. package/src/component/elements/export/ExportManager.tsx +2 -2
  1596. package/src/component/elements/export/ExportOptionsModal.tsx +1 -1
  1597. package/src/component/elements/export/units.ts +1 -1
  1598. package/src/component/elements/export/useExportConfigurer.tsx +1 -1
  1599. package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +4 -8
  1600. package/src/component/elements/resizer/SVGResizer.tsx +3 -3
  1601. package/src/component/elements/{ToolBarButton.tsx → toolbar_button.tsx} +1 -1
  1602. package/src/component/header/AutoPeakPickingOptionPanel.tsx +32 -10
  1603. package/src/component/header/Header.tsx +2 -2
  1604. package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
  1605. package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +144 -84
  1606. package/src/component/highlight/index.tsx +57 -38
  1607. package/src/component/hooks/use2DReducer.tsx +8 -5
  1608. package/src/component/hooks/useActiveSpectra.ts +6 -2
  1609. package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +41 -13
  1610. package/src/component/hooks/useCheckToolsVisibility.ts +69 -74
  1611. package/src/component/hooks/useCombinedRefs.ts +1 -0
  1612. package/src/component/hooks/useExport.tsx +1 -1
  1613. package/src/component/hooks/useFilter.ts +1 -2
  1614. package/src/component/hooks/useSVGUnitConverter.ts +1 -1
  1615. package/src/component/hooks/useSaveSettings.tsx +8 -5
  1616. package/src/component/hooks/useSelectedSpectra.ts +25 -0
  1617. package/src/component/hooks/useTableSortBy.tsx +12 -8
  1618. package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
  1619. package/src/component/hooks/useWorkspaceAction.ts +5 -5
  1620. package/src/component/hooks/use_axis_unit.ts +329 -0
  1621. package/src/component/hooks/use_gridlines_config.ts +18 -0
  1622. package/src/component/hooks/use_ticks_config.ts +15 -0
  1623. package/src/component/hooks/use_visible_spectra_1d.ts +21 -0
  1624. package/src/component/loader/useLoadFiles.ts +24 -18
  1625. package/src/component/main/InnerNMRium.tsx +3 -2
  1626. package/src/component/main/InnerNMRiumContents.tsx +2 -2
  1627. package/src/component/main/NMRiumRefAPI.ts +4 -0
  1628. package/src/component/main/NMRiumStateProvider.tsx +13 -3
  1629. package/src/component/main/NMRiumViewer.tsx +3 -3
  1630. package/src/component/modal/AboutPredictionModal.tsx +5 -5
  1631. package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -1
  1632. package/src/component/modal/EditPeakShapeModal.tsx +42 -26
  1633. package/src/component/modal/LoadJCAMPModal.tsx +1 -1
  1634. package/src/component/modal/MultipletAnalysisModal.tsx +83 -84
  1635. package/src/component/modal/PublicationStringModal.tsx +10 -1
  1636. package/src/component/modal/SaveAsModal.tsx +1 -1
  1637. package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
  1638. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +5 -5
  1639. package/src/component/modal/editRange/forms/components/SignalsContent.tsx +3 -3
  1640. package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +4 -4
  1641. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +7 -3
  1642. package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +6 -7
  1643. package/src/component/modal/editZone/EditZoneModal.tsx +3 -1
  1644. package/src/component/modal/metaImportation/MetaImportationModal.tsx +4 -4
  1645. package/src/component/modal/metaImportation/utils/mapColumnToSelectItems.ts +1 -1
  1646. package/src/component/modal/setting/WorkspaceItem.tsx +9 -9
  1647. package/src/component/modal/setting/general_settings.tsx +12 -503
  1648. package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +94 -0
  1649. package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +56 -0
  1650. package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +37 -30
  1651. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +18 -1
  1652. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +15 -20
  1653. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +41 -82
  1654. package/src/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.ts +3 -9
  1655. package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +36 -42
  1656. package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +116 -0
  1657. package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +10 -33
  1658. package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +41 -41
  1659. package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +9 -3
  1660. package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +10 -50
  1661. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +15 -69
  1662. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +201 -0
  1663. package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +11 -41
  1664. package/src/component/modal/setting/tanstack_general_settings/ui/cell_actions.tsx +18 -0
  1665. package/src/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.tsx +45 -0
  1666. package/src/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.tsx +42 -0
  1667. package/src/component/modal/setting/tanstack_general_settings/ui/cell_input.tsx +127 -0
  1668. package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -95
  1669. package/src/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.ts +2 -54
  1670. package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +24 -0
  1671. package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts +4 -2
  1672. package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +4 -0
  1673. package/src/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.ts +24 -0
  1674. package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -1
  1675. package/src/component/modal/setting/tanstack_general_settings/validation.ts +7 -4
  1676. package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +173 -0
  1677. package/src/component/modal/setting/tanstack_general_settings/workspaces/picker.tsx +91 -0
  1678. package/src/component/modal/setting/tanstack_general_settings/workspaces/props.ts +8 -0
  1679. package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
  1680. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
  1681. package/src/component/panels/IntegralsPanel/IntegralTable.tsx +11 -10
  1682. package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +63 -60
  1683. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +1 -14
  1684. package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +6 -1
  1685. package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +7 -6
  1686. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +1 -0
  1687. package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +10 -5
  1688. package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +38 -33
  1689. package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +3 -3
  1690. package/src/component/panels/Panels.tsx +2 -1
  1691. package/src/component/panels/PanelsBar.tsx +4 -3
  1692. package/src/component/panels/PeaksPanel/PeaksPanel.tsx +90 -58
  1693. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +98 -33
  1694. package/src/component/panels/PeaksPanel/PeaksTable.tsx +33 -34
  1695. package/src/component/panels/PeaksPanel/peaksToTSV.ts +45 -0
  1696. package/src/component/panels/RangesPanel/RangesHeader.tsx +2 -2
  1697. package/src/component/panels/RangesPanel/RangesPanel.tsx +19 -16
  1698. package/src/component/panels/RangesPanel/RangesPreferences.tsx +47 -46
  1699. package/src/component/panels/RangesPanel/RangesTable.tsx +5 -5
  1700. package/src/component/panels/RangesPanel/RangesTableRow.tsx +19 -15
  1701. package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +4 -10
  1702. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +9 -9
  1703. package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +8 -11
  1704. package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +16 -7
  1705. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +206 -3
  1706. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +1 -0
  1707. package/src/component/panels/SpectraPanel/SpectraTable.tsx +7 -28
  1708. package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +7 -10
  1709. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +17 -0
  1710. package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +112 -0
  1711. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +5 -0
  1712. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +35 -30
  1713. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +5 -0
  1714. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +22 -17
  1715. package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +10 -2
  1716. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +5 -4
  1717. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +3 -2
  1718. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +4 -11
  1719. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +32 -27
  1720. package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +15 -7
  1721. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +4 -8
  1722. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +2 -2
  1723. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +4 -7
  1724. package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +6 -9
  1725. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +6 -5
  1726. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +5 -1
  1727. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +2 -2
  1728. package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +57 -57
  1729. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +11 -12
  1730. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -2
  1731. package/src/component/panels/databasePanel/DatabasePanel.tsx +74 -68
  1732. package/src/component/panels/databasePanel/DatabasePreferences.tsx +114 -113
  1733. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +5 -5
  1734. package/src/component/panels/databasePanel/DatabaseTable.tsx +34 -3
  1735. package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +9 -6
  1736. package/src/component/panels/extra/utilities/settingImperativeHandle.ts +3 -3
  1737. package/src/component/panels/filtersPanel/FilterPanel.tsx +1 -1
  1738. package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +328 -81
  1739. package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +4 -3
  1740. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +4 -6
  1741. package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +3 -3
  1742. package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +3 -3
  1743. package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -2
  1744. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
  1745. package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +3 -2
  1746. package/src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts +55 -0
  1747. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -0
  1748. package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +148 -69
  1749. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -0
  1750. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +2 -0
  1751. package/src/component/panels/header/DefaultPanelHeader.tsx +6 -6
  1752. package/src/component/panels/informationPanel/InformationEditionModal.tsx +324 -44
  1753. package/src/component/panels/informationPanel/InformationPanel.tsx +13 -12
  1754. package/src/component/panels/informationPanel/MixedValuesBadge.tsx +77 -0
  1755. package/src/component/panels/informationPanel/SpectraPicker.tsx +260 -0
  1756. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +2 -1
  1757. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +12 -1
  1758. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +55 -12
  1759. package/src/component/panels/multipleAnalysisPanel/base/AnalysisCell.tsx +3 -4
  1760. package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +5 -10
  1761. package/src/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.tsx +1 -1
  1762. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +10 -9
  1763. package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +138 -109
  1764. package/src/component/panels/predictionPanel/PredictionPreferences.tsx +34 -34
  1765. package/src/component/reducer/Reducer.ts +22 -10
  1766. package/src/component/reducer/actions/CorrelationsActions.ts +5 -5
  1767. package/src/component/reducer/actions/DatabaseActions.ts +131 -81
  1768. package/src/component/reducer/actions/DomainActions.ts +12 -7
  1769. package/src/component/reducer/actions/FiltersActions.ts +85 -96
  1770. package/src/component/reducer/actions/InsetActions.ts +8 -5
  1771. package/src/component/reducer/actions/IntegralsActions.ts +1 -1
  1772. package/src/component/reducer/actions/LoadAction.ts +25 -1
  1773. package/src/component/reducer/actions/MoleculeActions.ts +20 -11
  1774. package/src/component/reducer/actions/PeaksActions.ts +72 -43
  1775. package/src/component/reducer/actions/PreferencesActions.ts +1 -1
  1776. package/src/component/reducer/actions/RangesActions.ts +13 -7
  1777. package/src/component/reducer/actions/SpectraActions.ts +77 -37
  1778. package/src/component/reducer/actions/ToolsActions.ts +10 -79
  1779. package/src/component/reducer/actions/unit_actions.ts +138 -0
  1780. package/src/component/reducer/helper/Zoom1DManager.ts +2 -1
  1781. package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -2
  1782. package/src/component/reducer/helper/getActiveSpectra.ts +5 -4
  1783. package/src/component/reducer/helper/getActiveSpectraAsObject.ts +4 -1
  1784. package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
  1785. package/src/component/reducer/preferences/actions/addWorkspace.ts +1 -1
  1786. package/src/component/reducer/preferences/actions/analyzeSpectra.ts +1 -1
  1787. package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
  1788. package/src/component/reducer/preferences/actions/toggleSpectraLabel.ts +19 -0
  1789. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +9 -3
  1790. package/src/component/reducer/preferences/preferencesReducer.ts +8 -1
  1791. package/src/component/reducer/preferences/utilities/getPreferencesByWorkspace.ts +8 -8
  1792. package/src/component/toolbar/ToolTypes.ts +47 -67
  1793. package/src/component/toolbar/{ToolBar.tsx → nmr_toolbar.tsx} +3 -8
  1794. package/src/component/useWatchForm.tsx +1 -0
  1795. package/src/component/utility/Evaluate.ts +1 -1
  1796. package/src/component/utility/LocalStorage.ts +6 -3
  1797. package/src/component/utility/convertPathArrayToString.ts +1 -1
  1798. package/src/component/utility/export.ts +13 -12
  1799. package/src/component/utility/getValueByPath.ts +26 -0
  1800. package/src/component/utility/merge_replace_array.ts +12 -0
  1801. package/src/component/utility/nucleusToString.ts +1 -1
  1802. package/src/component/utility/pathToString.ts +3 -0
  1803. package/src/component/utility/replaceNucleiObjectKeys.ts +1 -1
  1804. package/src/component/utility/stackOverlappingLabels.ts +27 -9
  1805. package/src/component/workspaces/exercise.ts +8 -0
  1806. package/src/component/workspaces/index.ts +1 -1
  1807. package/src/component/workspaces/prediction.ts +28 -0
  1808. package/src/component/workspaces/simulation.ts +11 -0
  1809. package/src/component/workspaces/workspaceDefaultProperties.ts +72 -14
  1810. package/src/data/PredictionManager.ts +29 -7
  1811. package/src/data/SpectraManager.ts +7 -52
  1812. package/src/data/constants/defaultPeakShape.ts +5 -0
  1813. package/src/data/data1d/Spectrum1D/get1DColor.ts +12 -14
  1814. package/src/data/data1d/Spectrum1D/get1DDataXY.ts +0 -7
  1815. package/src/data/data1d/Spectrum1D/getReferenceShift.ts +5 -10
  1816. package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +22 -6
  1817. package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +112 -10
  1818. package/src/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.ts +2 -2
  1819. package/src/data/data1d/Spectrum1D/ranges/detectSignals.ts +11 -8
  1820. package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +15 -6
  1821. package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +4 -0
  1822. package/src/data/data1d/database.ts +8 -8
  1823. package/src/data/data1d/multipleSpectraAnalysis.ts +20 -7
  1824. package/src/data/data2d/Spectrum2D/contours.ts +14 -9
  1825. package/src/data/data2d/Spectrum2D/get2DColor.ts +13 -16
  1826. package/src/data/data2d/Spectrum2D/getMissingProjection.ts +2 -2
  1827. package/src/data/data2d/Spectrum2D/getSlice.ts +6 -5
  1828. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
  1829. package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +2 -2
  1830. package/src/data/molecules/Molecule.ts +2 -2
  1831. package/src/data/molecules/MoleculeManager.ts +4 -3
  1832. package/src/data/parseMeta/linkMetaWithSpectra.ts +4 -4
  1833. package/src/data/utilities/RangeUtilities.ts +1 -9
  1834. package/src/data/utilities/checkModifierKeyActivated.ts +1 -1
  1835. package/src/data/utilities/isNumber.ts +1 -1
  1836. package/src/versionInfo.ts +1 -1
  1837. package/lib/component/1d/XAxis1D.d.ts +0 -6
  1838. package/lib/component/1d/XAxis1D.d.ts.map +0 -1
  1839. package/lib/component/1d/XAxis1D.js +0 -24
  1840. package/lib/component/1d/XAxis1D.js.map +0 -1
  1841. package/lib/component/1d/tool/BaseLineZones.d.ts +0 -3
  1842. package/lib/component/1d/tool/BaseLineZones.d.ts.map +0 -1
  1843. package/lib/component/1d/tool/BaseLineZones.js +0 -41
  1844. package/lib/component/1d/tool/BaseLineZones.js.map +0 -1
  1845. package/lib/component/2d/XAxis.d.ts.map +0 -1
  1846. package/lib/component/2d/XAxis.js +0 -22
  1847. package/lib/component/2d/XAxis.js.map +0 -1
  1848. package/lib/component/2d/YAxis.d.ts.map +0 -1
  1849. package/lib/component/2d/YAxis.js +0 -27
  1850. package/lib/component/2d/YAxis.js.map +0 -1
  1851. package/lib/component/elements/ToolBarButton.d.ts +0 -3
  1852. package/lib/component/elements/ToolBarButton.d.ts.map +0 -1
  1853. package/lib/component/elements/ToolBarButton.js.map +0 -1
  1854. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts +0 -9
  1855. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +0 -1
  1856. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +0 -118
  1857. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +0 -1
  1858. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts +0 -3
  1859. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +0 -1
  1860. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +0 -153
  1861. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +0 -1
  1862. package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts +0 -2
  1863. package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +0 -1
  1864. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +0 -73
  1865. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +0 -1
  1866. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts +0 -2
  1867. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +0 -1
  1868. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +0 -89
  1869. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +0 -1
  1870. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts +0 -3
  1871. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +0 -1
  1872. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +0 -46
  1873. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +0 -1
  1874. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts +0 -3
  1875. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +0 -1
  1876. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +0 -103
  1877. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +0 -1
  1878. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts +0 -3
  1879. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +0 -1
  1880. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +0 -99
  1881. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +0 -1
  1882. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +0 -2
  1883. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +0 -1
  1884. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +0 -106
  1885. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +0 -1
  1886. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts +0 -3
  1887. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +0 -1
  1888. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +0 -52
  1889. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +0 -1
  1890. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts +0 -3
  1891. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +0 -1
  1892. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +0 -138
  1893. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +0 -1
  1894. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +0 -2
  1895. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +0 -1
  1896. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +0 -149
  1897. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +0 -1
  1898. package/lib/component/modal/setting/settingsValidation.d.ts +0 -2
  1899. package/lib/component/modal/setting/settingsValidation.d.ts.map +0 -1
  1900. package/lib/component/modal/setting/settingsValidation.js +0 -70
  1901. package/lib/component/modal/setting/settingsValidation.js.map +0 -1
  1902. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +0 -110
  1903. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +0 -1
  1904. package/lib/component/toolbar/ToolBar.d.ts +0 -2
  1905. package/lib/component/toolbar/ToolBar.d.ts.map +0 -1
  1906. package/lib/component/toolbar/ToolBar.js.map +0 -1
  1907. package/lib/data/types/common/Keys.d.ts +0 -4
  1908. package/lib/data/types/common/Keys.d.ts.map +0 -1
  1909. package/lib/data/types/common/Keys.js +0 -2
  1910. package/lib/data/types/common/Keys.js.map +0 -1
  1911. package/src/component/1d/XAxis1D.tsx +0 -54
  1912. package/src/component/1d/tool/BaseLineZones.tsx +0 -83
  1913. package/src/component/2d/XAxis.tsx +0 -58
  1914. package/src/component/2d/YAxis.tsx +0 -79
  1915. package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +0 -278
  1916. package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +0 -221
  1917. package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +0 -252
  1918. package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +0 -193
  1919. package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +0 -152
  1920. package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +0 -173
  1921. package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +0 -224
  1922. package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +0 -230
  1923. package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +0 -113
  1924. package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +0 -308
  1925. package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +0 -181
  1926. package/src/component/modal/setting/settingsValidation.ts +0 -92
  1927. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +0 -199
  1928. package/src/data/types/common/Keys.ts +0 -11
@@ -26,13 +26,13 @@ export default function MoleculeHeader(props) {
26
26
  const dispatch = useDispatch();
27
27
  const validateLabel = useCallback((value) => {
28
28
  const reservedNumbers = extractLabelsNumbers(molecules);
29
- const number = extractNumber(value);
30
- return value && !reservedNumbers.includes(Number(number));
29
+ const number = extractNumber(String(value));
30
+ return Boolean(value && !reservedNumbers.includes(Number(number)));
31
31
  }, [molecules]);
32
- const saveLabelHandler = useCallback((id, event) => {
33
- const label = event.target.value;
32
+ const saveLabelHandler = useCallback((id, value) => {
33
+ const label = String(value);
34
34
  dispatch({ type: 'CHANGE_MOLECULE_LABEL', payload: { label, id } });
35
35
  }, [dispatch]);
36
- return (_jsxs("div", { style: styles.toolbar, children: [_jsx(Label, { title: "Label", children: _jsx(EditableColumn, { value: currentMolecule.label, style: styles.labelInput, validate: validateLabel, onSave: (event) => saveLabelHandler(currentMolecule.id, event), textOverflowEllipses: true, type: "text" }) }), _jsxs("span", { children: [_jsx(MF, { mf: currentMolecule.mf }), " - ", currentMolecule.mw?.toFixed(2)] })] }));
36
+ return (_jsxs("div", { style: styles.toolbar, children: [_jsx(Label, { title: "Label", children: _jsx(EditableColumn, { value: currentMolecule.label, style: styles.labelInput, validate: validateLabel, onSave: (value) => saveLabelHandler(currentMolecule.id, value), textOverflowEllipses: true, type: "text" }) }), _jsxs("span", { children: [_jsx(MF, { mf: currentMolecule.mf }), " - ", currentMolecule.mw?.toFixed(2)] })] }));
37
37
  }
38
38
  //# sourceMappingURL=MoleculeHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculeHeader.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAG9B,OAAO,EACL,oBAAoB,EACpB,aAAa,GACd,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAO5C,MAAM,MAAM,GAAoD;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE,MAAM;QACf,YAAY,EAAE,iCAAiC;QAC/C,OAAO,EAAE,UAAU;QACnB,cAAc,EAAE,eAAe;KAChC;IACD,UAAU,EAAE;QACV,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,mBAAmB;QAC3B,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE,KAAK;KAClB;CACF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAA0B;IAC/D,MA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BAAgB,GAAG,WAAW,CAClC,CAAC,EAAU,EAAE,KAAsB,EAAE,EAAE;QACrC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5B,QAAQ,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,eAAK,KAAK,EAAE,MAAM,CAAC,OAAO,aACxB,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,YAClB,KAAC,cAAc,IACb,KAAK,EAAE,eAAe,CAAC,KAAK,EAC5B,KAAK,EAAE,MAAM,CAAC,UAAU,EACxB,QAAQ,EAAE,aAAa,EACvB,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAAC,eAAe,CAAC,EAAE,EAAE,KAAK,CAAC,EAC9D,oBAAoB,QACpB,IAAI,EAAC,MAAM,GACX,GACI,EACR,2BACE,KAAC,EAAE,IAAC,EAAE,EAAE,eAAe,CAAC,EAAE,GAAI,SAAI,eAAe,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,IAC3D,IACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  interface MoleculeOptionsPanelProps {
2
2
  onClose: () => void;
3
3
  }
4
- export declare function MoleculeOptionsPanel(props: MoleculeOptionsPanelProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function MoleculeOptionsPanel(props: MoleculeOptionsPanelProps): import("react").JSX.Element;
5
5
  export {};
6
6
  //# sourceMappingURL=MoleculeOptionsPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculeOptionsPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeOptionsPanel.tsx"],"names":[],"mappings":"AA4EA,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CA+EpE"}
1
+ {"version":3,"file":"MoleculeOptionsPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeOptionsPanel.tsx"],"names":[],"mappings":"AA4EA,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BA+EpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculePanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanel.tsx"],"names":[],"mappings":"AAuKA,MAAM,CAAC,OAAO,UAAU,aAAa,qDAoBpC"}
1
+ {"version":3,"file":"MoleculePanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanel.tsx"],"names":[],"mappings":"AAwKA,MAAM,CAAC,OAAO,UAAU,aAAa,qDAoBpC"}
@@ -70,7 +70,7 @@ function MoleculePanelInner(props) {
70
70
  return (_jsx(NextPrev, { onChange: (slideIndex) => setCurrentIndex(slideIndex), index: currentIndex, children: molecules && molecules.length > 0 ? (molecules.map((mol, index) => {
71
71
  return (_jsxs("div", { css: styles.items, children: [_jsx(MoleculeHeader, { currentMolecule: mol, molecules: molecules }), _jsx("div", { css: styles.slider, className: "mol-svg-container", onDoubleClick: () => openMoleculeEditor(mol), style: {
72
72
  backgroundColor: (index + 1) % 2 !== 0 ? '#fafafa' : 'white',
73
- }, children: _jsx(MoleculeStructure, { index: index, width: width, height: height - 60, molecule: mol, moleculeView: moleculesView?.[mol.id] || {} }) })] }, mol.id));
73
+ }, children: _jsx(MoleculeStructure, { index: index, width: width, height: height - 60, molecule: mol, moleculeView: moleculesView?.[mol.id] || {}, showLabel: false }) })] }, mol.id));
74
74
  })) : (_jsx("div", { css: styles.slider, style: { height: '100%' }, onClick: () => openMoleculeEditor(), children: _jsx("span", { children: "Click to draw molecule" }) })) }));
75
75
  } }) }) })), modal] }));
76
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculePanel.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanel.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMjD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEhF,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,MAAM,GAGR;IACF,KAAK,EAAE,GAAG,CAAC;QACT,OAAO,EAAE,MAAM;QACf,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,aAAa,EAAE,QAAQ;KACxB,CAAC;IACF,UAAU,EAAE,GAAG,CAAC;QACd,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,GAAG;QACT,aAAa,EAAE,QAAQ;KACxB,CAAC;IACF,QAAQ,EAAE,GAAG,CAAC;QACZ,IAAI,EAAE,CAAC;QACP,SAAS,EAAE,OAAO;KACnB,CAAC;IACF,MAAM,EAAE,GAAG,CAAC;QACV,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;QACvB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,IAAI,EAAE,CAAC;KACR,CAAC;IACF,KAAK,EAAE,GAAG,CAAC;Q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E,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAC5C,KAAK,EAAE;oDACL,eAAe,EACb,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO;iDAC9C,YAED,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,GAAG,EAAE,EACnB,QAAQ,EAAE,GAAG,EACb,YAAY,EAAE,aAAa,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,GAC3C,GACE,KAtBE,GAAG,CAAC,EAAE,CAuBV,CACP,CAAC;gCACJ,CAAC,CAAC,CACH,CAAC,CAAC,CAAC,CACF,cACE,GAAG,EAAE,MAAM,CAAC,MAAM,EAClB,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EACzB,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,EAAE,YAEnC,oDAAmC,GAC/B,CACP,GACQ,CACZ,CAAC;wBACJ,CAAC,GACe,GACd,GACF,CACP,EACA,KAAK,IACF,CACP,CAAC;AACJ,CAAC;AAED,MAAM,qBAAqB,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAEvD,MAAM,CAAC,OAAO,UAAU,aAAa;IACnC,MAAM,EACJ,SAAS,EACT,IAAI,EAAE,EACJ,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,EAAE,SAAS,EAAE,GACvB,EACD,aAAa,GACd,GAAG,YAAY,EAAE,CAAC;IAEnB,OAAO,CACL,KAAC,qBAAqB,IAElB,SAAS;QACT,aAAa;QACb,aAAa;QACb,SAAS,GAEX,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"MoleculePanel.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanel.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;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,IAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,GAAG,EAAE,EACnB,QAAQ,EAAE,GAAG,EACb,YAAY,EAAE,aAAa,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,EAC3C,SAAS,EAAE,KAAK,GAChB,GACE,KAvBE,GAAG,CAAC,EAAE,CAwBV,CACP,CAAC;gCACJ,CAAC,CAAC,CACH,CAAC,CAAC,CAAC,CACF,cACE,GAAG,EAAE,MAAM,CAAC,MAAM,EAClB,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EACzB,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,EAAE,YAEnC,oDAAmC,GAC/B,CACP,GACQ,CACZ,CAAC;wBACJ,CAAC,GACe,GACd,GACF,CACP,EACA,KAAK,IACF,CACP,CAAC;AACJ,CAAC;AAED,MAAM,qBAAqB,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAEvD,MAAM,CAAC,OAAO,UAAU,aAAa;IACnC,MAAM,EACJ,SAAS,EACT,IAAI,EAAE,EACJ,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,EAAE,SAAS,EAAE,GACvB,EACD,aAAa,GACd,GAAG,YAAY,EAAE,CAAC;IAEnB,OAAO,CACL,KAAC,qBAAqB,IAElB,SAAS;QACT,aAAa;QACb,aAAa;QACb,SAAS,GAEX,CACH,CAAC;AACJ,CAAC"}
@@ -11,6 +11,6 @@ interface MoleculePanelHeaderProps {
11
11
  onClickPasteMolecule?: () => void;
12
12
  children?: ReactNode;
13
13
  }
14
- export default function MoleculePanelHeader(props: MoleculePanelHeaderProps): import("react/jsx-runtime").JSX.Element;
14
+ export default function MoleculePanelHeader(props: MoleculePanelHeaderProps): import("react").JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=MoleculePanelHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculePanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EACV,aAAa,EACb,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AA2F7C,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IACnD,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CA6V1E"}
1
+ {"version":3,"file":"MoleculePanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EACV,aAAa,EACb,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AA2F7C,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;IACnD,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BA6V1E"}
@@ -5,9 +5,9 @@ interface MoleculeStructureProps extends Pick<OCLnmrProps, 'width' | 'height'> {
5
5
  moleculeView: MoleculeView;
6
6
  renderAsSVG?: boolean;
7
7
  molecule: StateMoleculeExtended;
8
- showMoleculeLabel?: boolean;
8
+ showLabel?: boolean;
9
9
  index?: number;
10
10
  }
11
- export declare function MoleculeStructure(props: MoleculeStructureProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function MoleculeStructure(props: MoleculeStructureProps): import("react").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=MoleculeStructure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculeStructure.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeStructure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAQjF,UAAU,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC5E,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0BD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAsG9D"}
1
+ {"version":3,"file":"MoleculeStructure.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeStructure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AASjF,UAAU,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC5E,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0BD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BA0G9D"}
@@ -4,6 +4,7 @@ import { useRef } from 'react';
4
4
  import { MolfileSvgRenderer } from 'react-ocl';
5
5
  import OCLnmr from 'react-ocl-nmr';
6
6
  import { useDispatch } from '../../context/DispatchContext.js';
7
+ import { usePreferences } from "../../context/PreferencesContext.js";
7
8
  import { useTopicMolecule } from "../../context/TopicMoleculeContext.js";
8
9
  import { useHighlightColor } from '../../hooks/useHighlightColor.js';
9
10
  import useAtomAssignment from './hooks/useAtomAssignment.js';
@@ -27,21 +28,25 @@ function useCustomLabelChange() {
27
28
  };
28
29
  }
29
30
  export function MoleculeStructure(props) {
30
- const { molecule, moleculeView, width, height, renderAsSVG = false, showMoleculeLabel, index = 0, } = props;
31
+ const { molecule, moleculeView, width, height, renderAsSVG = false, showLabel, index = 0, } = props;
31
32
  const { currentDiaIDsToHighlight, handleOnAtomHover, handleOnClickAtom, assignedDiaIDsMerged, } = useAtomAssignment();
32
33
  const highlightColor = useHighlightColor();
33
34
  const dispatch = useDispatch();
35
+ const { current } = usePreferences();
34
36
  const { onAtomHover, getAssignmentLabelByHover, getLastHoverAtom } = useExtractAtomAssignmentLabel();
35
37
  //TODO Temporary workaround to prevent other focused elements from being triggered by the space key
36
38
  const containerRef = useRef(null);
37
39
  const hasCustomLabelChanged = useCustomLabelChange();
38
40
  const atomHighlightColor = currentDiaIDsToHighlight?.length > 0 ? '#ff000080' : highlightColor;
41
+ const labelStyle = current.general.molecules.labelStyle;
39
42
  const baseProps = {
40
43
  height,
41
44
  width,
42
- label: (showMoleculeLabel ?? moleculeView.showLabel) ? molecule.label : '',
43
- labelFontSize: 15,
44
- labelColor: 'rgba(138, 59, 59, 1)',
45
+ label: (showLabel ?? moleculeView.showLabel) ? molecule.label : '',
46
+ labelFontSize: labelStyle.fontSize ?? 15,
47
+ labelColor: labelStyle.fill ?? 'rgba(138, 59, 59, 1)',
48
+ labelFontStyle: labelStyle.fontStyle ?? 'normal',
49
+ labelFontWeight: labelStyle.fontWeight ?? 'normal',
45
50
  molfile: molecule.molfile,
46
51
  atomHighlightColor,
47
52
  atomHighlightOpacity: 1,
@@ -1 +1 @@
1
- {"version":3,"file":"MoleculeStructure.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeStructure.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,MAAM,MAAM,eAAe,CAAC;AAGnC,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAwC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAUzF,SAAS,eAAe,CAAC,MAAsB;IAC7C,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CA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AC;oBACT,WAAW,CAAC,IAAI,CAAC,CAAC;gBACpB,CAAC;YACH,CAAC,EACD,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;gBACtB,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;gBACrC,MAAM,aAAa,GAAG,yBAAyB,CAAC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;gBAEtE,IAAI,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;oBAChD,QAAQ,CAAC;wBACP,IAAI,EAAE,4BAA4B;wBAClC,OAAO,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,cAAc,EAAE,eAAe,EAAE;qBAC9D,CAAC,CAAC;gBACL,CAAC;gBAED,IAAI,aAAa,IAAI,SAAS,EAAE,CAAC;oBAC/B,QAAQ,CAAC;wBACP,IAAI,EAAE,mCAAmC;wBACzC,OAAO,EAAE;4BACP,MAAM,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,CAC/B,SAAS,CAAC,wBAAwB,CACnC;4BACD,UAAU,EAAE,aAAa,CAAC,UAAU;4BACpC,kBAAkB,EAAE,aAAa,CAAC,kBAAkB;yBACrD;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,QAAQ,CAAC;oBACP,IAAI,EAAE,cAAc;oBACpB,OAAO,EAAE;wBACP,OAAO;wBACP,EAAE,EAAE,QAAQ,CAAC,EAAE;wBACf,KAAK,EAAE,QAAQ,CAAC,KAAK;qBACtB;iBACF,CAAC,CAAC;YACL,CAAC,GACD,GACE,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"MoleculeStructure.js","sourceRoot":"","sources":["../../../../src/component/panels/MoleculesPanel/MoleculeStructure.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE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AC;gBACL,CAAC;gBAED,IAAI,aAAa,IAAI,SAAS,EAAE,CAAC;oBAC/B,QAAQ,CAAC;wBACP,IAAI,EAAE,mCAAmC;wBACzC,OAAO,EAAE;4BACP,MAAM,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,CAC/B,SAAS,CAAC,wBAAwB,CACnC;4BACD,UAAU,EAAE,aAAa,CAAC,UAAU;4BACpC,kBAAkB,EAAE,aAAa,CAAC,kBAAkB;yBACrD;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,QAAQ,CAAC;oBACP,IAAI,EAAE,cAAc;oBACpB,OAAO,EAAE;wBACP,OAAO;wBACP,EAAE,EAAE,QAAQ,CAAC,EAAE;wBACf,KAAK,EAAE,QAAQ,CAAC,KAAK;qBACtB;iBACF,CAAC,CAAC;YACL,CAAC,GACD,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAtomAssignment.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AA4ExC,MAAM,CAAC,OAAO,UAAU,iBAAiB;sCA0LE,YAAY,GAAG,SAAS;sCAzDjD,YAAY,GAAG,SAAS,SAC/B,UAAU,cACL,MAAM;;;EAuFrB"}
1
+ {"version":3,"file":"useAtomAssignment.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAwExC,MAAM,CAAC,OAAO,UAAU,iBAAiB;sCAmME,YAAY,GAAG,SAAS;sCAlDjD,YAAY,GAAG,SAAS,SAC/B,UAAU,cACL,MAAM;;;EAgFrB"}
@@ -8,7 +8,7 @@ import { useAssignmentContext } from '../../../assignment/AssignmentsContext.js'
8
8
  import { useChartData } from '../../../context/ChartContext.js';
9
9
  import { useDispatch } from '../../../context/DispatchContext.js';
10
10
  import { useToaster } from '../../../context/ToasterContext.js';
11
- import { useHighlightData } from '../../../highlight/index.js';
11
+ import { isHighlightEventSource, useHighlightData, } from '../../../highlight/index.js';
12
12
  import useSpectrum from '../../../hooks/useSpectrum.js';
13
13
  import { extractFromAtom } from '../utilities/extractFromAtom.js';
14
14
  import { getAssignIds } from '../utilities/getAssignIds.js';
@@ -24,9 +24,6 @@ function flattenAssignedDiaIDs(assignments) {
24
24
  }
25
25
  return assignedDiaIDs;
26
26
  }
27
- function isValidHighlightEventSource(type) {
28
- return (type === 'ZONE' || type === 'RANGE' || type === 'ATOM' || type === 'SIGNAL');
29
- }
30
27
  function getSignalsDiaIDs(spectrum, assignments, highlightID) {
31
28
  // we are on range/zone level only, so add the belonging signal IDs to highlight too
32
29
  const assignIds = getAssignIds(spectrum, highlightID);
@@ -61,32 +58,39 @@ export default function useAtomAssignment() {
61
58
  const highlightedIdDsRef = useRef([]);
62
59
  const assignments = useAssignmentContext();
63
60
  const { getAssignmentLabelById } = useExtractAtomAssignmentLabel();
64
- const { activated: activatedAssignment } = assignments;
61
+ const { activated: activatedAssignment, data: assignmentsData } = assignments;
65
62
  const activatedKey = activatedAssignment
66
63
  ? activatedAssignment.id
67
64
  : ConcatenationString; // dummy value
68
65
  // used for atom highlighting for now, until we would like to highlight atoms per axis separately
69
- const assignedDiaIDsMerged = useMemo(() => flattenAssignedDiaIDs(assignments.data), [assignments]);
66
+ const assignedDiaIDsMerged = useMemo(() => flattenAssignedDiaIDs(assignmentsData), [assignmentsData]);
70
67
  const currentDiaIDsToHighlight = useMemo(() => {
71
68
  const { highlighted, sourceData } = highlightData.highlight;
72
- const { type, extra } = sourceData || {};
73
- const { spectrumID } = extra || {};
74
69
  let currentSpectrum = spectrum;
75
- if (isSpectrum2D(spectrum) && spectrumID) {
70
+ if (!sourceData ||
71
+ !isHighlightEventSource(sourceData, 'ZONE', 'RANGE', 'ATOM', 'SIGNAL', 'SIGNAL_1D') ||
72
+ !currentSpectrum) {
73
+ return [];
74
+ }
75
+ if (isSpectrum2D(spectrum) && isHighlightEventSource(sourceData, 'RANGE')) {
76
+ const { spectrumID } = sourceData.extra || {};
76
77
  const traceSpectrum = tracesSpectra.find((traceSpectrum) => traceSpectrum?.id === spectrumID);
77
78
  if (traceSpectrum) {
78
79
  currentSpectrum = traceSpectrum;
79
80
  }
80
81
  }
81
- if (!type || !isValidHighlightEventSource(type) || !currentSpectrum) {
82
- return [];
83
- }
84
82
  const highlightedAssignmentsIDs = highlighted.filter((highlightID) => {
85
- return assignments.data[highlightID];
83
+ return assignmentsData[highlightID];
86
84
  });
87
- const highlights = highlightedAssignmentsIDs.flatMap((highlightID) => getSignalsDiaIDs(currentSpectrum, assignments.data, highlightID));
85
+ const highlights = highlightedAssignmentsIDs.flatMap((highlightID) => getSignalsDiaIDs(currentSpectrum, assignmentsData, highlightID));
88
86
  return getCurrentDiaIDsToHighlight(assignments).concat(highlights);
89
- }, [assignments, highlightData.highlight, spectrum, tracesSpectra]);
87
+ }, [
88
+ assignments,
89
+ assignmentsData,
90
+ highlightData.highlight,
91
+ spectrum,
92
+ tracesSpectra,
93
+ ]);
90
94
  function assign1DAtom(options) {
91
95
  const { spectrum, assignId, atom, assignmentLabel } = options;
92
96
  const assignKeys = getAssignIds(spectrum, assignId);
@@ -140,7 +144,7 @@ export default function useAtomAssignment() {
140
144
  if (checkModifierKeyActivated(event) || !activatedAssignment)
141
145
  return;
142
146
  event.preventDefault(); // prevent floating form custom label edit
143
- const { axis, id } = activatedAssignment;
147
+ const { axis, id, spectrumId } = activatedAssignment;
144
148
  if (!id || !axis) {
145
149
  return;
146
150
  }
@@ -158,21 +162,21 @@ export default function useAtomAssignment() {
158
162
  // determine the level of setting the diaIDs array (range vs. signal level) and save there
159
163
  // let nbAtoms = 0;
160
164
  // on range/zone level
161
- const currentSpectrum = activatedAssignment.spectrumId
162
- ? spectra.find((spectrum) => spectrum.id === activatedAssignment.spectrumId)
165
+ const currentSpectrum = spectrumId
166
+ ? spectra.find((spectrum) => spectrum.id === spectrumId)
163
167
  : spectrum;
164
168
  if (!currentSpectrum)
165
169
  return;
166
170
  if (isSpectrum1D(currentSpectrum)) {
167
171
  assign1DAtom({
168
172
  spectrum: currentSpectrum,
169
- assignId: activatedAssignment.id,
173
+ assignId: id,
170
174
  atom: atomInformation,
171
175
  assignmentLabel,
172
176
  });
173
177
  }
174
178
  else {
175
- assign2DAtom(currentSpectrum, activatedAssignment.id, atomInformation, axis);
179
+ assign2DAtom(currentSpectrum, id, atomInformation, axis);
176
180
  }
177
181
  assignments.activate({ id: activatedKey, axis });
178
182
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useAtomAssignment.js","sourceRoot":"","sources":["../../../../../src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,yBAAyB,MAAM,yDAAyD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAKnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/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EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,SAAS,iBAAiB,CAAC,YAAsC;QAC/D,MAAM,EAAE,MAAM,EAAE,GAAG,eAAe,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1D,oBAAoB;QACpB,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtB,2EAA2E;YAC3E,MAAM,UAAU,GAAG,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE;gBAC3D,QAAQ;gBACR,GAAG,aAAa;aACjB,CAAC,CAAC;YACH,kBAAkB,CAAC,OAAO,GAAG,UAAU,CAAC;YACxC,aAAa,CAAC,QAAQ,CAAC;gBACrB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE;oBACP,mBAAmB,EAAE,UAAU;oBAC/B,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;iBAC7B;aACF,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,aAAa,CAAC,QAAQ,CAAC;gBACrB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,EAAE,mBAAmB,EAAE,kBAAkB,CAAC,OAAO,EAAE;aAC7D,CAAC,CAAC;YACH,kBAAkB,CAAC,OAAO,GAAG,EAAE,CAAC;QAClC,CAAC;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;QACjB,iBAAiB;QACjB,wBAAwB;QACxB,oBAAoB;KACrB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"useAtomAssignment.js","sourceRoot":"","sources":["../../../../../src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO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C,CAAC;QACL,CAAC;aAAM,CAAC;YACN,YAAY,CAAC,eAAe,EAAE,EAAE,EAAE,eAAe,EAAE,IAAI,CAAC,CAAC;QAC3D,CAAC;QACD,WAAW,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,SAAS,iBAAiB,CAAC,YAAsC;QAC/D,MAAM,EAAE,MAAM,EAAE,GAAG,eAAe,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1D,oBAAoB;QACpB,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtB,2EAA2E;YAC3E,MAAM,UAAU,GAAG,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE;gBAC3D,QAAQ;gBACR,GAAG,aAAa;aACjB,CAAC,CAAC;YACH,kBAAkB,CAAC,OAAO,GAAG,UAAU,CAAC;YACxC,aAAa,CAAC,QAAQ,CAAC;gBACrB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE;oBACP,mBAAmB,EAAE,UAAU;oBAC/B,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;iBAC7B;aACF,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,aAAa,CAAC,QAAQ,CAAC;gBACrB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,EAAE,mBAAmB,EAAE,kBAAkB,CAAC,OAAO,EAAE;aAC7D,CAAC,CAAC;YACH,kBAAkB,CAAC,OAAO,GAAG,EAAE,CAAC;QAClC,CAAC;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;QACjB,iBAAiB;QACjB,wBAAwB;QACxB,oBAAoB;KACrB,CAAC;AACJ,CAAC"}
@@ -7,9 +7,9 @@ import type { AtomData } from './AtomData.js';
7
7
  * In case of an heavy atom with bonded hydrogens the OCL id(s)
8
8
  * and number of these hydrogens are added as well.
9
9
  *
10
- * @param {DiaIDAndInfo} diaIDAndInfo - atom returned by OCLnmr component
11
- * @param {string} activeTab - active tab
12
- * @param {Axis} axis - current axis
10
+ * @param diaIDAndInfo - atom returned by OCLnmr component
11
+ * @param activeTab - active tab
12
+ * @param axis - current axis
13
13
  *
14
14
  */
15
15
  export declare function extractFromAtom(diaIDAndInfo: DiaIDAndInfo | undefined, activeTab: string, axis?: Axis | null): AtomData;
@@ -4,9 +4,9 @@
4
4
  * In case of an heavy atom with bonded hydrogens the OCL id(s)
5
5
  * and number of these hydrogens are added as well.
6
6
  *
7
- * @param {DiaIDAndInfo} diaIDAndInfo - atom returned by OCLnmr component
8
- * @param {string} activeTab - active tab
9
- * @param {Axis} axis - current axis
7
+ * @param diaIDAndInfo - atom returned by OCLnmr component
8
+ * @param activeTab - active tab
9
+ * @param axis - current axis
10
10
  *
11
11
  */
12
12
  export function extractFromAtom(diaIDAndInfo, activeTab, axis) {
@@ -1,6 +1,6 @@
1
1
  interface PanelNoDataProps {
2
2
  children?: string;
3
3
  }
4
- export declare function PanelNoData({ children }: PanelNoDataProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function PanelNoData({ children }: PanelNoDataProps): import("react").JSX.Element;
5
5
  export {};
6
6
  //# sourceMappingURL=PanelNoData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PanelNoData.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelNoData.tsx"],"names":[],"mappings":"AAuBA,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAMzD"}
1
+ {"version":3,"file":"PanelNoData.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelNoData.tsx"],"names":[],"mappings":"AAuBA,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,+BAMzD"}
@@ -1,2 +1,2 @@
1
- export declare function Panels(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Panels(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=Panels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Panels.d.ts","sourceRoot":"","sources":["../../../src/component/panels/Panels.tsx"],"names":[],"mappings":"AAsFA,wBAAgB,MAAM,4CAErB"}
1
+ {"version":3,"file":"Panels.d.ts","sourceRoot":"","sources":["../../../src/component/panels/Panels.tsx"],"names":[],"mappings":"AAuFA,wBAAgB,MAAM,gCAErB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Panels.js","sourceRoot":"","sources":["../../../src/component/panels/Panels.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI3B,CAAC;AAEF,SAAS,WAAW;IAClB,MAAM,mBAAmB,GAAG,kBAAkB,EAAE,CAAC;IAEjD,MAAM,EAAE,QAAQ,EAAE,GAAG,cAAc,EAAE,CAAC;IACtC,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,SAAS,QAAQ,CAAC,IAAmB;QACnC,MAAM,YAAY,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAC/C,OAAO,YAAY,EAAE,IAAI,CAAC;IAC5B,CAAC;IACD,SAAS,SAAS,CAAC,IAAmB;QACpC,MAAM,YAAY,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;QA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KAAG,CAAC;AAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export declare function PanelsBar({ itemHeight }: {
2
2
  itemHeight?: number | undefined;
3
- }): import("react/jsx-runtime").JSX.Element | null;
3
+ }): import("react").JSX.Element | null;
4
4
  //# sourceMappingURL=PanelsBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PanelsBar.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelsBar.tsx"],"names":[],"mappings":"AA2CA,wBAAgB,SAAS,CAAC,EAAE,UAAe,EAAE;;CAAA,kDAsD5C"}
1
+ {"version":3,"file":"PanelsBar.d.ts","sourceRoot":"","sources":["../../../src/component/panels/PanelsBar.tsx"],"names":[],"mappings":"AA4CA,wBAAgB,SAAS,CAAC,EAAE,UAAe,EAAE;;CAAA,sCAsD5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"PanelsBar.js","sourceRoot":"","sources":["../../../src/component/panels/PanelsBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,kBAAkB,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;sBACxB,MAAM,CAAC,KAAK;2BACP,MAAM,CAAC,WAAW;;;;;CAK5C,CAAC;AAEF,SAAS,kBAAkB,C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AI,CAAC,IAAI,EACf,MAAM,EAAE,YAAY,CAAC,OAAO,EAC5B,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,IAL9B,IAAI,CAAC,EAAE,CAMZ,CACH,CAAC;YACJ,CAAC,CAAC,EACD,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAClB,KAAC,OAAO,cACN,KAAC,kBAAkB,IACjB,SAAS,EAAC,MAAM,EAChB,YAAY,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,EACnC,OAAO,EAAE,IAAI,EACb,OAAO,EAAE,kBAAkB,IAAI,CAAC,MAAM,IAAI,EAC1C,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;wBAChB,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC;4BACb,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;wBACvB,CAAC;oBACH,CAAC,EACD,MAAM,EAAE,YAAY,GACpB,GACM,CACX,IACkB,CACtB,CAAC;AACJ,CAAC"}
@@ -3,5 +3,5 @@ export interface PeakRecord extends Peak1D {
3
3
  xHz: number;
4
4
  isConstantlyHighlighted: boolean;
5
5
  }
6
- export default function PeaksPanel(): import("react/jsx-runtime").JSX.Element;
6
+ export default function PeaksPanel(): import("react").JSX.Element;
7
7
  //# sourceMappingURL=PeaksPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PeaksPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAmCjE,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,uBAAuB,EAAE,OAAO,CAAC;CAClC;AA0KD,MAAM,CAAC,OAAO,UAAU,UAAU,4CAgBjC"}
1
+ {"version":3,"file":"PeaksPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAsCjE,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,uBAAuB,EAAE,OAAO,CAAC;CAClC;AAuMD,MAAM,CAAC,OAAO,UAAU,UAAU,gCAgBjC"}
@@ -1,23 +1,26 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { SvgNmrFt, SvgNmrPeaks, SvgNmrPeaksTopLabels } from 'cheminfo-font';
3
3
  import { memo, useCallback, useMemo, useRef, useState } from 'react';
4
- import { FaThinkPeaks } from 'react-icons/fa';
4
+ import { FaCopy, FaThinkPeaks } from 'react-icons/fa';
5
5
  import isInRange from '../../../data/utilities/isInRange.js';
6
+ import { ClipboardFallbackModal } from "../../../utils/clipboard/clipboardComponents.js";
7
+ import { useClipboard } from "../../../utils/clipboard/clipboardHooks.js";
6
8
  import { useChartData } from '../../context/ChartContext.js';
7
9
  import { useDispatch } from '../../context/DispatchContext.js';
8
10
  import { usePreferences } from '../../context/PreferencesContext.js';
9
11
  import { useToaster } from '../../context/ToasterContext.js';
10
12
  import { useAlert } from '../../elements/Alert.js';
11
13
  import { useActiveSpectrumPeaksViewState } from '../../hooks/useActiveSpectrumPeaksViewState.js';
12
- import useCheckExperimentalFeature from '../../hooks/useCheckExperimentalFeature.js';
13
14
  import { useFormatNumberByNucleus } from '../../hooks/useFormatNumberByNucleus.js';
14
15
  import useSpectrum from '../../hooks/useSpectrum.js';
16
+ import { EditPeakShapeModal } from "../../modal/EditPeakShapeModal.js";
15
17
  import { booleanToString } from '../../utility/booleanToString.js';
16
18
  import { TablePanel } from '../extra/BasicPanelStyle.js';
17
19
  import DefaultPanelHeader from '../header/DefaultPanelHeader.js';
18
20
  import PreferencesHeader from '../header/PreferencesHeader.js';
19
21
  import PeaksPreferences from './PeaksPreferences.js';
20
- import PeaksTable from './PeaksTable.js';
22
+ import PeaksTable, { usePeaksTableColumns } from './PeaksTable.js';
23
+ import { exportPeaksToTSV } from "./peaksToTSV.js";
21
24
  function PeaksPanelInner(props) {
22
25
  const { peaks, info, xDomain, activeTab, peaksViewState } = props;
23
26
  const [filterIsActive, setFilterIsActive] = useState(false);
@@ -26,8 +29,9 @@ function PeaksPanelInner(props) {
26
29
  const dispatch = useDispatch();
27
30
  const alert = useAlert();
28
31
  const toaster = useToaster();
29
- const isExperimental = useCheckExperimentalFeature();
30
32
  const settingRef = useRef(null);
33
+ const { peak, tableColumns, setEditedPeak } = usePeaksTableColumns(activeTab);
34
+ const { rawWriteWithType, shouldFallback, cleanShouldFallback, text } = useClipboard();
31
35
  const yesHandler = useCallback(() => {
32
36
  dispatch({ type: 'DELETE_PEAK', payload: {} });
33
37
  }, [dispatch]);
@@ -75,12 +79,12 @@ function PeaksPanelInner(props) {
75
79
  const optimizePeaksHandler = () => {
76
80
  const [from, to] = xDomain;
77
81
  const filterPeaks = peaks.values.filter((peak) => isInRange(peak.x, { from, to }));
78
- if (filterPeaks.length <= 4) {
82
+ if (filterPeaks.length <= 15) {
79
83
  dispatch({ type: 'OPTIMIZE_PEAKS', payload: { peaks: filterPeaks } });
80
84
  }
81
85
  else {
82
86
  toaster.show({
83
- message: 'optimization can be done on no more than 4 peaks',
87
+ message: 'optimization can be done on no more than 15 peaks',
84
88
  intent: 'danger',
85
89
  });
86
90
  }
@@ -94,7 +98,33 @@ function PeaksPanelInner(props) {
94
98
  const total = peaks.values.length;
95
99
  const disabled = total === 0;
96
100
  const { showPeaks, displayingMode, showPeaksShapes, showPeaksSum } = peaksViewState;
101
+ function handleExportPeaksToTSV() {
102
+ const tsv = exportPeaksToTSV(filteredPeaks, tableColumns);
103
+ void rawWriteWithType(tsv, 'text/plain').then(() => toaster.show({
104
+ message: 'Peaks copied to clipboard',
105
+ intent: 'success',
106
+ }));
107
+ }
97
108
  const leftButtons = [
109
+ {
110
+ disabled,
111
+ icon: _jsx(SvgNmrPeaks, {}),
112
+ tooltip: `${booleanToString(!showPeaksShapes)} peaks shapes`,
113
+ onClick: () => toggleViewProperty('showPeaksShapes'),
114
+ active: showPeaksShapes,
115
+ },
116
+ {
117
+ disabled,
118
+ icon: _jsx(SvgNmrFt, {}),
119
+ tooltip: `${booleanToString(!showPeaksSum)} peaks sum`,
120
+ onClick: () => toggleViewProperty('showPeaksSum'),
121
+ active: showPeaksSum,
122
+ },
123
+ {
124
+ icon: _jsx(FaThinkPeaks, {}),
125
+ tooltip: 'Optimize peaks',
126
+ onClick: optimizePeaksHandler,
127
+ },
98
128
  {
99
129
  disabled,
100
130
  icon: _jsx(SvgNmrPeaks, {}),
@@ -109,27 +139,14 @@ function PeaksPanelInner(props) {
109
139
  onClick: toggleDisplayingMode,
110
140
  active: displayingMode === 'spread',
111
141
  },
112
- ];
113
- if (isExperimental) {
114
- leftButtons.unshift({
115
- disabled,
116
- icon: _jsx(SvgNmrPeaks, {}),
117
- tooltip: `${booleanToString(!showPeaksShapes)} peaks shapes`,
118
- onClick: () => toggleViewProperty('showPeaksShapes'),
119
- active: showPeaksShapes,
120
- }, {
142
+ {
121
143
  disabled,
122
- icon: _jsx(SvgNmrFt, {}),
123
- tooltip: `${booleanToString(!showPeaksSum)} peaks sum`,
124
- onClick: () => toggleViewProperty('showPeaksSum'),
125
- active: showPeaksSum,
126
- }, {
127
- icon: _jsx(FaThinkPeaks, {}),
128
- tooltip: 'Optimize peaks',
129
- onClick: optimizePeaksHandler,
130
- });
131
- }
132
- return (_jsxs(TablePanel, { isFlipped: isFlipped, children: [!isFlipped && (_jsx(DefaultPanelHeader, { total: total, counter: filteredPeaks.length, onDelete: handleDeleteAll, deleteToolTip: "Delete All Peaks", onFilter: handleOnFilter, filterToolTip: filterIsActive ? 'Show all peaks' : 'Hide peaks out of view', onSettingClick: settingsPanelHandler, leftButtons: leftButtons })), isFlipped && (_jsx(PreferencesHeader, { onSave: saveSettingHandler, onClose: settingsPanelHandler })), _jsx("div", { className: "inner-container", children: !isFlipped ? (_jsx(PeaksTable, { data: filteredPeaks, info: info, activeTab: activeTab })) : (_jsx(PeaksPreferences, { ref: settingRef })) })] }));
144
+ icon: _jsx(FaCopy, {}),
145
+ tooltip: `Copy as TSV`,
146
+ onClick: handleExportPeaksToTSV,
147
+ },
148
+ ];
149
+ return (_jsxs(_Fragment, { children: [_jsx(ClipboardFallbackModal, { mode: shouldFallback, onDismiss: cleanShouldFallback, text: text, label: "Peaks" }), _jsx(EditPeakShapeModal, { peak: peak, onCloseDialog: () => setEditedPeak(undefined) }), _jsxs(TablePanel, { isFlipped: isFlipped, children: [!isFlipped && (_jsx(DefaultPanelHeader, { total: total, counter: filteredPeaks.length, onDelete: handleDeleteAll, deleteTooltip: "Delete All Peaks", onFilter: handleOnFilter, filterTooltip: filterIsActive ? 'Show all peaks' : 'Hide peaks out of view', onSettingClick: settingsPanelHandler, leftButtons: leftButtons })), isFlipped && (_jsx(PreferencesHeader, { onSave: saveSettingHandler, onClose: settingsPanelHandler })), _jsx("div", { className: "inner-container", children: !isFlipped ? (_jsx(PeaksTable, { data: filteredPeaks, info: info, tableColumns: tableColumns })) : (_jsx(PeaksPreferences, { ref: settingRef })) })] })] }));
133
150
  }
134
151
  const MemoizedPeaksPanel = memo(PeaksPanelInner);
135
152
  const emptyData = { peaks: { values: [] }, info: {} };