nmrium 1.2.1 → 1.4.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 (1134) hide show
  1. package/lib/component/1d/BrushTracker1D.d.ts +2 -3
  2. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  3. package/lib/component/1d/BrushTracker1D.js +2 -3
  4. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  5. package/lib/component/1d/ExclusionZoneAnnotation.js +3 -3
  6. package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
  7. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  8. package/lib/component/1d/FloatPublicationString.js +6 -8
  9. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  10. package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
  11. package/lib/component/1d/FloatingRanges.js +4 -7
  12. package/lib/component/1d/FloatingRanges.js.map +1 -1
  13. package/lib/component/1d/FooterBanner.js.map +1 -1
  14. package/lib/component/1d/Line.js +2 -2
  15. package/lib/component/1d/Line.js.map +1 -1
  16. package/lib/component/1d/PredictionErrorsNotations.js +2 -2
  17. package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
  18. package/lib/component/1d/SimilarityTree.js +1 -1
  19. package/lib/component/1d/SimilarityTree.js.map +1 -1
  20. package/lib/component/1d/XAxis1D.js +3 -3
  21. package/lib/component/1d/XAxis1D.js.map +1 -1
  22. package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
  23. package/lib/component/1d/database/DatabaseElements.js +2 -2
  24. package/lib/component/1d/database/DatabaseElements.js.map +1 -1
  25. package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
  26. package/lib/component/1d/database/DatabaseSpectrum.js +3 -3
  27. package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
  28. package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
  29. package/lib/component/1d/database/ResurrectedDatabaseRanges.js +3 -3
  30. package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
  31. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  32. package/lib/component/1d/inset/DraggableInset.js +117 -68
  33. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  34. package/lib/component/1d/inset/InsetViewerRoot.d.ts +2 -3
  35. package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
  36. package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
  37. package/lib/component/1d/integral/IntegralResizable.js +2 -2
  38. package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
  39. package/lib/component/1d/jCouplingGraph/JGraph.js +1 -1
  40. package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
  41. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +1 -1
  42. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -1
  43. package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
  44. package/lib/component/1d/matrix/Boxplot.js +3 -2
  45. package/lib/component/1d/matrix/Boxplot.js.map +1 -1
  46. package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
  47. package/lib/component/1d/matrix/Stocsy.js +5 -3
  48. package/lib/component/1d/matrix/Stocsy.js.map +1 -1
  49. package/lib/component/1d/multiAnalysis/AnalysisRange.js.map +1 -1
  50. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
  51. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  52. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
  53. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -5
  54. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
  55. package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -4
  56. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  57. package/lib/component/1d/peaks/PeakEditionManager.js +3 -0
  58. package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
  59. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
  60. package/lib/component/1d/peaks/Peaks.js +4 -4
  61. package/lib/component/1d/peaks/Peaks.js.map +1 -1
  62. package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
  63. package/lib/component/1d/ranges/Atoms.js +5 -1
  64. package/lib/component/1d/ranges/Atoms.js.map +1 -1
  65. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  66. package/lib/component/1d/ranges/Range.js +3 -3
  67. package/lib/component/1d/ranges/Range.js.map +1 -1
  68. package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
  69. package/lib/component/1d/ranges/Ranges.js +3 -4
  70. package/lib/component/1d/ranges/Ranges.js.map +1 -1
  71. package/lib/component/1d/tool/BaseLineZones.js.map +1 -1
  72. package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
  73. package/lib/component/1d/tool/PeakPointer.js +8 -7
  74. package/lib/component/1d/tool/PeakPointer.js.map +1 -1
  75. package/lib/component/1d/utilities/intersectionResolver.d.ts +4 -4
  76. package/lib/component/1d/utilities/intersectionResolver.d.ts.map +1 -1
  77. package/lib/component/1d/utilities/intersectionResolver.js.map +1 -1
  78. package/lib/component/1d/utilities/scale.js +1 -1
  79. package/lib/component/1d/utilities/scale.js.map +1 -1
  80. package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
  81. package/lib/component/1d-2d/FieldEdition.js +2 -10
  82. package/lib/component/1d-2d/FieldEdition.js.map +1 -1
  83. package/lib/component/1d-2d/components/ClipPathContainer.d.ts +2 -3
  84. package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
  85. package/lib/component/1d-2d/components/ClipPathContainer.js.map +1 -1
  86. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
  87. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +24 -11
  88. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  89. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
  90. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
  91. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  92. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +4 -6
  93. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  94. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  95. package/lib/component/1d-2d/tools/CrossLinePointer.js +0 -1
  96. package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
  97. package/lib/component/2d/1d-tracer/Left1DChart.js +2 -2
  98. package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
  99. package/lib/component/2d/1d-tracer/Top1DChart.js +2 -2
  100. package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
  101. package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
  102. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
  103. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js +2 -2
  104. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
  105. package/lib/component/2d/BrushTracker2D.d.ts +2 -3
  106. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
  107. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  108. package/lib/component/2d/FooterBanner.d.ts +8 -5
  109. package/lib/component/2d/FooterBanner.d.ts.map +1 -1
  110. package/lib/component/2d/FooterBanner.js +3 -3
  111. package/lib/component/2d/FooterBanner.js.map +1 -1
  112. package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
  113. package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
  114. package/lib/component/2d/SignalDeltaLine.js +5 -2
  115. package/lib/component/2d/SignalDeltaLine.js.map +1 -1
  116. package/lib/component/2d/tools/XYLabelPointer.d.ts +8 -5
  117. package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
  118. package/lib/component/2d/tools/XYLabelPointer.js +4 -4
  119. package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
  120. package/lib/component/2d/utilities/DimensionLayout.d.ts +8 -7
  121. package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -1
  122. package/lib/component/2d/utilities/DimensionLayout.js +4 -4
  123. package/lib/component/2d/utilities/DimensionLayout.js.map +1 -1
  124. package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -0
  125. package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
  126. package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
  127. package/lib/component/2d/utilities/scale.d.ts.map +1 -1
  128. package/lib/component/2d/utilities/scale.js +5 -3
  129. package/lib/component/2d/utilities/scale.js.map +1 -1
  130. package/lib/component/2d/zones/Signal.d.ts.map +1 -1
  131. package/lib/component/2d/zones/Signal.js +7 -8
  132. package/lib/component/2d/zones/Signal.js.map +1 -1
  133. package/lib/component/2d/zones/SignalCrosshair.d.ts +2 -2
  134. package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
  135. package/lib/component/2d/zones/SignalCrosshair.js +1 -2
  136. package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
  137. package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
  138. package/lib/component/2d/zones/SignalsGuideLines.js +24 -14
  139. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  140. package/lib/component/2d/zones/Zone.d.ts.map +1 -1
  141. package/lib/component/2d/zones/Zone.js +12 -11
  142. package/lib/component/2d/zones/Zone.js.map +1 -1
  143. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  144. package/lib/component/2d/zones/ZonesAssignmentsLabels.js +3 -2
  145. package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
  146. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  147. package/lib/component/EventsTrackers/BrushTracker.js +5 -3
  148. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  149. package/lib/component/EventsTrackers/KeysListenerTracker.js +11 -11
  150. package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
  151. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  152. package/lib/component/SVGTable.js.map +1 -1
  153. package/lib/component/assignment/AssignmentsContext.d.ts +1 -0
  154. package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
  155. package/lib/component/assignment/AssignmentsContext.js +1 -0
  156. package/lib/component/assignment/AssignmentsContext.js.map +1 -1
  157. package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
  158. package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
  159. package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
  160. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  161. package/lib/component/context/LoggerContext.js.map +1 -1
  162. package/lib/component/context/PreferencesContext.d.ts +5 -1
  163. package/lib/component/context/PreferencesContext.d.ts.map +1 -1
  164. package/lib/component/context/PreferencesContext.js +3 -3
  165. package/lib/component/context/PreferencesContext.js.map +1 -1
  166. package/lib/component/context/ScaleContext.d.ts +3 -4
  167. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  168. package/lib/component/context/ScaleContext.js.map +1 -1
  169. package/lib/component/context/SortSpectraContext.js +1 -1
  170. package/lib/component/context/SortSpectraContext.js.map +1 -1
  171. package/lib/component/elements/ActionsButtonsPopover.d.ts +8 -1
  172. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  173. package/lib/component/elements/ActionsButtonsPopover.js +29 -2
  174. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  175. package/lib/component/elements/Alert.js.map +1 -1
  176. package/lib/component/elements/Button.js.map +1 -1
  177. package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
  178. package/lib/component/elements/D3Axis.js.map +1 -1
  179. package/lib/component/elements/DialogManager.d.ts +3 -4
  180. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  181. package/lib/component/elements/DialogManager.js.map +1 -1
  182. package/lib/component/elements/EditableColumn.js.map +1 -1
  183. package/lib/component/elements/Input.js.map +1 -1
  184. package/lib/component/elements/Input2.d.ts +2 -1
  185. package/lib/component/elements/Input2.d.ts.map +1 -1
  186. package/lib/component/elements/Input2.js.map +1 -1
  187. package/lib/component/elements/InputRange.js.map +1 -1
  188. package/lib/component/elements/MoleculeSelection.js.map +1 -1
  189. package/lib/component/elements/NextPrev.d.ts +0 -1
  190. package/lib/component/elements/NextPrev.d.ts.map +1 -1
  191. package/lib/component/elements/NextPrev.js +5 -21
  192. package/lib/component/elements/NextPrev.js.map +1 -1
  193. package/lib/component/elements/NumberInput2.js.map +1 -1
  194. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
  195. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
  196. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +1 -1
  197. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +1 -1
  198. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
  199. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +2 -2
  200. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
  201. package/lib/component/elements/ReactTable/ReactTable.d.ts +4 -4
  202. package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
  203. package/lib/component/elements/ReactTable/ReactTable.js +2 -1
  204. package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
  205. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
  206. package/lib/component/elements/ReactTable/utility/addCustomColumn.js +2 -2
  207. package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +1 -1
  208. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +2 -1
  209. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +1 -1
  210. package/lib/component/elements/ReactTable/utility/useRowSpan.js +5 -1
  211. package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +1 -1
  212. package/lib/component/elements/ReadOnly.js.map +1 -1
  213. package/lib/component/elements/SVGButton.d.ts +2 -2
  214. package/lib/component/elements/SVGButton.d.ts.map +1 -1
  215. package/lib/component/elements/SVGButton.js +2 -1
  216. package/lib/component/elements/SVGButton.js.map +1 -1
  217. package/lib/component/elements/Sections.d.ts.map +1 -1
  218. package/lib/component/elements/Sections.js +1 -2
  219. package/lib/component/elements/Sections.js.map +1 -1
  220. package/lib/component/elements/Select.d.ts +6 -6
  221. package/lib/component/elements/Select.d.ts.map +1 -1
  222. package/lib/component/elements/Select.js +5 -4
  223. package/lib/component/elements/Select.js.map +1 -1
  224. package/lib/component/elements/Select2.d.ts.map +1 -1
  225. package/lib/component/elements/Select2.js.map +1 -1
  226. package/lib/component/elements/Tab/Tab.js.map +1 -1
  227. package/lib/component/elements/Tab/Tabs.d.ts +2 -5
  228. package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
  229. package/lib/component/elements/Tab/Tabs.js +2 -7
  230. package/lib/component/elements/Tab/Tabs.js.map +1 -1
  231. package/lib/component/elements/TabTitle.js.map +1 -1
  232. package/lib/component/elements/TabsProvider.js.map +1 -1
  233. package/lib/component/elements/ToolbarPopoverItem.d.ts +4 -3
  234. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  235. package/lib/component/elements/ToolbarPopoverItem.js +13 -5
  236. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
  237. package/lib/component/elements/draggable/useDraggable.d.ts +2 -1
  238. package/lib/component/elements/draggable/useDraggable.d.ts.map +1 -1
  239. package/lib/component/elements/draggable/useDraggable.js +2 -2
  240. package/lib/component/elements/draggable/useDraggable.js.map +1 -1
  241. package/lib/component/elements/dropDownButton/DropDownButton.d.ts +2 -6
  242. package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
  243. package/lib/component/elements/dropDownButton/DropDownButton.js +4 -4
  244. package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
  245. package/lib/component/elements/dropDownButton/DropDownList.d.ts +3 -3
  246. package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
  247. package/lib/component/elements/dropDownButton/DropDownList.js +3 -3
  248. package/lib/component/elements/dropDownButton/DropDownList.js.map +1 -1
  249. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  250. package/lib/component/elements/export/ExportManager.js +2 -2
  251. package/lib/component/elements/export/ExportManager.js.map +1 -1
  252. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
  253. package/lib/component/elements/export/units.d.ts.map +1 -1
  254. package/lib/component/elements/export/units.js.map +1 -1
  255. package/lib/component/elements/export/useExportConfigurer.d.ts +2 -2
  256. package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
  257. package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
  258. package/lib/component/elements/pdnd.cjs +3 -1
  259. package/lib/component/elements/pdnd.cjs.map +1 -1
  260. package/lib/component/elements/pdnd.d.cts.map +1 -1
  261. package/lib/component/elements/print/PrintContent.js.map +1 -1
  262. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
  263. package/lib/component/header/AutoPeakPickingOptionPanel.js +2 -2
  264. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  265. package/lib/component/header/Header.js.map +1 -1
  266. package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
  267. package/lib/component/header/Zones2DOptionPanel.js.map +1 -1
  268. package/lib/component/highlight/index.d.ts +2 -18
  269. package/lib/component/highlight/index.d.ts.map +1 -1
  270. package/lib/component/highlight/index.js +1 -18
  271. package/lib/component/highlight/index.js.map +1 -1
  272. package/lib/component/hooks/useActiveNucleusTab.d.ts +2 -0
  273. package/lib/component/hooks/useActiveNucleusTab.d.ts.map +1 -0
  274. package/lib/component/hooks/useActiveNucleusTab.js +6 -0
  275. package/lib/component/hooks/useActiveNucleusTab.js.map +1 -0
  276. package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -1
  277. package/lib/component/hooks/useCheckToolsVisibility.d.ts +2 -2
  278. package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
  279. package/lib/component/hooks/useCheckToolsVisibility.js +2 -1
  280. package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
  281. package/lib/component/hooks/useDialogToggle.d.ts +1 -1
  282. package/lib/component/hooks/useDialogToggle.d.ts.map +1 -1
  283. package/lib/component/hooks/useDialogToggle.js +2 -7
  284. package/lib/component/hooks/useDialogToggle.js.map +1 -1
  285. package/lib/component/hooks/useFormatNumberByNucleus.d.ts.map +1 -1
  286. package/lib/component/hooks/useFormatNumberByNucleus.js +1 -1
  287. package/lib/component/hooks/useFormatNumberByNucleus.js.map +1 -1
  288. package/lib/component/hooks/useResizerStatus.d.ts +2 -2
  289. package/lib/component/hooks/useResizerStatus.d.ts.map +1 -1
  290. package/lib/component/hooks/useResizerStatus.js.map +1 -1
  291. package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
  292. package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
  293. package/lib/component/hooks/useSaveSettings.js +1 -9
  294. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  295. package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
  296. package/lib/component/hooks/useTableSortBy.js +10 -16
  297. package/lib/component/hooks/useTableSortBy.js.map +1 -1
  298. package/lib/component/hooks/useToggleSpectraVisibility.d.ts.map +1 -1
  299. package/lib/component/hooks/useToggleSpectraVisibility.js +2 -2
  300. package/lib/component/hooks/useToggleSpectraVisibility.js.map +1 -1
  301. package/lib/component/hooks/useToolsFunctions.d.ts +2 -1
  302. package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -1
  303. package/lib/component/hooks/useToolsFunctions.js.map +1 -1
  304. package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
  305. package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
  306. package/lib/component/hooks/useXScale.d.ts +1 -1
  307. package/lib/component/hooks/useXScale.d.ts.map +1 -1
  308. package/lib/component/hooks/useXYReduce.d.ts +2 -6
  309. package/lib/component/hooks/useXYReduce.d.ts.map +1 -1
  310. package/lib/component/hooks/useXYReduce.js +1 -6
  311. package/lib/component/hooks/useXYReduce.js.map +1 -1
  312. package/lib/component/main/NMRiumViewer.js.map +1 -1
  313. package/lib/component/modal/EditPeakShapeModal.js +2 -2
  314. package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
  315. package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
  316. package/lib/component/modal/ImportPublicationStringModal.js +1 -1
  317. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
  318. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  319. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  320. package/lib/component/modal/LogsHistoryModal.js +1 -1
  321. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  322. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
  323. package/lib/component/modal/PredictSpectraModal.js.map +1 -1
  324. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  325. package/lib/component/modal/PublicationStringModal.js +58 -23
  326. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  327. package/lib/component/modal/SaveAsModal.js +3 -4
  328. package/lib/component/modal/SaveAsModal.js.map +1 -1
  329. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  330. package/lib/component/modal/aboutUs/AboutUsModal.js +8 -10
  331. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
  332. package/lib/component/modal/changeSum/ChangeSumModalContents.js.map +1 -1
  333. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  334. package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
  335. package/lib/component/modal/editRange/EditRangeModal.js +2 -2
  336. package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
  337. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +2 -1
  338. package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
  339. package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
  340. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
  341. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +2 -2
  342. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
  343. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
  344. package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
  345. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  346. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
  347. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
  348. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  349. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  350. package/lib/component/modal/editZone/EditZoneModal.d.ts +5 -0
  351. package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
  352. package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
  353. package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
  354. package/lib/component/modal/editZone/SignalsForm.js +6 -2
  355. package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
  356. package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -0
  357. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  358. package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
  359. package/lib/component/modal/setting/GeneralSettings.js +15 -6
  360. package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
  361. package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
  362. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +1 -1
  363. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +2 -1
  364. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
  365. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +1 -1
  366. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +19 -10
  367. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
  368. package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -1
  369. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +1 -1
  370. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +2 -1
  371. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
  372. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +1 -1
  373. package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +1 -1
  374. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +1 -1
  375. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +2 -1
  376. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
  377. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +1 -2
  378. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +1 -1
  379. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +3 -3
  380. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
  381. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -1
  382. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +2 -1
  383. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
  384. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +1 -1
  385. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +5 -5
  386. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
  387. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +1 -2
  388. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +1 -1
  389. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +1 -2
  390. package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +1 -1
  391. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
  392. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
  393. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +1 -1
  394. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
  395. package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
  396. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
  397. package/lib/component/panels/IntegralsPanel/IntegralTable.js +4 -3
  398. package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
  399. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
  400. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
  401. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -1
  402. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
  403. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
  404. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +4 -2
  405. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js.map +1 -1
  406. package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
  407. package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
  408. package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
  409. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
  410. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
  411. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  412. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +34 -7
  413. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  414. package/lib/component/panels/MoleculesPanel/Utilities.d.ts.map +1 -1
  415. package/lib/component/panels/MoleculesPanel/Utilities.js +8 -2
  416. package/lib/component/panels/MoleculesPanel/Utilities.js.map +1 -1
  417. package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts.map +1 -1
  418. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +4 -6
  419. package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
  420. package/lib/component/panels/Panels.d.ts +2 -3
  421. package/lib/component/panels/Panels.d.ts.map +1 -1
  422. package/lib/component/panels/Panels.js +1 -1
  423. package/lib/component/panels/Panels.js.map +1 -1
  424. package/lib/component/panels/PanelsBar.js.map +1 -1
  425. package/lib/component/panels/PeaksPanel/PeaksPanel.js +4 -4
  426. package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
  427. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  428. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  429. package/lib/component/panels/PeaksPanel/PeaksTable.js +2 -1
  430. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  431. package/lib/component/panels/RangesPanel/RangesHeader.js +2 -2
  432. package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
  433. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
  434. package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
  435. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  436. package/lib/component/panels/RangesPanel/RangesTableRow.js +4 -4
  437. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  438. package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js.map +1 -1
  439. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js.map +1 -1
  440. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts.map +1 -1
  441. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +1 -2
  442. package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js.map +1 -1
  443. package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
  444. package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
  445. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts.map +1 -1
  446. package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js.map +1 -1
  447. package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
  448. package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
  449. package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
  450. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -1
  451. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
  452. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +3 -3
  453. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
  454. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  455. package/lib/component/panels/SpectraPanel/SpectraTable.js +16 -17
  456. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  457. package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
  458. package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -3
  459. package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
  460. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
  461. package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.js.map +1 -1
  462. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
  463. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
  464. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  465. package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
  466. package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.js.map +1 -1
  467. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +3 -2
  468. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
  469. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +2 -1
  470. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
  471. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +9 -6
  472. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
  473. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +10 -11
  474. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
  475. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +18 -10
  476. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
  477. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +2 -2
  478. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
  479. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +3 -2
  480. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
  481. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +10 -11
  482. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
  483. package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js.map +1 -1
  484. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
  485. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  486. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +2 -2
  487. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  488. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  489. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  490. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  491. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  492. package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js.map +1 -1
  493. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  494. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
  495. package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
  496. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
  497. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
  498. package/lib/component/panels/ZonesPanel/ZonesPanel.js +4 -5
  499. package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
  500. package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
  501. package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
  502. package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
  503. package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
  504. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
  505. package/lib/component/panels/accordionItems.d.ts.map +1 -1
  506. package/lib/component/panels/accordionItems.js +1 -2
  507. package/lib/component/panels/accordionItems.js.map +1 -1
  508. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  509. package/lib/component/panels/databasePanel/DatabasePanel.js +4 -1
  510. package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
  511. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
  512. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
  513. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  514. package/lib/component/panels/databasePanel/DatabaseTable.js +6 -4
  515. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  516. package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +1 -1
  517. package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
  518. package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
  519. package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
  520. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
  521. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
  522. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  523. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  524. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +3 -1
  525. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  526. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
  527. package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
  528. package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -1
  529. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
  530. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
  531. package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
  532. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
  533. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
  534. package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
  535. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
  536. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  537. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
  538. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  539. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +6 -6
  540. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
  541. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -3
  542. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
  543. package/lib/component/panels/filtersPanel/Filters/index.d.ts +2 -26
  544. package/lib/component/panels/filtersPanel/Filters/index.d.ts.map +1 -1
  545. package/lib/component/panels/filtersPanel/Filters/index.js +1 -0
  546. package/lib/component/panels/filtersPanel/Filters/index.js.map +1 -1
  547. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  548. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  549. package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
  550. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  551. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +3 -2
  552. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
  553. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
  554. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
  555. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +9 -6
  556. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  557. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
  558. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
  559. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
  560. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +1 -1
  561. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -1
  562. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
  563. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +3 -1
  564. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  565. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
  566. package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
  567. package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js.map +1 -1
  568. package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js.map +1 -1
  569. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
  570. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
  571. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -1
  572. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  573. package/lib/component/reducer/Reducer.js +11 -10
  574. package/lib/component/reducer/Reducer.js.map +1 -1
  575. package/lib/component/reducer/actions/DomainActions.d.ts +7 -6
  576. package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
  577. package/lib/component/reducer/actions/DomainActions.js +19 -19
  578. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  579. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  580. package/lib/component/reducer/actions/FiltersActions.js +12 -11
  581. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  582. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  583. package/lib/component/reducer/actions/InsetActions.js +6 -5
  584. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  585. package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
  586. package/lib/component/reducer/actions/IntegralsActions.js +3 -3
  587. package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
  588. package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
  589. package/lib/component/reducer/actions/LoadActions.js +3 -0
  590. package/lib/component/reducer/actions/LoadActions.js.map +1 -1
  591. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  592. package/lib/component/reducer/actions/MoleculeActions.js +2 -1
  593. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  594. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  595. package/lib/component/reducer/actions/PeaksActions.js +2 -2
  596. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  597. package/lib/component/reducer/actions/PreferencesActions.js +1 -1
  598. package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
  599. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  600. package/lib/component/reducer/actions/RangesActions.js +2 -2
  601. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  602. package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
  603. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  604. package/lib/component/reducer/actions/SpectraActions.js +20 -12
  605. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  606. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  607. package/lib/component/reducer/actions/ToolsActions.js +13 -24
  608. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  609. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts +1 -1
  610. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts.map +1 -1
  611. package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.js.map +1 -1
  612. package/lib/component/reducer/helper/Zoom1DManager.d.ts +2 -8
  613. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
  614. package/lib/component/reducer/helper/Zoom1DManager.js +0 -6
  615. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
  616. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  617. package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
  618. package/lib/component/reducer/helper/get2DRange.d.ts.map +1 -1
  619. package/lib/component/reducer/helper/get2DRange.js.map +1 -1
  620. package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
  621. package/lib/component/reducer/helper/getRange.d.ts.map +1 -1
  622. package/lib/component/reducer/helper/getRange.js.map +1 -1
  623. package/lib/component/reducer/helper/getSpectrum.d.ts +6 -3
  624. package/lib/component/reducer/helper/getSpectrum.d.ts.map +1 -1
  625. package/lib/component/reducer/helper/getSpectrum.js +1 -0
  626. package/lib/component/reducer/helper/getSpectrum.js.map +1 -1
  627. package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts +4 -0
  628. package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts.map +1 -0
  629. package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js +10 -0
  630. package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js.map +1 -0
  631. package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
  632. package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
  633. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
  634. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
  635. package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
  636. package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
  637. package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts +2 -2
  638. package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts.map +1 -1
  639. package/lib/component/reducer/preferences/actions/setPanelsPreferences.js.map +1 -1
  640. package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
  641. package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
  642. package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
  643. package/lib/component/reducer/preferences/actions/togglePanel.d.ts.map +1 -1
  644. package/lib/component/reducer/preferences/actions/togglePanel.js +6 -6
  645. package/lib/component/reducer/preferences/actions/togglePanel.js.map +1 -1
  646. package/lib/component/reducer/preferences/preferencesReducer.d.ts +11 -8
  647. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  648. package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
  649. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
  650. package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +2 -1
  651. package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts.map +1 -1
  652. package/lib/component/reducer/preferences/utilities/initWorkspace.js.map +1 -1
  653. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -2
  654. package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
  655. package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
  656. package/lib/component/toolbar/ToolBar.js +9 -9
  657. package/lib/component/toolbar/ToolBar.js.map +1 -1
  658. package/lib/component/toolbar/ToolTypes.d.ts +7 -2
  659. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
  660. package/lib/component/toolbar/ToolTypes.js +2 -43
  661. package/lib/component/toolbar/ToolTypes.js.map +1 -1
  662. package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -1
  663. package/lib/component/toolbar/toolbarMenu.js +25 -17
  664. package/lib/component/toolbar/toolbarMenu.js.map +1 -1
  665. package/lib/component/utility/Events.d.ts.map +1 -1
  666. package/lib/component/utility/Events.js.map +1 -1
  667. package/lib/component/utility/LocalStorage.d.ts.map +1 -1
  668. package/lib/component/utility/LocalStorage.js.map +1 -1
  669. package/lib/component/utility/export.d.ts +1 -1
  670. package/lib/component/utility/export.d.ts.map +1 -1
  671. package/lib/component/utility/export.js +8 -8
  672. package/lib/component/utility/export.js.map +1 -1
  673. package/lib/component/utility/extractChemicalElement.js +1 -1
  674. package/lib/component/utility/extractChemicalElement.js.map +1 -1
  675. package/lib/component/utility/formatNumber.d.ts +1 -1
  676. package/lib/component/utility/formatNumber.d.ts.map +1 -1
  677. package/lib/component/utility/forwardRef.d.ts +3 -0
  678. package/lib/component/utility/forwardRef.d.ts.map +1 -0
  679. package/lib/component/utility/forwardRef.js +6 -0
  680. package/lib/component/utility/forwardRef.js.map +1 -0
  681. package/lib/component/utility/getSpectraObjectPaths.d.ts +1 -1
  682. package/lib/component/utility/getSpectraObjectPaths.js.map +1 -1
  683. package/lib/component/utility/getUniqueNuclei.js.map +1 -1
  684. package/lib/component/utility/groupByInfoKey.d.ts +4 -0
  685. package/lib/component/utility/groupByInfoKey.d.ts.map +1 -0
  686. package/lib/component/utility/{GroupByInfoKey.js → groupByInfoKey.js} +8 -6
  687. package/lib/component/utility/groupByInfoKey.js.map +1 -0
  688. package/lib/component/utility/nucleusToString.d.ts.map +1 -1
  689. package/lib/component/utility/nucleusToString.js.map +1 -1
  690. package/lib/component/utility/renderCoreSlot.d.ts +8 -1
  691. package/lib/component/utility/renderCoreSlot.d.ts.map +1 -1
  692. package/lib/component/utility/renderCoreSlot.js +10 -2
  693. package/lib/component/utility/renderCoreSlot.js.map +1 -1
  694. package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
  695. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  696. package/lib/component/workspaces/workspaceDefaultProperties.js +16 -0
  697. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  698. package/lib/data/PredictionManager.d.ts +1 -1
  699. package/lib/data/PredictionManager.d.ts.map +1 -1
  700. package/lib/data/PredictionManager.js +3 -2
  701. package/lib/data/PredictionManager.js.map +1 -1
  702. package/lib/data/SpectraManager.d.ts +2 -7
  703. package/lib/data/SpectraManager.d.ts.map +1 -1
  704. package/lib/data/SpectraManager.js +11 -11
  705. package/lib/data/SpectraManager.js.map +1 -1
  706. package/lib/data/constants/References.d.ts +4 -1
  707. package/lib/data/constants/References.d.ts.map +1 -1
  708. package/lib/data/constants/References.js +24 -22
  709. package/lib/data/constants/References.js.map +1 -1
  710. package/lib/data/data1d/Spectrum1D/generateJGraphData.js +2 -1
  711. package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
  712. package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
  713. package/lib/data/data1d/Spectrum1D/get1DColor.js +2 -2
  714. package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
  715. package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
  716. package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -3
  717. package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
  718. package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts +4 -0
  719. package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts.map +1 -1
  720. package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +1 -1
  721. package/lib/data/data1d/Spectrum1D/isRangeAssigned.js.map +1 -1
  722. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +3 -3
  723. package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
  724. package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +1 -1
  725. package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +1 -1
  726. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
  727. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
  728. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
  729. package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -1
  730. package/lib/data/data1d/Spectrum1D/ranges/createRange.js +1 -0
  731. package/lib/data/data1d/Spectrum1D/ranges/createRange.js.map +1 -1
  732. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
  733. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
  734. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -0
  735. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
  736. package/lib/data/data1d/database.js.map +1 -1
  737. package/lib/data/data1d/multipleSpectraAnalysis.d.ts +9 -15
  738. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
  739. package/lib/data/data1d/multipleSpectraAnalysis.js +30 -19
  740. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  741. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  742. package/lib/data/data2d/Spectrum2D/contours.js +2 -0
  743. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  744. package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
  745. package/lib/data/data2d/Spectrum2D/get2DColor.js +2 -2
  746. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  747. package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
  748. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  749. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
  750. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
  751. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +1 -1
  752. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
  753. package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts.map +1 -1
  754. package/lib/data/data2d/Spectrum2D/zones/detectZones.js.map +1 -1
  755. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
  756. package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js.map +1 -1
  757. package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -1
  758. package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
  759. package/lib/data/getFilterLabel.js +8 -2
  760. package/lib/data/getFilterLabel.js.map +1 -1
  761. package/lib/data/initiateFilters.d.ts +1 -2
  762. package/lib/data/initiateFilters.d.ts.map +1 -1
  763. package/lib/data/initiateFilters.js.map +1 -1
  764. package/lib/data/matrixGeneration.js.map +1 -1
  765. package/lib/data/molecules/MoleculeManager.d.ts +6 -0
  766. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  767. package/lib/data/molecules/MoleculeManager.js +11 -0
  768. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  769. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  770. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  771. package/lib/data/parseMeta/mapErrors.d.ts +1 -1
  772. package/lib/data/parseMeta/mapErrors.d.ts.map +1 -1
  773. package/lib/data/parseMeta/mapErrors.js.map +1 -1
  774. package/lib/data/types/data1d/index.js +1 -1
  775. package/lib/data/types/data1d/index.js.map +1 -1
  776. package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
  777. package/lib/data/utilities/FindUtilities.js +5 -0
  778. package/lib/data/utilities/FindUtilities.js.map +1 -1
  779. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
  780. package/lib/data/utilities/RangeUtilities.js.map +1 -1
  781. package/lib/data/utilities/ZoneUtilities.d.ts +1 -1
  782. package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
  783. package/lib/data/utilities/ZoneUtilities.js.map +1 -1
  784. package/lib/data/utilities/convertSpectraListToObject.d.ts.map +1 -1
  785. package/lib/data/utilities/convertSpectraListToObject.js.map +1 -1
  786. package/lib/data/utilities/getAtom.js +1 -1
  787. package/lib/data/utilities/getAtom.js.map +1 -1
  788. package/lib/data/utilities/getAtomsFromMF.js.map +1 -1
  789. package/lib/data/utilities/removeByPaths.js.map +1 -1
  790. package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
  791. package/lib/utils/clipboard/clipboardHooks.js +2 -0
  792. package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
  793. package/lib/versionInfo.js +1 -1
  794. package/package.json +62 -53
  795. package/src/component/1d/BrushTracker1D.tsx +8 -8
  796. package/src/component/1d/ExclusionZoneAnnotation.tsx +3 -3
  797. package/src/component/1d/FloatPublicationString.tsx +14 -13
  798. package/src/component/1d/FloatingRanges.tsx +5 -11
  799. package/src/component/1d/FooterBanner.tsx +2 -2
  800. package/src/component/1d/Line.tsx +2 -2
  801. package/src/component/1d/PredictionErrorsNotations.tsx +2 -2
  802. package/src/component/1d/SimilarityTree.tsx +2 -2
  803. package/src/component/1d/XAxis1D.tsx +3 -3
  804. package/src/component/1d/database/DatabaseElements.tsx +2 -5
  805. package/src/component/1d/database/DatabaseSpectrum.tsx +3 -6
  806. package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +3 -6
  807. package/src/component/1d/inset/DraggableInset.tsx +156 -73
  808. package/src/component/1d/inset/InsetViewerRoot.tsx +2 -1
  809. package/src/component/1d/integral/IntegralResizable.tsx +3 -3
  810. package/src/component/1d/jCouplingGraph/JGraph.tsx +1 -1
  811. package/src/component/1d/jCouplingGraph/JGraphContext.tsx +1 -1
  812. package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
  813. package/src/component/1d/matrix/Boxplot.tsx +10 -9
  814. package/src/component/1d/matrix/Stocsy.tsx +11 -8
  815. package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
  816. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
  817. package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +4 -7
  818. package/src/component/1d/peaks/PeakEditionManager.tsx +12 -6
  819. package/src/component/1d/peaks/Peaks.tsx +7 -7
  820. package/src/component/1d/ranges/Atoms.tsx +5 -1
  821. package/src/component/1d/ranges/Range.tsx +4 -3
  822. package/src/component/1d/ranges/Ranges.tsx +11 -12
  823. package/src/component/1d/tool/BaseLineZones.tsx +1 -1
  824. package/src/component/1d/tool/PeakPointer.tsx +8 -7
  825. package/src/component/1d/utilities/intersectionResolver.ts +11 -11
  826. package/src/component/1d/utilities/scale.ts +1 -1
  827. package/src/component/1d-2d/FieldEdition.tsx +7 -11
  828. package/src/component/1d-2d/components/ClipPathContainer.tsx +3 -1
  829. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +38 -20
  830. package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
  831. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +5 -6
  832. package/src/component/1d-2d/tools/CrossLinePointer.tsx +0 -1
  833. package/src/component/2d/1d-tracer/Left1DChart.tsx +2 -2
  834. package/src/component/2d/1d-tracer/Top1DChart.tsx +2 -2
  835. package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
  836. package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +2 -5
  837. package/src/component/2d/BrushTracker2D.tsx +3 -2
  838. package/src/component/2d/FooterBanner.tsx +12 -6
  839. package/src/component/2d/SignalDeltaLine.tsx +5 -4
  840. package/src/component/2d/tools/XYLabelPointer.tsx +11 -5
  841. package/src/component/2d/utilities/DimensionLayout.ts +14 -14
  842. package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -0
  843. package/src/component/2d/utilities/scale.ts +8 -4
  844. package/src/component/2d/zones/Signal.tsx +16 -21
  845. package/src/component/2d/zones/SignalCrosshair.tsx +1 -3
  846. package/src/component/2d/zones/SignalsGuideLines.tsx +64 -23
  847. package/src/component/2d/zones/Zone.tsx +23 -18
  848. package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +5 -6
  849. package/src/component/EventsTrackers/BrushTracker.tsx +6 -6
  850. package/src/component/EventsTrackers/KeysListenerTracker.tsx +15 -15
  851. package/src/component/EventsTrackers/MouseTracker.tsx +2 -2
  852. package/src/component/SVGTable.tsx +3 -3
  853. package/src/component/assignment/AssignmentsContext.ts +2 -0
  854. package/src/component/assignment/utilities/getAssignments.ts +1 -1
  855. package/src/component/context/FilterSyncOptionsContext.tsx +2 -2
  856. package/src/component/context/LoggerContext.tsx +2 -2
  857. package/src/component/context/PreferencesContext.tsx +9 -4
  858. package/src/component/context/ScaleContext.tsx +3 -2
  859. package/src/component/context/SortSpectraContext.tsx +2 -2
  860. package/src/component/elements/ActionsButtonsPopover.tsx +64 -4
  861. package/src/component/elements/Alert.tsx +1 -1
  862. package/src/component/elements/Button.tsx +1 -1
  863. package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
  864. package/src/component/elements/D3Axis.tsx +1 -1
  865. package/src/component/elements/DialogManager.tsx +3 -2
  866. package/src/component/elements/EditableColumn.tsx +1 -1
  867. package/src/component/elements/Input.tsx +2 -2
  868. package/src/component/elements/Input2.tsx +8 -14
  869. package/src/component/elements/InputRange.tsx +3 -3
  870. package/src/component/elements/MoleculeSelection.tsx +1 -1
  871. package/src/component/elements/NextPrev.tsx +5 -29
  872. package/src/component/elements/NumberInput2.tsx +2 -2
  873. package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +1 -1
  874. package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +2 -2
  875. package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +4 -6
  876. package/src/component/elements/ReactTable/ReactTable.tsx +11 -11
  877. package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +4 -3
  878. package/src/component/elements/ReactTable/utility/useRowSpan.ts +15 -9
  879. package/src/component/elements/ReadOnly.tsx +1 -1
  880. package/src/component/elements/SVGButton.tsx +11 -9
  881. package/src/component/elements/Sections.tsx +2 -4
  882. package/src/component/elements/Select.tsx +17 -18
  883. package/src/component/elements/Select2.tsx +1 -1
  884. package/src/component/elements/Tab/Tab.tsx +3 -3
  885. package/src/component/elements/Tab/Tabs.tsx +5 -8
  886. package/src/component/elements/TabTitle.tsx +1 -1
  887. package/src/component/elements/TabsProvider.tsx +1 -1
  888. package/src/component/elements/ToolbarPopoverItem.tsx +44 -9
  889. package/src/component/elements/draggable/useDraggable.ts +9 -9
  890. package/src/component/elements/dropDownButton/DropDownButton.tsx +6 -16
  891. package/src/component/elements/dropDownButton/DropDownList.tsx +5 -15
  892. package/src/component/elements/export/ExportManager.tsx +6 -3
  893. package/src/component/elements/export/ExportOptionsModal.tsx +2 -2
  894. package/src/component/elements/export/units.ts +1 -1
  895. package/src/component/elements/export/useExportConfigurer.tsx +3 -3
  896. package/src/component/elements/pdnd.cts +3 -1
  897. package/src/component/elements/print/PrintContent.tsx +1 -1
  898. package/src/component/header/AutoPeakPickingOptionPanel.tsx +3 -2
  899. package/src/component/header/Header.tsx +1 -1
  900. package/src/component/header/RangesPickingOptionPanel.tsx +1 -1
  901. package/src/component/header/Zones2DOptionPanel.tsx +2 -2
  902. package/src/component/highlight/index.tsx +18 -22
  903. package/src/component/hooks/useActiveNucleusTab.ts +10 -0
  904. package/src/component/hooks/useActiveSpectrumZonesViewState.ts +1 -1
  905. package/src/component/hooks/useCheckToolsVisibility.ts +7 -4
  906. package/src/component/hooks/useDialogToggle.ts +10 -8
  907. package/src/component/hooks/useFormatNumberByNucleus.ts +4 -3
  908. package/src/component/hooks/useIntegralPath.ts +1 -1
  909. package/src/component/hooks/useResizerStatus.ts +2 -3
  910. package/src/component/hooks/useSVGUnitConverter.ts +1 -1
  911. package/src/component/hooks/useSaveSettings.tsx +3 -11
  912. package/src/component/hooks/useTableSortBy.tsx +15 -22
  913. package/src/component/hooks/useToggleSpectraVisibility.tsx +3 -7
  914. package/src/component/hooks/useToolsFunctions.ts +2 -2
  915. package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
  916. package/src/component/hooks/useXScale.ts +1 -1
  917. package/src/component/hooks/useXYReduce.ts +3 -9
  918. package/src/component/main/NMRiumViewer.tsx +1 -1
  919. package/src/component/modal/EditPeakShapeModal.tsx +4 -8
  920. package/src/component/modal/ExportAsJcampModal.tsx +1 -1
  921. package/src/component/modal/ImportPublicationStringModal.tsx +10 -6
  922. package/src/component/modal/LoadJCAMPModal.tsx +1 -1
  923. package/src/component/modal/LogsHistoryModal.tsx +6 -5
  924. package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
  925. package/src/component/modal/PredictSpectraModal.tsx +1 -1
  926. package/src/component/modal/PublicationStringModal.tsx +82 -42
  927. package/src/component/modal/SaveAsModal.tsx +8 -8
  928. package/src/component/modal/aboutUs/AboutUsModal.tsx +59 -54
  929. package/src/component/modal/changeSum/ChangeSumModalContents.tsx +2 -2
  930. package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
  931. package/src/component/modal/editRange/EditRangeModal.tsx +5 -8
  932. package/src/component/modal/editRange/forms/components/DeltaInput.tsx +3 -2
  933. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +4 -9
  934. package/src/component/modal/editRange/forms/components/SignalsContent.tsx +5 -4
  935. package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +17 -14
  936. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +17 -14
  937. package/src/component/modal/editZone/EditZoneModal.tsx +3 -3
  938. package/src/component/modal/editZone/SignalsForm.tsx +26 -9
  939. package/src/component/modal/metaImportation/MetaImportationModal.tsx +8 -7
  940. package/src/component/modal/setting/GeneralSettings.tsx +51 -33
  941. package/src/component/modal/setting/WorkspaceItem.tsx +3 -3
  942. package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +19 -9
  943. package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +25 -17
  944. package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +1 -1
  945. package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +18 -9
  946. package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +3 -2
  947. package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +21 -10
  948. package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +20 -13
  949. package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +13 -3
  950. package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +21 -12
  951. package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +7 -8
  952. package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
  953. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
  954. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
  955. package/src/component/panels/IntegralsPanel/IntegralTable.tsx +17 -13
  956. package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +2 -2
  957. package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +8 -7
  958. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
  959. package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.tsx +17 -4
  960. package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +11 -2
  961. package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +2 -2
  962. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +3 -2
  963. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +46 -21
  964. package/src/component/panels/MoleculesPanel/Utilities.ts +10 -5
  965. package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +6 -12
  966. package/src/component/panels/Panels.tsx +5 -2
  967. package/src/component/panels/PanelsBar.tsx +3 -3
  968. package/src/component/panels/PeaksPanel/PeaksPanel.tsx +14 -14
  969. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +2 -2
  970. package/src/component/panels/PeaksPanel/PeaksTable.tsx +15 -13
  971. package/src/component/panels/RangesPanel/RangesHeader.tsx +3 -3
  972. package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
  973. package/src/component/panels/RangesPanel/RangesPreferences.tsx +2 -2
  974. package/src/component/panels/RangesPanel/RangesTableRow.tsx +6 -10
  975. package/src/component/panels/RangesPanel/TableColumns/CouplingColumn.tsx +1 -1
  976. package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +1 -1
  977. package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.tsx +1 -2
  978. package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +1 -1
  979. package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
  980. package/src/component/panels/RangesPanel/hooks/useEditRangeModal.tsx +3 -3
  981. package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +1 -1
  982. package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +2 -2
  983. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +12 -11
  984. package/src/component/panels/SpectraPanel/SpectraTable.tsx +27 -26
  985. package/src/component/panels/SpectraPanel/SpectraTabs.tsx +4 -5
  986. package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +1 -1
  987. package/src/component/panels/SpectraPanel/base/ShowHideSpectrumButton.tsx +1 -1
  988. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +6 -5
  989. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
  990. package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
  991. package/src/component/panels/SpectraPanel/base/setting/processSnapPlot.ts +2 -2
  992. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +26 -16
  993. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +35 -23
  994. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +32 -13
  995. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +41 -31
  996. package/src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx +1 -1
  997. package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +5 -5
  998. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
  999. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +7 -5
  1000. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +17 -9
  1001. package/src/component/panels/ZonesPanel/TableColumns/ActionsColumn.tsx +1 -1
  1002. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -2
  1003. package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +2 -2
  1004. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +1 -1
  1005. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +30 -22
  1006. package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +2 -2
  1007. package/src/component/panels/ZonesPanel/ZonesTable.tsx +1 -1
  1008. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +1 -1
  1009. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -1
  1010. package/src/component/panels/accordionItems.tsx +1 -2
  1011. package/src/component/panels/databasePanel/DatabasePanel.tsx +17 -9
  1012. package/src/component/panels/databasePanel/DatabasePreferences.tsx +2 -2
  1013. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
  1014. package/src/component/panels/databasePanel/DatabaseTable.tsx +16 -10
  1015. package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +2 -2
  1016. package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +2 -2
  1017. package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +9 -8
  1018. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +15 -10
  1019. package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +2 -2
  1020. package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +2 -2
  1021. package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -3
  1022. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
  1023. package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -2
  1024. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -1
  1025. package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +4 -4
  1026. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +5 -5
  1027. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +8 -8
  1028. package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +7 -9
  1029. package/src/component/panels/filtersPanel/Filters/index.tsx +3 -1
  1030. package/src/component/panels/informationPanel/InformationEditionModal.tsx +12 -9
  1031. package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +6 -6
  1032. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +7 -6
  1033. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +2 -2
  1034. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +19 -12
  1035. package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +9 -8
  1036. package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +10 -7
  1037. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +6 -4
  1038. package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +1 -1
  1039. package/src/component/panels/predictionPanel/PredictionPreferences.tsx +2 -2
  1040. package/src/component/panels/predictionPanel/PredictionSimpleOptions.tsx +1 -1
  1041. package/src/component/panels/spectrumSimulation/SpectrumSimulation.tsx +2 -2
  1042. package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +1 -1
  1043. package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +6 -3
  1044. package/src/component/reducer/Reducer.ts +13 -12
  1045. package/src/component/reducer/actions/DomainActions.ts +45 -37
  1046. package/src/component/reducer/actions/FiltersActions.ts +30 -23
  1047. package/src/component/reducer/actions/InsetActions.ts +7 -10
  1048. package/src/component/reducer/actions/IntegralsActions.ts +6 -5
  1049. package/src/component/reducer/actions/LoadActions.ts +5 -2
  1050. package/src/component/reducer/actions/MoleculeActions.ts +3 -1
  1051. package/src/component/reducer/actions/PeaksActions.ts +5 -2
  1052. package/src/component/reducer/actions/PreferencesActions.ts +2 -2
  1053. package/src/component/reducer/actions/RangesActions.ts +15 -9
  1054. package/src/component/reducer/actions/SpectraActions.ts +23 -18
  1055. package/src/component/reducer/actions/ToolsActions.ts +30 -39
  1056. package/src/component/reducer/actions/utilities/deepReplaceDiaIDs.ts +1 -1
  1057. package/src/component/reducer/helper/Zoom1DManager.ts +3 -10
  1058. package/src/component/reducer/helper/ZoomHistoryManager.ts +5 -5
  1059. package/src/component/reducer/helper/get2DRange.ts +1 -1
  1060. package/src/component/reducer/helper/getActiveSpectraAsObject.ts +1 -1
  1061. package/src/component/reducer/helper/getRange.ts +1 -1
  1062. package/src/component/reducer/helper/getSpectrum.ts +17 -4
  1063. package/src/component/reducer/preferences/actions/changeExportAcsSettings.ts +19 -0
  1064. package/src/component/reducer/preferences/actions/initPreferences.ts +3 -3
  1065. package/src/component/reducer/preferences/actions/matrixGeneration.ts +7 -4
  1066. package/src/component/reducer/preferences/actions/setPanelsPreferences.ts +9 -3
  1067. package/src/component/reducer/preferences/actions/setPreferences.ts +1 -1
  1068. package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
  1069. package/src/component/reducer/preferences/actions/togglePanel.ts +10 -7
  1070. package/src/component/reducer/preferences/preferencesReducer.ts +24 -14
  1071. package/src/component/reducer/preferences/utilities/initWorkspace.ts +2 -1
  1072. package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +6 -2
  1073. package/src/component/toolbar/ToolBar.tsx +14 -14
  1074. package/src/component/toolbar/ToolTypes.ts +11 -52
  1075. package/src/component/toolbar/toolbarMenu.tsx +25 -17
  1076. package/src/component/utility/Events.tsx +6 -6
  1077. package/src/component/utility/LocalStorage.ts +5 -5
  1078. package/src/component/utility/export.ts +14 -13
  1079. package/src/component/utility/extractChemicalElement.ts +1 -1
  1080. package/src/component/utility/forwardRef.ts +10 -0
  1081. package/src/component/utility/getSpectraObjectPaths.ts +1 -1
  1082. package/src/component/utility/getUniqueNuclei.ts +1 -1
  1083. package/src/component/utility/groupByInfoKey.ts +34 -0
  1084. package/src/component/utility/nucleusToString.ts +1 -1
  1085. package/src/component/utility/renderCoreSlot.tsx +12 -2
  1086. package/src/component/utility/stackOverlappingLabels.ts +1 -1
  1087. package/src/component/workspaces/workspaceDefaultProperties.ts +16 -0
  1088. package/src/data/PredictionManager.ts +16 -14
  1089. package/src/data/SpectraManager.ts +20 -15
  1090. package/src/data/constants/References.ts +26 -25
  1091. package/src/data/data1d/Spectrum1D/generateJGraphData.ts +2 -3
  1092. package/src/data/data1d/Spectrum1D/get1DColor.ts +7 -3
  1093. package/src/data/data1d/Spectrum1D/getReferenceShift.ts +8 -4
  1094. package/src/data/data1d/Spectrum1D/isRangeAssigned.ts +2 -2
  1095. package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +10 -4
  1096. package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -1
  1097. package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +1 -1
  1098. package/src/data/data1d/Spectrum1D/ranges/createRange.ts +1 -0
  1099. package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +1 -1
  1100. package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -0
  1101. package/src/data/data1d/database.ts +2 -2
  1102. package/src/data/data1d/multipleSpectraAnalysis.ts +57 -29
  1103. package/src/data/data2d/Spectrum2D/contours.ts +3 -1
  1104. package/src/data/data2d/Spectrum2D/get2DColor.ts +8 -4
  1105. package/src/data/data2d/Spectrum2D/getMissingProjection.ts +1 -1
  1106. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
  1107. package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +4 -2
  1108. package/src/data/data2d/Spectrum2D/zones/detectZones.ts +4 -1
  1109. package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +4 -2
  1110. package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +2 -2
  1111. package/src/data/getFilterLabel.ts +10 -2
  1112. package/src/data/initiateFilters.ts +1 -5
  1113. package/src/data/matrixGeneration.ts +1 -1
  1114. package/src/data/molecules/MoleculeManager.ts +14 -0
  1115. package/src/data/parseMeta/linkMetaWithSpectra.ts +3 -3
  1116. package/src/data/parseMeta/mapErrors.ts +1 -1
  1117. package/src/data/utilities/FindUtilities.ts +5 -0
  1118. package/src/data/utilities/RangeUtilities.ts +1 -1
  1119. package/src/data/utilities/ZoneUtilities.ts +5 -5
  1120. package/src/data/utilities/convertSpectraListToObject.ts +2 -2
  1121. package/src/data/utilities/getAtom.ts +1 -1
  1122. package/src/data/utilities/getAtomsFromMF.ts +1 -1
  1123. package/src/data/utilities/removeByPaths.ts +2 -2
  1124. package/src/utils/clipboard/clipboardHooks.ts +5 -3
  1125. package/src/versionInfo.ts +1 -1
  1126. package/lib/component/utility/GroupByInfoKey.d.ts +0 -2
  1127. package/lib/component/utility/GroupByInfoKey.d.ts.map +0 -1
  1128. package/lib/component/utility/GroupByInfoKey.js.map +0 -1
  1129. package/lib/component/utility/assert.d.ts +0 -2
  1130. package/lib/component/utility/assert.d.ts.map +0 -1
  1131. package/lib/component/utility/assert.js +0 -6
  1132. package/lib/component/utility/assert.js.map +0 -1
  1133. package/src/component/utility/GroupByInfoKey.ts +0 -29
  1134. package/src/component/utility/assert.ts +0 -5
