nmrium 0.60.0 → 0.61.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 (3480) hide show
  1. package/lib/component/1d/ApodizationLine.d.ts +2 -2
  2. package/lib/component/1d/ApodizationLine.d.ts.map +1 -0
  3. package/lib/component/1d/ApodizationLine.js +30 -37
  4. package/lib/component/1d/ApodizationLine.js.map +1 -0
  5. package/lib/component/1d/BrushTracker1D.d.ts +4 -0
  6. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -0
  7. package/lib/component/1d/BrushTracker1D.js +371 -0
  8. package/lib/component/1d/BrushTracker1D.js.map +1 -0
  9. package/lib/component/1d/ExclusionZoneAnnotation.d.ts +3 -2
  10. package/lib/component/1d/ExclusionZoneAnnotation.d.ts.map +1 -0
  11. package/lib/component/1d/ExclusionZoneAnnotation.js +11 -11
  12. package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -0
  13. package/lib/component/1d/ExclusionZonesAnnotations.d.ts +1 -0
  14. package/lib/component/1d/ExclusionZonesAnnotations.d.ts.map +1 -0
  15. package/lib/component/1d/ExclusionZonesAnnotations.js +15 -13
  16. package/lib/component/1d/ExclusionZonesAnnotations.js.map +1 -0
  17. package/lib/component/1d/FloatPublicationString.d.ts +2 -0
  18. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -0
  19. package/lib/component/1d/FloatPublicationString.js +239 -0
  20. package/lib/component/1d/FloatPublicationString.js.map +1 -0
  21. package/lib/component/1d/FloatingRanges.d.ts +2 -0
  22. package/lib/component/1d/FloatingRanges.d.ts.map +1 -0
  23. package/lib/component/1d/FloatingRanges.js +266 -0
  24. package/lib/component/1d/FloatingRanges.js.map +1 -0
  25. package/lib/component/1d/FooterBanner.d.ts +2 -1
  26. package/lib/component/1d/FooterBanner.d.ts.map +1 -0
  27. package/lib/component/1d/FooterBanner.js +31 -75
  28. package/lib/component/1d/FooterBanner.js.map +1 -0
  29. package/lib/component/1d/Line.d.ts +2 -1
  30. package/lib/component/1d/Line.d.ts.map +1 -0
  31. package/lib/component/1d/Line.js +13 -6
  32. package/lib/component/1d/Line.js.map +1 -0
  33. package/lib/component/1d/LinesSeries.d.ts +2 -1
  34. package/lib/component/1d/LinesSeries.d.ts.map +1 -0
  35. package/lib/component/1d/LinesSeries.js +28 -20
  36. package/lib/component/1d/LinesSeries.js.map +1 -0
  37. package/lib/component/1d/SVGContent1D.d.ts +2 -0
  38. package/lib/component/1d/SVGContent1D.d.ts.map +1 -0
  39. package/lib/component/1d/SVGContent1D.js +25 -0
  40. package/lib/component/1d/SVGContent1D.js.map +1 -0
  41. package/lib/component/1d/SimilarityTree.d.ts +1 -0
  42. package/lib/component/1d/SimilarityTree.d.ts.map +1 -0
  43. package/lib/component/1d/SimilarityTree.js +6 -5
  44. package/lib/component/1d/SimilarityTree.js.map +1 -0
  45. package/lib/component/1d/SpectraLegends.d.ts +1 -0
  46. package/lib/component/1d/SpectraLegends.d.ts.map +1 -0
  47. package/lib/component/1d/SpectraLegends.js +22 -14
  48. package/lib/component/1d/SpectraLegends.js.map +1 -0
  49. package/lib/component/1d/Viewer1D.d.ts +8 -4
  50. package/lib/component/1d/Viewer1D.d.ts.map +1 -0
  51. package/lib/component/1d/Viewer1D.js +31 -345
  52. package/lib/component/1d/Viewer1D.js.map +1 -0
  53. package/lib/component/1d/XAxis1D.d.ts +6 -0
  54. package/lib/component/1d/XAxis1D.d.ts.map +1 -0
  55. package/lib/component/1d/XAxis1D.js +24 -0
  56. package/lib/component/1d/XAxis1D.js.map +1 -0
  57. package/lib/component/1d/database/DatabaseElements.d.ts +1 -0
  58. package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -0
  59. package/lib/component/1d/database/DatabaseElements.js +5 -4
  60. package/lib/component/1d/database/DatabaseElements.js.map +1 -0
  61. package/lib/component/1d/database/DatabaseSpectrum.d.ts +1 -0
  62. package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -0
  63. package/lib/component/1d/database/DatabaseSpectrum.js +15 -13
  64. package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -0
  65. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts +1 -0
  66. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -0
  67. package/lib/component/1d/database/ResurrectedDatabaseRanges.js +18 -16
  68. package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -0
  69. package/lib/component/1d/inset/DraggableInset.d.ts +3 -0
  70. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -0
  71. package/lib/component/1d/inset/DraggableInset.js +236 -0
  72. package/lib/component/1d/inset/DraggableInset.js.map +1 -0
  73. package/lib/component/1d/inset/InsetProvider.d.ts +19 -0
  74. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -0
  75. package/lib/component/1d/inset/InsetProvider.js +32 -0
  76. package/lib/component/1d/inset/InsetProvider.js.map +1 -0
  77. package/lib/component/1d/inset/InsetViewerRoot.d.ts +5 -0
  78. package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -0
  79. package/lib/component/1d/inset/InsetViewerRoot.js +11 -0
  80. package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -0
  81. package/lib/component/1d/inset/SpectraInsets.d.ts +25 -0
  82. package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -0
  83. package/lib/component/1d/inset/SpectraInsets.js +16 -0
  84. package/lib/component/1d/inset/SpectraInsets.js.map +1 -0
  85. package/lib/component/1d/integral/IntegralIndicator.d.ts +1 -0
  86. package/lib/component/1d/integral/IntegralIndicator.d.ts.map +1 -0
  87. package/lib/component/1d/integral/IntegralIndicator.js +3 -2
  88. package/lib/component/1d/integral/IntegralIndicator.js.map +1 -0
  89. package/lib/component/1d/integral/IntegralResizable.d.ts +3 -2
  90. package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -0
  91. package/lib/component/1d/integral/IntegralResizable.js +19 -37
  92. package/lib/component/1d/integral/IntegralResizable.js.map +1 -0
  93. package/lib/component/1d/integral/IntegralsSeries.d.ts +2 -1
  94. package/lib/component/1d/integral/IntegralsSeries.d.ts.map +1 -0
  95. package/lib/component/1d/integral/IntegralsSeries.js +6 -5
  96. package/lib/component/1d/integral/IntegralsSeries.js.map +1 -0
  97. package/lib/component/1d/integral/Integration.d.ts +2 -1
  98. package/lib/component/1d/integral/Integration.d.ts.map +1 -0
  99. package/lib/component/1d/integral/Integration.js +5 -4
  100. package/lib/component/1d/integral/Integration.js.map +1 -0
  101. package/lib/component/1d/jCouplingGraph/JGraph.d.ts +1 -0
  102. package/lib/component/1d/jCouplingGraph/JGraph.d.ts.map +1 -0
  103. package/lib/component/1d/jCouplingGraph/JGraph.js +13 -10
  104. package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -0
  105. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +2 -1
  106. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -0
  107. package/lib/component/1d/jCouplingGraph/JGraphContext.js +2 -1
  108. package/lib/component/1d/jCouplingGraph/JGraphContext.js.map +1 -0
  109. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts +1 -0
  110. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts.map +1 -0
  111. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js +14 -5
  112. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js.map +1 -0
  113. package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts +1 -0
  114. package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts.map +1 -0
  115. package/lib/component/1d/jCouplingGraph/JsCoupling.js +2 -1
  116. package/lib/component/1d/jCouplingGraph/JsCoupling.js.map +1 -0
  117. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts +2 -1
  118. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -0
  119. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js +3 -2
  120. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js.map +1 -0
  121. package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts +2 -1
  122. package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts.map +1 -0
  123. package/lib/component/1d/jCouplingGraph/JsCouplings.js +4 -3
  124. package/lib/component/1d/jCouplingGraph/JsCouplings.js.map +1 -0
  125. package/lib/component/1d/matrix/Boxplot.d.ts +1 -5
  126. package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -0
  127. package/lib/component/1d/matrix/Boxplot.js +11 -9
  128. package/lib/component/1d/matrix/Boxplot.js.map +1 -0
  129. package/lib/component/1d/matrix/Stocsy.d.ts +1 -4
  130. package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -0
  131. package/lib/component/1d/matrix/Stocsy.js +12 -10
  132. package/lib/component/1d/matrix/Stocsy.js.map +1 -0
  133. package/lib/component/1d/matrix/useMatrix.d.ts +4 -3
  134. package/lib/component/1d/matrix/useMatrix.d.ts.map +1 -0
  135. package/lib/component/1d/matrix/useMatrix.js +6 -7
  136. package/lib/component/1d/matrix/useMatrix.js.map +1 -0
  137. package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts +2 -1
  138. package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts.map +1 -0
  139. package/lib/component/1d/multiAnalysis/AnalysisRange.js +13 -39
  140. package/lib/component/1d/multiAnalysis/AnalysisRange.js.map +1 -0
  141. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts +1 -0
  142. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts.map +1 -0
  143. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.js +10 -9
  144. package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.js.map +1 -0
  145. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts +3 -2
  146. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts.map +1 -0
  147. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +69 -57
  148. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -0
  149. package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts +1 -0
  150. package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts.map +1 -0
  151. package/lib/component/1d/multiplicityTree/MultiplicityTrees.js +7 -8
  152. package/lib/component/1d/multiplicityTree/MultiplicityTrees.js.map +1 -0
  153. package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts +5 -3
  154. package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts.map +1 -0
  155. package/lib/component/1d/multiplicityTree/generateTreeNodes.js +4 -3
  156. package/lib/component/1d/multiplicityTree/generateTreeNodes.js.map +1 -0
  157. package/lib/component/1d/peaks/PeakAnnotations.d.ts +2 -9
  158. package/lib/component/1d/peaks/PeakAnnotations.d.ts.map +1 -0
  159. package/lib/component/1d/peaks/PeakAnnotations.js +15 -13
  160. package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -0
  161. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts +9 -3
  162. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -0
  163. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +100 -25
  164. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -0
  165. package/lib/component/1d/peaks/PeakEditionManager.d.ts +3 -2
  166. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -0
  167. package/lib/component/1d/peaks/PeakEditionManager.js +10 -5
  168. package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -0
  169. package/lib/component/1d/peaks/Peaks.d.ts +4 -4
  170. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -0
  171. package/lib/component/1d/peaks/Peaks.js +21 -13
  172. package/lib/component/1d/peaks/Peaks.js.map +1 -0
  173. package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -0
  174. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -0
  175. package/lib/component/1d/peaks/PeaksShapes.js +7 -8
  176. package/lib/component/1d/peaks/PeaksShapes.js.map +1 -0
  177. package/lib/component/1d/peaks/usePeakShapesPath.d.ts +3 -2
  178. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -0
  179. package/lib/component/1d/peaks/usePeakShapesPath.js +5 -4
  180. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -0
  181. package/lib/component/1d/ranges/AssignmentLabel.d.ts +2 -1
  182. package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -0
  183. package/lib/component/1d/ranges/AssignmentLabel.js +6 -5
  184. package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -0
  185. package/lib/component/1d/ranges/Atoms.d.ts +2 -1
  186. package/lib/component/1d/ranges/Atoms.d.ts.map +1 -0
  187. package/lib/component/1d/ranges/Atoms.js +5 -4
  188. package/lib/component/1d/ranges/Atoms.js.map +1 -0
  189. package/lib/component/1d/ranges/Range.d.ts +3 -3
  190. package/lib/component/1d/ranges/Range.d.ts.map +1 -0
  191. package/lib/component/1d/ranges/Range.js +54 -51
  192. package/lib/component/1d/ranges/Range.js.map +1 -0
  193. package/lib/component/1d/ranges/Ranges.d.ts +1 -0
  194. package/lib/component/1d/ranges/Ranges.d.ts.map +1 -0
  195. package/lib/component/1d/ranges/Ranges.js +11 -11
  196. package/lib/component/1d/ranges/Ranges.js.map +1 -0
  197. package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -0
  198. package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -0
  199. package/lib/component/1d/ranges/RangesIntegrals.js +7 -6
  200. package/lib/component/1d/ranges/RangesIntegrals.js.map +1 -0
  201. package/lib/component/1d/tool/BaseLine.d.ts +1 -0
  202. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -0
  203. package/lib/component/1d/tool/BaseLine.js +9 -6
  204. package/lib/component/1d/tool/BaseLine.js.map +1 -0
  205. package/lib/component/1d/tool/BaseLineZones.d.ts +1 -0
  206. package/lib/component/1d/tool/BaseLineZones.d.ts.map +1 -0
  207. package/lib/component/1d/tool/BaseLineZones.js +11 -6
  208. package/lib/component/1d/tool/BaseLineZones.js.map +1 -0
  209. package/lib/component/1d/tool/PeakPointer.d.ts +1 -0
  210. package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -0
  211. package/lib/component/1d/tool/PeakPointer.js +9 -8
  212. package/lib/component/1d/tool/PeakPointer.js.map +1 -0
  213. package/lib/component/1d/tool/PivotIndicator1D.d.ts +2 -0
  214. package/lib/component/1d/tool/PivotIndicator1D.d.ts.map +1 -0
  215. package/lib/component/1d/tool/PivotIndicator1D.js +31 -0
  216. package/lib/component/1d/tool/PivotIndicator1D.js.map +1 -0
  217. package/lib/component/1d/tool/XLabelPointer.d.ts +1 -0
  218. package/lib/component/1d/tool/XLabelPointer.d.ts.map +1 -0
  219. package/lib/component/1d/tool/XLabelPointer.js +7 -6
  220. package/lib/component/1d/tool/XLabelPointer.js.map +1 -0
  221. package/lib/component/1d/utilities/intersectionResolver.d.ts +1 -0
  222. package/lib/component/1d/utilities/intersectionResolver.d.ts.map +1 -0
  223. package/lib/component/1d/utilities/intersectionResolver.js +8 -2
  224. package/lib/component/1d/utilities/intersectionResolver.js.map +1 -0
  225. package/lib/component/1d/utilities/scale.d.ts +16 -14
  226. package/lib/component/1d/utilities/scale.d.ts.map +1 -0
  227. package/lib/component/1d/utilities/scale.js +28 -23
  228. package/lib/component/1d/utilities/scale.js.map +1 -0
  229. package/lib/component/1d-2d/FieldEdition.d.ts +4 -4
  230. package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -0
  231. package/lib/component/1d-2d/FieldEdition.js +11 -10
  232. package/lib/component/1d-2d/FieldEdition.js.map +1 -0
  233. package/lib/component/1d-2d/components/ClipPathContainer.d.ts +4 -0
  234. package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -0
  235. package/lib/component/1d-2d/components/ClipPathContainer.js +9 -0
  236. package/lib/component/1d-2d/components/ClipPathContainer.js.map +1 -0
  237. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +7 -6
  238. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -0
  239. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +83 -36
  240. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -0
  241. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts +2 -0
  242. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -0
  243. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +39 -0
  244. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -0
  245. package/lib/component/1d-2d/components/SVGRootContainer.d.ts +11 -0
  246. package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -0
  247. package/lib/component/1d-2d/components/SVGRootContainer.js +19 -0
  248. package/lib/component/1d-2d/components/SVGRootContainer.js.map +1 -0
  249. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +2 -1
  250. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -0
  251. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +23 -21
  252. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -0
  253. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.d.ts +9 -0
  254. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.d.ts.map +1 -0
  255. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.js +15 -0
  256. package/lib/component/1d-2d/components/ViewerResponsiveWrapper.js.map +1 -0
  257. package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -0
  258. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -0
  259. package/lib/component/1d-2d/tools/BrushXY.js +9 -3
  260. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -0
  261. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -0
  262. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -0
  263. package/lib/component/1d-2d/tools/CrossLinePointer.js +11 -5
  264. package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -0
  265. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts +3 -2
  266. package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -0
  267. package/lib/component/2d/1d-tracer/HorizontalSliceChart.js +9 -8
  268. package/lib/component/2d/1d-tracer/HorizontalSliceChart.js.map +1 -0
  269. package/lib/component/2d/1d-tracer/Left1DChart.d.ts +2 -1
  270. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -0
  271. package/lib/component/2d/1d-tracer/Left1DChart.js +5 -4
  272. package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -0
  273. package/lib/component/2d/1d-tracer/Top1DChart.d.ts +2 -1
  274. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -0
  275. package/lib/component/2d/1d-tracer/Top1DChart.js +5 -4
  276. package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -0
  277. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts +2 -1
  278. package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -0
  279. package/lib/component/2d/1d-tracer/VerticalSliceChart.js +5 -4
  280. package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -0
  281. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts +1 -0
  282. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts.map +1 -0
  283. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.js +3 -2
  284. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.js.map +1 -0
  285. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts +1 -0
  286. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts.map +1 -0
  287. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.js +5 -4
  288. package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.js.map +1 -0
  289. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts +2 -1
  290. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -0
  291. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js +10 -10
  292. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -0
  293. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts +2 -1
  294. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -0
  295. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js +10 -9
  296. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js.map +1 -0
  297. package/lib/component/2d/1d-tracer/phase-correction-traces/index.d.ts +2 -1
  298. package/lib/component/2d/1d-tracer/phase-correction-traces/index.d.ts.map +1 -0
  299. package/lib/component/2d/1d-tracer/phase-correction-traces/index.js +2 -1
  300. package/lib/component/2d/1d-tracer/phase-correction-traces/index.js.map +1 -0
  301. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.d.ts +7 -8
  302. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.d.ts.map +1 -0
  303. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.js +3 -2
  304. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.js.map +1 -0
  305. package/lib/component/2d/BrushTracker2D.d.ts +4 -0
  306. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -0
  307. package/lib/component/2d/BrushTracker2D.js +153 -0
  308. package/lib/component/2d/BrushTracker2D.js.map +1 -0
  309. package/lib/component/2d/FooterBanner.d.ts +2 -1
  310. package/lib/component/2d/FooterBanner.d.ts.map +1 -0
  311. package/lib/component/2d/FooterBanner.js +23 -62
  312. package/lib/component/2d/FooterBanner.js.map +1 -0
  313. package/lib/component/2d/SVGContent2D.d.ts +7 -0
  314. package/lib/component/2d/SVGContent2D.d.ts.map +1 -0
  315. package/lib/component/2d/SVGContent2D.js +15 -0
  316. package/lib/component/2d/SVGContent2D.js.map +1 -0
  317. package/lib/component/2d/SignalDeltaLine.d.ts +2 -1
  318. package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -0
  319. package/lib/component/2d/SignalDeltaLine.js +8 -8
  320. package/lib/component/2d/SignalDeltaLine.js.map +1 -0
  321. package/lib/component/2d/SlicingView.d.ts +1 -0
  322. package/lib/component/2d/SlicingView.d.ts.map +1 -0
  323. package/lib/component/2d/SlicingView.js +8 -7
  324. package/lib/component/2d/SlicingView.js.map +1 -0
  325. package/lib/component/2d/Viewer2D.d.ts +5 -9
  326. package/lib/component/2d/Viewer2D.d.ts.map +1 -0
  327. package/lib/component/2d/Viewer2D.js +26 -164
  328. package/lib/component/2d/Viewer2D.js.map +1 -0
  329. package/lib/component/2d/XAxis.d.ts +2 -2
  330. package/lib/component/2d/XAxis.d.ts.map +1 -0
  331. package/lib/component/2d/XAxis.js +11 -29
  332. package/lib/component/2d/XAxis.js.map +1 -0
  333. package/lib/component/2d/YAxis.d.ts +2 -2
  334. package/lib/component/2d/YAxis.d.ts.map +1 -0
  335. package/lib/component/2d/YAxis.js +12 -32
  336. package/lib/component/2d/YAxis.js.map +1 -0
  337. package/lib/component/2d/fid/FidCanvas.d.ts +2 -1
  338. package/lib/component/2d/fid/FidCanvas.d.ts.map +1 -0
  339. package/lib/component/2d/fid/FidCanvas.js +55 -64
  340. package/lib/component/2d/fid/FidCanvas.js.map +1 -0
  341. package/lib/component/2d/fid/FidContainer.d.ts +1 -0
  342. package/lib/component/2d/fid/FidContainer.d.ts.map +1 -0
  343. package/lib/component/2d/fid/FidContainer.js +11 -9
  344. package/lib/component/2d/fid/FidContainer.js.map +1 -0
  345. package/lib/component/2d/ft/Contours.d.ts +1 -0
  346. package/lib/component/2d/ft/Contours.d.ts.map +1 -0
  347. package/lib/component/2d/ft/Contours.js +14 -13
  348. package/lib/component/2d/ft/Contours.js.map +1 -0
  349. package/lib/component/2d/ft/FTContainer.d.ts +2 -1
  350. package/lib/component/2d/ft/FTContainer.d.ts.map +1 -0
  351. package/lib/component/2d/ft/FTContainer.js +9 -6
  352. package/lib/component/2d/ft/FTContainer.js.map +1 -0
  353. package/lib/component/2d/tools/PivotIndicator.d.ts +1 -0
  354. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -0
  355. package/lib/component/2d/tools/PivotIndicator.js +14 -11
  356. package/lib/component/2d/tools/PivotIndicator.js.map +1 -0
  357. package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -0
  358. package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -0
  359. package/lib/component/2d/tools/XYLabelPointer.js +9 -7
  360. package/lib/component/2d/tools/XYLabelPointer.js.map +1 -0
  361. package/lib/component/2d/useTracesSpectra.d.ts +3 -0
  362. package/lib/component/2d/useTracesSpectra.d.ts.map +1 -0
  363. package/lib/component/2d/useTracesSpectra.js +21 -0
  364. package/lib/component/2d/useTracesSpectra.js.map +1 -0
  365. package/lib/component/2d/utilities/DimensionLayout.d.ts +2 -3
  366. package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -0
  367. package/lib/component/2d/utilities/DimensionLayout.js +1 -0
  368. package/lib/component/2d/utilities/DimensionLayout.js.map +1 -0
  369. package/lib/component/2d/utilities/scale.d.ts +4 -21
  370. package/lib/component/2d/utilities/scale.d.ts.map +1 -0
  371. package/lib/component/2d/utilities/scale.js +6 -22
  372. package/lib/component/2d/utilities/scale.js.map +1 -0
  373. package/lib/component/2d/zones/IndicationLines.d.ts +2 -1
  374. package/lib/component/2d/zones/IndicationLines.d.ts.map +1 -0
  375. package/lib/component/2d/zones/IndicationLines.js +16 -12
  376. package/lib/component/2d/zones/IndicationLines.js.map +1 -0
  377. package/lib/component/2d/zones/Signal.d.ts +3 -3
  378. package/lib/component/2d/zones/Signal.d.ts.map +1 -0
  379. package/lib/component/2d/zones/Signal.js +15 -13
  380. package/lib/component/2d/zones/Signal.js.map +1 -0
  381. package/lib/component/2d/zones/SignalCrosshair.d.ts +3 -3
  382. package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -0
  383. package/lib/component/2d/zones/SignalCrosshair.js +5 -4
  384. package/lib/component/2d/zones/SignalCrosshair.js.map +1 -0
  385. package/lib/component/2d/zones/Zone.d.ts +3 -2
  386. package/lib/component/2d/zones/Zone.d.ts.map +1 -0
  387. package/lib/component/2d/zones/Zone.js +21 -49
  388. package/lib/component/2d/zones/Zone.js.map +1 -0
  389. package/lib/component/2d/zones/Zones.d.ts +1 -0
  390. package/lib/component/2d/zones/Zones.d.ts.map +1 -0
  391. package/lib/component/2d/zones/Zones.js +6 -7
  392. package/lib/component/2d/zones/Zones.js.map +1 -0
  393. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts +1 -6
  394. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -0
  395. package/lib/component/2d/zones/ZonesAssignmentsLabels.js +16 -17
  396. package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -0
  397. package/lib/component/EventsTrackers/BrushTracker.d.ts +6 -6
  398. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -0
  399. package/lib/component/EventsTrackers/BrushTracker.js +52 -44
  400. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -0
  401. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +2 -1
  402. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -0
  403. package/lib/component/EventsTrackers/KeysListenerTracker.js +38 -40
  404. package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -0
  405. package/lib/component/EventsTrackers/MouseTracker.d.ts +2 -2
  406. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -0
  407. package/lib/component/EventsTrackers/MouseTracker.js +3 -2
  408. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -0
  409. package/lib/component/SVGTable.d.ts +29 -0
  410. package/lib/component/SVGTable.d.ts.map +1 -0
  411. package/lib/component/SVGTable.js +119 -0
  412. package/lib/component/SVGTable.js.map +1 -0
  413. package/lib/component/assignment/AssignmentProvider.d.ts +7 -0
  414. package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -0
  415. package/lib/component/assignment/AssignmentProvider.js +46 -0
  416. package/lib/component/assignment/AssignmentProvider.js.map +1 -0
  417. package/lib/component/assignment/AssignmentsContext.d.ts +56 -25
  418. package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -0
  419. package/lib/component/assignment/AssignmentsContext.js +26 -77
  420. package/lib/component/assignment/AssignmentsContext.js.map +1 -0
  421. package/lib/component/assignment/utilities/filterForIDsWithAssignment.d.ts +2 -1
  422. package/lib/component/assignment/utilities/filterForIDsWithAssignment.d.ts.map +1 -0
  423. package/lib/component/assignment/utilities/filterForIDsWithAssignment.js +1 -0
  424. package/lib/component/assignment/utilities/filterForIDsWithAssignment.js.map +1 -0
  425. package/lib/component/assignment/utilities/getAssignments.d.ts +4 -0
  426. package/lib/component/assignment/utilities/getAssignments.d.ts.map +1 -0
  427. package/lib/component/assignment/utilities/getAssignments.js +55 -0
  428. package/lib/component/assignment/utilities/getAssignments.js.map +1 -0
  429. package/lib/component/context/ChartContext.d.ts +2 -2
  430. package/lib/component/context/ChartContext.d.ts.map +1 -0
  431. package/lib/component/context/ChartContext.js +10 -6
  432. package/lib/component/context/ChartContext.js.map +1 -0
  433. package/lib/component/context/DispatchContext.d.ts +22 -21
  434. package/lib/component/context/DispatchContext.d.ts.map +1 -0
  435. package/lib/component/context/DispatchContext.js +2 -1
  436. package/lib/component/context/DispatchContext.js.map +1 -0
  437. package/lib/component/context/FilterSyncOptionsContext.d.ts +15 -0
  438. package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -0
  439. package/lib/component/context/FilterSyncOptionsContext.js +56 -0
  440. package/lib/component/context/FilterSyncOptionsContext.js.map +1 -0
  441. package/lib/component/context/GlobalContext.d.ts +1 -5
  442. package/lib/component/context/GlobalContext.d.ts.map +1 -0
  443. package/lib/component/context/GlobalContext.js +9 -2
  444. package/lib/component/context/GlobalContext.js.map +1 -0
  445. package/lib/component/context/KeyModifierContext.d.ts +2 -3
  446. package/lib/component/context/KeyModifierContext.d.ts.map +1 -0
  447. package/lib/component/context/KeyModifierContext.js +5 -4
  448. package/lib/component/context/KeyModifierContext.js.map +1 -0
  449. package/lib/component/context/LoaderContext.d.ts +1 -0
  450. package/lib/component/context/LoaderContext.d.ts.map +1 -0
  451. package/lib/component/context/LoaderContext.js +1 -0
  452. package/lib/component/context/LoaderContext.js.map +1 -0
  453. package/lib/component/context/LoggerContext.d.ts +4 -8
  454. package/lib/component/context/LoggerContext.d.ts.map +1 -0
  455. package/lib/component/context/LoggerContext.js +5 -4
  456. package/lib/component/context/LoggerContext.js.map +1 -0
  457. package/lib/component/context/PreferencesContext.d.ts +4 -3
  458. package/lib/component/context/PreferencesContext.d.ts.map +1 -0
  459. package/lib/component/context/PreferencesContext.js +4 -3
  460. package/lib/component/context/PreferencesContext.js.map +1 -0
  461. package/lib/component/context/ScaleContext.d.ts +12 -3
  462. package/lib/component/context/ScaleContext.d.ts.map +1 -0
  463. package/lib/component/context/ScaleContext.js +73 -5
  464. package/lib/component/context/ScaleContext.js.map +1 -0
  465. package/lib/component/context/ShareDataContext.d.ts +3 -2
  466. package/lib/component/context/ShareDataContext.d.ts.map +1 -0
  467. package/lib/component/context/ShareDataContext.js +1 -0
  468. package/lib/component/context/ShareDataContext.js.map +1 -0
  469. package/lib/component/context/SortSpectraContext.d.ts +41 -0
  470. package/lib/component/context/SortSpectraContext.d.ts.map +1 -0
  471. package/lib/component/context/SortSpectraContext.js +169 -0
  472. package/lib/component/context/SortSpectraContext.js.map +1 -0
  473. package/lib/component/context/ToasterContext.d.ts +4 -2
  474. package/lib/component/context/ToasterContext.d.ts.map +1 -0
  475. package/lib/component/context/ToasterContext.js +2 -1
  476. package/lib/component/context/ToasterContext.js.map +1 -0
  477. package/lib/component/context/TopicMoleculeContext.d.ts +2 -1
  478. package/lib/component/context/TopicMoleculeContext.d.ts.map +1 -0
  479. package/lib/component/context/TopicMoleculeContext.js +2 -1
  480. package/lib/component/context/TopicMoleculeContext.js.map +1 -0
  481. package/lib/component/elements/ActionButtons.d.ts +2 -1
  482. package/lib/component/elements/ActionButtons.d.ts.map +1 -0
  483. package/lib/component/elements/ActionButtons.js +2 -1
  484. package/lib/component/elements/ActionButtons.js.map +1 -0
  485. package/lib/component/elements/ActionsButtonsPopover.d.ts +18 -12
  486. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -0
  487. package/lib/component/elements/ActionsButtonsPopover.js +53 -17
  488. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -0
  489. package/lib/component/elements/Alert.d.ts +5 -5
  490. package/lib/component/elements/Alert.d.ts.map +1 -0
  491. package/lib/component/elements/Alert.js +7 -8
  492. package/lib/component/elements/Alert.js.map +1 -0
  493. package/lib/component/elements/AssignmentsCell.d.ts +10 -0
  494. package/lib/component/elements/AssignmentsCell.d.ts.map +1 -0
  495. package/lib/component/elements/AssignmentsCell.js +22 -0
  496. package/lib/component/elements/AssignmentsCell.js.map +1 -0
  497. package/lib/component/elements/Button.d.ts +10 -9
  498. package/lib/component/elements/Button.d.ts.map +1 -0
  499. package/lib/component/elements/Button.js +1 -3
  500. package/lib/component/elements/Button.js.map +1 -0
  501. package/lib/component/elements/CheckController.d.ts +8 -0
  502. package/lib/component/elements/CheckController.d.ts.map +1 -0
  503. package/lib/component/elements/CheckController.js +11 -0
  504. package/lib/component/elements/CheckController.js.map +1 -0
  505. package/lib/component/elements/CloseButton.d.ts +3 -2
  506. package/lib/component/elements/CloseButton.d.ts.map +1 -0
  507. package/lib/component/elements/CloseButton.js +2 -1
  508. package/lib/component/elements/CloseButton.js.map +1 -0
  509. package/lib/component/elements/ColorPickerDropdownController.d.ts +2 -1
  510. package/lib/component/elements/ColorPickerDropdownController.d.ts.map +1 -0
  511. package/lib/component/elements/ColorPickerDropdownController.js +1 -0
  512. package/lib/component/elements/ColorPickerDropdownController.js.map +1 -0
  513. package/lib/component/elements/ColumnWrapper.d.ts +1 -0
  514. package/lib/component/elements/ColumnWrapper.d.ts.map +1 -0
  515. package/lib/component/elements/ColumnWrapper.js +1 -0
  516. package/lib/component/elements/ColumnWrapper.js.map +1 -0
  517. package/lib/component/elements/ContainerQueryWrapper.d.ts +10 -0
  518. package/lib/component/elements/ContainerQueryWrapper.d.ts.map +1 -0
  519. package/lib/component/elements/ContainerQueryWrapper.js +26 -0
  520. package/lib/component/elements/ContainerQueryWrapper.js.map +1 -0
  521. package/lib/component/elements/ContextMenuBluePrint.d.ts +5 -4
  522. package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -0
  523. package/lib/component/elements/ContextMenuBluePrint.js +2 -1
  524. package/lib/component/elements/ContextMenuBluePrint.js.map +1 -0
  525. package/lib/component/elements/D3Axis.d.ts +20 -0
  526. package/lib/component/elements/D3Axis.d.ts.map +1 -0
  527. package/lib/component/elements/D3Axis.js +76 -0
  528. package/lib/component/elements/D3Axis.js.map +1 -0
  529. package/lib/component/elements/DialogManager.d.ts +1 -0
  530. package/lib/component/elements/DialogManager.d.ts.map +1 -0
  531. package/lib/component/elements/DialogManager.js +1 -0
  532. package/lib/component/elements/DialogManager.js.map +1 -0
  533. package/lib/component/elements/DraggableDialog.d.ts +4 -4
  534. package/lib/component/elements/DraggableDialog.d.ts.map +1 -0
  535. package/lib/component/elements/DraggableDialog.js +14 -16
  536. package/lib/component/elements/DraggableDialog.js.map +1 -0
  537. package/lib/component/elements/EditableColumn.d.ts +12 -9
  538. package/lib/component/elements/EditableColumn.d.ts.map +1 -0
  539. package/lib/component/elements/EditableColumn.js +77 -46
  540. package/lib/component/elements/EditableColumn.js.map +1 -0
  541. package/lib/component/elements/EmptyText.d.ts +11 -0
  542. package/lib/component/elements/EmptyText.d.ts.map +1 -0
  543. package/lib/component/elements/EmptyText.js +21 -0
  544. package/lib/component/elements/EmptyText.js.map +1 -0
  545. package/lib/component/elements/Footer.d.ts +40 -0
  546. package/lib/component/elements/Footer.d.ts.map +1 -0
  547. package/lib/component/elements/Footer.js +43 -0
  548. package/lib/component/elements/Footer.js.map +1 -0
  549. package/lib/component/elements/FormatField.d.ts +13 -0
  550. package/lib/component/elements/FormatField.d.ts.map +1 -0
  551. package/lib/component/elements/FormatField.js +27 -0
  552. package/lib/component/elements/FormatField.js.map +1 -0
  553. package/lib/component/elements/GroupPane.d.ts +2 -1
  554. package/lib/component/elements/GroupPane.d.ts.map +1 -0
  555. package/lib/component/elements/GroupPane.js +1 -0
  556. package/lib/component/elements/GroupPane.js.map +1 -0
  557. package/lib/component/elements/HeaderContainer.d.ts +12 -0
  558. package/lib/component/elements/HeaderContainer.d.ts.map +1 -0
  559. package/lib/component/elements/HeaderContainer.js +16 -0
  560. package/lib/component/elements/HeaderContainer.js.map +1 -0
  561. package/lib/component/elements/Input.d.ts +3 -2
  562. package/lib/component/elements/Input.d.ts.map +1 -0
  563. package/lib/component/elements/Input.js +4 -3
  564. package/lib/component/elements/Input.js.map +1 -0
  565. package/lib/component/elements/Input2.d.ts +2 -1
  566. package/lib/component/elements/Input2.d.ts.map +1 -0
  567. package/lib/component/elements/Input2.js +6 -9
  568. package/lib/component/elements/Input2.js.map +1 -0
  569. package/lib/component/elements/Input2Controller.d.ts +5 -5
  570. package/lib/component/elements/Input2Controller.d.ts.map +1 -0
  571. package/lib/component/elements/Input2Controller.js +14 -11
  572. package/lib/component/elements/Input2Controller.js.map +1 -0
  573. package/lib/component/elements/InputRange.d.ts +2 -1
  574. package/lib/component/elements/InputRange.d.ts.map +1 -0
  575. package/lib/component/elements/InputRange.js +6 -5
  576. package/lib/component/elements/InputRange.js.map +1 -0
  577. package/lib/component/elements/IsotopesViewer.d.ts +2 -1
  578. package/lib/component/elements/IsotopesViewer.d.ts.map +1 -0
  579. package/lib/component/elements/IsotopesViewer.js +1 -0
  580. package/lib/component/elements/IsotopesViewer.js.map +1 -0
  581. package/lib/component/elements/Label.d.ts +6 -4
  582. package/lib/component/elements/Label.d.ts.map +1 -0
  583. package/lib/component/elements/Label.js +17 -6
  584. package/lib/component/elements/Label.js.map +1 -0
  585. package/lib/component/elements/Logo.d.ts +1 -0
  586. package/lib/component/elements/Logo.d.ts.map +1 -0
  587. package/lib/component/elements/Logo.js +1 -0
  588. package/lib/component/elements/Logo.js.map +1 -0
  589. package/lib/component/elements/MoleculeSelection.d.ts +3 -2
  590. package/lib/component/elements/MoleculeSelection.d.ts.map +1 -0
  591. package/lib/component/elements/MoleculeSelection.js +29 -30
  592. package/lib/component/elements/MoleculeSelection.js.map +1 -0
  593. package/lib/component/elements/NextPrev.d.ts +3 -2
  594. package/lib/component/elements/NextPrev.d.ts.map +1 -0
  595. package/lib/component/elements/NextPrev.js +40 -36
  596. package/lib/component/elements/NextPrev.js.map +1 -0
  597. package/lib/component/elements/NumberInput2.d.ts +4 -4
  598. package/lib/component/elements/NumberInput2.d.ts.map +1 -0
  599. package/lib/component/elements/NumberInput2.js +19 -8
  600. package/lib/component/elements/NumberInput2.js.map +1 -0
  601. package/lib/component/elements/NumberInput2Controller.d.ts +5 -3
  602. package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -0
  603. package/lib/component/elements/NumberInput2Controller.js +16 -5
  604. package/lib/component/elements/NumberInput2Controller.js.map +1 -0
  605. package/lib/component/elements/ReactTable/BaseReactTable.d.ts +5 -0
  606. package/lib/component/elements/ReactTable/BaseReactTable.d.ts.map +1 -0
  607. package/lib/component/elements/ReactTable/BaseReactTable.js +36 -0
  608. package/lib/component/elements/ReactTable/BaseReactTable.js.map +1 -0
  609. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +1 -0
  610. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -0
  611. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js +1 -0
  612. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -0
  613. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +2 -1
  614. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +1 -0
  615. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js +1 -0
  616. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +1 -0
  617. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +3 -2
  618. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -0
  619. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +3 -3
  620. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -0
  621. package/lib/component/elements/ReactTable/ReactTable.d.ts +19 -16
  622. package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -0
  623. package/lib/component/elements/ReactTable/ReactTable.js +27 -20
  624. package/lib/component/elements/ReactTable/ReactTable.js.map +1 -0
  625. package/lib/component/elements/ReactTable/utility/ReactTableContext.d.ts +2 -1
  626. package/lib/component/elements/ReactTable/utility/ReactTableContext.d.ts.map +1 -0
  627. package/lib/component/elements/ReactTable/utility/ReactTableContext.js +1 -0
  628. package/lib/component/elements/ReactTable/utility/ReactTableContext.js.map +1 -0
  629. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +3 -2
  630. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -0
  631. package/lib/component/elements/ReactTable/utility/addCustomColumn.js +2 -2
  632. package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +1 -0
  633. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +1 -0
  634. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +1 -0
  635. package/lib/component/elements/ReactTable/utility/useRowSpan.js +1 -0
  636. package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +1 -0
  637. package/lib/component/elements/ReadOnly.d.ts +10 -0
  638. package/lib/component/elements/ReadOnly.d.ts.map +1 -0
  639. package/lib/component/elements/ReadOnly.js +47 -0
  640. package/lib/component/elements/ReadOnly.js.map +1 -0
  641. package/lib/component/elements/ResizerWithScale.d.ts +2 -1
  642. package/lib/component/elements/ResizerWithScale.d.ts.map +1 -0
  643. package/lib/component/elements/ResizerWithScale.js +4 -3
  644. package/lib/component/elements/ResizerWithScale.js.map +1 -0
  645. package/lib/component/elements/SVGButton.d.ts +3 -2
  646. package/lib/component/elements/SVGButton.d.ts.map +1 -0
  647. package/lib/component/elements/SVGButton.js +1 -0
  648. package/lib/component/elements/SVGButton.js.map +1 -0
  649. package/lib/component/elements/SVGGroup.d.ts +2 -1
  650. package/lib/component/elements/SVGGroup.d.ts.map +1 -0
  651. package/lib/component/elements/SVGGroup.js +2 -1
  652. package/lib/component/elements/SVGGroup.js.map +1 -0
  653. package/lib/component/elements/SVGText.d.ts +2 -1
  654. package/lib/component/elements/SVGText.d.ts.map +1 -0
  655. package/lib/component/elements/SVGText.js +1 -0
  656. package/lib/component/elements/SVGText.js.map +1 -0
  657. package/lib/component/elements/SaveButton.d.ts +2 -1
  658. package/lib/component/elements/SaveButton.d.ts.map +1 -0
  659. package/lib/component/elements/SaveButton.js +2 -1
  660. package/lib/component/elements/SaveButton.js.map +1 -0
  661. package/lib/component/elements/Scroller.d.ts +2 -1
  662. package/lib/component/elements/Scroller.d.ts.map +1 -0
  663. package/lib/component/elements/Scroller.js +1 -0
  664. package/lib/component/elements/Scroller.js.map +1 -0
  665. package/lib/component/elements/Sections.d.ts +38 -0
  666. package/lib/component/elements/Sections.d.ts.map +1 -0
  667. package/lib/component/elements/Sections.js +150 -0
  668. package/lib/component/elements/Sections.js.map +1 -0
  669. package/lib/component/elements/Select.d.ts +3 -2
  670. package/lib/component/elements/Select.d.ts.map +1 -0
  671. package/lib/component/elements/Select.js +25 -30
  672. package/lib/component/elements/Select.js.map +1 -0
  673. package/lib/component/elements/Select2.d.ts +7 -6
  674. package/lib/component/elements/Select2.d.ts.map +1 -0
  675. package/lib/component/elements/Select2.js +9 -3
  676. package/lib/component/elements/Select2.js.map +1 -0
  677. package/lib/component/elements/Select2Controller.d.ts +3 -2
  678. package/lib/component/elements/Select2Controller.d.ts.map +1 -0
  679. package/lib/component/elements/Select2Controller.js +2 -1
  680. package/lib/component/elements/Select2Controller.js.map +1 -0
  681. package/lib/component/elements/StyledDialogBody.d.ts +5 -0
  682. package/lib/component/elements/StyledDialogBody.d.ts.map +1 -0
  683. package/lib/component/elements/StyledDialogBody.js +8 -0
  684. package/lib/component/elements/StyledDialogBody.js.map +1 -0
  685. package/lib/component/elements/Tab/DeleteButton.d.ts +3 -2
  686. package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -0
  687. package/lib/component/elements/Tab/DeleteButton.js +5 -5
  688. package/lib/component/elements/Tab/DeleteButton.js.map +1 -0
  689. package/lib/component/elements/Tab/Tab.d.ts +6 -4
  690. package/lib/component/elements/Tab/Tab.d.ts.map +1 -0
  691. package/lib/component/elements/Tab/Tab.js +2 -2
  692. package/lib/component/elements/Tab/Tab.js.map +1 -0
  693. package/lib/component/elements/Tab/Tabs.d.ts +4 -3
  694. package/lib/component/elements/Tab/Tabs.d.ts.map +1 -0
  695. package/lib/component/elements/Tab/Tabs.js +3 -2
  696. package/lib/component/elements/Tab/Tabs.js.map +1 -0
  697. package/lib/component/elements/TabTitle.d.ts +4 -4
  698. package/lib/component/elements/TabTitle.d.ts.map +1 -0
  699. package/lib/component/elements/TabTitle.js +3 -3
  700. package/lib/component/elements/TabTitle.js.map +1 -0
  701. package/lib/component/elements/ToolBarButton.d.ts +2 -1
  702. package/lib/component/elements/ToolBarButton.d.ts.map +1 -0
  703. package/lib/component/elements/ToolBarButton.js +1 -0
  704. package/lib/component/elements/ToolBarButton.js.map +1 -0
  705. package/lib/component/elements/ToolbarPopoverItem.d.ts +5 -4
  706. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -0
  707. package/lib/component/elements/ToolbarPopoverItem.js +2 -1
  708. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -0
  709. package/lib/component/elements/draggable/useDraggable.d.ts +1 -0
  710. package/lib/component/elements/draggable/useDraggable.d.ts.map +1 -0
  711. package/lib/component/elements/draggable/useDraggable.js +5 -4
  712. package/lib/component/elements/draggable/useDraggable.js.map +1 -0
  713. package/lib/component/elements/dropDownButton/DropDownButton.d.ts +3 -2
  714. package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -0
  715. package/lib/component/elements/dropDownButton/DropDownButton.js +10 -9
  716. package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -0
  717. package/lib/component/elements/dropDownButton/DropDownList.d.ts +3 -2
  718. package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -0
  719. package/lib/component/elements/dropDownButton/DropDownList.js +26 -28
  720. package/lib/component/elements/dropDownButton/DropDownList.js.map +1 -0
  721. package/lib/component/elements/export/ExportContent.d.ts +24 -0
  722. package/lib/component/elements/export/ExportContent.d.ts.map +1 -0
  723. package/lib/component/elements/export/ExportContent.js +84 -0
  724. package/lib/component/elements/export/ExportContent.js.map +1 -0
  725. package/lib/component/elements/export/ExportManager.d.ts +22 -0
  726. package/lib/component/elements/export/ExportManager.d.ts.map +1 -0
  727. package/lib/component/elements/export/ExportManager.js +86 -0
  728. package/lib/component/elements/export/ExportManager.js.map +1 -0
  729. package/lib/component/elements/export/ExportOptionsModal.d.ts +11 -0
  730. package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -0
  731. package/lib/component/elements/export/ExportOptionsModal.js +120 -0
  732. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -0
  733. package/lib/component/elements/export/ExportSettingsProvider.d.ts +14 -0
  734. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -0
  735. package/lib/component/elements/export/ExportSettingsProvider.js +19 -0
  736. package/lib/component/elements/export/ExportSettingsProvider.js.map +1 -0
  737. package/lib/component/elements/export/RenderDetector.d.ts +9 -0
  738. package/lib/component/elements/export/RenderDetector.d.ts.map +1 -0
  739. package/lib/component/elements/export/RenderDetector.js +18 -0
  740. package/lib/component/elements/export/RenderDetector.js.map +1 -0
  741. package/lib/component/elements/export/index.d.ts +3 -0
  742. package/lib/component/elements/export/index.d.ts.map +1 -0
  743. package/lib/component/elements/export/index.js +3 -0
  744. package/lib/component/elements/export/index.js.map +1 -0
  745. package/lib/component/elements/export/units.d.ts +36 -0
  746. package/lib/component/elements/export/units.d.ts.map +1 -0
  747. package/lib/component/elements/export/units.js +47 -0
  748. package/lib/component/elements/export/units.js.map +1 -0
  749. package/lib/component/elements/export/useExportConfigurer.d.ts +19 -0
  750. package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -0
  751. package/lib/component/elements/export/useExportConfigurer.js +54 -0
  752. package/lib/component/elements/export/useExportConfigurer.js.map +1 -0
  753. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts +17 -0
  754. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +1 -0
  755. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js +85 -0
  756. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +1 -0
  757. package/lib/component/elements/export/utilities/getExportOptions.d.ts +8 -0
  758. package/lib/component/elements/export/utilities/getExportOptions.d.ts.map +1 -0
  759. package/lib/component/elements/export/utilities/getExportOptions.js +42 -0
  760. package/lib/component/elements/export/utilities/getExportOptions.js.map +1 -0
  761. package/lib/component/elements/export/utilities/getModes.d.ts +4 -0
  762. package/lib/component/elements/export/utilities/getModes.d.ts.map +1 -0
  763. package/lib/component/elements/export/utilities/getModes.js +11 -0
  764. package/lib/component/elements/export/utilities/getModes.js.map +1 -0
  765. package/lib/component/elements/export/utilities/getSizeInPixel.d.ts +6 -0
  766. package/lib/component/elements/export/utilities/getSizeInPixel.d.ts.map +1 -0
  767. package/lib/component/elements/export/utilities/getSizeInPixel.js +9 -0
  768. package/lib/component/elements/export/utilities/getSizeInPixel.js.map +1 -0
  769. package/lib/component/elements/export/utilities/transferDocumentStyles.d.ts +2 -0
  770. package/lib/component/elements/export/utilities/transferDocumentStyles.d.ts.map +1 -0
  771. package/lib/component/elements/export/utilities/transferDocumentStyles.js +21 -0
  772. package/lib/component/elements/export/utilities/transferDocumentStyles.js.map +1 -0
  773. package/lib/component/elements/print/PrintContent.d.ts +4 -4
  774. package/lib/component/elements/print/PrintContent.d.ts.map +1 -0
  775. package/lib/component/elements/print/PrintContent.js +17 -84
  776. package/lib/component/elements/print/PrintContent.js.map +1 -0
  777. package/lib/component/elements/print/PrintProvider.d.ts +2 -1
  778. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -0
  779. package/lib/component/elements/print/PrintProvider.js +1 -0
  780. package/lib/component/elements/print/PrintProvider.js.map +1 -0
  781. package/lib/component/elements/print/index.d.ts +3 -2
  782. package/lib/component/elements/print/index.d.ts.map +1 -0
  783. package/lib/component/elements/print/index.js +3 -2
  784. package/lib/component/elements/print/index.js.map +1 -0
  785. package/lib/component/elements/print/pageSize.d.ts +27 -0
  786. package/lib/component/elements/print/pageSize.d.ts.map +1 -0
  787. package/lib/component/elements/print/pageSize.js +70 -0
  788. package/lib/component/elements/print/pageSize.js.map +1 -0
  789. package/lib/component/elements/resizer/SVGResizer.d.ts +2 -1
  790. package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -0
  791. package/lib/component/elements/resizer/SVGResizer.js +11 -13
  792. package/lib/component/elements/resizer/SVGResizer.js.map +1 -0
  793. package/lib/component/elements/resizer/useResizer.d.ts +3 -2
  794. package/lib/component/elements/resizer/useResizer.d.ts.map +1 -0
  795. package/lib/component/elements/resizer/useResizer.js +2 -1
  796. package/lib/component/elements/resizer/useResizer.js.map +1 -0
  797. package/lib/component/elements/useFormValidateField.d.ts +1 -0
  798. package/lib/component/elements/useFormValidateField.d.ts.map +1 -0
  799. package/lib/component/elements/useFormValidateField.js +2 -1
  800. package/lib/component/elements/useFormValidateField.js.map +1 -0
  801. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts +1 -0
  802. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -0
  803. package/lib/component/header/AutoPeakPickingOptionPanel.js +10 -9
  804. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -0
  805. package/lib/component/header/Header.d.ts +3 -2
  806. package/lib/component/header/Header.d.ts.map +1 -0
  807. package/lib/component/header/Header.js +49 -61
  808. package/lib/component/header/Header.js.map +1 -0
  809. package/lib/component/header/HeaderWrapper.d.ts +8 -0
  810. package/lib/component/header/HeaderWrapper.d.ts.map +1 -0
  811. package/lib/component/header/HeaderWrapper.js +9 -0
  812. package/lib/component/header/HeaderWrapper.js.map +1 -0
  813. package/lib/component/header/RangesPickingOptionPanel.d.ts +1 -0
  814. package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -0
  815. package/lib/component/header/RangesPickingOptionPanel.js +10 -9
  816. package/lib/component/header/RangesPickingOptionPanel.js.map +1 -0
  817. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts +2 -0
  818. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts.map +1 -0
  819. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.js +15 -0
  820. package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.js.map +1 -0
  821. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts +2 -0
  822. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts.map +1 -0
  823. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.js +15 -0
  824. package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.js.map +1 -0
  825. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts +2 -0
  826. package/lib/component/header/SimpleApodizationOptionsPanel.d.ts.map +1 -0
  827. package/lib/component/header/SimpleApodizationOptionsPanel.js +15 -0
  828. package/lib/component/header/SimpleApodizationOptionsPanel.js.map +1 -0
  829. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts +2 -0
  830. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -0
  831. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +41 -0
  832. package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -0
  833. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts +2 -0
  834. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts.map +1 -0
  835. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.js +14 -0
  836. package/lib/component/header/SimplePhaseCorrectionOptionsPanel.js.map +1 -0
  837. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts +2 -0
  838. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts.map +1 -0
  839. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.js +18 -0
  840. package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.js.map +1 -0
  841. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts +2 -0
  842. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -0
  843. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.js +10 -0
  844. package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.js.map +1 -0
  845. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts +2 -0
  846. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -0
  847. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.js +10 -0
  848. package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.js.map +1 -0
  849. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts +2 -0
  850. package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts.map +1 -0
  851. package/lib/component/header/SimpleZeroFillingOptionsPanel.js +10 -0
  852. package/lib/component/header/SimpleZeroFillingOptionsPanel.js.map +1 -0
  853. package/lib/component/header/Zones2DOptionPanel.d.ts +1 -0
  854. package/lib/component/header/Zones2DOptionPanel.d.ts.map +1 -0
  855. package/lib/component/header/Zones2DOptionPanel.js +7 -6
  856. package/lib/component/header/Zones2DOptionPanel.js.map +1 -0
  857. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts +7 -0
  858. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -0
  859. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.js +40 -0
  860. package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.js.map +1 -0
  861. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts +7 -0
  862. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -0
  863. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js +23 -0
  864. package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -0
  865. package/lib/component/highlight/index.d.ts +4 -3
  866. package/lib/component/highlight/index.d.ts.map +1 -0
  867. package/lib/component/highlight/index.js +3 -2
  868. package/lib/component/highlight/index.js.map +1 -0
  869. package/lib/component/hooks/useActiveSpectra.d.ts +1 -0
  870. package/lib/component/hooks/useActiveSpectra.d.ts.map +1 -0
  871. package/lib/component/hooks/useActiveSpectra.js +3 -2
  872. package/lib/component/hooks/useActiveSpectra.js.map +1 -0
  873. package/lib/component/hooks/useActiveSpectrum.d.ts +1 -0
  874. package/lib/component/hooks/useActiveSpectrum.d.ts.map +1 -0
  875. package/lib/component/hooks/useActiveSpectrum.js +3 -2
  876. package/lib/component/hooks/useActiveSpectrum.js.map +1 -0
  877. package/lib/component/hooks/useActiveSpectrumIntegralsViewState.d.ts +2 -1
  878. package/lib/component/hooks/useActiveSpectrumIntegralsViewState.d.ts.map +1 -0
  879. package/lib/component/hooks/useActiveSpectrumIntegralsViewState.js +8 -2
  880. package/lib/component/hooks/useActiveSpectrumIntegralsViewState.js.map +1 -0
  881. package/lib/component/hooks/useActiveSpectrumPeaksViewState.d.ts +2 -1
  882. package/lib/component/hooks/useActiveSpectrumPeaksViewState.d.ts.map +1 -0
  883. package/lib/component/hooks/useActiveSpectrumPeaksViewState.js +8 -2
  884. package/lib/component/hooks/useActiveSpectrumPeaksViewState.js.map +1 -0
  885. package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts +2 -1
  886. package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts.map +1 -0
  887. package/lib/component/hooks/useActiveSpectrumRangesViewState.js +12 -2
  888. package/lib/component/hooks/useActiveSpectrumRangesViewState.js.map +1 -0
  889. package/lib/component/hooks/useActiveSpectrumStyleOptions.d.ts +1 -0
  890. package/lib/component/hooks/useActiveSpectrumStyleOptions.d.ts.map +1 -0
  891. package/lib/component/hooks/useActiveSpectrumStyleOptions.js +6 -5
  892. package/lib/component/hooks/useActiveSpectrumStyleOptions.js.map +1 -0
  893. package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts +2 -1
  894. package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -0
  895. package/lib/component/hooks/useActiveSpectrumZonesViewState.js +3 -2
  896. package/lib/component/hooks/useActiveSpectrumZonesViewState.js.map +1 -0
  897. package/lib/component/hooks/useCheckExperimentalFeature.d.ts +1 -0
  898. package/lib/component/hooks/useCheckExperimentalFeature.d.ts.map +1 -0
  899. package/lib/component/hooks/useCheckExperimentalFeature.js +2 -1
  900. package/lib/component/hooks/useCheckExperimentalFeature.js.map +1 -0
  901. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts +1 -0
  902. package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -0
  903. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +3 -2
  904. package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -0
  905. package/lib/component/hooks/useCheckToolsVisibility.d.ts +4 -3
  906. package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -0
  907. package/lib/component/hooks/useCheckToolsVisibility.js +8 -7
  908. package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -0
  909. package/lib/component/hooks/useCombinedRefs.d.ts +2 -1
  910. package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -0
  911. package/lib/component/hooks/useCombinedRefs.js +1 -0
  912. package/lib/component/hooks/useCombinedRefs.js.map +1 -0
  913. package/lib/component/hooks/useDatumWithSpectraStatistics.d.ts +3 -2
  914. package/lib/component/hooks/useDatumWithSpectraStatistics.d.ts.map +1 -0
  915. package/lib/component/hooks/useDatumWithSpectraStatistics.js +4 -3
  916. package/lib/component/hooks/useDatumWithSpectraStatistics.js.map +1 -0
  917. package/lib/component/hooks/useDialogToggle.d.ts +1 -0
  918. package/lib/component/hooks/useDialogToggle.d.ts.map +1 -0
  919. package/lib/component/hooks/useDialogToggle.js +1 -0
  920. package/lib/component/hooks/useDialogToggle.js.map +1 -0
  921. package/lib/component/hooks/useExport.d.ts +8 -5
  922. package/lib/component/hooks/useExport.d.ts.map +1 -0
  923. package/lib/component/hooks/useExport.js +104 -49
  924. package/lib/component/hooks/useExport.js.map +1 -0
  925. package/lib/component/hooks/useFilter.d.ts +7 -2
  926. package/lib/component/hooks/useFilter.d.ts.map +1 -0
  927. package/lib/component/hooks/useFilter.js +9 -2
  928. package/lib/component/hooks/useFilter.js.map +1 -0
  929. package/lib/component/hooks/useFormatNumberByNucleus.d.ts +3 -1
  930. package/lib/component/hooks/useFormatNumberByNucleus.d.ts.map +1 -0
  931. package/lib/component/hooks/useFormatNumberByNucleus.js +6 -4
  932. package/lib/component/hooks/useFormatNumberByNucleus.js.map +1 -0
  933. package/lib/component/hooks/useHighlightColor.d.ts +2 -0
  934. package/lib/component/hooks/useHighlightColor.d.ts.map +1 -0
  935. package/lib/component/hooks/useHighlightColor.js +6 -0
  936. package/lib/component/hooks/useHighlightColor.js.map +1 -0
  937. package/lib/component/hooks/useIndicatorLineColor.d.ts +2 -0
  938. package/lib/component/hooks/useIndicatorLineColor.d.ts.map +1 -0
  939. package/lib/component/hooks/useIndicatorLineColor.js +6 -0
  940. package/lib/component/hooks/useIndicatorLineColor.js.map +1 -0
  941. package/lib/component/hooks/useIntegralPath.d.ts +1 -0
  942. package/lib/component/hooks/useIntegralPath.d.ts.map +1 -0
  943. package/lib/component/hooks/useIntegralPath.js +8 -4
  944. package/lib/component/hooks/useIntegralPath.js.map +1 -0
  945. package/lib/component/hooks/useNucleus.d.ts +1 -0
  946. package/lib/component/hooks/useNucleus.d.ts.map +1 -0
  947. package/lib/component/hooks/useNucleus.js +2 -1
  948. package/lib/component/hooks/useNucleus.js.map +1 -0
  949. package/lib/component/hooks/usePanelPreferences.d.ts +3 -2
  950. package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -0
  951. package/lib/component/hooks/usePanelPreferences.js +9 -8
  952. package/lib/component/hooks/usePanelPreferences.js.map +1 -0
  953. package/lib/component/hooks/usePeaksLabelSettings.d.ts +3 -0
  954. package/lib/component/hooks/usePeaksLabelSettings.d.ts.map +1 -0
  955. package/lib/component/hooks/usePeaksLabelSettings.js +9 -0
  956. package/lib/component/hooks/usePeaksLabelSettings.js.map +1 -0
  957. package/lib/component/hooks/useResizerStatus.d.ts +2 -1
  958. package/lib/component/hooks/useResizerStatus.d.ts.map +1 -0
  959. package/lib/component/hooks/useResizerStatus.js +3 -2
  960. package/lib/component/hooks/useResizerStatus.js.map +1 -0
  961. package/lib/component/hooks/useSVGUnitConverter.d.ts +7 -0
  962. package/lib/component/hooks/useSVGUnitConverter.d.ts.map +1 -0
  963. package/lib/component/hooks/useSVGUnitConverter.js +24 -0
  964. package/lib/component/hooks/useSVGUnitConverter.js.map +1 -0
  965. package/lib/component/hooks/useSaveSettings.d.ts +3 -2
  966. package/lib/component/hooks/useSaveSettings.d.ts.map +1 -0
  967. package/lib/component/hooks/useSaveSettings.js +8 -8
  968. package/lib/component/hooks/useSaveSettings.js.map +1 -0
  969. package/lib/component/hooks/useSetActiveSpectrumAction.d.ts +1 -0
  970. package/lib/component/hooks/useSetActiveSpectrumAction.d.ts.map +1 -0
  971. package/lib/component/hooks/useSetActiveSpectrumAction.js +3 -2
  972. package/lib/component/hooks/useSetActiveSpectrumAction.js.map +1 -0
  973. package/lib/component/hooks/useSpectraBottomMargin.d.ts +2 -0
  974. package/lib/component/hooks/useSpectraBottomMargin.d.ts.map +1 -0
  975. package/lib/component/hooks/useSpectraBottomMargin.js +17 -0
  976. package/lib/component/hooks/useSpectraBottomMargin.js.map +1 -0
  977. package/lib/component/hooks/useSpectraPerNucleus.d.ts +2 -1
  978. package/lib/component/hooks/useSpectraPerNucleus.d.ts.map +1 -0
  979. package/lib/component/hooks/useSpectraPerNucleus.js +7 -6
  980. package/lib/component/hooks/useSpectraPerNucleus.js.map +1 -0
  981. package/lib/component/hooks/useSpectrum.d.ts +2 -1
  982. package/lib/component/hooks/useSpectrum.d.ts.map +1 -0
  983. package/lib/component/hooks/useSpectrum.js +13 -5
  984. package/lib/component/hooks/useSpectrum.js.map +1 -0
  985. package/lib/component/hooks/useTableSortBy.d.ts +1 -5
  986. package/lib/component/hooks/useTableSortBy.d.ts.map +1 -0
  987. package/lib/component/hooks/useTableSortBy.js +5 -4
  988. package/lib/component/hooks/useTableSortBy.js.map +1 -0
  989. package/lib/component/hooks/useTempSpectrum.d.ts +3 -0
  990. package/lib/component/hooks/useTempSpectrum.d.ts.map +1 -0
  991. package/lib/component/hooks/useTempSpectrum.js +16 -0
  992. package/lib/component/hooks/useTempSpectrum.js.map +1 -0
  993. package/lib/component/hooks/useToggleSpectraVisibility.d.ts +3 -2
  994. package/lib/component/hooks/useToggleSpectraVisibility.d.ts.map +1 -0
  995. package/lib/component/hooks/useToggleSpectraVisibility.js +3 -2
  996. package/lib/component/hooks/useToggleSpectraVisibility.js.map +1 -0
  997. package/lib/component/hooks/useToolsFunctions.d.ts +1 -0
  998. package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -0
  999. package/lib/component/hooks/useToolsFunctions.js +18 -13
  1000. package/lib/component/hooks/useToolsFunctions.js.map +1 -0
  1001. package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts +1 -0
  1002. package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -0
  1003. package/lib/component/hooks/useTriggerNewAssignmentLabel.js +2 -1
  1004. package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -0
  1005. package/lib/component/hooks/useVerticalAlign.d.ts +2 -1
  1006. package/lib/component/hooks/useVerticalAlign.d.ts.map +1 -0
  1007. package/lib/component/hooks/useVerticalAlign.js +3 -2
  1008. package/lib/component/hooks/useVerticalAlign.js.map +1 -0
  1009. package/lib/component/hooks/useViewportSize.d.ts +10 -0
  1010. package/lib/component/hooks/useViewportSize.d.ts.map +1 -0
  1011. package/lib/component/hooks/useViewportSize.js +15 -0
  1012. package/lib/component/hooks/useViewportSize.js.map +1 -0
  1013. package/lib/component/hooks/useWorkspaceAction.d.ts +2 -1
  1014. package/lib/component/hooks/useWorkspaceAction.d.ts.map +1 -0
  1015. package/lib/component/hooks/useWorkspaceAction.js +6 -6
  1016. package/lib/component/hooks/useWorkspaceAction.js.map +1 -0
  1017. package/lib/component/hooks/useWorkspaceExportSettings.d.ts +2 -0
  1018. package/lib/component/hooks/useWorkspaceExportSettings.d.ts.map +1 -0
  1019. package/lib/component/hooks/useWorkspaceExportSettings.js +8 -0
  1020. package/lib/component/hooks/useWorkspaceExportSettings.js.map +1 -0
  1021. package/lib/component/hooks/useXScale.d.ts +2 -1
  1022. package/lib/component/hooks/useXScale.d.ts.map +1 -0
  1023. package/lib/component/hooks/useXScale.js +3 -2
  1024. package/lib/component/hooks/useXScale.js.map +1 -0
  1025. package/lib/component/hooks/useXYReduce.d.ts +2 -1
  1026. package/lib/component/hooks/useXYReduce.d.ts.map +1 -0
  1027. package/lib/component/hooks/useXYReduce.js +2 -1
  1028. package/lib/component/hooks/useXYReduce.js.map +1 -0
  1029. package/lib/component/loader/DefaultSpinnerComponent.d.ts +2 -1
  1030. package/lib/component/loader/DefaultSpinnerComponent.d.ts.map +1 -0
  1031. package/lib/component/loader/DefaultSpinnerComponent.js +5 -5
  1032. package/lib/component/loader/DefaultSpinnerComponent.js.map +1 -0
  1033. package/lib/component/loader/DropZone.d.ts +7 -2
  1034. package/lib/component/loader/DropZone.d.ts.map +1 -0
  1035. package/lib/component/loader/DropZone.js +22 -24
  1036. package/lib/component/loader/DropZone.js.map +1 -0
  1037. package/lib/component/loader/NoData.d.ts +2 -1
  1038. package/lib/component/loader/NoData.d.ts.map +1 -0
  1039. package/lib/component/loader/NoData.js +3 -2
  1040. package/lib/component/loader/NoData.js.map +1 -0
  1041. package/lib/component/loader/Spinner.d.ts +2 -1
  1042. package/lib/component/loader/Spinner.d.ts.map +1 -0
  1043. package/lib/component/loader/Spinner.js +5 -4
  1044. package/lib/component/loader/Spinner.js.map +1 -0
  1045. package/lib/component/loader/SpinnerContext.d.ts +2 -1
  1046. package/lib/component/loader/SpinnerContext.d.ts.map +1 -0
  1047. package/lib/component/loader/SpinnerContext.js +2 -1
  1048. package/lib/component/loader/SpinnerContext.js.map +1 -0
  1049. package/lib/component/loader/useLoadFiles.d.ts +1 -0
  1050. package/lib/component/loader/useLoadFiles.d.ts.map +1 -0
  1051. package/lib/component/loader/useLoadFiles.js +7 -6
  1052. package/lib/component/loader/useLoadFiles.js.map +1 -0
  1053. package/lib/component/main/ErrorOverlay.d.ts +2 -1
  1054. package/lib/component/main/ErrorOverlay.d.ts.map +1 -0
  1055. package/lib/component/main/ErrorOverlay.js +1 -0
  1056. package/lib/component/main/ErrorOverlay.js.map +1 -0
  1057. package/lib/component/main/InnerNMRium.d.ts +4 -3
  1058. package/lib/component/main/InnerNMRium.d.ts.map +1 -0
  1059. package/lib/component/main/InnerNMRium.js +22 -19
  1060. package/lib/component/main/InnerNMRium.js.map +1 -0
  1061. package/lib/component/main/InnerNMRiumContents.d.ts +4 -4
  1062. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -0
  1063. package/lib/component/main/InnerNMRiumContents.js +42 -43
  1064. package/lib/component/main/InnerNMRiumContents.js.map +1 -0
  1065. package/lib/component/main/NMRium.d.ts +5 -4
  1066. package/lib/component/main/NMRium.d.ts.map +1 -0
  1067. package/lib/component/main/NMRium.js +7 -6
  1068. package/lib/component/main/NMRium.js.map +1 -0
  1069. package/lib/component/main/NMRiumRefAPI.d.ts +3 -2
  1070. package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -0
  1071. package/lib/component/main/NMRiumRefAPI.js +6 -3
  1072. package/lib/component/main/NMRiumRefAPI.js.map +1 -0
  1073. package/lib/component/main/NMRiumStateProvider.d.ts +3 -2
  1074. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -0
  1075. package/lib/component/main/NMRiumStateProvider.js +25 -10
  1076. package/lib/component/main/NMRiumStateProvider.js.map +1 -0
  1077. package/lib/component/main/NMRiumViewer.d.ts +4 -3
  1078. package/lib/component/main/NMRiumViewer.d.ts.map +1 -0
  1079. package/lib/component/main/NMRiumViewer.js +38 -12
  1080. package/lib/component/main/NMRiumViewer.js.map +1 -0
  1081. package/lib/component/main/NMRiumViewerWrapper.d.ts +9 -0
  1082. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -0
  1083. package/lib/component/main/NMRiumViewerWrapper.js +32 -0
  1084. package/lib/component/main/NMRiumViewerWrapper.js.map +1 -0
  1085. package/lib/component/main/StateError.d.ts +1 -0
  1086. package/lib/component/main/StateError.d.ts.map +1 -0
  1087. package/lib/component/main/StateError.js +3 -2
  1088. package/lib/component/main/StateError.js.map +1 -0
  1089. package/lib/component/main/index.d.ts +4 -3
  1090. package/lib/component/main/index.d.ts.map +1 -0
  1091. package/lib/component/main/index.js +3 -2
  1092. package/lib/component/main/index.js.map +1 -0
  1093. package/lib/component/main/types.d.ts +4 -3
  1094. package/lib/component/main/types.d.ts.map +1 -0
  1095. package/lib/component/main/types.js +1 -0
  1096. package/lib/component/main/types.js.map +1 -0
  1097. package/lib/component/modal/AboutPredictionModal.d.ts +2 -1
  1098. package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -0
  1099. package/lib/component/modal/AboutPredictionModal.js +7 -8
  1100. package/lib/component/modal/AboutPredictionModal.js.map +1 -0
  1101. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +2 -1
  1102. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -0
  1103. package/lib/component/modal/AboutSpectrumSimulationModal.js +7 -6
  1104. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -0
  1105. package/lib/component/modal/EditPeakShapeModal.d.ts +3 -2
  1106. package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -0
  1107. package/lib/component/modal/EditPeakShapeModal.js +20 -17
  1108. package/lib/component/modal/EditPeakShapeModal.js.map +1 -0
  1109. package/lib/component/modal/ExportAsJcampModal.d.ts +3 -2
  1110. package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -0
  1111. package/lib/component/modal/ExportAsJcampModal.js +13 -16
  1112. package/lib/component/modal/ExportAsJcampModal.js.map +1 -0
  1113. package/lib/component/modal/ImportPublicationStringModal.d.ts +1 -0
  1114. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -0
  1115. package/lib/component/modal/ImportPublicationStringModal.js +42 -49
  1116. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -0
  1117. package/lib/component/modal/LoadJCAMPModal.d.ts +2 -1
  1118. package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -0
  1119. package/lib/component/modal/LoadJCAMPModal.js +9 -11
  1120. package/lib/component/modal/LoadJCAMPModal.js.map +1 -0
  1121. package/lib/component/modal/LogsHistoryModal.d.ts +2 -1
  1122. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -0
  1123. package/lib/component/modal/LogsHistoryModal.js +9 -11
  1124. package/lib/component/modal/LogsHistoryModal.js.map +1 -0
  1125. package/lib/component/modal/MoleculeStructureEditorModal.d.ts +3 -2
  1126. package/lib/component/modal/MoleculeStructureEditorModal.d.ts.map +1 -0
  1127. package/lib/component/modal/MoleculeStructureEditorModal.js +8 -10
  1128. package/lib/component/modal/MoleculeStructureEditorModal.js.map +1 -0
  1129. package/lib/component/modal/MultipletAnalysisModal.d.ts +3 -4
  1130. package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -0
  1131. package/lib/component/modal/MultipletAnalysisModal.js +60 -66
  1132. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -0
  1133. package/lib/component/modal/PredictSpectraModal.d.ts +4 -3
  1134. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -0
  1135. package/lib/component/modal/PredictSpectraModal.js +19 -21
  1136. package/lib/component/modal/PredictSpectraModal.js.map +1 -0
  1137. package/lib/component/modal/PublicationStringModal.d.ts +10 -0
  1138. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -0
  1139. package/lib/component/modal/PublicationStringModal.js +88 -0
  1140. package/lib/component/modal/PublicationStringModal.js.map +1 -0
  1141. package/lib/component/modal/SaveAsModal.d.ts +3 -2
  1142. package/lib/component/modal/SaveAsModal.d.ts.map +1 -0
  1143. package/lib/component/modal/SaveAsModal.js +13 -15
  1144. package/lib/component/modal/SaveAsModal.js.map +1 -0
  1145. package/lib/component/modal/aboutUs/AboutUsModal.d.ts +2 -1
  1146. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -0
  1147. package/lib/component/modal/aboutUs/AboutUsModal.js +24 -27
  1148. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -0
  1149. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts +1 -0
  1150. package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts.map +1 -0
  1151. package/lib/component/modal/aboutUs/AboutUsZakodium.js +2 -1
  1152. package/lib/component/modal/aboutUs/AboutUsZakodium.js.map +1 -0
  1153. package/lib/component/modal/changeSum/ChangeSumModal.d.ts +4 -2
  1154. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -0
  1155. package/lib/component/modal/changeSum/ChangeSumModal.js +2 -1
  1156. package/lib/component/modal/changeSum/ChangeSumModal.js.map +1 -0
  1157. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts +3 -2
  1158. package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -0
  1159. package/lib/component/modal/changeSum/ChangeSumModalContents.js +13 -15
  1160. package/lib/component/modal/changeSum/ChangeSumModalContents.js.map +1 -0
  1161. package/lib/component/modal/changeSum/SelectMolecule.d.ts +3 -2
  1162. package/lib/component/modal/changeSum/SelectMolecule.d.ts.map +1 -0
  1163. package/lib/component/modal/changeSum/SelectMolecule.js +34 -39
  1164. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -0
  1165. package/lib/component/modal/editRange/EditRangeModal.d.ts +3 -2
  1166. package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -0
  1167. package/lib/component/modal/editRange/EditRangeModal.js +72 -87
  1168. package/lib/component/modal/editRange/EditRangeModal.js.map +1 -0
  1169. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -0
  1170. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -0
  1171. package/lib/component/modal/editRange/forms/components/DeltaInput.js +39 -15
  1172. package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -0
  1173. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts +1 -0
  1174. package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts.map +1 -0
  1175. package/lib/component/modal/editRange/forms/components/InfoBlock.js +6 -6
  1176. package/lib/component/modal/editRange/forms/components/InfoBlock.js.map +1 -0
  1177. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +1 -0
  1178. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -0
  1179. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +38 -39
  1180. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -0
  1181. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts +2 -1
  1182. package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -0
  1183. package/lib/component/modal/editRange/forms/components/SignalTab.js +11 -10
  1184. package/lib/component/modal/editRange/forms/components/SignalTab.js.map +1 -0
  1185. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts +9 -2
  1186. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -0
  1187. package/lib/component/modal/editRange/forms/components/SignalsContent.js +43 -44
  1188. package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -0
  1189. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts +1 -0
  1190. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -0
  1191. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +63 -77
  1192. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -0
  1193. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts +1 -0
  1194. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -0
  1195. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +53 -64
  1196. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -0
  1197. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts +2 -0
  1198. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -0
  1199. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +20 -6
  1200. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -0
  1201. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.d.ts +3 -0
  1202. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.d.ts.map +1 -0
  1203. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.js +4 -0
  1204. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.js.map +1 -0
  1205. package/lib/component/modal/editRange/utils/mapCouplings.d.ts +3 -0
  1206. package/lib/component/modal/editRange/utils/mapCouplings.d.ts.map +1 -0
  1207. package/lib/component/modal/editRange/utils/mapCouplings.js +7 -0
  1208. package/lib/component/modal/editRange/utils/mapCouplings.js.map +1 -0
  1209. package/lib/component/modal/editRange/utils/mapSignals.d.ts +25 -0
  1210. package/lib/component/modal/editRange/utils/mapSignals.d.ts.map +1 -0
  1211. package/lib/component/modal/editRange/utils/mapSignals.js +18 -0
  1212. package/lib/component/modal/editRange/utils/mapSignals.js.map +1 -0
  1213. package/lib/component/modal/editZone/EditZoneModal.d.ts +4 -3
  1214. package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -0
  1215. package/lib/component/modal/editZone/EditZoneModal.js +10 -12
  1216. package/lib/component/modal/editZone/EditZoneModal.js.map +1 -0
  1217. package/lib/component/modal/editZone/SignalsForm.d.ts +2 -1
  1218. package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -0
  1219. package/lib/component/modal/editZone/SignalsForm.js +7 -7
  1220. package/lib/component/modal/editZone/SignalsForm.js.map +1 -0
  1221. package/lib/component/modal/editZone/validation/isDefaultPathLength.d.ts +2 -1
  1222. package/lib/component/modal/editZone/validation/isDefaultPathLength.d.ts.map +1 -0
  1223. package/lib/component/modal/editZone/validation/isDefaultPathLength.js +2 -1
  1224. package/lib/component/modal/editZone/validation/isDefaultPathLength.js.map +1 -0
  1225. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts +2 -1
  1226. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -0
  1227. package/lib/component/modal/metaImportation/MetaImportationModal.js +29 -37
  1228. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -0
  1229. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts +1 -0
  1230. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts.map +1 -0
  1231. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js +1 -0
  1232. package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js.map +1 -0
  1233. package/lib/component/modal/setting/GeneralSettings.d.ts +4 -1
  1234. package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -0
  1235. package/lib/component/modal/setting/GeneralSettings.js +59 -46
  1236. package/lib/component/modal/setting/GeneralSettings.js.map +1 -0
  1237. package/lib/component/modal/setting/WorkspaceItem.d.ts +1 -0
  1238. package/lib/component/modal/setting/WorkspaceItem.d.ts.map +1 -0
  1239. package/lib/component/modal/setting/WorkspaceItem.js +3 -2
  1240. package/lib/component/modal/setting/WorkspaceItem.js.map +1 -0
  1241. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts +4 -3
  1242. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +1 -0
  1243. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +23 -21
  1244. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -0
  1245. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts +1 -0
  1246. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +1 -0
  1247. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +75 -31
  1248. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -0
  1249. package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts +2 -0
  1250. package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +1 -0
  1251. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +71 -0
  1252. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -0
  1253. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts +1 -0
  1254. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +1 -0
  1255. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +11 -12
  1256. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -0
  1257. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts +1 -0
  1258. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +1 -0
  1259. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +12 -15
  1260. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +1 -0
  1261. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts +1 -0
  1262. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +1 -0
  1263. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +5 -4
  1264. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +1 -0
  1265. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts +1 -0
  1266. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +1 -0
  1267. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +15 -16
  1268. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -0
  1269. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +1 -0
  1270. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +1 -0
  1271. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +11 -12
  1272. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -0
  1273. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts +1 -0
  1274. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -0
  1275. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +12 -12
  1276. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -0
  1277. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts +1 -0
  1278. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +1 -0
  1279. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +16 -16
  1280. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -0
  1281. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +1 -0
  1282. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +1 -0
  1283. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +18 -1
  1284. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +1 -0
  1285. package/lib/component/modal/setting/settingsValidation.d.ts +1 -0
  1286. package/lib/component/modal/setting/settingsValidation.d.ts.map +1 -0
  1287. package/lib/component/modal/setting/settingsValidation.js +14 -2
  1288. package/lib/component/modal/setting/settingsValidation.js.map +1 -0
  1289. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +2 -1
  1290. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -0
  1291. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +10 -10
  1292. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -0
  1293. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +2 -1
  1294. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -0
  1295. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +4 -3
  1296. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -0
  1297. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts +2 -1
  1298. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts.map +1 -0
  1299. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +6 -5
  1300. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -0
  1301. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts +3 -2
  1302. package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts.map +1 -0
  1303. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +24 -33
  1304. package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -0
  1305. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +3 -2
  1306. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -0
  1307. package/lib/component/panels/IntegralsPanel/IntegralTable.js +16 -15
  1308. package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -0
  1309. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +3 -1
  1310. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -0
  1311. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +32 -38
  1312. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -0
  1313. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts +2 -1
  1314. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -0
  1315. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js +15 -21
  1316. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -0
  1317. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts +2 -1
  1318. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts.map +1 -0
  1319. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +55 -54
  1320. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -0
  1321. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts +6 -4
  1322. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -0
  1323. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +72 -102
  1324. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js.map +1 -0
  1325. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts +7 -0
  1326. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -0
  1327. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +76 -0
  1328. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -0
  1329. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +2 -1
  1330. package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -0
  1331. package/lib/component/panels/MoleculesPanel/MoleculeHeader.js +6 -5
  1332. package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -0
  1333. package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts +1 -0
  1334. package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -0
  1335. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +15 -13
  1336. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -0
  1337. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +3 -2
  1338. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -0
  1339. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +36 -37
  1340. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -0
  1341. package/lib/component/panels/MoleculesPanel/Utilities.d.ts +4 -3
  1342. package/lib/component/panels/MoleculesPanel/Utilities.d.ts.map +1 -0
  1343. package/lib/component/panels/MoleculesPanel/Utilities.js +4 -3
  1344. package/lib/component/panels/MoleculesPanel/Utilities.js.map +1 -0
  1345. package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts +5 -4
  1346. package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts.map +1 -0
  1347. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +37 -50
  1348. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -0
  1349. package/lib/component/panels/PanelNoData.d.ts +1 -0
  1350. package/lib/component/panels/PanelNoData.d.ts.map +1 -0
  1351. package/lib/component/panels/PanelNoData.js +1 -0
  1352. package/lib/component/panels/PanelNoData.js.map +1 -0
  1353. package/lib/component/panels/Panels.d.ts +13 -2
  1354. package/lib/component/panels/Panels.d.ts.map +1 -0
  1355. package/lib/component/panels/Panels.js +54 -166
  1356. package/lib/component/panels/Panels.js.map +1 -0
  1357. package/lib/component/panels/PanelsBar.d.ts +4 -0
  1358. package/lib/component/panels/PanelsBar.d.ts.map +1 -0
  1359. package/lib/component/panels/PanelsBar.js +59 -0
  1360. package/lib/component/panels/PanelsBar.js.map +1 -0
  1361. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts +3 -2
  1362. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -0
  1363. package/lib/component/panels/PeaksPanel/PeaksPanel.js +29 -40
  1364. package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -0
  1365. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +1 -0
  1366. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -0
  1367. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +38 -32
  1368. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -0
  1369. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +3 -2
  1370. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -0
  1371. package/lib/component/panels/PeaksPanel/PeaksTable.js +29 -13
  1372. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -0
  1373. package/lib/component/panels/RangesPanel/RangesHeader.d.ts +12 -10
  1374. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -0
  1375. package/lib/component/panels/RangesPanel/RangesHeader.js +128 -110
  1376. package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -0
  1377. package/lib/component/panels/RangesPanel/RangesPanel.d.ts +2 -1
  1378. package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -0
  1379. package/lib/component/panels/RangesPanel/RangesPanel.js +24 -44
  1380. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -0
  1381. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +1 -0
  1382. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -0
  1383. package/lib/component/panels/RangesPanel/RangesPreferences.js +44 -41
  1384. package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -0
  1385. package/lib/component/panels/RangesPanel/RangesTable.d.ts +5 -5
  1386. package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -0
  1387. package/lib/component/panels/RangesPanel/RangesTable.js +17 -16
  1388. package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -0
  1389. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +7 -7
  1390. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -0
  1391. package/lib/component/panels/RangesPanel/RangesTableRow.js +62 -59
  1392. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -0
  1393. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts +2 -1
  1394. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts.map +1 -0
  1395. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.js +2 -1
  1396. package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.js.map +1 -0
  1397. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +3 -2
  1398. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -0
  1399. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js +11 -18
  1400. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js.map +1 -0
  1401. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +4 -3
  1402. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts.map +1 -0
  1403. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js +5 -5
  1404. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js.map +1 -0
  1405. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.d.ts +3 -2
  1406. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.d.ts.map +1 -0
  1407. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js +4 -3
  1408. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js.map +1 -0
  1409. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts +4 -4
  1410. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts.map +1 -0
  1411. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +7 -7
  1412. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js.map +1 -0
  1413. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts +2 -1
  1414. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts.map +1 -0
  1415. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.js +2 -1
  1416. package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.js.map +1 -0
  1417. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +2 -1
  1418. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -0
  1419. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +5 -4
  1420. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -0
  1421. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +5 -5
  1422. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -0
  1423. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +6 -6
  1424. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -0
  1425. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +2 -1
  1426. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -0
  1427. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +4 -3
  1428. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -0
  1429. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +3 -2
  1430. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts.map +1 -0
  1431. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +2 -1
  1432. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js.map +1 -0
  1433. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts +2 -1
  1434. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts.map +1 -0
  1435. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js +13 -16
  1436. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js.map +1 -0
  1437. package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts +2 -1
  1438. package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -0
  1439. package/lib/component/panels/RangesPanel/hooks/useMapRanges.js +3 -3
  1440. package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -0
  1441. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts +1 -0
  1442. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -0
  1443. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +13 -12
  1444. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -0
  1445. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -0
  1446. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -0
  1447. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +15 -20
  1448. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -0
  1449. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +3 -3
  1450. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -0
  1451. package/lib/component/panels/SpectraPanel/SpectraTable.js +38 -32
  1452. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -0
  1453. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts +2 -1
  1454. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -0
  1455. package/lib/component/panels/SpectraPanel/SpectraTabs.js +30 -40
  1456. package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -0
  1457. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts +1 -0
  1458. package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts.map +1 -0
  1459. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js +6 -5
  1460. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js.map +1 -0
  1461. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +4 -5
  1462. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -0
  1463. package/lib/component/panels/SpectraPanel/base/ColorIndicator.js +7 -12
  1464. package/lib/component/panels/SpectraPanel/base/ColorIndicator.js.map +1 -0
  1465. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts +2 -1
  1466. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -0
  1467. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js +3 -2
  1468. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -0
  1469. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts +2 -1
  1470. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts.map +1 -0
  1471. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.js +1 -0
  1472. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.js.map +1 -0
  1473. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -0
  1474. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -0
  1475. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +6 -5
  1476. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -0
  1477. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts +2 -1
  1478. package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts.map +1 -0
  1479. package/lib/component/panels/SpectraPanel/base/SpectrumName.js +1 -0
  1480. package/lib/component/panels/SpectraPanel/base/SpectrumName.js.map +1 -0
  1481. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts +2 -1
  1482. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts.map +1 -0
  1483. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.js +2 -1
  1484. package/lib/component/panels/SpectraPanel/base/setting/PlotChart.js.map +1 -0
  1485. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts +1 -0
  1486. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -0
  1487. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +3 -2
  1488. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -0
  1489. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +3 -2
  1490. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -0
  1491. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +5 -5
  1492. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -0
  1493. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts +1 -0
  1494. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -0
  1495. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +3 -2
  1496. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -0
  1497. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +3 -2
  1498. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -0
  1499. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +22 -22
  1500. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -0
  1501. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +6 -8
  1502. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -0
  1503. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +18 -87
  1504. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -0
  1505. package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.d.ts +2 -1
  1506. package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.d.ts.map +1 -0
  1507. package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.js +2 -1
  1508. package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.js.map +1 -0
  1509. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +1 -0
  1510. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -0
  1511. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +13 -13
  1512. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -0
  1513. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +2 -1
  1514. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -0
  1515. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +11 -11
  1516. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -0
  1517. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts +2 -6
  1518. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts.map +1 -0
  1519. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js +2 -23
  1520. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js.map +1 -0
  1521. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +2 -1
  1522. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -0
  1523. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +8 -8
  1524. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -0
  1525. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +1 -0
  1526. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -0
  1527. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +12 -11
  1528. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -0
  1529. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts +2 -1
  1530. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts.map +1 -0
  1531. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js +5 -5
  1532. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js.map +1 -0
  1533. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +5 -4
  1534. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -0
  1535. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +8 -8
  1536. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js.map +1 -0
  1537. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts +3 -2
  1538. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts.map +1 -0
  1539. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.js +23 -25
  1540. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.js.map +1 -0
  1541. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +3 -2
  1542. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -0
  1543. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +7 -7
  1544. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js.map +1 -0
  1545. package/lib/component/panels/SummaryPanel/Overview.d.ts +2 -1
  1546. package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -0
  1547. package/lib/component/panels/SummaryPanel/Overview.js +6 -6
  1548. package/lib/component/panels/SummaryPanel/Overview.js.map +1 -0
  1549. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts +1 -0
  1550. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -0
  1551. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +15 -10
  1552. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -0
  1553. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts +2 -1
  1554. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -0
  1555. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +34 -29
  1556. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -0
  1557. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +3 -2
  1558. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -0
  1559. package/lib/component/panels/SummaryPanel/SummaryPanel.js +46 -55
  1560. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -0
  1561. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +5 -6
  1562. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -0
  1563. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +11 -10
  1564. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -0
  1565. package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts +2 -1
  1566. package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts.map +1 -0
  1567. package/lib/component/panels/SummaryPanel/utilities/useInView.js +4 -3
  1568. package/lib/component/panels/SummaryPanel/utilities/useInView.js.map +1 -0
  1569. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +2 -1
  1570. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts.map +1 -0
  1571. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js +13 -76
  1572. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js.map +1 -0
  1573. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +5 -13
  1574. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -0
  1575. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +14 -6
  1576. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -0
  1577. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +11 -17
  1578. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -0
  1579. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +44 -5
  1580. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js.map +1 -0
  1581. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +3 -4
  1582. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -0
  1583. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +16 -10
  1584. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -0
  1585. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +2 -1
  1586. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -0
  1587. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +4 -3
  1588. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -0
  1589. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +6 -15
  1590. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -0
  1591. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +52 -7
  1592. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +1 -0
  1593. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +4 -16
  1594. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +1 -0
  1595. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +5 -5
  1596. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js.map +1 -0
  1597. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts +2 -1
  1598. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -0
  1599. package/lib/component/panels/ZonesPanel/ZonesPanel.js +27 -37
  1600. package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -0
  1601. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +3 -1
  1602. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -0
  1603. package/lib/component/panels/ZonesPanel/ZonesPreferences.js +43 -36
  1604. package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -0
  1605. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +3 -2
  1606. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -0
  1607. package/lib/component/panels/ZonesPanel/ZonesTable.js +14 -14
  1608. package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -0
  1609. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +9 -5
  1610. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -0
  1611. package/lib/component/panels/ZonesPanel/ZonesTableRow.js +27 -112
  1612. package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -0
  1613. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts +2 -1
  1614. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -0
  1615. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js +1 -0
  1616. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -0
  1617. package/lib/component/panels/ZonesPanel/hooks/useZoneActions.d.ts +2 -1
  1618. package/lib/component/panels/ZonesPanel/hooks/useZoneActions.d.ts.map +1 -0
  1619. package/lib/component/panels/ZonesPanel/hooks/useZoneActions.js +2 -1
  1620. package/lib/component/panels/ZonesPanel/hooks/useZoneActions.js.map +1 -0
  1621. package/lib/component/panels/accordionItems.d.ts +18 -0
  1622. package/lib/component/panels/accordionItems.d.ts.map +1 -0
  1623. package/lib/component/panels/accordionItems.js +130 -0
  1624. package/lib/component/panels/accordionItems.js.map +1 -0
  1625. package/lib/component/panels/checkAccordionItemMode.d.ts +4 -0
  1626. package/lib/component/panels/checkAccordionItemMode.d.ts.map +1 -0
  1627. package/lib/component/panels/checkAccordionItemMode.js +4 -0
  1628. package/lib/component/panels/checkAccordionItemMode.js.map +1 -0
  1629. package/lib/component/panels/databasePanel/DatabasePanel.d.ts +5 -10
  1630. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -0
  1631. package/lib/component/panels/databasePanel/DatabasePanel.js +72 -61
  1632. package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -0
  1633. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +1 -0
  1634. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -0
  1635. package/lib/component/panels/databasePanel/DatabasePreferences.js +21 -21
  1636. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -0
  1637. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +6 -4
  1638. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -0
  1639. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +18 -24
  1640. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -0
  1641. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +2 -1
  1642. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts.map +1 -0
  1643. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +5 -7
  1644. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js.map +1 -0
  1645. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +2 -6
  1646. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -0
  1647. package/lib/component/panels/databasePanel/DatabaseTable.js +15 -15
  1648. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -0
  1649. package/lib/component/panels/extra/BasicPanelStyle.d.ts +7 -1
  1650. package/lib/component/panels/extra/BasicPanelStyle.d.ts.map +1 -0
  1651. package/lib/component/panels/extra/BasicPanelStyle.js +11 -2
  1652. package/lib/component/panels/extra/BasicPanelStyle.js.map +1 -0
  1653. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts +2 -1
  1654. package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts.map +1 -0
  1655. package/lib/component/panels/extra/placeholder/NoDataForFid.js +4 -3
  1656. package/lib/component/panels/extra/placeholder/NoDataForFid.js.map +1 -0
  1657. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts +3 -2
  1658. package/lib/component/panels/extra/preferences/NucleusGroup.d.ts.map +1 -0
  1659. package/lib/component/panels/extra/preferences/NucleusGroup.js +5 -2
  1660. package/lib/component/panels/extra/preferences/NucleusGroup.js.map +1 -0
  1661. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +8 -5
  1662. package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts.map +1 -0
  1663. package/lib/component/panels/extra/preferences/NucleusPreferences.js +9 -6
  1664. package/lib/component/panels/extra/preferences/NucleusPreferences.js.map +1 -0
  1665. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +3 -2
  1666. package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts.map +1 -0
  1667. package/lib/component/panels/extra/preferences/PreferencesContainer.js +1 -0
  1668. package/lib/component/panels/extra/preferences/PreferencesContainer.js.map +1 -0
  1669. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +4 -3
  1670. package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts.map +1 -0
  1671. package/lib/component/panels/extra/preferences/PreferencesGroup.js +1 -0
  1672. package/lib/component/panels/extra/preferences/PreferencesGroup.js.map +1 -0
  1673. package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +1 -0
  1674. package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -0
  1675. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +2 -1
  1676. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -0
  1677. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +7 -0
  1678. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -0
  1679. package/lib/component/panels/extra/utilities/settingImperativeHandle.js +17 -0
  1680. package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -0
  1681. package/lib/component/panels/filtersPanel/FilterPanel.d.ts +2 -1
  1682. package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -0
  1683. package/lib/component/panels/filtersPanel/FilterPanel.js +11 -10
  1684. package/lib/component/panels/filtersPanel/FilterPanel.js.map +1 -0
  1685. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts +4 -0
  1686. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts.map +1 -0
  1687. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.js +7 -0
  1688. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.js.map +1 -0
  1689. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts +4 -0
  1690. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts.map +1 -0
  1691. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.js +7 -0
  1692. package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.js.map +1 -0
  1693. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts +4 -0
  1694. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts.map +1 -0
  1695. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.js +7 -0
  1696. package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.js.map +1 -0
  1697. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts +4 -0
  1698. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -0
  1699. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +46 -0
  1700. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -0
  1701. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts +4 -0
  1702. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -0
  1703. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js +88 -0
  1704. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -0
  1705. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts +10 -0
  1706. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts.map +1 -0
  1707. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.js +13 -0
  1708. package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.js.map +1 -0
  1709. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +3 -0
  1710. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -0
  1711. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +192 -0
  1712. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -0
  1713. package/lib/component/panels/filtersPanel/Filters/InnerFilterHeader.d.ts +8 -0
  1714. package/lib/component/panels/filtersPanel/Filters/InnerFilterHeader.d.ts.map +1 -0
  1715. package/lib/component/panels/filtersPanel/Filters/InnerFilterHeader.js +14 -0
  1716. package/lib/component/panels/filtersPanel/Filters/InnerFilterHeader.js.map +1 -0
  1717. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts +4 -0
  1718. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts.map +1 -0
  1719. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js +46 -0
  1720. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -0
  1721. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts +4 -0
  1722. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts.map +1 -0
  1723. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js +44 -0
  1724. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -0
  1725. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts +6 -0
  1726. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts.map +1 -0
  1727. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js +58 -0
  1728. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -0
  1729. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts +4 -0
  1730. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -0
  1731. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.js +6 -0
  1732. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.js.map +1 -0
  1733. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts +4 -0
  1734. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -0
  1735. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.js +6 -0
  1736. package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.js.map +1 -0
  1737. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts +4 -0
  1738. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts.map +1 -0
  1739. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.js +6 -0
  1740. package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.js.map +1 -0
  1741. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts +4 -0
  1742. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -0
  1743. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +103 -0
  1744. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -0
  1745. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts +4 -0
  1746. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -0
  1747. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js +32 -0
  1748. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -0
  1749. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts +20 -0
  1750. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -0
  1751. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +135 -0
  1752. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -0
  1753. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +108 -0
  1754. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -0
  1755. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +142 -0
  1756. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -0
  1757. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts +37 -0
  1758. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -0
  1759. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +143 -0
  1760. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -0
  1761. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts +43 -0
  1762. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -0
  1763. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +185 -0
  1764. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -0
  1765. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +32 -0
  1766. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -0
  1767. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +144 -0
  1768. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -0
  1769. package/lib/component/panels/filtersPanel/Filters/index.d.ts +37 -0
  1770. package/lib/component/panels/filtersPanel/Filters/index.d.ts.map +1 -0
  1771. package/lib/component/panels/filtersPanel/Filters/index.js +43 -0
  1772. package/lib/component/panels/filtersPanel/Filters/index.js.map +1 -0
  1773. package/lib/component/panels/header/DefaultPanelHeader.d.ts +3 -3
  1774. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -0
  1775. package/lib/component/panels/header/DefaultPanelHeader.js +3 -18
  1776. package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -0
  1777. package/lib/component/panels/header/PreferencesHeader.d.ts +1 -0
  1778. package/lib/component/panels/header/PreferencesHeader.d.ts.map +1 -0
  1779. package/lib/component/panels/header/PreferencesHeader.js +3 -2
  1780. package/lib/component/panels/header/PreferencesHeader.js.map +1 -0
  1781. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +1 -0
  1782. package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts.map +1 -0
  1783. package/lib/component/panels/header/SpectraAutomaticPickingButton.js +5 -4
  1784. package/lib/component/panels/header/SpectraAutomaticPickingButton.js.map +1 -0
  1785. package/lib/component/panels/hooks/useAccordionItems.d.ts +2 -0
  1786. package/lib/component/panels/hooks/useAccordionItems.d.ts.map +1 -0
  1787. package/lib/component/panels/hooks/useAccordionItems.js +18 -0
  1788. package/lib/component/panels/hooks/useAccordionItems.js.map +1 -0
  1789. package/lib/component/panels/hooks/useGetPanelOptions.d.ts +4 -0
  1790. package/lib/component/panels/hooks/useGetPanelOptions.d.ts.map +1 -0
  1791. package/lib/component/panels/hooks/useGetPanelOptions.js +22 -0
  1792. package/lib/component/panels/hooks/useGetPanelOptions.js.map +1 -0
  1793. package/lib/component/panels/hooks/useTogglePanel.d.ts +3 -0
  1794. package/lib/component/panels/hooks/useTogglePanel.d.ts.map +1 -0
  1795. package/lib/component/panels/hooks/useTogglePanel.js +16 -0
  1796. package/lib/component/panels/hooks/useTogglePanel.js.map +1 -0
  1797. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts +2 -1
  1798. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -0
  1799. package/lib/component/panels/informationPanel/InformationEditionModal.js +54 -42
  1800. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -0
  1801. package/lib/component/panels/informationPanel/InformationPanel.d.ts +1 -0
  1802. package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -0
  1803. package/lib/component/panels/informationPanel/InformationPanel.js +2 -1
  1804. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -0
  1805. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +2 -1
  1806. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -0
  1807. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js +50 -52
  1808. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -0
  1809. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts +2 -1
  1810. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -0
  1811. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +202 -27
  1812. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -0
  1813. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts +2 -1
  1814. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts.map +1 -0
  1815. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +25 -34
  1816. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -0
  1817. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +2 -1
  1818. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -0
  1819. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +29 -21
  1820. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -0
  1821. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +1 -0
  1822. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -0
  1823. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js +3 -2
  1824. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js.map +1 -0
  1825. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +2 -1
  1826. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -0
  1827. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +12 -10
  1828. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.map +1 -0
  1829. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts +1 -0
  1830. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -0
  1831. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js +22 -20
  1832. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -0
  1833. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts +1 -0
  1834. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -0
  1835. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +25 -37
  1836. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -0
  1837. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts +2 -1
  1838. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts.map +1 -0
  1839. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js +9 -8
  1840. package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js.map +1 -0
  1841. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts +2 -1
  1842. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -0
  1843. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +64 -73
  1844. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -0
  1845. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +4 -3
  1846. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -0
  1847. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +38 -30
  1848. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -0
  1849. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts +2 -1
  1850. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -0
  1851. package/lib/component/panels/predictionPanel/PredictionPanel.js +27 -26
  1852. package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -0
  1853. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +1 -0
  1854. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -0
  1855. package/lib/component/panels/predictionPanel/PredictionPreferences.js +8 -7
  1856. package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -0
  1857. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts +1 -0
  1858. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts.map +1 -0
  1859. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js +36 -20
  1860. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js.map +1 -0
  1861. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts +2 -1
  1862. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts.map +1 -0
  1863. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js +77 -83
  1864. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js.map +1 -0
  1865. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts +2 -5
  1866. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts.map +1 -0
  1867. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js +17 -29
  1868. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -0
  1869. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts +1 -0
  1870. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts.map +1 -0
  1871. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.js +11 -13
  1872. package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.js.map +1 -0
  1873. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts +1 -0
  1874. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -0
  1875. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js +10 -16
  1876. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -0
  1877. package/lib/component/reducer/IgnoreActions.d.ts +2 -1
  1878. package/lib/component/reducer/IgnoreActions.d.ts.map +1 -0
  1879. package/lib/component/reducer/IgnoreActions.js +1 -0
  1880. package/lib/component/reducer/IgnoreActions.js.map +1 -0
  1881. package/lib/component/reducer/Reducer.d.ts +15 -18
  1882. package/lib/component/reducer/Reducer.d.ts.map +1 -0
  1883. package/lib/component/reducer/Reducer.js +74 -26
  1884. package/lib/component/reducer/Reducer.js.map +1 -0
  1885. package/lib/component/reducer/actions/AssignmentsActions.d.ts +5 -4
  1886. package/lib/component/reducer/actions/AssignmentsActions.d.ts.map +1 -0
  1887. package/lib/component/reducer/actions/AssignmentsActions.js +1 -0
  1888. package/lib/component/reducer/actions/AssignmentsActions.js.map +1 -0
  1889. package/lib/component/reducer/actions/CorrelationsActions.d.ts +5 -6
  1890. package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -0
  1891. package/lib/component/reducer/actions/CorrelationsActions.js +7 -8
  1892. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -0
  1893. package/lib/component/reducer/actions/DatabaseActions.d.ts +6 -5
  1894. package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -0
  1895. package/lib/component/reducer/actions/DatabaseActions.js +7 -6
  1896. package/lib/component/reducer/actions/DatabaseActions.js.map +1 -0
  1897. package/lib/component/reducer/actions/DimensionsActions.d.ts +4 -3
  1898. package/lib/component/reducer/actions/DimensionsActions.d.ts.map +1 -0
  1899. package/lib/component/reducer/actions/DimensionsActions.js +1 -0
  1900. package/lib/component/reducer/actions/DimensionsActions.js.map +1 -0
  1901. package/lib/component/reducer/actions/DomainActions.d.ts +22 -12
  1902. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -0
  1903. package/lib/component/reducer/actions/DomainActions.js +67 -49
  1904. package/lib/component/reducer/actions/DomainActions.js.map +1 -0
  1905. package/lib/component/reducer/actions/FiltersActions.d.ts +66 -21
  1906. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -0
  1907. package/lib/component/reducer/actions/FiltersActions.js +449 -268
  1908. package/lib/component/reducer/actions/FiltersActions.js.map +1 -0
  1909. package/lib/component/reducer/actions/InsetActions.d.ts +64 -0
  1910. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -0
  1911. package/lib/component/reducer/actions/InsetActions.js +241 -0
  1912. package/lib/component/reducer/actions/InsetActions.js.map +1 -0
  1913. package/lib/component/reducer/actions/IntegralsActions.d.ts +10 -7
  1914. package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -0
  1915. package/lib/component/reducer/actions/IntegralsActions.js +37 -41
  1916. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -0
  1917. package/lib/component/reducer/actions/LoadActions.d.ts +8 -13
  1918. package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -0
  1919. package/lib/component/reducer/actions/LoadActions.js +19 -13
  1920. package/lib/component/reducer/actions/LoadActions.js.map +1 -0
  1921. package/lib/component/reducer/actions/MoleculeActions.d.ts +8 -9
  1922. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -0
  1923. package/lib/component/reducer/actions/MoleculeActions.js +21 -16
  1924. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -0
  1925. package/lib/component/reducer/actions/PeaksActions.d.ts +8 -6
  1926. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -0
  1927. package/lib/component/reducer/actions/PeaksActions.js +34 -24
  1928. package/lib/component/reducer/actions/PeaksActions.js.map +1 -0
  1929. package/lib/component/reducer/actions/PreferencesActions.d.ts +4 -3
  1930. package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -0
  1931. package/lib/component/reducer/actions/PreferencesActions.js +5 -4
  1932. package/lib/component/reducer/actions/PreferencesActions.js.map +1 -0
  1933. package/lib/component/reducer/actions/RangesActions.d.ts +24 -18
  1934. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -0
  1935. package/lib/component/reducer/actions/RangesActions.js +97 -95
  1936. package/lib/component/reducer/actions/RangesActions.js.map +1 -0
  1937. package/lib/component/reducer/actions/SpectraActions.d.ts +13 -17
  1938. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -0
  1939. package/lib/component/reducer/actions/SpectraActions.js +50 -55
  1940. package/lib/component/reducer/actions/SpectraActions.js.map +1 -0
  1941. package/lib/component/reducer/actions/ToolsActions.d.ts +14 -14
  1942. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -0
  1943. package/lib/component/reducer/actions/ToolsActions.js +38 -47
  1944. package/lib/component/reducer/actions/ToolsActions.js.map +1 -0
  1945. package/lib/component/reducer/actions/ZonesActions.d.ts +10 -12
  1946. package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -0
  1947. package/lib/component/reducer/actions/ZonesActions.js +45 -40
  1948. package/lib/component/reducer/actions/ZonesActions.js.map +1 -0
  1949. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts +3 -2
  1950. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts.map +1 -0
  1951. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.js +1 -0
  1952. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.js.map +1 -0
  1953. package/lib/component/reducer/core/Constants.d.ts +1 -0
  1954. package/lib/component/reducer/core/Constants.d.ts.map +1 -0
  1955. package/lib/component/reducer/core/Constants.js +1 -0
  1956. package/lib/component/reducer/core/Constants.js.map +1 -0
  1957. package/lib/component/reducer/helper/Zoom1DManager.d.ts +4 -3
  1958. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -0
  1959. package/lib/component/reducer/helper/Zoom1DManager.js +3 -2
  1960. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -0
  1961. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +9 -5
  1962. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -0
  1963. package/lib/component/reducer/helper/ZoomHistoryManager.js +15 -12
  1964. package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -0
  1965. package/lib/component/reducer/helper/findStrongestPeak.d.ts +2 -1
  1966. package/lib/component/reducer/helper/findStrongestPeak.d.ts.map +1 -0
  1967. package/lib/component/reducer/helper/findStrongestPeak.js +2 -1
  1968. package/lib/component/reducer/helper/findStrongestPeak.js.map +1 -0
  1969. package/lib/component/reducer/helper/get2DRange.d.ts +1 -0
  1970. package/lib/component/reducer/helper/get2DRange.d.ts.map +1 -0
  1971. package/lib/component/reducer/helper/get2DRange.js +2 -1
  1972. package/lib/component/reducer/helper/get2DRange.js.map +1 -0
  1973. package/lib/component/reducer/helper/getActiveSpectra.d.ts +3 -2
  1974. package/lib/component/reducer/helper/getActiveSpectra.d.ts.map +1 -0
  1975. package/lib/component/reducer/helper/getActiveSpectra.js +1 -0
  1976. package/lib/component/reducer/helper/getActiveSpectra.js.map +1 -0
  1977. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts +3 -3
  1978. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts.map +1 -0
  1979. package/lib/component/reducer/helper/getActiveSpectraAsObject.js +2 -4
  1980. package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -0
  1981. package/lib/component/reducer/helper/getActiveSpectrum.d.ts +3 -2
  1982. package/lib/component/reducer/helper/getActiveSpectrum.d.ts.map +1 -0
  1983. package/lib/component/reducer/helper/getActiveSpectrum.js +1 -0
  1984. package/lib/component/reducer/helper/getActiveSpectrum.js.map +1 -0
  1985. package/lib/component/reducer/helper/getRange.d.ts +2 -1
  1986. package/lib/component/reducer/helper/getRange.d.ts.map +1 -0
  1987. package/lib/component/reducer/helper/getRange.js +5 -13
  1988. package/lib/component/reducer/helper/getRange.js.map +1 -0
  1989. package/lib/component/reducer/helper/getSpectrum.d.ts +4 -3
  1990. package/lib/component/reducer/helper/getSpectrum.d.ts.map +1 -0
  1991. package/lib/component/reducer/helper/getSpectrum.js +2 -1
  1992. package/lib/component/reducer/helper/getSpectrum.js.map +1 -0
  1993. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.d.ts +2 -2
  1994. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.d.ts.map +1 -0
  1995. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.js +1 -5
  1996. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.js.map +1 -0
  1997. package/lib/component/reducer/helper/getVerticalAlign.d.ts +3 -2
  1998. package/lib/component/reducer/helper/getVerticalAlign.d.ts.map +1 -0
  1999. package/lib/component/reducer/helper/getVerticalAlign.js +1 -0
  2000. package/lib/component/reducer/helper/getVerticalAlign.js.map +1 -0
  2001. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.d.ts +3 -2
  2002. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.d.ts.map +1 -0
  2003. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +2 -1
  2004. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -0
  2005. package/lib/component/reducer/helper/setIntegralsViewProperty.d.ts +4 -3
  2006. package/lib/component/reducer/helper/setIntegralsViewProperty.d.ts.map +1 -0
  2007. package/lib/component/reducer/helper/setIntegralsViewProperty.js +3 -2
  2008. package/lib/component/reducer/helper/setIntegralsViewProperty.js.map +1 -0
  2009. package/lib/component/reducer/helper/setRangesViewProperty.d.ts +12 -5
  2010. package/lib/component/reducer/helper/setRangesViewProperty.d.ts.map +1 -0
  2011. package/lib/component/reducer/helper/setRangesViewProperty.js +15 -10
  2012. package/lib/component/reducer/helper/setRangesViewProperty.js.map +1 -0
  2013. package/lib/component/reducer/preferences/actions/addWorkspace.d.ts +3 -2
  2014. package/lib/component/reducer/preferences/actions/addWorkspace.d.ts.map +1 -0
  2015. package/lib/component/reducer/preferences/actions/addWorkspace.js +1 -0
  2016. package/lib/component/reducer/preferences/actions/addWorkspace.js.map +1 -0
  2017. package/lib/component/reducer/preferences/actions/analyzeSpectra.d.ts +3 -2
  2018. package/lib/component/reducer/preferences/actions/analyzeSpectra.d.ts.map +1 -0
  2019. package/lib/component/reducer/preferences/actions/analyzeSpectra.js +6 -5
  2020. package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -0
  2021. package/lib/component/reducer/preferences/actions/applyGeneralPreferences.d.ts +3 -2
  2022. package/lib/component/reducer/preferences/actions/applyGeneralPreferences.d.ts.map +1 -0
  2023. package/lib/component/reducer/preferences/actions/applyGeneralPreferences.js +1 -0
  2024. package/lib/component/reducer/preferences/actions/applyGeneralPreferences.js.map +1 -0
  2025. package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts +4 -0
  2026. package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts.map +1 -0
  2027. package/lib/component/reducer/preferences/actions/changeExportSettings.js +7 -0
  2028. package/lib/component/reducer/preferences/actions/changeExportSettings.js.map +1 -0
  2029. package/lib/component/reducer/preferences/actions/changeInformationBlockPosition.d.ts +3 -2
  2030. package/lib/component/reducer/preferences/actions/changeInformationBlockPosition.d.ts.map +1 -0
  2031. package/lib/component/reducer/preferences/actions/changeInformationBlockPosition.js +2 -1
  2032. package/lib/component/reducer/preferences/actions/changeInformationBlockPosition.js.map +1 -0
  2033. package/lib/component/reducer/preferences/actions/changePeaksLabelPosition.d.ts +4 -0
  2034. package/lib/component/reducer/preferences/actions/changePeaksLabelPosition.d.ts.map +1 -0
  2035. package/lib/component/reducer/preferences/actions/changePeaksLabelPosition.js +6 -0
  2036. package/lib/component/reducer/preferences/actions/changePeaksLabelPosition.js.map +1 -0
  2037. package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts +3 -2
  2038. package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts.map +1 -0
  2039. package/lib/component/reducer/preferences/actions/changePrintPageSettings.js +2 -1
  2040. package/lib/component/reducer/preferences/actions/changePrintPageSettings.js.map +1 -0
  2041. package/lib/component/reducer/preferences/actions/initPreferences.d.ts +3 -2
  2042. package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -0
  2043. package/lib/component/reducer/preferences/actions/initPreferences.js +4 -3
  2044. package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -0
  2045. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +9 -9
  2046. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -0
  2047. package/lib/component/reducer/preferences/actions/matrixGeneration.js +10 -16
  2048. package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -0
  2049. package/lib/component/reducer/preferences/actions/removeWorkspace.d.ts +3 -2
  2050. package/lib/component/reducer/preferences/actions/removeWorkspace.d.ts.map +1 -0
  2051. package/lib/component/reducer/preferences/actions/removeWorkspace.js +1 -0
  2052. package/lib/component/reducer/preferences/actions/removeWorkspace.js.map +1 -0
  2053. package/lib/component/reducer/preferences/actions/setActiveWorkspace.d.ts +3 -2
  2054. package/lib/component/reducer/preferences/actions/setActiveWorkspace.d.ts.map +1 -0
  2055. package/lib/component/reducer/preferences/actions/setActiveWorkspace.js +1 -0
  2056. package/lib/component/reducer/preferences/actions/setActiveWorkspace.js.map +1 -0
  2057. package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts +3 -2
  2058. package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts.map +1 -0
  2059. package/lib/component/reducer/preferences/actions/setPanelsPreferences.js +2 -1
  2060. package/lib/component/reducer/preferences/actions/setPanelsPreferences.js.map +1 -0
  2061. package/lib/component/reducer/preferences/actions/setPreferences.d.ts +3 -2
  2062. package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -0
  2063. package/lib/component/reducer/preferences/actions/setPreferences.js +3 -2
  2064. package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -0
  2065. package/lib/component/reducer/preferences/actions/setVerticalSplitterPosition.d.ts +3 -2
  2066. package/lib/component/reducer/preferences/actions/setVerticalSplitterPosition.d.ts.map +1 -0
  2067. package/lib/component/reducer/preferences/actions/setVerticalSplitterPosition.js +2 -1
  2068. package/lib/component/reducer/preferences/actions/setVerticalSplitterPosition.js.map +1 -0
  2069. package/lib/component/reducer/preferences/actions/setWorkspace.d.ts +3 -2
  2070. package/lib/component/reducer/preferences/actions/setWorkspace.d.ts.map +1 -0
  2071. package/lib/component/reducer/preferences/actions/setWorkspace.js +4 -3
  2072. package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -0
  2073. package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts +3 -2
  2074. package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts.map +1 -0
  2075. package/lib/component/reducer/preferences/actions/toggleInformationBlock.js +2 -1
  2076. package/lib/component/reducer/preferences/actions/toggleInformationBlock.js.map +1 -0
  2077. package/lib/component/reducer/preferences/actions/togglePanel.d.ts +4 -0
  2078. package/lib/component/reducer/preferences/actions/togglePanel.d.ts.map +1 -0
  2079. package/lib/component/reducer/preferences/actions/togglePanel.js +17 -0
  2080. package/lib/component/reducer/preferences/actions/togglePanel.js.map +1 -0
  2081. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +3 -3
  2082. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -0
  2083. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +16 -4
  2084. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -0
  2085. package/lib/component/reducer/preferences/preferencesReducer.d.ts +18 -11
  2086. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -0
  2087. package/lib/component/reducer/preferences/preferencesReducer.js +28 -48
  2088. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -0
  2089. package/lib/component/reducer/preferences/utilities/getActiveWorkspace.d.ts +4 -3
  2090. package/lib/component/reducer/preferences/utilities/getActiveWorkspace.d.ts.map +1 -0
  2091. package/lib/component/reducer/preferences/utilities/getActiveWorkspace.js +1 -0
  2092. package/lib/component/reducer/preferences/utilities/getActiveWorkspace.js.map +1 -0
  2093. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts +3 -2
  2094. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts.map +1 -0
  2095. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +3 -2
  2096. package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js.map +1 -0
  2097. package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +2 -1
  2098. package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts.map +1 -0
  2099. package/lib/component/reducer/preferences/utilities/initWorkspace.js +3 -2
  2100. package/lib/component/reducer/preferences/utilities/initWorkspace.js.map +1 -0
  2101. package/lib/component/reducer/preferences/utilities/isReadOnlyWorkspace.d.ts +3 -2
  2102. package/lib/component/reducer/preferences/utilities/isReadOnlyWorkspace.d.ts.map +1 -0
  2103. package/lib/component/reducer/preferences/utilities/isReadOnlyWorkspace.js +1 -0
  2104. package/lib/component/reducer/preferences/utilities/isReadOnlyWorkspace.js.map +1 -0
  2105. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -1
  2106. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -0
  2107. package/lib/component/reducer/preferences/utilities/mapWorkspaces.js +3 -2
  2108. package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -0
  2109. package/lib/component/reducer/types/ActionType.d.ts +1 -0
  2110. package/lib/component/reducer/types/ActionType.d.ts.map +1 -0
  2111. package/lib/component/reducer/types/ActionType.js +1 -0
  2112. package/lib/component/reducer/types/ActionType.js.map +1 -0
  2113. package/lib/component/toolbar/ToolBar.d.ts +1 -0
  2114. package/lib/component/toolbar/ToolBar.d.ts.map +1 -0
  2115. package/lib/component/toolbar/ToolBar.js +68 -27
  2116. package/lib/component/toolbar/ToolBar.js.map +1 -0
  2117. package/lib/component/toolbar/ToolTypes.d.ts +4 -3
  2118. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -0
  2119. package/lib/component/toolbar/ToolTypes.js +94 -10
  2120. package/lib/component/toolbar/ToolTypes.js.map +1 -0
  2121. package/lib/component/toolbar/toolbarMenu.d.ts +2 -1
  2122. package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -0
  2123. package/lib/component/toolbar/toolbarMenu.js +1 -0
  2124. package/lib/component/toolbar/toolbarMenu.js.map +1 -0
  2125. package/lib/component/utility/Evaluate.d.ts +1 -0
  2126. package/lib/component/utility/Evaluate.d.ts.map +1 -0
  2127. package/lib/component/utility/Evaluate.js +1 -0
  2128. package/lib/component/utility/Evaluate.js.map +1 -0
  2129. package/lib/component/utility/Events.d.ts +8 -7
  2130. package/lib/component/utility/Events.d.ts.map +1 -0
  2131. package/lib/component/utility/Events.js +3 -2
  2132. package/lib/component/utility/Events.js.map +1 -0
  2133. package/lib/component/utility/GroupByInfoKey.d.ts +1 -0
  2134. package/lib/component/utility/GroupByInfoKey.d.ts.map +1 -0
  2135. package/lib/component/utility/GroupByInfoKey.js +1 -0
  2136. package/lib/component/utility/GroupByInfoKey.js.map +1 -0
  2137. package/lib/component/utility/LocalStorage.d.ts +1 -1
  2138. package/lib/component/utility/LocalStorage.d.ts.map +1 -0
  2139. package/lib/component/utility/LocalStorage.js +5 -10
  2140. package/lib/component/utility/LocalStorage.js.map +1 -0
  2141. package/lib/component/utility/PathBuilder.d.ts +3 -1
  2142. package/lib/component/utility/PathBuilder.d.ts.map +1 -0
  2143. package/lib/component/utility/PathBuilder.js +10 -8
  2144. package/lib/component/utility/PathBuilder.js.map +1 -0
  2145. package/lib/component/utility/assert.d.ts +1 -0
  2146. package/lib/component/utility/assert.d.ts.map +1 -0
  2147. package/lib/component/utility/assert.js +1 -0
  2148. package/lib/component/utility/assert.js.map +1 -0
  2149. package/lib/component/utility/booleanToString.d.ts +1 -0
  2150. package/lib/component/utility/booleanToString.d.ts.map +1 -0
  2151. package/lib/component/utility/booleanToString.js +1 -0
  2152. package/lib/component/utility/booleanToString.js.map +1 -0
  2153. package/lib/component/utility/checkUniqueByKey.d.ts +4 -2
  2154. package/lib/component/utility/checkUniqueByKey.d.ts.map +1 -0
  2155. package/lib/component/utility/checkUniqueByKey.js +3 -2
  2156. package/lib/component/utility/checkUniqueByKey.js.map +1 -0
  2157. package/lib/component/utility/colorToHexWithAlpha.d.ts +1 -0
  2158. package/lib/component/utility/colorToHexWithAlpha.d.ts.map +1 -0
  2159. package/lib/component/utility/colorToHexWithAlpha.js +1 -0
  2160. package/lib/component/utility/colorToHexWithAlpha.js.map +1 -0
  2161. package/lib/component/utility/convertPathArrayToString.d.ts +1 -0
  2162. package/lib/component/utility/convertPathArrayToString.d.ts.map +1 -0
  2163. package/lib/component/utility/convertPathArrayToString.js +1 -0
  2164. package/lib/component/utility/convertPathArrayToString.js.map +1 -0
  2165. package/lib/component/utility/export.d.ts +35 -12
  2166. package/lib/component/utility/export.d.ts.map +1 -0
  2167. package/lib/component/utility/export.js +164 -128
  2168. package/lib/component/utility/export.js.map +1 -0
  2169. package/lib/component/utility/extractChemicalElement.d.ts +2 -0
  2170. package/lib/component/utility/extractChemicalElement.d.ts.map +1 -0
  2171. package/lib/component/utility/extractChemicalElement.js +4 -0
  2172. package/lib/component/utility/extractChemicalElement.js.map +1 -0
  2173. package/lib/component/utility/filterType.d.ts +1 -0
  2174. package/lib/component/utility/filterType.d.ts.map +1 -0
  2175. package/lib/component/utility/filterType.js +1 -0
  2176. package/lib/component/utility/filterType.js.map +1 -0
  2177. package/lib/component/utility/formatNumber.d.ts +2 -2
  2178. package/lib/component/utility/formatNumber.d.ts.map +1 -0
  2179. package/lib/component/utility/formatNumber.js +2 -6
  2180. package/lib/component/utility/formatNumber.js.map +1 -0
  2181. package/lib/component/utility/getClosePeak.d.ts +2 -1
  2182. package/lib/component/utility/getClosePeak.d.ts.map +1 -0
  2183. package/lib/component/utility/getClosePeak.js +3 -2
  2184. package/lib/component/utility/getClosePeak.js.map +1 -0
  2185. package/lib/component/utility/getDefaultFilterOptions.d.ts +4 -0
  2186. package/lib/component/utility/getDefaultFilterOptions.d.ts.map +1 -0
  2187. package/lib/component/utility/getDefaultFilterOptions.js +9 -0
  2188. package/lib/component/utility/getDefaultFilterOptions.js.map +1 -0
  2189. package/lib/component/utility/getSpectraByNucleus.d.ts +2 -1
  2190. package/lib/component/utility/getSpectraByNucleus.d.ts.map +1 -0
  2191. package/lib/component/utility/getSpectraByNucleus.js +2 -1
  2192. package/lib/component/utility/getSpectraByNucleus.js.map +1 -0
  2193. package/lib/component/utility/getSpectraObjectPaths.d.ts +2 -1
  2194. package/lib/component/utility/getSpectraObjectPaths.d.ts.map +1 -0
  2195. package/lib/component/utility/getSpectraObjectPaths.js +1 -0
  2196. package/lib/component/utility/getSpectraObjectPaths.js.map +1 -0
  2197. package/lib/component/utility/getUniqueNuclei.d.ts +1 -0
  2198. package/lib/component/utility/getUniqueNuclei.d.ts.map +1 -0
  2199. package/lib/component/utility/getUniqueNuclei.js +1 -0
  2200. package/lib/component/utility/getUniqueNuclei.js.map +1 -0
  2201. package/lib/component/utility/isGoogleDocument.d.ts +1 -0
  2202. package/lib/component/utility/isGoogleDocument.d.ts.map +1 -0
  2203. package/lib/component/utility/isGoogleDocument.js +1 -0
  2204. package/lib/component/utility/isGoogleDocument.js.map +1 -0
  2205. package/lib/component/utility/maxAbsoluteValue.d.ts +3 -2
  2206. package/lib/component/utility/maxAbsoluteValue.d.ts.map +1 -0
  2207. package/lib/component/utility/maxAbsoluteValue.js +2 -1
  2208. package/lib/component/utility/maxAbsoluteValue.js.map +1 -0
  2209. package/lib/component/utility/nucleusToString.d.ts +1 -0
  2210. package/lib/component/utility/nucleusToString.d.ts.map +1 -0
  2211. package/lib/component/utility/nucleusToString.js +1 -0
  2212. package/lib/component/utility/nucleusToString.js.map +1 -0
  2213. package/lib/component/utility/parseColor.d.ts +1 -0
  2214. package/lib/component/utility/parseColor.d.ts.map +1 -0
  2215. package/lib/component/utility/parseColor.js +1 -0
  2216. package/lib/component/utility/parseColor.js.map +1 -0
  2217. package/lib/component/utility/replaceNucleiObjectKeys.d.ts +4 -0
  2218. package/lib/component/utility/replaceNucleiObjectKeys.d.ts.map +1 -0
  2219. package/lib/component/utility/replaceNucleiObjectKeys.js +8 -0
  2220. package/lib/component/utility/replaceNucleiObjectKeys.js.map +1 -0
  2221. package/lib/component/utility/roundNumber.d.ts +2 -0
  2222. package/lib/component/utility/roundNumber.d.ts.map +1 -0
  2223. package/lib/component/utility/roundNumber.js +5 -0
  2224. package/lib/component/utility/roundNumber.js.map +1 -0
  2225. package/lib/component/workspaces/assignment.d.ts +2 -1
  2226. package/lib/component/workspaces/assignment.d.ts.map +1 -0
  2227. package/lib/component/workspaces/assignment.js +7 -6
  2228. package/lib/component/workspaces/assignment.js.map +1 -0
  2229. package/lib/component/workspaces/basic.d.ts +2 -1
  2230. package/lib/component/workspaces/basic.d.ts.map +1 -0
  2231. package/lib/component/workspaces/basic.js +9 -8
  2232. package/lib/component/workspaces/basic.js.map +1 -0
  2233. package/lib/component/workspaces/embedded.d.ts +2 -1
  2234. package/lib/component/workspaces/embedded.d.ts.map +1 -0
  2235. package/lib/component/workspaces/embedded.js +10 -9
  2236. package/lib/component/workspaces/embedded.js.map +1 -0
  2237. package/lib/component/workspaces/exercise.d.ts +2 -1
  2238. package/lib/component/workspaces/exercise.d.ts.map +1 -0
  2239. package/lib/component/workspaces/exercise.js +3 -2
  2240. package/lib/component/workspaces/exercise.js.map +1 -0
  2241. package/lib/component/workspaces/index.d.ts +1 -0
  2242. package/lib/component/workspaces/index.d.ts.map +1 -0
  2243. package/lib/component/workspaces/index.js +8 -7
  2244. package/lib/component/workspaces/index.js.map +1 -0
  2245. package/lib/component/workspaces/prediction.d.ts +2 -1
  2246. package/lib/component/workspaces/prediction.d.ts.map +1 -0
  2247. package/lib/component/workspaces/prediction.js +5 -4
  2248. package/lib/component/workspaces/prediction.js.map +1 -0
  2249. package/lib/component/workspaces/process1D.d.ts +2 -1
  2250. package/lib/component/workspaces/process1D.d.ts.map +1 -0
  2251. package/lib/component/workspaces/process1D.js +6 -5
  2252. package/lib/component/workspaces/process1D.js.map +1 -0
  2253. package/lib/component/workspaces/simulation.d.ts +2 -1
  2254. package/lib/component/workspaces/simulation.d.ts.map +1 -0
  2255. package/lib/component/workspaces/simulation.js +3 -2
  2256. package/lib/component/workspaces/simulation.js.map +1 -0
  2257. package/lib/component/workspaces/workspaceDefaultProperties.d.ts +2 -1
  2258. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -0
  2259. package/lib/component/workspaces/workspaceDefaultProperties.js +71 -57
  2260. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -0
  2261. package/lib/constants.d.ts +1 -4
  2262. package/lib/constants.d.ts.map +1 -0
  2263. package/lib/constants.js +1 -22
  2264. package/lib/constants.js.map +1 -0
  2265. package/lib/data/PredictionManager.d.ts +7 -5
  2266. package/lib/data/PredictionManager.d.ts.map +1 -0
  2267. package/lib/data/PredictionManager.js +10 -9
  2268. package/lib/data/PredictionManager.js.map +1 -0
  2269. package/lib/data/SpectraManager.d.ts +4 -3
  2270. package/lib/data/SpectraManager.d.ts.map +1 -0
  2271. package/lib/data/SpectraManager.js +8 -7
  2272. package/lib/data/SpectraManager.js.map +1 -0
  2273. package/lib/data/constants/DefaultPathLengths.d.ts +3 -2
  2274. package/lib/data/constants/DefaultPathLengths.d.ts.map +1 -0
  2275. package/lib/data/constants/DefaultPathLengths.js +1 -0
  2276. package/lib/data/constants/DefaultPathLengths.js.map +1 -0
  2277. package/lib/data/constants/Multiplets.d.ts +4 -2
  2278. package/lib/data/constants/Multiplets.d.ts.map +1 -0
  2279. package/lib/data/constants/Multiplets.js +2 -1
  2280. package/lib/data/constants/Multiplets.js.map +1 -0
  2281. package/lib/data/constants/References.d.ts +3 -2
  2282. package/lib/data/constants/References.d.ts.map +1 -0
  2283. package/lib/data/constants/References.js +1 -0
  2284. package/lib/data/constants/References.js.map +1 -0
  2285. package/lib/data/constants/signalsKinds.d.ts +3 -2
  2286. package/lib/data/constants/signalsKinds.d.ts.map +1 -0
  2287. package/lib/data/constants/signalsKinds.js +3 -2
  2288. package/lib/data/constants/signalsKinds.js.map +1 -0
  2289. package/lib/data/data1d/Spectrum1D/SumManager.d.ts +5 -4
  2290. package/lib/data/data1d/Spectrum1D/SumManager.d.ts.map +1 -0
  2291. package/lib/data/data1d/Spectrum1D/SumManager.js +3 -2
  2292. package/lib/data/data1d/Spectrum1D/SumManager.js.map +1 -0
  2293. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.d.ts +2 -1
  2294. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.d.ts.map +1 -0
  2295. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js +1 -0
  2296. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js.map +1 -0
  2297. package/lib/data/data1d/Spectrum1D/generateJGraphData.d.ts +2 -1
  2298. package/lib/data/data1d/Spectrum1D/generateJGraphData.d.ts.map +1 -0
  2299. package/lib/data/data1d/Spectrum1D/generateJGraphData.js +4 -4
  2300. package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -0
  2301. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts +3 -3
  2302. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -0
  2303. package/lib/data/data1d/Spectrum1D/get1DColor.js +3 -24
  2304. package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -0
  2305. package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +2 -1
  2306. package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts.map +1 -0
  2307. package/lib/data/data1d/Spectrum1D/get1DDataXY.js +1 -0
  2308. package/lib/data/data1d/Spectrum1D/get1DDataXY.js.map +1 -0
  2309. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +3 -1
  2310. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -0
  2311. package/lib/data/data1d/Spectrum1D/getReferenceShift.js +2 -1
  2312. package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -0
  2313. package/lib/data/data1d/Spectrum1D/index.d.ts +17 -17
  2314. package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -0
  2315. package/lib/data/data1d/Spectrum1D/index.js +17 -17
  2316. package/lib/data/data1d/Spectrum1D/index.js.map +1 -0
  2317. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts +6 -4
  2318. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -0
  2319. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +11 -11
  2320. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -0
  2321. package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.d.ts +2 -1
  2322. package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.d.ts.map +1 -0
  2323. package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.js +1 -0
  2324. package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.js.map +1 -0
  2325. package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.d.ts +3 -2
  2326. package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.d.ts.map +1 -0
  2327. package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.js +2 -1
  2328. package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.js.map +1 -0
  2329. package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts +2 -1
  2330. package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts.map +1 -0
  2331. package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +1 -0
  2332. package/lib/data/data1d/Spectrum1D/isRangeAssigned.js.map +1 -0
  2333. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +4 -1
  2334. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -0
  2335. package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +8 -1
  2336. package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +1 -0
  2337. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +3 -2
  2338. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -0
  2339. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +2 -1
  2340. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -0
  2341. package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.d.ts +3 -2
  2342. package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.d.ts.map +1 -0
  2343. package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.js +2 -1
  2344. package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.js.map +1 -0
  2345. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts +3 -2
  2346. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -0
  2347. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +2 -1
  2348. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -0
  2349. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.d.ts +3 -2
  2350. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.d.ts.map +1 -0
  2351. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +1 -0
  2352. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js.map +1 -0
  2353. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts +2 -1
  2354. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts.map +1 -0
  2355. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +1 -0
  2356. package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js.map +1 -0
  2357. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.d.ts +2 -1
  2358. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.d.ts.map +1 -0
  2359. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.js +4 -5
  2360. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.js.map +1 -0
  2361. package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts +5 -4
  2362. package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -0
  2363. package/lib/data/data1d/Spectrum1D/ranges/createRange.js +2 -1
  2364. package/lib/data/data1d/Spectrum1D/ranges/createRange.js.map +1 -0
  2365. package/lib/data/data1d/Spectrum1D/ranges/detectRange.d.ts +3 -2
  2366. package/lib/data/data1d/Spectrum1D/ranges/detectRange.d.ts.map +1 -0
  2367. package/lib/data/data1d/Spectrum1D/ranges/detectRange.js +2 -2
  2368. package/lib/data/data1d/Spectrum1D/ranges/detectRange.js.map +1 -0
  2369. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.d.ts +3 -2
  2370. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.d.ts.map +1 -0
  2371. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js +4 -3
  2372. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js.map +1 -0
  2373. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +2 -1
  2374. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -0
  2375. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js +2 -1
  2376. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js.map +1 -0
  2377. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +3 -2
  2378. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -0
  2379. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +19 -12
  2380. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -0
  2381. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts +4 -3
  2382. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts.map +1 -0
  2383. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.js +2 -1
  2384. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.js.map +1 -0
  2385. package/lib/data/data1d/Spectrum1D/ranges/resizeRange.d.ts +5 -4
  2386. package/lib/data/data1d/Spectrum1D/ranges/resizeRange.d.ts.map +1 -0
  2387. package/lib/data/data1d/Spectrum1D/ranges/resizeRange.js +2 -1
  2388. package/lib/data/data1d/Spectrum1D/ranges/resizeRange.js.map +1 -0
  2389. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts +4 -3
  2390. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -0
  2391. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +3 -2
  2392. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -0
  2393. package/lib/data/data1d/database.d.ts +5 -4
  2394. package/lib/data/data1d/database.d.ts.map +1 -0
  2395. package/lib/data/data1d/database.js +4 -4
  2396. package/lib/data/data1d/database.js.map +1 -0
  2397. package/lib/data/data1d/multipleSpectraAnalysis.d.ts +6 -16
  2398. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -0
  2399. package/lib/data/data1d/multipleSpectraAnalysis.js +11 -16
  2400. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -0
  2401. package/lib/data/data1d/spectrumSimulation.d.ts +4 -2
  2402. package/lib/data/data1d/spectrumSimulation.d.ts.map +1 -0
  2403. package/lib/data/data1d/spectrumSimulation.js +1 -0
  2404. package/lib/data/data1d/spectrumSimulation.js.map +1 -0
  2405. package/lib/data/data2d/Spectrum2D/contours.d.ts +3 -3
  2406. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -0
  2407. package/lib/data/data2d/Spectrum2D/contours.js +2 -1
  2408. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -0
  2409. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +3 -2
  2410. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -0
  2411. package/lib/data/data2d/Spectrum2D/get2DColor.js +3 -2
  2412. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -0
  2413. package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts +6 -5
  2414. package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts.map +1 -0
  2415. package/lib/data/data2d/Spectrum2D/getMissingProjection.js +2 -1
  2416. package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -0
  2417. package/lib/data/data2d/Spectrum2D/getSlice.d.ts +2 -1
  2418. package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -0
  2419. package/lib/data/data2d/Spectrum2D/getSlice.js +10 -8
  2420. package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -0
  2421. package/lib/data/data2d/Spectrum2D/index.d.ts +9 -9
  2422. package/lib/data/data2d/Spectrum2D/index.d.ts.map +1 -0
  2423. package/lib/data/data2d/Spectrum2D/index.js +9 -9
  2424. package/lib/data/data2d/Spectrum2D/index.js.map +1 -0
  2425. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts +5 -3
  2426. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -0
  2427. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +8 -8
  2428. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -0
  2429. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +10 -1
  2430. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -0
  2431. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +14 -1
  2432. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -0
  2433. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.d.ts +2 -1
  2434. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.d.ts.map +1 -0
  2435. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +2 -1
  2436. package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -0
  2437. package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts +3 -2
  2438. package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts.map +1 -0
  2439. package/lib/data/data2d/Spectrum2D/zones/detectZones.js +2 -1
  2440. package/lib/data/data2d/Spectrum2D/zones/detectZones.js.map +1 -0
  2441. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts +3 -1
  2442. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -0
  2443. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js +3 -1
  2444. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js.map +1 -0
  2445. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts +2 -1
  2446. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts.map +1 -0
  2447. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js +1 -0
  2448. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -0
  2449. package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts +3 -2
  2450. package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -0
  2451. package/lib/data/data2d/Spectrum2D/zones/initiateZones.js +2 -1
  2452. package/lib/data/data2d/Spectrum2D/zones/initiateZones.js.map +1 -0
  2453. package/lib/data/getFilterLabel.d.ts +3 -0
  2454. package/lib/data/getFilterLabel.d.ts.map +1 -0
  2455. package/lib/data/getFilterLabel.js +11 -0
  2456. package/lib/data/getFilterLabel.js.map +1 -0
  2457. package/lib/data/initiateFilters.d.ts +3 -10
  2458. package/lib/data/initiateFilters.d.ts.map +1 -0
  2459. package/lib/data/initiateFilters.js +5 -2
  2460. package/lib/data/initiateFilters.js.map +1 -0
  2461. package/lib/data/matrixGeneration.d.ts +2 -1
  2462. package/lib/data/matrixGeneration.d.ts.map +1 -0
  2463. package/lib/data/matrixGeneration.js +3 -2
  2464. package/lib/data/matrixGeneration.js.map +1 -0
  2465. package/lib/data/molecules/Molecule.d.ts +1 -0
  2466. package/lib/data/molecules/Molecule.d.ts.map +1 -0
  2467. package/lib/data/molecules/Molecule.js +7 -7
  2468. package/lib/data/molecules/Molecule.js.map +1 -0
  2469. package/lib/data/molecules/MoleculeManager.d.ts +2 -2
  2470. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -0
  2471. package/lib/data/molecules/MoleculeManager.js +3 -2
  2472. package/lib/data/molecules/MoleculeManager.js.map +1 -0
  2473. package/lib/data/parseMeta/index.d.ts +5 -5
  2474. package/lib/data/parseMeta/index.d.ts.map +1 -0
  2475. package/lib/data/parseMeta/index.js +5 -4
  2476. package/lib/data/parseMeta/index.js.map +1 -0
  2477. package/lib/data/parseMeta/isMetaFile.d.ts +2 -1
  2478. package/lib/data/parseMeta/isMetaFile.d.ts.map +1 -0
  2479. package/lib/data/parseMeta/isMetaFile.js +1 -0
  2480. package/lib/data/parseMeta/isMetaFile.js.map +1 -0
  2481. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +5 -11
  2482. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -0
  2483. package/lib/data/parseMeta/linkMetaWithSpectra.js +7 -12
  2484. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -0
  2485. package/lib/data/parseMeta/mapErrors.d.ts +2 -1
  2486. package/lib/data/parseMeta/mapErrors.d.ts.map +1 -0
  2487. package/lib/data/parseMeta/mapErrors.js +1 -0
  2488. package/lib/data/parseMeta/mapErrors.js.map +1 -0
  2489. package/lib/data/parseMeta/parseMetaFile.d.ts +3 -2
  2490. package/lib/data/parseMeta/parseMetaFile.d.ts.map +1 -0
  2491. package/lib/data/parseMeta/parseMetaFile.js +3 -2
  2492. package/lib/data/parseMeta/parseMetaFile.js.map +1 -0
  2493. package/lib/data/parseMeta/prepareKey.d.ts +1 -0
  2494. package/lib/data/parseMeta/prepareKey.d.ts.map +1 -0
  2495. package/lib/data/parseMeta/prepareKey.js +1 -0
  2496. package/lib/data/parseMeta/prepareKey.js.map +1 -0
  2497. package/lib/data/types/common/ExtractFilterEntry.d.ts +5 -0
  2498. package/lib/data/types/common/ExtractFilterEntry.d.ts.map +1 -0
  2499. package/lib/data/types/common/ExtractFilterEntry.js +2 -0
  2500. package/lib/data/types/common/ExtractFilterEntry.js.map +1 -0
  2501. package/lib/data/types/common/FilterEntry.d.ts +3 -0
  2502. package/lib/data/types/common/FilterEntry.d.ts.map +1 -0
  2503. package/lib/data/types/common/FilterEntry.js +2 -0
  2504. package/lib/data/types/common/FilterEntry.js.map +1 -0
  2505. package/lib/data/types/common/Keys.d.ts +1 -0
  2506. package/lib/data/types/common/Keys.d.ts.map +1 -0
  2507. package/lib/data/types/common/Keys.js +1 -0
  2508. package/lib/data/types/common/Keys.js.map +1 -0
  2509. package/lib/data/types/common/SignalKind.d.ts +1 -0
  2510. package/lib/data/types/common/SignalKind.d.ts.map +1 -0
  2511. package/lib/data/types/common/SignalKind.js +1 -0
  2512. package/lib/data/types/common/SignalKind.js.map +1 -0
  2513. package/lib/data/types/data1d/ExclusionZone.d.ts +1 -0
  2514. package/lib/data/types/data1d/ExclusionZone.d.ts.map +1 -0
  2515. package/lib/data/types/data1d/ExclusionZone.js +1 -0
  2516. package/lib/data/types/data1d/ExclusionZone.js.map +1 -0
  2517. package/lib/data/types/data1d/RangeDetectionResult.d.ts +2 -1
  2518. package/lib/data/types/data1d/RangeDetectionResult.d.ts.map +1 -0
  2519. package/lib/data/types/data1d/RangeDetectionResult.js +1 -0
  2520. package/lib/data/types/data1d/RangeDetectionResult.js.map +1 -0
  2521. package/lib/data/types/data1d/index.d.ts +2 -1
  2522. package/lib/data/types/data1d/index.d.ts.map +1 -0
  2523. package/lib/data/types/data1d/index.js +2 -1
  2524. package/lib/data/types/data1d/index.js.map +1 -0
  2525. package/lib/data/utilities/Concatenation.d.ts +1 -0
  2526. package/lib/data/utilities/Concatenation.d.ts.map +1 -0
  2527. package/lib/data/utilities/Concatenation.js +1 -0
  2528. package/lib/data/utilities/Concatenation.js.map +1 -0
  2529. package/lib/data/utilities/FindUtilities.d.ts +3 -2
  2530. package/lib/data/utilities/FindUtilities.d.ts.map +1 -0
  2531. package/lib/data/utilities/FindUtilities.js +5 -4
  2532. package/lib/data/utilities/FindUtilities.js.map +1 -0
  2533. package/lib/data/utilities/RangeUtilities.d.ts +2 -8
  2534. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -0
  2535. package/lib/data/utilities/RangeUtilities.js +6 -52
  2536. package/lib/data/utilities/RangeUtilities.js.map +1 -0
  2537. package/lib/data/utilities/ZoneUtilities.d.ts +2 -7
  2538. package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -0
  2539. package/lib/data/utilities/ZoneUtilities.js +5 -39
  2540. package/lib/data/utilities/ZoneUtilities.js.map +1 -0
  2541. package/lib/data/utilities/calculateSanPlot.d.ts +2 -1
  2542. package/lib/data/utilities/calculateSanPlot.d.ts.map +1 -0
  2543. package/lib/data/utilities/calculateSanPlot.js +1 -0
  2544. package/lib/data/utilities/calculateSanPlot.js.map +1 -0
  2545. package/lib/data/utilities/checkModifierKeyActivated.d.ts +2 -1
  2546. package/lib/data/utilities/checkModifierKeyActivated.d.ts.map +1 -0
  2547. package/lib/data/utilities/checkModifierKeyActivated.js +1 -0
  2548. package/lib/data/utilities/checkModifierKeyActivated.js.map +1 -0
  2549. package/lib/data/utilities/convertSpectraListToObject.d.ts +2 -1
  2550. package/lib/data/utilities/convertSpectraListToObject.d.ts.map +1 -0
  2551. package/lib/data/utilities/convertSpectraListToObject.js +1 -0
  2552. package/lib/data/utilities/convertSpectraListToObject.js.map +1 -0
  2553. package/lib/data/utilities/generateChar.d.ts +1 -0
  2554. package/lib/data/utilities/generateChar.d.ts.map +1 -0
  2555. package/lib/data/utilities/generateChar.js +1 -0
  2556. package/lib/data/utilities/generateChar.js.map +1 -0
  2557. package/lib/data/utilities/generateColor.d.ts +1 -0
  2558. package/lib/data/utilities/generateColor.d.ts.map +1 -0
  2559. package/lib/data/utilities/generateColor.js +1 -0
  2560. package/lib/data/utilities/generateColor.js.map +1 -0
  2561. package/lib/data/utilities/generateNumbersPowerOfX.d.ts +1 -0
  2562. package/lib/data/utilities/generateNumbersPowerOfX.d.ts.map +1 -0
  2563. package/lib/data/utilities/generateNumbersPowerOfX.js +1 -0
  2564. package/lib/data/utilities/generateNumbersPowerOfX.js.map +1 -0
  2565. package/lib/data/utilities/getAtom.d.ts +1 -0
  2566. package/lib/data/utilities/getAtom.d.ts.map +1 -0
  2567. package/lib/data/utilities/getAtom.js +1 -0
  2568. package/lib/data/utilities/getAtom.js.map +1 -0
  2569. package/lib/data/utilities/getAtomsFromMF.d.ts +1 -0
  2570. package/lib/data/utilities/getAtomsFromMF.d.ts.map +1 -0
  2571. package/lib/data/utilities/getAtomsFromMF.js +1 -0
  2572. package/lib/data/utilities/getAtomsFromMF.js.map +1 -0
  2573. package/lib/data/utilities/getCustomColor.d.ts +2 -1
  2574. package/lib/data/utilities/getCustomColor.d.ts.map +1 -0
  2575. package/lib/data/utilities/getCustomColor.js +3 -2
  2576. package/lib/data/utilities/getCustomColor.js.map +1 -0
  2577. package/lib/data/utilities/isInRange.d.ts +1 -0
  2578. package/lib/data/utilities/isInRange.d.ts.map +1 -0
  2579. package/lib/data/utilities/isInRange.js +1 -0
  2580. package/lib/data/utilities/isInRange.js.map +1 -0
  2581. package/lib/data/utilities/isNumber.d.ts +1 -0
  2582. package/lib/data/utilities/isNumber.d.ts.map +1 -0
  2583. package/lib/data/utilities/isNumber.js +1 -0
  2584. package/lib/data/utilities/isNumber.js.map +1 -0
  2585. package/lib/data/utilities/removeByPaths.d.ts +1 -0
  2586. package/lib/data/utilities/removeByPaths.d.ts.map +1 -0
  2587. package/lib/data/utilities/removeByPaths.js +1 -0
  2588. package/lib/data/utilities/removeByPaths.js.map +1 -0
  2589. package/lib/types/UsedColors.d.ts +1 -0
  2590. package/lib/types/UsedColors.d.ts.map +1 -0
  2591. package/lib/types/UsedColors.js +1 -0
  2592. package/lib/types/UsedColors.js.map +1 -0
  2593. package/lib/utils/clipboard/clipboard.d.ts +3 -1
  2594. package/lib/utils/clipboard/clipboard.d.ts.map +1 -0
  2595. package/lib/utils/clipboard/clipboard.js +5 -1
  2596. package/lib/utils/clipboard/clipboard.js.map +1 -0
  2597. package/lib/utils/clipboard/clipboardComponents.d.ts +5 -17
  2598. package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -0
  2599. package/lib/utils/clipboard/clipboardComponents.js +7 -10
  2600. package/lib/utils/clipboard/clipboardComponents.js.map +1 -0
  2601. package/lib/utils/clipboard/clipboardHooks.d.ts +3 -8
  2602. package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -0
  2603. package/lib/utils/clipboard/clipboardHooks.js +3 -40
  2604. package/lib/utils/clipboard/clipboardHooks.js.map +1 -0
  2605. package/lib/utils/clipboard/types.d.ts +1 -0
  2606. package/lib/utils/clipboard/types.d.ts.map +1 -0
  2607. package/lib/utils/clipboard/types.js +1 -0
  2608. package/lib/utils/clipboard/types.js.map +1 -0
  2609. package/lib/utils/stringCapitalize.d.ts +1 -0
  2610. package/lib/utils/stringCapitalize.d.ts.map +1 -0
  2611. package/lib/utils/stringCapitalize.js +1 -0
  2612. package/lib/utils/stringCapitalize.js.map +1 -0
  2613. package/lib/versionInfo.d.ts +1 -0
  2614. package/lib/versionInfo.d.ts.map +1 -0
  2615. package/lib/versionInfo.js +2 -1
  2616. package/lib/versionInfo.js.map +1 -0
  2617. package/package.json +77 -84
  2618. package/src/component/1d/ApodizationLine.tsx +100 -0
  2619. package/src/component/1d/BrushTracker1D.tsx +491 -0
  2620. package/src/component/1d/ExclusionZoneAnnotation.tsx +60 -0
  2621. package/src/component/1d/ExclusionZonesAnnotations.tsx +86 -0
  2622. package/src/component/1d/FloatPublicationString.tsx +364 -0
  2623. package/src/component/1d/FloatingRanges.tsx +386 -0
  2624. package/src/component/1d/FooterBanner.tsx +194 -0
  2625. package/src/component/1d/Line.tsx +73 -0
  2626. package/src/component/1d/LinesSeries.tsx +105 -0
  2627. package/src/component/1d/SVGContent1D.tsx +54 -0
  2628. package/src/component/1d/SimilarityTree.tsx +116 -0
  2629. package/src/component/1d/SpectraLegends.tsx +157 -0
  2630. package/src/component/1d/Viewer1D.tsx +87 -0
  2631. package/src/component/1d/XAxis1D.tsx +54 -0
  2632. package/src/component/1d/database/DatabaseElements.tsx +25 -0
  2633. package/src/component/1d/database/DatabaseSpectrum.tsx +96 -0
  2634. package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +104 -0
  2635. package/src/component/1d/inset/DraggableInset.tsx +367 -0
  2636. package/src/component/1d/inset/InsetProvider.tsx +66 -0
  2637. package/src/component/1d/inset/InsetViewerRoot.tsx +19 -0
  2638. package/src/component/1d/inset/SpectraInsets.tsx +54 -0
  2639. package/src/component/1d/integral/IntegralIndicator.tsx +43 -0
  2640. package/src/component/1d/integral/IntegralResizable.tsx +92 -0
  2641. package/src/component/1d/integral/IntegralsSeries.tsx +76 -0
  2642. package/src/component/1d/integral/Integration.tsx +42 -0
  2643. package/src/component/1d/jCouplingGraph/JGraph.tsx +87 -0
  2644. package/src/component/1d/jCouplingGraph/JGraphContext.tsx +25 -0
  2645. package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +53 -0
  2646. package/src/component/1d/jCouplingGraph/JsCoupling.tsx +47 -0
  2647. package/src/component/1d/jCouplingGraph/JsCouplingLinks.tsx +54 -0
  2648. package/src/component/1d/jCouplingGraph/JsCouplings.tsx +40 -0
  2649. package/src/component/1d/matrix/Boxplot.tsx +189 -0
  2650. package/src/component/1d/matrix/Stocsy.tsx +182 -0
  2651. package/src/component/1d/matrix/useMatrix.ts +116 -0
  2652. package/src/component/1d/multiAnalysis/AnalysisRange.tsx +87 -0
  2653. package/src/component/1d/multiAnalysis/MultiAnalysisRanges.tsx +55 -0
  2654. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +319 -0
  2655. package/src/component/1d/multiplicityTree/MultiplicityTrees.tsx +42 -0
  2656. package/src/component/1d/multiplicityTree/generateTreeNodes.ts +114 -0
  2657. package/src/component/1d/peaks/PeakAnnotations.tsx +101 -0
  2658. package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +244 -0
  2659. package/src/component/1d/peaks/PeakEditionManager.tsx +226 -0
  2660. package/src/component/1d/peaks/Peaks.tsx +226 -0
  2661. package/src/component/1d/peaks/PeaksShapes.tsx +74 -0
  2662. package/src/component/1d/peaks/usePeakShapesPath.ts +76 -0
  2663. package/src/component/1d/ranges/AssignmentLabel.tsx +68 -0
  2664. package/src/component/1d/ranges/Atoms.tsx +79 -0
  2665. package/src/component/1d/ranges/Range.tsx +244 -0
  2666. package/src/component/1d/ranges/Ranges.tsx +75 -0
  2667. package/src/component/1d/ranges/RangesIntegrals.tsx +109 -0
  2668. package/src/component/1d/tool/BaseLine.tsx +45 -0
  2669. package/src/component/1d/tool/BaseLineZones.tsx +82 -0
  2670. package/src/component/1d/tool/PeakPointer.tsx +116 -0
  2671. package/src/component/1d/tool/PivotIndicator1D.tsx +50 -0
  2672. package/src/component/1d/tool/XLabelPointer.tsx +58 -0
  2673. package/src/component/1d/utilities/intersectionResolver.ts +131 -0
  2674. package/src/component/1d/utilities/scale.ts +143 -0
  2675. package/src/component/1d-2d/FieldEdition.tsx +119 -0
  2676. package/src/component/1d-2d/components/ClipPathContainer.tsx +11 -0
  2677. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +250 -0
  2678. package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +87 -0
  2679. package/src/component/1d-2d/components/SVGRootContainer.tsx +89 -0
  2680. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +237 -0
  2681. package/src/component/1d-2d/components/ViewerResponsiveWrapper.tsx +25 -0
  2682. package/src/component/1d-2d/tools/BrushXY.tsx +151 -0
  2683. package/src/component/1d-2d/tools/CrossLinePointer.tsx +101 -0
  2684. package/src/component/2d/1d-tracer/HorizontalSliceChart.tsx +67 -0
  2685. package/src/component/2d/1d-tracer/Left1DChart.tsx +79 -0
  2686. package/src/component/2d/1d-tracer/Top1DChart.tsx +68 -0
  2687. package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +72 -0
  2688. package/src/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.tsx +13 -0
  2689. package/src/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.tsx +42 -0
  2690. package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +88 -0
  2691. package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +167 -0
  2692. package/src/component/2d/1d-tracer/phase-correction-traces/index.ts +1 -0
  2693. package/src/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.ts +33 -0
  2694. package/src/component/2d/BrushTracker2D.tsx +212 -0
  2695. package/src/component/2d/FooterBanner.tsx +266 -0
  2696. package/src/component/2d/SVGContent2D.tsx +41 -0
  2697. package/src/component/2d/SignalDeltaLine.tsx +51 -0
  2698. package/src/component/2d/SlicingView.tsx +51 -0
  2699. package/src/component/2d/Viewer2D.tsx +101 -0
  2700. package/src/component/2d/XAxis.tsx +58 -0
  2701. package/src/component/2d/YAxis.tsx +61 -0
  2702. package/src/component/2d/fid/FidCanvas.tsx +135 -0
  2703. package/src/component/2d/fid/FidContainer.tsx +49 -0
  2704. package/src/component/2d/ft/Contours.tsx +172 -0
  2705. package/src/component/2d/ft/FTContainer.tsx +33 -0
  2706. package/src/component/2d/tools/PivotIndicator.tsx +72 -0
  2707. package/src/component/2d/tools/XYLabelPointer.tsx +151 -0
  2708. package/src/component/2d/useTracesSpectra.ts +34 -0
  2709. package/src/component/2d/utilities/DimensionLayout.ts +74 -0
  2710. package/src/component/2d/utilities/scale.ts +110 -0
  2711. package/src/component/2d/zones/IndicationLines.tsx +94 -0
  2712. package/src/component/2d/zones/Signal.tsx +90 -0
  2713. package/src/component/2d/zones/SignalCrosshair.tsx +43 -0
  2714. package/src/component/2d/zones/Zone.tsx +114 -0
  2715. package/src/component/2d/zones/Zones.tsx +34 -0
  2716. package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +437 -0
  2717. package/src/component/EventsTrackers/BrushTracker.tsx +351 -0
  2718. package/src/component/EventsTrackers/KeysListenerTracker.tsx +536 -0
  2719. package/src/component/EventsTrackers/MouseTracker.tsx +69 -0
  2720. package/src/component/SVGTable.tsx +277 -0
  2721. package/src/component/assignment/AssignmentProvider.tsx +68 -0
  2722. package/src/component/assignment/AssignmentsContext.ts +127 -0
  2723. package/src/component/assignment/utilities/filterForIDsWithAssignment.ts +10 -0
  2724. package/src/component/assignment/utilities/getAssignments.ts +70 -0
  2725. package/src/component/context/ChartContext.tsx +28 -0
  2726. package/src/component/context/DispatchContext.tsx +51 -0
  2727. package/src/component/context/FilterSyncOptionsContext.tsx +104 -0
  2728. package/src/component/context/GlobalContext.tsx +21 -0
  2729. package/src/component/context/KeyModifierContext.tsx +124 -0
  2730. package/src/component/context/LoaderContext.tsx +13 -0
  2731. package/src/component/context/LoggerContext.tsx +120 -0
  2732. package/src/component/context/PreferencesContext.tsx +49 -0
  2733. package/src/component/context/ScaleContext.tsx +128 -0
  2734. package/src/component/context/ShareDataContext.tsx +36 -0
  2735. package/src/component/context/SortSpectraContext.tsx +273 -0
  2736. package/src/component/context/ToasterContext.tsx +82 -0
  2737. package/src/component/context/TopicMoleculeContext.tsx +47 -0
  2738. package/src/component/elements/ActionButtons.tsx +54 -0
  2739. package/src/component/elements/ActionsButtonsPopover.tsx +127 -0
  2740. package/src/component/elements/Alert.tsx +151 -0
  2741. package/src/component/elements/AssignmentsCell.tsx +47 -0
  2742. package/src/component/elements/Button.tsx +372 -0
  2743. package/src/component/elements/CheckController.tsx +33 -0
  2744. package/src/component/elements/CloseButton.tsx +17 -0
  2745. package/src/component/elements/ColorPickerDropdownController.tsx +21 -0
  2746. package/src/component/elements/ColumnWrapper.tsx +17 -0
  2747. package/src/component/elements/ContainerQueryWrapper.tsx +32 -0
  2748. package/src/component/elements/ContextMenuBluePrint.tsx +98 -0
  2749. package/src/component/elements/D3Axis.tsx +219 -0
  2750. package/src/component/elements/DialogManager.tsx +169 -0
  2751. package/src/component/elements/DraggableDialog.tsx +316 -0
  2752. package/src/component/elements/EditableColumn.tsx +244 -0
  2753. package/src/component/elements/EmptyText.tsx +32 -0
  2754. package/src/component/elements/Footer.tsx +80 -0
  2755. package/src/component/elements/FormatField.tsx +75 -0
  2756. package/src/component/elements/GroupPane.tsx +38 -0
  2757. package/src/component/elements/HeaderContainer.tsx +34 -0
  2758. package/src/component/elements/Input.tsx +180 -0
  2759. package/src/component/elements/Input2.tsx +216 -0
  2760. package/src/component/elements/Input2Controller.tsx +105 -0
  2761. package/src/component/elements/InputRange.tsx +104 -0
  2762. package/src/component/elements/IsotopesViewer.tsx +23 -0
  2763. package/src/component/elements/Label.tsx +112 -0
  2764. package/src/component/elements/Logo.tsx +56 -0
  2765. package/src/component/elements/MoleculeSelection.tsx +123 -0
  2766. package/src/component/elements/NextPrev.tsx +214 -0
  2767. package/src/component/elements/NumberInput2.tsx +159 -0
  2768. package/src/component/elements/NumberInput2Controller.tsx +72 -0
  2769. package/src/component/elements/ReactTable/BaseReactTable.tsx +36 -0
  2770. package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +23 -0
  2771. package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +81 -0
  2772. package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +145 -0
  2773. package/src/component/elements/ReactTable/ReactTable.tsx +524 -0
  2774. package/src/component/elements/ReactTable/utility/ReactTableContext.ts +14 -0
  2775. package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +74 -0
  2776. package/src/component/elements/ReactTable/utility/useRowSpan.ts +55 -0
  2777. package/src/component/elements/ReadOnly.tsx +81 -0
  2778. package/src/component/elements/ResizerWithScale.tsx +62 -0
  2779. package/src/component/elements/SVGButton.tsx +59 -0
  2780. package/src/component/elements/SVGGroup.tsx +57 -0
  2781. package/src/component/elements/SVGText.tsx +57 -0
  2782. package/src/component/elements/SaveButton.tsx +17 -0
  2783. package/src/component/elements/Scroller.tsx +64 -0
  2784. package/src/component/elements/Sections.tsx +330 -0
  2785. package/src/component/elements/Select.tsx +132 -0
  2786. package/src/component/elements/Select2.tsx +129 -0
  2787. package/src/component/elements/Select2Controller.tsx +50 -0
  2788. package/src/component/elements/StyledDialogBody.tsx +11 -0
  2789. package/src/component/elements/Tab/DeleteButton.tsx +54 -0
  2790. package/src/component/elements/Tab/Tab.tsx +83 -0
  2791. package/src/component/elements/Tab/Tabs.tsx +149 -0
  2792. package/src/component/elements/TabTitle.tsx +47 -0
  2793. package/src/component/elements/ToolBarButton.tsx +10 -0
  2794. package/src/component/elements/ToolbarPopoverItem.tsx +70 -0
  2795. package/src/component/elements/draggable/useDraggable.ts +106 -0
  2796. package/src/component/elements/dropDownButton/DropDownButton.tsx +97 -0
  2797. package/src/component/elements/dropDownButton/DropDownList.tsx +72 -0
  2798. package/src/component/elements/export/ExportContent.tsx +189 -0
  2799. package/src/component/elements/export/ExportManager.tsx +162 -0
  2800. package/src/component/elements/export/ExportOptionsModal.tsx +322 -0
  2801. package/src/component/elements/export/ExportSettingsProvider.tsx +39 -0
  2802. package/src/component/elements/export/RenderDetector.tsx +28 -0
  2803. package/src/component/elements/export/index.ts +2 -0
  2804. package/src/component/elements/export/units.ts +74 -0
  2805. package/src/component/elements/export/useExportConfigurer.tsx +69 -0
  2806. package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +105 -0
  2807. package/src/component/elements/export/utilities/getExportOptions.ts +59 -0
  2808. package/src/component/elements/export/utilities/getModes.ts +14 -0
  2809. package/src/component/elements/export/utilities/getSizeInPixel.ts +13 -0
  2810. package/src/component/elements/export/utilities/transferDocumentStyles.ts +21 -0
  2811. package/src/component/elements/print/PrintContent.tsx +393 -0
  2812. package/src/component/elements/print/PrintProvider.tsx +45 -0
  2813. package/src/component/elements/print/index.ts +2 -0
  2814. package/src/component/elements/print/pageSize.ts +92 -0
  2815. package/src/component/elements/resizer/SVGResizer.tsx +88 -0
  2816. package/src/component/elements/resizer/useResizer.tsx +82 -0
  2817. package/src/component/elements/useFormValidateField.ts +16 -0
  2818. package/src/component/header/AutoPeakPickingOptionPanel.tsx +139 -0
  2819. package/src/component/header/Header.tsx +244 -0
  2820. package/src/component/header/HeaderWrapper.tsx +15 -0
  2821. package/src/component/header/RangesPickingOptionPanel.tsx +96 -0
  2822. package/src/component/header/SimpleApodizationDimensionOneOptionsPanel.tsx +30 -0
  2823. package/src/component/header/SimpleApodizationDimensionTwoOptionsPanel.tsx +30 -0
  2824. package/src/component/header/SimpleApodizationOptionsPanel.tsx +29 -0
  2825. package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +141 -0
  2826. package/src/component/header/SimplePhaseCorrectionOptionsPanel.tsx +67 -0
  2827. package/src/component/header/SimplePhaseCorrectionTwoDimensionsPanel.tsx +99 -0
  2828. package/src/component/header/SimpleZeroFillingDimensionOneOptionsPanel.tsx +14 -0
  2829. package/src/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.tsx +14 -0
  2830. package/src/component/header/SimpleZeroFillingOptionsPanel.tsx +14 -0
  2831. package/src/component/header/Zones2DOptionPanel.tsx +91 -0
  2832. package/src/component/header/base/BaseSimpleApodizationOptionsPanel.tsx +94 -0
  2833. package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +61 -0
  2834. package/src/component/highlight/index.tsx +307 -0
  2835. package/src/component/hooks/useActiveSpectra.ts +7 -0
  2836. package/src/component/hooks/useActiveSpectrum.ts +7 -0
  2837. package/src/component/hooks/useActiveSpectrumIntegralsViewState.ts +34 -0
  2838. package/src/component/hooks/useActiveSpectrumPeaksViewState.ts +36 -0
  2839. package/src/component/hooks/useActiveSpectrumRangesViewState.ts +44 -0
  2840. package/src/component/hooks/useActiveSpectrumStyleOptions.ts +35 -0
  2841. package/src/component/hooks/useActiveSpectrumZonesViewState.ts +30 -0
  2842. package/src/component/hooks/useCheckExperimentalFeature.ts +8 -0
  2843. package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +29 -0
  2844. package/src/component/hooks/useCheckToolsVisibility.ts +105 -0
  2845. package/src/component/hooks/useCombinedRefs.ts +21 -0
  2846. package/src/component/hooks/useDatumWithSpectraStatistics.ts +61 -0
  2847. package/src/component/hooks/useDialogToggle.ts +20 -0
  2848. package/src/component/hooks/useExport.tsx +182 -0
  2849. package/src/component/hooks/useFilter.ts +31 -0
  2850. package/src/component/hooks/useFormatNumberByNucleus.ts +55 -0
  2851. package/src/component/hooks/useHighlightColor.ts +6 -0
  2852. package/src/component/hooks/useIndicatorLineColor.ts +6 -0
  2853. package/src/component/hooks/useIntegralPath.ts +58 -0
  2854. package/src/component/hooks/useNucleus.ts +17 -0
  2855. package/src/component/hooks/usePanelPreferences.ts +182 -0
  2856. package/src/component/hooks/usePeaksLabelSettings.ts +13 -0
  2857. package/src/component/hooks/useResizerStatus.ts +12 -0
  2858. package/src/component/hooks/useSVGUnitConverter.ts +28 -0
  2859. package/src/component/hooks/useSaveSettings.tsx +132 -0
  2860. package/src/component/hooks/useSetActiveSpectrumAction.ts +21 -0
  2861. package/src/component/hooks/useSpectraBottomMargin.ts +22 -0
  2862. package/src/component/hooks/useSpectraPerNucleus.ts +25 -0
  2863. package/src/component/hooks/useSpectrum.ts +33 -0
  2864. package/src/component/hooks/useTableSortBy.tsx +79 -0
  2865. package/src/component/hooks/useTempSpectrum.ts +21 -0
  2866. package/src/component/hooks/useToggleSpectraVisibility.tsx +100 -0
  2867. package/src/component/hooks/useToolsFunctions.ts +120 -0
  2868. package/src/component/hooks/useTriggerNewAssignmentLabel.ts +11 -0
  2869. package/src/component/hooks/useVerticalAlign.ts +8 -0
  2870. package/src/component/hooks/useViewportSize.tsx +24 -0
  2871. package/src/component/hooks/useWorkspaceAction.ts +110 -0
  2872. package/src/component/hooks/useWorkspaceExportSettings.ts +9 -0
  2873. package/src/component/hooks/useXScale.ts +14 -0
  2874. package/src/component/hooks/useXYReduce.ts +31 -0
  2875. package/src/component/loader/DefaultSpinnerComponent.tsx +50 -0
  2876. package/src/component/loader/DropZone.tsx +104 -0
  2877. package/src/component/loader/NoData.tsx +65 -0
  2878. package/src/component/loader/Spinner.tsx +42 -0
  2879. package/src/component/loader/SpinnerContext.tsx +13 -0
  2880. package/src/component/loader/useLoadFiles.ts +95 -0
  2881. package/src/component/main/ErrorOverlay.tsx +31 -0
  2882. package/src/component/main/InnerNMRium.tsx +129 -0
  2883. package/src/component/main/InnerNMRiumContents.tsx +206 -0
  2884. package/src/component/main/NMRium.tsx +50 -0
  2885. package/src/component/main/NMRiumRefAPI.ts +30 -0
  2886. package/src/component/main/NMRiumStateProvider.tsx +153 -0
  2887. package/src/component/main/NMRiumViewer.tsx +136 -0
  2888. package/src/component/main/NMRiumViewerWrapper.tsx +61 -0
  2889. package/src/component/main/StateError.tsx +21 -0
  2890. package/src/component/main/index.ts +6 -0
  2891. package/src/component/main/types.ts +46 -0
  2892. package/src/component/modal/AboutPredictionModal.tsx +138 -0
  2893. package/src/component/modal/AboutSpectrumSimulationModal.tsx +82 -0
  2894. package/src/component/modal/EditPeakShapeModal.tsx +173 -0
  2895. package/src/component/modal/ExportAsJcampModal.tsx +151 -0
  2896. package/src/component/modal/ImportPublicationStringModal.tsx +205 -0
  2897. package/src/component/modal/LoadJCAMPModal.tsx +115 -0
  2898. package/src/component/modal/LogsHistoryModal.tsx +192 -0
  2899. package/src/component/modal/MoleculeStructureEditorModal.tsx +149 -0
  2900. package/src/component/modal/MultipletAnalysisModal.tsx +258 -0
  2901. package/src/component/modal/PredictSpectraModal.tsx +183 -0
  2902. package/src/component/modal/PublicationStringModal.tsx +168 -0
  2903. package/src/component/modal/SaveAsModal.tsx +135 -0
  2904. package/src/component/modal/aboutUs/AboutUsModal.tsx +169 -0
  2905. package/src/component/modal/aboutUs/AboutUsZakodium.tsx +56 -0
  2906. package/src/component/modal/changeSum/ChangeSumModal.tsx +48 -0
  2907. package/src/component/modal/changeSum/ChangeSumModalContents.tsx +173 -0
  2908. package/src/component/modal/changeSum/SelectMolecule.tsx +115 -0
  2909. package/src/component/modal/editRange/EditRangeModal.tsx +217 -0
  2910. package/src/component/modal/editRange/forms/components/DeltaInput.tsx +76 -0
  2911. package/src/component/modal/editRange/forms/components/InfoBlock.tsx +54 -0
  2912. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +142 -0
  2913. package/src/component/modal/editRange/forms/components/SignalTab.tsx +48 -0
  2914. package/src/component/modal/editRange/forms/components/SignalsContent.tsx +134 -0
  2915. package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +270 -0
  2916. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +252 -0
  2917. package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +61 -0
  2918. package/src/component/modal/editRange/utils/couplingsToMultiplicity.ts +5 -0
  2919. package/src/component/modal/editRange/utils/mapCouplings.ts +11 -0
  2920. package/src/component/modal/editRange/utils/mapSignals.ts +27 -0
  2921. package/src/component/modal/editZone/EditZoneModal.tsx +142 -0
  2922. package/src/component/modal/editZone/SignalsForm.tsx +104 -0
  2923. package/src/component/modal/editZone/validation/isDefaultPathLength.ts +11 -0
  2924. package/src/component/modal/metaImportation/MetaImportationModal.tsx +340 -0
  2925. package/src/component/modal/metaImportation/utils/mapColumnToSelectItems.ts +11 -0
  2926. package/src/component/modal/setting/GeneralSettings.tsx +472 -0
  2927. package/src/component/modal/setting/WorkspaceItem.tsx +161 -0
  2928. package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +265 -0
  2929. package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +213 -0
  2930. package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +258 -0
  2931. package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +184 -0
  2932. package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +149 -0
  2933. package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +172 -0
  2934. package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +213 -0
  2935. package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +223 -0
  2936. package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +102 -0
  2937. package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +299 -0
  2938. package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +166 -0
  2939. package/src/component/modal/setting/settingsValidation.ts +92 -0
  2940. package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +55 -0
  2941. package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +77 -0
  2942. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +85 -0
  2943. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +207 -0
  2944. package/src/component/panels/IntegralsPanel/IntegralTable.tsx +189 -0
  2945. package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +125 -0
  2946. package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +79 -0
  2947. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +246 -0
  2948. package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.tsx +377 -0
  2949. package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +118 -0
  2950. package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +73 -0
  2951. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +234 -0
  2952. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +307 -0
  2953. package/src/component/panels/MoleculesPanel/Utilities.ts +145 -0
  2954. package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +240 -0
  2955. package/src/component/panels/PanelNoData.tsx +34 -0
  2956. package/src/component/panels/Panels.tsx +151 -0
  2957. package/src/component/panels/PanelsBar.tsx +103 -0
  2958. package/src/component/panels/PeaksPanel/PeaksPanel.tsx +235 -0
  2959. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +117 -0
  2960. package/src/component/panels/PeaksPanel/PeaksTable.tsx +227 -0
  2961. package/src/component/panels/RangesPanel/RangesHeader.tsx +366 -0
  2962. package/src/component/panels/RangesPanel/RangesPanel.tsx +217 -0
  2963. package/src/component/panels/RangesPanel/RangesPreferences.tsx +159 -0
  2964. package/src/component/panels/RangesPanel/RangesTable.tsx +165 -0
  2965. package/src/component/panels/RangesPanel/RangesTableRow.tsx +317 -0
  2966. package/src/component/panels/RangesPanel/TableColumns/AbsoluteColumn.tsx +17 -0
  2967. package/src/component/panels/RangesPanel/TableColumns/ActionsColumn.tsx +121 -0
  2968. package/src/component/panels/RangesPanel/TableColumns/CouplingColumn.tsx +24 -0
  2969. package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +36 -0
  2970. package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.tsx +90 -0
  2971. package/src/component/panels/RangesPanel/TableColumns/RangeColumn.tsx +21 -0
  2972. package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +42 -0
  2973. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.tsx +57 -0
  2974. package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +54 -0
  2975. package/src/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.tsx +35 -0
  2976. package/src/component/panels/RangesPanel/hooks/useEditRangeModal.tsx +93 -0
  2977. package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +71 -0
  2978. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +209 -0
  2979. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +204 -0
  2980. package/src/component/panels/SpectraPanel/SpectraTable.tsx +461 -0
  2981. package/src/component/panels/SpectraPanel/SpectraTabs.tsx +103 -0
  2982. package/src/component/panels/SpectraPanel/SpectrumListPanel.tsx +53 -0
  2983. package/src/component/panels/SpectraPanel/base/ColorIndicator.tsx +48 -0
  2984. package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +33 -0
  2985. package/src/component/panels/SpectraPanel/base/ShowHideSpectrumButton.tsx +131 -0
  2986. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +163 -0
  2987. package/src/component/panels/SpectraPanel/base/SpectrumName.tsx +59 -0
  2988. package/src/component/panels/SpectraPanel/base/setting/PlotChart.tsx +72 -0
  2989. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +50 -0
  2990. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +47 -0
  2991. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +54 -0
  2992. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +156 -0
  2993. package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +66 -0
  2994. package/src/component/panels/SpectraPanel/base/setting/processSnapPlot.ts +36 -0
  2995. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +243 -0
  2996. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +211 -0
  2997. package/src/component/panels/SummaryPanel/CorrelationTable/Constants.ts +20 -0
  2998. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +151 -0
  2999. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +340 -0
  3000. package/src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx +61 -0
  3001. package/src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx +146 -0
  3002. package/src/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.tsx +140 -0
  3003. package/src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx +140 -0
  3004. package/src/component/panels/SummaryPanel/Overview.tsx +74 -0
  3005. package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +177 -0
  3006. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +140 -0
  3007. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +547 -0
  3008. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +589 -0
  3009. package/src/component/panels/SummaryPanel/utilities/useInView.ts +48 -0
  3010. package/src/component/panels/ZonesPanel/TableColumns/ActionsColumn.tsx +106 -0
  3011. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +59 -0
  3012. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.tsx +71 -0
  3013. package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +102 -0
  3014. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +34 -0
  3015. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +120 -0
  3016. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.tsx +32 -0
  3017. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +275 -0
  3018. package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +130 -0
  3019. package/src/component/panels/ZonesPanel/ZonesTable.tsx +214 -0
  3020. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +122 -0
  3021. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +69 -0
  3022. package/src/component/panels/ZonesPanel/hooks/useZoneActions.tsx +54 -0
  3023. package/src/component/panels/accordionItems.tsx +165 -0
  3024. package/src/component/panels/checkAccordionItemMode.ts +10 -0
  3025. package/src/component/panels/databasePanel/DatabasePanel.tsx +526 -0
  3026. package/src/component/panels/databasePanel/DatabasePreferences.tsx +119 -0
  3027. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +161 -0
  3028. package/src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx +38 -0
  3029. package/src/component/panels/databasePanel/DatabaseTable.tsx +275 -0
  3030. package/src/component/panels/extra/BasicPanelStyle.ts +30 -0
  3031. package/src/component/panels/extra/placeholder/NoDataForFid.tsx +5 -0
  3032. package/src/component/panels/extra/preferences/NucleusGroup.tsx +43 -0
  3033. package/src/component/panels/extra/preferences/NucleusPreferences.tsx +66 -0
  3034. package/src/component/panels/extra/preferences/PreferencesContainer.tsx +20 -0
  3035. package/src/component/panels/extra/preferences/PreferencesGroup.tsx +37 -0
  3036. package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +40 -0
  3037. package/src/component/panels/extra/utilities/settingImperativeHandle.ts +34 -0
  3038. package/src/component/panels/filtersPanel/FilterPanel.tsx +52 -0
  3039. package/src/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.tsx +23 -0
  3040. package/src/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.tsx +23 -0
  3041. package/src/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.tsx +21 -0
  3042. package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +168 -0
  3043. package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +176 -0
  3044. package/src/component/panels/filtersPanel/Filters/FilterActionButtons.tsx +48 -0
  3045. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +333 -0
  3046. package/src/component/panels/filtersPanel/Filters/InnerFilterHeader.tsx +16 -0
  3047. package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +146 -0
  3048. package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +180 -0
  3049. package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +109 -0
  3050. package/src/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.tsx +13 -0
  3051. package/src/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.tsx +13 -0
  3052. package/src/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.tsx +11 -0
  3053. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +319 -0
  3054. package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +86 -0
  3055. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +208 -0
  3056. package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +198 -0
  3057. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +188 -0
  3058. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +245 -0
  3059. package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +207 -0
  3060. package/src/component/panels/filtersPanel/Filters/index.tsx +73 -0
  3061. package/src/component/panels/header/DefaultPanelHeader.tsx +119 -0
  3062. package/src/component/panels/header/PreferencesHeader.tsx +24 -0
  3063. package/src/component/panels/header/SpectraAutomaticPickingButton.tsx +43 -0
  3064. package/src/component/panels/hooks/useAccordionItems.tsx +22 -0
  3065. package/src/component/panels/hooks/useGetPanelOptions.ts +33 -0
  3066. package/src/component/panels/hooks/useTogglePanel.ts +21 -0
  3067. package/src/component/panels/informationPanel/InformationEditionModal.tsx +238 -0
  3068. package/src/component/panels/informationPanel/InformationPanel.tsx +21 -0
  3069. package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +202 -0
  3070. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +475 -0
  3071. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +202 -0
  3072. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +159 -0
  3073. package/src/component/panels/multipleAnalysisPanel/base/AnalysisCell.tsx +40 -0
  3074. package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +115 -0
  3075. package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +106 -0
  3076. package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +135 -0
  3077. package/src/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.tsx +71 -0
  3078. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +177 -0
  3079. package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +238 -0
  3080. package/src/component/panels/predictionPanel/PredictionPanel.tsx +250 -0
  3081. package/src/component/panels/predictionPanel/PredictionPreferences.tsx +47 -0
  3082. package/src/component/panels/predictionPanel/PredictionSimpleOptions.tsx +101 -0
  3083. package/src/component/panels/spectrumSimulation/SpectrumSimulation.tsx +170 -0
  3084. package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +89 -0
  3085. package/src/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.tsx +70 -0
  3086. package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +83 -0
  3087. package/src/component/reducer/IgnoreActions.ts +41 -0
  3088. package/src/component/reducer/Reducer.ts +834 -0
  3089. package/src/component/reducer/actions/AssignmentsActions.ts +38 -0
  3090. package/src/component/reducer/actions/CorrelationsActions.ts +179 -0
  3091. package/src/component/reducer/actions/DatabaseActions.ts +136 -0
  3092. package/src/component/reducer/actions/DimensionsActions.ts +19 -0
  3093. package/src/component/reducer/actions/DomainActions.ts +419 -0
  3094. package/src/component/reducer/actions/FiltersActions.ts +1921 -0
  3095. package/src/component/reducer/actions/InsetActions.ts +449 -0
  3096. package/src/component/reducer/actions/IntegralsActions.ts +257 -0
  3097. package/src/component/reducer/actions/LoadActions.ts +278 -0
  3098. package/src/component/reducer/actions/MoleculeActions.ts +421 -0
  3099. package/src/component/reducer/actions/PeaksActions.ts +307 -0
  3100. package/src/component/reducer/actions/PreferencesActions.ts +158 -0
  3101. package/src/component/reducer/actions/RangesActions.ts +727 -0
  3102. package/src/component/reducer/actions/SpectraActions.ts +774 -0
  3103. package/src/component/reducer/actions/ToolsActions.ts +732 -0
  3104. package/src/component/reducer/actions/ZonesActions.ts +542 -0
  3105. package/src/component/reducer/actions/utilities/deepReplaceDiaIDs.ts +30 -0
  3106. package/src/component/reducer/core/Constants.ts +9 -0
  3107. package/src/component/reducer/helper/Zoom1DManager.ts +103 -0
  3108. package/src/component/reducer/helper/ZoomHistoryManager.ts +102 -0
  3109. package/src/component/reducer/helper/findStrongestPeak.ts +16 -0
  3110. package/src/component/reducer/helper/get2DRange.ts +24 -0
  3111. package/src/component/reducer/helper/getActiveSpectra.ts +12 -0
  3112. package/src/component/reducer/helper/getActiveSpectraAsObject.ts +20 -0
  3113. package/src/component/reducer/helper/getActiveSpectrum.ts +14 -0
  3114. package/src/component/reducer/helper/getRange.ts +22 -0
  3115. package/src/component/reducer/helper/getSpectrum.ts +26 -0
  3116. package/src/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.ts +31 -0
  3117. package/src/component/reducer/helper/getVerticalAlign.ts +17 -0
  3118. package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +27 -0
  3119. package/src/component/reducer/helper/setIntegralsViewProperty.ts +44 -0
  3120. package/src/component/reducer/helper/setRangesViewProperty.ts +65 -0
  3121. package/src/component/reducer/preferences/actions/addWorkspace.ts +19 -0
  3122. package/src/component/reducer/preferences/actions/analyzeSpectra.ts +88 -0
  3123. package/src/component/reducer/preferences/actions/applyGeneralPreferences.ts +16 -0
  3124. package/src/component/reducer/preferences/actions/changeExportSettings.ts +16 -0
  3125. package/src/component/reducer/preferences/actions/changeInformationBlockPosition.ts +15 -0
  3126. package/src/component/reducer/preferences/actions/changePeaksLabelPosition.ts +15 -0
  3127. package/src/component/reducer/preferences/actions/changePrintPageSettings.ts +16 -0
  3128. package/src/component/reducer/preferences/actions/initPreferences.ts +83 -0
  3129. package/src/component/reducer/preferences/actions/matrixGeneration.ts +176 -0
  3130. package/src/component/reducer/preferences/actions/removeWorkspace.ts +20 -0
  3131. package/src/component/reducer/preferences/actions/setActiveWorkspace.ts +16 -0
  3132. package/src/component/reducer/preferences/actions/setPanelsPreferences.ts +23 -0
  3133. package/src/component/reducer/preferences/actions/setPreferences.ts +22 -0
  3134. package/src/component/reducer/preferences/actions/setVerticalSplitterPosition.ts +16 -0
  3135. package/src/component/reducer/preferences/actions/setWorkspace.ts +38 -0
  3136. package/src/component/reducer/preferences/actions/toggleInformationBlock.ts +17 -0
  3137. package/src/component/reducer/preferences/actions/togglePanel.ts +30 -0
  3138. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +230 -0
  3139. package/src/component/reducer/preferences/preferencesReducer.ts +306 -0
  3140. package/src/component/reducer/preferences/utilities/getActiveWorkspace.ts +10 -0
  3141. package/src/component/reducer/preferences/utilities/getPreferencesByWorkspace.ts +16 -0
  3142. package/src/component/reducer/preferences/utilities/initWorkspace.ts +11 -0
  3143. package/src/component/reducer/preferences/utilities/isReadOnlyWorkspace.ts +9 -0
  3144. package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +38 -0
  3145. package/src/component/reducer/types/ActionType.ts +3 -0
  3146. package/src/component/toolbar/ToolBar.tsx +552 -0
  3147. package/src/component/toolbar/ToolTypes.ts +504 -0
  3148. package/src/component/toolbar/toolbarMenu.tsx +87 -0
  3149. package/src/component/utility/Evaluate.ts +8 -0
  3150. package/src/component/utility/Events.tsx +55 -0
  3151. package/src/component/utility/GroupByInfoKey.ts +29 -0
  3152. package/src/component/utility/LocalStorage.ts +42 -0
  3153. package/src/component/utility/PathBuilder.ts +41 -0
  3154. package/src/component/utility/assert.ts +5 -0
  3155. package/src/component/utility/booleanToString.ts +9 -0
  3156. package/src/component/utility/checkUniqueByKey.ts +56 -0
  3157. package/src/component/utility/colorToHexWithAlpha.ts +7 -0
  3158. package/src/component/utility/convertPathArrayToString.ts +3 -0
  3159. package/src/component/utility/export.ts +437 -0
  3160. package/src/component/utility/extractChemicalElement.ts +3 -0
  3161. package/src/component/utility/filterType.ts +6 -0
  3162. package/src/component/utility/formatNumber.ts +23 -0
  3163. package/src/component/utility/getClosePeak.ts +32 -0
  3164. package/src/component/utility/getDefaultFilterOptions.ts +13 -0
  3165. package/src/component/utility/getSpectraByNucleus.ts +9 -0
  3166. package/src/component/utility/getSpectraObjectPaths.ts +32 -0
  3167. package/src/component/utility/getUniqueNuclei.ts +11 -0
  3168. package/src/component/utility/isGoogleDocument.ts +5 -0
  3169. package/src/component/utility/maxAbsoluteValue.ts +28 -0
  3170. package/src/component/utility/nucleusToString.ts +7 -0
  3171. package/src/component/utility/parseColor.ts +20 -0
  3172. package/src/component/utility/replaceNucleiObjectKeys.ts +11 -0
  3173. package/src/component/utility/roundNumber.ts +4 -0
  3174. package/src/component/workspaces/assignment.ts +34 -0
  3175. package/src/component/workspaces/basic.ts +40 -0
  3176. package/src/component/workspaces/embedded.ts +51 -0
  3177. package/src/component/workspaces/exercise.ts +71 -0
  3178. package/src/component/workspaces/index.ts +17 -0
  3179. package/src/component/workspaces/prediction.ts +225 -0
  3180. package/src/component/workspaces/process1D.ts +37 -0
  3181. package/src/component/workspaces/simulation.ts +72 -0
  3182. package/src/component/workspaces/workspaceDefaultProperties.ts +256 -0
  3183. package/src/constants.ts +1 -0
  3184. package/src/data/PredictionManager.ts +408 -0
  3185. package/src/data/SpectraManager.ts +219 -0
  3186. package/src/data/constants/DefaultPathLengths.ts +13 -0
  3187. package/src/data/constants/Multiplets.ts +15 -0
  3188. package/src/data/constants/References.ts +60 -0
  3189. package/src/data/constants/signalsKinds.ts +26 -0
  3190. package/src/data/data1d/Spectrum1D/SumManager.ts +124 -0
  3191. package/src/data/data1d/Spectrum1D/convertDataToFloat64Array.ts +13 -0
  3192. package/src/data/data1d/Spectrum1D/generateJGraphData.ts +121 -0
  3193. package/src/data/data1d/Spectrum1D/get1DColor.ts +51 -0
  3194. package/src/data/data1d/Spectrum1D/get1DDataXY.ts +25 -0
  3195. package/src/data/data1d/Spectrum1D/getReferenceShift.ts +95 -0
  3196. package/src/data/data1d/Spectrum1D/index.ts +21 -0
  3197. package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +85 -0
  3198. package/src/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.ts +34 -0
  3199. package/src/data/data1d/Spectrum1D/integrals/initiateIntegrals.ts +20 -0
  3200. package/src/data/data1d/Spectrum1D/isRangeAssigned.ts +15 -0
  3201. package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +13 -0
  3202. package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +42 -0
  3203. package/src/data/data1d/Spectrum1D/peaks/initiatePeaks.ts +13 -0
  3204. package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +45 -0
  3205. package/src/data/data1d/Spectrum1D/ranges/autoRangesDetection.ts +62 -0
  3206. package/src/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.ts +43 -0
  3207. package/src/data/data1d/Spectrum1D/ranges/changeRangeSignal.ts +28 -0
  3208. package/src/data/data1d/Spectrum1D/ranges/createRange.ts +68 -0
  3209. package/src/data/data1d/Spectrum1D/ranges/detectRange.ts +35 -0
  3210. package/src/data/data1d/Spectrum1D/ranges/detectRanges.ts +44 -0
  3211. package/src/data/data1d/Spectrum1D/ranges/detectSignals.ts +57 -0
  3212. package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +169 -0
  3213. package/src/data/data1d/Spectrum1D/ranges/initiateRanges.ts +20 -0
  3214. package/src/data/data1d/Spectrum1D/ranges/resizeRange.ts +46 -0
  3215. package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +108 -0
  3216. package/src/data/data1d/database.ts +222 -0
  3217. package/src/data/data1d/multipleSpectraAnalysis.ts +296 -0
  3218. package/src/data/data1d/spectrumSimulation.ts +81 -0
  3219. package/src/data/data2d/Spectrum2D/contours.ts +259 -0
  3220. package/src/data/data2d/Spectrum2D/get2DColor.ts +72 -0
  3221. package/src/data/data2d/Spectrum2D/getMissingProjection.ts +67 -0
  3222. package/src/data/data2d/Spectrum2D/getSlice.ts +123 -0
  3223. package/src/data/data2d/Spectrum2D/index.ts +8 -0
  3224. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +76 -0
  3225. package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +26 -0
  3226. package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +39 -0
  3227. package/src/data/data2d/Spectrum2D/zones/detectZones.ts +11 -0
  3228. package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +32 -0
  3229. package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +121 -0
  3230. package/src/data/data2d/Spectrum2D/zones/initiateZones.ts +24 -0
  3231. package/src/data/getFilterLabel.ts +13 -0
  3232. package/src/data/initiateFilters.ts +12 -0
  3233. package/src/data/matrixGeneration.ts +231 -0
  3234. package/src/data/molecules/Molecule.ts +79 -0
  3235. package/src/data/molecules/MoleculeManager.ts +97 -0
  3236. package/src/data/parseMeta/index.ts +4 -0
  3237. package/src/data/parseMeta/isMetaFile.ts +10 -0
  3238. package/src/data/parseMeta/linkMetaWithSpectra.ts +112 -0
  3239. package/src/data/parseMeta/mapErrors.ts +11 -0
  3240. package/src/data/parseMeta/parseMetaFile.ts +17 -0
  3241. package/src/data/parseMeta/prepareKey.ts +6 -0
  3242. package/src/data/types/common/ExtractFilterEntry.ts +6 -0
  3243. package/src/data/types/common/FilterEntry.ts +3 -0
  3244. package/src/data/types/common/Keys.ts +11 -0
  3245. package/src/data/types/common/SignalKind.ts +10 -0
  3246. package/src/data/types/data1d/ExclusionZone.ts +5 -0
  3247. package/src/data/types/data1d/RangeDetectionResult.ts +8 -0
  3248. package/src/data/types/data1d/index.ts +1 -0
  3249. package/src/data/utilities/Concatenation.ts +5 -0
  3250. package/src/data/utilities/FindUtilities.ts +92 -0
  3251. package/src/data/utilities/RangeUtilities.ts +55 -0
  3252. package/src/data/utilities/ZoneUtilities.ts +64 -0
  3253. package/src/data/utilities/calculateSanPlot.ts +40 -0
  3254. package/src/data/utilities/checkModifierKeyActivated.ts +15 -0
  3255. package/src/data/utilities/convertSpectraListToObject.ts +11 -0
  3256. package/src/data/utilities/generateChar.ts +14 -0
  3257. package/src/data/utilities/generateColor.ts +69 -0
  3258. package/src/data/utilities/generateNumbersPowerOfX.ts +26 -0
  3259. package/src/data/utilities/getAtom.ts +3 -0
  3260. package/src/data/utilities/getAtomsFromMF.ts +18 -0
  3261. package/src/data/utilities/getCustomColor.ts +65 -0
  3262. package/src/data/utilities/isInRange.ts +10 -0
  3263. package/src/data/utilities/isNumber.ts +3 -0
  3264. package/src/data/utilities/removeByPaths.ts +43 -0
  3265. package/src/index.tsx +33 -0
  3266. package/src/types/UsedColors.ts +4 -0
  3267. package/src/utils/clipboard/clipboard.ts +36 -0
  3268. package/src/utils/clipboard/clipboardComponents.tsx +290 -0
  3269. package/src/utils/clipboard/clipboardHooks.ts +173 -0
  3270. package/src/utils/clipboard/types.ts +1 -0
  3271. package/src/utils/stringCapitalize.ts +3 -0
  3272. package/src/versionInfo.ts +1 -0
  3273. package/lib/component/1d/Chart1D.d.ts +0 -8
  3274. package/lib/component/1d/Chart1D.js +0 -29
  3275. package/lib/component/1d/XAxis.d.ts +0 -8
  3276. package/lib/component/1d/XAxis.js +0 -65
  3277. package/lib/component/1d/YAxis.d.ts +0 -6
  3278. package/lib/component/1d/YAxis.js +0 -37
  3279. package/lib/component/1d/ranges/AssignmentActionsButtons.d.ts +0 -11
  3280. package/lib/component/1d/ranges/AssignmentActionsButtons.js +0 -11
  3281. package/lib/component/1d/tool/PivotIndicator.d.ts +0 -1
  3282. package/lib/component/1d/tool/PivotIndicator.js +0 -28
  3283. package/lib/component/1d/utilities/getDecimalsCount.d.ts +0 -1
  3284. package/lib/component/1d/utilities/getDecimalsCount.js +0 -6
  3285. package/lib/component/1d-2d/components/FloatMoleculeStructures/ActionsButton.d.ts +0 -3
  3286. package/lib/component/1d-2d/components/FloatMoleculeStructures/ActionsButton.js +0 -7
  3287. package/lib/component/1d-2d/components/FloatMoleculeStructures/index.d.ts +0 -14
  3288. package/lib/component/1d-2d/components/FloatMoleculeStructures/index.js +0 -39
  3289. package/lib/component/1d-2d/tools/BrushX.d.ts +0 -1
  3290. package/lib/component/1d-2d/tools/BrushX.js +0 -35
  3291. package/lib/component/2d/Chart2D.d.ts +0 -6
  3292. package/lib/component/2d/Chart2D.js +0 -24
  3293. package/lib/component/assignment/AssignmentsReducer.d.ts +0 -31
  3294. package/lib/component/assignment/AssignmentsReducer.js +0 -39
  3295. package/lib/component/assignment/actions/initAssignment.d.ts +0 -5
  3296. package/lib/component/assignment/actions/initAssignment.js +0 -62
  3297. package/lib/component/assignment/actions/removeAssignment.d.ts +0 -16
  3298. package/lib/component/assignment/actions/removeAssignment.js +0 -24
  3299. package/lib/component/assignment/actions/setActiveAssignment.d.ts +0 -10
  3300. package/lib/component/assignment/actions/setActiveAssignment.js +0 -8
  3301. package/lib/component/assignment/actions/toggleAssignment.d.ts +0 -7
  3302. package/lib/component/assignment/actions/toggleAssignment.js +0 -44
  3303. package/lib/component/assignment/index.d.ts +0 -6
  3304. package/lib/component/assignment/index.js +0 -22
  3305. package/lib/component/context/PrepareExportContext.d.ts +0 -21
  3306. package/lib/component/context/PrepareExportContext.js +0 -124
  3307. package/lib/component/elements/ActiveButton.d.ts +0 -17
  3308. package/lib/component/elements/ActiveButton.js +0 -34
  3309. package/lib/component/elements/ButtonToolTip.d.ts +0 -9
  3310. package/lib/component/elements/ButtonToolTip.js +0 -6
  3311. package/lib/component/elements/CheckBox.d.ts +0 -6
  3312. package/lib/component/elements/CheckBox.js +0 -10
  3313. package/lib/component/elements/CheckBoxCell.d.ts +0 -2
  3314. package/lib/component/elements/CheckBoxCell.js +0 -8
  3315. package/lib/component/elements/ColorInput.d.ts +0 -9
  3316. package/lib/component/elements/ColorInput.js +0 -86
  3317. package/lib/component/elements/CounterLabel.d.ts +0 -7
  3318. package/lib/component/elements/CounterLabel.js +0 -11
  3319. package/lib/component/elements/Header.d.ts +0 -11
  3320. package/lib/component/elements/Header.js +0 -15
  3321. package/lib/component/elements/MenuButton.d.ts +0 -31
  3322. package/lib/component/elements/MenuButton.js +0 -81
  3323. package/lib/component/elements/Message.d.ts +0 -16
  3324. package/lib/component/elements/Message.js +0 -34
  3325. package/lib/component/elements/NumberInput.d.ts +0 -13
  3326. package/lib/component/elements/NumberInput.js +0 -20
  3327. package/lib/component/elements/PreferencesButton.d.ts +0 -2
  3328. package/lib/component/elements/PreferencesButton.js +0 -6
  3329. package/lib/component/elements/ReactTable/ReactTableFlexLayout.d.ts +0 -10
  3330. package/lib/component/elements/ReactTable/ReactTableFlexLayout.js +0 -28
  3331. package/lib/component/elements/ReactTable/Style.d.ts +0 -4
  3332. package/lib/component/elements/ReactTable/Style.js +0 -45
  3333. package/lib/component/elements/RemoveAssignmentsButton.d.ts +0 -4
  3334. package/lib/component/elements/RemoveAssignmentsButton.js +0 -21
  3335. package/lib/component/elements/Table/Table.d.ts +0 -9
  3336. package/lib/component/elements/Table/Table.js +0 -13
  3337. package/lib/component/elements/Table/TableBody.d.ts +0 -9
  3338. package/lib/component/elements/Table/TableBody.js +0 -19
  3339. package/lib/component/elements/Table/TableCell.d.ts +0 -13
  3340. package/lib/component/elements/Table/TableCell.js +0 -26
  3341. package/lib/component/elements/Table/TableHead.d.ts +0 -9
  3342. package/lib/component/elements/Table/TableHead.js +0 -16
  3343. package/lib/component/elements/Table/TableRow.d.ts +0 -10
  3344. package/lib/component/elements/Table/TableRow.js +0 -11
  3345. package/lib/component/elements/ToggleButton.d.ts +0 -14
  3346. package/lib/component/elements/ToggleButton.js +0 -30
  3347. package/lib/component/elements/ToolTip/ToolTip.d.ts +0 -15
  3348. package/lib/component/elements/ToolTip/ToolTip.js +0 -101
  3349. package/lib/component/elements/accordion/Accordion.d.ts +0 -7
  3350. package/lib/component/elements/accordion/Accordion.js +0 -66
  3351. package/lib/component/elements/accordion/AccordionItem.d.ts +0 -15
  3352. package/lib/component/elements/accordion/AccordionItem.js +0 -78
  3353. package/lib/component/elements/draggable/SVGDraggable.d.ts +0 -17
  3354. package/lib/component/elements/draggable/SVGDraggable.js +0 -29
  3355. package/lib/component/elements/formik/ErrorMessage.d.ts +0 -7
  3356. package/lib/component/elements/formik/ErrorMessage.js +0 -13
  3357. package/lib/component/elements/formik/FormikCheckBox.d.ts +0 -17
  3358. package/lib/component/elements/formik/FormikCheckBox.js +0 -19
  3359. package/lib/component/elements/formik/FormikColorPicker.d.ts +0 -7
  3360. package/lib/component/elements/formik/FormikColorPicker.js +0 -16
  3361. package/lib/component/elements/formik/FormikColorPickerDropdown.d.ts +0 -6
  3362. package/lib/component/elements/formik/FormikColorPickerDropdown.js +0 -14
  3363. package/lib/component/elements/formik/FormikColumnFormatField.d.ts +0 -15
  3364. package/lib/component/elements/formik/FormikColumnFormatField.js +0 -43
  3365. package/lib/component/elements/formik/FormikError.d.ts +0 -8
  3366. package/lib/component/elements/formik/FormikError.js +0 -20
  3367. package/lib/component/elements/formik/FormikErrorsSummary.d.ts +0 -6
  3368. package/lib/component/elements/formik/FormikErrorsSummary.js +0 -45
  3369. package/lib/component/elements/formik/FormikInput.d.ts +0 -11
  3370. package/lib/component/elements/formik/FormikInput.js +0 -39
  3371. package/lib/component/elements/formik/FormikInput2.d.ts +0 -11
  3372. package/lib/component/elements/formik/FormikInput2.js +0 -26
  3373. package/lib/component/elements/formik/FormikNumberInput.d.ts +0 -7
  3374. package/lib/component/elements/formik/FormikNumberInput.js +0 -24
  3375. package/lib/component/elements/formik/FormikOnChange.d.ts +0 -8
  3376. package/lib/component/elements/formik/FormikOnChange.js +0 -30
  3377. package/lib/component/elements/formik/FormikSelect.d.ts +0 -6
  3378. package/lib/component/elements/formik/FormikSelect.js +0 -24
  3379. package/lib/component/elements/formik/FormikTextarea.d.ts +0 -9
  3380. package/lib/component/elements/formik/FormikTextarea.js +0 -28
  3381. package/lib/component/elements/formik/Input.d.ts +0 -8
  3382. package/lib/component/elements/formik/Input.js +0 -9
  3383. package/lib/component/elements/formik/SelectBox.d.ts +0 -6
  3384. package/lib/component/elements/formik/SelectBox.js +0 -11
  3385. package/lib/component/elements/linearAxis/LinearVerticalAxis.d.ts +0 -20
  3386. package/lib/component/elements/linearAxis/LinearVerticalAxis.js +0 -15
  3387. package/lib/component/header/ApodizationOptionsPanel.d.ts +0 -1
  3388. package/lib/component/header/ApodizationOptionsPanel.js +0 -93
  3389. package/lib/component/header/BaseLineCorrectionPanel.d.ts +0 -1
  3390. package/lib/component/header/BaseLineCorrectionPanel.js +0 -149
  3391. package/lib/component/header/HeaderContainer.d.ts +0 -7
  3392. package/lib/component/header/HeaderContainer.js +0 -8
  3393. package/lib/component/header/PhaseCorrectionPanel.d.ts +0 -1
  3394. package/lib/component/header/PhaseCorrectionPanel.js +0 -125
  3395. package/lib/component/header/PhaseCorrectionTwoDimensionsPanel.d.ts +0 -1
  3396. package/lib/component/header/PhaseCorrectionTwoDimensionsPanel.js +0 -186
  3397. package/lib/component/header/ZeroFillingOptionsPanel.d.ts +0 -1
  3398. package/lib/component/header/ZeroFillingOptionsPanel.js +0 -90
  3399. package/lib/component/main/SplitPaneWrapper.d.ts +0 -3
  3400. package/lib/component/main/SplitPaneWrapper.js +0 -16
  3401. package/lib/component/modal/CopyClipboardModal.d.ts +0 -8
  3402. package/lib/component/modal/CopyClipboardModal.js +0 -25
  3403. package/lib/component/modal/ModalStyle.d.ts +0 -1
  3404. package/lib/component/modal/ModalStyle.js +0 -80
  3405. package/lib/component/panels/extra/placeholder/NoTableData.d.ts +0 -4
  3406. package/lib/component/panels/extra/placeholder/NoTableData.js +0 -19
  3407. package/lib/component/panels/extra/preferences/ColumnsHelper.d.ts +0 -13
  3408. package/lib/component/panels/extra/preferences/ColumnsHelper.js +0 -45
  3409. package/lib/component/panels/extra/utilities/UseToggleStatus.d.ts +0 -7
  3410. package/lib/component/panels/extra/utilities/UseToggleStatus.js +0 -32
  3411. package/lib/component/panels/filtersPanel/FiltersTable.d.ts +0 -1
  3412. package/lib/component/panels/filtersPanel/FiltersTable.js +0 -154
  3413. package/lib/component/panels/header/PanelHeader.d.ts +0 -7
  3414. package/lib/component/panels/header/PanelHeader.js +0 -11
  3415. package/lib/component/reducer/actions/HistoryActions.d.ts +0 -4
  3416. package/lib/component/reducer/actions/HistoryActions.js +0 -40
  3417. package/lib/component/reducer/actions/SpectraAnalysisAction.d.ts +0 -10
  3418. package/lib/component/reducer/actions/SpectraAnalysisAction.js +0 -21
  3419. package/lib/component/reducer/helper/GetClosestNumber.d.ts +0 -2
  3420. package/lib/component/reducer/helper/GetClosestNumber.js +0 -8
  3421. package/lib/component/reducer/preferences/utilities/checkKeysExists.d.ts +0 -1
  3422. package/lib/component/reducer/preferences/utilities/checkKeysExists.js +0 -14
  3423. package/lib/component/reducer/preferences/utilities/filterObject.d.ts +0 -1
  3424. package/lib/component/reducer/preferences/utilities/filterObject.js +0 -7
  3425. package/lib/component/reducer/preferences/utilities/flatObject.d.ts +0 -1
  3426. package/lib/component/reducer/preferences/utilities/flatObject.js +0 -9
  3427. package/lib/component/reducer/scaleReducer.d.ts +0 -17
  3428. package/lib/component/reducer/scaleReducer.js +0 -36
  3429. package/lib/component/utility/FileUtility.d.ts +0 -8
  3430. package/lib/component/utility/FileUtility.js +0 -18
  3431. package/lib/component/utility/PreferencesHelper.d.ts +0 -2
  3432. package/lib/component/utility/PreferencesHelper.js +0 -9
  3433. package/lib/component/utility/jpathToArray.d.ts +0 -1
  3434. package/lib/component/utility/jpathToArray.js +0 -23
  3435. package/lib/data/constants/DefaultApodizationOptions.d.ts +0 -2
  3436. package/lib/data/constants/DefaultApodizationOptions.js +0 -5
  3437. package/lib/data/data1d/Spectrum1D/cloneDatum1D.d.ts +0 -5
  3438. package/lib/data/data1d/Spectrum1D/cloneDatum1D.js +0 -4
  3439. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.d.ts +0 -2
  3440. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.js +0 -5
  3441. package/lib/data/data2d/Spectrum2D/cloneDatum2D.d.ts +0 -1
  3442. package/lib/data/data2d/Spectrum2D/cloneDatum2D.js +0 -9
  3443. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.d.ts +0 -6
  3444. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.js +0 -9
  3445. package/lib/data/data2d/Spectrum2D/getShift.d.ts +0 -6
  3446. package/lib/data/data2d/Spectrum2D/getShift.js +0 -15
  3447. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.d.ts +0 -4
  3448. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.js +0 -15
  3449. package/lib/data/data2d/Spectrum2D/zones/updateZones.d.ts +0 -2
  3450. package/lib/data/data2d/Spectrum2D/zones/updateZones.js +0 -7
  3451. package/lib/data/defaults/13c.d.ts +0 -4
  3452. package/lib/data/defaults/13c.js +0 -3
  3453. package/lib/data/defaults/1h.d.ts +0 -4
  3454. package/lib/data/defaults/1h.js +0 -3
  3455. package/lib/data/defaults/default.d.ts +0 -1
  3456. package/lib/data/defaults/default.js +0 -16
  3457. package/lib/data/getDefaultMatrixFilters.d.ts +0 -16
  3458. package/lib/data/getDefaultMatrixFilters.js +0 -20
  3459. package/lib/data/types/common/DeepPartial.d.ts +0 -3
  3460. package/lib/data/types/common/DeepPartial.js +0 -1
  3461. package/lib/data/types/common/File.d.ts +0 -5
  3462. package/lib/data/types/common/File.js +0 -1
  3463. package/lib/data/types/common/Info.d.ts +0 -11
  3464. package/lib/data/types/common/Info.js +0 -1
  3465. package/lib/data/types/common/MapOptions.d.ts +0 -5
  3466. package/lib/data/types/common/MapOptions.js +0 -1
  3467. package/lib/data/types/common/Nucleus.d.ts +0 -2
  3468. package/lib/data/types/common/Nucleus.js +0 -1
  3469. package/lib/data/types/data1d/ComplexData1D.d.ts +0 -2
  3470. package/lib/data/types/data1d/ComplexData1D.js +0 -1
  3471. package/lib/data/types/data1d/MatrixOptions.d.ts +0 -28
  3472. package/lib/data/types/data1d/MatrixOptions.js +0 -1
  3473. package/lib/data/types/data2d/ContourOptions.d.ts +0 -10
  3474. package/lib/data/types/data2d/ContourOptions.js +0 -1
  3475. package/lib/data/types/data2d/index.d.ts +0 -1
  3476. package/lib/data/types/data2d/index.js +0 -1
  3477. package/lib/data/utilities/getSum.d.ts +0 -8
  3478. package/lib/data/utilities/getSum.js +0 -15
  3479. package/lib/types/NMRiumDataReturn.d.ts +0 -14
  3480. package/lib/types/NMRiumDataReturn.js +0 -1
