nmrium 2.8.0 → 3.1.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 (1159) hide show
  1. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  2. package/lib/component/1d/BrushTracker1D.js +138 -133
  3. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  4. package/lib/component/1d/ExclusionZoneAnnotation.js +1 -1
  5. package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
  6. package/lib/component/1d/ExclusionZonesAnnotations.js.map +1 -1
  7. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  8. package/lib/component/1d/FloatPublicationString.js +20 -21
  9. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  10. package/lib/component/1d/FooterBanner.js +2 -2
  11. package/lib/component/1d/FooterBanner.js.map +1 -1
  12. package/lib/component/1d/Line.js +1 -1
  13. package/lib/component/1d/Line.js.map +1 -1
  14. package/lib/component/1d/SVGContent1D.js +3 -3
  15. package/lib/component/1d/SVGContent1D.js.map +1 -1
  16. package/lib/component/1d/SimilarityTree.js +2 -2
  17. package/lib/component/1d/SimilarityTree.js.map +1 -1
  18. package/lib/component/1d/SpectraLegends.d.ts +1 -2
  19. package/lib/component/1d/SpectraLegends.d.ts.map +1 -1
  20. package/lib/component/1d/SpectraLegends.js +3 -4
  21. package/lib/component/1d/SpectraLegends.js.map +1 -1
  22. package/lib/component/1d/baseline/BaselinePreview.js +4 -4
  23. package/lib/component/1d/baseline/BaselinePreview.js.map +1 -1
  24. package/lib/component/1d/database/DatabaseElements.d.ts +1 -2
  25. package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
  26. package/lib/component/1d/database/DatabaseElements.js +1 -2
  27. package/lib/component/1d/database/DatabaseElements.js.map +1 -1
  28. package/lib/component/1d/database/DatabaseSpectrum.js +3 -3
  29. package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
  30. package/lib/component/1d/database/ResurrectedDatabaseRanges.js +1 -1
  31. package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
  32. package/lib/component/1d/inset/DraggableInset.d.ts +1 -1
  33. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  34. package/lib/component/1d/inset/DraggableInset.js +4 -4
  35. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  36. package/lib/component/1d/inset/InsetProvider.d.ts +1 -1
  37. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  38. package/lib/component/1d/inset/InsetProvider.js +4 -4
  39. package/lib/component/1d/inset/InsetProvider.js.map +1 -1
  40. package/lib/component/1d/inset/InsetViewerRoot.js +3 -3
  41. package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
  42. package/lib/component/1d/inset/SpectraInsets.d.ts +0 -23
  43. package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
  44. package/lib/component/1d/inset/SpectraInsets.js +1 -1
  45. package/lib/component/1d/inset/SpectraInsets.js.map +1 -1
  46. package/lib/component/1d/integral/IntegralsSeries.js +1 -1
  47. package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
  48. package/lib/component/1d/jCouplingGraph/JGraph.js +2 -2
  49. package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
  50. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +1 -1
  51. package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -1
  52. package/lib/component/1d/jCouplingGraph/JGraphContext.js +3 -4
  53. package/lib/component/1d/jCouplingGraph/JGraphContext.js.map +1 -1
  54. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -1
  55. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js +1 -4
  56. package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js.map +1 -1
  57. package/lib/component/1d/jCouplingGraph/JsCouplings.js +1 -1
  58. package/lib/component/1d/jCouplingGraph/JsCouplings.js.map +1 -1
  59. package/lib/component/1d/matrix/Stocsy.js +1 -2
  60. package/lib/component/1d/matrix/Stocsy.js.map +1 -1
  61. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +1 -1
  62. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  63. package/lib/component/1d/peaks/PeakEditionManager.d.ts +1 -1
  64. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  65. package/lib/component/1d/peaks/PeakEditionManager.js +6 -7
  66. package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
  67. package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
  68. package/lib/component/1d/peaks/Peaks.js +12 -15
  69. package/lib/component/1d/peaks/Peaks.js.map +1 -1
  70. package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -2
  71. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
  72. package/lib/component/1d/peaks/PeaksShapes.js +31 -17
  73. package/lib/component/1d/peaks/PeaksShapes.js.map +1 -1
  74. package/lib/component/1d/peaks/usePeakShapesPath.d.ts +1 -2
  75. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  76. package/lib/component/1d/peaks/usePeakShapesPath.js +2 -3
  77. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  78. package/lib/component/1d/plugin_chart_brush_tracker.js +1 -1
  79. package/lib/component/1d/plugin_chart_brush_tracker.js.map +1 -1
  80. package/lib/component/1d/plugin_svg_chart.d.ts +1 -1
  81. package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -1
  82. package/lib/component/1d/plugin_svg_chart.js +16 -11
  83. package/lib/component/1d/plugin_svg_chart.js.map +1 -1
  84. package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
  85. package/lib/component/1d/ranges/AssignmentLabel.js +4 -3
  86. package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
  87. package/lib/component/1d/ranges/Atoms.js +18 -17
  88. package/lib/component/1d/ranges/Atoms.js.map +1 -1
  89. package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
  90. package/lib/component/1d/ranges/FloatingRanges.js +12 -14
  91. package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
  92. package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -2
  93. package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
  94. package/lib/component/1d/ranges/RangesIntegrals.js +2 -3
  95. package/lib/component/1d/ranges/RangesIntegrals.js.map +1 -1
  96. package/lib/component/1d/tool/BaseLine.d.ts +1 -2
  97. package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
  98. package/lib/component/1d/tool/BaseLine.js +2 -3
  99. package/lib/component/1d/tool/BaseLine.js.map +1 -1
  100. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
  101. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +3 -3
  102. package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
  103. package/lib/component/1d-2d/components/RangeIndicator.d.ts +2 -1
  104. package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -1
  105. package/lib/component/1d-2d/components/RangeIndicator.js +2 -2
  106. package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -1
  107. package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
  108. package/lib/component/1d-2d/components/SVGRootContainer.js +2 -2
  109. package/lib/component/1d-2d/components/SVGRootContainer.js.map +1 -1
  110. package/lib/component/1d-2d/components/Signals1D.js.map +1 -1
  111. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -2
  112. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  113. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +17 -16
  114. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  115. package/lib/component/1d-2d/tools/BrushXY.js +2 -2
  116. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  117. package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -1
  118. package/lib/component/1d-2d/tools/CursorToolIcon.js +21 -6
  119. package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -1
  120. package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -1
  121. package/lib/component/1d-2d/tools/DistanceLine.js +2 -4
  122. package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -1
  123. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
  124. package/lib/component/2d/1d-tracer/Left1DChart.js +1 -1
  125. package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
  126. package/lib/component/2d/1d-tracer/Ranges1D.d.ts +0 -1
  127. package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -1
  128. package/lib/component/2d/1d-tracer/Ranges1D.js.map +1 -1
  129. package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
  130. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
  131. package/lib/component/2d/1d-tracer/Top1DChart.js +5 -5
  132. package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
  133. package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
  134. package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
  135. package/lib/component/2d/BrushTracker2D.js +1 -1
  136. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  137. package/lib/component/2d/FooterBanner.d.ts.map +1 -1
  138. package/lib/component/2d/FooterBanner.js +1 -1
  139. package/lib/component/2d/FooterBanner.js.map +1 -1
  140. package/lib/component/2d/IndirectAxis2D.js +1 -1
  141. package/lib/component/2d/IndirectAxis2D.js.map +1 -1
  142. package/lib/component/2d/SlicingView.js +2 -2
  143. package/lib/component/2d/SlicingView.js.map +1 -1
  144. package/lib/component/2d/Viewer2D.js +1 -1
  145. package/lib/component/2d/Viewer2D.js.map +1 -1
  146. package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
  147. package/lib/component/2d/tools/PivotIndicator.js +1 -1
  148. package/lib/component/2d/tools/PivotIndicator.js.map +1 -1
  149. package/lib/component/2d/utilities/scale.js +1 -1
  150. package/lib/component/2d/zones/SignalsGuideLines.js +6 -6
  151. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  152. package/lib/component/2d/zones/Zone.js +4 -4
  153. package/lib/component/2d/zones/Zone.js.map +1 -1
  154. package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
  155. package/lib/component/2d/zones/ZonesAssignmentsLabels.js +21 -17
  156. package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
  157. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  158. package/lib/component/EventsTrackers/BrushTracker.js +10 -10
  159. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  160. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
  161. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  162. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  163. package/lib/component/EventsTrackers/MouseTracker.js +5 -6
  164. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  165. package/lib/component/EventsTrackers/brush_tracker.types.d.ts +12 -4
  166. package/lib/component/EventsTrackers/brush_tracker.types.d.ts.map +1 -1
  167. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts +1 -1
  168. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts.map +1 -1
  169. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js +3 -4
  170. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js.map +1 -1
  171. package/lib/component/SVGTable.d.ts.map +1 -1
  172. package/lib/component/SVGTable.js +4 -4
  173. package/lib/component/SVGTable.js.map +1 -1
  174. package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
  175. package/lib/component/assignment/AssignmentProvider.js +3 -5
  176. package/lib/component/assignment/AssignmentProvider.js.map +1 -1
  177. package/lib/component/assignment/AssignmentsContext.d.ts +3 -3
  178. package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
  179. package/lib/component/assignment/AssignmentsContext.js +3 -3
  180. package/lib/component/assignment/AssignmentsContext.js.map +1 -1
  181. package/lib/component/assignment/utilities/getAssignments.js +4 -10
  182. package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
  183. package/lib/component/context/ChartContext.d.ts +1 -1
  184. package/lib/component/context/ChartContext.d.ts.map +1 -1
  185. package/lib/component/context/ChartContext.js +3 -4
  186. package/lib/component/context/ChartContext.js.map +1 -1
  187. package/lib/component/context/CoreContext.d.ts +1 -1
  188. package/lib/component/context/CoreContext.d.ts.map +1 -1
  189. package/lib/component/context/CoreContext.js +3 -4
  190. package/lib/component/context/CoreContext.js.map +1 -1
  191. package/lib/component/context/DispatchContext.d.ts +1 -1
  192. package/lib/component/context/DispatchContext.d.ts.map +1 -1
  193. package/lib/component/context/DispatchContext.js +3 -4
  194. package/lib/component/context/DispatchContext.js.map +1 -1
  195. package/lib/component/context/FilterSyncOptionsContext.js +3 -3
  196. package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
  197. package/lib/component/context/GlobalContext.d.ts +1 -1
  198. package/lib/component/context/GlobalContext.d.ts.map +1 -1
  199. package/lib/component/context/GlobalContext.js +3 -4
  200. package/lib/component/context/GlobalContext.js.map +1 -1
  201. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  202. package/lib/component/context/KeyModifierContext.js +3 -3
  203. package/lib/component/context/KeyModifierContext.js.map +1 -1
  204. package/lib/component/context/LoaderContext.d.ts +1 -1
  205. package/lib/component/context/LoaderContext.d.ts.map +1 -1
  206. package/lib/component/context/LoaderContext.js +4 -7
  207. package/lib/component/context/LoaderContext.js.map +1 -1
  208. package/lib/component/context/LoggerContext.js +4 -4
  209. package/lib/component/context/LoggerContext.js.map +1 -1
  210. package/lib/component/context/PreferencesContext.d.ts +1 -1
  211. package/lib/component/context/PreferencesContext.d.ts.map +1 -1
  212. package/lib/component/context/PreferencesContext.js +4 -5
  213. package/lib/component/context/PreferencesContext.js.map +1 -1
  214. package/lib/component/context/ScaleContext.d.ts +1 -1
  215. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  216. package/lib/component/context/ScaleContext.js +3 -3
  217. package/lib/component/context/ScaleContext.js.map +1 -1
  218. package/lib/component/context/ShareDataContext.d.ts.map +1 -1
  219. package/lib/component/context/ShareDataContext.js +3 -3
  220. package/lib/component/context/ShareDataContext.js.map +1 -1
  221. package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
  222. package/lib/component/context/SortSpectraContext.js +7 -8
  223. package/lib/component/context/SortSpectraContext.js.map +1 -1
  224. package/lib/component/context/ToasterContext.d.ts.map +1 -1
  225. package/lib/component/context/ToasterContext.js +3 -3
  226. package/lib/component/context/ToasterContext.js.map +1 -1
  227. package/lib/component/context/TopicMoleculeContext.js +3 -3
  228. package/lib/component/context/TopicMoleculeContext.js.map +1 -1
  229. package/lib/component/context/processings_mutations_context.api.d.ts +3 -2
  230. package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -1
  231. package/lib/component/context/processings_mutations_context.api.js +86 -16
  232. package/lib/component/context/processings_mutations_context.api.js.map +1 -1
  233. package/lib/component/context/processings_mutations_context.js +3 -3
  234. package/lib/component/context/processings_mutations_context.js.map +1 -1
  235. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  236. package/lib/component/elements/ActionsButtonsPopover.js +13 -13
  237. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  238. package/lib/component/elements/Alert.d.ts.map +1 -1
  239. package/lib/component/elements/Alert.js +6 -4
  240. package/lib/component/elements/Alert.js.map +1 -1
  241. package/lib/component/elements/Anchor.d.ts +36 -12
  242. package/lib/component/elements/Anchor.d.ts.map +1 -1
  243. package/lib/component/elements/Anchor.js.map +1 -1
  244. package/lib/component/elements/Button.js +1 -1
  245. package/lib/component/elements/Button.js.map +1 -1
  246. package/lib/component/elements/D3Axis.d.ts +3 -2
  247. package/lib/component/elements/D3Axis.d.ts.map +1 -1
  248. package/lib/component/elements/D3Axis.js +3 -4
  249. package/lib/component/elements/D3Axis.js.map +1 -1
  250. package/lib/component/elements/DialogManager.d.ts +3 -1
  251. package/lib/component/elements/DialogManager.d.ts.map +1 -1
  252. package/lib/component/elements/DialogManager.js +5 -5
  253. package/lib/component/elements/DialogManager.js.map +1 -1
  254. package/lib/component/elements/DraggableDialog.js +11 -11
  255. package/lib/component/elements/DraggableDialog.js.map +1 -1
  256. package/lib/component/elements/EditableColumn.d.ts +8 -3
  257. package/lib/component/elements/EditableColumn.d.ts.map +1 -1
  258. package/lib/component/elements/EditableColumn.js +40 -28
  259. package/lib/component/elements/EditableColumn.js.map +1 -1
  260. package/lib/component/elements/Footer.d.ts +9 -3
  261. package/lib/component/elements/Footer.d.ts.map +1 -1
  262. package/lib/component/elements/Footer.js.map +1 -1
  263. package/lib/component/elements/Input.d.ts +4 -3
  264. package/lib/component/elements/Input.d.ts.map +1 -1
  265. package/lib/component/elements/Input.js +9 -10
  266. package/lib/component/elements/Input.js.map +1 -1
  267. package/lib/component/elements/Input2.d.ts +4 -3
  268. package/lib/component/elements/Input2.d.ts.map +1 -1
  269. package/lib/component/elements/Input2.js +7 -9
  270. package/lib/component/elements/Input2.js.map +1 -1
  271. package/lib/component/elements/InputRange.d.ts +4 -3
  272. package/lib/component/elements/InputRange.d.ts.map +1 -1
  273. package/lib/component/elements/InputRange.js +10 -10
  274. package/lib/component/elements/InputRange.js.map +1 -1
  275. package/lib/component/elements/IsotopesViewer.js +1 -1
  276. package/lib/component/elements/IsotopesViewer.js.map +1 -1
  277. package/lib/component/elements/NumberInput2.d.ts +4 -3
  278. package/lib/component/elements/NumberInput2.d.ts.map +1 -1
  279. package/lib/component/elements/NumberInput2.js +5 -7
  280. package/lib/component/elements/NumberInput2.js.map +1 -1
  281. package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
  282. package/lib/component/elements/NumberInput2Controller.js +17 -9
  283. package/lib/component/elements/NumberInput2Controller.js.map +1 -1
  284. package/lib/component/elements/ResizerWithScale.js +1 -1
  285. package/lib/component/elements/ResizerWithScale.js.map +1 -1
  286. package/lib/component/elements/SVGGroup.d.ts.map +1 -1
  287. package/lib/component/elements/SVGGroup.js +16 -15
  288. package/lib/component/elements/SVGGroup.js.map +1 -1
  289. package/lib/component/elements/Scroller.d.ts.map +1 -1
  290. package/lib/component/elements/Scroller.js +3 -4
  291. package/lib/component/elements/Scroller.js.map +1 -1
  292. package/lib/component/elements/Sections.js +3 -3
  293. package/lib/component/elements/Sections.js.map +1 -1
  294. package/lib/component/elements/Select.d.ts +4 -3
  295. package/lib/component/elements/Select.d.ts.map +1 -1
  296. package/lib/component/elements/Select.js +3 -5
  297. package/lib/component/elements/Select.js.map +1 -1
  298. package/lib/component/elements/Select2.d.ts +3 -5
  299. package/lib/component/elements/Select2.d.ts.map +1 -1
  300. package/lib/component/elements/Select2.js +3 -4
  301. package/lib/component/elements/Select2.js.map +1 -1
  302. package/lib/component/elements/Tab/Tab.d.ts.map +1 -1
  303. package/lib/component/elements/Tab/Tab.js +2 -2
  304. package/lib/component/elements/Tab/Tab.js.map +1 -1
  305. package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
  306. package/lib/component/elements/Tab/Tabs.js +0 -2
  307. package/lib/component/elements/Tab/Tabs.js.map +1 -1
  308. package/lib/component/elements/TabsProvider.d.ts.map +1 -1
  309. package/lib/component/elements/TabsProvider.js +3 -3
  310. package/lib/component/elements/TabsProvider.js.map +1 -1
  311. package/lib/component/elements/custom-color-picker.d.ts +3 -0
  312. package/lib/component/elements/custom-color-picker.d.ts.map +1 -0
  313. package/lib/component/elements/custom-color-picker.js +158 -0
  314. package/lib/component/elements/custom-color-picker.js.map +1 -0
  315. package/lib/component/elements/draggable/useDraggable.js +4 -4
  316. package/lib/component/elements/draggable/useDraggable.js.map +1 -1
  317. package/lib/component/elements/export/ExportManager.d.ts +1 -1
  318. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  319. package/lib/component/elements/export/ExportManager.js +5 -5
  320. package/lib/component/elements/export/ExportManager.js.map +1 -1
  321. package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
  322. package/lib/component/elements/export/ExportSettingsProvider.js +3 -3
  323. package/lib/component/elements/export/ExportSettingsProvider.js.map +1 -1
  324. package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
  325. package/lib/component/elements/export/RenderDetector.js +1 -0
  326. package/lib/component/elements/export/RenderDetector.js.map +1 -1
  327. package/lib/component/elements/print/PrintContent.js +3 -2
  328. package/lib/component/elements/print/PrintContent.js.map +1 -1
  329. package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
  330. package/lib/component/elements/print/PrintProvider.js +6 -6
  331. package/lib/component/elements/print/PrintProvider.js.map +1 -1
  332. package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
  333. package/lib/component/elements/resizer/SVGResizer.js +0 -1
  334. package/lib/component/elements/resizer/SVGResizer.js.map +1 -1
  335. package/lib/component/elements/tanstack_table/elements/table_context.d.ts +1 -1
  336. package/lib/component/elements/tanstack_table/elements/table_context.d.ts.map +1 -1
  337. package/lib/component/elements/tanstack_table/elements/table_context.js +3 -4
  338. package/lib/component/elements/tanstack_table/elements/table_context.js.map +1 -1
  339. package/lib/component/elements/tanstack_table/elements/table_header.d.ts +1 -0
  340. package/lib/component/elements/tanstack_table/elements/table_header.d.ts.map +1 -1
  341. package/lib/component/elements/tanstack_table/elements/table_header.js +2 -2
  342. package/lib/component/elements/tanstack_table/elements/table_header.js.map +1 -1
  343. package/lib/component/elements/tanstack_table/elements/table_row.d.ts +2 -2
  344. package/lib/component/elements/tanstack_table/elements/table_row.d.ts.map +1 -1
  345. package/lib/component/elements/tanstack_table/elements/table_row.js +41 -21
  346. package/lib/component/elements/tanstack_table/elements/table_row.js.map +1 -1
  347. package/lib/component/elements/tanstack_table/elements/useRowReorder.d.ts +10 -0
  348. package/lib/component/elements/tanstack_table/elements/useRowReorder.d.ts.map +1 -0
  349. package/lib/component/elements/tanstack_table/elements/useRowReorder.js +87 -0
  350. package/lib/component/elements/tanstack_table/elements/useRowReorder.js.map +1 -0
  351. package/lib/component/elements/tanstack_table/table.d.ts +6 -5
  352. package/lib/component/elements/tanstack_table/table.d.ts.map +1 -1
  353. package/lib/component/elements/tanstack_table/table.js +11 -9
  354. package/lib/component/elements/tanstack_table/table.js.map +1 -1
  355. package/lib/component/elements/tanstack_table/types.d.ts +3 -0
  356. package/lib/component/elements/tanstack_table/types.d.ts.map +1 -1
  357. package/lib/component/elements/utilities/transferStyles.d.ts.map +1 -1
  358. package/lib/component/elements/utilities/transferStyles.js +1 -3
  359. package/lib/component/elements/utilities/transferStyles.js.map +1 -1
  360. package/lib/component/header/Header.d.ts.map +1 -1
  361. package/lib/component/header/Header.js +4 -4
  362. package/lib/component/header/Header.js.map +1 -1
  363. package/lib/component/highlight/index.d.ts +6 -3
  364. package/lib/component/highlight/index.d.ts.map +1 -1
  365. package/lib/component/highlight/index.js +12 -9
  366. package/lib/component/highlight/index.js.map +1 -1
  367. package/lib/component/hooks/reduce2DSpectrum.js +3 -3
  368. package/lib/component/hooks/reduce2DSpectrum.js.map +1 -1
  369. package/lib/component/hooks/useCombinedRefs.d.ts +2 -2
  370. package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
  371. package/lib/component/hooks/useCombinedRefs.js +1 -4
  372. package/lib/component/hooks/useCombinedRefs.js.map +1 -1
  373. package/lib/component/hooks/useDialogToggle.js +1 -1
  374. package/lib/component/hooks/useDialogToggle.js.map +1 -1
  375. package/lib/component/hooks/useExport.d.ts.map +1 -1
  376. package/lib/component/hooks/useExport.js +4 -6
  377. package/lib/component/hooks/useExport.js.map +1 -1
  378. package/lib/component/hooks/useSaveSettings.js +1 -1
  379. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  380. package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -1
  381. package/lib/component/hooks/useSelectedSpectra.js +1 -1
  382. package/lib/component/hooks/useSelectedSpectra.js.map +1 -1
  383. package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
  384. package/lib/component/hooks/useTableSortBy.js +1 -1
  385. package/lib/component/hooks/useTableSortBy.js.map +1 -1
  386. package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
  387. package/lib/component/hooks/useTextMetrics.js +1 -0
  388. package/lib/component/hooks/useTextMetrics.js.map +1 -1
  389. package/lib/component/hooks/use_axis_unit.d.ts +3 -3
  390. package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -1
  391. package/lib/component/hooks/use_gridlines_config.js +2 -4
  392. package/lib/component/hooks/use_gridlines_config.js.map +1 -1
  393. package/lib/component/loader/DropZone.js +2 -2
  394. package/lib/component/loader/DropZone.js.map +1 -1
  395. package/lib/component/loader/Spinner.js +3 -3
  396. package/lib/component/loader/Spinner.js.map +1 -1
  397. package/lib/component/loader/SpinnerContext.d.ts +1 -2
  398. package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
  399. package/lib/component/loader/SpinnerContext.js +1 -2
  400. package/lib/component/loader/SpinnerContext.js.map +1 -1
  401. package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
  402. package/lib/component/loader/useLoadFiles.js +7 -9
  403. package/lib/component/loader/useLoadFiles.js.map +1 -1
  404. package/lib/component/main/InnerNMRium.d.ts +2 -2
  405. package/lib/component/main/InnerNMRium.d.ts.map +1 -1
  406. package/lib/component/main/InnerNMRium.js +15 -11
  407. package/lib/component/main/InnerNMRium.js.map +1 -1
  408. package/lib/component/main/InnerNMRiumContents.d.ts +6 -6
  409. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  410. package/lib/component/main/NMRium.d.ts +10 -2
  411. package/lib/component/main/NMRium.d.ts.map +1 -1
  412. package/lib/component/main/NMRium.js +4 -4
  413. package/lib/component/main/NMRium.js.map +1 -1
  414. package/lib/component/main/NMRiumRefAPI.d.ts +2 -2
  415. package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
  416. package/lib/component/main/NMRiumRefAPI.js.map +1 -1
  417. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
  418. package/lib/component/main/NMRiumStateProvider.js +7 -5
  419. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  420. package/lib/component/main/NMRiumViewer.d.ts +1 -1
  421. package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
  422. package/lib/component/main/NMRiumViewer.js +2 -1
  423. package/lib/component/main/NMRiumViewer.js.map +1 -1
  424. package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
  425. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  426. package/lib/component/main/types.d.ts +2 -2
  427. package/lib/component/main/types.d.ts.map +1 -1
  428. package/lib/component/modal/AboutPredictionModal.d.ts +1 -2
  429. package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
  430. package/lib/component/modal/AboutPredictionModal.js +1 -2
  431. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  432. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -2
  433. package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
  434. package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -2
  435. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  436. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  437. package/lib/component/modal/ImportPublicationStringModal.js +5 -0
  438. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
  439. package/lib/component/modal/LoadJCAMPModal.js +1 -1
  440. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  441. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  442. package/lib/component/modal/LogsHistoryModal.js +2 -2
  443. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  444. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js +1 -1
  445. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js.map +1 -1
  446. package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -2
  447. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  448. package/lib/component/modal/aboutUs/AboutUsModal.js +1 -2
  449. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
  450. package/lib/component/modal/changeSum/SelectMolecule.js +2 -2
  451. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  452. package/lib/component/modal/editRange/EditRangeModal.js +4 -7
  453. package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
  454. package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
  455. package/lib/component/modal/editRange/forms/components/SignalsContent.js +4 -4
  456. package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
  457. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  458. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +2 -6
  459. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  460. package/lib/component/modal/editZone/SignalsForm.js +2 -2
  461. package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
  462. package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -5
  463. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  464. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +81 -81
  465. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +3 -3
  466. package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
  467. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +81 -81
  468. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
  469. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -1
  470. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +81 -81
  471. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +56 -55
  472. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
  473. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +2 -3
  474. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
  475. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +54 -54
  476. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +9 -9
  477. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +54 -54
  478. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +54 -54
  479. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +54 -54
  480. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
  481. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +5 -2
  482. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
  483. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +54 -54
  484. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +2 -2
  485. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
  486. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +3 -1
  487. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
  488. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +54 -54
  489. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
  490. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +5 -2
  491. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
  492. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +54 -54
  493. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +54 -54
  494. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +54 -54
  495. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +54 -54
  496. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +54 -54
  497. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +2 -4
  498. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
  499. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +54 -54
  500. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +2 -3
  501. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -1
  502. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +54 -54
  503. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +2 -3
  504. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
  505. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +54 -54
  506. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js +1 -1
  507. package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js.map +1 -1
  508. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
  509. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +13 -11
  510. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -1
  511. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +9 -4
  512. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -1
  513. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +6 -6
  514. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
  515. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -1
  516. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +2 -2
  517. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -1
  518. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +27 -27
  519. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +2 -2
  520. package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -1
  521. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -2
  522. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
  523. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -2
  524. package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
  525. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +1 -1
  526. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
  527. package/lib/component/panels/IntegralsPanel/IntegralPanel.js +6 -6
  528. package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
  529. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +5 -1
  530. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
  531. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +4 -3
  532. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
  533. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +6 -6
  534. package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
  535. package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
  536. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +0 -1
  537. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
  538. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +1 -1
  539. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  540. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
  541. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +11 -14
  542. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
  543. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts +1 -0
  544. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts.map +1 -1
  545. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +30 -6
  546. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
  547. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts +2 -2
  548. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts.map +1 -1
  549. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.js.map +1 -1
  550. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts +2 -2
  551. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts.map +1 -1
  552. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js +2 -2
  553. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js.map +1 -1
  554. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +5 -1
  555. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
  556. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +4 -3
  557. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  558. package/lib/component/panels/PeaksPanel/peaksToTSV.js +1 -4
  559. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -1
  560. package/lib/component/panels/RangesPanel/RangesPanel.js +2 -2
  561. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
  562. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +6 -2
  563. package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
  564. package/lib/component/panels/RangesPanel/RangesPreferences.js +4 -3
  565. package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
  566. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  567. package/lib/component/panels/RangesPanel/RangesTableRow.js +1 -1
  568. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  569. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +0 -1
  570. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
  571. package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js.map +1 -1
  572. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +0 -3
  573. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  574. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +33 -2
  575. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  576. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +7 -1
  577. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
  578. package/lib/component/panels/SpectraPanel/SpectraPreferences.js +6 -5
  579. package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
  580. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  581. package/lib/component/panels/SpectraPanel/SpectraTable.js +19 -12
  582. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  583. package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -1
  584. package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
  585. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js +1 -1
  586. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js.map +1 -1
  587. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
  588. package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
  589. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -1
  590. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +15 -7
  591. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
  592. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
  593. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +10 -7
  594. package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
  595. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
  596. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +12 -8
  597. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
  598. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
  599. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +18 -19
  600. package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
  601. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
  602. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +9 -11
  603. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
  604. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
  605. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +22 -19
  606. package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
  607. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
  608. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +6 -7
  609. package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
  610. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +2 -2
  611. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  612. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  613. package/lib/component/panels/SummaryPanel/SummaryPanel.js +10 -13
  614. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  615. package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
  616. package/lib/component/panels/SummaryPanel/utilities/Utilities.js +8 -10
  617. package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
  618. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +1 -1
  619. package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
  620. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
  621. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +3 -1
  622. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
  623. package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
  624. package/lib/component/panels/ZonesPanel/ZonesPanel.js +8 -9
  625. package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
  626. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +5 -1
  627. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
  628. package/lib/component/panels/ZonesPanel/ZonesPreferences.js +4 -3
  629. package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
  630. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
  631. package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
  632. package/lib/component/panels/ZonesPanel/ZonesTable.js +3 -3
  633. package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
  634. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +2 -2
  635. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  636. package/lib/component/panels/ZonesPanel/ZonesTableRow.js +4 -5
  637. package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
  638. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js +1 -1
  639. package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
  640. package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
  641. package/lib/component/panels/databasePanel/DatabaseInfo.js +2 -0
  642. package/lib/component/panels/databasePanel/DatabaseInfo.js.map +1 -1
  643. package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
  644. package/lib/component/panels/databasePanel/DatabasePanel.js +5 -4
  645. package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
  646. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +6 -2
  647. package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
  648. package/lib/component/panels/databasePanel/DatabasePreferences.js +4 -3
  649. package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
  650. package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
  651. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +1 -1
  652. package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
  653. package/lib/component/panels/databasePanel/DatabaseTable.js +1 -1
  654. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  655. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +1 -1
  656. package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
  657. package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
  658. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  659. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +3 -3
  660. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  661. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +12 -12
  662. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
  663. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
  664. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -2
  665. package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
  666. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts +2 -2
  667. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
  668. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -4
  669. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  670. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts +2 -2
  671. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
  672. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +4 -7
  673. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  674. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
  675. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +3 -5
  676. package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
  677. package/lib/component/panels/filtersPanel/processings/processing_item.js +1 -1
  678. package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -1
  679. package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +2 -6
  680. package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -1
  681. package/lib/component/panels/filtersPanel/processings/use_live_edit.js +9 -9
  682. package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -1
  683. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  684. package/lib/component/panels/header/DefaultPanelHeader.js +1 -1
  685. package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
  686. package/lib/component/panels/hooks/useGetPanelOptions.js +5 -5
  687. package/lib/component/panels/hooks/useGetPanelOptions.js.map +1 -1
  688. package/lib/component/panels/informationPanel/SpectraPicker.js +1 -1
  689. package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -1
  690. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
  691. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +22 -17
  692. package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
  693. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +1 -1
  694. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  695. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts +5 -2
  696. package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
  697. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +4 -5
  698. package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
  699. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +4 -2
  700. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
  701. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +4 -8
  702. package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
  703. package/lib/component/panels/predictionPanel/PredictionPanel.js +5 -5
  704. package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
  705. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +6 -2
  706. package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
  707. package/lib/component/panels/predictionPanel/PredictionPreferences.js +4 -3
  708. package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
  709. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts +5 -2
  710. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts.map +1 -1
  711. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js +2 -3
  712. package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
  713. package/lib/component/reducer/IgnoreActions.d.ts +1 -2
  714. package/lib/component/reducer/IgnoreActions.d.ts.map +1 -1
  715. package/lib/component/reducer/IgnoreActions.js +2 -5
  716. package/lib/component/reducer/IgnoreActions.js.map +1 -1
  717. package/lib/component/reducer/Reducer.d.ts +6 -7
  718. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  719. package/lib/component/reducer/Reducer.js +3 -1
  720. package/lib/component/reducer/Reducer.js.map +1 -1
  721. package/lib/component/reducer/actions/CorrelationsActions.d.ts +1 -1
  722. package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
  723. package/lib/component/reducer/actions/CorrelationsActions.js +15 -34
  724. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
  725. package/lib/component/reducer/actions/DomainActions.js +4 -4
  726. package/lib/component/reducer/actions/DomainActions.js.map +1 -1
  727. package/lib/component/reducer/actions/FiltersActions.d.ts +43 -43
  728. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  729. package/lib/component/reducer/actions/FiltersActions.js +48 -52
  730. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  731. package/lib/component/reducer/actions/InsetActions.d.ts +1 -2
  732. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  733. package/lib/component/reducer/actions/InsetActions.js +5 -6
  734. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  735. package/lib/component/reducer/actions/LoadAction.d.ts +1 -1
  736. package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
  737. package/lib/component/reducer/actions/LoadAction.js +37 -71
  738. package/lib/component/reducer/actions/LoadAction.js.map +1 -1
  739. package/lib/component/reducer/actions/MoleculeActions.d.ts +13 -13
  740. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  741. package/lib/component/reducer/actions/MoleculeActions.js +14 -18
  742. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  743. package/lib/component/reducer/actions/PeaksActions.d.ts +11 -11
  744. package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
  745. package/lib/component/reducer/actions/PeaksActions.js +12 -14
  746. package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
  747. package/lib/component/reducer/actions/PreferencesActions.d.ts +4 -4
  748. package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
  749. package/lib/component/reducer/actions/PreferencesActions.js +4 -5
  750. package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
  751. package/lib/component/reducer/actions/RangesActions.d.ts +1 -0
  752. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  753. package/lib/component/reducer/actions/RangesActions.js +36 -12
  754. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  755. package/lib/component/reducer/actions/SpectraActions.d.ts +20 -16
  756. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  757. package/lib/component/reducer/actions/SpectraActions.js +35 -30
  758. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  759. package/lib/component/reducer/actions/ToolsActions.d.ts +18 -18
  760. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  761. package/lib/component/reducer/actions/ToolsActions.js +18 -19
  762. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  763. package/lib/component/reducer/actions/ZonesActions.d.ts +4 -4
  764. package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
  765. package/lib/component/reducer/actions/ZonesActions.js +26 -26
  766. package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
  767. package/lib/component/reducer/actions/processings_actions.d.ts +1 -0
  768. package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -1
  769. package/lib/component/reducer/actions/processings_actions.js +10 -8
  770. package/lib/component/reducer/actions/processings_actions.js.map +1 -1
  771. package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
  772. package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
  773. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +1 -1
  774. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  775. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
  776. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
  777. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
  778. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +3 -5
  779. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
  780. package/lib/component/useWatchForm.d.ts.map +1 -1
  781. package/lib/component/useWatchForm.js +0 -1
  782. package/lib/component/useWatchForm.js.map +1 -1
  783. package/lib/component/utility/Events.d.ts +4 -4
  784. package/lib/component/utility/Events.d.ts.map +1 -1
  785. package/lib/component/utility/Events.js +0 -1
  786. package/lib/component/utility/Events.js.map +1 -1
  787. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts +9 -0
  788. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts.map +1 -0
  789. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js +14 -0
  790. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js.map +1 -0
  791. package/lib/component/utility/core_slots/core_operator_expanded.d.ts +1 -1
  792. package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -1
  793. package/lib/component/utility/core_slots/core_slot.d.ts +1 -1
  794. package/lib/component/utility/core_slots/core_slot.d.ts.map +1 -1
  795. package/lib/component/utility/export.d.ts.map +1 -1
  796. package/lib/component/utility/export.js +15 -18
  797. package/lib/component/utility/export.js.map +1 -1
  798. package/lib/component/utility/filterDatabaseInfoEntry.js +1 -1
  799. package/lib/component/utility/filterDatabaseInfoEntry.js.map +1 -1
  800. package/lib/data/PredictionManager.js +7 -8
  801. package/lib/data/PredictionManager.js.map +1 -1
  802. package/lib/data/SpectraManager.d.ts +3 -1
  803. package/lib/data/SpectraManager.d.ts.map +1 -1
  804. package/lib/data/SpectraManager.js +1 -1
  805. package/lib/data/SpectraManager.js.map +1 -1
  806. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.d.ts.map +1 -1
  807. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js +7 -4
  808. package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js.map +1 -1
  809. package/lib/data/data1d/Spectrum1D/generateJGraphData.d.ts.map +1 -1
  810. package/lib/data/data1d/Spectrum1D/generateJGraphData.js +9 -9
  811. package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
  812. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
  813. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +2 -0
  814. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
  815. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +1 -0
  816. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
  817. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -2
  818. package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
  819. package/lib/data/data1d/database.js +3 -3
  820. package/lib/data/data1d/database.js.map +1 -1
  821. package/lib/data/data1d/multipleSpectraAnalysis.js +7 -7
  822. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  823. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  824. package/lib/data/data2d/Spectrum2D/contours.js +6 -5
  825. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  826. package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js +1 -1
  827. package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js.map +1 -1
  828. package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts.map +1 -1
  829. package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js +2 -2
  830. package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js.map +1 -1
  831. package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js +1 -2
  832. package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js.map +1 -1
  833. package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js +2 -2
  834. package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js.map +1 -1
  835. package/lib/data/data2d/Spectrum2D/get2DColor.js +5 -5
  836. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  837. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
  838. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +2 -0
  839. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  840. package/lib/data/matrixGeneration.d.ts.map +1 -1
  841. package/lib/data/matrixGeneration.js +3 -6
  842. package/lib/data/matrixGeneration.js.map +1 -1
  843. package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
  844. package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -1
  845. package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
  846. package/lib/data/utilities/RangeUtilities.d.ts +1 -1
  847. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
  848. package/lib/data/utilities/ZoneUtilities.d.ts +1 -1
  849. package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
  850. package/lib/data/utilities/ZoneUtilities.js +7 -31
  851. package/lib/data/utilities/ZoneUtilities.js.map +1 -1
  852. package/lib/data/utilities/generateNumbersPowerOfX.js +1 -1
  853. package/lib/data/utilities/generateNumbersPowerOfX.js.map +1 -1
  854. package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
  855. package/lib/versionInfo.js +1 -1
  856. package/package.json +51 -51
  857. package/src/component/1d/BrushTracker1D.tsx +153 -151
  858. package/src/component/1d/ExclusionZoneAnnotation.tsx +1 -1
  859. package/src/component/1d/ExclusionZonesAnnotations.tsx +2 -2
  860. package/src/component/1d/FloatPublicationString.tsx +34 -30
  861. package/src/component/1d/FooterBanner.tsx +4 -4
  862. package/src/component/1d/Line.tsx +1 -1
  863. package/src/component/1d/SVGContent1D.tsx +3 -3
  864. package/src/component/1d/SimilarityTree.tsx +2 -2
  865. package/src/component/1d/SpectraLegends.tsx +6 -7
  866. package/src/component/1d/baseline/BaselinePreview.tsx +5 -5
  867. package/src/component/1d/database/DatabaseElements.tsx +1 -3
  868. package/src/component/1d/database/DatabaseSpectrum.tsx +3 -3
  869. package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +2 -2
  870. package/src/component/1d/inset/DraggableInset.tsx +6 -5
  871. package/src/component/1d/inset/InsetProvider.tsx +5 -8
  872. package/src/component/1d/inset/InsetViewerRoot.tsx +4 -4
  873. package/src/component/1d/inset/SpectraInsets.tsx +1 -32
  874. package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
  875. package/src/component/1d/jCouplingGraph/JGraph.tsx +3 -3
  876. package/src/component/1d/jCouplingGraph/JGraphContext.tsx +3 -5
  877. package/src/component/1d/jCouplingGraph/JsCouplingLinks.tsx +4 -5
  878. package/src/component/1d/jCouplingGraph/JsCouplings.tsx +1 -1
  879. package/src/component/1d/matrix/Stocsy.tsx +1 -2
  880. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -1
  881. package/src/component/1d/peaks/PeakEditionManager.tsx +7 -14
  882. package/src/component/1d/peaks/Peaks.tsx +14 -32
  883. package/src/component/1d/peaks/PeaksShapes.tsx +62 -40
  884. package/src/component/1d/peaks/usePeakShapesPath.ts +2 -4
  885. package/src/component/1d/plugin_chart_brush_tracker.tsx +1 -1
  886. package/src/component/1d/plugin_svg_chart.tsx +26 -15
  887. package/src/component/1d/ranges/AssignmentLabel.tsx +4 -3
  888. package/src/component/1d/ranges/Atoms.tsx +19 -19
  889. package/src/component/1d/ranges/FloatingRanges.tsx +12 -13
  890. package/src/component/1d/ranges/RangesIntegrals.tsx +7 -10
  891. package/src/component/1d/tool/BaseLine.tsx +4 -4
  892. package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +3 -10
  893. package/src/component/1d-2d/components/RangeIndicator.tsx +4 -3
  894. package/src/component/1d-2d/components/SVGRootContainer.tsx +2 -6
  895. package/src/component/1d-2d/components/Signals1D.tsx +3 -3
  896. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +32 -24
  897. package/src/component/1d-2d/tools/BrushXY.tsx +2 -2
  898. package/src/component/1d-2d/tools/CursorToolIcon.tsx +36 -16
  899. package/src/component/1d-2d/tools/DistanceLine.tsx +2 -4
  900. package/src/component/2d/1d-tracer/Left1DChart.tsx +1 -5
  901. package/src/component/2d/1d-tracer/Ranges1D.tsx +0 -1
  902. package/src/component/2d/1d-tracer/Top1DChart.tsx +6 -9
  903. package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +4 -2
  904. package/src/component/2d/BrushTracker2D.tsx +2 -1
  905. package/src/component/2d/FooterBanner.tsx +3 -2
  906. package/src/component/2d/IndirectAxis2D.tsx +1 -1
  907. package/src/component/2d/SlicingView.tsx +2 -2
  908. package/src/component/2d/Viewer2D.tsx +2 -2
  909. package/src/component/2d/tools/PivotIndicator.tsx +1 -3
  910. package/src/component/2d/utilities/scale.ts +1 -1
  911. package/src/component/2d/zones/SignalsGuideLines.tsx +6 -6
  912. package/src/component/2d/zones/Zone.tsx +4 -4
  913. package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +30 -19
  914. package/src/component/EventsTrackers/BrushTracker.tsx +15 -18
  915. package/src/component/EventsTrackers/KeysListenerTracker.tsx +1 -1
  916. package/src/component/EventsTrackers/MouseTracker.tsx +6 -7
  917. package/src/component/EventsTrackers/brush_tracker.types.ts +12 -4
  918. package/src/component/EventsTrackers/brush_tracker_events_listeners.ts +3 -6
  919. package/src/component/SVGTable.tsx +6 -5
  920. package/src/component/assignment/AssignmentProvider.tsx +5 -11
  921. package/src/component/assignment/AssignmentsContext.ts +7 -4
  922. package/src/component/assignment/utilities/getAssignments.ts +4 -9
  923. package/src/component/context/ChartContext.tsx +3 -4
  924. package/src/component/context/CoreContext.tsx +4 -4
  925. package/src/component/context/DispatchContext.tsx +3 -5
  926. package/src/component/context/FilterSyncOptionsContext.tsx +4 -4
  927. package/src/component/context/GlobalContext.tsx +3 -5
  928. package/src/component/context/KeyModifierContext.tsx +3 -7
  929. package/src/component/context/LoaderContext.tsx +4 -9
  930. package/src/component/context/LoggerContext.tsx +5 -5
  931. package/src/component/context/PreferencesContext.tsx +6 -5
  932. package/src/component/context/ScaleContext.tsx +5 -6
  933. package/src/component/context/ShareDataContext.tsx +3 -7
  934. package/src/component/context/SortSpectraContext.tsx +7 -20
  935. package/src/component/context/ToasterContext.tsx +3 -5
  936. package/src/component/context/TopicMoleculeContext.tsx +4 -4
  937. package/src/component/context/processings_mutations_context.api.ts +122 -21
  938. package/src/component/context/processings_mutations_context.tsx +4 -4
  939. package/src/component/elements/ActionsButtonsPopover.tsx +14 -13
  940. package/src/component/elements/Alert.tsx +4 -5
  941. package/src/component/elements/Anchor.tsx +43 -14
  942. package/src/component/elements/Button.tsx +1 -1
  943. package/src/component/elements/D3Axis.tsx +65 -66
  944. package/src/component/elements/DialogManager.tsx +10 -10
  945. package/src/component/elements/DraggableDialog.tsx +13 -14
  946. package/src/component/elements/EditableColumn.tsx +99 -70
  947. package/src/component/elements/Footer.tsx +9 -3
  948. package/src/component/elements/Input.tsx +101 -107
  949. package/src/component/elements/Input2.tsx +17 -21
  950. package/src/component/elements/InputRange.tsx +11 -11
  951. package/src/component/elements/IsotopesViewer.tsx +1 -1
  952. package/src/component/elements/NumberInput2.tsx +9 -18
  953. package/src/component/elements/NumberInput2Controller.tsx +23 -10
  954. package/src/component/elements/ResizerWithScale.tsx +1 -1
  955. package/src/component/elements/SVGGroup.tsx +18 -15
  956. package/src/component/elements/Scroller.tsx +3 -5
  957. package/src/component/elements/Sections.tsx +4 -4
  958. package/src/component/elements/Select.tsx +5 -10
  959. package/src/component/elements/Select2.tsx +5 -10
  960. package/src/component/elements/Tab/Tab.tsx +2 -2
  961. package/src/component/elements/Tab/Tabs.tsx +0 -2
  962. package/src/component/elements/TabsProvider.tsx +3 -5
  963. package/src/component/elements/custom-color-picker.tsx +230 -0
  964. package/src/component/elements/draggable/useDraggable.ts +4 -4
  965. package/src/component/elements/export/ExportManager.tsx +6 -10
  966. package/src/component/elements/export/ExportSettingsProvider.tsx +3 -5
  967. package/src/component/elements/export/RenderDetector.tsx +1 -0
  968. package/src/component/elements/print/PrintContent.tsx +3 -2
  969. package/src/component/elements/print/PrintProvider.tsx +6 -8
  970. package/src/component/elements/resizer/SVGResizer.tsx +0 -1
  971. package/src/component/elements/tanstack_table/elements/table_context.ts +4 -5
  972. package/src/component/elements/tanstack_table/elements/table_header.tsx +3 -1
  973. package/src/component/elements/tanstack_table/elements/table_row.tsx +44 -4
  974. package/src/component/elements/tanstack_table/elements/useRowReorder.ts +130 -0
  975. package/src/component/elements/tanstack_table/table.tsx +21 -11
  976. package/src/component/elements/tanstack_table/types.ts +9 -0
  977. package/src/component/elements/utilities/transferStyles.ts +1 -3
  978. package/src/component/header/Header.tsx +6 -5
  979. package/src/component/highlight/index.tsx +24 -16
  980. package/src/component/hooks/reduce2DSpectrum.ts +3 -3
  981. package/src/component/hooks/useCombinedRefs.ts +3 -6
  982. package/src/component/hooks/useDialogToggle.ts +1 -1
  983. package/src/component/hooks/useExport.tsx +4 -6
  984. package/src/component/hooks/useSaveSettings.tsx +1 -1
  985. package/src/component/hooks/useSelectedSpectra.ts +1 -2
  986. package/src/component/hooks/useTableSortBy.tsx +2 -1
  987. package/src/component/hooks/useTextMetrics.ts +1 -0
  988. package/src/component/hooks/use_gridlines_config.ts +2 -4
  989. package/src/component/loader/DropZone.tsx +3 -3
  990. package/src/component/loader/Spinner.tsx +3 -3
  991. package/src/component/loader/SpinnerContext.tsx +1 -3
  992. package/src/component/loader/useLoadFiles.ts +8 -9
  993. package/src/component/main/InnerNMRium.tsx +30 -25
  994. package/src/component/main/InnerNMRiumContents.tsx +6 -6
  995. package/src/component/main/NMRium.tsx +12 -8
  996. package/src/component/main/NMRiumRefAPI.ts +3 -3
  997. package/src/component/main/NMRiumStateProvider.tsx +10 -8
  998. package/src/component/main/NMRiumViewer.tsx +4 -2
  999. package/src/component/main/NMRiumViewerWrapper.tsx +1 -1
  1000. package/src/component/main/types.ts +3 -3
  1001. package/src/component/modal/AboutPredictionModal.tsx +1 -3
  1002. package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -3
  1003. package/src/component/modal/ImportPublicationStringModal.tsx +7 -0
  1004. package/src/component/modal/LoadJCAMPModal.tsx +1 -1
  1005. package/src/component/modal/LogsHistoryModal.tsx +4 -2
  1006. package/src/component/modal/MoleculeAutoLabelsDatabaseModal.tsx +1 -1
  1007. package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
  1008. package/src/component/modal/PublicationStringModal.tsx +1 -1
  1009. package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -3
  1010. package/src/component/modal/changeSum/SelectMolecule.tsx +2 -2
  1011. package/src/component/modal/editRange/EditRangeModal.tsx +8 -7
  1012. package/src/component/modal/editRange/forms/components/SignalsContent.tsx +4 -8
  1013. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +3 -13
  1014. package/src/component/modal/editZone/SignalsForm.tsx +2 -2
  1015. package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -6
  1016. package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +4 -4
  1017. package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +1 -0
  1018. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +2 -3
  1019. package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +5 -2
  1020. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +3 -1
  1021. package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +5 -2
  1022. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +2 -4
  1023. package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +2 -3
  1024. package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +2 -3
  1025. package/src/component/modal/setting/tanstack_general_settings/ui/table_section.tsx +2 -2
  1026. package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +9 -4
  1027. package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +2 -5
  1028. package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +7 -9
  1029. package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -3
  1030. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
  1031. package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +6 -6
  1032. package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +67 -64
  1033. package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
  1034. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +0 -1
  1035. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +1 -1
  1036. package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +15 -14
  1037. package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +40 -8
  1038. package/src/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.ts +4 -2
  1039. package/src/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.ts +4 -4
  1040. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +86 -82
  1041. package/src/component/panels/PeaksPanel/peaksToTSV.ts +4 -4
  1042. package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
  1043. package/src/component/panels/RangesPanel/RangesPreferences.tsx +52 -46
  1044. package/src/component/panels/RangesPanel/RangesTableRow.tsx +1 -6
  1045. package/src/component/panels/RangesPanel/TableColumns/ActionsColumn.tsx +0 -1
  1046. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +53 -7
  1047. package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +11 -11
  1048. package/src/component/panels/SpectraPanel/SpectraTable.tsx +22 -14
  1049. package/src/component/panels/SpectraPanel/SpectraTabs.tsx +2 -2
  1050. package/src/component/panels/SpectraPanel/SpectrumListPanel.tsx +1 -1
  1051. package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +3 -2
  1052. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +46 -27
  1053. package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +12 -10
  1054. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +38 -29
  1055. package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +54 -59
  1056. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +9 -11
  1057. package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +24 -22
  1058. package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +8 -12
  1059. package/src/component/panels/SummaryPanel/Overview.tsx +1 -1
  1060. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
  1061. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +5 -9
  1062. package/src/component/panels/SummaryPanel/utilities/Utilities.ts +4 -8
  1063. package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -1
  1064. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +4 -1
  1065. package/src/component/panels/ZonesPanel/ZonesPanel.tsx +7 -9
  1066. package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +62 -58
  1067. package/src/component/panels/ZonesPanel/ZonesTable.tsx +8 -16
  1068. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +5 -25
  1069. package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +1 -1
  1070. package/src/component/panels/databasePanel/DatabaseInfo.tsx +2 -0
  1071. package/src/component/panels/databasePanel/DatabasePanel.tsx +9 -6
  1072. package/src/component/panels/databasePanel/DatabasePreferences.tsx +118 -114
  1073. package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +3 -4
  1074. package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
  1075. package/src/component/panels/extra/utilities/settingImperativeHandle.ts +1 -1
  1076. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +3 -3
  1077. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +15 -15
  1078. package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -4
  1079. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -4
  1080. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +5 -8
  1081. package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +4 -6
  1082. package/src/component/panels/filtersPanel/processings/processing_item.tsx +1 -1
  1083. package/src/component/panels/filtersPanel/processings/use_live_edit.ts +9 -17
  1084. package/src/component/panels/header/DefaultPanelHeader.tsx +4 -3
  1085. package/src/component/panels/hooks/useGetPanelOptions.ts +6 -6
  1086. package/src/component/panels/informationPanel/SpectraPicker.tsx +1 -1
  1087. package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +29 -26
  1088. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +1 -1
  1089. package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +12 -10
  1090. package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +113 -142
  1091. package/src/component/panels/predictionPanel/PredictionPanel.tsx +5 -5
  1092. package/src/component/panels/predictionPanel/PredictionPreferences.tsx +42 -36
  1093. package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +7 -6
  1094. package/src/component/reducer/IgnoreActions.ts +2 -5
  1095. package/src/component/reducer/Reducer.ts +10 -5
  1096. package/src/component/reducer/actions/CorrelationsActions.ts +18 -34
  1097. package/src/component/reducer/actions/DomainActions.ts +4 -4
  1098. package/src/component/reducer/actions/FiltersActions.ts +75 -109
  1099. package/src/component/reducer/actions/InsetActions.ts +8 -10
  1100. package/src/component/reducer/actions/LoadAction.ts +50 -91
  1101. package/src/component/reducer/actions/MoleculeActions.ts +24 -33
  1102. package/src/component/reducer/actions/PeaksActions.ts +20 -26
  1103. package/src/component/reducer/actions/PreferencesActions.ts +4 -10
  1104. package/src/component/reducer/actions/RangesActions.ts +81 -21
  1105. package/src/component/reducer/actions/SpectraActions.ts +52 -47
  1106. package/src/component/reducer/actions/ToolsActions.ts +35 -38
  1107. package/src/component/reducer/actions/ZonesActions.ts +36 -30
  1108. package/src/component/reducer/actions/processings_actions.ts +11 -8
  1109. package/src/component/reducer/helper/Zoom1DManager.ts +2 -2
  1110. package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -1
  1111. package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
  1112. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +5 -8
  1113. package/src/component/useWatchForm.tsx +0 -1
  1114. package/src/component/utility/Events.tsx +1 -3
  1115. package/src/component/utility/core_slots/core_operator_chart_mouse_icon.tsx +32 -0
  1116. package/src/component/utility/export.ts +17 -20
  1117. package/src/component/utility/filterDatabaseInfoEntry.ts +1 -1
  1118. package/src/data/PredictionManager.ts +7 -12
  1119. package/src/data/SpectraManager.ts +4 -2
  1120. package/src/data/data1d/Spectrum1D/convertDataToFloat64Array.ts +7 -4
  1121. package/src/data/data1d/Spectrum1D/generateJGraphData.ts +8 -9
  1122. package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +3 -0
  1123. package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -2
  1124. package/src/data/data1d/database.ts +3 -3
  1125. package/src/data/data1d/multipleSpectraAnalysis.ts +7 -7
  1126. package/src/data/data2d/Spectrum2D/contours.ts +22 -22
  1127. package/src/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.ts +1 -1
  1128. package/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts +3 -2
  1129. package/src/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.ts +1 -2
  1130. package/src/data/data2d/Spectrum2D/findBestMinContour/math.ts +2 -2
  1131. package/src/data/data2d/Spectrum2D/get2DColor.ts +5 -5
  1132. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +4 -0
  1133. package/src/data/matrixGeneration.ts +3 -6
  1134. package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -3
  1135. package/src/data/utilities/RangeUtilities.ts +3 -3
  1136. package/src/data/utilities/ZoneUtilities.ts +8 -34
  1137. package/src/data/utilities/generateNumbersPowerOfX.ts +2 -2
  1138. package/src/utils/clipboard/clipboardComponents.tsx +5 -5
  1139. package/src/versionInfo.ts +1 -1
  1140. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +0 -9
  1141. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +0 -1
  1142. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +0 -80
  1143. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +0 -1
  1144. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +0 -7
  1145. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +0 -1
  1146. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +0 -7
  1147. package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js.map +0 -1
  1148. package/lib/component/utility/colorToHexWithAlpha.d.ts +0 -10
  1149. package/lib/component/utility/colorToHexWithAlpha.d.ts.map +0 -1
  1150. package/lib/component/utility/colorToHexWithAlpha.js +0 -5
  1151. package/lib/component/utility/colorToHexWithAlpha.js.map +0 -1
  1152. package/lib/component/utility/forwardRef.d.ts +0 -3
  1153. package/lib/component/utility/forwardRef.d.ts.map +0 -1
  1154. package/lib/component/utility/forwardRef.js +0 -6
  1155. package/lib/component/utility/forwardRef.js.map +0 -1
  1156. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +0 -130
  1157. package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.tsx +0 -32
  1158. package/src/component/utility/colorToHexWithAlpha.ts +0 -7
  1159. package/src/component/utility/forwardRef.ts +0 -10
