nmrium 0.60.1-pre.1741337420 → 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 (968) hide show
  1. package/lib/component/1d/ApodizationLine.d.ts.map +1 -1
  2. package/lib/component/1d/ApodizationLine.js +3 -1
  3. package/lib/component/1d/ApodizationLine.js.map +1 -1
  4. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  5. package/lib/component/1d/BrushTracker1D.js +5 -8
  6. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  7. package/lib/component/1d/SVGContent1D.js +1 -1
  8. package/lib/component/1d/SVGContent1D.js.map +1 -1
  9. package/lib/component/1d/inset/InsetProvider.d.ts +0 -1
  10. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  11. package/lib/component/1d/inset/InsetProvider.js +0 -3
  12. package/lib/component/1d/inset/InsetProvider.js.map +1 -1
  13. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts.map +1 -1
  14. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js +11 -3
  15. package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js.map +1 -1
  16. package/lib/component/1d/matrix/Boxplot.d.ts +0 -5
  17. package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
  18. package/lib/component/1d/matrix/Boxplot.js +1 -1
  19. package/lib/component/1d/matrix/Boxplot.js.map +1 -1
  20. package/lib/component/1d/matrix/Stocsy.d.ts +0 -4
  21. package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
  22. package/lib/component/1d/matrix/Stocsy.js +2 -2
  23. package/lib/component/1d/matrix/Stocsy.js.map +1 -1
  24. package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts.map +1 -1
  25. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +45 -30
  26. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  27. package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts +2 -1
  28. package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts.map +1 -1
  29. package/lib/component/1d/peaks/PeakAnnotations.d.ts +1 -9
  30. package/lib/component/1d/peaks/PeakAnnotations.d.ts.map +1 -1
  31. package/lib/component/1d/peaks/PeakAnnotations.js +1 -1
  32. package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
  33. package/lib/component/1d/peaks/Peaks.d.ts +1 -2
  34. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
  35. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  36. package/lib/component/1d/ranges/Range.d.ts +0 -1
  37. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  38. package/lib/component/1d/ranges/Range.js +11 -15
  39. package/lib/component/1d/ranges/Range.js.map +1 -1
  40. package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
  41. package/lib/component/1d/ranges/Ranges.js +4 -5
  42. package/lib/component/1d/ranges/Ranges.js.map +1 -1
  43. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
  44. package/lib/component/1d/tool/BaseLine.js +5 -3
  45. package/lib/component/1d/tool/BaseLine.js.map +1 -1
  46. package/lib/component/1d/tool/PivotIndicator1D.js +5 -3
  47. package/lib/component/1d/tool/PivotIndicator1D.js.map +1 -1
  48. package/lib/component/1d/utilities/scale.d.ts +1 -7
  49. package/lib/component/1d/utilities/scale.d.ts.map +1 -1
  50. package/lib/component/1d/utilities/scale.js +2 -39
  51. package/lib/component/1d/utilities/scale.js.map +1 -1
  52. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.d.ts +6 -8
  53. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.d.ts.map +1 -1
  54. package/lib/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.js.map +1 -1
  55. package/lib/component/2d/SVGContent2D.d.ts +0 -1
  56. package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
  57. package/lib/component/2d/SVGContent2D.js +0 -5
  58. package/lib/component/2d/SVGContent2D.js.map +1 -1
  59. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
  60. package/lib/component/2d/tools/PivotIndicator.js +9 -7
  61. package/lib/component/2d/tools/PivotIndicator.js.map +1 -1
  62. package/lib/component/2d/utilities/scale.d.ts +1 -19
  63. package/lib/component/2d/utilities/scale.d.ts.map +1 -1
  64. package/lib/component/2d/utilities/scale.js +1 -19
  65. package/lib/component/2d/utilities/scale.js.map +1 -1
  66. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts +0 -6
  67. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  68. package/lib/component/2d/zones/ZonesAssignmentsLabels.js +1 -1
  69. package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
  70. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -2
  71. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  72. package/lib/component/EventsTrackers/BrushTracker.js +1 -1
  73. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  74. package/lib/component/EventsTrackers/MouseTracker.d.ts +0 -1
  75. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  76. package/lib/component/EventsTrackers/MouseTracker.js +1 -1
  77. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  78. package/lib/component/assignment/AssignmentsContext.d.ts +3 -4
  79. package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
  80. package/lib/component/assignment/AssignmentsContext.js +0 -1
  81. package/lib/component/assignment/AssignmentsContext.js.map +1 -1
  82. package/lib/component/context/ChartContext.d.ts +0 -1
  83. package/lib/component/context/ChartContext.d.ts.map +1 -1
  84. package/lib/component/context/ChartContext.js +1 -1
  85. package/lib/component/context/ChartContext.js.map +1 -1
  86. package/lib/component/context/DispatchContext.d.ts +2 -2
  87. package/lib/component/context/DispatchContext.d.ts.map +1 -1
  88. package/lib/component/context/DispatchContext.js +1 -1
  89. package/lib/component/context/DispatchContext.js.map +1 -1
  90. package/lib/component/context/GlobalContext.d.ts +0 -5
  91. package/lib/component/context/GlobalContext.d.ts.map +1 -1
  92. package/lib/component/context/GlobalContext.js +1 -1
  93. package/lib/component/context/GlobalContext.js.map +1 -1
  94. package/lib/component/context/KeyModifierContext.d.ts +0 -2
  95. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  96. package/lib/component/context/KeyModifierContext.js +2 -2
  97. package/lib/component/context/KeyModifierContext.js.map +1 -1
  98. package/lib/component/context/LoggerContext.d.ts +0 -6
  99. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  100. package/lib/component/context/LoggerContext.js +1 -1
  101. package/lib/component/context/LoggerContext.js.map +1 -1
  102. package/lib/component/context/PreferencesContext.d.ts +2 -2
  103. package/lib/component/context/PreferencesContext.d.ts.map +1 -1
  104. package/lib/component/context/PreferencesContext.js +1 -1
  105. package/lib/component/context/PreferencesContext.js.map +1 -1
  106. package/lib/component/context/ScaleContext.d.ts +0 -1
  107. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  108. package/lib/component/context/ScaleContext.js +1 -1
  109. package/lib/component/context/ScaleContext.js.map +1 -1
  110. package/lib/component/elements/Button.d.ts +2 -2
  111. package/lib/component/elements/Button.d.ts.map +1 -1
  112. package/lib/component/elements/Button.js.map +1 -1
  113. package/lib/component/elements/ContextMenuBluePrint.d.ts +2 -2
  114. package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -1
  115. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  116. package/lib/component/elements/FormatField.d.ts +0 -2
  117. package/lib/component/elements/FormatField.d.ts.map +1 -1
  118. package/lib/component/elements/FormatField.js +1 -1
  119. package/lib/component/elements/FormatField.js.map +1 -1
  120. package/lib/component/elements/Input.d.ts +1 -1
  121. package/lib/component/elements/Input.d.ts.map +1 -1
  122. package/lib/component/elements/Input2Controller.d.ts +1 -1
  123. package/lib/component/elements/Input2Controller.d.ts.map +1 -1
  124. package/lib/component/elements/Label.d.ts +0 -1
  125. package/lib/component/elements/Label.d.ts.map +1 -1
  126. package/lib/component/elements/Label.js +1 -1
  127. package/lib/component/elements/Label.js.map +1 -1
  128. package/lib/component/elements/ReactTable/ReactTable.d.ts +1 -1
  129. package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
  130. package/lib/component/elements/Sections.d.ts +3 -9
  131. package/lib/component/elements/Sections.d.ts.map +1 -1
  132. package/lib/component/elements/Sections.js +26 -18
  133. package/lib/component/elements/Sections.js.map +1 -1
  134. package/lib/component/elements/Select.d.ts +1 -1
  135. package/lib/component/elements/Select.d.ts.map +1 -1
  136. package/lib/component/elements/Select2.d.ts +0 -1
  137. package/lib/component/elements/Select2.d.ts.map +1 -1
  138. package/lib/component/elements/Select2.js +1 -1
  139. package/lib/component/elements/Select2.js.map +1 -1
  140. package/lib/component/elements/Tab/Tab.d.ts +3 -2
  141. package/lib/component/elements/Tab/Tab.d.ts.map +1 -1
  142. package/lib/component/elements/Tab/Tabs.d.ts +1 -1
  143. package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
  144. package/lib/component/elements/Tab/Tabs.js +1 -1
  145. package/lib/component/elements/Tab/Tabs.js.map +1 -1
  146. package/lib/component/elements/export/ExportContent.d.ts +0 -4
  147. package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
  148. package/lib/component/elements/export/ExportContent.js +1 -1
  149. package/lib/component/elements/export/ExportContent.js.map +1 -1
  150. package/lib/component/elements/export/ExportManager.d.ts +2 -2
  151. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  152. package/lib/component/elements/export/ExportManager.js +29 -33
  153. package/lib/component/elements/export/ExportManager.js.map +1 -1
  154. package/lib/component/elements/export/ExportSettingsProvider.d.ts +1 -1
  155. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
  156. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts +0 -28
  157. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +1 -1
  158. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js +2 -2
  159. package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +1 -1
  160. package/lib/component/elements/export/utilities/getExportOptions.d.ts +1 -4
  161. package/lib/component/elements/export/utilities/getExportOptions.d.ts.map +1 -1
  162. package/lib/component/elements/export/utilities/getExportOptions.js +2 -10
  163. package/lib/component/elements/export/utilities/getExportOptions.js.map +1 -1
  164. package/lib/component/elements/print/PrintContent.d.ts +0 -1
  165. package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
  166. package/lib/component/elements/print/PrintContent.js +1 -1
  167. package/lib/component/elements/print/PrintContent.js.map +1 -1
  168. package/lib/component/elements/print/PrintProvider.d.ts +1 -1
  169. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
  170. package/lib/component/elements/print/pageSize.d.ts +2 -1
  171. package/lib/component/elements/print/pageSize.d.ts.map +1 -1
  172. package/lib/component/hooks/useExport.d.ts.map +1 -1
  173. package/lib/component/hooks/useExport.js +49 -19
  174. package/lib/component/hooks/useExport.js.map +1 -1
  175. package/lib/component/hooks/useFormatNumberByNucleus.d.ts +2 -1
  176. package/lib/component/hooks/useFormatNumberByNucleus.d.ts.map +1 -1
  177. package/lib/component/hooks/useIndicatorLineColor.d.ts +2 -0
  178. package/lib/component/hooks/useIndicatorLineColor.d.ts.map +1 -0
  179. package/lib/component/hooks/useIndicatorLineColor.js +6 -0
  180. package/lib/component/hooks/useIndicatorLineColor.js.map +1 -0
  181. package/lib/component/hooks/usePanelPreferences.d.ts +1 -1
  182. package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
  183. package/lib/component/hooks/usePanelPreferences.js.map +1 -1
  184. package/lib/component/hooks/useTableSortBy.d.ts +0 -5
  185. package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
  186. package/lib/component/hooks/useTableSortBy.js +1 -1
  187. package/lib/component/hooks/useTableSortBy.js.map +1 -1
  188. package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -1
  189. package/lib/component/hooks/useToolsFunctions.js +10 -10
  190. package/lib/component/hooks/useToolsFunctions.js.map +1 -1
  191. package/lib/component/main/NMRium.d.ts.map +1 -1
  192. package/lib/component/main/NMRium.js +2 -2
  193. package/lib/component/main/NMRium.js.map +1 -1
  194. package/lib/component/modal/ExportAsJcampModal.js +2 -2
  195. package/lib/component/modal/PredictSpectraModal.d.ts +2 -2
  196. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  197. package/lib/component/modal/PredictSpectraModal.js +1 -2
  198. package/lib/component/modal/PredictSpectraModal.js.map +1 -1
  199. package/lib/component/modal/PublicationStringModal.d.ts +10 -0
  200. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -0
  201. package/lib/component/modal/PublicationStringModal.js +88 -0
  202. package/lib/component/modal/PublicationStringModal.js.map +1 -0
  203. package/lib/component/modal/changeSum/ChangeSumModal.d.ts +2 -1
  204. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
  205. package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
  206. package/lib/component/modal/editRange/EditRangeModal.js +26 -53
  207. package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
  208. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
  209. package/lib/component/modal/editRange/forms/components/DeltaInput.js +1 -4
  210. package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
  211. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
  212. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +1 -2
  213. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
  214. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  215. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +3 -4
  216. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
  217. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  218. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +2 -2
  219. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  220. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
  221. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +17 -5
  222. package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
  223. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.d.ts +3 -0
  224. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.d.ts.map +1 -0
  225. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.js +4 -0
  226. package/lib/component/modal/editRange/utils/couplingsToMultiplicity.js.map +1 -0
  227. package/lib/component/modal/editRange/utils/mapCouplings.d.ts +3 -0
  228. package/lib/component/modal/editRange/utils/mapCouplings.d.ts.map +1 -0
  229. package/lib/component/modal/editRange/utils/mapCouplings.js +7 -0
  230. package/lib/component/modal/editRange/utils/mapCouplings.js.map +1 -0
  231. package/lib/component/modal/editRange/utils/mapSignals.d.ts +25 -0
  232. package/lib/component/modal/editRange/utils/mapSignals.d.ts.map +1 -0
  233. package/lib/component/modal/editRange/utils/mapSignals.js +18 -0
  234. package/lib/component/modal/editRange/utils/mapSignals.js.map +1 -0
  235. package/lib/component/modal/setting/GeneralSettings.d.ts +2 -0
  236. package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
  237. package/lib/component/modal/setting/GeneralSettings.js +7 -0
  238. package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
  239. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +1 -1
  240. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +2 -1
  241. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
  242. package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts +0 -6
  243. package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +1 -1
  244. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +1 -1
  245. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -1
  246. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +1 -1
  247. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +5 -9
  248. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +1 -1
  249. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +1 -1
  250. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +2 -2
  251. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
  252. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -1
  253. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +2 -1
  254. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
  255. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +1 -1
  256. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +2 -2
  257. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
  258. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  259. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +18 -6
  260. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  261. package/lib/component/panels/Panels.d.ts.map +1 -1
  262. package/lib/component/panels/Panels.js +2 -2
  263. package/lib/component/panels/Panels.js.map +1 -1
  264. package/lib/component/panels/RangesPanel/RangesHeader.d.ts +0 -1
  265. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
  266. package/lib/component/panels/RangesPanel/RangesHeader.js +9 -21
  267. package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
  268. package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
  269. package/lib/component/panels/RangesPanel/RangesPanel.js +1 -1
  270. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
  271. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts.map +1 -1
  272. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js +9 -9
  273. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js.map +1 -1
  274. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +0 -1
  275. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  276. package/lib/component/panels/SpectraPanel/SpectraTable.js +4 -4
  277. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  278. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
  279. package/lib/component/panels/SpectraPanel/SpectraTabs.js +7 -20
  280. package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
  281. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +2 -4
  282. package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -1
  283. package/lib/component/panels/SpectraPanel/base/ColorIndicator.js +6 -12
  284. package/lib/component/panels/SpectraPanel/base/ColorIndicator.js.map +1 -1
  285. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +2 -2
  286. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
  287. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +1 -2
  288. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
  289. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +2 -2
  290. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
  291. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +1 -2
  292. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  293. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +5 -8
  294. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -1
  295. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +14 -83
  296. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
  297. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts +1 -6
  298. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts.map +1 -1
  299. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js +1 -23
  300. package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js.map +1 -1
  301. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -3
  302. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  303. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +1 -1
  304. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  305. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  306. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  307. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +1 -8
  308. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
  309. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +1 -1
  310. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +1 -1
  311. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +0 -1
  312. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  313. package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
  314. package/lib/component/panels/accordionItems.d.ts +3 -1
  315. package/lib/component/panels/accordionItems.d.ts.map +1 -1
  316. package/lib/component/panels/accordionItems.js +34 -39
  317. package/lib/component/panels/accordionItems.js.map +1 -1
  318. package/lib/component/panels/databasePanel/DatabasePanel.d.ts +0 -6
  319. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  320. package/lib/component/panels/databasePanel/DatabasePanel.js +22 -19
  321. package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
  322. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +0 -5
  323. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  324. package/lib/component/panels/databasePanel/DatabaseTable.js +1 -1
  325. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  326. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +0 -1
  327. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
  328. package/lib/component/panels/extra/utilities/settingImperativeHandle.js +1 -1
  329. package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
  330. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
  331. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  332. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -1
  333. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
  334. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
  335. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts +2 -1
  336. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
  337. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +0 -10
  338. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
  339. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +2 -2
  340. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
  341. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts +0 -13
  342. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  343. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +16 -6
  344. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
  345. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
  346. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +0 -1
  347. package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.map +1 -1
  348. package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
  349. package/lib/component/panels/predictionPanel/PredictionPanel.js +3 -5
  350. package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
  351. package/lib/component/reducer/Reducer.d.ts +2 -7
  352. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  353. package/lib/component/reducer/Reducer.js +1 -1
  354. package/lib/component/reducer/Reducer.js.map +1 -1
  355. package/lib/component/reducer/actions/DomainActions.d.ts +1 -7
  356. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  357. package/lib/component/reducer/actions/DomainActions.js +1 -1
  358. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  359. package/lib/component/reducer/actions/FiltersActions.d.ts +1 -1
  360. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  361. package/lib/component/reducer/actions/FiltersActions.js +15 -0
  362. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  363. package/lib/component/reducer/actions/LoadActions.d.ts +2 -8
  364. package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
  365. package/lib/component/reducer/actions/LoadActions.js +2 -1
  366. package/lib/component/reducer/actions/LoadActions.js.map +1 -1
  367. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  368. package/lib/component/reducer/actions/RangesActions.js +6 -0
  369. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  370. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  371. package/lib/component/reducer/actions/SpectraActions.js +5 -0
  372. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  373. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +0 -1
  374. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  375. package/lib/component/reducer/helper/ZoomHistoryManager.js +1 -1
  376. package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
  377. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts +0 -1
  378. package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts.map +1 -1
  379. package/lib/component/reducer/helper/getActiveSpectraAsObject.js +0 -3
  380. package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
  381. package/lib/component/reducer/helper/getRange.d.ts +1 -1
  382. package/lib/component/reducer/helper/getRange.d.ts.map +1 -1
  383. package/lib/component/reducer/helper/getRange.js +3 -12
  384. package/lib/component/reducer/helper/getRange.js.map +1 -1
  385. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.d.ts +1 -2
  386. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.d.ts.map +1 -1
  387. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.js +0 -5
  388. package/lib/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.js.map +1 -1
  389. package/lib/component/reducer/preferences/actions/analyzeSpectra.js +2 -2
  390. package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
  391. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -2
  392. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
  393. package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -11
  394. package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
  395. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  396. package/lib/component/reducer/preferences/preferencesReducer.d.ts +1 -5
  397. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  398. package/lib/component/reducer/preferences/preferencesReducer.js +0 -30
  399. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
  400. package/lib/component/utility/Events.d.ts +1 -1
  401. package/lib/component/utility/Events.d.ts.map +1 -1
  402. package/lib/component/utility/GroupByInfoKey.d.ts.map +1 -1
  403. package/lib/component/utility/LocalStorage.d.ts +0 -1
  404. package/lib/component/utility/LocalStorage.d.ts.map +1 -1
  405. package/lib/component/utility/LocalStorage.js +0 -3
  406. package/lib/component/utility/LocalStorage.js.map +1 -1
  407. package/lib/component/utility/export.d.ts +4 -7
  408. package/lib/component/utility/export.d.ts.map +1 -1
  409. package/lib/component/utility/export.js +26 -41
  410. package/lib/component/utility/export.js.map +1 -1
  411. package/lib/component/utility/formatNumber.d.ts +1 -2
  412. package/lib/component/utility/formatNumber.d.ts.map +1 -1
  413. package/lib/component/utility/formatNumber.js +1 -6
  414. package/lib/component/utility/formatNumber.js.map +1 -1
  415. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  416. package/lib/component/workspaces/workspaceDefaultProperties.js +1 -0
  417. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  418. package/lib/constants.d.ts +0 -4
  419. package/lib/constants.d.ts.map +1 -1
  420. package/lib/constants.js +0 -22
  421. package/lib/constants.js.map +1 -1
  422. package/lib/data/PredictionManager.d.ts +3 -2
  423. package/lib/data/PredictionManager.d.ts.map +1 -1
  424. package/lib/data/SpectraManager.d.ts +1 -1
  425. package/lib/data/SpectraManager.d.ts.map +1 -1
  426. package/lib/data/constants/DefaultPathLengths.d.ts +1 -1
  427. package/lib/data/constants/DefaultPathLengths.d.ts.map +1 -1
  428. package/lib/data/constants/Multiplets.d.ts +2 -1
  429. package/lib/data/constants/Multiplets.d.ts.map +1 -1
  430. package/lib/data/constants/References.d.ts +2 -2
  431. package/lib/data/constants/References.d.ts.map +1 -1
  432. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts +0 -1
  433. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
  434. package/lib/data/data1d/Spectrum1D/get1DColor.js +0 -22
  435. package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
  436. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +2 -1
  437. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
  438. package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
  439. package/lib/data/data1d/Spectrum1D/index.d.ts +2 -3
  440. package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
  441. package/lib/data/data1d/Spectrum1D/index.js +2 -3
  442. package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
  443. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts +2 -1
  444. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
  445. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.d.ts.map +1 -1
  446. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.js +3 -5
  447. package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.js.map +1 -1
  448. package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts +1 -1
  449. package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -1
  450. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts +1 -1
  451. package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts.map +1 -1
  452. package/lib/data/data1d/Spectrum1D/ranges/resizeRange.d.ts +1 -1
  453. package/lib/data/data1d/Spectrum1D/ranges/resizeRange.d.ts.map +1 -1
  454. package/lib/data/data1d/database.d.ts +3 -3
  455. package/lib/data/data1d/database.d.ts.map +1 -1
  456. package/lib/data/data1d/multipleSpectraAnalysis.d.ts +3 -15
  457. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
  458. package/lib/data/data1d/multipleSpectraAnalysis.js +1 -7
  459. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  460. package/lib/data/data1d/spectrumSimulation.d.ts +2 -1
  461. package/lib/data/data1d/spectrumSimulation.d.ts.map +1 -1
  462. package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -2
  463. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  464. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  465. package/lib/data/data2d/Spectrum2D/index.d.ts +0 -1
  466. package/lib/data/data2d/Spectrum2D/index.d.ts.map +1 -1
  467. package/lib/data/data2d/Spectrum2D/index.js +0 -1
  468. package/lib/data/data2d/Spectrum2D/index.js.map +1 -1
  469. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts +2 -1
  470. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
  471. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +0 -1
  472. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
  473. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +1 -1
  474. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
  475. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
  476. package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
  477. package/lib/data/matrixGeneration.d.ts +1 -1
  478. package/lib/data/matrixGeneration.d.ts.map +1 -1
  479. package/lib/data/molecules/MoleculeManager.d.ts +0 -1
  480. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  481. package/lib/data/molecules/MoleculeManager.js +1 -1
  482. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  483. package/lib/data/parseMeta/index.d.ts +1 -2
  484. package/lib/data/parseMeta/index.d.ts.map +1 -1
  485. package/lib/data/parseMeta/index.js +1 -1
  486. package/lib/data/parseMeta/index.js.map +1 -1
  487. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -8
  488. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  489. package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -7
  490. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  491. package/lib/data/utilities/RangeUtilities.d.ts +0 -6
  492. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
  493. package/lib/data/utilities/RangeUtilities.js +1 -34
  494. package/lib/data/utilities/RangeUtilities.js.map +1 -1
  495. package/lib/data/utilities/ZoneUtilities.d.ts +0 -5
  496. package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
  497. package/lib/data/utilities/ZoneUtilities.js +3 -11
  498. package/lib/data/utilities/ZoneUtilities.js.map +1 -1
  499. package/lib/utils/clipboard/clipboard.d.ts +2 -1
  500. package/lib/utils/clipboard/clipboard.d.ts.map +1 -1
  501. package/lib/utils/clipboard/clipboardComponents.d.ts +2 -15
  502. package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -1
  503. package/lib/utils/clipboard/clipboardComponents.js +1 -1
  504. package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
  505. package/lib/utils/clipboard/clipboardHooks.d.ts +1 -7
  506. package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
  507. package/lib/utils/clipboard/clipboardHooks.js +1 -39
  508. package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
  509. package/lib/versionInfo.d.ts.map +1 -1
  510. package/lib/versionInfo.js +1 -1
  511. package/lib/versionInfo.js.map +1 -1
  512. package/package.json +29 -37
  513. package/src/component/1d/ApodizationLine.tsx +3 -2
  514. package/src/component/1d/BrushTracker1D.tsx +5 -9
  515. package/src/component/1d/SVGContent1D.tsx +1 -1
  516. package/src/component/1d/inset/InsetProvider.tsx +0 -6
  517. package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +41 -12
  518. package/src/component/1d/matrix/Boxplot.tsx +1 -1
  519. package/src/component/1d/matrix/Stocsy.tsx +2 -2
  520. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +112 -96
  521. package/src/component/1d/multiplicityTree/generateTreeNodes.ts +1 -1
  522. package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
  523. package/src/component/1d/peaks/Peaks.tsx +2 -2
  524. package/src/component/1d/ranges/Range.tsx +26 -29
  525. package/src/component/1d/ranges/Ranges.tsx +1 -6
  526. package/src/component/1d/tool/BaseLine.tsx +6 -3
  527. package/src/component/1d/tool/PivotIndicator1D.tsx +6 -3
  528. package/src/component/1d/utilities/scale.ts +1 -51
  529. package/src/component/2d/1d-tracer/phase-correction-traces/useActivePhaseTraces.ts +11 -1
  530. package/src/component/2d/SVGContent2D.tsx +0 -6
  531. package/src/component/2d/tools/PivotIndicator.tsx +16 -7
  532. package/src/component/2d/utilities/scale.ts +0 -37
  533. package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +1 -1
  534. package/src/component/EventsTrackers/BrushTracker.tsx +2 -2
  535. package/src/component/EventsTrackers/MouseTracker.tsx +1 -1
  536. package/src/component/assignment/AssignmentsContext.ts +2 -5
  537. package/src/component/context/ChartContext.tsx +1 -1
  538. package/src/component/context/DispatchContext.tsx +2 -2
  539. package/src/component/context/GlobalContext.tsx +1 -1
  540. package/src/component/context/KeyModifierContext.tsx +2 -2
  541. package/src/component/context/LoggerContext.tsx +1 -1
  542. package/src/component/context/PreferencesContext.tsx +2 -2
  543. package/src/component/context/ScaleContext.tsx +1 -1
  544. package/src/component/elements/Button.tsx +3 -4
  545. package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
  546. package/src/component/elements/FormatField.tsx +1 -1
  547. package/src/component/elements/Input.tsx +1 -1
  548. package/src/component/elements/Input2Controller.tsx +1 -1
  549. package/src/component/elements/Label.tsx +3 -2
  550. package/src/component/elements/ReactTable/ReactTable.tsx +1 -1
  551. package/src/component/elements/Sections.tsx +35 -24
  552. package/src/component/elements/Select.tsx +1 -1
  553. package/src/component/elements/Select2.tsx +1 -1
  554. package/src/component/elements/Tab/Tab.tsx +2 -2
  555. package/src/component/elements/Tab/Tabs.tsx +1 -1
  556. package/src/component/elements/export/ExportContent.tsx +1 -1
  557. package/src/component/elements/export/ExportManager.tsx +40 -45
  558. package/src/component/elements/export/ExportSettingsProvider.tsx +1 -1
  559. package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +2 -2
  560. package/src/component/elements/export/utilities/getExportOptions.ts +2 -10
  561. package/src/component/elements/print/PrintContent.tsx +1 -1
  562. package/src/component/elements/print/PrintProvider.tsx +1 -1
  563. package/src/component/elements/print/pageSize.ts +1 -1
  564. package/src/component/hooks/useExport.tsx +43 -18
  565. package/src/component/hooks/useFormatNumberByNucleus.ts +1 -1
  566. package/src/component/hooks/useIndicatorLineColor.ts +6 -0
  567. package/src/component/hooks/usePanelPreferences.ts +15 -16
  568. package/src/component/hooks/useTableSortBy.tsx +1 -1
  569. package/src/component/hooks/useToolsFunctions.ts +11 -9
  570. package/src/component/main/NMRium.tsx +2 -6
  571. package/src/component/modal/ExportAsJcampModal.tsx +2 -2
  572. package/src/component/modal/PredictSpectraModal.tsx +1 -3
  573. package/src/component/modal/PublicationStringModal.tsx +168 -0
  574. package/src/component/modal/changeSum/ChangeSumModal.tsx +1 -1
  575. package/src/component/modal/editRange/EditRangeModal.tsx +31 -75
  576. package/src/component/modal/editRange/forms/components/DeltaInput.tsx +1 -6
  577. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +1 -2
  578. package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +6 -5
  579. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +2 -1
  580. package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +23 -3
  581. package/src/component/modal/editRange/utils/couplingsToMultiplicity.ts +5 -0
  582. package/src/component/modal/editRange/utils/mapCouplings.ts +11 -0
  583. package/src/component/modal/editRange/utils/mapSignals.ts +27 -0
  584. package/src/component/modal/setting/GeneralSettings.tsx +8 -0
  585. package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +2 -4
  586. package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +1 -1
  587. package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +11 -14
  588. package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +2 -5
  589. package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +2 -4
  590. package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +10 -2
  591. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +22 -6
  592. package/src/component/panels/Panels.tsx +5 -3
  593. package/src/component/panels/RangesPanel/RangesHeader.tsx +10 -27
  594. package/src/component/panels/RangesPanel/RangesPanel.tsx +0 -1
  595. package/src/component/panels/RangesPanel/hooks/useEditRangeModal.tsx +8 -9
  596. package/src/component/panels/SpectraPanel/SpectraTable.tsx +4 -6
  597. package/src/component/panels/SpectraPanel/SpectraTabs.tsx +4 -30
  598. package/src/component/panels/SpectraPanel/base/ColorIndicator.tsx +7 -23
  599. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +1 -3
  600. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -3
  601. package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +49 -110
  602. package/src/component/panels/SummaryPanel/CorrelationTable/Constants.ts +1 -24
  603. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +0 -2
  604. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -1
  605. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +2 -2
  606. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +0 -5
  607. package/src/component/panels/accordionItems.tsx +47 -40
  608. package/src/component/panels/databasePanel/DatabasePanel.tsx +28 -23
  609. package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
  610. package/src/component/panels/extra/utilities/settingImperativeHandle.ts +1 -1
  611. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +1 -1
  612. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +5 -1
  613. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -1
  614. package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +3 -3
  615. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +17 -6
  616. package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +0 -1
  617. package/src/component/panels/predictionPanel/PredictionPanel.tsx +3 -8
  618. package/src/component/reducer/Reducer.ts +2 -9
  619. package/src/component/reducer/actions/DomainActions.ts +1 -2
  620. package/src/component/reducer/actions/FiltersActions.ts +16 -2
  621. package/src/component/reducer/actions/LoadActions.ts +2 -1
  622. package/src/component/reducer/actions/RangesActions.ts +6 -0
  623. package/src/component/reducer/actions/SpectraActions.ts +5 -0
  624. package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -1
  625. package/src/component/reducer/helper/getActiveSpectraAsObject.ts +0 -7
  626. package/src/component/reducer/helper/getRange.ts +3 -11
  627. package/src/component/reducer/helper/getTwoDimensionPhaseCorrectionOptions.ts +0 -15
  628. package/src/component/reducer/preferences/actions/analyzeSpectra.ts +2 -2
  629. package/src/component/reducer/preferences/actions/matrixGeneration.ts +0 -18
  630. package/src/component/reducer/preferences/preferencesReducer.ts +2 -36
  631. package/src/component/utility/Events.tsx +1 -1
  632. package/src/component/utility/LocalStorage.ts +0 -4
  633. package/src/component/utility/export.ts +31 -47
  634. package/src/component/utility/formatNumber.ts +1 -7
  635. package/src/component/workspaces/workspaceDefaultProperties.ts +1 -0
  636. package/src/constants.ts +0 -23
  637. package/src/data/PredictionManager.ts +2 -2
  638. package/src/data/SpectraManager.ts +1 -1
  639. package/src/data/constants/DefaultPathLengths.ts +1 -1
  640. package/src/data/constants/Multiplets.ts +1 -1
  641. package/src/data/constants/References.ts +2 -2
  642. package/src/data/data1d/Spectrum1D/get1DColor.ts +0 -23
  643. package/src/data/data1d/Spectrum1D/getReferenceShift.ts +2 -1
  644. package/src/data/data1d/Spectrum1D/index.ts +1 -6
  645. package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +1 -1
  646. package/src/data/data1d/Spectrum1D/ranges/changeRangeSignal.ts +3 -5
  647. package/src/data/data1d/database.ts +3 -3
  648. package/src/data/data1d/multipleSpectraAnalysis.ts +2 -28
  649. package/src/data/data1d/spectrumSimulation.ts +1 -1
  650. package/src/data/data2d/Spectrum2D/contours.ts +1 -2
  651. package/src/data/data2d/Spectrum2D/index.ts +0 -1
  652. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
  653. package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +1 -1
  654. package/src/data/matrixGeneration.ts +1 -1
  655. package/src/data/molecules/MoleculeManager.ts +1 -1
  656. package/src/data/parseMeta/index.ts +1 -11
  657. package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -13
  658. package/src/data/utilities/RangeUtilities.ts +1 -45
  659. package/src/data/utilities/ZoneUtilities.ts +3 -18
  660. package/src/utils/clipboard/clipboard.ts +1 -1
  661. package/src/utils/clipboard/clipboardComponents.tsx +3 -3
  662. package/src/utils/clipboard/clipboardHooks.ts +2 -58
  663. package/src/versionInfo.ts +1 -1
  664. package/lib/component/1d/YAxis.d.ts +0 -7
  665. package/lib/component/1d/YAxis.d.ts.map +0 -1
  666. package/lib/component/1d/YAxis.js +0 -25
  667. package/lib/component/1d/YAxis.js.map +0 -1
  668. package/lib/component/1d/ranges/AssignmentActionsButtons.d.ts +0 -12
  669. package/lib/component/1d/ranges/AssignmentActionsButtons.d.ts.map +0 -1
  670. package/lib/component/1d/ranges/AssignmentActionsButtons.js +0 -12
  671. package/lib/component/1d/ranges/AssignmentActionsButtons.js.map +0 -1
  672. package/lib/component/1d/utilities/getDecimalsCount.d.ts +0 -2
  673. package/lib/component/1d/utilities/getDecimalsCount.d.ts.map +0 -1
  674. package/lib/component/1d/utilities/getDecimalsCount.js +0 -7
  675. package/lib/component/1d/utilities/getDecimalsCount.js.map +0 -1
  676. package/lib/component/1d-2d/tools/BrushX.d.ts +0 -2
  677. package/lib/component/1d-2d/tools/BrushX.d.ts.map +0 -1
  678. package/lib/component/1d-2d/tools/BrushX.js +0 -36
  679. package/lib/component/1d-2d/tools/BrushX.js.map +0 -1
  680. package/lib/component/context/PrepareExportContext.d.ts +0 -22
  681. package/lib/component/context/PrepareExportContext.d.ts.map +0 -1
  682. package/lib/component/context/PrepareExportContext.js +0 -125
  683. package/lib/component/context/PrepareExportContext.js.map +0 -1
  684. package/lib/component/elements/ActiveButton.d.ts +0 -18
  685. package/lib/component/elements/ActiveButton.d.ts.map +0 -1
  686. package/lib/component/elements/ActiveButton.js +0 -34
  687. package/lib/component/elements/ActiveButton.js.map +0 -1
  688. package/lib/component/elements/AxisGroup.d.ts +0 -5
  689. package/lib/component/elements/AxisGroup.d.ts.map +0 -1
  690. package/lib/component/elements/AxisGroup.js +0 -14
  691. package/lib/component/elements/AxisGroup.js.map +0 -1
  692. package/lib/component/elements/ButtonToolTip.d.ts +0 -10
  693. package/lib/component/elements/ButtonToolTip.d.ts.map +0 -1
  694. package/lib/component/elements/ButtonToolTip.js +0 -7
  695. package/lib/component/elements/ButtonToolTip.js.map +0 -1
  696. package/lib/component/elements/CheckBox.d.ts +0 -7
  697. package/lib/component/elements/CheckBox.d.ts.map +0 -1
  698. package/lib/component/elements/CheckBox.js +0 -11
  699. package/lib/component/elements/CheckBox.js.map +0 -1
  700. package/lib/component/elements/ColorInput.d.ts +0 -10
  701. package/lib/component/elements/ColorInput.d.ts.map +0 -1
  702. package/lib/component/elements/ColorInput.js +0 -82
  703. package/lib/component/elements/ColorInput.js.map +0 -1
  704. package/lib/component/elements/MenuButton.d.ts +0 -32
  705. package/lib/component/elements/MenuButton.d.ts.map +0 -1
  706. package/lib/component/elements/MenuButton.js +0 -76
  707. package/lib/component/elements/MenuButton.js.map +0 -1
  708. package/lib/component/elements/Message.d.ts +0 -17
  709. package/lib/component/elements/Message.d.ts.map +0 -1
  710. package/lib/component/elements/Message.js +0 -35
  711. package/lib/component/elements/Message.js.map +0 -1
  712. package/lib/component/elements/NumberInput.d.ts +0 -14
  713. package/lib/component/elements/NumberInput.d.ts.map +0 -1
  714. package/lib/component/elements/NumberInput.js +0 -21
  715. package/lib/component/elements/NumberInput.js.map +0 -1
  716. package/lib/component/elements/ReactTable/ReactTableFlexLayout.d.ts +0 -10
  717. package/lib/component/elements/ReactTable/ReactTableFlexLayout.d.ts.map +0 -1
  718. package/lib/component/elements/ReactTable/ReactTableFlexLayout.js +0 -29
  719. package/lib/component/elements/ReactTable/ReactTableFlexLayout.js.map +0 -1
  720. package/lib/component/elements/ReactTable/Style.d.ts +0 -3
  721. package/lib/component/elements/ReactTable/Style.d.ts.map +0 -1
  722. package/lib/component/elements/ReactTable/Style.js +0 -11
  723. package/lib/component/elements/ReactTable/Style.js.map +0 -1
  724. package/lib/component/elements/ResizableSVG.d.ts +0 -25
  725. package/lib/component/elements/ResizableSVG.d.ts.map +0 -1
  726. package/lib/component/elements/ResizableSVG.js +0 -84
  727. package/lib/component/elements/ResizableSVG.js.map +0 -1
  728. package/lib/component/elements/Table/Table.d.ts +0 -10
  729. package/lib/component/elements/Table/Table.d.ts.map +0 -1
  730. package/lib/component/elements/Table/Table.js +0 -14
  731. package/lib/component/elements/Table/Table.js.map +0 -1
  732. package/lib/component/elements/Table/TableBody.d.ts +0 -10
  733. package/lib/component/elements/Table/TableBody.d.ts.map +0 -1
  734. package/lib/component/elements/Table/TableBody.js +0 -20
  735. package/lib/component/elements/Table/TableBody.js.map +0 -1
  736. package/lib/component/elements/Table/TableCell.d.ts +0 -14
  737. package/lib/component/elements/Table/TableCell.d.ts.map +0 -1
  738. package/lib/component/elements/Table/TableCell.js +0 -27
  739. package/lib/component/elements/Table/TableCell.js.map +0 -1
  740. package/lib/component/elements/Table/TableHead.d.ts +0 -10
  741. package/lib/component/elements/Table/TableHead.d.ts.map +0 -1
  742. package/lib/component/elements/Table/TableHead.js +0 -17
  743. package/lib/component/elements/Table/TableHead.js.map +0 -1
  744. package/lib/component/elements/Table/TableRow.d.ts +0 -11
  745. package/lib/component/elements/Table/TableRow.d.ts.map +0 -1
  746. package/lib/component/elements/Table/TableRow.js +0 -12
  747. package/lib/component/elements/Table/TableRow.js.map +0 -1
  748. package/lib/component/elements/ToggleButton.d.ts +0 -15
  749. package/lib/component/elements/ToggleButton.d.ts.map +0 -1
  750. package/lib/component/elements/ToggleButton.js +0 -30
  751. package/lib/component/elements/ToggleButton.js.map +0 -1
  752. package/lib/component/elements/ToolTip/ToolTip.d.ts +0 -16
  753. package/lib/component/elements/ToolTip/ToolTip.d.ts.map +0 -1
  754. package/lib/component/elements/ToolTip/ToolTip.js +0 -102
  755. package/lib/component/elements/ToolTip/ToolTip.js.map +0 -1
  756. package/lib/component/elements/accordion/Accordion.d.ts +0 -8
  757. package/lib/component/elements/accordion/Accordion.d.ts.map +0 -1
  758. package/lib/component/elements/accordion/Accordion.js +0 -67
  759. package/lib/component/elements/accordion/Accordion.js.map +0 -1
  760. package/lib/component/elements/accordion/AccordionItem.d.ts +0 -16
  761. package/lib/component/elements/accordion/AccordionItem.d.ts.map +0 -1
  762. package/lib/component/elements/accordion/AccordionItem.js +0 -79
  763. package/lib/component/elements/accordion/AccordionItem.js.map +0 -1
  764. package/lib/component/elements/draggable/SVGDraggable.d.ts +0 -18
  765. package/lib/component/elements/draggable/SVGDraggable.d.ts.map +0 -1
  766. package/lib/component/elements/draggable/SVGDraggable.js +0 -30
  767. package/lib/component/elements/draggable/SVGDraggable.js.map +0 -1
  768. package/lib/component/elements/export/utilities/convertPixelsBasedOnDPI.d.ts +0 -2
  769. package/lib/component/elements/export/utilities/convertPixelsBasedOnDPI.d.ts.map +0 -1
  770. package/lib/component/elements/export/utilities/convertPixelsBasedOnDPI.js +0 -5
  771. package/lib/component/elements/export/utilities/convertPixelsBasedOnDPI.js.map +0 -1
  772. package/lib/component/elements/linearAxis/LinearVerticalAxis.d.ts +0 -21
  773. package/lib/component/elements/linearAxis/LinearVerticalAxis.d.ts.map +0 -1
  774. package/lib/component/elements/linearAxis/LinearVerticalAxis.js +0 -16
  775. package/lib/component/elements/linearAxis/LinearVerticalAxis.js.map +0 -1
  776. package/lib/component/modal/CopyClipboardModal.d.ts +0 -9
  777. package/lib/component/modal/CopyClipboardModal.d.ts.map +0 -1
  778. package/lib/component/modal/CopyClipboardModal.js +0 -23
  779. package/lib/component/modal/CopyClipboardModal.js.map +0 -1
  780. package/lib/component/panels/extra/preferences/ColumnsHelper.d.ts +0 -13
  781. package/lib/component/panels/extra/preferences/ColumnsHelper.d.ts.map +0 -1
  782. package/lib/component/panels/extra/preferences/ColumnsHelper.js +0 -43
  783. package/lib/component/panels/extra/preferences/ColumnsHelper.js.map +0 -1
  784. package/lib/component/panels/extra/utilities/UseToggleStatus.d.ts +0 -8
  785. package/lib/component/panels/extra/utilities/UseToggleStatus.d.ts.map +0 -1
  786. package/lib/component/panels/extra/utilities/UseToggleStatus.js +0 -33
  787. package/lib/component/panels/extra/utilities/UseToggleStatus.js.map +0 -1
  788. package/lib/component/reducer/actions/HistoryActions.d.ts +0 -5
  789. package/lib/component/reducer/actions/HistoryActions.d.ts.map +0 -1
  790. package/lib/component/reducer/actions/HistoryActions.js +0 -41
  791. package/lib/component/reducer/actions/HistoryActions.js.map +0 -1
  792. package/lib/component/reducer/helper/GetClosestNumber.d.ts +0 -3
  793. package/lib/component/reducer/helper/GetClosestNumber.d.ts.map +0 -1
  794. package/lib/component/reducer/helper/GetClosestNumber.js +0 -9
  795. package/lib/component/reducer/helper/GetClosestNumber.js.map +0 -1
  796. package/lib/component/reducer/preferences/utilities/checkKeysExists.d.ts +0 -2
  797. package/lib/component/reducer/preferences/utilities/checkKeysExists.d.ts.map +0 -1
  798. package/lib/component/reducer/preferences/utilities/checkKeysExists.js +0 -15
  799. package/lib/component/reducer/preferences/utilities/checkKeysExists.js.map +0 -1
  800. package/lib/component/reducer/preferences/utilities/filterObject.d.ts +0 -2
  801. package/lib/component/reducer/preferences/utilities/filterObject.d.ts.map +0 -1
  802. package/lib/component/reducer/preferences/utilities/filterObject.js +0 -8
  803. package/lib/component/reducer/preferences/utilities/filterObject.js.map +0 -1
  804. package/lib/component/reducer/preferences/utilities/flatObject.d.ts +0 -2
  805. package/lib/component/reducer/preferences/utilities/flatObject.d.ts.map +0 -1
  806. package/lib/component/reducer/preferences/utilities/flatObject.js +0 -10
  807. package/lib/component/reducer/preferences/utilities/flatObject.js.map +0 -1
  808. package/lib/component/utility/FileUtility.d.ts +0 -9
  809. package/lib/component/utility/FileUtility.d.ts.map +0 -1
  810. package/lib/component/utility/FileUtility.js +0 -19
  811. package/lib/component/utility/FileUtility.js.map +0 -1
  812. package/lib/component/utility/PreferencesHelper.d.ts +0 -3
  813. package/lib/component/utility/PreferencesHelper.d.ts.map +0 -1
  814. package/lib/component/utility/PreferencesHelper.js +0 -10
  815. package/lib/component/utility/PreferencesHelper.js.map +0 -1
  816. package/lib/component/utility/jpathToArray.d.ts +0 -2
  817. package/lib/component/utility/jpathToArray.d.ts.map +0 -1
  818. package/lib/component/utility/jpathToArray.js +0 -24
  819. package/lib/component/utility/jpathToArray.js.map +0 -1
  820. package/lib/data/data1d/Spectrum1D/cloneDatum1D.d.ts +0 -6
  821. package/lib/data/data1d/Spectrum1D/cloneDatum1D.d.ts.map +0 -1
  822. package/lib/data/data1d/Spectrum1D/cloneDatum1D.js +0 -5
  823. package/lib/data/data1d/Spectrum1D/cloneDatum1D.js.map +0 -1
  824. package/lib/data/data1d/Spectrum1D/is1DFilter.d.ts +0 -5
  825. package/lib/data/data1d/Spectrum1D/is1DFilter.d.ts.map +0 -1
  826. package/lib/data/data1d/Spectrum1D/is1DFilter.js +0 -4
  827. package/lib/data/data1d/Spectrum1D/is1DFilter.js.map +0 -1
  828. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.d.ts +0 -3
  829. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.d.ts.map +0 -1
  830. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.js +0 -6
  831. package/lib/data/data1d/Spectrum1D/ranges/checkRangeKind.js.map +0 -1
  832. package/lib/data/data2d/Spectrum2D/cloneDatum2D.d.ts +0 -2
  833. package/lib/data/data2d/Spectrum2D/cloneDatum2D.d.ts.map +0 -1
  834. package/lib/data/data2d/Spectrum2D/cloneDatum2D.js +0 -10
  835. package/lib/data/data2d/Spectrum2D/cloneDatum2D.js.map +0 -1
  836. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.d.ts +0 -7
  837. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.d.ts.map +0 -1
  838. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.js +0 -10
  839. package/lib/data/data2d/Spectrum2D/get2DSpectrumErrorValue.js.map +0 -1
  840. package/lib/data/data2d/Spectrum2D/getShift.d.ts +0 -7
  841. package/lib/data/data2d/Spectrum2D/getShift.d.ts.map +0 -1
  842. package/lib/data/data2d/Spectrum2D/getShift.js +0 -16
  843. package/lib/data/data2d/Spectrum2D/getShift.js.map +0 -1
  844. package/lib/data/data2d/Spectrum2D/is2DFilter.d.ts +0 -5
  845. package/lib/data/data2d/Spectrum2D/is2DFilter.d.ts.map +0 -1
  846. package/lib/data/data2d/Spectrum2D/is2DFilter.js +0 -4
  847. package/lib/data/data2d/Spectrum2D/is2DFilter.js.map +0 -1
  848. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.d.ts +0 -5
  849. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.d.ts.map +0 -1
  850. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.js +0 -16
  851. package/lib/data/data2d/Spectrum2D/zones/isZoneExists.js.map +0 -1
  852. package/lib/data/data2d/Spectrum2D/zones/updateZones.d.ts +0 -3
  853. package/lib/data/data2d/Spectrum2D/zones/updateZones.d.ts.map +0 -1
  854. package/lib/data/data2d/Spectrum2D/zones/updateZones.js +0 -8
  855. package/lib/data/data2d/Spectrum2D/zones/updateZones.js.map +0 -1
  856. package/lib/data/defaults/13c.d.ts +0 -5
  857. package/lib/data/defaults/13c.d.ts.map +0 -1
  858. package/lib/data/defaults/13c.js +0 -4
  859. package/lib/data/defaults/13c.js.map +0 -1
  860. package/lib/data/defaults/1h.d.ts +0 -5
  861. package/lib/data/defaults/1h.d.ts.map +0 -1
  862. package/lib/data/defaults/1h.js +0 -4
  863. package/lib/data/defaults/1h.js.map +0 -1
  864. package/lib/data/defaults/default.d.ts +0 -2
  865. package/lib/data/defaults/default.d.ts.map +0 -1
  866. package/lib/data/defaults/default.js +0 -17
  867. package/lib/data/defaults/default.js.map +0 -1
  868. package/lib/data/getDefaultMatrixFilters.d.ts +0 -17
  869. package/lib/data/getDefaultMatrixFilters.d.ts.map +0 -1
  870. package/lib/data/getDefaultMatrixFilters.js +0 -21
  871. package/lib/data/getDefaultMatrixFilters.js.map +0 -1
  872. package/lib/data/types/common/DeepPartial.d.ts +0 -4
  873. package/lib/data/types/common/DeepPartial.d.ts.map +0 -1
  874. package/lib/data/types/common/DeepPartial.js +0 -2
  875. package/lib/data/types/common/DeepPartial.js.map +0 -1
  876. package/lib/data/types/common/File.d.ts +0 -6
  877. package/lib/data/types/common/File.d.ts.map +0 -1
  878. package/lib/data/types/common/File.js +0 -2
  879. package/lib/data/types/common/File.js.map +0 -1
  880. package/lib/data/types/common/Info.d.ts +0 -12
  881. package/lib/data/types/common/Info.d.ts.map +0 -1
  882. package/lib/data/types/common/Info.js +0 -2
  883. package/lib/data/types/common/Info.js.map +0 -1
  884. package/lib/data/types/common/MapOptions.d.ts +0 -6
  885. package/lib/data/types/common/MapOptions.d.ts.map +0 -1
  886. package/lib/data/types/common/MapOptions.js +0 -2
  887. package/lib/data/types/common/MapOptions.js.map +0 -1
  888. package/lib/data/types/data1d/ComplexData1D.d.ts +0 -3
  889. package/lib/data/types/data1d/ComplexData1D.d.ts.map +0 -1
  890. package/lib/data/types/data1d/ComplexData1D.js +0 -2
  891. package/lib/data/types/data1d/ComplexData1D.js.map +0 -1
  892. package/lib/data/types/data2d/ContourOptions.d.ts +0 -11
  893. package/lib/data/types/data2d/ContourOptions.d.ts.map +0 -1
  894. package/lib/data/types/data2d/ContourOptions.js +0 -2
  895. package/lib/data/types/data2d/ContourOptions.js.map +0 -1
  896. package/lib/data/types/data2d/index.d.ts +0 -2
  897. package/lib/data/types/data2d/index.d.ts.map +0 -1
  898. package/lib/data/types/data2d/index.js +0 -2
  899. package/lib/data/types/data2d/index.js.map +0 -1
  900. package/lib/data/utilities/getSum.d.ts +0 -9
  901. package/lib/data/utilities/getSum.d.ts.map +0 -1
  902. package/lib/data/utilities/getSum.js +0 -16
  903. package/lib/data/utilities/getSum.js.map +0 -1
  904. package/lib/types/NMRiumDataReturn.d.ts +0 -15
  905. package/lib/types/NMRiumDataReturn.d.ts.map +0 -1
  906. package/lib/types/NMRiumDataReturn.js +0 -2
  907. package/lib/types/NMRiumDataReturn.js.map +0 -1
  908. package/src/component/1d/YAxis.tsx +0 -57
  909. package/src/component/1d/ranges/AssignmentActionsButtons.tsx +0 -62
  910. package/src/component/1d/utilities/getDecimalsCount.ts +0 -9
  911. package/src/component/1d-2d/tools/BrushX.tsx +0 -69
  912. package/src/component/context/PrepareExportContext.tsx +0 -185
  913. package/src/component/elements/ActiveButton.tsx +0 -72
  914. package/src/component/elements/AxisGroup.tsx +0 -14
  915. package/src/component/elements/ButtonToolTip.tsx +0 -35
  916. package/src/component/elements/CheckBox.tsx +0 -43
  917. package/src/component/elements/ColorInput.tsx +0 -117
  918. package/src/component/elements/MenuButton.tsx +0 -162
  919. package/src/component/elements/Message.tsx +0 -63
  920. package/src/component/elements/NumberInput.tsx +0 -67
  921. package/src/component/elements/ReactTable/ReactTableFlexLayout.tsx +0 -90
  922. package/src/component/elements/ReactTable/Style.ts +0 -12
  923. package/src/component/elements/ResizableSVG.tsx +0 -234
  924. package/src/component/elements/Table/Table.tsx +0 -26
  925. package/src/component/elements/Table/TableBody.tsx +0 -35
  926. package/src/component/elements/Table/TableCell.tsx +0 -55
  927. package/src/component/elements/Table/TableHead.tsx +0 -29
  928. package/src/component/elements/Table/TableRow.tsx +0 -34
  929. package/src/component/elements/ToggleButton.tsx +0 -67
  930. package/src/component/elements/ToolTip/ToolTip.tsx +0 -161
  931. package/src/component/elements/accordion/Accordion.tsx +0 -100
  932. package/src/component/elements/accordion/AccordionItem.tsx +0 -134
  933. package/src/component/elements/draggable/SVGDraggable.tsx +0 -67
  934. package/src/component/elements/export/utilities/convertPixelsBasedOnDPI.ts +0 -9
  935. package/src/component/elements/linearAxis/LinearVerticalAxis.tsx +0 -77
  936. package/src/component/modal/CopyClipboardModal.tsx +0 -47
  937. package/src/component/panels/extra/preferences/ColumnsHelper.ts +0 -68
  938. package/src/component/panels/extra/utilities/UseToggleStatus.ts +0 -41
  939. package/src/component/reducer/actions/HistoryActions.ts +0 -48
  940. package/src/component/reducer/helper/GetClosestNumber.ts +0 -9
  941. package/src/component/reducer/preferences/utilities/checkKeysExists.ts +0 -18
  942. package/src/component/reducer/preferences/utilities/filterObject.ts +0 -7
  943. package/src/component/reducer/preferences/utilities/flatObject.ts +0 -9
  944. package/src/component/utility/FileUtility.ts +0 -22
  945. package/src/component/utility/PreferencesHelper.ts +0 -13
  946. package/src/component/utility/jpathToArray.ts +0 -21
  947. package/src/data/data1d/Spectrum1D/cloneDatum1D.ts +0 -4
  948. package/src/data/data1d/Spectrum1D/is1DFilter.ts +0 -8
  949. package/src/data/data1d/Spectrum1D/ranges/checkRangeKind.ts +0 -8
  950. package/src/data/data2d/Spectrum2D/cloneDatum2D.ts +0 -9
  951. package/src/data/data2d/Spectrum2D/get2DSpectrumErrorValue.ts +0 -17
  952. package/src/data/data2d/Spectrum2D/getShift.ts +0 -23
  953. package/src/data/data2d/Spectrum2D/is2DFilter.ts +0 -8
  954. package/src/data/data2d/Spectrum2D/zones/isZoneExists.ts +0 -27
  955. package/src/data/data2d/Spectrum2D/zones/updateZones.ts +0 -9
  956. package/src/data/defaults/13c.ts +0 -3
  957. package/src/data/defaults/1h.ts +0 -3
  958. package/src/data/defaults/default.ts +0 -19
  959. package/src/data/getDefaultMatrixFilters.ts +0 -38
  960. package/src/data/types/common/DeepPartial.ts +0 -3
  961. package/src/data/types/common/File.ts +0 -5
  962. package/src/data/types/common/Info.ts +0 -11
  963. package/src/data/types/common/MapOptions.ts +0 -6
  964. package/src/data/types/data1d/ComplexData1D.ts +0 -4
  965. package/src/data/types/data2d/ContourOptions.ts +0 -10
  966. package/src/data/types/data2d/index.ts +0 -1
  967. package/src/data/utilities/getSum.ts +0 -19
  968. package/src/types/NMRiumDataReturn.ts +0 -16