@@ -0,0 +1,1921 @@
1
+ import type { NmrData1D, NmrData2DFt } from 'cheminfo-types';
2
+ import type { Draft } from 'immer';
3
+ import { current } from 'immer';
4
+ import { xFindClosestIndex } from 'ml-spectra-processing';
5
+ import type {
6
+ ActiveSpectrum,
7
+ Spectrum,
8
+ Spectrum1D,
9
+ Spectrum2D,
10
+ } from 'nmr-load-save';
11
+ import {
12
+ getBaselineZonesByDietrich,
13
+ Filters1DManager,
14
+ Filters2DManager,
15
+ Filters1D,
16
+ Filters2D,
17
+ } from 'nmr-processing';
18
+ import type {
19
+ BaselineCorrectionOptions,
20
+ Filter1D,
21
+ Apodization1DOptions,
22
+ Filter1DEntry,
23
+ FilterDomainUpdateRules,
24
+ MatrixOptions,
25
+ Filter2DEntry,
26
+ } from 'nmr-processing';
27
+
28
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
29
+ import { isFid1DSpectrum } from '../../../data/data1d/Spectrum1D/isSpectrum1D.js';
30
+ import { getProjection } from '../../../data/data2d/Spectrum2D/getMissingProjection.js';
31
+ import { isSpectrum2D } from '../../../data/data2d/Spectrum2D/index.js';
32
+ import { isFid2DSpectrum } from '../../../data/data2d/Spectrum2D/isSpectrum2D.js';
33
+ import type { ExclusionZone } from '../../../data/types/data1d/ExclusionZone.js';
34
+ import { getXScale } from '../../1d/utilities/scale.js';
35
+ import { get2DXScale, get2DYScale } from '../../2d/utilities/scale.js';
36
+ import { nonRemovableFilters } from '../../panels/filtersPanel/Filters/FiltersSectionsPanel.js';
37
+ import type { Tool } from '../../toolbar/ToolTypes.js';
38
+ import { options as Tools } from '../../toolbar/ToolTypes.js';
39
+ import { getSpectraByNucleus } from '../../utility/getSpectraByNucleus.js';
40
+ import nucleusToString from '../../utility/nucleusToString.js';
41
+ import type {
42
+ PhaseCorrectionTraceData,
43
+ State,
44
+ TraceDirection,
45
+ TwoDimensionPhaseCorrection,
46
+ } from '../Reducer.js';
47
+ import {
48
+ getDefaultTwoDimensionsPhaseCorrectionTraceOptions,
49
+ getInitialState,
50
+ } from '../Reducer.js';
51
+ import zoomHistoryManager from '../helper/ZoomHistoryManager.js';
52
+ import { findStrongestPeak } from '../helper/findStrongestPeak.js';
53
+ import { getActiveSpectrum } from '../helper/getActiveSpectrum.js';
54
+ import getRange from '../helper/getRange.js';
55
+ import { getSpectrum } from '../helper/getSpectrum.js';
56
+ import { getTwoDimensionPhaseCorrectionOptions } from '../helper/getTwoDimensionPhaseCorrectionOptions.js';
57
+ import type { ActionType } from '../types/ActionType.js';
58
+
59
+ import { get2DDomain, setDomain, setMode } from './DomainActions.js';
60
+ import { changeSpectrumVerticalAlignment } from './PreferencesActions.js';
61
+ import { activateTool, resetSelectedTool } from './ToolsActions.js';
62
+
63
+ const {
64
+ fft,
65
+ apodization,
66
+ baselineCorrection,
67
+ phaseCorrection,
68
+ zeroFilling,
69
+ shiftX,
70
+
71
+ exclusionZones,
72
+ signalProcessing,
73
+ digitalFilter,
74
+ } = Filters1D;
75
+
76
+ const {
77
+ fftDimension1,
78
+ fftDimension2,
79
+ phaseCorrectionTwoDimensions,
80
+ shift2DX,
81
+ shift2DY,
82
+ digitalFilter2D,
83
+ } = Filters2D;
84
+ interface ShiftOneDimension {
85
+ shift: number;
86
+ }
87
+ interface ShiftTwoDimensions {
88
+ shiftX?: number;
89
+ shiftY?: number;
90
+ }
91
+
92
+ type ShiftSpectrumOptions = ShiftOneDimension | ShiftTwoDimensions;
93
+
94
+ type ShiftSpectrumAction = ActionType<'SHIFT_SPECTRUM', ShiftSpectrumOptions>;
95
+ type ApodizationFilterAction = ActionType<
96
+ 'APPLY_APODIZATION_FILTER',
97
+ { options: Apodization1DOptions }
98
+ >;
99
+ type ApodizationDimensionOneFilterAction = ActionType<
100
+ 'APPLY_APODIZATION_DIMENSION_ONE_FILTER',
101
+ { options: Apodization1DOptions }
102
+ >;
103
+ type ApodizationDimensionTwoFilterAction = ActionType<
104
+ 'APPLY_APODIZATION_DIMENSION_TWO_FILTER',
105
+ { options: Apodization1DOptions }
106
+ >;
107
+ type ApodizationFilterLiveAction = ActionType<
108
+ 'CALCULATE_APODIZATION_FILTER',
109
+ { options: Apodization1DOptions; livePreview: boolean }
110
+ >;
111
+ type ApodizationDimensionOneFilterLiveAction = ActionType<
112
+ 'CALCULATE_APODIZATION_DIMENSION_ONE_FILTER',
113
+ { options: Apodization1DOptions; livePreview: boolean }
114
+ >;
115
+ type ApodizationDimensionTwoFilterLiveAction = ActionType<
116
+ 'CALCULATE_APODIZATION_DIMENSION_TWO_FILTER',
117
+ { options: Apodization1DOptions; livePreview: boolean }
118
+ >;
119
+ interface ZeroFillingOptions {
120
+ nbPoints: number;
121
+ }
122
+ type ZeroFillingFilterAction = ActionType<
123
+ 'APPLY_ZERO_FILLING_FILTER',
124
+ { options: ZeroFillingOptions }
125
+ >;
126
+ type ZeroFillingDimensionOneFilterAction = ActionType<
127
+ 'APPLY_ZERO_FILLING_DIMENSION_ONE_FILTER',
128
+ { options: ZeroFillingOptions }
129
+ >;
130
+ type ZeroFillingDimensionTwoFilterAction = ActionType<
131
+ 'APPLY_ZERO_FILLING_DIMENSION_TWO_FILTER',
132
+ { options: ZeroFillingOptions }
133
+ >;
134
+ type ZeroFillingFilterLiveAction = ActionType<
135
+ 'CALCULATE_ZERO_FILLING_FILTER',
136
+ { options: ZeroFillingOptions; livePreview: boolean }
137
+ >;
138
+ type ZeroFillingDimensionOneFilterLiveAction = ActionType<
139
+ 'CALCULATE_ZERO_FILLING_DIMENSION_ONE_FILTER',
140
+ { options: ZeroFillingOptions; livePreview: boolean }
141
+ >;
142
+ type ZeroFillingDimensionTwoFilterLiveAction = ActionType<
143
+ 'CALCULATE_ZERO_FILLING_DIMENSION_TWO_FILTER',
144
+ { options: ZeroFillingOptions; livePreview: boolean }
145
+ >;
146
+ type ManualPhaseCorrectionFilterAction = ActionType<
147
+ | 'APPLY_MANUAL_PHASE_CORRECTION_FILTER'
148
+ | 'CALCULATE_MANUAL_PHASE_CORRECTION_FILTER',
149
+ { ph0: number; ph1: number }
150
+ >;
151
+ type ManualTwoDimensionsPhaseCorrectionFilterAction = ActionType<
152
+ 'CALCULATE_TOW_DIMENSIONS_MANUAL_PHASE_CORRECTION_FILTER',
153
+ { ph0: number; ph1: number; applyOn2D?: boolean }
154
+ >;
155
+
156
+ type BaselineCorrectionFilterOptions = Omit<BaselineCorrectionOptions, 'zones'>;
157
+ interface BaselineCorrectionFilterProps {
158
+ options: BaselineCorrectionFilterOptions;
159
+ livePreview: boolean;
160
+ }
161
+
162
+ type BaselineCorrectionFilterAction = ActionType<
163
+ 'APPLY_BASE_LINE_CORRECTION_FILTER',
164
+ { options: BaselineCorrectionFilterOptions }
165
+ >;
166
+ type BaselineCorrectionFilterLiveAction = ActionType<
167
+ 'CALCULATE_BASE_LINE_CORRECTION_FILTER',
168
+ BaselineCorrectionFilterProps
169
+ >;
170
+ type EnableFilterAction = ActionType<
171
+ 'ENABLE_FILTER',
172
+ { id: string; enabled: boolean }
173
+ >;
174
+ type DeleteFilterAction = ActionType<'DELETE_FILTER', { id?: string }>;
175
+ type DeleteSpectraFilterAction = ActionType<
176
+ 'DELETE_SPECTRA_FILTER',
177
+ { filterName: string }
178
+ >;
179
+ type SetFilterSnapshotAction = ActionType<
180
+ 'SET_FILTER_SNAPSHOT',
181
+ { name: string; id: string }
182
+ >;
183
+ type ExclusionZoneFilterAction = ActionType<
184
+ 'APPLY_EXCLUSION_ZONE',
185
+ { zones: ExclusionZone[] }
186
+ >;
187
+ type AddExclusionZoneAction = ActionType<
188
+ 'ADD_EXCLUSION_ZONE',
189
+ { startX: number; endX: number }
190
+ >;
191
+ type DeleteExclusionZoneAction = ActionType<
192
+ 'DELETE_EXCLUSION_ZONE',
193
+ { zone: ExclusionZone; spectrumId?: string }
194
+ >;
195
+ type ApplySignalProcessingAction = ActionType<
196
+ 'APPLY_SIGNAL_PROCESSING_FILTER',
197
+ { options: MatrixOptions }
198
+ >;
199
+ type AddPhaseCorrectionTraceAction = ActionType<
200
+ 'ADD_PHASE_CORRECTION_TRACE',
201
+ { x: number; y: number }
202
+ >;
203
+ type ChangePhaseCorrectionDirectionAction = ActionType<
204
+ 'CHANGE_PHASE_CORRECTION_DIRECTION',
205
+ { direction: TraceDirection }
206
+ >;
207
+ type DeletePhaseCorrectionTrace = ActionType<
208
+ 'DELETE_PHASE_CORRECTION_TRACE',
209
+ { id: string }
210
+ >;
211
+
212
+ type SetOneDimensionPhaseCorrectionPivotPoint = ActionType<
213
+ 'SET_ONE_DIMENSION_PIVOT_POINT',
214
+ { value: number }
215
+ >;
216
+ type SetTwoDimensionPhaseCorrectionPivotPoint = ActionType<
217
+ 'SET_TWO_DIMENSION_PIVOT_POINT',
218
+ { x: number; y: number }
219
+ >;
220
+
221
+ export type FiltersActions =
222
+ | ShiftSpectrumAction
223
+ | ApodizationFilterAction
224
+ | ApodizationDimensionOneFilterAction
225
+ | ApodizationDimensionTwoFilterAction
226
+ | ApodizationFilterLiveAction
227
+ | ApodizationDimensionOneFilterLiveAction
228
+ | ApodizationDimensionTwoFilterLiveAction
229
+ | ZeroFillingFilterAction
230
+ | ZeroFillingDimensionOneFilterAction
231
+ | ZeroFillingDimensionTwoFilterAction
232
+ | ZeroFillingFilterLiveAction
233
+ | ZeroFillingDimensionOneFilterLiveAction
234
+ | ZeroFillingDimensionTwoFilterLiveAction
235
+ | ManualPhaseCorrectionFilterAction
236
+ | BaselineCorrectionFilterAction
237
+ | BaselineCorrectionFilterLiveAction
238
+ | EnableFilterAction
239
+ | DeleteFilterAction
240
+ | DeleteSpectraFilterAction
241
+ | SetFilterSnapshotAction
242
+ | ExclusionZoneFilterAction
243
+ | AddExclusionZoneAction
244
+ | DeleteExclusionZoneAction
245
+ | ApplySignalProcessingAction
246
+ | AddPhaseCorrectionTraceAction
247
+ | ChangePhaseCorrectionDirectionAction
248
+ | DeletePhaseCorrectionTrace
249
+ | SetOneDimensionPhaseCorrectionPivotPoint
250
+ | SetTwoDimensionPhaseCorrectionPivotPoint
251
+ | ManualTwoDimensionsPhaseCorrectionFilterAction
252
+ | ActionType<
253
+ | 'APPLY_FFT_FILTER'
254
+ | 'APPLY_FFT_DIMENSION_1_FILTER'
255
+ | 'APPLY_FFT_DIMENSION_2_FILTER'
256
+ | 'APPLY_AUTO_PHASE_CORRECTION_FILTER'
257
+ | 'APPLY_ABSOLUTE_FILTER'
258
+ | 'APPLY_MANUAL_PHASE_CORRECTION_TOW_DIMENSION_FILTER'
259
+ | 'TOGGLE_ADD_PHASE_CORRECTION_TRACE_TO_BOTH_DIRECTIONS'
260
+ | 'APPLY_AUTO_PHASE_CORRECTION_TOW_DIMENSION_FILTER'
261
+ >;
262
+
263
+ const DEFAULT_FILTER_DOMAIN_UPDATE_RULES: FilterDomainUpdateRules = {
264
+ updateXDomain: false,
265
+ updateYDomain: false,
266
+ };
267
+
268
+ function getFilterUpdateDomainRules(
269
+ filterName: string,
270
+ defaultRule: FilterDomainUpdateRules = DEFAULT_FILTER_DOMAIN_UPDATE_RULES,
271
+ ) {
272
+ const filterDomainUpdateRules =
273
+ Filters1D?.[filterName]?.domainUpdateRules ??
274
+ Filters2D?.[filterName]?.domainUpdateRules;
275
+
276
+ return filterDomainUpdateRules || defaultRule;
277
+ }
278
+
279
+ interface RollbackSpectrumByFilterOptions {
280
+ applyFilter?: boolean;
281
+ reset?: boolean;
282
+ searchBy?: 'id' | 'name';
283
+ key?: string | null;
284
+ activeSpectrum?: ActiveSpectrum | null;
285
+ triggerSource?: 'Apply' | 'none';
286
+ }
287
+
288
+ function getFilterDomain(
289
+ datum: Spectrum,
290
+ options: { startIndex: number; lastIndex: number },
291
+ ) {
292
+ const { startIndex, lastIndex } = options;
293
+ const updateDomainOptions: FilterDomainUpdateRules = {
294
+ updateXDomain: false,
295
+ updateYDomain: false,
296
+ };
297
+
298
+ if (datum?.filters?.length === 0) return updateDomainOptions;
299
+
300
+ for (let i = startIndex; i <= lastIndex; i++) {
301
+ const { updateXDomain, updateYDomain } = getFilterUpdateDomainRules(
302
+ datum.filters[i].name,
303
+ );
304
+ if (!updateDomainOptions.updateXDomain) {
305
+ updateDomainOptions.updateXDomain = updateXDomain;
306
+ }
307
+ if (!updateDomainOptions.updateYDomain) {
308
+ updateDomainOptions.updateYDomain = updateYDomain;
309
+ }
310
+ }
311
+ return updateDomainOptions;
312
+ }
313
+
314
+ function rollbackSpectrumByFilter(
315
+ draft: Draft<State>,
316
+ options?: RollbackSpectrumByFilterOptions,
317
+ ) {
318
+ const {
319
+ applyFilter = true,
320
+ searchBy = 'id',
321
+ reset = false,
322
+ key,
323
+ activeSpectrum,
324
+ triggerSource = 'none',
325
+ } = options || {};
326
+
327
+ const currentActiveSpectrum = activeSpectrum || getActiveSpectrum(draft);
328
+ let updateDomainOptions: Partial<FilterDomainUpdateRules> = {
329
+ updateXDomain: false,
330
+ updateYDomain: false,
331
+ };
332
+ let previousIsFid = false;
333
+ let currentIsFid = false;
334
+
335
+ if (currentActiveSpectrum) {
336
+ const index = currentActiveSpectrum.index;
337
+ const datum = draft.data[index] as Spectrum;
338
+ previousIsFid = isFid1DSpectrum(datum) || isFid2DSpectrum(datum);
339
+ const filterIndex = datum.filters.findIndex((f) => f[searchBy] === key);
340
+
341
+ if (filterIndex !== -1 && !reset) {
342
+ const { activeFilterID } = draft.toolOptions.data;
343
+ const activeFilterIndex = activeFilterID
344
+ ? datum.filters.findIndex((f) => f.id === activeFilterID)
345
+ : datum.filters.length - 1;
346
+ //set active filter
347
+ draft.toolOptions.data.activeFilterID =
348
+ datum.filters?.[filterIndex]?.id || null;
349
+
350
+ const filters: any[] = datum.filters.slice(0, filterIndex);
351
+
352
+ updateDomainOptions = getFilterDomain(datum, {
353
+ startIndex: Math.min(activeFilterIndex, filterIndex),
354
+ lastIndex: Math.max(activeFilterIndex, filterIndex),
355
+ });
356
+
357
+ if (isSpectrum1D(datum)) {
358
+ Filters1DManager.reapplyFilters(datum, { filters });
359
+ } else {
360
+ Filters2DManager.reapplyFilters(datum, { filters });
361
+ }
362
+
363
+ draft.tempData = current(draft).data;
364
+ // apply the current Filters
365
+ if (applyFilter) {
366
+ const { name, value } = datum.filters[filterIndex];
367
+ if (datum.info.dimension === 1) {
368
+ Filters1D[name].apply(datum, value);
369
+ } else {
370
+ Filters2D[name].apply(datum, value);
371
+ }
372
+ }
373
+
374
+ currentIsFid = isFid1DSpectrum(datum) || isFid2DSpectrum(datum);
375
+
376
+ //if we still point to the same filter then close the filter options panel and reset the selected tool to default one (zoom tool)
377
+ if (
378
+ activeFilterID === datum.filters[filterIndex].id &&
379
+ triggerSource === 'Apply'
380
+ ) {
381
+ draft.toolOptions.selectedOptionPanel = null;
382
+ draft.toolOptions.selectedTool = 'zoom';
383
+ }
384
+ }
385
+
386
+ if (filterIndex === -1 || reset) {
387
+ if (draft.tempData) {
388
+ if (isSpectrum1D(datum)) {
389
+ Filters1DManager.reapplyFilters(datum);
390
+ } else {
391
+ Filters2DManager.reapplyFilters(datum);
392
+ }
393
+ }
394
+ //if the filter is not exists, create a clone of the current data
395
+ draft.tempData = current(draft).data;
396
+ }
397
+
398
+ // re-implement all filters and rest all view property that related to filters
399
+ if (reset) {
400
+ if (filterIndex !== -1 && datum.filters.length > 0) {
401
+ updateDomainOptions = getFilterDomain(datum, {
402
+ startIndex: filterIndex,
403
+ lastIndex: datum.filters.length - 1,
404
+ });
405
+ } else if (draft.toolOptions.data.activeFilterID) {
406
+ updateDomainOptions = { updateXDomain: true, updateYDomain: true };
407
+ } else {
408
+ updateDomainOptions = { updateXDomain: false, updateYDomain: false };
409
+ }
410
+
411
+ draft.toolOptions.data.activeFilterID = null;
412
+ draft.tempData = null;
413
+
414
+ const {
415
+ toolOptions: { data },
416
+ } = getInitialState();
417
+ draft.toolOptions.data = data;
418
+ currentIsFid = isFid1DSpectrum(datum) || isFid2DSpectrum(datum);
419
+ }
420
+ }
421
+ setDomain(draft, updateDomainOptions);
422
+ if (previousIsFid !== currentIsFid) {
423
+ setMode(draft);
424
+ changeSpectrumVerticalAlignment(draft, { verticalAlign: 'auto-check' });
425
+ }
426
+ }
427
+
428
+ export interface RollbackSpectrumOptions {
429
+ filterKey?: string;
430
+ reset?: boolean;
431
+ }
432
+
433
+ function rollbackSpectrum(
434
+ draft: Draft<State>,
435
+ options: RollbackSpectrumOptions,
436
+ ) {
437
+ const { filterKey, reset = false } = options;
438
+ //return back the spectra data to point of time before applying a specific filter
439
+
440
+ const applyFilter = !filterKey
441
+ ? true
442
+ : [
443
+ phaseCorrection.name,
444
+ phaseCorrectionTwoDimensions.name,
445
+ fft.name,
446
+ shiftX.name,
447
+ shift2DX.name,
448
+ shift2DY.name,
449
+ signalProcessing.name,
450
+ digitalFilter.name,
451
+ digitalFilter2D.name,
452
+ ].includes(filterKey as any);
453
+
454
+ beforeRollback(draft, filterKey);
455
+
456
+ rollbackSpectrumByFilter(draft, {
457
+ searchBy: 'name',
458
+ key: filterKey,
459
+ applyFilter,
460
+ reset,
461
+ });
462
+
463
+ afterRollback(draft, filterKey);
464
+ }
465
+
466
+ function getTwoDimensionFilterOptions(
467
+ draft: Draft<State>,
468
+ ): TwoDimensionPhaseCorrection['traces'] | null {
469
+ const spectrum = getSpectrum(draft);
470
+ const phaseCorrectionFilter = spectrum.filters.find(
471
+ (filter) => filter.name === Tools.phaseCorrectionTwoDimensions.id,
472
+ );
473
+
474
+ if (!isSpectrum2D(spectrum)) {
475
+ return null;
476
+ }
477
+
478
+ const { value } = phaseCorrectionFilter || {};
479
+ let filterOptions = getDefaultTwoDimensionsPhaseCorrectionTraceOptions();
480
+ if (value) {
481
+ filterOptions = value;
482
+ }
483
+
484
+ return filterOptions;
485
+ }
486
+
487
+ function beforeRollback(draft: Draft<State>, filterKey) {
488
+ const activeSpectrum = getActiveSpectrum(draft);
489
+
490
+ switch (filterKey) {
491
+ case phaseCorrection.name: {
492
+ if (activeSpectrum) {
493
+ const spectrum = current(draft).data[activeSpectrum.index];
494
+
495
+ // const phaseCorrectionFilter = spectrum.filters.find(
496
+ // (filter) => filter.name === Filters2D.phaseCorrectionTwoDimensions.id,
497
+ // );
498
+
499
+ if (isSpectrum1D(spectrum)) {
500
+ // const { value: filterOptions } = phaseCorrectionFilter || {};
501
+ let pivotObj = {
502
+ value: 0,
503
+ index: 0,
504
+ };
505
+ // if (typeof filterOptions?.pivot === 'number') {
506
+ // const { pivot } = filterOptions;
507
+ // const index = xFindClosestIndex(spectrum.data.re, pivot);
508
+ // pivotObj = { value: pivot, index };
509
+ // } else {
510
+ // look for the strongest peak to set it as a pivot
511
+ const peak = findStrongestPeak(spectrum.data);
512
+ if (peak) {
513
+ const { xValue, index } = peak;
514
+ pivotObj = { value: xValue, index };
515
+ }
516
+ // }
517
+
518
+ draft.toolOptions.data.pivot = pivotObj;
519
+ }
520
+ }
521
+ break;
522
+ }
523
+
524
+ case phaseCorrectionTwoDimensions.name: {
525
+ if (activeSpectrum) {
526
+ const spectrum = current(draft).data[activeSpectrum.index];
527
+
528
+ const filterOptions = getTwoDimensionFilterOptions(draft);
529
+
530
+ if (!isSpectrum2D(spectrum) || !filterOptions) {
531
+ return;
532
+ }
533
+
534
+ for (const direction in filterOptions) {
535
+ const phaseOptions = draft.toolOptions.data
536
+ .twoDimensionPhaseCorrection.traces[
537
+ direction
538
+ ] as PhaseCorrectionTraceData;
539
+ const { ph0, ph1, pivot, spectra = [] } = filterOptions[direction];
540
+ phaseOptions.ph0 = ph0;
541
+ phaseOptions.ph1 = ph1;
542
+ phaseOptions.scaleRatio = 1;
543
+ phaseOptions.spectra = spectra.map((spectrum) => ({
544
+ ...spectrum,
545
+ id: spectrum?.id || crypto.randomUUID(),
546
+ }));
547
+
548
+ const datum = getProjection(
549
+ (spectrum.data as NmrData2DFt).rr,
550
+ direction === 'horizontal' ? 0 : 1,
551
+ );
552
+
553
+ if (typeof pivot === 'number') {
554
+ const index = xFindClosestIndex(datum.x, pivot, {
555
+ sorted: false,
556
+ });
557
+ phaseOptions.pivot = { index, value: pivot };
558
+ } else {
559
+ const peak = findStrongestPeak(datum);
560
+
561
+ let pivotObj = {
562
+ value: 0,
563
+ index: 0,
564
+ };
565
+ if (peak) {
566
+ const { xValue, index } = peak;
567
+ pivotObj = { value: xValue, index };
568
+ }
569
+
570
+ phaseOptions.pivot = pivotObj;
571
+ }
572
+ }
573
+ }
574
+ break;
575
+ }
576
+ case baselineCorrection.name: {
577
+ if (activeSpectrum) {
578
+ const datum = current(draft).data[activeSpectrum.index];
579
+ const baselineCorrectionFilter = datum.filters.find(
580
+ (filter) => filter.name === Filters1D.baselineCorrection.name,
581
+ );
582
+ if (
583
+ !baselineCorrectionFilter ||
584
+ (baselineCorrectionFilter &&
585
+ baselineCorrectionFilter.value.zones?.length === 0)
586
+ ) {
587
+ draft.toolOptions.data.baselineCorrection.zones =
588
+ getBaselineZonesByDietrich(datum.data as NmrData1D);
589
+ } else {
590
+ draft.toolOptions.data.baselineCorrection.zones =
591
+ baselineCorrectionFilter.value.zones;
592
+ }
593
+ }
594
+ break;
595
+ }
596
+
597
+ default:
598
+ break;
599
+ }
600
+ }
601
+ function afterRollback(draft: Draft<State>, filterKey) {
602
+ switch (filterKey) {
603
+ //specify the filters here
604
+ default:
605
+ break;
606
+ }
607
+ }
608
+ /**
609
+ * getActiveFilterIndex return active filter index. Otherwise, its returns -1
610
+ */
611
+ function getActiveFilterIndex(draft: Draft<State>) {
612
+ const activeSpectrum = getActiveSpectrum(draft);
613
+ const id = draft.toolOptions.data.activeFilterID;
614
+ if (id && activeSpectrum) {
615
+ const spectrum = draft.data[activeSpectrum.index];
616
+ const index = spectrum.filters.findIndex((filter) => filter.id === id);
617
+ return index;
618
+ }
619
+ return -1;
620
+ }
621
+
622
+ function updateView(
623
+ draft: Draft<State>,
624
+ filterUpdateDomainRules: Readonly<FilterDomainUpdateRules>,
625
+ ) {
626
+ draft.tempData = null;
627
+ const { updateXDomain, updateYDomain } = filterUpdateDomainRules;
628
+ resetSelectedTool(draft);
629
+ setDomain(draft, { updateXDomain, updateYDomain });
630
+ setMode(draft);
631
+ changeSpectrumVerticalAlignment(draft, { verticalAlign: 'auto-check' });
632
+ }
633
+
634
+ function disableLivePreview(draft: Draft<State>, id: string) {
635
+ const activeSpectrum = getActiveSpectrum(draft);
636
+
637
+ if (!activeSpectrum || !draft.tempData) {
638
+ return;
639
+ }
640
+
641
+ const index = activeSpectrum.index;
642
+ const { data } = draft.tempData[index];
643
+ draft.data[index].data = data;
644
+ if (baselineCorrection.name !== id) {
645
+ setDomain(draft);
646
+ }
647
+ }
648
+
649
+ function isOneDimensionShift(
650
+ values: ShiftSpectrumOptions,
651
+ ): values is ShiftOneDimension {
652
+ return 'shift' in values;
653
+ }
654
+
655
+ //action
656
+ function handleShiftSpectrumAlongXAxis(
657
+ draft: Draft<State>,
658
+ action: ShiftSpectrumAction,
659
+ ) {
660
+ const activeSpectrum = getActiveSpectrum(draft);
661
+
662
+ if (!activeSpectrum) {
663
+ return;
664
+ }
665
+
666
+ //apply filter into the spectrum
667
+ const options = action.payload;
668
+
669
+ const index = activeSpectrum?.index;
670
+ const datum = draft.data[index];
671
+
672
+ if (isOneDimensionShift(options) && isSpectrum1D(datum)) {
673
+ const { shift } = options;
674
+ rollbackSpectrumByFilter(draft, {
675
+ key: 'shiftX',
676
+ searchBy: 'name',
677
+ applyFilter: false,
678
+ });
679
+ Filters1DManager.applyFilters(datum, [
680
+ { name: 'shiftX', value: { shift } },
681
+ ]);
682
+
683
+ updateView(draft, shiftX.domainUpdateRules);
684
+ }
685
+
686
+ if (!isOneDimensionShift(options) && isSpectrum2D(datum)) {
687
+ const { shiftX, shiftY } = options;
688
+
689
+ if (shiftX) {
690
+ rollbackSpectrumByFilter(draft, {
691
+ key: 'shift2DX',
692
+ searchBy: 'name',
693
+ applyFilter: false,
694
+ });
695
+ Filters2DManager.applyFilters(datum, [
696
+ { name: 'shift2DX', value: { shift: shiftX } },
697
+ ]);
698
+ updateView(draft, shift2DX.domainUpdateRules);
699
+ }
700
+
701
+ if (shiftY) {
702
+ rollbackSpectrumByFilter(draft, {
703
+ key: 'shift2DY',
704
+ searchBy: 'name',
705
+ applyFilter: false,
706
+ });
707
+ Filters2DManager.applyFilters(datum, [
708
+ { name: 'shift2DY', value: { shift: shiftY } },
709
+ ]);
710
+
711
+ updateView(draft, shift2DY.domainUpdateRules);
712
+ }
713
+ }
714
+ }
715
+
716
+ //action
717
+ function handleApplyZeroFillingFilter(
718
+ draft: Draft<State>,
719
+ action: ZeroFillingFilterAction,
720
+ ) {
721
+ const activeSpectrum = getActiveSpectrum(draft);
722
+
723
+ if (!activeSpectrum || !draft.tempData) {
724
+ return;
725
+ }
726
+
727
+ const index = activeSpectrum.index;
728
+ const filters: Filter1DEntry[] = [
729
+ {
730
+ name: 'zeroFilling',
731
+ value: action.payload.options,
732
+ enabled: true,
733
+ },
734
+ ];
735
+ Filters1DManager.applyFilters(draft.tempData[index], filters);
736
+ draft.data[index] = draft.tempData[index];
737
+
738
+ updateView(draft, zeroFilling.domainUpdateRules);
739
+ }
740
+ //action
741
+ function handleApplyZeroFillingDimensionOneFilter(
742
+ draft: Draft<State>,
743
+ action: ZeroFillingDimensionOneFilterAction,
744
+ ) {
745
+ const activeSpectrum = getActiveSpectrum(draft);
746
+
747
+ if (!activeSpectrum || !draft.tempData) {
748
+ return;
749
+ }
750
+
751
+ const index = activeSpectrum.index;
752
+ const filters: Filter2DEntry[] = [
753
+ {
754
+ name: 'zeroFillingDimension1',
755
+ value: action.payload.options,
756
+ enabled: true,
757
+ },
758
+ ];
759
+ Filters2DManager.applyFilters(draft.tempData[index], filters);
760
+ draft.data[index] = draft.tempData[index];
761
+
762
+ updateView(draft, Filters2D.zeroFillingDimension1.domainUpdateRules);
763
+ }
764
+ //action
765
+ function handleApplyZeroFillingDimensionTwoFilter(
766
+ draft: Draft<State>,
767
+ action: ZeroFillingDimensionTwoFilterAction,
768
+ ) {
769
+ const activeSpectrum = getActiveSpectrum(draft);
770
+
771
+ if (!activeSpectrum || !draft.tempData) {
772
+ return;
773
+ }
774
+
775
+ const index = activeSpectrum.index;
776
+ const filters: Filter2DEntry[] = [
777
+ {
778
+ name: 'zeroFillingDimension2',
779
+ value: action.payload.options,
780
+ enabled: true,
781
+ },
782
+ ];
783
+ Filters2DManager.applyFilters(draft.tempData[index], filters);
784
+ draft.data[index] = draft.tempData[index];
785
+
786
+ updateView(draft, Filters2D.zeroFillingDimension2.domainUpdateRules);
787
+ }
788
+
789
+ //action
790
+ function handleCalculateZeroFillingFilter(
791
+ draft: Draft<State>,
792
+ action: ZeroFillingFilterLiveAction,
793
+ ) {
794
+ const activeSpectrum = getActiveSpectrum(draft);
795
+
796
+ if (!activeSpectrum || !draft.tempData) {
797
+ return;
798
+ }
799
+
800
+ const { options, livePreview } = action.payload;
801
+ if (livePreview) {
802
+ const index = activeSpectrum.index;
803
+ const {
804
+ data: { x, re, im },
805
+ filters,
806
+ info,
807
+ } = draft.tempData[index];
808
+
809
+ const _data = { data: { x, re, im }, filters, info } as Spectrum1D;
810
+ zeroFilling.apply(_data, options);
811
+ const { im: newIm, re: newRe, x: newX } = _data.data;
812
+ const datum = draft.data[index];
813
+
814
+ if (!isSpectrum1D(datum)) {
815
+ return;
816
+ }
817
+
818
+ datum.data.x = newX;
819
+ datum.data.im = newIm;
820
+ datum.data.re = newRe;
821
+ draft.xDomain = [newX[0], newX.at(-1) as number];
822
+ } else {
823
+ disableLivePreview(draft, zeroFilling.name);
824
+ }
825
+ }
826
+ //action
827
+ function handleCalculateZeroFillingDimensionOneFilter(
828
+ draft: Draft<State>,
829
+ action: ZeroFillingDimensionOneFilterLiveAction,
830
+ ) {
831
+ const activeSpectrum = getActiveSpectrum(draft);
832
+
833
+ if (!activeSpectrum || !draft.tempData) {
834
+ return;
835
+ }
836
+
837
+ const { options, livePreview } = action.payload;
838
+ if (livePreview) {
839
+ const index = activeSpectrum.index;
840
+ const { data, info, filters } = current(draft).tempData[index];
841
+
842
+ const _data = structuredClone({
843
+ data,
844
+ info,
845
+ filters,
846
+ }) as Spectrum2D;
847
+
848
+ Filters2D.zeroFillingDimension1.apply(_data, options);
849
+
850
+ const datum = draft.data[index];
851
+
852
+ if (!isSpectrum2D(datum)) {
853
+ return;
854
+ }
855
+ datum.data = _data.data;
856
+ const { xDomain, yDomain, xDomains, yDomains } = get2DDomain(
857
+ current(draft),
858
+ );
859
+ draft.xDomain = xDomain;
860
+ draft.yDomain = yDomain;
861
+ draft.xDomains = xDomains;
862
+ draft.yDomains = yDomains;
863
+ } else {
864
+ disableLivePreview(draft, Filters2D.zeroFillingDimension1.name);
865
+ }
866
+ }
867
+ //action
868
+ function handleCalculateZeroFillingDimensionTwoFilter(
869
+ draft: Draft<State>,
870
+ action: ZeroFillingDimensionTwoFilterLiveAction,
871
+ ) {
872
+ const activeSpectrum = getActiveSpectrum(draft);
873
+
874
+ if (!activeSpectrum || !draft.tempData) {
875
+ return;
876
+ }
877
+
878
+ const { options, livePreview } = action.payload;
879
+ if (livePreview) {
880
+ const index = activeSpectrum.index;
881
+ const { data, info, filters } = current(draft).tempData[index];
882
+
883
+ const _data = structuredClone({
884
+ data,
885
+ info,
886
+ filters,
887
+ }) as Spectrum2D;
888
+
889
+ Filters2D.zeroFillingDimension2.apply(_data, options);
890
+
891
+ const datum = draft.data[index];
892
+
893
+ if (!isSpectrum2D(datum)) {
894
+ return;
895
+ }
896
+ datum.data = _data.data;
897
+
898
+ const { xDomain, yDomain, xDomains, yDomains } = get2DDomain(
899
+ current(draft),
900
+ );
901
+
902
+ draft.xDomain = xDomain;
903
+ draft.yDomain = yDomain;
904
+ draft.xDomains = xDomains;
905
+ draft.yDomains = yDomains;
906
+ } else {
907
+ disableLivePreview(draft, Filters2D.zeroFillingDimension2.name);
908
+ }
909
+ }
910
+
911
+ //action
912
+ function handleCalculateApodizationFilter(
913
+ draft: Draft<State>,
914
+ action: ApodizationFilterLiveAction,
915
+ ) {
916
+ const activeSpectrum = getActiveSpectrum(draft);
917
+
918
+ if (!activeSpectrum || !draft.tempData) {
919
+ return;
920
+ }
921
+
922
+ const index = activeSpectrum.index;
923
+ const { livePreview, options } = action.payload;
924
+ if (livePreview) {
925
+ const {
926
+ data: { x, re, im },
927
+ info,
928
+ } = draft.tempData[index];
929
+
930
+ const _data = { data: { x, re, im }, info } as Spectrum1D;
931
+
932
+ apodization.apply(_data, options);
933
+ const { im: newIm, re: newRe } = _data.data;
934
+ const datum = draft.data[index];
935
+
936
+ if (!isSpectrum1D(datum)) {
937
+ return;
938
+ }
939
+ datum.data.im = newIm;
940
+ datum.data.re = newRe;
941
+ } else {
942
+ disableLivePreview(draft, apodization.name);
943
+ }
944
+ }
945
+ //action
946
+ function handleCalculateApodizationDimensionOneFilter(
947
+ draft: Draft<State>,
948
+ action: ApodizationDimensionOneFilterLiveAction,
949
+ ) {
950
+ const activeSpectrum = getActiveSpectrum(draft);
951
+
952
+ if (!activeSpectrum || !draft.tempData) {
953
+ return;
954
+ }
955
+
956
+ const index = activeSpectrum.index;
957
+ const { livePreview, options } = action.payload;
958
+ if (livePreview) {
959
+ const { data, info } = current(draft).tempData[index];
960
+
961
+ const _data = structuredClone({
962
+ data,
963
+ info,
964
+ }) as Spectrum2D;
965
+
966
+ Filters2D.apodizationDimension1.apply(_data, options);
967
+
968
+ const datum = draft.data[index];
969
+
970
+ if (!isSpectrum2D(datum)) {
971
+ return;
972
+ }
973
+ datum.data = _data.data;
974
+ } else {
975
+ disableLivePreview(draft, Filters2D.apodizationDimension1.name);
976
+ }
977
+ }
978
+ //action
979
+ function handleCalculateApodizationDimensionTwoFilter(
980
+ draft: Draft<State>,
981
+ action: ApodizationDimensionTwoFilterLiveAction,
982
+ ) {
983
+ const activeSpectrum = getActiveSpectrum(draft);
984
+
985
+ if (!activeSpectrum || !draft.tempData) {
986
+ return;
987
+ }
988
+
989
+ const index = activeSpectrum.index;
990
+ const { livePreview, options } = action.payload;
991
+ if (livePreview) {
992
+ const { data, info } = current(draft).tempData[index];
993
+
994
+ const _data = structuredClone({
995
+ data,
996
+ info,
997
+ }) as Spectrum2D;
998
+
999
+ Filters2D.apodizationDimension2.apply(_data, options);
1000
+
1001
+ const datum = draft.data[index];
1002
+
1003
+ if (!isSpectrum2D(datum)) {
1004
+ return;
1005
+ }
1006
+ datum.data = _data.data;
1007
+ } else {
1008
+ disableLivePreview(draft, Filters2D.apodizationDimension2.name);
1009
+ }
1010
+ }
1011
+
1012
+ //action
1013
+ function handleApplyApodizationFilter(
1014
+ draft: Draft<State>,
1015
+ action: ApodizationFilterAction,
1016
+ ) {
1017
+ const activeSpectrum = getActiveSpectrum(draft);
1018
+
1019
+ if (!activeSpectrum || !draft.tempData) {
1020
+ return;
1021
+ }
1022
+
1023
+ const index = activeSpectrum.index;
1024
+
1025
+ Filters1DManager.applyFilters(draft.tempData[index], [
1026
+ {
1027
+ name: 'apodization',
1028
+ value: action.payload.options,
1029
+ },
1030
+ ]);
1031
+ draft.data[index] = draft.tempData[index];
1032
+
1033
+ updateView(draft, apodization.domainUpdateRules);
1034
+ }
1035
+ //action
1036
+ function handleApplyApodizationDimensionOneFilter(
1037
+ draft: Draft<State>,
1038
+ action: ApodizationDimensionOneFilterAction,
1039
+ ) {
1040
+ const activeSpectrum = getActiveSpectrum(draft);
1041
+
1042
+ if (!activeSpectrum || !draft.tempData) {
1043
+ return;
1044
+ }
1045
+
1046
+ const index = activeSpectrum.index;
1047
+
1048
+ Filters2DManager.applyFilters(draft.tempData[index], [
1049
+ {
1050
+ name: 'apodizationDimension1',
1051
+ value: action.payload.options,
1052
+ },
1053
+ ]);
1054
+ draft.data[index] = draft.tempData[index];
1055
+
1056
+ updateView(draft, apodization.domainUpdateRules);
1057
+ }
1058
+ //action
1059
+ function handleApplyApodizationDimensionTwoFilter(
1060
+ draft: Draft<State>,
1061
+ action: ApodizationDimensionTwoFilterAction,
1062
+ ) {
1063
+ const activeSpectrum = getActiveSpectrum(draft);
1064
+
1065
+ if (!activeSpectrum || !draft.tempData) {
1066
+ return;
1067
+ }
1068
+
1069
+ const index = activeSpectrum.index;
1070
+
1071
+ Filters2DManager.applyFilters(draft.tempData[index], [
1072
+ {
1073
+ name: 'apodizationDimension2',
1074
+ value: action.payload.options,
1075
+ },
1076
+ ]);
1077
+ draft.data[index] = draft.tempData[index];
1078
+
1079
+ updateView(draft, apodization.domainUpdateRules);
1080
+ }
1081
+
1082
+ //action
1083
+ function handleApplyFFTFilter(draft: Draft<State>) {
1084
+ const activeSpectrum = getActiveSpectrum(draft);
1085
+
1086
+ if (!activeSpectrum) {
1087
+ return;
1088
+ }
1089
+
1090
+ const { index } = activeSpectrum;
1091
+ const activeFilterIndex = getActiveFilterIndex(draft);
1092
+
1093
+ //apply filter into the spectrum
1094
+ Filters1DManager.applyFilters(
1095
+ activeFilterIndex !== -1 ? draft.tempData[index] : draft.data[index],
1096
+ [{ name: 'fft', value: {} }],
1097
+ );
1098
+
1099
+ if (activeFilterIndex !== -1) {
1100
+ draft.data[index] = draft.tempData[index];
1101
+ }
1102
+
1103
+ updateView(draft, fft.domainUpdateRules);
1104
+
1105
+ //clear zoom history
1106
+ draft.zoom.history[draft.view.spectra.activeTab] = [];
1107
+
1108
+ draft.toolOptions.selectedOptionPanel = null;
1109
+ draft.toolOptions.selectedTool = 'zoom';
1110
+ }
1111
+
1112
+ function handleApplyFFtDimension1Filter(draft: Draft<State>) {
1113
+ const activeSpectrum = getActiveSpectrum(draft);
1114
+
1115
+ if (!activeSpectrum) {
1116
+ return;
1117
+ }
1118
+
1119
+ const { index } = activeSpectrum;
1120
+ const activeFilterIndex = getActiveFilterIndex(draft);
1121
+
1122
+ //apply filter into the spectrum
1123
+ Filters2DManager.applyFilters(
1124
+ activeFilterIndex !== -1 ? draft.tempData[index] : draft.data[index],
1125
+ [{ name: 'fftDimension1', value: {} }],
1126
+ );
1127
+
1128
+ if (activeFilterIndex !== -1) {
1129
+ draft.data[index] = draft.tempData[index];
1130
+ }
1131
+
1132
+ updateView(draft, fftDimension1.domainUpdateRules);
1133
+
1134
+ //clear zoom history
1135
+ draft.zoom.history[draft.view.spectra.activeTab] = [];
1136
+
1137
+ draft.toolOptions.selectedOptionPanel = null;
1138
+ draft.toolOptions.selectedTool = 'zoom';
1139
+ }
1140
+
1141
+ function handleApplyFFtDimension2Filter(draft: Draft<State>) {
1142
+ const activeSpectrum = getActiveSpectrum(draft);
1143
+
1144
+ if (!activeSpectrum) {
1145
+ return;
1146
+ }
1147
+
1148
+ const { index } = activeSpectrum;
1149
+ const activeFilterIndex = getActiveFilterIndex(draft);
1150
+
1151
+ //apply filter into the spectrum
1152
+ Filters2DManager.applyFilters(
1153
+ activeFilterIndex !== -1 ? draft.tempData[index] : draft.data[index],
1154
+ [{ name: 'fftDimension2', value: {} }],
1155
+ );
1156
+
1157
+ if (activeFilterIndex !== -1) {
1158
+ draft.data[index] = draft.tempData[index];
1159
+ }
1160
+
1161
+ updateView(draft, fftDimension2.domainUpdateRules);
1162
+
1163
+ //clear zoom history
1164
+ draft.zoom.history[draft.view.spectra.activeTab] = [];
1165
+
1166
+ draft.toolOptions.selectedOptionPanel = null;
1167
+ draft.toolOptions.selectedTool = 'zoom';
1168
+ }
1169
+
1170
+ //action
1171
+ function handleApplyManualPhaseCorrectionFilter(
1172
+ draft: Draft<State>,
1173
+ action: ManualPhaseCorrectionFilterAction,
1174
+ ) {
1175
+ const activeSpectrum = getActiveSpectrum(draft);
1176
+
1177
+ if (!activeSpectrum || !draft.tempData) {
1178
+ return;
1179
+ }
1180
+
1181
+ const { index } = activeSpectrum;
1182
+ const { ph0, ph1 } = action.payload;
1183
+ draft.data = draft.tempData;
1184
+
1185
+ Filters1DManager.applyFilters(draft.tempData[index], [
1186
+ {
1187
+ name: 'phaseCorrection',
1188
+ value: { ph0, ph1 },
1189
+ },
1190
+ ]);
1191
+ draft.data[index] = draft.tempData[index];
1192
+
1193
+ updateView(draft, phaseCorrection.domainUpdateRules);
1194
+ }
1195
+
1196
+ //action
1197
+ function handleAddPhaseCorrectionTrace(
1198
+ draft: Draft<State>,
1199
+ action: AddPhaseCorrectionTraceAction,
1200
+ ) {
1201
+ const activeSpectrum = getActiveSpectrum(draft);
1202
+
1203
+ if (!activeSpectrum) {
1204
+ return;
1205
+ }
1206
+
1207
+ const { x, y } = action.payload;
1208
+
1209
+ const {
1210
+ margin,
1211
+ width,
1212
+ height,
1213
+ xDomain,
1214
+ yDomain,
1215
+ mode,
1216
+ data: spectra,
1217
+ } = draft;
1218
+
1219
+ const { activeTraces, traces, addTracesToBothDirections } =
1220
+ getTwoDimensionPhaseCorrectionOptions(draft);
1221
+
1222
+ const spectrum = spectra[activeSpectrum.index];
1223
+
1224
+ if (isSpectrum2D(spectrum)) {
1225
+ const scale2dX = get2DXScale({ margin, width, xDomain, mode });
1226
+ const scale2dY = get2DYScale({ margin, height, yDomain });
1227
+ const xPPM = scale2dX.invert(x);
1228
+ const yPPM = scale2dY.invert(y);
1229
+ if (addTracesToBothDirections) {
1230
+ for (const direction of Object.keys(traces)) {
1231
+ traces[direction].spectra.push({
1232
+ id: crypto.randomUUID(),
1233
+ x: xPPM,
1234
+ y: yPPM,
1235
+ });
1236
+ }
1237
+ } else {
1238
+ activeTraces.spectra.push({
1239
+ id: crypto.randomUUID(),
1240
+ x: xPPM,
1241
+ y: yPPM,
1242
+ });
1243
+ }
1244
+ }
1245
+ }
1246
+ //action
1247
+ function handleToggleAddTracesToBothDirections(draft: Draft<State>) {
1248
+ const options = draft.toolOptions.data.twoDimensionPhaseCorrection;
1249
+ options.addTracesToBothDirections = !options.addTracesToBothDirections;
1250
+ }
1251
+
1252
+ //action
1253
+ function handleChangePhaseCorrectionDirection(
1254
+ draft: Draft<State>,
1255
+ action: ChangePhaseCorrectionDirectionAction,
1256
+ ) {
1257
+ const { direction } = action.payload;
1258
+ const {
1259
+ data: { twoDimensionPhaseCorrection },
1260
+ } = draft.toolOptions;
1261
+
1262
+ twoDimensionPhaseCorrection.activeTraceDirection = direction;
1263
+ }
1264
+
1265
+ //action
1266
+ function handleDeletePhaseCorrectionTrace(
1267
+ draft: Draft<State>,
1268
+ action: DeletePhaseCorrectionTrace,
1269
+ ) {
1270
+ const {
1271
+ toolOptions: {
1272
+ data: {
1273
+ twoDimensionPhaseCorrection: { traces, activeTraceDirection },
1274
+ },
1275
+ },
1276
+ } = draft;
1277
+
1278
+ const { id } = action.payload;
1279
+ const traceDirection = traces[activeTraceDirection];
1280
+
1281
+ traceDirection.spectra = traceDirection.spectra.filter(
1282
+ (trace) => trace.id !== id,
1283
+ );
1284
+ }
1285
+
1286
+ //action
1287
+ function handleCalculateManualPhaseCorrection(
1288
+ draft: Draft<State>,
1289
+ action: ManualPhaseCorrectionFilterAction,
1290
+ ) {
1291
+ const activeSpectrum = getActiveSpectrum(draft);
1292
+
1293
+ if (!activeSpectrum || !draft.tempData) {
1294
+ return;
1295
+ }
1296
+
1297
+ const { index } = activeSpectrum;
1298
+
1299
+ const {
1300
+ data: { x, re, im },
1301
+ info,
1302
+ } = draft.tempData[index];
1303
+
1304
+ const { ph0, ph1 } = action.payload;
1305
+ const _data = { data: { x, re, im }, info } as Spectrum1D;
1306
+ phaseCorrection.apply(_data, { ph0, ph1 });
1307
+ const { im: newIm, re: newRe } = _data.data;
1308
+ const datum = draft.data[index];
1309
+
1310
+ if (!isSpectrum1D(datum)) {
1311
+ return;
1312
+ }
1313
+
1314
+ datum.data.im = newIm;
1315
+ datum.data.re = newRe;
1316
+ }
1317
+
1318
+ //action
1319
+ function handleApplyAbsoluteFilter(draft: Draft<State>) {
1320
+ const activeSpectrum = getActiveSpectrum(draft);
1321
+
1322
+ if (!activeSpectrum || !draft.tempData) {
1323
+ return;
1324
+ }
1325
+
1326
+ const { index } = activeSpectrum;
1327
+
1328
+ Filters1DManager.applyFilters(draft.tempData[index], [
1329
+ {
1330
+ name: 'phaseCorrection',
1331
+ value: { absolute: true },
1332
+ },
1333
+ ]);
1334
+ draft.data[index] = draft.tempData[index];
1335
+
1336
+ updateView(draft, phaseCorrection.domainUpdateRules);
1337
+ }
1338
+
1339
+ //action
1340
+ function handleApplyAutoPhaseCorrectionFilter(draft: Draft<State>) {
1341
+ const activeSpectrum = getActiveSpectrum(draft);
1342
+
1343
+ if (!activeSpectrum || !draft.tempData) {
1344
+ return;
1345
+ }
1346
+
1347
+ const { index } = activeSpectrum;
1348
+
1349
+ Filters1DManager.applyFilters(draft.tempData[index], [
1350
+ {
1351
+ name: 'phaseCorrection',
1352
+ value: {},
1353
+ },
1354
+ ]);
1355
+
1356
+ draft.data[index] = draft.tempData[index];
1357
+
1358
+ updateView(draft, phaseCorrection.domainUpdateRules);
1359
+ }
1360
+
1361
+ //action
1362
+ function handleBaseLineCorrectionFilter(
1363
+ draft: Draft<State>,
1364
+ action: BaselineCorrectionFilterAction,
1365
+ ) {
1366
+ const activeSpectrum = getActiveSpectrum(draft);
1367
+
1368
+ if (!activeSpectrum || !draft.tempData) {
1369
+ return;
1370
+ }
1371
+
1372
+ const { index } = activeSpectrum;
1373
+ const { zones } = draft.toolOptions.data.baselineCorrection;
1374
+ const { options } = action.payload;
1375
+ Filters1DManager.applyFilters(draft.tempData[index], [
1376
+ {
1377
+ name: 'baselineCorrection',
1378
+ value: {
1379
+ ...options,
1380
+ zones,
1381
+ },
1382
+ } as Extract<Filter1D, { name: 'baseLineCorrection' }>,
1383
+ ]);
1384
+ draft.data[index] = draft.tempData[index];
1385
+
1386
+ updateView(draft, baselineCorrection.domainUpdateRules);
1387
+ }
1388
+
1389
+ function calculateBaseLineCorrection(
1390
+ draft: Draft<State>,
1391
+ baseLineOptions?: BaselineCorrectionFilterProps,
1392
+ ) {
1393
+ const activeSpectrum = getActiveSpectrum(draft);
1394
+
1395
+ if (!activeSpectrum || !draft.tempData) {
1396
+ return;
1397
+ }
1398
+
1399
+ const { index } = activeSpectrum;
1400
+ const {
1401
+ data: { x, re, im },
1402
+ info,
1403
+ } = draft.tempData[index];
1404
+ // save the baseline options temporary
1405
+ draft.toolOptions.data.baselineCorrection = {
1406
+ ...draft.toolOptions.data.baselineCorrection,
1407
+ ...(baseLineOptions && baseLineOptions),
1408
+ };
1409
+ const { zones, options, livePreview } =
1410
+ current(draft).toolOptions.data.baselineCorrection;
1411
+ if (livePreview) {
1412
+ const _data = { data: { x, re, im }, info } as Spectrum1D;
1413
+ baselineCorrection.apply(_data, {
1414
+ zones,
1415
+ ...options,
1416
+ });
1417
+ const { im: newIm, re: newRe } = _data.data;
1418
+ const datum = draft.data[index];
1419
+
1420
+ if (!isSpectrum1D(datum)) {
1421
+ return;
1422
+ }
1423
+
1424
+ datum.data.im = newIm;
1425
+ datum.data.re = newRe;
1426
+ } else {
1427
+ disableLivePreview(draft, baselineCorrection.name);
1428
+ }
1429
+ }
1430
+ //action
1431
+ function handleCalculateBaseLineCorrection(
1432
+ draft: Draft<State>,
1433
+ action: BaselineCorrectionFilterLiveAction,
1434
+ ) {
1435
+ calculateBaseLineCorrection(draft, action.payload);
1436
+ }
1437
+
1438
+ //action
1439
+ function handleEnableFilter(draft: Draft<State>, action: EnableFilterAction) {
1440
+ const activeSpectrum = getActiveSpectrum(draft);
1441
+
1442
+ if (!activeSpectrum) {
1443
+ return;
1444
+ }
1445
+
1446
+ const { id, enabled } = action.payload;
1447
+ const datum = draft.data[activeSpectrum.index];
1448
+
1449
+ //apply filter into the spectrum
1450
+ if (isSpectrum1D(datum)) {
1451
+ Filters1DManager.enableFilter(datum, { id, enabled });
1452
+ }
1453
+ if (isSpectrum2D(datum)) {
1454
+ Filters2DManager.enableFilter(datum, { id, enabled });
1455
+ }
1456
+
1457
+ resetSelectedTool(draft);
1458
+ setDomain(draft);
1459
+ setMode(draft);
1460
+
1461
+ const zoomHistory = zoomHistoryManager(
1462
+ draft.zoom.history,
1463
+ draft.view.spectra.activeTab,
1464
+ );
1465
+ const zoomValue = zoomHistory.getLast();
1466
+
1467
+ if (zoomValue) {
1468
+ draft.xDomain = zoomValue.xDomain;
1469
+ draft.yDomain = zoomValue.yDomain;
1470
+ }
1471
+ }
1472
+
1473
+ function deleteFilter(datum: Spectrum, id?: string) {
1474
+ const filters = datum.filters.slice(0);
1475
+
1476
+ let removedFilter;
1477
+ if (!id) {
1478
+ datum.filters = filters.filter((filter) =>
1479
+ nonRemovableFilters.has(filter.name),
1480
+ ) as typeof filters;
1481
+ } else {
1482
+ removedFilter = datum.filters.find((filter) => filter.id === id);
1483
+ datum.filters = filters.filter(
1484
+ (filter) => filter.id !== id,
1485
+ ) as typeof filters;
1486
+ }
1487
+
1488
+ // do not reprocess the filters when the deleted filter is inactive
1489
+ if (removedFilter && !removedFilter.enabled) return;
1490
+
1491
+ if (isSpectrum1D(datum)) {
1492
+ Filters1DManager.reapplyFilters(datum);
1493
+ } else {
1494
+ Filters2DManager.reapplyFilters(datum);
1495
+ }
1496
+ }
1497
+
1498
+ //action
1499
+ function handleDeleteFilter(draft: Draft<State>, action: DeleteFilterAction) {
1500
+ const activeSpectrum = getActiveSpectrum(draft);
1501
+
1502
+ if (!activeSpectrum) {
1503
+ return;
1504
+ }
1505
+
1506
+ const filterID = action?.payload?.id;
1507
+ const datum = draft.data[activeSpectrum.index];
1508
+ deleteFilter(datum, filterID);
1509
+
1510
+ draft.toolOptions.data.activeFilterID = null;
1511
+ resetSelectedTool(draft);
1512
+ setDomain(draft);
1513
+ setMode(draft);
1514
+ }
1515
+
1516
+ //action
1517
+ function handleDeleteSpectraFilter(
1518
+ draft: Draft<State>,
1519
+ action: DeleteSpectraFilterAction,
1520
+ ) {
1521
+ const filterName = action.payload.filterName;
1522
+
1523
+ if (draft.view.spectra.activeTab) {
1524
+ for (const datum of draft.data) {
1525
+ if (
1526
+ nucleusToString(datum?.info?.nucleus) === draft.view.spectra.activeTab
1527
+ ) {
1528
+ const filtersResult =
1529
+ datum.filters?.filter((filter) => filter.name === filterName) || [];
1530
+
1531
+ for (const filter of filtersResult) {
1532
+ if (isSpectrum1D(datum)) {
1533
+ Filters1DManager.deleteFilter(datum, filter.id);
1534
+ }
1535
+
1536
+ if (isSpectrum2D(datum)) {
1537
+ Filters2DManager.deleteFilter(datum, filter.id);
1538
+ }
1539
+ }
1540
+ }
1541
+ }
1542
+
1543
+ resetSelectedTool(draft);
1544
+ setDomain(draft, { domainSpectraScope: 'all' });
1545
+ setMode(draft);
1546
+ }
1547
+ }
1548
+
1549
+ //action
1550
+ function handleSetFilterSnapshotHandler(
1551
+ draft: Draft<State>,
1552
+ action: SetFilterSnapshotAction,
1553
+ ) {
1554
+ const { name: filterKey, id } = action.payload;
1555
+
1556
+ const reset = draft.toolOptions.data.activeFilterID === id;
1557
+ if (Tools?.[filterKey]?.isFilter) {
1558
+ activateTool(draft, { toolId: filterKey as Tool, reset });
1559
+ } else {
1560
+ draft.toolOptions.selectedOptionPanel = null;
1561
+ draft.toolOptions.selectedTool = 'zoom';
1562
+
1563
+ rollbackSpectrum(draft, { filterKey, reset });
1564
+ }
1565
+ }
1566
+
1567
+ //action
1568
+ function handleSignalProcessingFilter(
1569
+ draft: Draft<State>,
1570
+ action: ApplySignalProcessingAction,
1571
+ ) {
1572
+ const { data, view } = draft;
1573
+ const nucleus = view.spectra.activeTab;
1574
+ const value = action.payload.options;
1575
+ if (!value.range) {
1576
+ return;
1577
+ }
1578
+
1579
+ const spectra = getSpectraByNucleus(nucleus, data);
1580
+ for (const spectrum of spectra) {
1581
+ Filters1DManager.applyFilters(
1582
+ spectrum as Spectrum1D,
1583
+ [
1584
+ {
1585
+ name: 'signalProcessing',
1586
+ value: value as Required<MatrixOptions>,
1587
+ },
1588
+ ],
1589
+ { forceReapply: true },
1590
+ );
1591
+ }
1592
+ const { updateXDomain, updateYDomain } = signalProcessing.domainUpdateRules;
1593
+
1594
+ setDomain(draft, { updateXDomain, updateYDomain, domainSpectraScope: 'all' });
1595
+ }
1596
+
1597
+ //action
1598
+ function handleApplyExclusionZone(
1599
+ draft: Draft<State>,
1600
+ action: ExclusionZoneFilterAction,
1601
+ ) {
1602
+ const { zones } = action.payload;
1603
+
1604
+ const activeSpectrum = getActiveSpectrum(draft);
1605
+
1606
+ if (!activeSpectrum) {
1607
+ return;
1608
+ }
1609
+ const datum = draft.data[activeSpectrum.index];
1610
+
1611
+ if (!isSpectrum1D(datum)) {
1612
+ return;
1613
+ }
1614
+
1615
+ Filters1DManager.applyFilters(datum, [
1616
+ {
1617
+ name: 'exclusionZones',
1618
+ value: zones,
1619
+ },
1620
+ ]);
1621
+
1622
+ const { updateXDomain, updateYDomain } = exclusionZones.domainUpdateRules;
1623
+
1624
+ setDomain(draft, { updateXDomain, updateYDomain });
1625
+ }
1626
+ //action
1627
+ function handleAddExclusionZone(
1628
+ draft: Draft<State>,
1629
+ action: AddExclusionZoneAction,
1630
+ ) {
1631
+ const { startX, endX } = action.payload;
1632
+ const range = getRange(draft, { startX, endX });
1633
+
1634
+ let spectra: Spectrum1D[];
1635
+
1636
+ const activeSpectrum = getActiveSpectrum(draft);
1637
+ if (activeSpectrum?.id) {
1638
+ const index = activeSpectrum?.index;
1639
+ spectra = [draft.data[index]] as Spectrum1D[];
1640
+ } else {
1641
+ spectra = getSpectraByNucleus(
1642
+ draft.view.spectra.activeTab,
1643
+ draft.data,
1644
+ ) as Spectrum1D[];
1645
+ }
1646
+
1647
+ for (const spectrum of spectra) {
1648
+ Filters1DManager.applyFilters(spectrum, [
1649
+ {
1650
+ name: 'exclusionZones',
1651
+ value: [
1652
+ {
1653
+ id: crypto.randomUUID(),
1654
+ from: range[0],
1655
+ to: range[1],
1656
+ },
1657
+ ],
1658
+ },
1659
+ ]);
1660
+ }
1661
+
1662
+ const { updateXDomain, updateYDomain } = exclusionZones.domainUpdateRules;
1663
+
1664
+ setDomain(draft, { updateXDomain, updateYDomain });
1665
+ }
1666
+
1667
+ //action
1668
+ function handleDeleteExclusionZone(
1669
+ draft: Draft<State>,
1670
+ action: DeleteExclusionZoneAction,
1671
+ ) {
1672
+ const { zone, spectrumId } = action.payload;
1673
+
1674
+ // if spectrum id exists, remove the selected exclusion zone in the spectrum
1675
+ if (spectrumId) {
1676
+ const spectrumIndex = draft.data.findIndex(
1677
+ (spectrum) => spectrum.id === spectrumId,
1678
+ );
1679
+ const spectrum = draft.data[spectrumIndex];
1680
+ const filter = spectrum.filters.find(
1681
+ (_filter) => _filter.name === 'exclusionZones',
1682
+ );
1683
+ if (filter && isSpectrum1D(spectrum)) {
1684
+ if (filter.value.length === 1) {
1685
+ Filters1DManager.deleteFilter(spectrum, filter.id);
1686
+ } else {
1687
+ filter.value = filter.value.filter((_zone) => _zone.id !== zone?.id);
1688
+ Filters1DManager.reapplyFilters(spectrum);
1689
+ }
1690
+ }
1691
+ } else {
1692
+ // remove all exclusion zones that have the same range in all spectra
1693
+ const data = getSpectraByNucleus(draft.view.spectra.activeTab, draft.data);
1694
+ for (const datum of data) {
1695
+ for (const filter of datum.filters) {
1696
+ if (filter.name === 'exclusionZones' && isSpectrum1D(datum)) {
1697
+ filter.value = filter.value.filter(
1698
+ (_zone) => zone.from !== _zone.from && zone.to !== _zone.to,
1699
+ );
1700
+ Filters1DManager.reapplyFilters(datum);
1701
+ }
1702
+ }
1703
+ }
1704
+ }
1705
+ }
1706
+
1707
+ function handleSetOneDimensionPhaseCorrectionPivotPoint(
1708
+ draft: Draft<State>,
1709
+ action: SetOneDimensionPhaseCorrectionPivotPoint,
1710
+ ) {
1711
+ const { value: xValue } = action.payload;
1712
+ const activeSpectrum = getActiveSpectrum(draft);
1713
+
1714
+ if (!activeSpectrum) {
1715
+ return;
1716
+ }
1717
+ const datum = draft.data[activeSpectrum.index];
1718
+
1719
+ if (!isSpectrum1D(datum)) {
1720
+ return;
1721
+ }
1722
+
1723
+ const scaleX = getXScale(draft);
1724
+ const value = scaleX.invert(xValue);
1725
+ const index = xFindClosestIndex(datum.data.x, value);
1726
+ draft.toolOptions.data.pivot = { value, index };
1727
+ }
1728
+ function handleSetTwoDimensionPhaseCorrectionPivotPoint(
1729
+ draft: Draft<State>,
1730
+ action: SetTwoDimensionPhaseCorrectionPivotPoint,
1731
+ ) {
1732
+ const activeSpectrum = getActiveSpectrum(draft);
1733
+
1734
+ if (!activeSpectrum) {
1735
+ return;
1736
+ }
1737
+
1738
+ const {
1739
+ data: spectra,
1740
+ margin,
1741
+ width,
1742
+ height,
1743
+ yDomain,
1744
+ xDomain,
1745
+ mode,
1746
+ } = draft;
1747
+
1748
+ const { x, y } = action.payload;
1749
+ const { activeTraces, activeTraceDirection } =
1750
+ getTwoDimensionPhaseCorrectionOptions(draft);
1751
+
1752
+ switch (activeTraceDirection) {
1753
+ case 'horizontal':
1754
+ {
1755
+ const scale = get2DXScale({ margin, width, xDomain, mode });
1756
+ const pivotValue = scale.invert(x);
1757
+ const spectrum = spectra[activeSpectrum.index];
1758
+ const datum = getProjection((spectrum.data as NmrData2DFt).rr, 0);
1759
+ const index = xFindClosestIndex(datum.x, pivotValue);
1760
+ activeTraces.pivot = { value: pivotValue, index };
1761
+ }
1762
+ break;
1763
+ case 'vertical':
1764
+ {
1765
+ const scale = get2DYScale({ margin, height, yDomain });
1766
+ const pivotValue = scale.invert(y);
1767
+ const spectrum = spectra[activeSpectrum.index];
1768
+ const datum = getProjection((spectrum.data as NmrData2DFt).rr, 1);
1769
+ const index = xFindClosestIndex(datum.x, pivotValue);
1770
+ activeTraces.pivot = { value: pivotValue, index };
1771
+ }
1772
+ break;
1773
+
1774
+ default:
1775
+ break;
1776
+ }
1777
+ }
1778
+
1779
+ //action
1780
+ function handleCalculateManualTwoDimensionPhaseCorrection(
1781
+ draft: Draft<State>,
1782
+ action: ManualTwoDimensionsPhaseCorrectionFilterAction,
1783
+ ) {
1784
+ const activeSpectrum = getActiveSpectrum(draft);
1785
+ const { activeTraces } = getTwoDimensionPhaseCorrectionOptions(draft);
1786
+ const { ph0, ph1, applyOn2D = false } = action.payload;
1787
+ activeTraces.ph0 = ph0;
1788
+ activeTraces.ph1 = ph1;
1789
+
1790
+ if (!applyOn2D || !activeSpectrum) {
1791
+ return;
1792
+ }
1793
+
1794
+ const { index } = activeSpectrum;
1795
+ const spectrum = draft.tempData[index];
1796
+ const datum = draft.data[index];
1797
+
1798
+ if (!isSpectrum2D(datum) || !spectrum) {
1799
+ return;
1800
+ }
1801
+
1802
+ const filterOptions = getTwoDimensionsPhaseCorrectionOptions(draft);
1803
+
1804
+ phaseCorrectionTwoDimensions.apply(datum, filterOptions);
1805
+ }
1806
+
1807
+ function getTwoDimensionsPhaseCorrectionOptions(draft: Draft<State>) {
1808
+ const filterOptions =
1809
+ draft.toolOptions.data.twoDimensionPhaseCorrection.traces;
1810
+
1811
+ const result = {};
1812
+ for (const direction in filterOptions) {
1813
+ const { ph0, ph1, pivot, spectra } = filterOptions[
1814
+ direction
1815
+ ] as PhaseCorrectionTraceData;
1816
+ result[direction] = {
1817
+ ph0,
1818
+ ph1,
1819
+ pivot: pivot?.value,
1820
+ spectra: spectra.map(({ x, y }) => ({
1821
+ x,
1822
+ y,
1823
+ })),
1824
+ };
1825
+ }
1826
+ return result;
1827
+ }
1828
+
1829
+ //action
1830
+ function handleApplyManualTowDimensionsPhaseCorrectionFilter(
1831
+ draft: Draft<State>,
1832
+ ) {
1833
+ const activeSpectrum = getActiveSpectrum(draft);
1834
+
1835
+ if (!activeSpectrum || !draft.tempData) {
1836
+ return;
1837
+ }
1838
+
1839
+ const { index } = activeSpectrum;
1840
+ draft.data = draft.tempData;
1841
+ const filterOptions = getTwoDimensionsPhaseCorrectionOptions(draft);
1842
+
1843
+ Filters2DManager.applyFilters(draft.tempData[index], [
1844
+ {
1845
+ name: 'phaseCorrectionTwoDimensions',
1846
+ value: filterOptions,
1847
+ },
1848
+ ]);
1849
+ draft.data[index] = draft.tempData[index];
1850
+
1851
+ updateView(draft, phaseCorrectionTwoDimensions.domainUpdateRules);
1852
+ }
1853
+
1854
+ //action
1855
+ function handleApplyAutoPhaseCorrectionTwoDimensionsFilter(
1856
+ draft: Draft<State>,
1857
+ ) {
1858
+ const activeSpectrum = getActiveSpectrum(draft);
1859
+
1860
+ if (!activeSpectrum || !draft.tempData) {
1861
+ return;
1862
+ }
1863
+
1864
+ const { index } = activeSpectrum;
1865
+
1866
+ Filters2DManager.applyFilters(draft.tempData[index], [
1867
+ {
1868
+ name: 'phaseCorrectionTwoDimensions',
1869
+ value: {},
1870
+ },
1871
+ ]);
1872
+
1873
+ draft.data[index] = draft.tempData[index];
1874
+
1875
+ updateView(draft, phaseCorrectionTwoDimensions.domainUpdateRules);
1876
+ }
1877
+
1878
+ export {
1879
+ handleShiftSpectrumAlongXAxis,
1880
+ handleApplyZeroFillingFilter,
1881
+ handleApplyZeroFillingDimensionOneFilter,
1882
+ handleApplyZeroFillingDimensionTwoFilter,
1883
+ handleApplyApodizationFilter,
1884
+ handleApplyApodizationDimensionOneFilter,
1885
+ handleApplyApodizationDimensionTwoFilter,
1886
+ handleApplyFFTFilter,
1887
+ handleApplyFFtDimension1Filter,
1888
+ handleApplyFFtDimension2Filter,
1889
+ handleApplyManualPhaseCorrectionFilter,
1890
+ handleApplyManualTowDimensionsPhaseCorrectionFilter,
1891
+ handleApplyAutoPhaseCorrectionFilter,
1892
+ handleApplyAbsoluteFilter,
1893
+ handleCalculateManualPhaseCorrection,
1894
+ calculateBaseLineCorrection,
1895
+ handleCalculateBaseLineCorrection,
1896
+ handleCalculateApodizationFilter,
1897
+ handleCalculateApodizationDimensionOneFilter,
1898
+ handleCalculateApodizationDimensionTwoFilter,
1899
+ handleCalculateZeroFillingFilter,
1900
+ handleCalculateZeroFillingDimensionOneFilter,
1901
+ handleCalculateZeroFillingDimensionTwoFilter,
1902
+ handleEnableFilter,
1903
+ handleDeleteFilter,
1904
+ handleDeleteSpectraFilter,
1905
+ handleBaseLineCorrectionFilter,
1906
+ handleSetFilterSnapshotHandler,
1907
+ handleAddExclusionZone,
1908
+ handleDeleteExclusionZone,
1909
+ handleSignalProcessingFilter,
1910
+ rollbackSpectrum,
1911
+ rollbackSpectrumByFilter,
1912
+ handleAddPhaseCorrectionTrace,
1913
+ handleChangePhaseCorrectionDirection,
1914
+ handleDeletePhaseCorrectionTrace,
1915
+ handleSetOneDimensionPhaseCorrectionPivotPoint,
1916
+ handleSetTwoDimensionPhaseCorrectionPivotPoint,
1917
+ handleCalculateManualTwoDimensionPhaseCorrection,
1918
+ handleToggleAddTracesToBothDirections,
1919
+ handleApplyAutoPhaseCorrectionTwoDimensionsFilter,
1920
+ handleApplyExclusionZone,
1921
+ };