@@ -16,10 +16,11 @@ import {
16
16
  import type { Draft } from 'immer';
17
17
  import { useMemo } from 'react';
18
18
  import { useAccordionControls } from 'react-science/ui';
19
+ import { match } from 'ts-pattern';
19
20
  import { useEventCallback } from 'usehooks-ts';
20
21
 
21
22
  import { initializeContoursLevels } from '../../data/data2d/Spectrum2D/contours.ts';
22
- import type { State } from '../reducer/Reducer.ts';
23
+ import type { LiveEdit, State } from '../reducer/Reducer.ts';
23
24
  import { setDomain, setMode } from '../reducer/actions/DomainActions.ts';
24
25
  import { updateView } from '../reducer/actions/FiltersActions.ts';
25
26
  import { restoreLastZoomDomain } from '../reducer/helper/ZoomHistoryManager.ts';
@@ -33,6 +34,15 @@ export type ProcessingsMutations = ReturnType<
33
34
  typeof useProcessingsMutationsAPI
34
35
  >;
35
36
 
37
+ interface PrepareLiveChangeOptions {
38
+ operationUid: string;
39
+ shouldProcessAll: boolean;
40
+ shouldUpdateView: boolean;
41
+ liveOperation?: SpectrumProcessingOperation<unknown, unknown>;
42
+ preProcessOnly?: boolean;
43
+ enforceSpectrum?: Spectrum;
44
+ }
45
+
36
46
  export function useProcessingsMutationsAPI() {
37
47
  const core = useCore();
38
48
  const state = useChartData();
@@ -90,6 +100,8 @@ export function useProcessingsMutationsAPI() {
90
100
  onProduce: (draft) => onProduce(draft, processedSpectrum),
91
101
  },
92
102
  });