@@ -1,10 +1,8 @@
1
1
  import type { Draft } from 'immer';
2
2
 
3
- import { useChartData } from '../../context/ChartContext.js';
4
3
  import type {
5
4
  PhaseCorrectionTraceData,
6
5
  State,
7
- TraceDirection,
8
6
  TwoDimensionPhaseCorrection,
9
7
  } from '../Reducer.js';
10
8
 
@@ -31,16 +29,3 @@ export function getTwoDimensionPhaseCorrectionOptions(
31
29
  addTracesToBothDirections,
32
30
  };
33
31
  }
34
-
35
- export function useTwoDimensionPhaseCorrectionOptions(
36
- direction: TraceDirection,
37
- ) {
38
- const {
39
- toolOptions: {
40
- data: {
41
- twoDimensionPhaseCorrection: { traces },
42
- },
43
- },
44
- } = useChartData();
45
- return traces[direction];
46
- }
@@ -1,7 +1,7 @@
1
1
  import type { Draft } from 'immer';
2
2
 
3
3
  import * as MultipleAnalysis from '../../../../data/data1d/multipleSpectraAnalysis.js';
4
- import { orderRange } from '../../helper/getRange.js';
4
+ import { sortRange } from '../../helper/getRange.js';
5
5
  import { getMultipleSpectraAnalysisDefaultValues } from '../panelsPreferencesDefaultValues.js';
