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
@@ -50,33 +50,38 @@ export function useLoadFiles(onOpenMetaInformation) {
50
50
  resetSourceObject,
51
51
  });
52
52
  }, [core, dispatchPayload]);
53
- const currentPreferences = preferences.current;
54
53
  const loadUserFiles = useCallback(async (files) => {
55
- if (onOpenMetaInformation && files.length === 1 && isMetaFile(files[0])) {
54
+ if (onOpenMetaInformation &&
55
+ Array.isArray(files) &&
56
+ files.length === 1 &&
57
+ isMetaFile(files[0])) {
56
58
  onOpenMetaInformation(files[0]);
57
59
  return;
58
60
  }
59
- const { onLoadProcessing } = workspacePreferences;
60
- const { nmrLoaders: selector } = currentPreferences;
61
+ const { onLoadProcessing, nmrLoaders: selector } = workspacePreferences;
61
62
  const parsingOptions = {
62
63
  selector,
63
64
  logger: logger.child({ context: 'nmr-processing' }),
64
65
  onLoadProcessing,
65
66
  experimentalFeatures,
66
67
  };
67
- const groupedFiles = await groupFiles(files);
68
- const { nmriumArchiveFiles, fileCollection, metaFile } = groupedFiles;
69
- if (nmriumArchiveFiles.length > 0) {
70
- await Promise.all(nmriumArchiveFiles.map((file) => loadNmriumArchives(file, parsingOptions)));
68
+ if (Array.isArray(files)) {
69
+ const groupedFiles = await groupFiles(files);
70
+ const { nmriumArchiveFiles, fileCollection, metaFile } = groupedFiles;
71
+ if (nmriumArchiveFiles.length > 0) {
72
+ await Promise.all(nmriumArchiveFiles.map((file) => loadNmriumArchives(file, parsingOptions)));
73
+ }
74
+ await loadFileCollection(fileCollection, metaFile, parsingOptions);
75
+ }
76
+ else {
77
+ await loadFileCollection(files, undefined, parsingOptions);
71
78
  }
72
- await loadFileCollection(fileCollection, metaFile, parsingOptions);
73
79
  }, [
74
80
  experimentalFeatures,
75
81
  loadFileCollection,
76
82
  loadNmriumArchives,
77
83
  logger,
78
84
  onOpenMetaInformation,
79
- currentPreferences,
80
85
  workspacePreferences,
81
86
  ]);
82
87
  return useCallback((files) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useLoadFiles.js","sourceRoot":"","sources":["../../../src/component/loader/useLoadFiles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,2BAA2B,MAAM,yCAAyC,CAAC;AAIlF,M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AAG,EAAE;YACZ,QAAQ,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAC3C,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU,CAAC,KAAa;IACrC,MAAM,kBAAkB,GAAW,EAAE,CAAC;IACtC,MAAM,UAAU,GAAW,EAAE,CAAC;IAE9B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,4CAA4C;QAC5C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;QAEtD,IAAI,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,uBAAuB,CAAC,EAAE,CAAC;YAC1D,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9B,SAAS;QACX,CAAC;QAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,MAAM,cAAc,GAAG,MAAM,IAAI,cAAc,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IAC7E,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACjE,UAAU,CAAC,IAAI,CAAC,CACjB,CAAC;IAEF,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC;AAC1D,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { FallbackProps } from 'react-error-boundary';
2
- export default function ErrorOverlay(props: FallbackProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function ErrorOverlay(props: FallbackProps): import("react").JSX.Element;
3
3
  //# sourceMappingURL=ErrorOverlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorOverlay.d.ts","sourceRoot":"","sources":["../../../src/component/main/ErrorOverlay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAmB1D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,aAAa,2CAkBxD"}
1
+ {"version":3,"file":"ErrorOverlay.d.ts","sourceRoot":"","sources":["../../../src/component/main/ErrorOverlay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAmB1D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,aAAa,+BAkBxD"}
@@ -4,6 +4,6 @@ import type { NMRiumRefAPI } from './NMRiumRefAPI.js';
4
4
  type InnerNMRiumProps = Omit<NMRiumProps, 'onError'> & {
5
5
  apiRef: ForwardedRef<NMRiumRefAPI>;
6
6
  };
7
- export declare function InnerNMRium(props: InnerNMRiumProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function InnerNMRium(props: InnerNMRiumProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=InnerNMRium.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InnerNMRium.d.ts","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA6B1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACrD,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA6GlD"}
1
+ {"version":3,"file":"InnerNMRium.d.ts","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA6B1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACrD,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BA8GlD"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import init from '@zakodium/nmrium-core-plugins';
3
- import { useEffect, useMemo, useReducer, useRef } from 'react';
3
+ import { useCallback, useEffect, useMemo, useReducer, useRef } from 'react';
4
4
  import { useFullscreen } from 'react-science/ui';
5
5
  import { AssignmentProvider } from '../assignment/AssignmentProvider.js';
6
6
  import { CoreProvider } from '../context/CoreContext.js';
@@ -38,7 +38,7 @@ export function InnerNMRium(props) {
38
38
  useEffect(() => {
39
39
  rootRef.current?.focus();
40
40
  }, [isFullScreen]);
41
- useEffect(() => {
41
+ const refreshPreferences = useCallback(() => {
42
42
  const settings = readSettings();
43
43
  dispatchPreferences({
44
44
  type: 'INIT_PREFERENCES',
@@ -54,6 +54,6 @@ export function InnerNMRium(props) {
54
54
  rootRef: rootRef.current,
55
55
  elementsWrapperRef: elementsWrapperRef.current,
56
56
  viewerRef: viewerRef.current,
57
- }, children: _jsx(PreferencesProvider, { value: preferencesProviderValue, children: _jsx(LoggerProvider, { children: _jsx(KeyModifiersProvider, { children: _jsx(ToasterProvider, { children: _jsx(SortSpectraProvider, { children: _jsx(NMRiumStateProvider, { onChange: onChange, state: state, aggregator: aggregator, children: _jsx(TopicMoleculeProvider, { children: _jsx(DialogProvider, { children: _jsx(AlertProvider, { children: _jsx(HighlightProvider, { children: _jsx(AssignmentProvider, { children: _jsx(SpinnerProvider, { value: getSpinner, children: _jsx(InnerNMRiumContents, { emptyText: emptyText, mainDivRef: mainDivRef, elementsWrapperRef: elementsWrapperRef, rootRef: rootRef, viewerRef: viewerRef, apiRef: apiRef }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
57
+ }, children: _jsx(PreferencesProvider, { value: preferencesProviderValue, children: _jsx(LoggerProvider, { children: _jsx(KeyModifiersProvider, { children: _jsx(ToasterProvider, { children: _jsx(SortSpectraProvider, { children: _jsx(NMRiumStateProvider, { onChange: onChange, state: state, aggregator: aggregator, refreshPreferences: refreshPreferences, children: _jsx(TopicMoleculeProvider, { children: _jsx(DialogProvider, { children: _jsx(AlertProvider, { children: _jsx(HighlightProvider, { children: _jsx(AssignmentProvider, { children: _jsx(SpinnerProvider, { value: getSpinner, children: _jsx(InnerNMRiumContents, { emptyText: emptyText, mainDivRef: mainDivRef, elementsWrapperRef: elementsWrapperRef, rootRef: rootRef, viewerRef: viewerRef, apiRef: apiRef }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
58
58
  }
59
59
  //# sourceMappingURL=InnerNMRium.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InnerNMRium.js","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,+BAA+B,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAA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AS,EAAE,SAAS,CAAC,OAAO;qBAC7B,YAED,KAAC,mBAAmB,IAAC,KAAK,EAAE,wBAAwB,YAClD,KAAC,cAAc,cACb,KAAC,oBAAoB,cACnB,KAAC,eAAe,cACd,KAAC,mBAAmB,cAClB,KAAC,mBAAmB,IAClB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,YAEtB,KAAC,qBAAqB,cACpB,KAAC,cAAc,cACb,KAAC,aAAa,cACZ,KAAC,iBAAiB,cAChB,KAAC,kBAAkB,cACjB,KAAC,eAAe,IAAC,KAAK,EAAE,UAAU,YAChC,KAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,GACd,GACc,GACC,GACH,GACN,GACD,GACK,GACJ,GACF,GACN,GACG,GACR,GACG,GACP,GACK,GACX,GACX,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"InnerNMRium.js","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,+BAA+B,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAA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AAwB,YAClD,KAAC,cAAc,cACb,KAAC,oBAAoB,cACnB,KAAC,eAAe,cACd,KAAC,mBAAmB,cAClB,KAAC,mBAAmB,IAClB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,YAEtC,KAAC,qBAAqB,cACpB,KAAC,cAAc,cACb,KAAC,aAAa,cACZ,KAAC,iBAAiB,cAChB,KAAC,kBAAkB,cACjB,KAAC,eAAe,IAAC,KAAK,EAAE,UAAU,YAChC,KAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,GACd,GACc,GACC,GACH,GACN,GACD,GACK,GACJ,GACF,GACN,GACG,GACR,GACG,GACP,GACK,GACX,GACX,CACP,CAAC;AACJ,CAAC"}
@@ -8,6 +8,6 @@ interface InnerNMRiumContentsProps {
8
8
  viewerRef: RefObject<HTMLDivElement>;
9
9
  apiRef: ForwardedRef<NMRiumRefAPI>;
10
10
  }
11
- export declare function InnerNMRiumContents(props: InnerNMRiumContentsProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function InnerNMRiumContents(props: InnerNMRiumContentsProps): import("react").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=InnerNMRiumContents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InnerNMRiumContents.d.ts","sourceRoot":"","sources":["../../../src/component/main/InnerNMRiumContents.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAyB,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB5E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA6C5D,UAAU,wBAAwB;IAChC,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACpC,UAAU,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC,kBAAkB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACnC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAuGlE"}
1
+ {"version":3,"file":"InnerNMRiumContents.d.ts","sourceRoot":"","sources":["../../../src/component/main/InnerNMRiumContents.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAyB,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB5E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA6C5D,UAAU,wBAAwB;IAChC,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACpC,UAAU,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC,kBAAkB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACnC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BAuGlE"}
@@ -12,7 +12,7 @@ import { PrintContent } from '../elements/print/PrintContent.js';
12
12
  import { Header } from '../header/Header.js';
13
13
  import DropZone from '../loader/DropZone.js';
14
14
  import { PanelsBar } from '../panels/PanelsBar.js';
15
- import ToolBar from '../toolbar/ToolBar.js';
15
+ import NMRToolbar from "../toolbar/nmr_toolbar.js";
16
16
  import { useNMRiumRefAPI } from './NMRiumRefAPI.js';
17
17
  import { NMRiumViewer } from './NMRiumViewer.js';
18
18
  import { NMRiumViewerWrapper } from './NMRiumViewerWrapper.js';
@@ -91,7 +91,7 @@ export function InnerNMRiumContents(props) {
91
91
  display: 'flex',
92
92
  flexDirection: 'row',
93
93
  height: '100%',
94
- }, children: [_jsx(KeysListenerTracker, { mainDivRef: mainDivRef }), _jsx(ToolBar, {}), _jsx(NMRiumViewerWrapper, { viewerRef: viewerRef, emptyText: emptyText }), _jsx(PanelsBar, {}), _jsx("div", { ref: elementsWrapperRef, id: "main-wrapper", style: {
94
+ }, children: [_jsx(KeysListenerTracker, { mainDivRef: mainDivRef }), _jsx(NMRToolbar, {}), _jsx(NMRiumViewerWrapper, { viewerRef: viewerRef, emptyText: emptyText }), _jsx(PanelsBar, {}), _jsx("div", { ref: elementsWrapperRef, id: "main-wrapper", style: {
95
95
  position: 'absolute',
96
96
  pointerEvents: 'none',
97
97
  zIndex: 10,
@@ -1 +1 @@
1
- {"version":3,"file":"InnerNMRiumContents.js","sourceRoot":"","sources":["../../../src/component/main/InnerNMRiumContents.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,yBAAyB,MAAM,mDAAmD,CAAC;AAC1F,OAAO,mBAAmB,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,SAAS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,EAAE,UAAU;oDACpB,aAAa,EAAE,MAAM;oDACrB,MAAM,EAAE,EAAE;oDACV,IAAI,EAAE,CAAC;oDACP,KAAK,EAAE,CAAC;oDACR,GAAG,EAAE,CAAC;oDACN,MAAM,EAAE,CAAC;iDACV,IAVI,MAAM,CAAC,YAAY,CAAC,CAWzB,IACE,IACF,GACG,EACX,eAAO,EACP,KAAC,YAAY,cACX,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAI,GAC/C,EACf,KAAC,uBAAuB,cACtB,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAI,GACpC,IACA,GACZ,IACjB,CACJ,CAAC;AACJ,CAAC;AAMD,SAAS,YAAY,CAAC,KAAwB;IAC5C,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,EACJ,OAAO,EAAE,EAAE,gBAAgB,EAAE,EAC7B,QAAQ,GACT,GAAG,cAAc,EAAE,CAAC;IAErB,SAAS,sBAAsB,CAAC,OAAyB;QACvD,QAAQ,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,OAAO,CACL,KAAC,YAAY,IACX,uBAAuB,EAAE,gBAAgB,EACzC,OAAO,EAAE,sBAAsB,YAE9B,QAAQ,GACI,CAChB,CAAC;AACJ,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { FileCollection } from 'file-collection';
1
2
  import type { ForwardedRef, RefObject } from 'react';
2
3
  import type { SaveIncludeOptions } from '../hooks/useExport.tsx';
3
4
  import type { BlobObject } from '../utility/export.js';
@@ -5,6 +6,7 @@ export interface NMRiumRefAPI {
5
6
  getSpectraViewerAsBlob: () => BlobObject | null;
6
7
  getNMRiumFile: (option: SaveIncludeOptions) => Promise<Blob>;
7
8
  loadFiles: (files: File[]) => void;
9
+ loadFileCollection: (fileCollection: FileCollection) => void;
8
10
  }
9
11
  export declare function useNMRiumRefAPI(ref: ForwardedRef<NMRiumRefAPI>, rootRef: RefObject<HTMLDivElement>): void;
10
12
  //# sourceMappingURL=NMRiumRefAPI.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumRefAPI.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,WAAW,YAAY;IAC3B,sBAAsB,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;IAChD,aAAa,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,SAAS,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;CACpC;AAED,wBAAgB,eAAe,CAC7B,GAAG,EAAE,YAAY,CAAC,YAAY,CAAC,EAC/B,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,QAkBnC"}
1
+ {"version":3,"file":"NMRiumRefAPI.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,WAAW,YAAY;IAC3B,sBAAsB,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;IAChD,aAAa,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,SAAS,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACnC,kBAAkB,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,IAAI,CAAC;CAC9D;AAED,wBAAgB,eAAe,CAC7B,GAAG,EAAE,YAAY,CAAC,YAAY,CAAC,EAC/B,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,QAoBnC"}
@@ -12,6 +12,7 @@ export function useNMRiumRefAPI(ref, rootRef) {
12
12
  : null;
13
13
  },
14
14
  loadFiles,
15
+ loadFileCollection: (fileCollection) => loadFiles(fileCollection),
15
16
  getNMRiumFile: (options) => createNmriumZip(options),
16
17
  }), [loadFiles, rootRef, createNmriumZip]);
17
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumRefAPI.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAQ/C,MAAM,UAAU,eAAe,CAC7B,GAA+B,EAC/B,OAAkC;IAElC,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,mBAAmB,CACjB,GAAG,EACH,GAAG,EAAE,CAAC,CAAC;QACL,sBAAsB,EAAE,GAAG,EAAE;YAC3B,OAAO,OAAO,CAAC,OAAO;gBACpB,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;gBACrD,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;QACD,SAAS;QACT,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC;KACrD,CAAC,EACF,CAAC,SAAS,EAAE,OAAO,EAAE,eAAe,CAAC,CACtC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"NMRiumRefAPI.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAS/C,MAAM,UAAU,eAAe,CAC7B,GAA+B,EAC/B,OAAkC;IAElC,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,mBAAmB,CACjB,GAAG,EACH,GAAG,EAAE,CAAC,CAAC;QACL,sBAAsB,EAAE,GAAG,EAAE;YAC3B,OAAO,OAAO,CAAC,OAAO;gBACpB,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;gBACrD,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;QACD,SAAS;QACT,kBAAkB,EAAE,CAAC,cAA8B,EAAE,EAAE,CACrD,SAAS,CAAC,cAAc,CAAC;QAC3B,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC;KACrD,CAAC,EACF,CAAC,SAAS,EAAE,OAAO,EAAE,eAAe,CAAC,CACtC,CAAC;AACJ,CAAC"}
@@ -7,7 +7,8 @@ interface NMRiumStateProviderProps {
7
7
  onChange: NMRiumChangeCb | undefined;
8
8
  state: Partial<NmriumState> | undefined;
9
9
  aggregator: FileCollection | undefined;
10
+ refreshPreferences: () => void;
10
11
  }
11
- export default function NMRiumStateProvider(props: NMRiumStateProviderProps): import("react/jsx-runtime").JSX.Element;
12
+ export default function NMRiumStateProvider(props: NMRiumStateProviderProps): import("react").JSX.Element;
12
13
  export {};
13
14
  //# sourceMappingURL=NMRiumStateProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumStateProvider.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumStateProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IACxC,UAAU,EAAE,cAAc,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAgK1E"}
1
+ {"version":3,"file":"NMRiumStateProvider.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumStateProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IACxC,UAAU,EAAE,cAAc,GAAG,SAAS,CAAC;IACvC,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BAyK1E"}
@@ -12,11 +12,18 @@ import { sortSpectra, useSortSpectra } from '../context/SortSpectraContext.js';
12
12
  import checkActionType from '../reducer/IgnoreActions.js';
13
13
  import { initState, initialState, spectrumReducer, } from '../reducer/Reducer.js';
14
14
  export default function NMRiumStateProvider(props) {
15
- const { children, onChange, state: externalState, aggregator: externalAggregator, } = props;
15
+ const { children, onChange, state: externalState, aggregator: externalAggregator, refreshPreferences, } = props;
16
16
  const core = useCore();
17
17
  const { logger } = useLogger();
18
18
  const preferencesState = usePreferences();
19
19
  const { dispatch: dispatchPreferences } = preferencesState;
20
+ /**
21
+ * The preference refresh is done here to ensure it is done before the state loading,
22
+ * because state loading can dispatch preferences.
23
+ */
24
+ useEffect(() => {
25
+ refreshPreferences();
26
+ }, [refreshPreferences]);
20
27
  const [state, dispatchRaw] = useReducer(spectrumReducer, initialState, initState);
21
28
  const dispatch = useCallback((action) => {
22
29
  logger.trace({ action }, `Dispatch main reducer action: ${action.type}`);
@@ -107,10 +114,10 @@ export default function NMRiumStateProvider(props) {
107
114
  const { sortOptions } = useSortSpectra();
108
115
  const spectra = useMemo(() => {
109
116
  if (sortOptions) {
110
- return sortSpectra(state.data, sortOptions);
117
+ return sortSpectra(spectraData, sortOptions);
111
118
  }
112
- return state.data;
113
- }, [sortOptions, state.data]);
119
+ return spectraData;
120
+ }, [sortOptions, spectraData]);
114
121
  const updatedState = useMemo(() => {
115
122
  return produce(state, (draft) => {
116
123
  draft.data = spectra;
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumStateProvider.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumStateProvider.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,OA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a,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAC7E,MAAM,EAAE,WAAW,EAAE,GAAG,cAAc,EAAE,CAAC;IAEzC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE;QAC3B,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,WAAW,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,WAAW,CAAC;IACrB,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;IAE/B,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE;QAChC,OAAO,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;YAC9B,KAAK,CAAC,IAAI,GAAG,OAAO,CAAC;QACvB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAErB,OAAO,CACL,KAAC,gBAAgB,IAAC,KAAK,EAAE,QAAQ,YAC/B,KAAC,iBAAiB,IAAC,KAAK,EAAE,YAAY,YAAG,QAAQ,GAAqB,GACrD,CACpB,CAAC;AACJ,CAAC"}
@@ -6,6 +6,6 @@ interface NMRiumViewerProps {
6
6
  onRender?: () => void;
7
7
  emptyText: NMRiumProps['emptyText'];
8
8
  }
9
- export declare function NMRiumViewer(props: NMRiumViewerProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function NMRiumViewer(props: NMRiumViewerProps): import("react").JSX.Element;
10
10
  export {};
11
11
  //# sourceMappingURL=NMRiumViewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumViewer.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,UAAU,iBAAiB;IACzB,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACrC;AAMD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAqEpD"}
1
+ {"version":3,"file":"NMRiumViewer.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,UAAU,iBAAiB;IACzB,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACrC;AAMD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAqEpD"}
@@ -13,7 +13,7 @@ import { usePrintPage } from '../elements/print/index.js';
13
13
  import { useCheckExportStatus, useViewportSize, } from '../hooks/useViewportSize.js';
14
14
  export function NMRiumViewer(props) {
15
15
  const { emptyText, viewerRef, onRender, style = {} } = props;
16
- const viewPort = useViewportSize();
16
+ const viewportSize = useViewportSize();
17
17
  const { displayerMode } = useChartData();
18
18
  const exportSettings = useExportSettings();
19
19
  const printSettings = usePrintPage();
@@ -32,7 +32,7 @@ export function NMRiumViewer(props) {
32
32
  }
33
33
  return (_jsxs(SVGRootContainer, { enableBoxBorder: displayerMode === '2D', width: exportWidth, height: exportHeight, viewBox: `0 0 ${width} ${height}`, children: [_jsx(Viewer, { emptyText: emptyText, renderSvgContentOnly: true }), _jsx("g", { className: "floating-ranges", children: _jsx(FloatingRanges, {}) }), _jsx("g", { className: "floating-publication-strings", children: _jsx(FloatPublicationString, {}) }), _jsx("g", { className: "floating-molecules", children: _jsx(FloatMolecules, {}) }), _jsx("g", { className: "spectra-insets", children: _jsx(SpectraInsets, {}) })] }));
34
34
  }
35
- return (_jsxs("div", { id: "nmrium-viewer", "data-testid": "viewer", ref: !viewPort ? viewerRef : null, style: {
35
+ return (_jsxs("div", { id: "nmrium-viewer", "data-testid": "viewer", ref: !viewportSize ? viewerRef : null, style: {
36
36
  width: '100%',
37
37
  height: '100%',
38
38
  position: 'relative',
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumViewer.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EACL,oBAAoB,EACpB,eAAe,GAChB,MAAM,6BAA6B,CAAC;AAerC,MAAM,UAAU,YAAY,CAAC,KAAwB;IACnD,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAC7D,MAAM,QAAQ,GAAG,eAAe,EAAE,CAAC;IACnC,MA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Ae,CAAC,MAAM,KAAK,MAAM,EACjC,CAAC;oBACD,QAAQ,EAAE,CAAC;gBACb,CAAC;YACH,CAAC,EAAE,CAAC,CAAC,CAAC;QACR,CAAC;QAED,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;QAErE,OAAO,GAAG,EAAE;YACV,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;QACzC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/E,CAAC"}
@@ -4,6 +4,6 @@ interface NMRiumViewerWrapperProps {
4
4
  viewerRef: RefObject<HTMLDivElement>;
5
5
  emptyText: NMRiumProps['emptyText'];
6
6
  }
7
- export declare function NMRiumViewerWrapper(props: NMRiumViewerWrapperProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function NMRiumViewerWrapper(props: NMRiumViewerWrapperProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=NMRiumViewerWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NMRiumViewerWrapper.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumViewerWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,UAAU,wBAAwB;IAChC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACrC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAqDlE"}
1
+ {"version":3,"file":"NMRiumViewerWrapper.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumViewerWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,UAAU,wBAAwB;IAChC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACrC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BAqDlE"}
@@ -1,3 +1,3 @@
1
- declare function AboutPredictionModal(): import("react/jsx-runtime").JSX.Element;
1
+ declare function AboutPredictionModal(): import("react").JSX.Element;
2
2
  export default AboutPredictionModal;
3
3
  //# sourceMappingURL=AboutPredictionModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AboutPredictionModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/AboutPredictionModal.tsx"],"names":[],"mappings":"AAwCA,iBAAS,oBAAoB,4CA+F5B;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"AboutPredictionModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/AboutPredictionModal.tsx"],"names":[],"mappings":"AAwCA,iBAAS,oBAAoB,gCA+F5B;AAED,eAAe,oBAAoB,CAAC"}
@@ -38,7 +38,7 @@ const DialogBody = styled(StyledDialogBody) `
38
38
  `;
39
39
  function AboutPredictionModal() {
40
40
  const [isOpenDialog, openDialog, closeDialog] = useOnOff(false);
41
- return (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { icon: _jsx(FaInfo, {}), onClick: openDialog, tooltip: "About prediction" }), _jsx(StandardDialog, { isOpen: isOpenDialog, onClose: closeDialog, title: "About prediction", style: { width: '600px' }, children: _jsxs(DialogBody, { children: [_jsx("p", { children: "If you are using our tools please cite us:" }), _jsxs("ul", { children: [_jsxs("li", { children: ["Damiano Banfi and Luc Patiny", ' ', _jsx("a", { href: "http://dx.doi.org/10.2533/chimia.2008.280", target: "_blank", rel: "noreferrer", children: "www.nmrdb.org: Resurrecting and processing NMR spectra on-line" }), ' ', _jsx("i", { children: "Chimia" }), ", ", _jsx("b", { children: "2008" }), ", 62(4), 280-281."] }), _jsxs("li", { children: ["Andr\u00E9s M. Castillo, Luc Patiny and Julien Wist", ' ', _jsx("a", { href: "http://dx.doi.org/10.1016/j.jmr.2010.12.008", target: "_blank", rel: "noreferrer", children: "Fast and Accurate Algorithm for the Simulation of NMR spectra of Large Spin Systems" }), ' ', _jsx("i", { children: "Journal of Magnetic Resonance" }), " ", _jsx("b", { children: "2011" }), ", 209(2), 123-130."] })] }), _jsxs("p", { children: [_jsx("sup", { children: "1" }), "H NMR prediction is possible thanks to the tool of the FCT-Universidade NOVA de Lisboa developed by Yuri Binev and Joao Aires-de-Sousa:"] }), _jsxs("ul", { children: [_jsxs("li", { children: ["Yuri Binev, Maria M. B. Marques and Jo\u00E3o Aires-de-Sousa", ' ', _jsxs("a", { href: "http://dx.doi.org/10.1021/ci700172n", target: "_blank", rel: "noreferrer", children: ["Prediction of ", _jsx("sup", { children: "1" }), "H NMR coupling constants with associative neural networks trained for chemical shifts"] }), ' ', _jsx("i", { children: "J. Chem. Inf. Model." }), " ", _jsx("b", { children: "2007" }), ", 47(6), 2089-2097."] }), _jsxs("li", { children: ["Jo\u00E3o Aires-de-Sousa, Markus C. Hemmer and Johann Gasteiger", ' ', _jsxs("a", { href: "http://dx.doi.org/10.1021/ac010737m", target: "_blank", rel: "noreferrer", children: ["Prediction of ", _jsx("sup", { children: "1" }), "H NMR Chemical Shifts Using Neural Networks"] }), ", ", _jsx("i", { children: "Analytical Chemistry" }), ", ", _jsx("b", { children: "2002" }), ", 74(1), 80-90."] })] }), _jsxs("p", { children: [_jsx("sup", { children: "13" }), "C NMR prediction was possible thanks to NMRshiftDB:"] }), _jsx("ul", { children: _jsxs("li", { children: ["Steinbeck, Christoph, Stefan Krause, and Stefan Kuhn", ' ', _jsx("a", { href: "http://dx.doi.org/10.1021/ci0341363", target: "_blank", rel: "noreferrer", children: "NMRShiftDB Constructing a Free Chemical Information System with Open-Source Components" }), ' ', _jsx("i", { children: "Journal of chemical information and computer sciences" }), ",", ' ', _jsx("b", { children: "2003" }), ", 43(6): 1733-1739."] }) })] }) })] }));
41
+ return (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { icon: _jsx(FaInfo, {}), onClick: openDialog, tooltip: "About prediction" }), _jsx(StandardDialog, { isOpen: isOpenDialog, onClose: closeDialog, title: "About prediction", style: { width: '600px' }, children: _jsxs(DialogBody, { children: [_jsx("p", { children: "If you are using our tools please cite us:" }), _jsxs("ul", { children: [_jsxs("li", { children: ["Damiano Banfi and Luc Patiny", ' ', _jsx("a", { href: "https://dx.doi.org/10.2533/chimia.2008.280", target: "_blank", rel: "noreferrer", children: "www.nmrdb.org: Resurrecting and processing NMR spectra on-line" }), ' ', _jsx("i", { children: "Chimia" }), ", ", _jsx("b", { children: "2008" }), ", 62(4), 280-281."] }), _jsxs("li", { children: ["Andr\u00E9s M. Castillo, Luc Patiny and Julien Wist", ' ', _jsx("a", { href: "https://dx.doi.org/10.1016/j.jmr.2010.12.008", target: "_blank", rel: "noreferrer", children: "Fast and Accurate Algorithm for the Simulation of NMR spectra of Large Spin Systems" }), ' ', _jsx("i", { children: "Journal of Magnetic Resonance" }), " ", _jsx("b", { children: "2011" }), ", 209(2), 123-130."] })] }), _jsxs("p", { children: [_jsx("sup", { children: "1" }), "H NMR prediction is possible thanks to the tool of the FCT-Universidade NOVA de Lisboa developed by Yuri Binev and Joao Aires-de-Sousa:"] }), _jsxs("ul", { children: [_jsxs("li", { children: ["Yuri Binev, Maria M. B. Marques and Jo\u00E3o Aires-de-Sousa", ' ', _jsxs("a", { href: "https://dx.doi.org/10.1021/ci700172n", target: "_blank", rel: "noreferrer", children: ["Prediction of ", _jsx("sup", { children: "1" }), "H NMR coupling constants with associative neural networks trained for chemical shifts"] }), ' ', _jsx("i", { children: "J. Chem. Inf. Model." }), " ", _jsx("b", { children: "2007" }), ", 47(6), 2089-2097."] }), _jsxs("li", { children: ["Jo\u00E3o Aires-de-Sousa, Markus C. Hemmer and Johann Gasteiger", ' ', _jsxs("a", { href: "https://dx.doi.org/10.1021/ac010737m", target: "_blank", rel: "noreferrer", children: ["Prediction of ", _jsx("sup", { children: "1" }), "H NMR Chemical Shifts Using Neural Networks"] }), ", ", _jsx("i", { children: "Analytical Chemistry" }), ", ", _jsx("b", { children: "2002" }), ", 74(1), 80-90."] })] }), _jsxs("p", { children: [_jsx("sup", { children: "13" }), "C NMR prediction was possible thanks to NMRshiftDB:"] }), _jsx("ul", { children: _jsxs("li", { children: ["Steinbeck, Christoph, Stefan Krause, and Stefan Kuhn", ' ', _jsx("a", { href: "https://dx.doi.org/10.1021/ci0341363", target: "_blank", rel: "noreferrer", children: "NMRShiftDB Constructing a Free Chemical Information System with Open-Source Components" }), ' ', _jsx("i", { children: "Journal of chemical information and computer sciences" }), ",", ' ', _jsx("b", { children: "2003" }), ", 43(6): 1733-1739."] }) })] }) })] }));
42
42
  }
43
43
  export default AboutPredictionModal;
44
44
  //# sourceMappingURL=AboutPredictionModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AboutPredictionModal.js","sourceRoot":"","sources":["../../../src/component/modal/AboutPredictionModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAAgC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B1C,CAAC;AAEF,SAAS,oBAAoB;IAC3B,MAAM,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACh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AAoB,CAAC"}
1
+ {"version":3,"file":"AboutPredictionModal.js","sourceRoot":"","sources":["../../../src/component/modal/AboutPredictionModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAAgC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B1C,CAAC;AAEF,SAAS,oBAAoB;IAC3B,MAAM,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChE,OAAO,CACL,8BACE,KAAC,OAAO,CAAC,IAAI,IACX,IAAI,EAAE,KAAC,MAAM,KAAG,EAChB,OAAO,EAAE,UAAU,EACnB,OAAO,EAAC,kBAAkB,GAC1B,EACF,KAAC,cAAc,IACb,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAC,kBAAkB,EACxB,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,YAEzB,MAAC,UAAU,eACT,qEAAiD,EACjD,yBACE,yDAC+B,GAAG,EAChC,YACE,IAAI,EAAC,4CAA4C,EACjD,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,+EAGd,EAAC,GAAG,EACR,iCAAa,QAAE,+BAAW,yBACvB,EACL,gFACiD,GAAG,EAClD,YACE,IAAI,EAAC,8CAA8C,EACnD,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,oGAId,EAAC,GAAG,EACR,wDAAoC,OAAC,+BAAW,0BAC7C,IACF,EACL,wBACE,8BAAY,+IAGV,EACJ,yBACE,yFAC0D,GAAG,EAC3D,aACE,IAAI,EAAC,sCAAsC,EAC3C,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,+BAEF,8BAAY,6FAExB,EAAC,GAAG,EACR,+CAA2B,OAAC,+BAAW,2BACpC,EACL,4FAC6D,GAAG,EAC9D,aACE,IAAI,EAAC,sCAAsC,EAC3C,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,+BAEF,8BAAY,mDAExB,QACF,+CAA2B,QAAE,+BAAW,uBACvC,IACF,EACL,wBACE,+BAAa,2DACX,EACJ,uBACE,iFACuD,GAAG,EACxD,YACE,IAAI,EAAC,sCAAsC,EAC3C,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,uGAId,EAAC,GAAG,EACR,gFAA4D,OAAE,GAAG,EACjE,+BAAW,2BACR,GACF,IACM,GACE,IAChB,CACJ,CAAC;AACJ,CAAC;AAED,eAAe,oBAAoB,CAAC"}
@@ -1,3 +1,3 @@
1
- declare function AboutSpectrumSimulationModal(): import("react/jsx-runtime").JSX.Element;
1
+ declare function AboutSpectrumSimulationModal(): import("react").JSX.Element;
2
2
  export default AboutSpectrumSimulationModal;
3
3
  //# sourceMappingURL=AboutSpectrumSimulationModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AboutSpectrumSimulationModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/AboutSpectrumSimulationModal.tsx"],"names":[],"mappings":"AA0CA,iBAAS,4BAA4B,4CAqCpC;AAED,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"AboutSpectrumSimulationModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/AboutSpectrumSimulationModal.tsx"],"names":[],"mappings":"AA0CA,iBAAS,4BAA4B,gCAqCpC;AAED,eAAe,4BAA4B,CAAC"}
@@ -40,7 +40,7 @@ const DialogBody = styled(StyledDialogBody) `
40
40
  `;
41
41
  function AboutSpectrumSimulationModal() {
42
42
  const [isOpenDialog, openDialog, closeDialog] = useOnOff(false);
43
- return (_jsxs(_Fragment, { children: [_jsx(Toolbar, { children: _jsx(Toolbar.Item, { onClick: openDialog, tooltip: "About prediction", icon: _jsx(FaInfo, {}) }) }), _jsx(StandardDialog, { isOpen: isOpenDialog, onClose: closeDialog, title: "About spectrum simulation", style: { width: '600px' }, children: _jsxs(DialogBody, { children: [_jsx("p", { children: "If you are using our tools please cite us:" }), _jsx("ul", { children: _jsxs("li", { children: ["Andr\u00E9s M. Castillo, Luc Patiny and Julien Wist", ' ', _jsx("a", { href: "http://dx.doi.org/10.1016/j.jmr.2010.12.008", target: "_blank", rel: "noreferrer", children: "Fast and Accurate Algorithm for the Simulation of NMR spectra of Large Spin Systems" }), ' ', _jsx("i", { children: "Journal of Magnetic Resonance" }), " ", _jsx("b", { children: "2011" }), ", 209(2), 123-130."] }) })] }) })] }));
43
+ return (_jsxs(_Fragment, { children: [_jsx(Toolbar, { children: _jsx(Toolbar.Item, { onClick: openDialog, tooltip: "About prediction", icon: _jsx(FaInfo, {}) }) }), _jsx(StandardDialog, { isOpen: isOpenDialog, onClose: closeDialog, title: "About spectrum simulation", style: { width: '600px' }, children: _jsxs(DialogBody, { children: [_jsx("p", { children: "If you are using our tools please cite us:" }), _jsx("ul", { children: _jsxs("li", { children: ["Andr\u00E9s M. Castillo, Luc Patiny and Julien Wist", ' ', _jsx("a", { href: "https://dx.doi.org/10.1016/j.jmr.2010.12.008", target: "_blank", rel: "noreferrer", children: "Fast and Accurate Algorithm for the Simulation of NMR spectra of Large Spin Systems" }), ' ', _jsx("i", { children: "Journal of Magnetic Resonance" }), " ", _jsx("b", { children: "2011" }), ", 209(2), 123-130."] }) })] }) })] }));
44
44
  }
45
45
  export default AboutSpectrumSimulationModal;
46
46
  //# sourceMappingURL=AboutSpectrumSimulationModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AboutSpectrumSimulationModal.js","sourceRoot":"","sources":["../../../src/component/modal/AboutSpectrumSimulationModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAAgC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1C,CAAC;AAEF,SAAS,4BAA4B;IACnC,MAAM,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChE,OAAO,CACL,8BACE,KAAC,OAAO,cACN,KAAC,OAAO,CAAC,IAAI,IACX,OAAO,EAAE,UAAU,EACnB,OAAO,EAAC,kBAAkB,EAC1B,IAAI,EAAE,KAAC,MAAM,KAAG,GAChB,GACM,EACV,KAAC,cAAc,IACb,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAC,2BAA2B,EACjC,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,YAEzB,MAAC,UAAU,eACT,qEAAiD,EACjD,uBACE,gFACiD,GAAG,EAClD,YACE,IAAI,EAAC,6CAA6C,EAClD,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,oGAId,EAAC,GAAG,EACR,wDAAoC,OAAC,+BAAW,0BAC7C,GACF,IACM,GACE,IAChB,CACJ,CAAC;AACJ,CAAC;AAED,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"AboutSpectrumSimulationModal.js","sourceRoot":"","sources":["../../../src/component/modal/AboutSpectrumSimulationModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAAgC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1C,CAAC;AAEF,SAAS,4BAA4B;IACnC,MAAM,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChE,OAAO,CACL,8BACE,KAAC,OAAO,cACN,KAAC,OAAO,CAAC,IAAI,IACX,OAAO,EAAE,UAAU,EACnB,OAAO,EAAC,kBAAkB,EAC1B,IAAI,EAAE,KAAC,MAAM,KAAG,GAChB,GACM,EACV,KAAC,cAAc,IACb,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAC,2BAA2B,EACjC,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,YAEzB,MAAC,UAAU,eACT,qEAAiD,EACjD,uBACE,gFACiD,GAAG,EAClD,YACE,IAAI,EAAC,8CAA8C,EACnD,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,oGAId,EAAC,GAAG,EACR,wDAAoC,OAAC,+BAAW,0BAC7C,GACF,IACM,GACE,IAChB,CACJ,CAAC;AACJ,CAAC;AAED,eAAe,4BAA4B,CAAC"}
@@ -1,8 +1,14 @@
1
1
  import type { Peak1D } from '@zakodium/nmr-types';
2
+ type Shape = NonNullable<Peak1D['shape']>;
3
+ type Kind = Shape['kind'];
4
+ export declare const PEAKS_SHAPES: Array<{
5
+ label: string;
6
+ value: Kind;
7
+ }>;
2
8
  interface EditPeakShapeModalProps {
3
9
  onCloseDialog: () => void;
4
10
  peak?: Peak1D;
5
11
  }
6
- export declare function EditPeakShapeModal(props: EditPeakShapeModalProps): import("react/jsx-runtime").JSX.Element | undefined;
12
+ export declare function EditPeakShapeModal(props: EditPeakShapeModalProps): import("react").JSX.Element | undefined;
7
13
  export {};
8
14
  //# sourceMappingURL=EditPeakShapeModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditPeakShapeModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/EditPeakShapeModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgFlD,UAAU,uBAAuB;IAC/B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,uDAKhE"}
1
+ {"version":3,"file":"EditPeakShapeModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/EditPeakShapeModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAuBlD,KAAK,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAC1C,KAAK,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AA+B1B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,IAAI,CAAA;CAAE,CAiB9D,CAAC;AAQF,UAAU,uBAAuB;IAC/B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CAKhE"}
@@ -1,11 +1,12 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { DialogFooter } from '@blueprintjs/core';
3
+ import styled from '@emotion/styled';
3
4
  import { yupResolver } from '@hookform/resolvers/yup';
4
5
  import { useState } from 'react';
5
6
  import { useForm } from 'react-hook-form';
7
+ import { Button } from 'react-science/ui';
6
8
  import * as Yup from 'yup';
7
9
  import { useDispatch } from '../context/DispatchContext.js';
8
- import ActionButtons from '../elements/ActionButtons.js';
9
10
  import Label from '../elements/Label.js';
10
11
  import { NumberInput2Controller } from '../elements/NumberInput2Controller.js';
11
12
  import { Select2 } from '../elements/Select2.js';
@@ -14,6 +15,11 @@ import { StyledDialogBody } from '../elements/StyledDialogBody.js';
14
15
  import { useActiveNucleusTab } from '../hooks/useActiveNucleusTab.js';
15
16
  import { usePanelPreferences } from '../hooks/usePanelPreferences.js';
16
17
  import { formatNumber } from '../utility/formatNumber.js';
18
+ const FooterContainer = styled.div `
19
+ display: flex;
20
+ justify-content: flex-end;
21
+ gap: 5px;
22
+ `;
17
23
  function getKindDefaultValues(kind) {
18
24
  return {
19
25
  kind,
@@ -39,7 +45,7 @@ function validation(kind) {
39
45
  ...(kind === 'pseudoVoigt' && { mu: Yup.number().required() }),
40
46
  });
41
47
  }
42
- const KINDS = [
48
+ export const PEAKS_SHAPES = [
43
49
  {
44
50
  value: 'gaussian',
45
51
  label: 'Gaussian',
@@ -78,23 +84,25 @@ function InnerEditPeakShapeModal(props) {
78
84
  defaultValues: getValues(peak, kind),
79
85
  resolver: yupResolver(validation(kind)),
80
86
  });
81
- function changePeakShapeHandler(values) {
82
- dispatch({
83
- type: 'CHANGE_PEAK_SHAPE',
84
- payload: {
85
- id: peak.id,
86
- shape: {
87
- ...values,
87
+ function changePeakShapeHandler(applyToAll = false) {
88
+ void handleSubmit((values) => {
89
+ dispatch({
90
+ type: 'CHANGE_PEAK_SHAPE',
91
+ payload: {
92
+ id: !applyToAll ? peak.id : undefined,
93
+ shape: {
94
+ ...values,
95
+ },
88
96
  },
89
- },
90
- });
91
- onCloseDialog();
97
+ });
98
+ onCloseDialog();
99
+ })();
92
100
  }
93
101
  function handleChangeKind({ value }) {
94
102
  reset(getValues(peak, value));
95
103
  setKind(value);
96
104
  }
97
105
  const valuePPM = formatNumber(peak.x, peaksPreferences.deltaPPM.format);
98
- return (_jsxs(StandardDialog, { isOpen: true, style: { width: 400 }, onClose: onCloseDialog, title: `Peak Shape Edition ( ${valuePPM} PPM )`, children: [_jsx(StyledDialogBody, { padding: "1.5em 3em", children: _jsxs(_Fragment, { children: [_jsx(Label, { title: "Kind:", style: labelStyle, children: _jsx(Select2, { items: KINDS, selectedItemValue: kind, onItemSelect: handleChangeKind }) }), _jsx(Label, { title: "FWHM:", style: labelStyle, children: _jsx(NumberInput2Controller, { min: 0, control: control, name: "fwhm" }) }), kind === 'pseudoVoigt' && (_jsx(Label, { title: "Mu:", style: labelStyle, children: _jsx(NumberInput2Controller, { min: 0, control: control, name: "mu" }) })), kind === 'generalizedLorentzian' && (_jsx(Label, { title: "Gamma:", style: labelStyle, children: _jsx(NumberInput2Controller, { min: -1, max: 2, control: control, name: "gamma" }) }))] }) }), _jsx(DialogFooter, { children: _jsx(ActionButtons, { style: { flexDirection: 'row-reverse', margin: 0 }, onDone: () => handleSubmit(changePeakShapeHandler)(), doneLabel: "Save", onCancel: () => onCloseDialog?.() }) })] }));
106
+ return (_jsxs(StandardDialog, { isOpen: true, style: { width: 400 }, onClose: onCloseDialog, title: `Peak Shape Edition ( ${valuePPM} PPM )`, children: [_jsx(StyledDialogBody, { padding: "1.5em 3em", children: _jsxs(_Fragment, { children: [_jsx(Label, { title: "Kind:", style: labelStyle, children: _jsx(Select2, { items: PEAKS_SHAPES, selectedItemValue: kind, onItemSelect: handleChangeKind }) }), _jsx(Label, { title: "FWHM:", style: labelStyle, children: _jsx(NumberInput2Controller, { min: 0, control: control, name: "fwhm" }) }), kind === 'pseudoVoigt' && (_jsx(Label, { title: "Mu:", style: labelStyle, children: _jsx(NumberInput2Controller, { min: 0, control: control, name: "mu" }) })), kind === 'generalizedLorentzian' && (_jsx(Label, { title: "Gamma:", style: labelStyle, children: _jsx(NumberInput2Controller, { min: -1, max: 2, control: control, name: "gamma" }) }))] }) }), _jsx(DialogFooter, { children: _jsxs(FooterContainer, { children: [_jsx(Button, { variant: "outlined", intent: "danger", onClick: () => onCloseDialog?.(), children: "Cancel" }), _jsx(Button, { intent: "primary", onClick: () => changePeakShapeHandler(), children: "Apply" }), _jsx(Button, { intent: "success", "data-action": "apply", onClick: () => changePeakShapeHandler(true), children: "Apply to all" })] }) })] }));
99
107
  }
100
108
  //# sourceMappingURL=EditPeakShapeModal.js.map