103
+
104
+ return spectrum;
93
105
  }
94
106
 
95
107
  function resetSelectedTool() {
@@ -101,11 +113,14 @@ export function useProcessingsMutationsAPI() {
101
113
 
102
114
  // --- API --- //
103
115
 
104
- const resetLiveChange = useEventCallback(function resetLiveChange() {
116
+ const resetLiveChange = useEventCallback(function resetLiveChange(
117
+ shouldUpdateView: boolean,
118
+ ) {
105
119
  dispatch({
106
120
  type: 'SET_SPECTRUM_LIVE_PROCESSED',
107
121
  payload: {
108
122
  spectrumLiveProcessed: undefined,
123
+ shouldUpdateView,
109
124
  },
110
125
  });
111
126
  });
@@ -116,8 +131,12 @@ export function useProcessingsMutationsAPI() {
116
131
  ) {
117
132
  const { spectrum, indexSpectrum } = getSpectrum();
118
133
 
119
- if (!spectrum?.processings) return;
120
- if (indexOperation > spectrum.processings.length) return;
134
+ if (
135
+ !spectrum?.processings ||
136
+ indexOperation > spectrum.processings.length
137
+ ) {
138
+ return;
139
+ }
121
140
 
122
141
  spectrum.processings[indexOperation] = operation;
123
142
 
@@ -165,8 +184,7 @@ export function useProcessingsMutationsAPI() {
165
184
  const removeAll = useEventCallback(async function removeAll() {
166
185
  const { spectrum, indexSpectrum } = getSpectrum();
167
186
 
168
- if (!spectrum?.processings) return;
169
- if (spectrum.processings.length === 0) return;
187
+ if (!spectrum?.processings || spectrum.processings.length === 0) return;
170
188
 
171
189
  spectrum.processings = [];
172
190
 
@@ -203,11 +221,19 @@ export function useProcessingsMutationsAPI() {
203
221
  });
204
222
 
205
223
  // Related to live update
206
- const prepareLiveChange = useEventCallback(async function prepareLiveChange(
207
- uid: string,
208
- shouldProcessAll: boolean,
209
- ) {
210
- const { spectrum } = getSpectrum();
224
+ async function prepareLiveChange(options: PrepareLiveChangeOptions) {
225
+ const {
226
+ operationUid: uid,
227
+ shouldProcessAll,
228
+ shouldUpdateView,
229
+ liveOperation,
230
+ preProcessOnly = false,
231
+ enforceSpectrum,
232
+ } = options;
233
+
234
+ const { spectrum } = enforceSpectrum
235
+ ? { spectrum: sliceSpectrum(enforceSpectrum) }
236
+ : getSpectrum();
211
237
  if (!spectrum?.processings) return;
212
238
 
213
239
  const preProcessings: typeof spectrum.processings = [];
@@ -215,7 +241,12 @@ export function useProcessingsMutationsAPI() {
215
241
 
216
242
  let didFindUid = false;
217
243
  for (const operation of spectrum.processings) {
218
- if (uid === operation.uid) didFindUid = true;
244
+ if (uid === operation.uid) {
245
+ didFindUid = true;
246
+ processings.push(structuredClone(liveOperation ?? operation));
247
+ continue;
248
+ }
249
+
219
250
  if (didFindUid) processings.push(structuredClone(operation));
220
251
  else preProcessings.push(structuredClone(operation));
221
252
  }
@@ -229,6 +260,9 @@ export function useProcessingsMutationsAPI() {
229
260
  preProcessedSpectrum.originalInfo = structuredClone(
230
261
  preProcessedSpectrum.info,
231
262
  );
263
+ preProcessedSpectrum.originalProcessingInfo = structuredClone(
264
+ preProcessedSpectrum.processingInfo,
265
+ );
232
266
  if (isSpectrum1D(preProcessedSpectrum)) {
233
267
  preProcessedSpectrum.originalData = sliceData1D(
234
268
  preProcessedSpectrum.data,
@@ -241,6 +275,18 @@ export function useProcessingsMutationsAPI() {
241
275
  assertUnreachable(preProcessedSpectrum);
242
276
  }
243
277
 
278
+ // stop here preProcessOnly
279
+ if (preProcessOnly) {
280
+ dispatch({
281
+ type: 'SET_SPECTRUM_LIVE_PROCESSED',
282
+ payload: {
283
+ spectrumLiveProcessed: preProcessedSpectrum,
284
+ shouldUpdateView,
285
+ },
286
+ });
287
+ return;
288
+ }
289
+
244
290
  // apply the rest of processings
245
291
  const savedProcessings = structuredClone(preProcessedSpectrum.processings);
246
292
 
@@ -257,9 +303,10 @@ export function useProcessingsMutationsAPI() {
257
303
  type: 'SET_SPECTRUM_LIVE_PROCESSED',
258
304
  payload: {
259
305
  spectrumLiveProcessed: processedSpectrum,
306
+ shouldUpdateView,
260
307
  },
261
308
  });
262
- });
309
+ }
263
310
 
264
311
  const applyLiveChange = useEventCallback(async function applyLiveChange(
265
312
  operation: SpectrumProcessingOperation<any, any>,
@@ -289,10 +336,61 @@ export function useProcessingsMutationsAPI() {
289
336
  type: 'SET_SPECTRUM_LIVE_PROCESSED',
290
337
  payload: {
291
338
  spectrumLiveProcessed: processedSpectrum,
339
+ shouldUpdateView: false,
292
340
  },
293
341
  });
294
342
  });
295
343
 
344
+ const handleLiveChange = useEventCallback(async function handleLiveChange(
345
+ liveEdit: LiveEdit,
346
+ operationUid: string,
347
+ ) {
348
+ const ui = core.slotOperator(operationUid);
349
+ const previousLiveEdit = state.processingOperators.liveEdit ?? {
350
+ checked: ui?.isLiveEditable ?? false,
351
+ shouldProcessNext:
352
+ ui?.defaultShouldProcessAll ?? liveEdit.shouldProcessNext,
353
+ };
354
+ const shouldUpdateView =
355
+ previousLiveEdit.shouldProcessNext !== liveEdit.shouldProcessNext;
356
+ const liveOperation = state.processingOperators.liveOperation;
357
+
358
+ await match(liveEdit)
359
+ // spectrum fully processed with live operation
360
+ .with({ checked: true, shouldProcessNext: true }, async () => {
361
+ await prepareLiveChange({
362
+ operationUid,
363
+ shouldProcessAll: true,
364
+ shouldUpdateView,
365
+ liveOperation,
366
+ });
367
+ })
368
+ // spectrum fully processed with original operation
369
+ // ie: no `state.spectrumLiveProcessed`
370
+ .with({ checked: false, shouldProcessNext: true }, async () => {
371
+ resetLiveChange(true);
372
+ })
373
+ // spectrum processed until the operation (stop before) then apply the live operation
374
+ .with({ checked: true, shouldProcessNext: false }, async () => {
375
+ await prepareLiveChange({
376
+ operationUid,
377
+ shouldProcessAll: false,
378
+ shouldUpdateView,
379
+ liveOperation,
380
+ });
381
+ })
382
+ // spectrum processed until the operation (stop before)
383
+ .with({ checked: false, shouldProcessNext: false }, async () => {
384
+ await prepareLiveChange({
385
+ operationUid,
386
+ shouldProcessAll: false,
387
+ shouldUpdateView,
388
+ preProcessOnly: true,
389
+ });
390
+ })
391
+ .exhaustive();
392
+ });
393
+
296
394
  const triggerOperation = useEventCallback(async function triggerOperation(
297
395
  operation: SpectrumProcessingOperation<any, any>,
298
396
  ) {
@@ -319,8 +417,8 @@ export function useProcessingsMutationsAPI() {
319
417
  assertNotNullish(operator);
320
418
 
321
419
  openPanel('processingsPanel');
322
- resetLiveChange();
323
- await submit(spectrum, indexSpectrum, (draft) =>
420
+ resetLiveChange(false);
421
+ const processedSpectrum = await submit(spectrum, indexSpectrum, (draft) =>
324
422
  updateView(draft, operator.domainUpdateRules),
325
423
  );
326
424
 
@@ -337,10 +435,13 @@ export function useProcessingsMutationsAPI() {
337
435
  }
338
436
 
339
437
  if (operatorUI.isLiveEditable) {
340
- await prepareLiveChange(
341
- operation.uid,
342
- operatorUI.defaultShouldProcessAll ?? false,
343
- );
438
+ await prepareLiveChange({
439
+ operationUid: operation.uid,
440
+ liveOperation: operation,
441
+ shouldProcessAll: operatorUI.defaultShouldProcessAll ?? false,
442
+ shouldUpdateView: true,
443
+ enforceSpectrum: processedSpectrum,
444
+ });
344
445
  }
345
446
  });
346
447
 
@@ -351,15 +452,15 @@ export function useProcessingsMutationsAPI() {
351
452
  remove,
352
453
  removeAll,
353
454
  switchEnabled,
354
- prepareLiveChange,
355
455
  resetLiveChange,
356
456
  applyLiveChange,
457
+ handleLiveChange,
357
458
  triggerOperation,
358
459
  }),
359
460
  [
360
461
  apply,
361
462
  applyLiveChange,
362
- prepareLiveChange,
463
+ handleLiveChange,
363
464
  remove,
364
465
  removeAll,
365
466
  reorder,
@@ -1,6 +1,6 @@
1
1
  import { assertDefined } from '@zakodium/utils';
2
2
  import type { PropsWithChildren } from 'react';
3
- import { createContext, useContext } from 'react';
3
+ import { createContext, use } from 'react';
4
4
 
5
5
  import type { ProcessingsMutations } from './processings_mutations_context.api.ts';
6
6
  import { useProcessingsMutationsAPI } from './processings_mutations_context.api.ts';
@@ -14,14 +14,14 @@ export function ProcessingsMutationsProvider(props: PropsWithChildren) {
14
14
  const stableAPI = useProcessingsMutationsAPI();
15
15
 
16
16
  return (
17
- <ProcessingsMutationsContext.Provider value={stableAPI}>
17
+ <ProcessingsMutationsContext value={stableAPI}>
18
18
  {children}
19
- </ProcessingsMutationsContext.Provider>
19
+ </ProcessingsMutationsContext>
20
20
  );
21
21
  }
22
22
 
23
23
  export function useProcessingsMutations(): ProcessingsMutations {
24
- const api = useContext(ProcessingsMutationsContext);
24
+ const api = use(ProcessingsMutationsContext);
25
25
  assertDefined(api);
26
26
 
27
27
  return api;
@@ -83,20 +83,20 @@ function ActionButton(props: ButtonProps) {
83
83
 
84
84
  function filterButtons(buttons: ActionButtonProps[]) {
85
85
  const visibleButtons: ActionButtonProps[] = [];
86
- let disablePopover = true;
86
+ let shouldDisablePopover = true;
87
87
 
88
88
  for (const button of buttons) {
89
89
  const isSeparatorComponent = isSeparator(button);
90
90
 
91
- const show = isSeparatorComponent || button?.visible !== false;
92
- if (show) visibleButtons.push(button);
91
+ const shouldShow = isSeparatorComponent || button?.visible !== false;
92
+ if (shouldShow) visibleButtons.push(button);
93
93
 
94
94
  if (!isSeparatorComponent && button?.visible !== false) {
95
- disablePopover = false;
95
+ shouldDisablePopover = false;
96
96
  }
97
97
  }
98
98
 
99
- return { visibleButtons, disablePopover };
99
+ return { visibleButtons, shouldDisablePopover };
100
100
  }
101
101
 
102
102
  interface OffsetOptions {
@@ -112,12 +112,13 @@ function getOffset(options: OffsetOptions): [number, number] {
112
112
  const isTrackY = anchorTo === 'cursor-y' || anchorTo === 'cursor';
113
113
 
114
114
  const x = isTrackX ? cursorPosition.x : 0;
115
- const y = isTrackY ? cursorPosition.y : 0;
116
115
 
117
116
  if (anchorTo === 'cursor-x') {
118
117
  return [x + offsetX, -offsetY];
119
118
  }
120
119
 
120
+ const y = isTrackY ? cursorPosition.y : 0;
121
+
121
122
  if (anchorTo === 'cursor-y') {
122
123
  return [y + offsetY, offsetX];
123
124
  }
@@ -171,7 +172,7 @@ export function ActionsButtonsPopover(props: ActionsButtonsPopoverProps) {
171
172
  });
172
173
  const Wrapper = targetTagName as any;
173
174
 
174
- const { visibleButtons, disablePopover } = filterButtons(buttons);
175
+ const { visibleButtons, shouldDisablePopover } = filterButtons(buttons);
175
176
 
176
177
  function handleMouseEnter(event: MouseEvent<HTMLElement>) {
177
178
  const { clientX, clientY, currentTarget } = event;
@@ -195,7 +196,7 @@ export function ActionsButtonsPopover(props: ActionsButtonsPopoverProps) {
195
196
  popoverClassName="actions-buttons-popover"
196
197
  interactionKind="hover"
197
198
  enforceFocus={false}
198
- disabled={disablePopover || disabled}
199
+ disabled={shouldDisablePopover || disabled}
199
200
  renderTarget={({ onMouseEnter, isOpen, ...otherProps }) => (
200
201
  <Wrapper
201
202
  {...targetProps}
@@ -235,21 +236,21 @@ function ActionButtons(props: ActionButtonsProps) {
235
236
  return buttons.map((button, index) => {
236
237
  if (isSeparator(button)) {
237
238
  if (direction === 'row') {
238
- // eslint-disable-next-line react/no-array-index-key
239
+ // eslint-disable-next-line @eslint-react/no-array-index-key
239
240
  return <HorizontalSeparator key={index} />;
240
241
  }
241
242
 
242
- // eslint-disable-next-line react/no-array-index-key
243
+ // eslint-disable-next-line @eslint-react/no-array-index-key
243
244
  return <VerticalSeparator key={index} />;
244
245
  }
245
246
 
246
- const { title, visible, ...otherProps } = button;
247
+ const { title = '', visible, ...otherProps } = button;
247
248
 
248
249
  return (
249
250
  <ActionButton
250
- // eslint-disable-next-line react/no-array-index-key
251
+ // eslint-disable-next-line @eslint-react/no-array-index-key
251
252
  key={index}
252
- tooltipProps={{ content: title || '', compact: true }}
253
+ tooltipProps={{ content: title, compact: true }}
253
254
  {...otherProps}
254
255
  />
255
256
  );
@@ -2,7 +2,7 @@ import type { ButtonProps } from '@blueprintjs/core';
2
2
  import { Button, DialogBody, DialogFooter } from '@blueprintjs/core';
3
3
  import styled from '@emotion/styled';
4
4
  import type { MouseEvent, ReactNode } from 'react';
5
- import { createContext, useContext, useMemo, useState } from 'react';
5
+ import { createContext, use, useMemo, useState } from 'react';
6
6
 
7
7
  import { StandardDialog } from './StandardDialog.tsx';
8
8
 
@@ -67,7 +67,7 @@ interface AlertContextType {
67
67
  const AlertContext = createContext<AlertContextType | null>(null);
68
68
 
69
69
  export function useAlert() {
70
- const context = useContext(AlertContext);
70
+ const context = use(AlertContext);
71
71
  if (!context) {
72
72
  throw new Error('Alert context was not found');
73
73
  }
@@ -93,9 +93,7 @@ export function AlertProvider({ children }: { children: ReactNode }) {
93
93
  return (
94
94
  <>
95
95
  <Alerts alerts={alerts} onHide={hideAlert} />
96
- <AlertContext.Provider value={alertState}>
97
- {children}
98
- </AlertContext.Provider>
96
+ <AlertContext value={alertState}>{children}</AlertContext>
99
97
  </>
100
98
  );
101
99
  }
@@ -136,6 +134,7 @@ function Alerts(props: AlertsProps) {
136
134
  const { text, onClick, preventClose, ...otherItemProps } = item;
137
135
  return (
138
136
  <Button
137
+ // eslint-disable-next-line @eslint-react/no-array-index-key
139
138
  key={index}
140
139
  onClick={(e) =>
141
140
  optionsHandler(e, { onClick, preventClose, id })
@@ -1,5 +1,10 @@
1
1
  import styled from '@emotion/styled';
2
- import type { CSSProperties, MouseEvent, RefObject } from 'react';
2
+ import type {
3
+ CSSProperties,
4
+ KeyboardEvent,
5
+ MouseEvent,
6
+ RefObject,
7
+ } from 'react';
3
8
  import { useRef, useState } from 'react';
4
9
 
5
10
  const CUR_MOVE = `url("position:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M1 6h20M1 6l4-4M1 6l4 4M21 6l-4-4M21 6l-4 4' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 11 6, ew-resize`;
@@ -7,27 +12,51 @@ const CUR_MOVE = `url("position:image/svg+xml,%3Csvg xmlns='http://www.w3.org/20
7
12
  type AnchorShape = 'diamond' | 'circle' | 'square' | 'triangle';
8
13
 
9
14
  interface AnchorStyle {
10
- /** Shape size in px. Default: 16 */
15
+ /**
16
+ * Shape size in px.
17
+ * @default 16
18
+ */
11
19
  size?: number;
12
- /** Default: "rgba(255,255,255,0.85)" */
20
+ /**
21
+ * @default 'rgba(255,255,255,0.85)'
22
+ */
13
23
  fill?: string;
14
- /** Default: "#7a8fa6" */
24
+ /**
25
+ * @efault '#7a8fa6'
26
+ */
15
27
  stroke?: string;
16
- /** Default: "rgba(210,220,235,0.6)" */
28
+ /**
29
+ * @default 'rgba(210,220,235,0.6)'
30
+ */
17
31
  hoverFill?: string;
18
- /** Default: "#7a8fa6" */
32
+ /**
33
+ * @default '#7a8fa6'
34
+ */
19
35
  hoverStroke?: string;
20
- /** Default: "rgba(210,220,235,0.8)" */
36
+ /**
37
+ * @default 'rgba(210,220,235,0.8)'
38
+ */
21
39
  dragFill?: string;
22
- /** Default: "#7a8fa6" */
40
+ /**
41
+ * @default '#7a8fa6'
42
+ */
23
43
  dragStroke?: string;
24
- /** Stroke width in px. Default: 1.2 */
44
+ /**
45
+ * Stroke width in px.
46
+ * @default 1.2
47
+ */
25
48
  strokeWidth?: number;
26
- /** Default: "rgba(74,111,168,0.5)" */
49
+ /**
50
+ * @default 'rgba(74,111,168,0.5)'
51
+ */
27
52
  guideColor?: string;
28
- /** Default: "rgba(42,82,160,0.75)" */
53
+ /**
54
+ * @default 'rgba(42,82,160,0.75)'
55
+ */
29
56
  guideDragColor?: string;
30
- /** Default: "solid" */
57
+ /**
58
+ * @default 'solid'
59
+ */
31
60
  guideStyle?: 'dashed' | 'dotted' | 'solid';
32
61
  }
33
62
 
@@ -39,7 +68,7 @@ interface AnchorPosition {
39
68
  interface AnchorProps {
40
69
  position: AnchorPosition;
41
70
  shape?: AnchorShape;
42
- containerRef: RefObject<HTMLElement>;
71
+ containerRef: RefObject<HTMLElement | null>;
43
72
  anchorStyle?: AnchorStyle;
44
73
  restoreFocusOnLeave?: boolean;
45
74
  onDragMove: (newX: number) => void;
@@ -296,7 +325,7 @@ export function Anchor({
296
325
  window.addEventListener('mouseup', onUp);
297
326
  }
298
327
 
299
- function handleKeyDown(e: React.KeyboardEvent<HTMLDivElement>) {
328
+ function handleKeyDown(e: KeyboardEvent<HTMLDivElement>) {
300
329
  if (e.key === 'Backspace' || e.key === 'Delete') {
301
330
  e.preventDefault();
302
331
  onDelete();
@@ -180,7 +180,7 @@ const styles: Style = {
180
180
  }
181
181
  &:not(${element === 'button' ? '[disabled]' : '.disabled'}):active {
182
182
  background-color: ${active || hover};
183
- color: ${color?.active || color.hover};
183
+ color: ${color.active || color.hover};
184
184
  }
185
185
  `;
186
186
 
@@ -1,5 +1,4 @@
1
- import type { SVGAttributes } from 'react';
2
- import { forwardRef } from 'react';
1
+ import type { Ref, SVGAttributes } from 'react';
3
2
  import type { UseLinearPrimaryTicksResult } from 'react-d3-utils';
4
3
  import type {
5
4
  SVGStyledLineProps,
@@ -33,6 +32,7 @@ interface D3AxisProps
33
32
  showGrid?: boolean;
34
33
  showPrimaryGrid?: boolean;
35
34
  showSecondaryGrid?: boolean;
35
+ ref?: Ref<SVGGElement | null>;
36
36
  }
37
37
 
38
38
  interface TicketsProps extends UseLinearPrimaryTicksResult, BaseD3AxisProps {}
@@ -225,69 +225,68 @@ function SecondaryGrid(props: GridProps<SecondaryGridElementProps>) {
225
225
  });
226
226
  }
227
227
 
228
- export const D3Axis = forwardRef<SVGGElement | null, D3AxisProps>(
229
- (props, ref) => {
230
- const {
231
- ticks,
232
- scale,
233
- axisPosition,
234
- gridSize,
235
- children,
236
- primaryGridProps,
237
- secondaryGridProps,
238
- tickLength,
239
- showGrid = false,
240
- showPrimaryGrid = true,
241
- showSecondaryGrid = true,
242
- ...otherProps
243
- } = props;
244
-
245
- const isVertical = isVerticalAxis(axisPosition);
228
+ export function D3Axis(props: D3AxisProps) {
229
+ const {
230
+ ref,
231
+ ticks,
232
+ scale,
233
+ axisPosition,
234
+ gridSize,
235
+ children,
236
+ primaryGridProps,
237
+ secondaryGridProps,
238
+ tickLength,
239
+ showGrid = false,
240
+ showPrimaryGrid = true,
241
+ showSecondaryGrid = true,
242
+ ...otherProps
243
+ } = props;
246
244
 
247
- return (
248
- <g
249
- ref={ref}
250
- fontSize="10"
251
- textAnchor={isVertical ? 'start' : 'middle'}
252
- {...otherProps}
253
- >
254
- <g className="axis">
255
- <BaseLine
256
- axisPosition={axisPosition}
257
- scale={scale}
258
- tickLength={tickLength}
259
- />
260
- <Tickets
261
- ticks={ticks}
262
- axisPosition={axisPosition}
263
- scale={scale}
264
- tickLength={tickLength}
265
- />
266
- {children}
267
- </g>
268
- {showGrid && (
269
- <g className="grid">
270
- {showPrimaryGrid && (
271
- <PrimaryGrid
272
- ticks={ticks}
273
- axisPosition={axisPosition}
274
- scale={scale}
275
- gridSize={gridSize}
276
- gridProps={primaryGridProps}
277
- />
278
- )}
279
- {showSecondaryGrid && (
280
- <SecondaryGrid
281
- ticks={ticks}
282
- axisPosition={axisPosition}
283
- scale={scale}
284
- gridSize={gridSize}
285
- gridProps={secondaryGridProps}
286
- />
287
- )}
288
- </g>
289
- )}
245
+ const isVertical = isVerticalAxis(axisPosition);
246
+
247
+ return (
248
+ <g
249
+ ref={ref}
250
+ fontSize="10"
251
+ textAnchor={isVertical ? 'start' : 'middle'}
252
+ {...otherProps}
253
+ >
254
+ <g className="axis">
255
+ <BaseLine
256
+ axisPosition={axisPosition}
257
+ scale={scale}
258
+ tickLength={tickLength}
259
+ />
260
+ <Tickets
261
+ ticks={ticks}
262
+ axisPosition={axisPosition}
263
+ scale={scale}
264
+ tickLength={tickLength}
265
+ />
266
+ {children}
290
267
  </g>
291
- );
292
- },
293
- );
268
+ {showGrid && (
269
+ <g className="grid">
270
+ {showPrimaryGrid && (
271
+ <PrimaryGrid
272
+ ticks={ticks}
273
+ axisPosition={axisPosition}
274
+ scale={scale}
275
+ gridSize={gridSize}
276
+ gridProps={primaryGridProps}
277
+ />
278
+ )}
279
+ {showSecondaryGrid && (
280
+ <SecondaryGrid
281
+ ticks={ticks}
282
+ axisPosition={axisPosition}
283
+ scale={scale}
284
+ gridSize={gridSize}
285
+ gridProps={secondaryGridProps}
286
+ />
287
+ )}
288
+ </g>
289
+ )}
290
+ </g>
291
+ );
292
+ }