@@ -29,7 +29,7 @@ function getAtomType(nucleus: string): string {
29
29
  return nucleus.split(/\d+/)[1];
30
30
  }
31
31
 
32
- function getLabelColor(correlationData, correlation) {
32
+ function getLabelColor(correlationData: any, correlation: any) {
33
33
  const error = correlationData?.state?.[correlation.atomType]?.error ?? null;
34
34
 
35
35
  if (error) {
@@ -38,7 +38,7 @@ function getLabelColor(correlationData, correlation) {
38
38
  key !== 'incomplete' && // do not consider this for a single atom type
39
39
  (key === 'notAttached' || key === 'ambiguousAttachment') &&
40
40
  dlv(error, key, []).some(
41
- (index) => correlationData.values[index].id === correlation.id,
41
+ (index: any) => correlationData.values[index].id === correlation.id,
42
42
  )
43
43
  ) {
44
44
  return color;
@@ -141,7 +141,7 @@ function getAbbreviation(link: Link): string {
141
141
  return abbreviation;
142
142
  }
143
143
 
144
- function buildNewLink1D(link) {
144
+ function buildNewLink1D(link: any) {
145
145
  return buildLink({
146
146
  ...link,
147
147
  edited: {
@@ -409,7 +409,9 @@ function cloneCorrelationAndSetPathLength(
409
409
  const linkDim = getLinkDim(editedLink);
410
410
  if (linkDim === 2) {
411
411
  const editedLinkID = editedLink.id.split('_')[axis === 'x' ? 0 : 1];
412
- const _link = _correlation.link.find((link) => link.id === editedLinkID);
412
+ const _link = _correlation.link.find(
413
+ (link: any) => link.id === editedLinkID,
414
+ );
413
415
  if (_link) {
414
416
  const newPathLength: FromTo = editedLink.signal.j?.pathLength;
415
417
  // remove (previous) pathLength if it is same as default
@@ -482,7 +484,9 @@ function isInView(
482
484
 
483
485
  if (
484
486
  activeSpectrum === null ||
485
- !correlation.link.some((link) => link.experimentID === activeSpectrum.id)
487
+ !correlation.link.some(
488
+ (link: any) => link.experimentID === activeSpectrum.id,
489
+ )
486
490
  ) {
487
491
  return false;
488
492
  }
@@ -496,7 +500,9 @@ function isInView(
496
500
  const yDomain1 = yDomain[1] * factor;
497
501
 
498
502
  if (displayerMode === '1D') {
499
- const firstLink1D = correlation.link.find((link) => getLinkDim(link) === 1);
503
+ const firstLink1D = correlation.link.find(
504
+ (link: any) => getLinkDim(link) === 1,
505
+ );
500
506
  if (!firstLink1D) {
501
507
  return false;
502
508
  }
@@ -516,7 +522,7 @@ function isInView(
516
522
  }
517
523
  // try to find a link which contains the belonging 2D signal in the spectra in view
518
524
  if (
519
- correlation.link.some((link) => {
525
+ correlation.link.some((link: any) => {
520
526
  const spectrum = findSpectrum(
521
527
  spectraData,
522
528
  link.experimentID,
@@ -531,7 +537,9 @@ function isInView(
531
537
  if (!atomTypesInView.includes(correlation.atomType)) {
532
538
  return false;
533
539
  }
534
- const firstLink2D = correlation.link.find((link) => getLinkDim(link) === 2);
540
+ const firstLink2D = correlation.link.find(
541
+ (link: any) => getLinkDim(link) === 2,
542
+ );
535
543
  if (!firstLink2D) {
536
544
  return false;
537
545
  }
@@ -556,7 +564,7 @@ function isInView(
556
564
  }
557
565
  // try to find a link which contains the belonging 2D signal in the spectra in view
558
566
  else if (
559
- correlation.link.some((link) => {
567
+ correlation.link.some((link: any) => {
560
568
  const spectrum = findSpectrum(
561
569
  spectraData,
562
570
  link.experimentID,
@@ -28,7 +28,7 @@ function ActionsColumn({
28
28
  const dispatch = useDispatch();
29
29
  const showActions = showDeleteAction || showEditAction || showZoomAction;
30
30
 
31
- function changeSignalKindHandler(kind) {
31
+ function changeSignalKindHandler(kind: any) {
32
32
  dispatch({
33
33
  type: 'CHANGE_ZONE_SIGNAL_KIND',
34
34
  payload: {
@@ -21,8 +21,7 @@ function SignalAssignmentsColumn({
21
21
  handleOnMouseLeave,
22
22
  isHighlighted,
23
23
  } = useSignalHighlight(rowData);
24
-
25
- const diaIDs = rowData?.tableMetaInfo?.signal?.[axis]?.diaIDs || [];
24
+ const diaIDs = (rowData?.tableMetaInfo?.signal as any)?.[axis]?.diaIDs || [];
26
25
  const isSignalAssignmentActivate = signalAssignment.isActive;
27
26
  const isAssignmentActive =
28
27
  isSignalAssignmentActivate && signalAssignment.activated?.axis === axis;
@@ -35,7 +35,7 @@ function SignalDeltaColumn({ rowData, nucleus }: SignalDeltaColumnProps) {
35
35
  // @ts-expect-error Type is wrong.
36
36
  const id = rowData.tableMetaInfo.signal.id;
37
37
 
38
- function saveXHandler(event) {
38
+ function saveXHandler(event: any) {
39
39
  const value = Number(event.target.value);
40
40
  dispatch({
41
41
  type: 'CHANGE_ZONE_SIGNAL_VALUE',
@@ -46,7 +46,7 @@ function SignalDeltaColumn({ rowData, nucleus }: SignalDeltaColumnProps) {
46
46
  });
47
47
  }
48
48
 
49
- function saveYHandler(event) {
49
+ function saveYHandler(event: any) {
50
50
  const value = Number(event.target.value);
51
51
  dispatch({
52
52
  type: 'CHANGE_ZONE_SIGNAL_VALUE',
@@ -11,7 +11,7 @@ export function ZoneAssignmentLabelColumn({
11
11
  }: ZoneAssignmentLabelColumnProps) {
12
12
  const dispatch = useDispatch();
13
13
 
14
- function saveHandler(event) {
14
+ function saveHandler(event: any) {
15
15
  dispatch({
16
16
  type: 'CHANGE_ZONE_ASSIGNMENT_LABEL',
17
17
  payload: {
@@ -1,4 +1,4 @@
1
- import type { Spectrum2D } from '@zakodium/nmrium-core';
1
+ import type { Spectrum2D, ZonesViewState } from '@zakodium/nmrium-core';
2
2
  import { memo, useCallback, useMemo, useRef, useState } from 'react';
3
3
  import { FaUnlink } from 'react-icons/fa';
4
4
  import { LuMessageSquareText } from 'react-icons/lu';
@@ -17,17 +17,29 @@ import PreferencesHeader from '../header/PreferencesHeader.js';
17
17
  import ZonesPreferences from './ZonesPreferences.js';
18
18
  import ZonesTable from './ZonesTable.js';
19
19
 
20
- function ZonesPanelInner({
21
- zones,
22
- activeTab,
23
- xDomain,
24
- yDomain,
25
- info,
26
- showZones,
27
- showSignals,
28
- showPeaks,
29
- showAssignmentsLabels,
30
- }) {
20
+ interface MemoizedZonesPanelProps extends ZonesViewState {
21
+ xDomain: number[];
22
+ yDomain: number[];
23
+ activeTab: string;
24
+ zones: Spectrum2D['zones'];
25
+ info: Spectrum2D['info'];
26
+ }
27
+
28
+ const MemoizedZonesPanel = memo(function ZonesPanelInner(
29
+ props: MemoizedZonesPanelProps,
30
+ ) {
31
+ const {
32
+ zones,
33
+ activeTab,
34
+ xDomain,
35
+ yDomain,
36
+ info,
37
+ showZones,
38
+ showSignals,
39
+ showPeaks,
40
+ showAssignmentsLabels,
41
+ } = props;
42
+
31
43
  const [filterIsActive, setFilterIsActive] = useState(false);
32
44
  const dispatch = useDispatch();
33
45
  const alert = useAlert();
@@ -35,7 +47,7 @@ function ZonesPanelInner({
35
47
  const settingRef = useRef<SettingsRef | null>(null);
36
48
 
37
49
  const tableData = useMemo(() => {
38
- const isInView = (xFrom, xTo, yFrom, yTo) => {
50
+ const isInView = (xFrom: any, xTo: any, yFrom: any, yTo: any) => {
39
51
  const factor = 10000;
40
52
  xFrom = xFrom * factor;
41
53
  xTo = xTo * factor;
@@ -49,8 +61,8 @@ function ZonesPanelInner({
49
61
  );
50
62
  };
51
63
 
52
- const getFilteredZones = (zones) => {
53
- return zones.filter((zone) => {
64
+ const getFilteredZones = (zones: any) => {
65
+ return zones.filter((zone: any) => {
54
66
  return isInView(zone.x.from, zone.x.to, zone.y.from, zone.y.to);
55
67
  });
56
68
  };
@@ -59,7 +71,7 @@ function ZonesPanelInner({
59
71
  ? getFilteredZones(zones.values)
60
72
  : zones.values;
61
73
 
62
- return _zones.map((zone) => {
74
+ return _zones.map((zone: any) => {
63
75
  return {
64
76
  ...zone,
65
77
  tableMetaInfo: {
@@ -81,7 +93,7 @@ function ZonesPanelInner({
81
93
 
82
94
  const unlinkZoneHandler = useCallback(
83
95
  (
84
- zoneData?,
96
+ zoneData?: any,
85
97
  isOnZoneLevel = undefined,
86
98
  signalIndex = -1,
87
99
  axis = undefined,
@@ -242,15 +254,12 @@ function ZonesPanelInner({
242
254
  </div>
243
255
  </TablePanel>
244
256
  );
245
- }
246
-
247
- const MemoizedZonesPanel = memo(ZonesPanelInner);
257
+ });
248
258
 
249
259
  const emptyData = { zones: {}, info: {} };
250
260
 
251
261
  export default function ZonesPanel() {
252
262
  const {
253
- displayerKey,
254
263
  xDomain,
255
264
  yDomain,
256
265
  view: {
@@ -265,7 +274,6 @@ export default function ZonesPanel() {
265
274
  xDomain,
266
275
  yDomain,
267
276
  activeTab,
268
- displayerKey,
269
277
  zones,
270
278
  info,
271
279
  ...zoneProps,
@@ -66,7 +66,7 @@ const preferences2DFields: NucleusPreferenceField[] = [
66
66
  },
67
67
  ];
68
68
 
69
- function ZonesPreferences(props, ref) {
69
+ function ZonesPreferences(props: any, ref: any) {
70
70
  const preferences = usePreferences();
71
71
  const nucleus = useNucleus();
72
72
  const nuclei = useMemo(
@@ -77,7 +77,7 @@ function ZonesPreferences(props, ref) {
77
77
  const zonesPreferences = usePanelPreferencesByNuclei('zones', nuclei);
78
78
 
79
79
  const saveHandler = useCallback(
80
- (values) => {
80
+ (values: any) => {
81
81
  preferences.dispatch({
82
82
  type: 'SET_PANELS_PREFERENCES',
83
83
  payload: {
@@ -179,7 +179,7 @@ function ZonesTable({ tableData, onUnlink, nucleus, info }: ZonesTableProps) {
179
179
  </tr>
180
180
  </thead>
181
181
  <tbody>
182
- {sortedData.map((rowData, index) => (
182
+ {sortedData.map((rowData: any, index: any) => (
183
183
  <ZonesTableRow
184
184
  rowIndex={index}
185
185
  key={`${rowData.tableMetaInfo.id}`}
@@ -81,7 +81,7 @@ function ZonesTableRow({
81
81
  return (
82
82
  <ContextMenu
83
83
  options={contextMenu}
84
- onSelect={(selected) => onContextMenuSelect?.(selected, rowData)}
84
+ onSelect={(selected: any) => onContextMenuSelect?.(selected, rowData)}
85
85
  as="tr"
86
86
  style={
87
87
  highlightZone.isActive || assignmentZone.isActive
@@ -7,6 +7,7 @@ export interface ZoneData extends Zone {
7
7
  signalIndex: number;
8
8
  rowSpan: any;
9
9
  signal: {
10
+ // TODO: provide additional properties here (id, x, y, peaks...)
10
11
  kind: any;
11
12
  };
12
13
  experiment: string;
@@ -14,7 +15,7 @@ export interface ZoneData extends Zone {
14
15
  }
15
16
 
16
17
  export function useMapZones(
17
- data,
18
+ data: any,
18
19
  info: { experiment: string; nuclei: string[] },
19
20
  ): ZoneData[] {
20
21
  return useMemo(() => {
@@ -153,8 +153,7 @@ function mapToolsToPanels(
153
153
  ): Record<string, keyof NMRiumPanelPreferences> {
154
154
  const toolToPanelMap: Record<string, keyof NMRiumPanelPreferences> = {};
155
155
 
156
- for (const key in accordions) {
157
- const { openWithTool } = accordions[key];
156
+ for (const [key, { openWithTool }] of Object.entries(accordions)) {
158
157
  if (openWithTool) {
159
158
  toolToPanelMap[openWithTool] = key as keyof NMRiumPanelPreferences;
160
159
  }
@@ -59,6 +59,8 @@ function getMolfile(options: {
59
59
  if (smiles) {
60
60
  return Molecule.fromSmiles(smiles).toMolfileV3();
61
61
  }
62
+
63
+ return undefined;
62
64
  }
63
65
 
64
66
  interface DatabaseInnerProps {
@@ -177,7 +179,7 @@ function DatabasePanelInner({
177
179
  }, [idCode, keywords, search, toaster]);
178
180
 
179
181
  useEffect(() => {
180
- function handle(event) {
182
+ function handle(event: any) {
181
183
  if (selectedTool === options.databaseRangesSelection.id) {
182
184
  setKeywords((prevState) => {
183
185
  const oldKeywords = prevState.searchKeywords
@@ -220,7 +222,7 @@ function DatabasePanelInner({
220
222
  }, [nucleus, toaster]);
221
223
 
222
224
  const handleChangeDatabase = useCallback(
223
- (databaseKey) => {
225
+ (databaseKey: any) => {
224
226
  const database = databases.find((item) => item.key === databaseKey);
225
227
 
226
228
  setTimeout(async () => {
@@ -234,8 +236,8 @@ function DatabasePanelInner({
234
236
  try {
235
237
  databaseDataRef.current = await fetch(url)
236
238
  .then((response) => response.json())
237
- .then((databaseRecords) =>
238
- databaseRecords.map((record) => ({
239
+ .then((databaseRecords: any) =>
240
+ databaseRecords.map((record: any) => ({
239
241
  ...record,
240
242
  baseURL: url,
241
243
  })),
@@ -282,7 +284,7 @@ function DatabasePanelInner({
282
284
 
283
285
  const core = useCore();
284
286
  const resurrectHandler = useCallback(
285
- (rowData) => {
287
+ (rowData: any) => {
286
288
  const {
287
289
  index,
288
290
  baseURL,
@@ -327,7 +329,7 @@ function DatabasePanelInner({
327
329
  [core, dispatch, result.data, toaster],
328
330
  );
329
331
  const saveHandler = useCallback(
330
- (row) => {
332
+ (row: any) => {
331
333
  if (row?.jcampURL) {
332
334
  setTimeout(async () => {
333
335
  const hideLoading = toaster.showLoading({
@@ -353,7 +355,7 @@ function DatabasePanelInner({
353
355
  [core, result, toaster],
354
356
  );
355
357
  const removeHandler = useCallback(
356
- (row) => {
358
+ (row: any) => {
357
359
  const { spectrumID: id } = row;
358
360
  if (!id) {
359
361
  return;
@@ -398,7 +400,9 @@ function DatabasePanelInner({
398
400
  });
399
401
  }, [dispatch, spectra]);
400
402
  const searchByStructureHandler = (idCodeValue: string) => {
401
- setIdCode(idCodeValue);
403
+ const molecule = Molecule.fromIDCode(idCodeValue);
404
+ const atoms = molecule.getAllAtoms();
405
+ setIdCode(atoms > 0 ? idCodeValue : '');
402
406
  };
403
407
 
404
408
  return (
@@ -507,7 +511,11 @@ function mapSolventsToSelect(solvents: string[]) {
507
511
  return result;
508
512
  }
509
513
 
510
- async function saveJcampAsJson(core: NMRiumCore, rowData, filteredData) {
514
+ async function saveJcampAsJson(
515
+ core: NMRiumCore,
516
+ rowData: any,
517
+ filteredData: any,
518
+ ) {
511
519
  const { index, baseURL, jcampURL, names, ocl = {}, smiles } = rowData;
512
520
  const { ranges } = filteredData.data[index];
513
521
  const url = new URL(jcampURL, baseURL);
@@ -12,12 +12,12 @@ import { PreferencesContainer } from '../extra/preferences/PreferencesContainer.
12
12
  import { PreferencesGroup } from '../extra/preferences/PreferencesGroup.js';
13
13
  import { useSettingImperativeHandle } from '../extra/utilities/settingImperativeHandle.js';
14
14
 
15
- function DatabasePreferences(props, ref) {
15
+ function DatabasePreferences(props: any, ref: any) {
16
16
  const preferences = usePreferences();
17
17
  const databasePreferences = usePanelPreferences('database');
18
18
 
19
19
  const saveHandler = useCallback(
20
- (values) => {
20
+ (values: any) => {
21
21
  preferences.dispatch({
22
22
  type: 'SET_PANELS_PREFERENCES',
23
23
  payload: { key: 'database', value: values },
@@ -56,12 +56,12 @@ export function DatabaseSearchOptions(props: DatabaseSearchOptionsProps) {
56
56
  toolOptions: { selectedTool },
57
57
  } = useChartData();
58
58
  const dispatch = useDispatch();
59
- function enableFilterHandler(flag) {
59
+ function enableFilterHandler(flag: any) {
60
60
  const tool = !flag ? options.zoom.id : options.databaseRangesSelection.id;
61
61
  handleChangeOption(tool);
62
62
  }
63
63
 
64
- function handleSearch(input) {
64
+ function handleSearch(input: any) {
65
65
  if (typeof input === 'string' || input === -1) {
66
66
  const solvent = String(input);
67
67
  onKeywordsChange({ solvent });
@@ -6,13 +6,14 @@ import { ResponsiveChart } from 'react-d3-utils';
6
6
  import { FaDownload, FaMinus, FaPlus } from 'react-icons/fa';
7
7
  import { IdcodeSvgRenderer, SmilesSvgRenderer } from 'react-ocl';
8
8
  import { Button } from 'react-science/ui';
9
+ import type { CellProps } from 'react-table';
9
10
 
10
11
  import type { PrepareDataResult } from '../../../data/data1d/database.js';
11
12
  import { ColumnWrapper } from '../../elements/ColumnWrapper.js';
13
+ import type { Column } from '../../elements/ReactTable/ReactTable.js';
12
14
  import ReactTable from '../../elements/ReactTable/ReactTable.js';
13
15
  import type { CustomColumn } from '../../elements/ReactTable/utility/addCustomColumn.js';
14
16
  import addCustomColumn from '../../elements/ReactTable/utility/addCustomColumn.js';
15
- import { HighlightEventSource } from '../../highlight/index.js';
16
17
  import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
17
18
  import useSpectraByActiveNucleus from '../../hooks/useSpectraPerNucleus.js';
18
19
  import { formatNumber } from '../../utility/formatNumber.js';
@@ -34,7 +35,7 @@ const overFlowStyle: CSSProperties = {
34
35
  };
35
36
 
36
37
  const databaseTableColumns = (
37
- databasePreferences,
38
+ databasePreferences: any,
38
39
  ): Array<CustomColumn<PrepareDataResult> & { showWhen: string }> => [
39
40
  {
40
41
  showWhen: 'showNames',
@@ -69,7 +70,7 @@ const databaseTableColumns = (
69
70
  index: 3,
70
71
  Header: 'δ (ppm)',
71
72
  accessor: 'delta',
72
- Cell: ({ row }) =>
73
+ Cell: ({ row }: CellProps<PrepareDataResult>) =>
73
74
  row.original.delta
74
75
  ? formatNumber(row.original.delta, databasePreferences.delta.format)
75
76
  : '',
@@ -128,7 +129,7 @@ const databaseTableColumns = (
128
129
  accessor: 'index',
129
130
  style: { height: 0 },
130
131
  enableRowSpan: true,
131
- Cell({ row }) {
132
+ Cell({ row }: CellProps<PrepareDataResult>) {
132
133
  const { idCode, coordinates } = row.original?.ocl || {};
133
134
  const smiles = row.original?.smiles;
134
135
  const { minWidth = 0, minHeight = 0 } =
@@ -163,6 +164,8 @@ const databaseTableColumns = (
163
164
  },
164
165
  ];
165
166
 
167
+ type ColumnDef = Column<PrepareDataResult> & { index: number };
168
+
166
169
  function DatabaseTable({
167
170
  data,
168
171
  onAdd,
@@ -172,7 +175,7 @@ function DatabaseTable({
172
175
  }: DatabaseTableProps) {
173
176
  const databasePreferences = usePanelPreferences('database');
174
177
 
175
- const initialColumns = useMemo(
178
+ const initialColumns = useMemo<ColumnDef[]>(
176
179
  () => [
177
180
  {
178
181
  index: 10,
@@ -186,7 +189,9 @@ function DatabaseTable({
186
189
  },
187
190
  accessor: 'index',
188
191
  enableRowSpan: true,
189
- Cell: ({ row }) => {
192
+ Cell: ({ row }: CellProps<PrepareDataResult>) => {
193
+ // TODO: Fix types or remove code.
194
+ // @ts-expect-error jcampURL is not defined in PrepareDataResult.
190
195
  const { jcampURL } = row.original;
191
196
  return (
192
197
  <ColumnWrapper
@@ -217,8 +222,8 @@ function DatabaseTable({
217
222
  [databasePreferences?.allowSaveAsNMRium, onAdd, onRemove, onSave],
218
223
  );
219
224
 
220
- const tableColumns = useMemo(() => {
221
- const columns = [...initialColumns];
225
+ const tableColumns = useMemo<ColumnDef[]>(() => {
226
+ const columns = initialColumns.slice();
222
227
  for (const col of databaseTableColumns(databasePreferences)) {
223
228
  const { showWhen, ...colParams } = col;
224
229
  if (dlv(databasePreferences, showWhen, false)) {
@@ -226,13 +231,14 @@ function DatabaseTable({
226
231
  }
227
232
  }
228
233
 
229
- return columns.sort((object1, object2) => object1.index - object2.index);
234
+ columns.sort((object1, object2) => object1.index - object2.index);
235
+ return columns;
230
236
  }, [databasePreferences, initialColumns]);
231
237
  return (
232
238
  <ReactTable
233
239
  data={data}
234
240
  columns={tableColumns}
235
- highlightedSource={HighlightEventSource.DATABASE}
241
+ highlightedSource="DATABASE"
236
242
  groupKey="index"
237
243
  approxItemHeight={23}
238
244
  enableVirtualScroll
@@ -4,7 +4,7 @@ import {
4
4
  translateMultiplet,
5
5
  } from 'nmr-processing';
6
6
 
7
- function getMultiplicityNumber(string) {
7
+ function getMultiplicityNumber(string: any) {
8
8
  const multiplet = findMultiplet(string);
9
9
  return multiplet ? multiplet.multiplicity : null;
10
10
  }
@@ -17,7 +17,7 @@ function hasCouplingConstant(multiplet: string) {
17
17
  return checkMultiplicity(multiplet, ['m', 's']);
18
18
  }
19
19
 
20
- function getPascal(n, spin) {
20
+ function getPascal(n: any, spin: any) {
21
21
  if (n === undefined || n === 0 || spin === undefined) return [1];
22
22
  const mult = 2 * spin + 1;
23
23
  let previousLine: any[] = [];
@@ -38,12 +38,12 @@ export default function BaseLineCorrectionOptionsPanel(
38
38
  getValues,
39
39
  } = useBaselineCorrection(filter);
40
40
 
41
- function handleConfirm(event) {
41
+ function handleConfirm(event: any) {
42
42
  void handleSubmit((values) => handleApplyFilter(values))();
43
43
  onConfirm?.(event);
44
44
  }
45
45
 
46
- function handleCancel(event) {
46
+ function handleCancel(event: any) {
47
47
  handleCancelFilter();
48
48
  onCancel?.(event);
49
49
  }
@@ -4,6 +4,7 @@ import { useCallback, useEffect, useMemo } from 'react';
4
4
  import { useForm, useWatch } from 'react-hook-form';
5
5
  import { FaRegTrashAlt } from 'react-icons/fa';
6
6
  import { Button } from 'react-science/ui';
7
+ import type { CellProps } from 'react-table';
7
8
  import * as Yup from 'yup';
8
9
 
9
10
  import type { ExtractFilterEntry } from '../../../../data/types/common/ExtractFilterEntry.js';
@@ -69,7 +70,7 @@ export default function ExclusionZonesOptionsPanel(
69
70
  }, [filter.value, reset]);
70
71
 
71
72
  const handleDelete = useCallback(
72
- (index) => {
73
+ (index: any) => {
73
74
  setValue(
74
75
  'zones',
75
76
  getValues('zones').filter((_, i) => i !== index),
@@ -79,7 +80,7 @@ export default function ExclusionZonesOptionsPanel(
79
80
  [getValues, setValue],
80
81
  );
81
82
 
82
- const exclusionsZonesColumns: Array<Column<ExclusionZone>> = useMemo(
83
+ const exclusionsZonesColumns = useMemo<Array<Column<ExclusionZone>>>(
83
84
  () => [
84
85
  {
85
86
  Header: '#',
@@ -88,7 +89,7 @@ export default function ExclusionZonesOptionsPanel(
88
89
  },
89
90
  {
90
91
  Header: 'from',
91
- Cell: ({ row }) => (
92
+ Cell: ({ row }: CellProps<ExclusionZone>) => (
92
93
  <NumberInput2Controller
93
94
  control={control}
94
95
  name={`zones.${row.index}.from`}
@@ -100,7 +101,7 @@ export default function ExclusionZonesOptionsPanel(
100
101
  },
101
102
  {
102
103
  Header: 'To',
103
- Cell: ({ row }) => (
104
+ Cell: ({ row }: CellProps<ExclusionZone>) => (
104
105
  <NumberInput2Controller
105
106
  control={control}
106
107
  name={`zones.${row.index}.to`}
@@ -115,7 +116,7 @@ export default function ExclusionZonesOptionsPanel(
115
116
  Header: '',
116
117
  style: { width: '30px' },
117
118
  id: 'actions',
118
- Cell: ({ row }) => {
119
+ Cell: ({ row }: CellProps<ExclusionZone>) => {
119
120
  return (
120
121
  <Button
121
122
  size="small"
@@ -132,19 +133,19 @@ export default function ExclusionZonesOptionsPanel(
132
133
  [control, handleDelete],
133
134
  );
134
135
 
135
- function handleApplyFilter(values) {
136
+ function handleApplyFilter(values: any) {
136
137
  dispatch({
137
138
  type: 'APPLY_EXCLUSION_ZONE',
138
139
  payload: values,
139
140
  });
140
141
  }
141
142
 
142
- function handleConfirm(event) {
143
+ function handleConfirm(event: any) {
143
144
  void handleSubmit(handleApplyFilter)();
144
145
  onConfirm?.(event);
145
146
  }
146
147
 
147
- function handleCancel(event) {
148
+ function handleCancel(event: any) {
148
149
  dispatch({
149
150
  type: 'RESET_SELECTED_TOOL',
150
151
  });