6
6
  import type {
7
7
  AnalyzeSpectraAction,
@@ -25,7 +25,7 @@ export function analyzeSpectra(
25
25
  getMultipleSpectraAnalysisDefaultValues(nucleus);
26
26
  }
27
27
 
28
- const [from, to] = orderRange(start, end);
28
+ const [from, to] = sortRange(start, end);
29
29
 
30
30
  MultipleAnalysis.analyzeSpectra(panels.multipleSpectraAnalysis, {
31
31
  from,
@@ -139,23 +139,6 @@ function toggleMatrixGenerationViewProperty(
139
139
  matrixGeneration[key] = !matrixGeneration[key];
140
140
  }
141
141
 
142
- function resetDefaultViewMatrixGenerationOptions(
143
- draft: Draft<PreferencesState>,
144
- action: ToggleMatrixGenerationViewAction,
145
- ) {
146
- const { nucleus } = action.payload;
147
-
148
- const matrixGeneration = initMatrixGeneration(draft, nucleus);
149
- const currentOptions = getMatrixGenerationPanelOptions(draft, nucleus);
150
- const { matrixOptions: defaultMatrixOptions, ...viewOptions } =
151
- getMatrixGenerationDefaultOptions();
152
-
153
- if (currentOptions) {
154
- const { matrixOptions } = currentOptions;
155
- matrixGeneration[nucleus] = { matrixOptions, ...viewOptions };
156
- }
157
- }
158
-
159
142
  function changeMatrixGenerationScale(
160
143
  draft: Draft<PreferencesState>,
161
144
  action: ChangeMatrixGenerationScaleAction,
@@ -190,5 +173,4 @@ export {
190
173
  toggleMatrixGenerationViewProperty,
191
174
  changeMatrixGenerationScale,
192
175
  changeMatrixGenerationStocsyChemicalShift,
193
- resetDefaultViewMatrixGenerationOptions,
194
176
  };
@@ -30,6 +30,7 @@ import { changeInformationBlockPosition } from './actions/changeInformationBlock
30
30
  import { changePeaksLabelPosition } from './actions/changePeaksLabelPosition.js';
31
31
  import { changePrintPageSettings } from './actions/changePrintPageSettings.js';
32
32
  import { initPreferences } from './actions/initPreferences.js';
33
+ import type { MatrixGenerationActions } from './actions/matrixGeneration.js';
33
34
  import {
34
35
  addExclusionZone,
35
36
  changeMatrixGenerationScale,
@@ -38,7 +39,6 @@ import {
38
39
  setMatrixGenerationOptions,
39
40
  toggleMatrixGenerationViewProperty,
40
41
  } from './actions/matrixGeneration.js';
41
- import type { MatrixGenerationActions } from './actions/matrixGeneration.js';
42
42
  import { removeWorkspace } from './actions/removeWorkspace.js';
43
43
  import { setActiveWorkspace } from './actions/setActiveWorkspace.js';
44
44
  import { setPanelsPreferences } from './actions/setPanelsPreferences.js';
@@ -171,42 +171,8 @@ type PreferencesActions =
171
171
  | ChangePeaksLabelPositionAction
172
172
  | TogglePanelAction;
173
173
 
174
- export const WORKSPACES: Array<{
175
- key: NMRiumWorkspace;
176
- label: string;
177
- }> = [
178
- {
179
- key: 'default',
180
- label: Workspaces.default.label,
181
- },
182
- {
183
- key: 'process1D',
184
- label: Workspaces.process1D.label,
185
- },
186
- {
187
- key: 'exercise',
188
- label: Workspaces.exercise.label,
189
- },
190
- {
191
- key: 'prediction',
192
- label: Workspaces.prediction.label,
193
- },
194
- {
195
- key: 'assignment',
196
- label: Workspaces.assignment.label,
197
- },
198
- {
199
- key: 'embedded',
200
- label: Workspaces.embedded.label,
201
- },
202
- {
203
- key: 'simulation',
204
- label: Workspaces.simulation.label,
205
- },
206
- ];
207
-
208
174
  export type WorkspaceWithSource = Workspace & { source: WorkSpaceSource };
209
- export type WorkspacesWithSource =
175
+ type WorkspacesWithSource =
210
176
  | Record<NMRiumWorkspace, WorkspaceWithSource>
211
177
  | Record<string, WorkspaceWithSource>;
212
178
 
@@ -17,7 +17,7 @@ const Emitter = {
17
17
 
18
18
  Object.freeze(Emitter);
19
19
 
20
- export type EventEmitterClickOptions = ClickOptions & { xPPM: number };
20
+ type EventEmitterClickOptions = ClickOptions & { xPPM: number };
21
21
 
22
22
  interface UseEventOptions {
23
23
  onBrushEnd?: (options: BrushTrackerData & { range: number[] }) => void;
@@ -37,10 +37,6 @@ export function storeData(localStorageKey, value) {
37
37
  localStorage.setItem(localStorageKey, value);
38
38
  }
39
39
 
40
- export function removeData(localStorageKey) {
41
- localStorage.removeItem(localStorageKey);
42
- }
43
-
44
40
  export function getValue(object, keyPath, defaultValue: any = null) {
45
41
  return dlv(object, keyPath, defaultValue);
46
42
  }
@@ -1,9 +1,16 @@
1
+ import type { ToastProps } from '@blueprintjs/core';
1
2
  import type { SerializedStyles } from '@emotion/react';
2
3
  import dlv from 'dlv';
3
4
  import fileSaver from 'file-saver';
4
5
  import JSZip from 'jszip';
5
6
  import type { JpathTableColumn, SpectraTableColumn } from 'nmr-load-save';
6
7
 
8
+ export const browserNotSupportedErrorToast: ToastProps = {
9
+ message:
10
+ 'Your browser does not support this feature, please use the latest version of Google Chrome or Firefox',
11
+ intent: 'danger',
12
+ };
13
+
7
14
  /**
8
15
  * export the experiments result in JSON format
9
16
  * @param data
@@ -87,20 +94,6 @@ function exportAsMatrix(
87
94
  fileSaver.saveAs(blob, `${fileName}.tsv`);
88
95
  }
89
96
 
90
- function exportAsNMRE(data, fileName = 'experiment') {
91
- data.generateAsync({ type: 'blob' }).then((content) => {
92
- fileSaver.saveAs(content, `${fileName}.nmredata`);
93
- });
94
- }
95
-
96
- function exportAsMol(data, fileName = 'mol') {
97
- const blob = new Blob([data], { type: 'text/plain' });
98
- fileSaver.saveAs(blob, `${fileName}.mol`);
99
- }
100
- /**
101
- * export the vitalization result as SVG, if you need to remove some content during exportation process enclose the the content with <!-- export-remove --> ${content} <!-- export-remove -->
102
- */
103
-
104
97
  interface ExportDimensions {
105
98
  width?: number;
106
99
  height?: number;
@@ -262,19 +255,14 @@ async function exportAsPng(
262
255
  const { rootElement, fileName = 'experiment' } = options;
263
256
  const { blob, width, height } = getBlob(targetElementID, { rootElement });
264
257
 
265
- try {
266
- const { canvas } = await createCanvas(blob, {
267
- width,
268
- height,
269
- scaleFactor: 1,
270
- });
258
+ const { canvas } = await createCanvas(blob, {
259
+ width,
260
+ height,
261
+ scaleFactor: 1,
262
+ });
271
263
 
272
- const pngBlob = await canvas.convertToBlob({ type: 'image/png' });
273
- fileSaver.saveAs(pngBlob, `${fileName}.png`);
274
- } catch (error) {
275
- // TODO: handle error.
276
- reportError(error);
277
- }
264
+ const pngBlob = await canvas.convertToBlob({ type: 'image/png' });
265
+ fileSaver.saveAs(pngBlob, `${fileName}.png`);
278
266
  }
279
267
 
280
268
  function createImageFromBlob(blob: Blob): Promise<HTMLImageElement> {
@@ -333,17 +321,26 @@ async function resolveBlob(b: Blob): Promise<Blob> {
333
321
 
334
322
  async function writeImageToClipboard(image: Blob, isSafari = false) {
335
323
  await navigator.clipboard.write([
336
- new ClipboardItem({ [image.type]: isSafari ? resolveBlob(image) : image }),
324
+ new ClipboardItem({
325
+ [image.type]: isSafari ? resolveBlob(image) : image,
326
+ }),
337
327
  ]);
338
328
  }
339
329
  async function copyBlobToClipboard(canvas: OffscreenCanvas) {
330
+ // Check if the document is focused, If it is not focused, throw an error to inform the user.
331
+ if (!document.hasFocus()) {
332
+ throw new Error(
333
+ 'Copy failed because the browser is not focused. Please click the window to focus and try again.',
334
+ );
335
+ }
336
+
340
337
  const pngBlob = await canvas.convertToBlob({ type: 'image/png' });
341
338
  if (!pngBlob) return;
342
339
  const isSafari = /^(?<safari>(?!chrome|android).)*safari/i.test(
343
340
  navigator.userAgent,
344
341
  );
345
342
  if (typeof ClipboardItem !== 'undefined') {
346
- await writeImageToClipboard(pngBlob, isSafari).catch(reportError);
343
+ await writeImageToClipboard(pngBlob, isSafari);
347
344
  } else {
348
345
  const screenCanvas = transferToCanvas(canvas);
349
346
  if (!screenCanvas) {
@@ -382,23 +379,12 @@ async function copyPNGToClipboard(
382
379
  css,
383
380
  });
384
381
 
385
- try {
386
- const { canvas } = await createCanvas(blob, {
387
- width,
388
- height,
389
- scaleFactor: 1,
390
- });
391
- await copyBlobToClipboard(canvas);
392
- } catch (error) {
393
- if (error instanceof ReferenceError) {
394
- // eslint-disable-next-line no-alert
395
- globalThis.alert(
396
- 'Your browser does not support this feature, please use Google Chrome or Firefox',
397
- );
398
- }
399
- // TODO: handle error.
400
- reportError(error);
401
- }
382
+ const { canvas } = await createCanvas(blob, {
383
+ width,
384
+ height,
385
+ scaleFactor: 1,
386
+ });
387
+ return copyBlobToClipboard(canvas);
402
388
  }
403
389
 
404
390
  export interface BlobObject {
@@ -444,10 +430,8 @@ function getBlob(targetElementID: string, options: GetBlobOptions): BlobObject {
444
430
  export {
445
431
  exportAsSVG,
446
432
  exportAsJSON,
447
- exportAsNMRE,
448
433
  exportAsPng,
449
434
  copyPNGToClipboard,
450
- exportAsMol,
451
435
  exportAsMatrix,
452
436
  getBlob,
453
437
  };
@@ -20,10 +20,4 @@ function formatNumber(
20
20
  return formattedValue;
21
21
  }
22
22
 
23
- function getNumberOfDecimals(value: number | string) {
24
- value = String(value).trim();
25
- const lastIndex = value.lastIndexOf('.');
26
- return lastIndex > 0 ? value.slice(lastIndex).split('').length - 1 : 0;
27
- }
28
-
29
- export { formatNumber, getNumberOfDecimals };
23
+ export { formatNumber };
@@ -190,6 +190,7 @@ export const workspaceDefaultProperties: Required<WorkspacePreferences> = {
190
190
  },
191
191
  spectraColors: {
192
192
  highlightColor: '#ffd70080',
193
+ indicatorLineColor: '#2FFF0085',
193
194
  oneDimension: [],
194
195
  twoDimensions: [
195
196
  {
package/src/constants.ts CHANGED
@@ -1,24 +1 @@
1
1
  export const docsBaseUrl = 'https://docs.nmrium.org';
2
-
3
- export const helpList: Record<string, { text: string; url: string }> = {
4
- zoom: {
5
- text: 'Zoom tool',
6
- url: `${docsBaseUrl}/help/zoom-and-scale`,
7
- },
8
- peakPicking: {
9
- text: 'Peak picking tool',
10
- url: `${docsBaseUrl}/help/peaks`,
11
- },
12
- integralPicking: {
13
- text: 'Integral tool',
14
- url: `${docsBaseUrl}/help/integrations`,
15
- },
16
- fullScreen: {
17
- text: 'Full screen mode',
18
- url: `${docsBaseUrl}/help/general`,
19
- },
20
- loadSpectrum: {
21
- text: 'Load spectra',
22
- url: `${docsBaseUrl}/help/loading-a-spectrum`,
23
- },
24
- };
@@ -28,8 +28,8 @@ import {
28
28
  import { initiateDatum2D } from './data2d/Spectrum2D/index.js';
29
29
  import { adjustAlpha } from './utilities/generateColor.js';
30
30
 
31
- export type Experiment = 'proton' | 'carbon' | 'cosy' | 'hsqc' | 'hmbc';
32
- export type SpectraPredictionOptions = Record<Experiment, boolean>;
31
+ type Experiment = 'proton' | 'carbon' | 'cosy' | 'hsqc' | 'hmbc';
32
+ type SpectraPredictionOptions = Record<Experiment, boolean>;
33
33
  export type PredictedSpectraResult = Partial<
34
34
  Record<Experiment, PredictionBase1D | PredictionBase2D>
35
35
  >;
@@ -21,7 +21,7 @@ export enum DataExportOptions {
21
21
  NO_DATA = 'NO_DATA',
22
22
  }
23
23
 
24
- export type DataExportOptionsType = keyof typeof DataExportOptions;
24
+ type DataExportOptionsType = keyof typeof DataExportOptions;
25
25
 
26
26
  type ExportTarget = 'nmrium' | 'onChange';
27
27
 
@@ -1,6 +1,6 @@
1
1
  import type { FromTo } from 'cheminfo-types';
2
2
 
3
- export type DefaultPathLengthsInterface = Record<string, FromTo>;
3
+ type DefaultPathLengthsInterface = Record<string, FromTo>;
4
4
 
5
5
  const DefaultPathLengths: DefaultPathLengthsInterface = {
6
6
  hmbc: { from: 2, to: 3 },
@@ -1,6 +1,6 @@
1
1
  import { MultiplicityPatterns } from 'nmr-processing';
2
2
 
3
- export interface MultipletDefinition {
3
+ interface MultipletDefinition {
4
4
  label: string;
5
5
  value: string;
6
6
  multiplicity: number | null;
@@ -5,7 +5,7 @@ interface ReferenceInfo {
5
5
  delta: number;
6
6
  }
7
7
 
8
- export type OneHReferences = 'tms' | 'tsp' | 'glucose';
8
+ type OneHReferences = 'tms' | 'tsp' | 'glucose';
9
9
 
10
10
  export const REFERENCES:
11
11
  | Record<'1H', Record<OneHReferences, ReferenceInfo>>
@@ -33,7 +33,7 @@ export const REFERENCES:
33
33
  '13C': {},
34
34
  };
35
35
 
36
- export interface GetRangeOptions {
36
+ interface GetRangeOptions {
37
37
  nucleus?: string;
38
38
  reference?: string;
39
39
  }
@@ -23,29 +23,6 @@ function isRandomColorGeneration(
23
23
  return 'random' in options;
24
24
  }
25
25
 
26
- export const COLORS: readonly string[] = [
27
- '#C10020',
28
- '#007D34',
29
- '#803E75',
30
- '#FF6800',
31
- '#B32851',
32
- '#7F180D',
33
- '#232C16',
34
- '#A6BDD7',
35
- '#CEA262',
36
- '#817066',
37
- '#FF8E00',
38
- '#F6768E',
39
- '#00538A',
40
- '#FF7A5C',
41
- '#53377A',
42
- '#FFB300',
43
- '#F4C800',
44
- '#93AA00',
45
- '#593315',
46
- '#F13A13',
47
- ] as const;
48
-
49
26
  export function get1DColor(
50
27
  spectrum,
51
28
  options: ColorOptions | RandomColorOptions,
@@ -11,7 +11,8 @@ export interface CalibrateOptions {
11
11
  nbPeaks: number;
12
12
  targetX: number;
13
13
  }
14
- export interface GetReferenceShiftOptions extends CalibrateOptions {
14
+
15
+ interface GetReferenceShiftOptions extends CalibrateOptions {
15
16
  reference?: string;
16
17
  }
17
18
 
@@ -9,17 +9,12 @@ export { createRange } from './ranges/createRange.js';
9
9
  export { resizeRange } from './ranges/resizeRange.js';
10
10
  export { changeRangeRelativeValue } from './ranges/changeRangeRelativeValue.js';
11
11
  export { changeRangeSignal } from './ranges/changeRangeSignal.js';
12
- export { checkRangeKind } from './ranges/checkRangeKind.js';
13
12
  export { detectRange } from './ranges/detectRange.js';
14
13
  export { detectRanges } from './ranges/detectRanges.js';
15
- export {
16
- resurrectSpectrumFromRanges,
17
- resurrectSpectrumFromSignals,
18
- } from './ranges/resurrectSpectrum.js';
14
+ export { resurrectSpectrumFromRanges } from './ranges/resurrectSpectrum.js';
19
15
  export {
20
16
  mapRanges,
21
17
  getShiftX,
22
- checkIntegralKind,
23
18
  updateRangesRelativeValues,
24
19
  updateIntegralsRelativeValues,
25
20
  } from 'nmr-processing';
@@ -12,7 +12,7 @@ import { initiateIntegrals } from './integrals/initiateIntegrals.js';
12
12
  import { initiatePeaks } from './peaks/initiatePeaks.js';
13
13
  import { initiateRanges } from './ranges/initiateRanges.js';
14
14
 
15
- export interface InitiateDatum1DOptions {
15
+ interface InitiateDatum1DOptions {
16
16
  usedColors?: UsedColors;
17
17
  molecules?: StateMoleculeExtended[];
18
18
  colors?: SpectrumOneDimensionColor[];
@@ -20,11 +20,9 @@ export function changeRangeSignal(
20
20
  const signalIndex = spectrum.ranges.values[rangeIndex].signals.findIndex(
21
21
  (signal) => signal.id === signalID,
22
22
  );
23
- shiftValue =
24
- newSignalValue -
25
- spectrum.ranges.values[rangeIndex].signals[signalIndex].delta;
26
- spectrum.ranges.values[rangeIndex].signals[signalIndex].delta =
27
- newSignalValue;
23
+ const signal = spectrum.ranges.values[rangeIndex].signals[signalIndex];
24
+ shiftValue = newSignalValue - signal.delta;
25
+ signal.delta = newSignalValue;
28
26
  }
29
27
  return shiftValue;
30
28
  }
@@ -4,12 +4,12 @@ import OCL from 'openchemlib/full';
4
4
  import { MoleculesDB } from 'openchemlib-utils';
5
5
  import { filter } from 'smart-array-filter';
6
6
 
7
- export interface DataBaseSignal {
7
+ interface DataBaseSignal {
8
8
  assignment: string;
9
9
  delta: number;
10
10
  }
11
11
 
12
- export interface DataBaseBasic {
12
+ interface DataBaseBasic {
13
13
  spectrumID: string;
14
14
  index: number;
15
15
  names: string[];
@@ -20,7 +20,7 @@ export interface DataBaseBasic {
20
20
  coordinates: string;
21
21
  };
22
22
  }
23
- export interface DataBaseRange {
23
+ interface DataBaseRange {
24
24
  from: number;
25
25
  to: number;
26
26
  signals: DataBaseSignal[];
@@ -22,28 +22,17 @@ import generateChar from '../utilities/generateChar.js';
22
22
 
23
23
  import { detectRange, isSpectrum1D } from './Spectrum1D/index.js';
24
24
 
25
- export type ColumnType = keyof typeof ANALYSIS_COLUMN_TYPES;
26
-
27
- export interface AnalysisRow extends RangeDetectionResult {
25
+ interface AnalysisRow extends RangeDetectionResult {
28
26
  SID: string;
29
27
  colKey?: string;
30
28
  value?: number;
31
29
  }
32
30
 
33
- export interface SpectraAnalysisInnerData {
34
- options: AnalysisOptions;
35
- values: Record<string /** spectrum key */, AnalysisRow>;
36
- }
37
31
  export interface SpectraAnalysisData {
38
32
  options: AnalysisOptions;
39
33
  values: AnalysisRow[];
40
34
  }
41
35
 
42
- export type SpectraAnalysis = Record<
43
- string /** where the key is the nucleus*/,
44
- SpectraAnalysisInnerData
45
- >;
46
-
47
36
  function addColumnKey(
48
37
  spectraAnalysis: PanelsPreferences['multipleSpectraAnalysis'],
49
38
  nucleus: string,
@@ -58,22 +47,7 @@ function addColumnKey(
58
47
  return key;
59
48
  }
60
49
 
61
- export function getColumns(
62
- spectraAnalysis: PanelsPreferences['multipleSpectraAnalysis'],
63
- nucleus: string,
64
- ) {
65
- return spectraAnalysis[nucleus].analysisOptions.columns;
66
- }
67
-
68
- export function getValue(
69
- colKey: string,
70
- columns: SpectraAnalysisColumns,
71
- data,
72
- ) {
73
- return data[columns[colKey].valueKey];
74
- }
75
-
76
- export function getSpectraAnalysis(
50
+ function getSpectraAnalysis(
77
51
  spectra: Spectrum[],
78
52
  options,
79
53
  ): { values: AnalysisRow[]; sum: number } {
@@ -1,6 +1,6 @@
1
1
  import { simulate1D } from 'nmr-processing';
2
2
 
3
- export type SpinSystemData = Array<Array<number | null>>;
3
+ type SpinSystemData = Array<Array<number | null>>;
4
4
 
5
5
  export interface SpectrumSimulationOptions {
6
6
  data: SpinSystemData;
@@ -24,7 +24,6 @@ interface WheelOptions {
24
24
  contourOptions: ContourOptions;
25
25
  }
26
26
 
27
- type ContoursLevels = Record<string, Level>;
28
27
  const DEFAULT_CONTOURS_OPTIONS: ContourOptions = {
29
28
  positive: {
30
29
  contourLevels: [15, 100],
@@ -257,4 +256,4 @@ export {
257
256
  getDefaultContoursLevel,
258
257
  DEFAULT_CONTOURS_OPTIONS,
259
258
  };
260
- export type { ContoursLevels, ReturnContoursManager, Level, LevelSign };
259
+ export type { LevelSign };
@@ -2,7 +2,6 @@ export { getMissingProjection } from './getMissingProjection.js';
2
2
  export { getSlice } from './getSlice.js';
3
3
  export { initiateDatum2D } from './initiateDatum2D.js';
4
4
  export { isSpectrum2D } from './isSpectrum2D.js';
5
- export { getShift } from './getShift.js';
6
5
  export { changeZoneSignal } from './zones/changeZoneSignal.js';
7
6
  export { detectZones } from './zones/detectZones.js';
8
7
  export { detectZonesManual } from './zones/detectZonesManual.js';
@@ -13,7 +13,7 @@ import { initiateZones } from './zones/initiateZones.js';
13
13
 
14
14
  const defaultMinMax = { z: [], minX: 0, minY: 0, maxX: 0, maxY: 0 };
15
15
 
16
- export interface InitiateDatum2DOptions {
16
+ interface InitiateDatum2DOptions {
17
17
  usedColors?: UsedColors;
18
18
  colors?: SpectrumTwoDimensionsColor[];
19
19
  }
@@ -5,7 +5,7 @@ export function isSpectrum2D(spectrum: Spectrum): spectrum is Spectrum2D {
5
5
  return spectrum && spectrum.info.dimension === 2;
6
6
  }
7
7
 
8
- export function isFt2DData(data: NmrData2D): data is NmrData2DFt {
8
+ function isFt2DData(data: NmrData2D): data is NmrData2DFt {
9
9
  return 'rr' in data;
10
10
  }
11
11
 
@@ -144,7 +144,7 @@ function flattenFields(
144
144
  return properties;
145
145
  }
146
146
 
147
- export type MatrixProperties = Record<string /*filed name*/, Properties>;
147
+ type MatrixProperties = Record<string /*filed name*/, Properties>;
148
148
 
149
149
  export interface MatrixFilter {
150
150
  name: FilterXYType['name'] /*filter name*/;
@@ -76,7 +76,7 @@ export function extractLabelsNumbers(
76
76
  return values;
77
77
  }
78
78
 
79
- export function getLabelNumber(reserveNumbers: number[]): number {
79
+ function getLabelNumber(reserveNumbers: number[]): number {
80
80
  for (let i = 1; i < Number.MAX_VALUE; i++) {
81
81
  if (reserveNumbers.includes(i)) {
82
82
  continue;
@@ -1,14 +1,4 @@
1
1
  export { isMetaFile } from './isMetaFile.js';
2
2
  export { mapErrors } from './mapErrors.js';
3
3
  export { parseMetaFile } from './parseMetaFile.js';
4
- export {
5
- linkMetaWithSpectra,
6
- AutomaticPathsMatchesError,
7
- TargetPathError,
8
- SourcePathError,
9
- } from './linkMetaWithSpectra.js';
10
-
11
- export type {
12
- CompareResultItem,
13
- CompareResult,
14
- } from './linkMetaWithSpectra.js';
4
+ export { linkMetaWithSpectra, TargetPathError } from './linkMetaWithSpectra.js';